• M
    irqchip/gic-v3-its: Allow use of pre-programmed LPI tables · 01eea2ad
    Marc Zyngier 提交于
    mainline inclusion
    from 4.20-rc1
    commit: c440a9d9d113b9b3cd99bb5096c4aa47d515e463
    category: kdump
    bugzilla: 5272
    CVE: NA
    
    This 10 patches is used for secondary kernel using LPI.
    
    [PATCH 01/10] irqchip/gic-v3-its: Change initialization ordering for LPIs
    [PATCH 02/10] irqchip/gic-v3-its: Simplify LPI_PENDBASE_SZ usage
    [PATCH 03/10] irqchip/gic-v3-its: Split property table clearing from allocation
    [PATCH 04/10] irqchip/gic-v3-its: Move pending table allocation to init time
    [PATCH 05/10] irqchip/gic-v3-its: Keep track of property table's PA and VA
    [PATCH 06/10] irqchip/gic-v3-its: Allow use of pre-programmed LPI tables
    [PATCH 07/10] irqchip/gic-v3-its: Use pre-programmed redistributor tables with kdump kernels
    [PATCH 08/10] irqchip/gic-v3-its: Check that all RDs have the same property table
    [PATCH 09/10] irqchip/gic-v3-its: Register LPI tables with EFI config table
    [PATCH 10/10] irqchip/gic-v3-its: Allow use of LPI tables in reserved memory
    
    --------------------------------------
    
    In order to cope with kexec and GICv3, let's try and spot when
    we're booting with LPIs already enabled, and the tables already
    programmed into the redistributors.
    
    This code is currently guarded by a predicate that is always false,
    meaning this is not functionnal just yet.
    Reviewed-by: NJulien Thierry <julien.thierry@arm.com>
    Tested-by: NJeremy Linton <jeremy.linton@arm.com>
    Tested-by: NBhupesh Sharma <bhsharma@redhat.com>
    Tested-by: NLei Zhang <zhang.lei@jp.fujitsu.com>
    Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com>
    Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
    Reviewed-by: NHanjun Guo <guohanjun@huawei.com>
    01eea2ad
irq-gic-v3-its.c 94.4 KB