Re: [RFC] Best place/method to determine BIOS version?

2014-06-11 Thread Alex Thorlton
On Wed, Jun 11, 2014 at 09:55:48AM +0100, Matt Fleming wrote: > Can't you use either early_ioremap() or ioremap() (depending on when you > want to access the physical address), perhaps coupled with > efi_call_phys()? I had actually tried that exact approach, but I think the problem is that I need

Re: [RFC] Best place/method to determine BIOS version?

2014-06-11 Thread Matt Fleming
On Mon, 09 Jun, at 03:00:17PM, Alex Thorlton wrote: > > I think the problem is that I really need to be doing this at a point > where I can directly use physical addressing (the function pointer that > we have stored in efi.uv_systab contains the physical address of our > function) - at least that

Re: [RFC] Best place/method to determine BIOS version?

2014-06-10 Thread Borislav Petkov
On Mon, Jun 09, 2014 at 03:00:17PM -0500, Alex Thorlton wrote: > Hi guys, > > We recently ran into/corrected a bug in our BIOS that was exposed by the > recent updates to the way that the EFI code maps in memory during boot. > Discussion here: > > http://comments.gmane.org/gmane.linux.kernel/1638

[RFC] Best place/method to determine BIOS version?

2014-06-09 Thread Alex Thorlton
Hi guys, We recently ran into/corrected a bug in our BIOS that was exposed by the recent updates to the way that the EFI code maps in memory during boot. Discussion here: http://comments.gmane.org/gmane.linux.kernel/1638074 Anyways, we now need to find a way to determine the BIOS version before