]> 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)
committerPeter Xu <peterx@redhat.com>
Wed, 18 Sep 2024 18:27:39 +0000 (14:27 -0400)
commitd8d5ca40048b04750de5a0ae0b2b9f153a391951
tree2cc111a75191ab8914ab88aae28d2309fb3a0500
parentcb0ed522a51a7d4b1fde535972d4aeeb82447928
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>
system/physmem.c