Home
last modified time | relevance | path

Searched refs:vgic_lr (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/arch/arm64/kvm/vgic/
H A Dvgic-v2.c60 u32 val = cpuif->vgic_lr[lr]; in vgic_v2_fold_lr_state()
197 vcpu->arch.vgic_cpu.vgic_v2.vgic_lr[lr] = val; in vgic_v2_populate_lr()
202 vcpu->arch.vgic_cpu.vgic_v2.vgic_lr[lr] = 0; in vgic_v2_clear_lr()
416 cpu_if->vgic_lr[i] &= ~GICH_LR_STATE; in save_lrs()
418 cpu_if->vgic_lr[i] = readl_relaxed(base + GICH_LR0 + (i * 4)); in save_lrs()
451 writel_relaxed(cpu_if->vgic_lr[i], in vgic_v2_restore_state()
H A Dvgic-v3.c47 u64 val = cpuif->vgic_lr[lr]; in vgic_v3_fold_lr_state()
186 vcpu->arch.vgic_cpu.vgic_v3.vgic_lr[lr] = val; in vgic_v3_populate_lr()
191 vcpu->arch.vgic_cpu.vgic_v3.vgic_lr[lr] = 0; in vgic_v3_clear_lr()
/openbmc/linux/include/kvm/
H A Darm_vgic.h301 u32 vgic_lr[VGIC_V2_MAX_LRS]; member
312 u64 vgic_lr[VGIC_V3_MAX_LRS]; member
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dhyp-main.c71 host_cpu_if->vgic_lr[i] = hyp_cpu_if->vgic_lr[i]; in sync_hyp_vcpu()
/openbmc/linux/arch/arm64/kvm/hyp/
H A Dvgic-v3-sr.c225 cpu_if->vgic_lr[i] &= ~ICH_LR_STATE; in __vgic_v3_save_state()
227 cpu_if->vgic_lr[i] = __gic_v3_get_lr(i); in __vgic_v3_save_state()
243 __gic_v3_set_lr(cpu_if->vgic_lr[i], i); in __vgic_v3_restore_state()