]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Missing critical phys_to_virt in lib/swiotlb.c
authorDavid Moore <dcm@acm.org>
Sun, 4 Feb 2007 18:39:40 +0000 (13:39 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Mar 2007 18:50:19 +0000 (10:50 -0800)
commite16b67f9a0ac6d9f89f680b7f3b439abfb1dac5e
treec22c31c50e6af8591a6ce417299279db8ca4603b
parent33b440130f9965ad90f546a988e8cf1d3a3f3995
Missing critical phys_to_virt in lib/swiotlb.c

Missing critical phys_to_virt in lib/swiotlb.c

Adds missing call to phys_to_virt() in the
lib/swiotlb.c:swiotlb_sync_sg() function.  Without this change, a kernel
panic will always occur whenever a SWIOTLB bounce buffer from a
scatter-gather list gets synced.  Affected are especially Intel x86_64
machines with more than about 3 GB RAM.

Signed-off-by: David Moore <dcm@acm.org>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
lib/swiotlb.c