[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YNR2S02hWS2hwNiz@infradead.org>
Date: Thu, 24 Jun 2021 13:10:51 +0100
From: Christoph Hellwig <hch@...radead.org>
To: Robin Murphy <robin.murphy@....com>
Cc: Baoquan He <bhe@...hat.com>, Christoph Hellwig <hch@...radead.org>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org, x86@...nel.org,
rientjes@...gle.com, rppt@...ux.ibm.com, thomas.lendacky@....com,
brijesh.singh@....com, kexec@...ts.infradead.org,
iommu@...ts.linux-foundation.org, m.szyprowski@...sung.com
Subject: Re: [PATCH RFC 0/2] dma-pool: allow user to disable atomic pool
On Thu, Jun 24, 2021 at 11:47:31AM +0100, Robin Murphy wrote:
> Hmm, I think the Kconfig reshuffle has actually left a slight wrinkle here.
> For DMA_DIRECT_REMAP=y we can assume an atomic pool is always needed, since
> that was the original behaviour anyway. However the implications of
> AMD_MEM_ENCRYPT=y are different - even if support is enabled, it still
> should only be relevant if mem_encrypt_active(), so it probably does make
> sense to have an additional runtime gate on that.
Yeah, a check for that would probably be useful.
Powered by blists - more mailing lists