lkml.org 
[lkml]   [2022]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] dma/pool: do not complain if DMA pool is not allocated
On Wed, Aug 03, 2022 at 05:44:16PM +0200, Michal Hocko wrote:
> Unfortunately generic kernels cannot really know there is any
> crippled device without some code to some checking early boot (and I am
> not even sure this would be sufficient).

But we can know if we need the pool, which is only when AMD SEV is
enabled. So we could add a check and skip allocating all the pools
including the GFP_DMA32 and GFP_KERNEL ones. I can look into that.

\
 
 \ /
  Last update: 2022-08-11 09:45    [W:0.098 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site