Re: [PATCH 1/2 RESEND v10] x86/mm, resource: add a new I/O resource descriptor 'IORES_DESC_RESERVED'

From: Borislav Petkov
Date: Tue Apr 02 2019 - 08:43:36 EST

On Tue, Apr 02, 2019 at 08:02:04PM +0800, lijiang wrote:
> These regions(E820_TYPE_{RESERVED_KERN,RAM,UNUSABLE}) are still marked as
> IORES_DESC_NONE and should not be mapped encrypted when using ioremap().

Seems to me like we're going in circles. You said here:

that the kernel doesn't pass the e820 reserved ranges to the second

I suggested to use a special IORES descriptor for them -

Now you say that that is not enough and some of those you want passed,
are still marked as IORES_DESC_NONE.

Sounds to me like you need try again.


Good mailing practices for 400: avoid top-posting and trim the reply.