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)
commit4f1b50c3e3082b31c94cee2b897bd9f5d0f3e7c8
tree5dcb8b81088f918e74bc58a2a92e80564be6d227
parentafc54992296a5e7f7d2e41456ed90789b01a4e7b
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: a1b3695820aa490e58915d720a1438069813008b

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