]> git.baikalelectronics.ru Git - kernel.git/commit
NTB: Remove _addr functions from ntb_hw_amd
authorAllen Hubbe <Allen.Hubbe@emc.com>
Mon, 21 Mar 2016 08:53:14 +0000 (04:53 -0400)
committerJon Mason <jdmason@kudzu.us>
Sat, 26 Mar 2016 15:44:33 +0000 (11:44 -0400)
commit711f96b6f468e0d4d093d4bbd7e678996fc4b0a6
tree5dcb8b81088f918e74bc58a2a92e80564be6d227
parent257d6c64587d38534c273d54cb742aeea3efec93
NTB: Remove _addr functions from ntb_hw_amd

Kernel zero day testing warned about address space confusion.  A virtual
iomem address was used where a physical address is expected.  The
offending functions implement an optional part of the api, so they are
removed.  They can be added later, after testing.

Fixes: 3c84694927b05ee37a879a6057fd680af29b2694
Signed-off-by: Allen Hubbe <Allen.Hubbe@emc.com>
Acked-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/hw/amd/ntb_hw_amd.c