From db0f43c053601779005fb50502f350675ea54905 Mon Sep 17 00:00:00 2001 From: Liao Chen Date: Tue, 27 Feb 2024 07:09:06 +0000 Subject: [PATCH 1/3] kabi: reserve space for struct irq_work hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8YRD2 -------------------------------- reserve space for struct irq_work Signed-off-by: Liao Chen --- include/linux/irq_work.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/linux/irq_work.h b/include/linux/irq_work.h index 8cd11a223260..5b0bc64244f9 100644 --- a/include/linux/irq_work.h +++ b/include/linux/irq_work.h @@ -4,6 +4,7 @@ #include #include +#include /* * An entry can be in one of four states: @@ -18,6 +19,10 @@ struct irq_work { struct __call_single_node node; void (*func)(struct irq_work *); struct rcuwait irqwait; + KABI_RESERVE(1) + KABI_RESERVE(2) + KABI_RESERVE(3) + KABI_RESERVE(4) }; #define __IRQ_WORK_INIT(_func, _flags) (struct irq_work){ \ -- Gitee From 3298a750c353ecad806245696e937b3404ab0d13 Mon Sep 17 00:00:00 2001 From: Liao Chen Date: Tue, 27 Feb 2024 07:09:07 +0000 Subject: [PATCH 2/3] kabi: reserve space for enum irq_domain_bus_token hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8YRD2 -------------------------------- reserve space for enum irq_domain_bus_token Signed-off-by: Liao Chen --- include/linux/irqdomain_defs.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/linux/irqdomain_defs.h b/include/linux/irqdomain_defs.h index c29921fd8cd1..5640c6c3c956 100644 --- a/include/linux/irqdomain_defs.h +++ b/include/linux/irqdomain_defs.h @@ -2,6 +2,8 @@ #ifndef _LINUX_IRQDOMAIN_DEFS_H #define _LINUX_IRQDOMAIN_DEFS_H +#include + /* * Should several domains have the same device node, but serve * different purposes (for example one domain is for PCI/MSI, and the @@ -26,6 +28,12 @@ enum irq_domain_bus_token { DOMAIN_BUS_DMAR, DOMAIN_BUS_AMDVI, DOMAIN_BUS_PCI_DEVICE_IMS, + DOMAIN_BUS_KABI_RESERVE_1, + DOMAIN_BUS_KABI_RESERVE_2, + DOMAIN_BUS_KABI_RESERVE_3, + DOMAIN_BUS_KABI_RESERVE_4, + DOMAIN_BUS_KABI_RESERVE_5, + DOMAIN_BUS_KABI_RESERVE_6, }; #endif /* _LINUX_IRQDOMAIN_DEFS_H */ -- Gitee From 572a8a1b8ac811412202957fa2bbcaf4beeabec5 Mon Sep 17 00:00:00 2001 From: Liao Chen Date: Tue, 27 Feb 2024 07:09:08 +0000 Subject: [PATCH 3/3] kabi: reserve space for struct mfd_cell hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8YRD2 -------------------------------- reserve space for struct mfd_cell Signed-off-by: Liao Chen --- include/linux/mfd/core.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/linux/mfd/core.h b/include/linux/mfd/core.h index e8bcad641d8c..b8000884cef2 100644 --- a/include/linux/mfd/core.h +++ b/include/linux/mfd/core.h @@ -11,6 +11,7 @@ #define MFD_CORE_H #include +#include #define MFD_RES_SIZE(arr) (sizeof(arr) / sizeof(struct resource)) @@ -118,6 +119,11 @@ struct mfd_cell { */ int num_parent_supplies; const char * const *parent_supplies; + + KABI_RESERVE(1) + KABI_RESERVE(2) + KABI_RESERVE(3) + KABI_RESERVE(4) }; /* -- Gitee