Skip to content
Commit c54e52f8 authored by James Morse's avatar James Morse Committed by Catalin Marinas
Browse files

arm64, irqchip/gic-v3, ACPI: Move MADT GICC enabled check into a helper



ACPI, irqchip and the architecture code all inspect the MADT
enabled bit for a GICC entry in the MADT.

The addition of an 'online capable' bit means all these sites need
updating.

Move the current checks behind a helper to make future updates easier.

Signed-off-by: default avatarJames Morse <james.morse@arm.com>
Reviewed-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: default avatarGavin Shan <gshan@redhat.com>
Signed-off-by: default avatar"Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>
Acked-by: default avatar"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
Reviewed-by: default avatarSudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/E1quv5D-00AeNJ-U8@rmk-PC.armlinux.org.uk


Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 851354cb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment