All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bagas Sanjaya <bagasdotme@gmail.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux Regressions <regressions@lists.linux.dev>,
	Linux x86 <x86@kernel.org>,
	Linux ACPI <linux-acpi@vger.kernel.org>,
	Linux ACPICA <acpica-devel@lists.linuxfoundation.org>,
	Linux Stable <stable@vger.kernel.org>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>,
	Jianmin Lv <lvjianmin@loongson.cn>,
	Huacai Chen <chenhuacai@loongson.cn>,
	Bob Moore <robert.moore@intel.com>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Akihiro Suda <suda.kyoto@gmail.com>,
	Robert Moore <robert.moore@intel.com>
Subject: Fwd: kernel >= v6.2 no longer boots on Apple's Virtualization.framework (x86_64); likely to be related to ACPICA
Date: Thu, 25 May 2023 19:46:47 +0700	[thread overview]
Message-ID: <efd6f2d4-547c-1378-1faa-53c044dbd297@gmail.com> (raw)

Hi,

I notice a regression report on Bugzilla [1]. Quoting from it:

> Linux kernel >= v6.2 no longer boots on Apple's Virtualization.framework (x86_64).
> 
> It is reported that the issue is not reproducible on ARM64: https://github.com/lima-vm/lima/issues/1577#issuecomment-1561577694
> 
> 
> ## Reproduction
> - Checkout the kernel repo, and run `make defconfig bzImage`.
> 
> - Create an initrd (see the attached `initrd-example.txt`)
> 
> - Transfer the bzImage and initrd to an Intel Mac.
> 
> - On Mac, download `RunningLinuxInAVirtualMachine.zip` from https://developer.apple.com/documentation/virtualization/running_linux_in_a_virtual_machine , and build the `LinuxVirtualMachine` binary with Xcode.
>   Building this binary with Xcode requires logging in to Apple.
>   If you do not like logging in, a third party equivalent such as https://github.com/Code-Hex/vz/blob/v3.0.6/example/linux/main.go can be used.
> 
> - Run `LinuxVirtualMachine /tmp/bzImage /tmp/initrd.img`.
>   v6.1 successfully boots into the busybox shell.
>   v6.2 just hangs before printing something in the console.
> 
> 
> ## Tested versions
> ```
> v6.1: OK
> ...
> v6.1.0-rc2-00002-g60f2096b59bc (included in v6.2-rc1): OK
> v6.1.0-rc2-00003-g5c62d5aab875 (included in v6.2-rc1): NG <-- This commit caused a regression
> ...
> v6.2-rc1: NG
> ...
> v6.2: NG
> ...
> v6.3.0-rc7-00181-g8e41e0a57566 (included in v6.3): NG     <-- Reverts 5c62d5aab875 but still NG
> ...
> v6.3: NG
> v6.4-rc3: NG
> ```
> 
> Tested on MacBookPro 2020 (Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz) running macOS 13.4.
> 
> 
> The issue seems a regression in [5c62d5aab8752e5ee7bfbe75ed6060db1c787f98](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5c62d5aab8752e5ee7bfbe75ed6060db1c787f98) "ACPICA: Events: Support fixed PCIe wake event".
> 
> This commit was introduced in v6.2-rc1, and apparently reverted in v6.3 ([8e41e0a575664d26bb87e012c39435c4c3914ed9](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8e41e0a575664d26bb87e012c39435c4c3914ed9)).
> However, v6.3 and the latest v6.4-rc3 still don't boot.

See bugzilla for the full thread.

Interestingly, this regression still occurs despite the culprit is
reverted in 8e41e0a575664d ("Revert "ACPICA: Events: Support fixed
PCIe wake event""), so this (obviously) isn't wake-on-lan regression,
but rather early boot one.

Also, the reporter can't provide dmesg log (forget to attach serial
console?).

Anyway, I'm adding it to regzbot:

#regzbot introduced: 5c62d5aab8752e https://bugzilla.kernel.org/show_bug.cgi?id=217485
#regzbot title: Linux v6.2+ (x86_64) no longer boots on Apple's Virtualization framework (ACPICA issue)

Thanks.

[1]: https://bugzilla.kernel.org/show_bug.cgi?id=217485

-- 
An old man doll... just what I always wanted! - Clara

WARNING: multiple messages have this Message-ID (diff)
From: Bagas Sanjaya <bagasdotme@gmail.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux Regressions <regressions@lists.linux.dev>,
	Linux x86 <x86@kernel.org>,
	Linux ACPI <linux-acpi@vger.kernel.org>,
	Linux ACPICA <acpica-devel@lists.linuxfoundation.org>,
	Linux Stable <stable@vger.kernel.org>
Cc: Akihiro Suda <suda.kyoto@gmail.com>,
	Robert Moore <robert.moore@intel.com>,
	Jianmin Lv <lvjianmin@loongson.cn>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Huacai Chen <chenhuacai@loongson.cn>
Subject: [Acpica-devel] Fwd: kernel >= v6.2 no longer boots on Apple's Virtualization.framework (x86_64); likely to be related to ACPICA
Date: Thu, 25 May 2023 19:46:47 +0700	[thread overview]
Message-ID: <efd6f2d4-547c-1378-1faa-53c044dbd297@gmail.com> (raw)

