[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191217104838.GC28651@suse.de>
Date: Tue, 17 Dec 2019 11:48:38 +0100
From: Joerg Roedel <jroedel@...e.de>
To: Lu Baolu <baolu.lu@...ux.intel.com>
Cc: Jerry Snitselaar <jsnitsel@...hat.com>,
linux-kernel@...r.kernel.org, iommu@...ts.linux-foundation.org,
stable@...r.kernel.org
Subject: Re: [PATCH] iommu/vt-d: Allocate reserved region for ISA with
correct permission
On Sun, Dec 15, 2019 at 01:39:31PM +0800, Lu Baolu wrote:
> Hi,
>
> On 12/13/19 1:36 PM, Jerry Snitselaar wrote:
> > Currently the reserved region for ISA is allocated with no
> > permissions. If a dma domain is being used, mapping this region will
> > fail. Set the permissions to DMA_PTE_READ|DMA_PTE_WRITE.
> >
> > Cc: Joerg Roedel <jroedel@...e.de>
> > Cc: Lu Baolu <baolu.lu@...ux.intel.com>
> > Cc: iommu@...ts.linux-foundation.org
> > Cc: stable@...r.kernel.org # v5.3+
> > Fixes: d850c2ee5fe2 ("iommu/vt-d: Expose ISA direct mapping region via iommu_get_resv_regions")
> > Signed-off-by: Jerry Snitselaar <jsnitsel@...hat.com>
>
> This fix looks reasonable to me.
>
> Acked-by: Lu Baolu <baolu.lu@...ux.intel.com>
Applied for v5.5, thanks.
Powered by blists - more mailing lists