From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754773AbbB0Iug (ORCPT ); Fri, 27 Feb 2015 03:50:36 -0500 Received: from mail-ie0-f176.google.com ([209.85.223.176]:44515 "EHLO mail-ie0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753430AbbB0Iuf (ORCPT ); Fri, 27 Feb 2015 03:50:35 -0500 MIME-Version: 1.0 In-Reply-To: <54EFE282.1090305@codeaurora.org> References: <1424853601-6675-1-git-send-email-hanjun.guo@linaro.org> <54EFE282.1090305@codeaurora.org> Date: Fri, 27 Feb 2015 08:50:34 +0000 Message-ID: Subject: Re: [PATCH v9 00/21] Introduce ACPI for ARM64 based on ACPI 5.1 From: Ard Biesheuvel To: Timur Tabi Cc: Hanjun Guo , Catalin Marinas , "Rafael J. Wysocki" , Will Deacon , Olof Johansson , Grant Likely , Mark Rutland , Ashwin Chaugule , Lorenzo Pieralisi , Robert Richter , Arnd Bergmann , Graeme Gregory , Linaro ACPI Mailman List , Marc Zyngier , Jon Masters , "linux-kernel@vger.kernel.org" , "linux-acpi@vger.kernel.org" , Mark Brown , Suravee Suthikulpanit , Sudeep Holla , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27 February 2015 at 03:20, Timur Tabi wrote: > On 02/25/2015 02:39 AM, Hanjun Guo wrote: >> >> Changes since v8: > > > I'm still debugging it, but v9 on the 4.0-rc1 kernel crashes after calling > the UEFI boot time services exit function. That is, this line: > > status = sys_table->boottime->exit_boot_services(handle, mmap_key); > > in allocate_new_fdt_and_exit_boot() gets called, and then soon after it > returns, the kernel crashes. It's really early because the UEFI exception > handler is called. > > I did not have this problem with v8 patchset on 3.19. > Are you not seeing this on v4.0-rc1 without the patchset applied? Could the crash be inside the subsequent call to SetVirtualAddressMap() instead of inside ExitBootServices()? If so, you have a firmware bug: Mark Rutland spotted a similar bug in the AMD Seattle firmware, which has been fixed in the mean time. It has to do with the firmware dereferencing the virtual mapping as it is being installed, which violates the UEFI spec. > > Also, you still have a couple whitespace problems in these patches: > > Applying: ARM64 / ACPI: additions of ACPI documentation for arm64 > /local/mnt/workspace/linux.0/.git/rebase-apply/patch:607: new blank line at > EOF. > + > /local/mnt/workspace/linux.0/.git/rebase-apply/patch:844: new blank line at > EOF. > + > warning: 2 lines add whitespace errors. > Applying: Documentation: ACPI for ARM64 > /local/mnt/workspace/linux.0/.git/rebase-apply/patch:517: new blank line at > EOF. > + > warning: 1 line adds whitespace errors. > > > -- > Sent by an employee of the Qualcomm Innovation Center, Inc. > The Qualcomm Innovation Center, Inc. is a member of the > Code Aurora Forum, hosted by The Linux Foundation. > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel