diff options
author | Samuel Holland <samuel.holland@sifive.com> | 2024-10-25 11:59:48 -0700 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2024-11-11 18:21:04 +0530 |
commit | 86d2c1797a44975e628bcf77e30e687fd6738e81 (patch) | |
tree | 655d5be8fb89fadf22932bea881cd4c8f617d7dd /platform/generic/platform.c | |
parent | 693afc818feecdbddb75f5c9ec4b436d56f64208 (diff) | |
download | opensbi-86d2c1797a44975e628bcf77e30e687fd6738e81.zip opensbi-86d2c1797a44975e628bcf77e30e687fd6738e81.tar.gz opensbi-86d2c1797a44975e628bcf77e30e687fd6738e81.tar.bz2 |
platform: Drop IPI warm init and exit hooks
Now that the SBI IPI core clears IPIs at warm boot in a generic way,
none of the drivers or platforms use these hooks, and we can remove
them. Platforms need only to initialize the driver once during cold
init. If other hooks are needed in the future, they can be added to
struct sbi_ipi_device.
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'platform/generic/platform.c')
-rw-r--r-- | platform/generic/platform.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/generic/platform.c b/platform/generic/platform.c index a22db49..3b20ffb 100644 --- a/platform/generic/platform.c +++ b/platform/generic/platform.c @@ -421,7 +421,6 @@ const struct sbi_platform_operations platform_ops = { .irqchip_init = fdt_irqchip_init, .irqchip_exit = fdt_irqchip_exit, .ipi_init = fdt_ipi_init, - .ipi_exit = fdt_ipi_exit, .pmu_init = generic_pmu_init, .pmu_xlate_to_mhpmevent = generic_pmu_xlate_to_mhpmevent, .get_tlbr_flush_limit = generic_tlbr_flush_limit, |