Hi,

I notice a regression report on Bugzilla [1]. Quoting from it:

> Linux kernel >= v6.2 no longer boots on Apple's Virtualization.framework (x86_64).
> 
> It is reported that the issue is not reproducible on ARM64: https://github.com/lima-vm/lima/issues/1577#issuecomment-1561577694
> 
> 
> ## Reproduction
> - Checkout the kernel repo, and run `make defconfig bzImage`.
> 
> - Create an initrd (see the attached `initrd-example.txt`)
> 
> - Transfer the bzImage and initrd to an Intel Mac.
> 
> - On Mac, download `RunningLinuxInAVirtualMachine.zip` from https://developer.apple.com/documentation/virtualization/running_linux_in_a_virtual_machine , and build the `LinuxVirtualMachine` binary with Xcode.
>   Building this binary with Xcode requires logging in to Apple.
>   If you do not like logging in, a third party equivalent such as https://github.com/Code-Hex/vz/blob/v3.0.6/example/linux/main.go can be used.
> 
> - Run `LinuxVirtualMachine /tmp/bzImage /tmp/initrd.img`.
>   v6.1 successfully boots into the busybox shell.
>   v6.2 just hangs before printing something in the console.
> 
> 
> ## Tested versions
> ```
> v6.1: OK
> ...
> v6.1.0-rc2-00002-g60f2096b59bc (included in v6.2-rc1): OK
> v6.1.0-rc2-00003-g5c62d5aab875 (included in v6.2-rc1): NG <-- This commit caused a regression
> ...
> v6.2-rc1: NG
> ...
> v6.2: NG
> ...
> v6.3.0-rc7-00181-g8e41e0a57566 (included in v6.3): NG     <-- Reverts 5c62d5aab875 but still NG
> ...
> v6.3: NG
> v6.4-rc3: NG
> ```
> 
> Tested on MacBookPro 2020 (Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz) running macOS 13.4.
> 
> 
> The issue seems a regression in [5c62d5aab8752e5ee7bfbe75ed6060db1c787f98](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5c62d5aab8752e5ee7bfbe75ed6060db1c787f98) "ACPICA: Events: Support fixed PCIe wake event".
> 
> This commit was introduced in v6.2-rc1, and apparently reverted in v6.3 ([8e41e0a575664d26bb87e012c39435c4c3914ed9](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8e41e0a575664d26bb87e012c39435c4c3914ed9)).
> However, v6.3 and the latest v6.4-rc3 still don't boot.

See bugzilla for the full thread.

Interestingly, this regression still occurs despite the culprit is
reverted in 8e41e0a575664d ("Revert "ACPICA: Events: Support fixed
PCIe wake event""), so this (obviously) isn't wake-on-lan regression,
but rather early boot one.

Also, the reporter can't provide dmesg log (forget to attach serial
console?).

Anyway, I'm adding it to regzbot:

#regzbot introduced: 5c62d5aab8752e https://bugzilla.kernel.org/show_bug.cgi?id=217485
#regzbot title: Linux v6.2+ (x86_64) no longer boots on Apple's Virtualization framework (ACPICA issue)

Thanks.

[1]: https://bugzilla.kernel.org/show_bug.cgi?id=217485

-- 
An old man doll... just what I always wanted! - Clara

             reply	other threads:[~2023-05-25 12:46 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-25 12:46 Bagas Sanjaya [this message]
2023-05-25 12:46 ` [Acpica-devel] Fwd: kernel >= v6.2 no longer boots on Apple's Virtualization.framework (x86_64); likely to be related to ACPICA Bagas Sanjaya
2023-05-27 17:56 ` [Acpica-devel] 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) Akihiro Suda
2023-05-27 18:00   ` Akihiro Suda
2023-05-27 18:00     ` [Acpica-devel] " Akihiro Suda
2023-05-27 18:03     ` Ard Biesheuvel
2023-05-27 18:03       ` [Acpica-devel] " Ard Biesheuvel
2023-05-27 18:34       ` Akihiro Suda
2023-05-27 18:34         ` [Acpica-devel] " Akihiro Suda
2023-05-27 18:42         ` Ard Biesheuvel
2023-05-27 18:42           ` [Acpica-devel] " Ard Biesheuvel
2023-05-27 19:40           ` Linus Torvalds
2023-05-27 19:40             ` [Acpica-devel] " Linus Torvalds
2023-05-27 21:48             ` Ard Biesheuvel
2023-05-27 21:48               ` [Acpica-devel] " Ard Biesheuvel
2023-05-28  7:02               ` Akihiro Suda
2023-05-28  7:02                 ` [Acpica-devel] " Akihiro Suda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=efd6f2d4-547c-1378-1faa-53c044dbd297@gmail.com \
    --to=bagasdotme@gmail.com \
    --cc=acpica-devel@lists.linuxfoundation.org \
    --cc=chenhuacai@loongson.cn \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lvjianmin@loongson.cn \
    --cc=rafael@kernel.org \
    --cc=regressions@lists.linux.dev \
    --cc=robert.moore@intel.com \
    --cc=stable@vger.kernel.org \
    --cc=suda.kyoto@gmail.com \
    --cc=torvalds@linux-foundation.org \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.