Re: [PATCH 2/3 v9] resource: add the new I/O resource descriptor 'IORES_DESC_RESERVED'

2019-03-24 Thread lijiang
在 2019年03月23日 03:28, Borislav Petkov 写道: > On Thu, Mar 21, 2019 at 06:33:08PM +0800, Lianbo Jiang wrote: >> When doing kexec_file_load, the first kernel needs to pass the e820 > > Please end function names with parentheses. > >> reserved ranges to the second kernel. > > ... because... ? > >> Bu

Re: [PATCH] x86/boot: Use EFI setup data if provided

2019-03-24 Thread Junichi Nomura
On 3/25/19 3:19 PM, Dave Young wrote: > On 03/25/19 at 02:01pm, Dave Young wrote: >> On 03/25/19 at 12:27am, Junichi Nomura wrote: >>> On Fri, Mar 22, 2019 at 04:23:28PM +0100, Borislav Petkov wrote: On Fri, Mar 22, 2019 at 11:03:43AM +, Junichi Nomura wrote: > Commit 3a63f70bf4c3a ("x

Re: [PATCH] x86/boot: Use EFI setup data if provided

2019-03-24 Thread Kairui Song
On Mon, Mar 25, 2019 at 2:20 PM Dave Young wrote: > > On 03/25/19 at 02:01pm, Dave Young wrote: > > On 03/25/19 at 12:27am, Junichi Nomura wrote: > > > On Fri, Mar 22, 2019 at 04:23:28PM +0100, Borislav Petkov wrote: > > > > On Fri, Mar 22, 2019 at 11:03:43AM +, Junichi Nomura wrote: > > > > >

Re: [PATCH 1/3 v9] x86/mm: Change the examination condition to avoid confusion

2019-03-24 Thread Borislav Petkov
On Mon, Mar 25, 2019 at 11:11:45AM +0800, lijiang wrote: > I mean it needs to find all the value of the 'IORES_DESC_ACPI_*' type. A function called __ioremap_check_desc_other() needs to find IORES_DESC_ACPI_* types... No, still don't know what you're trying to do. > As above mentioned, it needs

Re: [PATCH 1/3] kexec: Do not map the kexec area as decrypted when SEV is active

2019-03-24 Thread Borislav Petkov
On Mon, Mar 25, 2019 at 09:58:07AM +0800, lijiang wrote: > For the SEV virtual machine, it maps the kexec memroy area as > encrypted, so, no need to invoke this function to change anything. Look at the code: set_memory_decrypted->__set_memory_enc_dec It already *does* invoke this function. > >

Re: [PATCH] x86/boot: Use EFI setup data if provided

2019-03-24 Thread Dave Young
On 03/25/19 at 02:01pm, Dave Young wrote: > On 03/25/19 at 12:27am, Junichi Nomura wrote: > > On Fri, Mar 22, 2019 at 04:23:28PM +0100, Borislav Petkov wrote: > > > On Fri, Mar 22, 2019 at 11:03:43AM +, Junichi Nomura wrote: > > > > Commit 3a63f70bf4c3a ("x86/boot: Early parse RSDP and save it

Re: [PATCH] x86/boot: Use EFI setup data if provided

2019-03-24 Thread Dave Young
On 03/25/19 at 12:27am, Junichi Nomura wrote: > On Fri, Mar 22, 2019 at 04:23:28PM +0100, Borislav Petkov wrote: > > On Fri, Mar 22, 2019 at 11:03:43AM +, Junichi Nomura wrote: > > > Commit 3a63f70bf4c3a ("x86/boot: Early parse RSDP and save it in > > > boot_params") broke kexec boot on EFI sys

Re: [PATCH 1/3 v9] x86/mm: Change the examination condition to avoid confusion

2019-03-24 Thread lijiang
在 2019年03月23日 01:51, Borislav Petkov 写道: > On Thu, Mar 21, 2019 at 06:33:07PM +0800, Lianbo Jiang wrote: >> Following the commit <0e4c12b45aa8> ("x86/mm, resource: Use >> PAGE_KERNEL protection for ioremap of memory pages"), > > The proper commit quotation format is done by adding this to your > .

Re: [PATCH 1/3] kexec: Do not map the kexec area as decrypted when SEV is active

2019-03-24 Thread lijiang
在 2019年03月24日 23:00, Borislav Petkov 写道: >> Subject: Re: [PATCH 1/3] kexec: Do not map the kexec area as decrypted when >> SEV is active > > The tip tree preferred format for patch subject prefixes is > 'subsys/component:', e.g. 'x86/apic:', 'x86/mm/fault:', 'sched/fair:', > 'genirq/core:'. Pleas

Re: [PATCH] x86/boot: Use EFI setup data if provided

2019-03-24 Thread Junichi Nomura
On Fri, Mar 22, 2019 at 04:23:28PM +0100, Borislav Petkov wrote: > On Fri, Mar 22, 2019 at 11:03:43AM +, Junichi Nomura wrote: > > Commit 3a63f70bf4c3a ("x86/boot: Early parse RSDP and save it in > > boot_params") broke kexec boot on EFI systems. efi_get_rsdp_addr() > > in the early parsing co

Re: [PATCH 1/3] kexec: Do not map the kexec area as decrypted when SEV is active

2019-03-24 Thread Borislav Petkov
> Subject: Re: [PATCH 1/3] kexec: Do not map the kexec area as decrypted when > SEV is active The tip tree preferred format for patch subject prefixes is 'subsys/component:', e.g. 'x86/apic:', 'x86/mm/fault:', 'sched/fair:', 'genirq/core:'. Please do not use file names or complete file paths as p