From: Waiman Long <longman@redhat.com>
To: Palmer Dabbelt <palmer@sifive.com>,
Christoph Hellwig <hch@infradead.org>,
michal.simek@xilinx.com, helgaas@kernel.org
Cc: tony.luck@intel.com, fenghua.yu@intel.com,
heiko.carstens@de.ibm.com, gor@linux.ibm.com,
borntraeger@de.ibm.com, bhelgaas@google.com, will@kernel.org,
Greg KH <gregkh@linuxfoundation.org>,
kstewart@linuxfoundation.org, pbonzini@redhat.com,
firoz.khan@linaro.org, yamada.masahiro@socionext.com,
mingo@kernel.org, peterz@infradead.org,
linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-s390@vger.kernel.org, linux-pci@vger.kernel.org
Subject: Re: [PATCH 3/3] pci: Default to PCI_MSI_IRQ_DOMAIN
Date: Thu, 17 Oct 2019 15:11:55 -0400 [thread overview]
Message-ID: <38389bfa-3fb2-c941-9f9d-0fa573112c58@redhat.com> (raw)
In-Reply-To: <20191017181937.7004-4-palmer@sifive.com>
On 10/17/19 2:19 PM, Palmer Dabbelt wrote:
> As far as I can tell, the only reason there was an architecture
> whitelist for PCI_MSI_IRQ_DOMAIN is because it requires msi.h. I've
> built this for all the architectures that play nice with make.cross, but
> I haven't boot tested it anywhere.
>
> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
> ---
> drivers/pci/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
> index a304f5ea11b9..77c1428cd945 100644
> --- a/drivers/pci/Kconfig
> +++ b/drivers/pci/Kconfig
> @@ -52,7 +52,7 @@ config PCI_MSI
> If you don't know what to do here, say Y.
>
> config PCI_MSI_IRQ_DOMAIN
> - def_bool ARC || ARM || ARM64 || X86 || RISCV
> + def_bool y
> depends on PCI_MSI
> select GENERIC_MSI_IRQ_DOMAIN
>
The linking of asm-generic/msi.h is currently enabled for
./arch/powerpc/include/asm/Kbuild:generic-y += msi.h
./arch/arm/include/asm/Kbuild:generic-y += msi.h
./arch/mips/include/asm/Kbuild:generic-y += msi.h
./arch/riscv/include/asm/Kbuild:generic-y += msi.h
./arch/arc/include/asm/Kbuild:generic-y += msi.h
./arch/arm64/include/asm/Kbuild:generic-y += msi.h
./arch/sparc/include/asm/Kbuild:generic-y += msi.h
Your patchset adds 2 more and x86 has its own asm/msi.h. That leads to a
total of 10 archs, but there are 37 sub-directories under arch. It is
possible that the other architectures don't have PCI_MSI set. Still it
may be a bit risky to set it to "def_bool y".
Cheers,
Longman
next prev parent reply other threads:[~2019-10-17 19:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-17 18:19 PCI/MSI: Remove the PCI_MSI_IRQ_DOMAIN architecture whitelist Palmer Dabbelt
2019-10-17 18:19 ` [PATCH 1/3] ia64: Use the generic msi.h Palmer Dabbelt
2019-10-17 18:19 ` [PATCH 2/3] s390: " Palmer Dabbelt
2019-10-17 18:19 ` [PATCH 3/3] pci: Default to PCI_MSI_IRQ_DOMAIN Palmer Dabbelt
2019-10-17 19:11 ` Waiman Long [this message]
2019-10-18 6:20 ` PCI/MSI: Remove the PCI_MSI_IRQ_DOMAIN architecture whitelist Michal Simek
2019-10-22 15:10 ` Palmer Dabbelt
2019-10-24 10:14 ` Michal Simek
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=38389bfa-3fb2-c941-9f9d-0fa573112c58@redhat.com \
--to=longman@redhat.com \
--cc=bhelgaas@google.com \
--cc=borntraeger@de.ibm.com \
--cc=fenghua.yu@intel.com \
--cc=firoz.khan@linaro.org \
--cc=gor@linux.ibm.com \
--cc=gregkh@linuxfoundation.org \
--cc=hch@infradead.org \
--cc=heiko.carstens@de.ibm.com \
--cc=helgaas@kernel.org \
--cc=kstewart@linuxfoundation.org \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=michal.simek@xilinx.com \
--cc=mingo@kernel.org \
--cc=palmer@sifive.com \
--cc=pbonzini@redhat.com \
--cc=peterz@infradead.org \
--cc=tony.luck@intel.com \
--cc=will@kernel.org \
--cc=yamada.masahiro@socionext.com \
/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