[PATCH] efi/memreserve: register reservations as 'reserved' in /proc/iomem

2019-12-04 Thread Ard Biesheuvel
Memory regions that are reserved using efi_mem_reserve_persistent() are recorded in a special EFI config table which survives kexec, allowing the incoming kernel to honour them as well. However, such reservations are not visible in /proc/iomem, and so the kexec tools that load the incoming kernel a

Re: [PATCH] efi/memreserve: register reservations as 'reserved' in /proc/iomem

2019-12-04 Thread Masayoshi Mizuma
Hello Ard, Thank you for sending the patch, but unfortunately it doesn't work for the issue... After applied your patch, the LPI tables are marked as reserved in /proc/iomem like as: 8030-a1fd : System RAM 8048-8134 : Kernel code 8135-817b : reserved 817c-82acf

Re: [PATCH] efi/memreserve: register reservations as 'reserved' in /proc/iomem

2019-12-04 Thread James Morse
Hi Masa, On 04/12/2019 17:17, Masayoshi Mizuma wrote: > Thank you for sending the patch, but unfortunately it doesn't work for the > issue... > > After applied your patch, the LPI tables are marked as reserved in > /proc/iomem like as: > > 8030-a1fd : System RAM > 8048-8134 :

Re: [PATCH] efi/memreserve: register reservations as 'reserved' in /proc/iomem

2019-12-04 Thread Masayoshi Mizuma
On Wed, Dec 04, 2019 at 06:17:59PM +, James Morse wrote: > Hi Masa, > > On 04/12/2019 17:17, Masayoshi Mizuma wrote: > > Thank you for sending the patch, but unfortunately it doesn't work for the > > issue... > > > > After applied your patch, the LPI tables are marked as reserved in > > /pro

Re: [PATCH] efi/memreserve: register reservations as 'reserved' in /proc/iomem

2019-12-04 Thread Bhupesh SHARMA
Hello Masa, (+Cc Simon) On Thu, Dec 5, 2019 at 12:27 AM Masayoshi Mizuma wrote: > > On Wed, Dec 04, 2019 at 06:17:59PM +, James Morse wrote: > > Hi Masa, > > > > On 04/12/2019 17:17, Masayoshi Mizuma wrote: > > > Thank you for sending the patch, but unfortunately it doesn't work for > > > t

Re: [PATCH] efi/memreserve: register reservations as 'reserved' in /proc/iomem

2019-12-05 Thread Ard Biesheuvel
On Wed, 4 Dec 2019 at 20:13, Bhupesh SHARMA wrote: > > Hello Masa, > > (+Cc Simon) > > On Thu, Dec 5, 2019 at 12:27 AM Masayoshi Mizuma > wrote: > > > > On Wed, Dec 04, 2019 at 06:17:59PM +, James Morse wrote: > > > Hi Masa, > > > > > > On 04/12/2019 17:17, Masayoshi Mizuma wrote: > > > > Th