From: Dean Nelson Date: Tue, 8 Aug 2006 20:03:29 +0000 (-0500) Subject: [IA64-SGI] Silent data corruption caused by XPC V2. X-Git-Tag: v2.6.18-rc6~36^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7682a4c624e0011b5f3e8dd3021dc54961260d97;p=pandora-kernel.git [IA64-SGI] Silent data corruption caused by XPC V2. Jack Steiner identified a problem where XPC can cause a silent data corruption. On module load, the placement may cause the xpc_remote_copy_buffer to span two physical pages. DMA transfers are done to the start virtual address translated to physical. This patch changes the buffer from a statically allocated buffer to a kmalloc'd buffer. Dean Nelson reviewed this before posting. I have tested it in the configuration that was showing the memory corruption and verified it works. I also added a BUG_ON statement to help catch this if a similar situation is encountered. Signed-off-by: Robin Holt Signed-off-by: Dean Nelson Signed-off-by: Jack Steiner Signed-off-by: Tony Luck --- Reading git-diff-tree failed