Home
last modified time | relevance | path

Searched refs:pmr (Results 1 – 10 of 10) sorted by relevance

/arch/arm64/include/asm/
Dirqflags.h30 u32 pmr = read_sysreg_s(SYS_ICC_PMR_EL1); in arch_local_irq_enable() local
32 WARN_ON_ONCE(pmr != GIC_PRIO_IRQON && pmr != GIC_PRIO_IRQOFF); in arch_local_irq_enable()
49 u32 pmr = read_sysreg_s(SYS_ICC_PMR_EL1); in arch_local_irq_disable() local
51 WARN_ON_ONCE(pmr != GIC_PRIO_IRQON && pmr != GIC_PRIO_IRQOFF); in arch_local_irq_disable()
Ddaifflags.h82 u64 pmr; in local_daif_restore() local
90 pmr = GIC_PRIO_IRQOFF; in local_daif_restore()
92 pmr = GIC_PRIO_IRQON | GIC_PRIO_PSR_I_SET; in local_daif_restore()
114 gic_write_pmr(pmr); in local_daif_restore()
Dcpuidle.h26 unsigned long pmr; member
37 c->pmr = gic_read_pmr(); \
46 gic_write_pmr(c->pmr); \
/arch/arm64/kvm/
Dvgic-sys-reg-v3.c93 vmcr.pmr = FIELD_GET(ICC_PMR_EL1_MASK, val); in set_gic_pmr()
105 *val = FIELD_PREP(ICC_PMR_EL1_MASK, vmcr.pmr); in get_gic_pmr()
/arch/arm64/kvm/vgic/
Dvgic-v2.c226 vmcr |= ((vmcrp->pmr >> GICV_PMR_PRIORITY_SHIFT) << in vgic_v2_set_vmcr()
256 vmcrp->pmr = ((vmcr & GICH_VMCR_PRIMASK_MASK) >> in vgic_v2_get_vmcr()
Dvgic-mmio-v2.c301 val = (vmcr.pmr & GICV_PMR_PRIORITY_MASK) >> in vgic_mmio_read_vcpuif()
348 vmcr.pmr = (val << GICV_PMR_PRIORITY_SHIFT) & in vgic_mmio_write_vcpuif()
Dvgic-v3.c216 vmcr |= (vmcrp->pmr << ICH_VMCR_PMR_SHIFT) & ICH_VMCR_PMR_MASK; in vgic_v3_set_vmcr()
249 vmcrp->pmr = (vmcr & ICH_VMCR_PMR_MASK) >> ICH_VMCR_PMR_SHIFT; in vgic_v3_get_vmcr()
Dvgic.h162 u32 pmr; /* Priority mask field in the GICC_PMR and member
Dvgic.c969 irq->priority < vmcr.pmr; in kvm_vgic_vcpu_pending_irq()
/arch/arm64/kvm/hyp/
Dvgic-v3-sr.c696 u8 lr_prio, pmr; in __vgic_v3_read_iar() local
708 pmr = (vmcr & ICH_VMCR_PMR_MASK) >> ICH_VMCR_PMR_SHIFT; in __vgic_v3_read_iar()
710 if (pmr <= lr_prio) in __vgic_v3_read_iar()