]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/ppc/spapr: Convert DIRTY_HPTE() macro as hpte_set_dirty() method
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 20 Dec 2024 21:31:02 +0000 (22:31 +0100)
committerNicholas Piggin <npiggin@gmail.com>
Tue, 11 Mar 2025 12:43:32 +0000 (22:43 +1000)
commitc2ac9f4c297c53aa96d2b500e8db03e57f97d97c
treea73c1bf5ec38835aa79d5ac143d660e33537a2b9
parent735f9c878a3e97b1257f2345579734ea2877c46d
hw/ppc/spapr: Convert DIRTY_HPTE() macro as hpte_set_dirty() method

Convert DIRTY_HPTE() macro as hpte_set_dirty() method.

sPAPR data structures including the hash page table are big-endian
regardless of current CPU endian mode, so use the big-endian LD/ST
API to access the hash PTEs.

Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Message-ID: <20241220213103.6314-6-philmd@linaro.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
hw/ppc/spapr.c