From: Bjorn Helgaas <helgaas-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Jean-Philippe Brucker
<jean-philippe.brucker-5wv7dgnIgG8@public.gmane.org>
Cc: zhongmiao-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org,
rjw-LthD3rsA81gm4RdzfppkhA@public.gmane.org,
will.deacon-5wv7dgnIgG8@public.gmane.org,
linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org,
sudeep.holla-5wv7dgnIgG8@public.gmane.org,
okaya-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
robin.murphy-5wv7dgnIgG8@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
lenb-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org
Subject: Re: [PATCH v3 2/9] PCI: Add a stub for pci_ats_disabled()
Date: Wed, 17 Apr 2019 14:48:16 -0500 [thread overview]
Message-ID: <20190417194816.GB18308@google.com> (raw)
In-Reply-To: <20190417182448.12382-3-jean-philippe.brucker-5wv7dgnIgG8@public.gmane.org>
On Wed, Apr 17, 2019 at 07:24:41PM +0100, Jean-Philippe Brucker wrote:
> Currently pci_ats_disabled() is only defined when CONFIG_PCI is enabled.
> Since we're about to use the function in the Arm SMMUv3 driver, which
> could be built with CONFIG_PCI disabled, add a definition of
> pci_ats_disabled() for !CONFIG_PCI.
>
> Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker-5wv7dgnIgG8@public.gmane.org>
Acked-by: Bjorn Helgaas <bhelgaas-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
> ---
> include/linux/pci.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/linux/pci.h b/include/linux/pci.h
> index 169c6a18d0b0..61d7cd888bad 100644
> --- a/include/linux/pci.h
> +++ b/include/linux/pci.h
> @@ -1713,6 +1713,7 @@ static inline int pci_irqd_intx_xlate(struct irq_domain *d,
> static inline const struct pci_device_id *pci_match_id(const struct pci_device_id *ids,
> struct pci_dev *dev)
> { return NULL; }
> +static inline bool pci_ats_disabled(void) { return true; }
> #endif /* CONFIG_PCI */
>
> #ifdef CONFIG_PCI_ATS
> --
> 2.21.0
>
WARNING: multiple messages have this Message-ID (diff)
From: Bjorn Helgaas <helgaas@kernel.org>
To: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
Cc: will.deacon@arm.com, lorenzo.pieralisi@arm.com,
iommu@lists.linux-foundation.org,
linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org,
robin.murphy@arm.com, joro@8bytes.org, hanjun.guo@linaro.org,
sudeep.holla@arm.com, rjw@rjwysocki.net, lenb@kernel.org,
okaya@kernel.org, zhongmiao@hisilicon.com, eric.auger@redhat.com,
linux-pci@vger.kernel.org
Subject: Re: [PATCH v3 2/9] PCI: Add a stub for pci_ats_disabled()
Date: Wed, 17 Apr 2019 14:48:16 -0500 [thread overview]
Message-ID: <20190417194816.GB18308@google.com> (raw)
Message-ID: <20190417194816.o3d7zTkXVu3FHdd7j4-0zjBYvHxLc2llbueWOapLtaw@z> (raw)
In-Reply-To: <20190417182448.12382-3-jean-philippe.brucker@arm.com>
On Wed, Apr 17, 2019 at 07:24:41PM +0100, Jean-Philippe Brucker wrote:
> Currently pci_ats_disabled() is only defined when CONFIG_PCI is enabled.
> Since we're about to use the function in the Arm SMMUv3 driver, which
> could be built with CONFIG_PCI disabled, add a definition of
> pci_ats_disabled() for !CONFIG_PCI.
>
> Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
> ---
> include/linux/pci.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/linux/pci.h b/include/linux/pci.h
> index 169c6a18d0b0..61d7cd888bad 100644
> --- a/include/linux/pci.h
> +++ b/include/linux/pci.h
> @@ -1713,6 +1713,7 @@ static inline int pci_irqd_intx_xlate(struct irq_domain *d,
> static inline const struct pci_device_id *pci_match_id(const struct pci_device_id *ids,
> struct pci_dev *dev)
> { return NULL; }
> +static inline bool pci_ats_disabled(void) { return true; }
> #endif /* CONFIG_PCI */
>
> #ifdef CONFIG_PCI_ATS
> --
> 2.21.0
>
WARNING: multiple messages have this Message-ID (diff)
From: Bjorn Helgaas <helgaas@kernel.org>
To: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
Cc: zhongmiao@hisilicon.com, rjw@rjwysocki.net, will.deacon@arm.com,
linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org,
iommu@lists.linux-foundation.org, sudeep.holla@arm.com,
okaya@kernel.org, robin.murphy@arm.com,
linux-arm-kernel@lists.infradead.org, lenb@kernel.org
Subject: Re: [PATCH v3 2/9] PCI: Add a stub for pci_ats_disabled()
Date: Wed, 17 Apr 2019 14:48:16 -0500 [thread overview]
Message-ID: <20190417194816.GB18308@google.com> (raw)
Message-ID: <20190417194816.O3gWzPCc9Yx_syndcdkmw1sb1fZuAfPkp46upLOMg1I@z> (raw)
In-Reply-To: <20190417182448.12382-3-jean-philippe.brucker@arm.com>
On Wed, Apr 17, 2019 at 07:24:41PM +0100, Jean-Philippe Brucker wrote:
> Currently pci_ats_disabled() is only defined when CONFIG_PCI is enabled.
> Since we're about to use the function in the Arm SMMUv3 driver, which
> could be built with CONFIG_PCI disabled, add a definition of
> pci_ats_disabled() for !CONFIG_PCI.
>
> Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
> ---
> include/linux/pci.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/linux/pci.h b/include/linux/pci.h
> index 169c6a18d0b0..61d7cd888bad 100644
> --- a/include/linux/pci.h
> +++ b/include/linux/pci.h
> @@ -1713,6 +1713,7 @@ static inline int pci_irqd_intx_xlate(struct irq_domain *d,
> static inline const struct pci_device_id *pci_match_id(const struct pci_device_id *ids,
> struct pci_dev *dev)
> { return NULL; }
> +static inline bool pci_ats_disabled(void) { return true; }
> #endif /* CONFIG_PCI */
>
> #ifdef CONFIG_PCI_ATS
> --
> 2.21.0
>
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
WARNING: multiple messages have this Message-ID (diff)
From: Bjorn Helgaas <helgaas@kernel.org>
To: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
Cc: lorenzo.pieralisi@arm.com, eric.auger@redhat.com,
zhongmiao@hisilicon.com, rjw@rjwysocki.net, joro@8bytes.org,
will.deacon@arm.com, linux-pci@vger.kernel.org,
linux-acpi@vger.kernel.org, iommu@lists.linux-foundation.org,
hanjun.guo@linaro.org, sudeep.holla@arm.com, okaya@kernel.org,
robin.murphy@arm.com, linux-arm-kernel@lists.infradead.org,
lenb@kernel.org
Subject: Re: [PATCH v3 2/9] PCI: Add a stub for pci_ats_disabled()
Date: Wed, 17 Apr 2019 14:48:16 -0500 [thread overview]
Message-ID: <20190417194816.GB18308@google.com> (raw)
In-Reply-To: <20190417182448.12382-3-jean-philippe.brucker@arm.com>
On Wed, Apr 17, 2019 at 07:24:41PM +0100, Jean-Philippe Brucker wrote:
> Currently pci_ats_disabled() is only defined when CONFIG_PCI is enabled.
> Since we're about to use the function in the Arm SMMUv3 driver, which
> could be built with CONFIG_PCI disabled, add a definition of
> pci_ats_disabled() for !CONFIG_PCI.
>
> Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
> ---
> include/linux/pci.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/linux/pci.h b/include/linux/pci.h
> index 169c6a18d0b0..61d7cd888bad 100644
> --- a/include/linux/pci.h
> +++ b/include/linux/pci.h
> @@ -1713,6 +1713,7 @@ static inline int pci_irqd_intx_xlate(struct irq_domain *d,
> static inline const struct pci_device_id *pci_match_id(const struct pci_device_id *ids,
> struct pci_dev *dev)
> { return NULL; }
> +static inline bool pci_ats_disabled(void) { return true; }
> #endif /* CONFIG_PCI */
>
> #ifdef CONFIG_PCI_ATS
> --
> 2.21.0
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2019-04-17 19:48 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-17 18:24 [PATCH v3 0/9] Add PCI ATS support to Arm SMMUv3 Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
[not found] ` <20190417182448.12382-1-jean-philippe.brucker-5wv7dgnIgG8@public.gmane.org>
2019-04-17 18:24 ` [PATCH v3 1/9] PCI: Move ATS declarations outside of CONFIG_PCI Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
[not found] ` <20190417182448.12382-2-jean-philippe.brucker-5wv7dgnIgG8@public.gmane.org>
2019-04-17 19:47 ` Bjorn Helgaas
2019-04-17 19:47 ` Bjorn Helgaas
2019-04-17 19:47 ` Bjorn Helgaas
2019-04-17 19:47 ` Bjorn Helgaas
2019-04-17 18:24 ` [PATCH v3 2/9] PCI: Add a stub for pci_ats_disabled() Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
[not found] ` <20190417182448.12382-3-jean-philippe.brucker-5wv7dgnIgG8@public.gmane.org>
2019-04-17 19:48 ` Bjorn Helgaas [this message]
2019-04-17 19:48 ` Bjorn Helgaas
2019-04-17 19:48 ` Bjorn Helgaas
2019-04-17 19:48 ` Bjorn Helgaas
2019-04-17 18:24 ` [PATCH v3 3/9] ACPI/IORT: Check ATS capability in root complex nodes Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-04-18 11:20 ` Lorenzo Pieralisi
2019-04-18 11:20 ` Lorenzo Pieralisi
2019-04-18 11:20 ` Lorenzo Pieralisi
2019-04-18 11:20 ` Lorenzo Pieralisi
2019-04-17 18:24 ` [PATCH v3 4/9] iommu/arm-smmu-v3: Rename arm_smmu_master_data to arm_smmu_master Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-04-17 18:24 ` [PATCH v3 5/9] iommu/arm-smmu-v3: Store SteamIDs in master Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-04-17 18:24 ` [PATCH v3 6/9] iommu/arm-smmu-v3: Add a master->domain pointer Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-04-17 18:24 ` [PATCH v3 7/9] iommu/arm-smmu-v3: Link domains and devices Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-04-17 18:24 ` [PATCH v3 8/9] iommu/arm-smmu-v3: Add support for PCI ATS Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-07-01 17:41 ` Robin Murphy
2019-07-01 17:41 ` Robin Murphy
2019-07-01 17:41 ` Robin Murphy
2019-07-02 14:59 ` Jean-Philippe Brucker
2019-07-02 14:59 ` Jean-Philippe Brucker
2019-07-02 14:59 ` Jean-Philippe Brucker
2019-04-17 18:24 ` [PATCH v3 9/9] iommu/arm-smmu-v3: Disable tagged pointers Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
2019-04-23 11:21 ` [PATCH v3 0/9] Add PCI ATS support to Arm SMMUv3 Will Deacon
2019-04-23 11:21 ` Will Deacon
2019-04-23 11:21 ` Will Deacon
2019-04-23 11:21 ` Will Deacon
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=20190417194816.GB18308@google.com \
--to=helgaas-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
--cc=iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
--cc=jean-philippe.brucker-5wv7dgnIgG8@public.gmane.org \
--cc=lenb-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=okaya-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=rjw-LthD3rsA81gm4RdzfppkhA@public.gmane.org \
--cc=robin.murphy-5wv7dgnIgG8@public.gmane.org \
--cc=sudeep.holla-5wv7dgnIgG8@public.gmane.org \
--cc=will.deacon-5wv7dgnIgG8@public.gmane.org \
--cc=zhongmiao-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.