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

Convert CLEAN_HPTE() macro as hpte_set_clean() 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-5-philmd@linaro.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
hw/ppc/spapr.c