On Mon, 12 Jan 2026 at 16:29, Pierrick Bouvier
<[email protected]> wrote:
>
> On 12/15/25 4:01 PM, Pierrick Bouvier wrote:
> > This series prepare granule_protection_check to be usable from SMMU, for
> > implementing RME feature.
> > It's based on Tao's commit [1] extracting ARMSecuritySpace from cpu.h
> > header for
> > convenience.
> Another gentle ping.
> This series has been reviewed and should be ready to be pulled.
Applied to target-arm.next, thanks. I folded in this minor change
which avoids the "local variables not declared at beginning of block"
style issue:
--- a/target/arm/ptw.c
+++ b/target/arm/ptw.c
@@ -3785,9 +3785,7 @@ static bool get_phys_addr_gpc(CPUARMState *env,
S1Translate *ptw,
return true;
}
- const uint64_t gpccr = env->cp15.gpccr_el3;
- const bool gpc_enabled = FIELD_EX64(gpccr, GPCCR, GPC);
- if (gpc_enabled) {
+ if (FIELD_EX64(env->cp15.gpccr_el3, GPCCR, GPC)) {
ARMCPU *cpu = env_archcpu(env);
MemTxAttrs attrs = {
.secure = true,
-- PMM