From: Bjorn Helgaas <helgaas@kernel.org>
To: steven <steven_ygui@163.com>
Cc: linux-pci@vger.kernel.org, Will Deacon <will@kernel.org>,
Robin Murphy <robin.murphy@arm.com>,
Joerg Roedel <joro@8bytes.org>,
linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev
Subject: Re: does dtb not support pci acs enable?
Date: Thu, 1 Aug 2024 18:43:56 -0500 [thread overview]
Message-ID: <20240801234356.GA128584@bhelgaas> (raw)
In-Reply-To: <429b2adf.a5a3.190cb82e4ae.Coremail.steven_ygui@163.com>
[+cc ARM, IOMMU folks; I don't know the answer, but maybe they do]
On Fri, Jul 19, 2024 at 11:01:11PM +0800, steven wrote:
> 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?
>
next parent reply other threads:[~2024-08-01 23:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <429b2adf.a5a3.190cb82e4ae.Coremail.steven_ygui@163.com>
2024-08-01 23:43 ` Bjorn Helgaas [this message]
2024-08-02 0:00 ` does dtb not support pci acs enable? Bjorn Helgaas
2024-08-05 13:40 ` Will Deacon
2024-08-06 15:56 ` Robin Murphy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240801234356.GA128584@bhelgaas \
--to=helgaas@kernel.org \
--cc=iommu@lists.linux.dev \
--cc=joro@8bytes.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-pci@vger.kernel.org \
--cc=robin.murphy@arm.com \
--cc=steven_ygui@163.com \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox