aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorSudeep Dutt <[email protected]>2015-07-22 18:50:10 +0000
committerGreg Kroah-Hartman <[email protected]>2015-07-23 04:25:36 +0000
commita63444375f08a18a6b2286351606f08d6e9fa63d (patch)
tree50b8d06e46c69e55148b2ba1565479a743bdebd6 /net/switchdev/switchdev.c
parentparport: fix freeing freed memory (diff)
downloadkernel-a63444375f08a18a6b2286351606f08d6e9fa63d.tar.gz
kernel-a63444375f08a18a6b2286351606f08d6e9fa63d.zip
misc: mic: scif bug fix for vmalloc_to_page crash
v4.2-rc1 enabled huge page support for ioremap(..). Calling vmalloc_to_page after v4.2-rc1 results in the crash shown below on the host upon booting X100 coprocessors: BUG: unable to handle kernel paging request at ffffc47c00000000 IP: [<ffffffff811a2c0c>] vmalloc_to_page+0x6c/0xb0 This patch fixes this crash by obtaining the fake struct page pointer which is required to be passed into dma_map_sg(..) by calling pfn_to_page(..) instead of vmalloc_to_page(..). Link: https://lkml.org/lkml/2015/7/18/110 Reviewed-by: Nikhil Rao <[email protected]> Suggested-by: Toshi Kani <[email protected]> Signed-off-by: Ashutosh Dixit <[email protected]> Signed-off-by: Sudeep Dutt <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions