All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hanjun Guo <hanjun.guo@linaro.org>
To: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>,
	iommu@lists.linux-foundation.org
Cc: Tomasz Nowicki <tn@semihalf.com>,
	"Rafael J. Wysocki" <rjw@rjwysocki.net>,
	Will Deacon <will.deacon@arm.com>,
	Marc Zyngier <marc.zyngier@arm.com>,
	Robin Murphy <robin.murphy@arm.com>,
	Joerg Roedel <joro@8bytes.org>, Jon Masters <jcm@redhat.com>,
	Eric Auger <eric.auger@redhat.com>,
	Sinan Kaya <okaya@codeaurora.org>,
	Nate Watterson <nwatters@codeaurora.org>,
	Prem Mallappa <prem.mallappa@broadcom.com>,
	Dennis Chen <dennis.chen@arm.com>,
	linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v9 08/16] drivers: acpi: iort: add node match function
Date: Tue, 29 Nov 2016 20:14:41 +0800	[thread overview]
Message-ID: <07ed6a31-c791-8832-530c-42ac58806848@linaro.org> (raw)
In-Reply-To: <20161121100148.24769-9-lorenzo.pieralisi@arm.com>

On 2016/11/21 18:01, Lorenzo Pieralisi wrote:
> Device drivers (eg ARM SMMU) need to know if a specific component
> is part of the IORT table, so that kernel data structures are not
> initialized at initcalls time if the respective component is not
> part of the IORT table.
>
> To this end, this patch adds a trivial function that allows detecting
> if a given IORT node type is present or not in the ACPI table, providing
> an ACPI IORT equivalent for of_find_matching_node().
>
> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
> Reviewed-by: Tomasz Nowicki <tn@semihalf.com>
> Tested-by: Hanjun Guo <hanjun.guo@linaro.org>
> Tested-by: Tomasz Nowicki <tn@semihalf.com>
> Cc: Hanjun Guo <hanjun.guo@linaro.org>

Acked-by: Hanjun Guo <hanjun.guo@linaro.org>

Thanks
Hanjun

WARNING: multiple messages have this Message-ID (diff)
From: Hanjun Guo <hanjun.guo@linaro.org>
To: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>,
	iommu@lists.linux-foundation.org
Cc: linux-acpi@vger.kernel.org, Marc Zyngier <marc.zyngier@arm.com>,
	Tomasz Nowicki <tn@semihalf.com>, Joerg Roedel <joro@8bytes.org>,
	"Rafael J. Wysocki" <rjw@rjwysocki.net>,
	linux-kernel@vger.kernel.org, Will Deacon <will.deacon@arm.com>,
	Sinan Kaya <okaya@codeaurora.org>,
	Eric Auger <eric.auger@redhat.com>,
	linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	Jon Masters <jcm@redhat.com>, Dennis Chen <dennis.chen@arm.com>,
	Prem Mallappa <prem.mallappa@broadcom.com>,
	Robin Murphy <robin.murphy@arm.com>,
	Nate Watterson <nwatters@codeaurora.org>
Subject: Re: [PATCH v9 08/16] drivers: acpi: iort: add node match function
Date: Tue, 29 Nov 2016 20:14:41 +0800	[thread overview]
Message-ID: <07ed6a31-c791-8832-530c-42ac58806848@linaro.org> (raw)
In-Reply-To: <20161121100148.24769-9-lorenzo.pieralisi@arm.com>

On 2016/11/21 18:01, Lorenzo Pieralisi wrote:
> Device drivers (eg ARM SMMU) need to know if a specific component
> is part of the IORT table, so that kernel data structures are not
> initialized at initcalls time if the respective component is not
> part of the IORT table.
>
> To this end, this patch adds a trivial function that allows detecting
> if a given IORT node type is present or not in the ACPI table, providing
> an ACPI IORT equivalent for of_find_matching_node().
>
> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
> Reviewed-by: Tomasz Nowicki <tn@semihalf.com>
> Tested-by: Hanjun Guo <hanjun.guo@linaro.org>
> Tested-by: Tomasz Nowicki <tn@semihalf.com>
> Cc: Hanjun Guo <hanjun.guo@linaro.org>

Acked-by: Hanjun Guo <hanjun.guo@linaro.org>

Thanks
Hanjun

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: hanjun.guo@linaro.org (Hanjun Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v9 08/16] drivers: acpi: iort: add node match function
Date: Tue, 29 Nov 2016 20:14:41 +0800	[thread overview]
Message-ID: <07ed6a31-c791-8832-530c-42ac58806848@linaro.org> (raw)
In-Reply-To: <20161121100148.24769-9-lorenzo.pieralisi@arm.com>

On 2016/11/21 18:01, Lorenzo Pieralisi wrote:
> Device drivers (eg ARM SMMU) need to know if a specific component
> is part of the IORT table, so that kernel data structures are not
> initialized at initcalls time if the respective component is not
> part of the IORT table.
>
> To this end, this patch adds a trivial function that allows detecting
> if a given IORT node type is present or not in the ACPI table, providing
> an ACPI IORT equivalent for of_find_matching_node().
>
> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
> Reviewed-by: Tomasz Nowicki <tn@semihalf.com>
> Tested-by: Hanjun Guo <hanjun.guo@linaro.org>
> Tested-by: Tomasz Nowicki <tn@semihalf.com>
> Cc: Hanjun Guo <hanjun.guo@linaro.org>

Acked-by: Hanjun Guo <hanjun.guo@linaro.org>

Thanks
Hanjun

  reply	other threads:[~2016-11-29 12:14 UTC|newest]

