Re: [PATCH] rtc: Disable EFI rtc for x86

2014-11-09 Thread Pali Rohár
On Friday 03 October 2014 17:01:57 Mark Salter wrote: On Fri, 2014-10-03 at 13:32 +0100, Matt Fleming wrote: From: Matt Fleming matt.flem...@intel.com commit da167ad7638759 (rtc: ia64: allow other architectures to use EFI RTC) inadvertently introduced a regression for x86. We've been

Re: [PATCH] rtc: Disable EFI rtc for x86

2014-11-09 Thread Borislav Petkov
On Sun, Nov 09, 2014 at 06:37:46PM +0100, Pali Rohár wrote: this patch totally disabled efi rfc driver on x86 machines at compile time. But on some x86 machines it working without crash and reading from file /sys/class/rtc/rtc*/since_epoch returns correct information. So why to disable

[PATCH v6 47/48] efi: Register power-off handler with kernel power-off handler

2014-11-09 Thread Guenter Roeck
Register with kernel power-off handler instead of setting pm_power_off directly. Register with low priority since the efi code states that this is a power-off handler of last resort. Cc: Matt Fleming matt.flem...@intel.com Acked-by: Matt Fleming matt.flem...@intel.com Acked-by: Mark Salter

Re: [PATCH v2 09/10] arm64/efi: ignore unusable regions instead of reserving them

2014-11-09 Thread Mark Salter
On Thu, 2014-11-06 at 15:13 +0100, Ard Biesheuvel wrote: This changes the way memblocks are installed based on the contents of the UEFI memory map. Formerly, all regions would be memblock_add()'ed, after which unusable regions would be memblock_reserve()'d as well. To simplify things, but also

Re: [PATCH v2 09/10] arm64/efi: ignore unusable regions instead of reserving them

2014-11-09 Thread Ard Biesheuvel
On 10 November 2014 05:11, Mark Salter msal...@redhat.com wrote: On Thu, 2014-11-06 at 15:13 +0100, Ard Biesheuvel wrote: This changes the way memblocks are installed based on the contents of the UEFI memory map. Formerly, all regions would be memblock_add()'ed, after which unusable regions