On 5/20/26 6:36 AM, Richard Purdie wrote:
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know
the content is safe.
On Mon, 2026-05-11 at 13:52 -0700, Quan Sun via lists.openembedded.org wrote:
From: Quan Sun <[email protected]>
Backport upstream commit 854cd16e318e ("accel/tcg: Fix iotlb_to_section()
for different AddressSpace") to qemu 10.2.0.
The bug causes incorrect memory load/store when CPU access goes through
an IOMMUMemoryRegion that returns a different target AddressSpace, and the
fix replaces the section_index lookup with a direct MemoryRegionSection
pointer stored in CPUTLBEntryFull.
Note that the fix primarily targets ARM/RISC-V, but since it eliminates
iotlb_to_section() and performs the lookup based on CPUTLBEntryFull,
it may also help address some currently observed QEMU boot issues
on x86, e.g. the https://bugzilla.yoctoproject.org/show_bug.cgi?id=16259.
AI-Generated: kiro-cli
Signed-off-by: Quan Sun <[email protected]>
---
meta/recipes-devtools/qemu/qemu.inc | 1 +
...tlb_to_section-for-different-Address.patch | 274 ++++++++++++++++++
2 files changed, 275 insertions(+)
create mode 100644
meta/recipes-devtools/qemu/qemu/0001-accel-tcg-Fix-iotlb_to_section-for-different-Address.patch
I noticed this failure on one of my current builds:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/80/builds/3615
which looks a bit like some of the errors we were hoping this fixed?
This looks like a graphics-related issue (I remember earlier we had
similar one). The last kernel message is about the PL110 display
controller and deferred probes. The Sato image starts X11/Sato desktop
which requires the framebuffer to be functional. If the display device
doesn't complete initialization, X11 startup blocks, which blocks the
init sequence, which prevents the login prompt from appearing. It's
possible this issue may still exist even with QEMU upgraded to 11.0.0.
Thanks,
Quan
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#237467):
https://lists.openembedded.org/g/openembedded-core/message/237467
Mute This Topic: https://lists.openembedded.org/mt/119264493/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-