]> git.baikalelectronics.ru Git - kernel.git/commit
ntb: intel: add hw workaround for NTB BAR alignment
authorDave Jiang <dave.jiang@intel.com>
Fri, 5 Jun 2020 15:13:34 +0000 (08:13 -0700)
committerJon Mason <jdmason@kudzu.us>
Sat, 6 Jun 2020 00:02:00 +0000 (20:02 -0400)
commit1e55aa01330b6220205a2c107b3c2a05a77e39a7
treecbe362acb35c0da640f731df53880cba7162a22a
parent5ab1748340ebec7d952a57e5ffbfe43e610ec338
ntb: intel: add hw workaround for NTB BAR alignment

Add NTB_HWERR_BAR_ALIGN hw errata flag to work around issue where the
aligment for the XLAT base must be BAR size aligned rather than 4k page
aligned. On ICX platform, the XLAT base can be 4k page size aligned
rather than BAR size aligned unlike the previous gen Intel NTB. However,
a silicon errata prevented this from working as expected and a workaround
is introduced to resolve the issue.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/hw/intel/ntb_hw_gen1.h
drivers/ntb/hw/intel/ntb_hw_gen4.c
drivers/ntb/hw/intel/ntb_hw_gen4.h