]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Relax GIC version check during early boot
authorVladimir Murzin <vladimir.murzin@arm.com>
Wed, 20 Feb 2019 11:43:05 +0000 (11:43 +0000)
committerWill Deacon <will.deacon@arm.com>
Wed, 20 Feb 2019 14:05:37 +0000 (14:05 +0000)
commita1754d927bbd789fd1817d872d632cf3ff21ad24
treec7746935f5718abdf8ff17f15647e0d8207d3107
parentacf19676c4fdc9e163772defd3ece74f8753e487
arm64: Relax GIC version check during early boot

Updates to the GIC architecture allow ID_AA64PFR0_EL1.GIC to have
values other than 0 or 1. At the moment, Linux is quite strict in the
way it handles this field at early boot stage (cpufeature is fine) and
will refuse to use the system register CPU interface if it doesn't
find the value 1.

Fixes: d760ce97deef2bcb3755ac37fa1dc435f5d50835 ("irqchip: gic-v3: Initial support for GICv3")
Reported-by: Chase Conklin <Chase.Conklin@arm.com>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/head.S