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

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