linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [Question] PCI ACS is broken for ARM SMMU v3?
@ 2017-08-31 14:21 Zhou Wang
  2017-09-04 12:33 ` Zhou Wang
  0 siblings, 1 reply; 5+ messages in thread
From: Zhou Wang @ 2017-08-31 14:21 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Will and Alex,

pci_request_acs is called in drivers/iommu/arm-smmu-v3.c to set pci_acs_enable.

PCI subsystem tries to enable ACS as below:

	pci_device_add
		--> pci_init_capabilities
			--> pci_enable_acs

in ACPI PCI driver. However, ACPI PCI driver will be called before SMMU v3 driver,
which will lead pci_enable_acs to return directly as pci_acs_enable is not set
before SMMU v3 driver loading.

I think this is a bug, what do you think about this problem?

Best,
Zhou

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-09-06  9:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-31 14:21 [Question] PCI ACS is broken for ARM SMMU v3? Zhou Wang
2017-09-04 12:33 ` Zhou Wang
2017-09-04 15:59   ` Lorenzo Pieralisi
2017-09-05 12:47     ` Zhou Wang
2017-09-06  9:55       ` Lorenzo Pieralisi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).