]> git.ipfire.org Git - thirdparty/qemu.git/commit
softmmu/physmem.c: Keep transaction attribute in address_space_map()
authorFea.Wang <fea.wang@sifive.com>
Thu, 12 Sep 2024 07:04:04 +0000 (15:04 +0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 19 Sep 2024 14:22:09 +0000 (17:22 +0300)
commit2cc14aac8b4bd7b694c3a70926e9a7f46e2e5405
treee4757fc59fa16a502f920d0f49c5fc26d2915b94
parent6a54d5cf55b446ec50d5c5a0b0568a7b28e2913e
softmmu/physmem.c: Keep transaction attribute in address_space_map()

The follow-up transactions may use the data in the attribution, so keep
the value of attribution from the function parameter just as
flatview_translate() above.

Signed-off-by: Fea.Wang <fea.wang@sifive.com>
Cc: qemu-stable@nongnu.org
Fixes: f26404fbee ("Make address_space_map() take a MemTxAttrs argument")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Link: https://lore.kernel.org/r/20240912070404.2993976-2-fea.wang@sifive.com
Signed-off-by: Peter Xu <peterx@redhat.com>
(cherry picked from commit d8d5ca40048b04750de5a0ae0b2b9f153a391951)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
(Mjt: context fix due to lack of
 v9.1.0-134-g637b0aa13956 "softmmu: Support concurrent bounce buffers"
 v9.0.0-564-g69e78f1b3484 "system/physmem: Per-AddressSpace bounce buffering")
system/physmem.c