Thread overview: 90+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-21 10:01 [PATCH v9 00/16] ACPI IORT ARM SMMU support Lorenzo Pieralisi
2016-11-21 10:01 ` Lorenzo Pieralisi
2016-11-21 10:01 ` Lorenzo Pieralisi
     [not found] ` <20161121100148.24769-1-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
2016-11-21 10:01   ` [PATCH v9 01/16] drivers: acpi: add FWNODE_ACPI_STATIC fwnode type Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-21 10:01   ` [PATCH v9 02/16] drivers: acpi: iort: introduce linker section for IORT entries probing Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-21 10:01   ` [PATCH v9 03/16] drivers: acpi: iort: add support for IOMMU fwnode registration Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-21 10:01   ` [PATCH v9 04/16] drivers: iommu: make of_iommu_set/get_ops() DT agnostic Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-21 10:01   ` [PATCH v9 05/16] drivers: iommu: arm-smmu: convert struct device of_node to fwnode usage Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-21 10:01   ` [PATCH v9 06/16] drivers: iommu: arm-smmu-v3: " Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-21 10:01   ` [PATCH v9 07/16] drivers: acpi: implement acpi_dma_configure Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-12-02 15:38     ` Lorenzo Pieralisi
2016-12-02 15:38       ` Lorenzo Pieralisi
2016-12-02 15:38       ` Lorenzo Pieralisi
2016-12-03  2:11       ` Rafael J. Wysocki
2016-12-03  2:11         ` Rafael J. Wysocki
2016-12-03  2:11         ` Rafael J. Wysocki
2016-12-03  2:11         ` Rafael J. Wysocki
     [not found]         ` <CAJZ5v0jfwGBaHepToB9U3qQZ3KTB6XzoRDwEskV0B9fK7+OoDg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-12-03 10:39           ` Lorenzo Pieralisi
2016-12-03 10:39             ` Lorenzo Pieralisi
2016-12-03 10:39             ` Lorenzo Pieralisi
2016-12-03 10:39             ` Lorenzo Pieralisi
2016-12-05  1:21             ` Rafael J. Wysocki
2016-12-05  1:21               ` Rafael J. Wysocki
2016-12-05  1:21               ` Rafael J. Wysocki
2016-12-05  1:21               ` Rafael J. Wysocki
     [not found]               ` <CAJZ5v0j5aMMyNsYpnbGXbJdDrbHFN5u03mQi+W6WK97iCdB2HA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-12-05  9:52                 ` Sricharan
2016-12-05  9:52                   ` Sricharan
2016-12-05  9:52                   ` Sricharan
2016-12-05 10:57                   ` Lorenzo Pieralisi
2016-12-05 10:57                     ` Lorenzo Pieralisi
2016-12-05 10:57                     ` Lorenzo Pieralisi
2016-11-21 10:01   ` [PATCH v9 08/16] drivers: acpi: iort: add node match function Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-29 12:14     ` Hanjun Guo [this message]
2016-11-29 12:14       ` Hanjun Guo
2016-11-29 12:14       ` Hanjun Guo
2016-11-21 10:01   ` [PATCH v9 09/16] drivers: acpi: iort: add support for ARM SMMU platform devices creation Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-29 12:17     ` Hanjun Guo
2016-11-29 12:17       ` Hanjun Guo
2016-11-29 12:17       ` Hanjun Guo
2016-11-21 10:01   ` [PATCH v9 10/16] drivers: iommu: arm-smmu-v3: split probe functions into DT/generic portions Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-21 10:01   ` [PATCH v9 11/16] drivers: iommu: arm-smmu-v3: add IORT configuration Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-21 10:01   ` [PATCH v9 12/16] drivers: iommu: arm-smmu: split probe functions into DT/generic portions Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-21 10:01   ` [PATCH v9 13/16] drivers: iommu: arm-smmu: add IORT configuration Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-21 10:01   ` [PATCH v9 14/16] drivers: acpi: iort: replace rid map type with type mask Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
     [not found]     ` <20161121100148.24769-15-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
2016-11-29 12:29       ` Hanjun Guo
2016-11-29 12:29         ` Hanjun Guo
2016-11-29 12:29         ` Hanjun Guo
2016-11-29 12:29         ` Hanjun Guo
2016-11-21 10:01   ` [PATCH v9 15/16] drivers: acpi: iort: add single mapping function Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-30  3:22     ` Hanjun Guo
2016-11-30  3:22       ` Hanjun Guo
2016-11-21 10:01   ` [PATCH v9 16/16] drivers: acpi: iort: introduce iort_iommu_configure Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-21 10:01     ` Lorenzo Pieralisi
2016-11-30  3:26     ` Hanjun Guo
2016-11-30  3:26       ` Hanjun Guo
2016-11-29 11:11   ` [PATCH v9 00/16] ACPI IORT ARM SMMU support Hanjun Guo
2016-11-29 11:11     ` Hanjun Guo
2016-11-29 11:11     ` Hanjun Guo
2016-11-29 11:11     ` Hanjun Guo

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=07ed6a31-c791-8832-530c-42ac58806848@linaro.org \
    --to=hanjun.guo@linaro.org \
    --cc=dennis.chen@arm.com \
    --cc=eric.auger@redhat.com \
    --cc=iommu@lists.linux-foundation.org \
    --cc=jcm@redhat.com \
    --cc=joro@8bytes.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=lorenzo.pieralisi@arm.com \
    --cc=marc.zyngier@arm.com \
    --cc=nwatters@codeaurora.org \
    --cc=okaya@codeaurora.org \
    --cc=prem.mallappa@broadcom.com \
    --cc=rjw@rjwysocki.net \
    --cc=robin.murphy@arm.com \
    --cc=tn@semihalf.com \
    --cc=will.deacon@arm.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 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.