On Wed, Dec 14, 2022 at 12:20:46PM -0800, Peter Gonda wrote: > Currently userspace can ask for any uint32 size allocation for the > SEV_GET_ID2. Limit this allocation size to the max physically > contiguously allocation: MAX_ORDER. This is just to silence the alloc_pages warning, right? If so how about adding __GFP_NOWARN instead? Cheers, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt