Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qemu: revert "Restrict pessimization of M4 arch to macOS 15.2"; upgrade Cortex-A72 to Cortex-A76 #3227

Merged
merged 2 commits into from
Feb 12, 2025

Conversation

AkihiroSuda
Copy link
Member

Fix #3226


qemu: revert "Restrict pessimization of M4 arch to macOS 15.2"

This commit reverts the substantial part of:

SME got broken again after upgrading QEMU from 9.2.0 to 9.2.1 (Homebrew bottle).

$ qemu-system-aarch64 -M virt -accel hvf -cpu host
Unexpected error in object_property_find_err() at ../qom/object.c:1350:
qemu-system-aarch64: Property 'host-arm-cpu.sme' not found
Abort trap: 6

Possibly this regression happened in some build process rather than in QEMU itself?

See:


qemu: upgrade Cortex-A72 to Cortex-A76

Cortex-A76 supports ARMv8.2-A, while Cortex-A72 only supports ARMv8-A.

ARMv8-A is not enough to run AmazonLinux 2023:

$ docker run -it --rm  public.ecr.aws/amazonlinux/amazonlinux:2023
Fatal glibc error: This version of Amazon Linux requires a newer ARM64 processor
                   compliant with at least ARM architecture 8.2-a with Cryptographic
                   extensions. On EC2 this is Graviton 2 or later.

Cortex-A76 is available since QEMU 7.1 (Aug 2022).

This commit reverts the substantial part of PR 3197.

SME got broken again after upgrading QEMU from 9.2.0 to 9.2.1 (Homebrew bottle).
Possibly this regression happened in some build process rather than in QEMU itself?

See issue 3226.

Signed-off-by: Akihiro Suda <[email protected]>
Cortex-A76 supports ARMv8.2-A, while Cortex-A72 only supports ARMv8-A.

ARMv8-A is not enough to run AmazonLinux 2023:
```
$ docker run -it --rm  public.ecr.aws/amazonlinux/amazonlinux:2023
Fatal glibc error: This version of Amazon Linux requires a newer ARM64 processor
                   compliant with at least ARM architecture 8.2-a with Cryptographic
                   extensions. On EC2 this is Graviton 2 or later.
```

Cortex-A76 is available since QEMU 7.1 (Aug 2022).

Signed-off-by: Akihiro Suda <[email protected]>
@jandubois jandubois merged commit 0582803 into lima-vm:master Feb 12, 2025
30 checks passed
@AkihiroSuda AkihiroSuda mentioned this pull request Feb 12, 2025
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Feb 13, 2025
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [lima-vm/lima](https://github.com/lima-vm/lima) | patch | `v1.0.5` -> `v1.0.6` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>lima-vm/lima (lima-vm/lima)</summary>

### [`v1.0.6`](https://github.com/lima-vm/lima/releases/tag/v1.0.6)

[Compare Source](lima-vm/lima@v1.0.5...v1.0.6)

QEMU:

-   Revert "Restrict pessimization of M4 arch to macOS 15.2"; upgrade Cortex-A72 to Cortex-A76 ([#&#8203;3227](lima-vm/lima#3227))

YAML:

-   Support customizing user shell ([#&#8203;3207](lima-vm/lima#3207), thanks to [@&#8203;afbjorklund](https://github.com/afbjorklund))

Full changes: https://github.com/lima-vm/lima/milestone/56?closed=1

Thanks to [@&#8203;afbjorklund](https://github.com/afbjorklund) [@&#8203;alexandear](https://github.com/alexandear) [@&#8203;kairveeehh](https://github.com/kairveeehh)

#### Usage

```console
[macOS]$ limactl create
[macOS]$ limactl start
...
INFO[0029] READY. Run `lima` to open the shell.

[macOS]$ lima uname
Linux
```

***

The binaries were built automatically on GitHub Actions.
The build log is available for 90 days: https://github.com/lima-vm/lima/actions/runs/13297347764

The sha256sum of the SHA256SUMS file itself is `8e241d4ac136423afab65452e1501b2252f84757d7f9385e3d2bdbece0fe5242` .

***

Release manager: [@&#8203;AkihiroSuda](https://github.com/AkihiroSuda)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNjYuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE2Ni4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

qemu-system-aarch64: Property 'host-arm-cpu.sme' not found (again, in QEMU 9.2.1)
2 participants