Re: [regression, bisected] x86: efi: Pass boot services variable info to runtime code

2013-05-24 Thread Dave Jones
On Fri, May 24, 2013 at 12:02:15PM -0500, Russ Anderson wrote: > On Fri, May 24, 2013 at 11:11:11AM -0500, Robin Holt wrote: > > Russ, > > > > Can we open a bug for the BIOS folks and see if we can get this addressed? > > I already talked with them. It is not in an area that we > normally

Re: [regression, bisected] x86: efi: Pass boot services variable info to runtime code

2013-05-24 Thread Russ Anderson
On Fri, May 24, 2013 at 08:11:01PM +, Matthew Garrett wrote: > On Fri, 2013-05-24 at 15:05 -0500, Russ Anderson wrote: > > > One other data point is if the query_variable_info call is hacked to > > remove one of the EFI flags (ie comment out EFI_VARIABLE_BOOTSERVICE_ACCESS) > > the efi_call_ph

Re: [regression, bisected] x86: efi: Pass boot services variable info to runtime code

2013-05-24 Thread Matthew Garrett
On Fri, 2013-05-24 at 15:05 -0500, Russ Anderson wrote: > One other data point is if the query_variable_info call is hacked to > remove one of the EFI flags (ie comment out EFI_VARIABLE_BOOTSERVICE_ACCESS) > the efi_call_phys4() call fails with EFI_INVALID_PARAMETER and > the system boots. Of cou

Re: [regression, bisected] x86: efi: Pass boot services variable info to runtime code

2013-05-24 Thread Russ Anderson
On Fri, May 24, 2013 at 08:43:31AM +0100, Matt Fleming wrote: > On Thu, 23 May, at 03:32:34PM, Russ Anderson wrote: > >efi: mem127: type=4, attr=0xf, > > range=[0x6bb22000-0x7ca9c000) (271MB) > > EFI_BOOT_SERVICES_CODE > > >efi: mem133: type=5, attr=0x800f, >

Re: [regression, bisected] x86: efi: Pass boot services variable info to runtime code

2013-05-24 Thread Russ Anderson
On Fri, May 24, 2013 at 11:11:11AM -0500, Robin Holt wrote: > Russ, > > Can we open a bug for the BIOS folks and see if we can get this addressed? I already talked with them. It is not in an area that we normally change, so if there is a bug may be in the Intel reference code. More investigatio

Re: [regression, bisected] x86: efi: Pass boot services variable info to runtime code

2013-05-24 Thread Robin Holt
Russ, Can we open a bug for the BIOS folks and see if we can get this addressed? Robin On Fri, May 24, 2013 at 08:43:31AM +0100, Matt Fleming wrote: > On Thu, 23 May, at 03:32:34PM, Russ Anderson wrote: > >efi: mem127: type=4, attr=0xf, > > range=[0x6bb22000-0x7ca9c000) (271

Re: [regression, bisected] x86: efi: Pass boot services variable info to runtime code

2013-05-24 Thread Matt Fleming
On Fri, 24 May, at 01:09:11PM, Borislav Petkov wrote: > What do you mean, map boot time functions 1:1 too? Yep, that's what I meant. -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@

Re: [regression, bisected] x86: efi: Pass boot services variable info to runtime code

2013-05-24 Thread Borislav Petkov
On Fri, May 24, 2013 at 08:43:31AM +0100, Matt Fleming wrote: > What appears to be happening is that your the EFI runtime services > code is calling into the EFI boot services code, which is definitely > a bug in your firmware because we're at runtime, but we've seen > other machines that do simila

Re: [regression, bisected] x86: efi: Pass boot services variable info to runtime code

2013-05-24 Thread Matt Fleming
On Thu, 23 May, at 05:23:21PM, Russ Anderson wrote: > Interesting data point. The failure is on a rhel7/grub2 root. > The identical kernel on a rhel6/grub root boots. So maybe > grub2 brings out the failure? I suspect Fedora19/grub2 on > EFI should hit the problem (for someone looking to reprodu

Re: [regression, bisected] x86: efi: Pass boot services variable info to runtime code

2013-05-24 Thread Matt Fleming
On Thu, 23 May, at 03:32:34PM, Russ Anderson wrote: >efi: mem127: type=4, attr=0xf, > range=[0x6bb22000-0x7ca9c000) (271MB) EFI_BOOT_SERVICES_CODE >efi: mem133: type=5, attr=0x800f, > range=[0x7daff000-0x7dbff000) (1MB) EFI_RUNTIME_SERVICES_C