Re: [PATCH v7 2/9] ACPI/IORT: Add support for RMR node parsing

2021-12-08 Thread Jon Nettleton
On Wed, Dec 8, 2021 at 3:37 PM Robin Murphy wrote: > > Jon, > > On 2021-12-08 13:26, Jon Nettleton wrote: > [...] > >>> Even marking them as IOMMU_READ/WRITE is as much of an assumption as > >>> using IOMMU_MMIO or IOMMU_CACHE. It just seems IOMMU_MMIO

Re: [PATCH v7 2/9] ACPI/IORT: Add support for RMR node parsing

2021-12-08 Thread Jon Nettleton
On Wed, Dec 8, 2021 at 1:19 PM Lorenzo Pieralisi wrote: > > On Tue, Oct 12, 2021 at 10:00:24AM +0200, Jon Nettleton wrote: > > On Mon, Oct 11, 2021 at 4:04 PM Robin Murphy wrote: > > > > > > On 2021-10-09 08:06, Jon Nettleton wrote: > > > [...]

Re: [PATCH v7 2/9] ACPI/IORT: Add support for RMR node parsing

2021-10-12 Thread Jon Nettleton
On Mon, Oct 11, 2021 at 4:04 PM Robin Murphy wrote: > > On 2021-10-09 08:06, Jon Nettleton wrote: > [...] > >>> + if (rmr->flags & IOMMU_RMR_REMAP_PERMITTED) { > >>> +

Re: [PATCH v7 9/9] iommu/dma: Reserve any RMR regions associated with a dev

2021-10-09 Thread Jon Nettleton
On Fri, Oct 8, 2021 at 3:10 PM Robin Murphy wrote: > > On 2021-08-05 09:07, Shameer Kolothum wrote: > > Get ACPI IORT RMR regions associated with a dev reserved > > so that there is a unity mapping for them in SMMU. > > This feels like most of it belongs in the IORT code rather than > iommu-dma (w

Re: [PATCH v7 2/9] ACPI/IORT: Add support for RMR node parsing

2021-10-09 Thread Jon Nettleton
On Fri, Oct 8, 2021 at 2:49 PM Robin Murphy wrote: > > On 2021-08-05 09:07, Shameer Kolothum wrote: > > Add support for parsing RMR node information from ACPI. > > > > Find the associated streamid and smmu node info from the > > RMR node and populate a linked list with RMR memory > > descriptors.

Re: [PATCH v7 1/9] iommu: Introduce a union to struct iommu_resv_region

2021-10-08 Thread Jon Nettleton
On Fri, Oct 8, 2021 at 2:14 PM Robin Murphy wrote: > > On 2021-08-05 09:07, Shameer Kolothum wrote: > > A union is introduced to struct iommu_resv_region to hold > > any firmware specific data. This is in preparation to add > > support for IORT RMR reserve regions and the union now holds > > the R

Re: [PATCH v7 2/9] ACPI/IORT: Add support for RMR node parsing

2021-09-16 Thread Jon Nettleton
On Thu, Sep 16, 2021 at 10:26 AM Shameerali Kolothum Thodi wrote: > > > > > -Original Message----- > > From: Jon Nettleton [mailto:j...@solid-run.com] > > Sent: 16 September 2021 08:52 > > To: Shameerali Kolothum Thodi > > Cc: Robin Murphy ;

Re: [PATCH v7 2/9] ACPI/IORT: Add support for RMR node parsing

2021-09-16 Thread Jon Nettleton
On Thu, Sep 16, 2021 at 9:26 AM Shameerali Kolothum Thodi wrote: > > > > > -Original Message----- > > From: Jon Nettleton [mailto:j...@solid-run.com] > > Sent: 06 September 2021 20:51 > > To: Robin Murphy > > Cc: Lorenzo Pieralisi ; Shameerali Kolothum

Re: [PATCH v7 2/9] ACPI/IORT: Add support for RMR node parsing

2021-09-06 Thread Jon Nettleton
On Mon, Sep 6, 2021 at 7:44 PM Robin Murphy wrote: > > On 2021-08-05 17:03, Lorenzo Pieralisi wrote: > > On Thu, Aug 05, 2021 at 09:07:17AM +0100, Shameer Kolothum wrote: > > > > [...] > > > >> +static void __init iort_node_get_rmr_info(struct acpi_iort_node > >> *iort_node) > >> +{ > >> +str

Re: [PATCH v7 0/9] ACPI/IORT: Support for IORT RMR node

2021-08-30 Thread Jon Nettleton
21 14:23 > > > To: Shameerali Kolothum Thodi > > > Cc: Linux ARM ; ACPI Devel Maling > > > List > > > ; Linux IOMMU > > > ; Linuxarm ; > > > Lorenzo Pieralisi ; Joerg Roedel > > > ; Robin Murphy ; Will Deacon > > > ; wanghui

Re: [PATCH v7 2/9] ACPI/IORT: Add support for RMR node parsing

2021-08-05 Thread Jon Nettleton
On Thu, Aug 5, 2021 at 6:03 PM Lorenzo Pieralisi wrote: > > On Thu, Aug 05, 2021 at 09:07:17AM +0100, Shameer Kolothum wrote: > > [...] > > > +static void __init iort_node_get_rmr_info(struct acpi_iort_node *iort_node) > > +{ > > + struct acpi_iort_node *smmu; > > + struct acpi_iort_rmr *r

Re: [PATCH v6 8/9] iommu/arm-smmu: Get associated RMR info and install bypass SMR

2021-07-16 Thread Jon Nettleton
On Fri, Jul 16, 2021 at 3:52 PM Steven Price wrote: > > On 16/07/2021 09:34, Shameer Kolothum wrote: > > From: Jon Nettleton > > > > Check if there is any RMR info associated with the devices behind > > the SMMU and if any, install bypass SMRs for them. This is t

Re: [PATCH v5 3/8] ACPI/IORT: Add a helper to retrieve RMR memory regions

2021-07-04 Thread Jon Nettleton
On Tue, Jun 29, 2021 at 7:34 PM Jon Nettleton wrote: > > On Mon, Jun 14, 2021 at 2:49 PM Shameerali Kolothum Thodi > wrote: > > > > > > > > > -Original Message- > > > From: Robin Murphy [mailto:robin.mur...@arm.com] > > > Sent:

Re: [PATCH v5 3/8] ACPI/IORT: Add a helper to retrieve RMR memory regions

2021-06-29 Thread Jon Nettleton
On Mon, Jun 14, 2021 at 2:49 PM Shameerali Kolothum Thodi wrote: > > > > > -Original Message- > > From: Robin Murphy [mailto:robin.mur...@arm.com] > > Sent: 14 June 2021 12:23 > > To: Shameerali Kolothum Thodi ; > > linux-arm-ker...@lists.infradead.org; linux-a...@vger.kernel.org; > > iomm

Re: [PATCH v5 7/8] iommu/arm-smmu: Get associated RMR info and install bypass SMR

2021-06-29 Thread Jon Nettleton
On Tue, Jun 29, 2021 at 3:23 PM Robin Murphy wrote: > > On 2021-06-29 08:03, Jon Nettleton wrote: > > On Mon, Jun 14, 2021 at 12:06 PM Robin Murphy wrote: > >> > >> On 2021-05-24 12:02, Shameer Kolothum wrote: > >>> From: Jon Nettleton > >>>

Re: [PATCH v5 7/8] iommu/arm-smmu: Get associated RMR info and install bypass SMR

2021-06-29 Thread Jon Nettleton
On Mon, Jun 14, 2021 at 12:06 PM Robin Murphy wrote: > > On 2021-05-24 12:02, Shameer Kolothum wrote: > > From: Jon Nettleton > > > > Check if there is any RMR info associated with the devices behind > > the SMMU and if any, install bypass SMRs for them. This is t

Re: [PATCH v5 7/8] iommu/arm-smmu: Get associated RMR info and install bypass SMR

2021-06-15 Thread Jon Nettleton
Get associated RMR info and > > install bypass SMR > > > > On 2021-05-24 12:02, Shameer Kolothum wrote: > > > From: Jon Nettleton > > > > > > Check if there is any RMR info associated with the devices behind > > > the SMMU and if any, install by

Re: [PATCH v5 7/8] iommu/arm-smmu: Get associated RMR info and install bypass SMR

2021-06-13 Thread Jon Nettleton
On Thu, Jun 3, 2021 at 1:51 PM Jon Nettleton wrote: > > On Thu, Jun 3, 2021 at 1:27 PM Steven Price wrote: > > > > On 03/06/2021 09:52, Jon Nettleton wrote: > > > On Mon, May 24, 2021 at 1:04 PM Shameer Kolothum > > > wrote: > > >> > > >&

Re: [PATCH v5 3/8] ACPI/IORT: Add a helper to retrieve RMR memory regions

2021-06-03 Thread Jon Nettleton
On Wed, May 26, 2021 at 7:11 PM Laurentiu Tudor wrote: > > > > On 5/26/2021 7:36 PM, Shameerali Kolothum Thodi wrote: > > > > > >> -Original Message- > >> From: Laurentiu Tudor [mailto:laurentiu.tu...@nxp.com] > >> Sent: 26 May 2021 08:53 > >> To: Shameerali Kolothum Thodi ; > >> linux-arm

Re: [PATCH v5 7/8] iommu/arm-smmu: Get associated RMR info and install bypass SMR

2021-06-03 Thread Jon Nettleton
On Thu, Jun 3, 2021 at 1:27 PM Steven Price wrote: > > On 03/06/2021 09:52, Jon Nettleton wrote: > > On Mon, May 24, 2021 at 1:04 PM Shameer Kolothum > > wrote: > >> > >> From: Jon Nettleton > >> > >> Check if there is any RMR info assoc

Re: [PATCH v5 7/8] iommu/arm-smmu: Get associated RMR info and install bypass SMR

2021-06-03 Thread Jon Nettleton
On Mon, May 24, 2021 at 1:04 PM Shameer Kolothum wrote: > > From: Jon Nettleton > > Check if there is any RMR info associated with the devices behind > the SMMU and if any, install bypass SMRs for them. This is to > keep any ongoing traffic associated with these devices aliv

Re: [PATCH v5 3/8] ACPI/IORT: Add a helper to retrieve RMR memory regions

2021-05-26 Thread Jon Nettleton
On Wed, May 26, 2021 at 6:36 PM Shameerali Kolothum Thodi wrote: > > > > > -Original Message- > > From: Laurentiu Tudor [mailto:laurentiu.tu...@nxp.com] > > Sent: 26 May 2021 08:53 > > To: Shameerali Kolothum Thodi ; > > linux-arm-ker...@lists.infradead.org; linux-a...@vger.kernel.org; > >

Re: [PATCH v3 09/10] iommu/arm-smmu: Get associated RMR info and install bypass SMR

2021-05-10 Thread Jon Nettleton
redhat.com > > Subject: Re: [PATCH v3 09/10] iommu/arm-smmu: Get associated RMR info > > and install bypass SMR > > > > On 20/04/2021 09:27, Shameer Kolothum wrote: > > > From: Jon Nettleton > > > > > > Check if there is any RMR info associa

Re: [RFC PATCH v2 1/8] ACPICA: IORT: Update for revision E

2021-03-25 Thread Jon Nettleton
On Mon, Mar 22, 2021 at 11:37 AM Shameerali Kolothum Thodi wrote: > > [+] > > Hi Erik, > > As this is now just merged ino acpica-master and based on the discussion we > had here, > > https://github.com/acpica/acpica/pull/638 > > I had a discussion with ARM folks(Lorenzo) in the linaro-open-discus

Re: [RFC PATCH v2 0/8] ACPI/IORT: Support for IORT RMR node

2021-01-04 Thread Jon Nettleton
On Mon, Jan 4, 2021 at 9:55 AM Shameerali Kolothum Thodi wrote: > > > > > -Original Message----- > > From: Jon Nettleton [mailto:j...@solid-run.com] > > Sent: 18 December 2020 10:53 > > To: Shameerali Kolothum Thodi > > Cc: Steven P

Re: [RFC PATCH v2 0/8] ACPI/IORT: Support for IORT RMR node

2020-12-18 Thread Jon Nettleton
On Thu, Dec 17, 2020 at 4:53 PM Jon Nettleton wrote: > > On Thu, Dec 17, 2020 at 4:42 PM Shameerali Kolothum Thodi > wrote: > > > > > > > > > -----Original Message- > > > From: Jon Nettleton [mailto:j...@solid-run.com] > > > Sent: 17 D

Re: [RFC PATCH v2 0/8] ACPI/IORT: Support for IORT RMR node

2020-12-17 Thread Jon Nettleton
On Thu, Dec 17, 2020 at 4:42 PM Shameerali Kolothum Thodi wrote: > > > > > -Original Message----- > > From: Jon Nettleton [mailto:j...@solid-run.com] > > Sent: 17 December 2020 14:48 > > To: Shameerali Kolothum Thodi > > Cc: Steven P

Re: [RFC PATCH v2 0/8] ACPI/IORT: Support for IORT RMR node

2020-12-17 Thread Jon Nettleton
On Mon, Dec 14, 2020 at 3:48 PM Shameerali Kolothum Thodi wrote: > > > > > -Original Message- > > From: Steven Price [mailto:steven.pr...@arm.com] > > Sent: 14 December 2020 13:43 > > To: Robin Murphy ; Shameerali Kolothum Thodi > > ; > > linux-arm-ker...@lists.infradead.org; linux-a...@vg

Re: [PATCH] iommu: arm-smmu-impl: add NXP hook to preserve bootmappings

2020-12-09 Thread Jon Nettleton
On Mon, Dec 7, 2020 at 7:12 PM Robin Murphy wrote: > > On 2020-12-02 10:29, Laurentiu Tudor wrote: > > Hi Robin, > > > > Sorry for the late reply, we had a few days of over here. Comments inline. > > > > On 11/25/2020 8:10 PM, Robin Murphy wrote: > >> On 2020-11-25 15:50, laurentiu.tu...@nxp.com w