Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1127300rwd; Sat, 27 May 2023 11:37:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4kSQexf1c7pBuWVYycjsz2HrbYv8tHO9rNqU1iknXqgZ7fPmYA9Y3GXcokUqe7yj7fqivP X-Received: by 2002:a05:6a20:9d90:b0:10c:5745:3f44 with SMTP id mu16-20020a056a209d9000b0010c57453f44mr3278888pzb.61.1685212677462; Sat, 27 May 2023 11:37:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685212677; cv=none; d=google.com; s=arc-20160816; b=IZlpVa5fKyK7Jayify3UjZxDaKwIfhDgROO0+Sk106Y2f1oLON6l1NqIoAHnopswq2 Y442sF87n1VCbl4q6/akEQp81HN1KFoBystMK/OV8saQSak0aInpADEZxaT5OxRYPSYX 8q+E+cD4FxuzR5GYA+Sh6et7n5LYKZ/Ax44omeIUwiqifjXsNzeTgsdlLGDmabxLnaXg dHXfObLSTNirWVYm/XzhQo5FoxlOBsyO+jjcal+95vsa/UyZCgQZtPQyiPuvb0Wu0Vig rTO9Mr97I3ydHhJ/uUNw04qzdPKYUjjiicIkfRfG6SJF0XvNX0CAf7DEDB8DqMh589u+ jk6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=+2DbhJhzR6mabBBjwgNw5rSlRJnUbBZQeef15wiBopk=; b=xER7Y5msOa/BQzX7/KfMFgC3aq6BHLdlgLm7hyFoKG9MTC/1o7LKNiJ1bz+FGsU17x rrE5AHSwC3MQxX/X1wo+ulKodKX6wX17vKU1iLbGtrekojwXyq3wvGGzqcS2Apw4qCsW ezkWrEU3ZbqT1+e8H73Ota+695C14/HLseWgg/XHfnWYivBBz3989gsl8cMZpZffy/7p tMdfum4KzLnYxmJjkjP2Dn3Lr8iUEUWYp0A9OJOfWjRGAfMKIYdGhjGOdsp8mh9tuvsH hyTW1UZCNjKbWy/ohvorMpNeX24TOFIZPOnuYGn3Y3p0JQHRgYnPh2DTan9vBUGL0fY9 NOsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="KnIH/6iU"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u186-20020a6385c3000000b00530b135eae9si1087611pgd.119.2023.05.27.11.37.43; Sat, 27 May 2023 11:37:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="KnIH/6iU"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230486AbjE0SEJ (ORCPT + 99 others); Sat, 27 May 2023 14:04:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbjE0SEI (ORCPT ); Sat, 27 May 2023 14:04:08 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC7FFD8; Sat, 27 May 2023 11:04:07 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6D99B611DF; Sat, 27 May 2023 18:04:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C63CEC433EF; Sat, 27 May 2023 18:04:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685210646; bh=+2DbhJhzR6mabBBjwgNw5rSlRJnUbBZQeef15wiBopk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=KnIH/6iU5kII/kEi9oJ2yNbjTux0io/0dOabQH7bxSWUDCQ/43I79+L/uQmWKzHFw B+Zy6nsl/biVr6mGuJRtUiUgEUvIObjF7s2wkHVepOOS7rmS7+tbaECaWe7EKAdas8 2eNxkC0rvKI5FKvqK2Tk860u4csWFATn4t/IId3GFdpUkAiuvKg0eo4TFDr7gxt0C1 OBWzC9l8wlXcwt5l2guw9ZNygNwUBLPx79smWL/KlOs5n92wbI26X96g51c1BgGk0m ua3zRGzTK7LAqNuT21GHZv9PWj4ywbsQO8BXEkmIcc8lk2E3edho7KG1Gm3u9saA2j jwRuCoemDa3PA== Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-2af2f4e719eso19655791fa.2; Sat, 27 May 2023 11:04:06 -0700 (PDT) X-Gm-Message-State: AC+VfDyYJz13HQAzdPaUGCQqTvRm6Oq3UXWXzraEPVNBqvQCwxzbYDSh gA0HJtO0EL8agetKhWwLMKWQmA+XDqT3Wa8FOsQ= X-Received: by 2002:a2e:9ed9:0:b0:2ac:7d3b:6312 with SMTP id h25-20020a2e9ed9000000b002ac7d3b6312mr2273060ljk.22.1685210644828; Sat, 27 May 2023 11:04:04 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ard Biesheuvel Date: Sat, 27 May 2023 20:03:53 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: mix of ACPICA regression and EFISTUB regression (Was: kernel >= v6.2 no longer boots on Apple's Virtualization.framework (x86_64); likely to be related to ACPICA) To: Akihiro Suda Cc: Bagas Sanjaya , linux-efi@vger.kernel.org, Linux Kernel Mailing List , Linux Regressions , Linux x86 , Linux ACPI , Linux ACPICA , Linux Stable , "Rafael J. Wysocki" , Jianmin Lv , Huacai Chen , Linus Torvalds , Robert Moore Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 27 May 2023 at 20:00, Akihiro Suda wrote: > > [Resending as a plain text email] > > Turned out that this is a mixture of an ACPICA issue and an EFISTUB issue. > > Kernel v6.2 can boot by reverting the *both* of the following two commits: > - 5c62d5aab8752e5ee7bfbe75ed6060db1c787f98 "ACPICA: Events: Support > fixed PCIe wake event" > - e346bebbd36b1576a3335331fed61bb48c6d8823 "efi: libstub: Always > enable initrd command line loader and bump version" > > Kernel v6.3 can boot by just reverting e346bebb, as 5c62d5a has been > already reverted in 8e41e0a575664d26bb87e012c39435c4c3914ed9. > The situation is the same for v6.4-rc3 too. > > Note that in my test I let Virtualization.framework directly load > bzImage without GRUB (akin to `qemu-system-x86_64 -kernel bzImage`). > Apparently, reverting e346bebb is not necessary for loading bzImage via GRUB. > Are you using OVMF? Which versions of qemu and OVMF are you using?