]> asedeno.scripts.mit.edu Git - linux.git/commit
ntb_hw_amd: Add memory window support for new AMD hardware
authorSanjay R Mehta <sanju.mehta@amd.com>
Sun, 15 Sep 2019 17:08:35 +0000 (17:08 +0000)
committerJon Mason <jdmason@kudzu.us>
Mon, 23 Sep 2019 21:20:40 +0000 (17:20 -0400)
commita1472e73e3d791eb5eddeceb99f7dc5c17ca98ce
tree1b6f267d37d1d97ccbee5ca6e96fe9d304db9eb6
parent5f59f6b182f75e5247104c8e0150c3d41f0a4c18
ntb_hw_amd: Add memory window support for new AMD hardware

The AMD new hardware uses BAR23 and BAR45 as memory windows
as compared to previos where BAR1, BAR23 and BAR45 is used
for memory windows.

This patch add support for both AMD hardwares.

Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/hw/amd/ntb_hw_amd.c
drivers/ntb/hw/amd/ntb_hw_amd.h