]> 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)
commit3aa4c9397656882ccd8c844f5cb0b7b956be4121
tree5dcb8b81088f918e74bc58a2a92e80564be6d227
parent2ef67023bb235ee8c8cce156be883cd6782bdddc
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: dbd66e2cf2c2acaff8cd8a9fe7c74fdb1b0e1df3
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