linux/drivers/ntb/hw
Kelvin Cao 1d3cfc2835 ntb_hw_switchtec: Remove code for disabling ID protection
ID protection is a firmware setting for NT window access control. With
it enabled, only the posted requests with requester IDs in the requester
ID table will be allowed to access the NT windows. Otherwise all posted
requests are allowed. Normally user will configure it statically via the
Switchtec config file, and it will take effect when the firmware boots
up. The driver can also toggle the ID protection setting dynamically,
which will overwrite the static setting in the Switchtec config file as
a side effect.

Currently, the driver disables the ID protection. However, it's not
necessary to disable the ID protection at the driver level as the driver
has already configured the proper requester IDs in the requester ID
table to allow the corresponding posted requests to hit the NT windows.
Remove the code that disables the ID protection to make the static
setting prevail.

Note: ID protection is not applicable to non-posted requests.

Signed-off-by: Kelvin Cao <kelvin.cao@microchip.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
2022-01-11 15:38:59 -05:00
..
amd ntb_hw_amd: Add NTB PCI ID for new gen CPU 2022-01-11 15:38:59 -05:00
epf NTB: Add support for EPF PCI Non-Transparent Bridge 2021-02-23 14:12:53 -06:00
idt NTB: switch from 'pci_' to 'dma_' API 2021-09-05 18:08:14 -04:00
intel NTB: switch from 'pci_' to 'dma_' API 2021-09-05 18:08:14 -04:00
mscc ntb_hw_switchtec: Remove code for disabling ID protection 2022-01-11 15:38:59 -05:00
Kconfig NTB: Add support for EPF PCI Non-Transparent Bridge 2021-02-23 14:12:53 -06:00
Makefile NTB: Add support for EPF PCI Non-Transparent Bridge 2021-02-23 14:12:53 -06:00