PCI: Set dma-can-stall for HiSilicon chips
authorZhangfei Gao <zhangfei.gao@linaro.org>
Tue, 13 Jul 2021 02:54:36 +0000 (10:54 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 31 Aug 2021 20:06:04 +0000 (15:06 -0500)
commit8304a3a199eeb3e6434fc855ac072e7374d0c490
tree92abc8a0c9c762017ea1810ab675d956c04fb6f8
parent8c09e896cef8d908dd9a20a9f2a5c3fcb9799de3
PCI: Set dma-can-stall for HiSilicon chips

HiSilicon KunPeng920 and KunPeng930 have devices that appear as PCI but are
actually on the AMBA bus. These fake PCI devices can support SVA via the
SMMU stall feature.

DT systems can indicate this in the device tree, but ACPI systems don't
have that mechanism, so add a "dma-can-stall" property manually for them.

[bhelgaas: add text from Robin as comment near quirk]
Link: https://lore.kernel.org/r/1626144876-11352-4-git-send-email-zhangfei.gao@linaro.org
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Signed-off-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Robin Murphy <robin.murphy@arm.com>
drivers/pci/quirks.c