[PATCH v4 15/26] arm64: irqflags: Use ICC_PMR_EL1 for interrupt masking

2018-05-25 Thread Julien Thierry
Instead disabling interrupts by setting the PSR.I bit, use a priority higher than the one used for interrupts to mask them via PMR. The value chosen for PMR to enable/disable interrupts encodes the status of interrupts on a single bit. This information is stored in the irqflags values used when

[PATCH v4 15/26] arm64: irqflags: Use ICC_PMR_EL1 for interrupt masking

2018-05-25 Thread Julien Thierry
Instead disabling interrupts by setting the PSR.I bit, use a priority higher than the one used for interrupts to mask them via PMR. The value chosen for PMR to enable/disable interrupts encodes the status of interrupts on a single bit. This information is stored in the irqflags values used when