[RFC PATCH v1 1/1] Add support for arm64 to carry ima measurement log in kexec_file_load

2019-09-13 Thread Prakhar Srivastava
During kexec_file_load, carrying forward the ima measurement log allows a verifying party to get the entire runtime event log since the last full reboot since that is when PCRs were last reset. Signed-off-by: Prakhar Srivastava --- arch/arm64/Kconfig | 7 + arch/arm64/inclu

[RFC PATCH v1 0/1] Add support for arm64 to carry ima measurement log in kexec_file_load

2019-09-13 Thread Prakhar Srivastava
Add support for arm64 to carry ima measurement log to the next kexec'ed session triggered via kexec_file_load. - Top of Linux 5.3-rc6 Currently during kexec the kernel file signatures are/can be validated prior to actual load, the information(PE/ima signature) is not carried to the next session. T

[PATCH 4.19 163/190] resource: Fix find_next_iomem_res() iteration issue

2019-09-13 Thread Greg Kroah-Hartman
[ Upstream commit 010a93bf97c72f43aac664d0a685942f83d1a103 ] Previously find_next_iomem_res() used "*res" as both an input parameter for the range to search and the type of resource to search for, and an output parameter for the resource we found, which makes the interface confusing. The current

[PATCH 4.19 162/190] resource: Include resource end in walk_*() interfaces

2019-09-13 Thread Greg Kroah-Hartman
[ Upstream commit a98959fdbda1849a01b2150bb635ed559ec06700 ] find_next_iomem_res() finds an iomem resource that covers part of a range described by "start, end". All callers expect that range to be inclusive, i.e., both start and end are included, but find_next_iomem_res() doesn't handle the end

Re: [PATCH] do not clean dummy variable in kexec path

2019-09-13 Thread Ard Biesheuvel
On Tue, 13 Aug 2019 at 22:14, Matthew Garrett wrote: > > On Tue, Aug 13, 2019 at 4:28 AM Laszlo Ersek wrote: > > (I verified yesterday, using the edk2 source code, that there is no > > varstore reclaim after ExitBootServices(), indeed.) > > Some implementations do reclaim at runtime, in which cas