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? Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#237442): https://lists.openembedded.org/g/openembedded-core/message/237442 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]] -=-=-=-=-=-=-=-=-=-=-=-
