Re: Early EFI-related boot freeze in parse_setup_data()

2019-08-27 Thread Daniel Drake
On Fri, Aug 16, 2019 at 2:14 PM Daniel Drake wrote: > Anyway, the system freeze occurs in parse_setup_data(), specifically: > > data = early_memremap(pa_data, sizeof(*data)); > data_len = data->len + sizeof(struct setup_data); > > Dereferencing data->len c

Early EFI-related boot freeze in parse_setup_data()

2019-08-16 Thread Daniel Drake
Hi, We're working with a new consumer MiniPC based on AMD E1-7010. It fails to boot Linux when booting in EFI mode - it hangs with nothing on screen. earlycon=efifb doesn't show any output. Looking closer, I was able to confirm that we reach EFI ExitBootServices() via efi_printk in the efi

Re: EFI reboot vs. ACPI reboot (was: Re: [tip:x86/urgent] x86/reboot, efi: Use EFI reboot for Acer TravelMate X514-51T)

2019-04-17 Thread Daniel Drake
On Wed, Apr 17, 2019 at 2:16 PM Ingo Molnar wrote: > Ok, so acpi_gbl_reduced_hardware is set when the ... 'reduced hardware' > bit is set: > > acpi_gbl_reduced_hardware = FALSE; > if (acpi_gbl_FADT.flags & ACPI_FADT_HW_REDUCED) { > acpi_gbl_reduced_hardware = TRUE;

Re: EFI reboot vs. ACPI reboot (was: Re: [tip:x86/urgent] x86/reboot, efi: Use EFI reboot for Acer TravelMate X514-51T)

2019-04-16 Thread Daniel Drake
On Tue, Apr 16, 2019 at 4:20 PM Ingo Molnar wrote: > I wanted to get a second opinion from the EFI folks for this whole > concept. On x86 we default to ACPI reboot on modern systems, and we > default to EFI reboot on modern EFI systems, via the > efi_reboot_required() method which keys off on

Re: Multiple Acer laptops hang on ACPI poweroff

2017-10-27 Thread Daniel Drake
On Fri, Oct 27, 2017 at 3:57 PM, Rafael J. Wysocki wrote: >> Testing shutdown on Acer Aspire ES1-732 (Intel Apollo Lake N4200) on >> Linux 4.14-rc6, this issue is still present. >> >> The FADT has: >> >> [0ACh 0172 12] PM1A Control Block : [Generic Address Structure]

Re: Multiple Acer laptops hang on ACPI poweroff

2017-10-27 Thread Daniel Drake
On Sat, Mar 4, 2017 at 4:15 AM, Daniel Drake <dr...@endlessm.com> wrote: > Some particular Acer/Packard Bell machines hang during shutdown. > The system completely hangs while doing bit operations for turning on SLP_EN > bit in ACPI PM1A control address and Sleep Control

Multiple Acer laptops hang on ACPI poweroff

2017-03-03 Thread Daniel Drake
Some particular Acer/Packard Bell machines hang during shutdown. The system completely hangs while doing bit operations for turning on SLP_EN bit in ACPI PM1A control address and Sleep Control Register. Thus the normal acpi_power_off path can never complete the shutdown process. We have found a