[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+CK2bBVcE91YbJx1f_BkNqbD03wGLNtyane7PjCnEu8i_cH2Q@mail.gmail.com>
Date: Tue, 15 Oct 2019 14:47:18 -0400
From: Pavel Tatashin <pasha.tatashin@...een.com>
To: James Morse <james.morse@....com>
Cc: prsriva <prsriva@...ux.microsoft.com>,
LKML <linux-kernel@...r.kernel.org>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>,
linux-integrity@...r.kernel.org,
kexec mailing list <kexec@...ts.infradead.org>,
Mark Rutland <mark.rutland@....com>, jean-philippe@...aro.org,
arnd@...db.de, takahiro.akashi@...aro.org, sboyd@...nel.org,
Catalin Marinas <catalin.marinas@....com>, zohar@...ux.ibm.com,
Masahiro Yamada <yamada.masahiro@...ionext.com>, duwe@....de,
bauerman@...ux.ibm.com, Thomas Gleixner <tglx@...utronix.de>,
allison@...utok.net, Ard Biesheuvel <ard.biesheuvel@...aro.org>
Subject: Re: [PATCH V4 0/2] Add support for arm64 to carry ima measurement
> I think the UEFI persistent-memory-reservations thing is a better fit for this [0][1].
Hi James,
Thank you for your thought. As I understand you propose the to use the
existing method as such:
1. Use the existing kexec ABI to pass reservation from kernel to
kernel using EFI the same as is done for GICv3 tables.
2. Allow this memory to be reservable only during first Linux boot via
EFI memory reserve
3. Allow to have this memory pre-reserved by firmware or to be
embedded into device tree.
A question I have is how to tell that a reserved region is reserved
for IMA use. With GICv3 it is done by reading the registers, finding
the interrupt tables memory, and check that the memory ranges are
indeed pre-reserved.
Is there a way to name memory with the current ABI that you think is acceptable?
Thank you,
Pasha
Powered by blists - more mailing lists