Home
last modified time | relevance | path

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

/linux-6.1.9/arch/arm64/kvm/vgic/
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()
422 cpu_if->vgic_lr[i] &= ~GICH_LR_STATE; in save_lrs()
424 cpu_if->vgic_lr[i] = readl_relaxed(base + GICH_LR0 + (i * 4)); in save_lrs()
457 writel_relaxed(cpu_if->vgic_lr[i], in vgic_v2_restore_state()
Dvgic-v3.c46 u64 val = cpuif->vgic_lr[lr]; in vgic_v3_fold_lr_state()
185 vcpu->arch.vgic_cpu.vgic_v3.vgic_lr[lr] = val; in vgic_v3_populate_lr()
190 vcpu->arch.vgic_cpu.vgic_v3.vgic_lr[lr] = 0; in vgic_v3_clear_lr()
/linux-6.1.9/include/kvm/
Darm_vgic.h300 u32 vgic_lr[VGIC_V2_MAX_LRS]; member
311 u64 vgic_lr[VGIC_V3_MAX_LRS]; member
/linux-6.1.9/arch/arm64/kvm/hyp/
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()