linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* does dtb not support pci acs enable?
@ 2024-07-19 15:01 steven
  2024-08-01 23:43 ` Bjorn Helgaas
  0 siblings, 1 reply; 5+ messages in thread
From: steven @ 2024-07-19 15:01 UTC (permalink / raw)
  To: linux-pci

Hello,

I am a new person in PCI, I am trying to do something for iommu group on arm64 platform, I found if I boot the linux (5.10 kernel) kernel using UEFI + ACPI, it will work correctly. But if I boot it using UEFI + DTB, the iommu group not work, only one group present.

I read the code, found that pci_acs_enable is set to 1 during acpi_init, but I can not find any code for dtb booting, so it will return "disable_acs_redir " during call pci_enable_acs. 
static void pci_enable_acs(struct pci_dev *dev)
{
    if (!pci_acs_enable)
        goto disable_acs_redir;

    if (!pci_dev_specific_enable_acs(dev))
        goto disable_acs_redir;

    pci_std_enable_acs(dev);




SO, is it not support in dtb?


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

end of thread, other threads:[~2024-08-06 15:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-19 15:01 does dtb not support pci acs enable? steven
2024-08-01 23:43 ` Bjorn Helgaas
2024-08-02  0:00   ` Bjorn Helgaas
2024-08-05 13:40     ` Will Deacon
2024-08-06 15:56     ` Robin Murphy

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).