Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1595856
| From | Omar Sandoval <osandov@osandov.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: kexec regression since 4.9 caused by efi |
| Date | 2017-03-09 11:00 +0100 |
| Message-ID | <tj31v-3pp-11@gated-at.bofh.it> (permalink) |
| References | <tiQH0-3gA-1@gated-at.bofh.it> <tiZTY-1bv-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Thu, Mar 09, 2017 at 02:38:06PM +0800, Dave Young wrote:
> Add efi/kexec list.
>
> On 03/08/17 at 12:16pm, Omar Sandoval wrote:
[snip]
> I have no more clue yet from your provided log, but the runtime value is
> odd to me. It is set in below code:
>
> arch/x86/platform/efi/efi.c: efi_systab_init()
> efi_systab.runtime = data ?
> (void *)(unsigned long)data->runtime :
> (void *)(unsigne long)systab64->runtime;
>
> Here data is the setup_data passed by kexec-tools from normal kernel to
> kexec kernel, efi_setup_data structure is like below:
> struct efi_setup_data {
> u64 fw_vendor;
> u64 runtime;
> u64 tables;
> u64 smbios;
> u64 reserved[8];
> };
>
> kexec-tools get the runtime address from /sys/firmware/efi/runtime
>
> So can you do some debuggin on your side, eg. see the sysfs runtime
> value is correct or not. And add some printk in efi init path etc.
The attached patch fixes this for me.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
kexec regression since 4.9 caused by efi Omar Sandoval <osandov@osandov.com> - 2017-03-08 21:50 +0100
Re: kexec regression since 4.9 caused by efi Dave Young <dyoung@redhat.com> - 2017-03-09 04:10 +0100
Re: kexec regression since 4.9 caused by efi Dave Young <dyoung@redhat.com> - 2017-03-09 07:40 +0100
Re: kexec regression since 4.9 caused by efi Omar Sandoval <osandov@osandov.com> - 2017-03-09 11:00 +0100
Re: kexec regression since 4.9 caused by efi Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2017-03-09 13:00 +0100
Re: kexec regression since 4.9 caused by efi Dave Young <dyoung@redhat.com> - 2017-03-10 02:50 +0100
Re: kexec regression since 4.9 caused by efi Dave Young <dyoung@redhat.com> - 2017-03-10 02:50 +0100
Re: kexec regression since 4.9 caused by efi Dave Young <dyoung@redhat.com> - 2017-03-13 08:40 +0100
csiph-web