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

Convert HPTE_VALID() macro as hpte_is_valid() 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.

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