Skip to contentSkip to conversation

x86: irq_pipeline: Add missing definition for !CONFIG_IRQ_PIPELINE

PATCH Applied Fabian Scheler 4 participants 9 messages Apr 23, 2024 – Apr 24, 2024 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: irq_pipeline: Add missing definition for !CONFIG_IRQ_PIPELINE

Fixup b917e98008314b3c7596099f48ea98f541451083 introducing DEFINE_IDTENTRY_SYSVEC_PIPELINED_NORETURN only if CONFIG_IRQ_PIPELINE is defined.

---
 arch/x86/include/asm/idtentry.h | 1 +
 1 file changed, 1 insertion(+)
arch/x86/include/asm/idtentry.h +1 -0
index 9b936d3e76a2..307623b4e10e 100644
@@ -230,6 +230,7 @@ __visible __noreturn void __##func(struct pt_regs *regs)
 
 #define DEFINE_IDTENTRY_IRQ_PIPELINED(func)			DEFINE_IDTENTRY_IRQ(func)
 #define DEFINE_IDTENTRY_SYSVEC_PIPELINED(vector, func)		DEFINE_IDTENTRY_SYSVEC(func)
+#define DEFINE_IDTENTRY_SYSVEC_PIPELINED_NORETURN(vector, func)	DEFINE_IDTENTRY_SYSVEC(func)
 #define DEFINE_IDTENTRY_SYSVEC_SIMPLE_PIPELINED(vector, func)	DEFINE_IDTENTRY_SYSVEC_SIMPLE(func)
 
 /**
Signature · 1 line
2.44.0
#1 lore raw

[To: Adding Philippe, the dovetail maintainer]

To Fabian, Roman:
Is that a drive-by fix or do you really have the IRQ pipelining disabled. If disabled: We should discuss this internally!

To Philippe: Hope you can fetch the patch from the Xenomai list. Thanks!

Best regards,
Florian

Quoted 24 lines · Fabian Scheler

Fixup b917e98008314b3c7596099f48ea98f541451083 introducing DEFINE_IDTENTRY_SYSVEC_PIPELINED_NORETURN only if CONFIG_IRQ_PIPELINE is defined.

---
 arch/x86/include/asm/idtentry.h | 1 +
 1 file changed, 1 insertion(+)
arch/x86/include/asm/idtentry.h +1 -0
index 9b936d3e76a2..307623b4e10e 100644
@@ -230,6 +230,7 @@ __visible __noreturn void __##func(struct pt_regs *regs)
 
 #define DEFINE_IDTENTRY_IRQ_PIPELINED(func)			DEFINE_IDTENTRY_IRQ(func)
 #define DEFINE_IDTENTRY_SYSVEC_PIPELINED(vector, func)		DEFINE_IDTENTRY_SYSVEC(func)
+#define DEFINE_IDTENTRY_SYSVEC_PIPELINED_NORETURN(vector, func)	DEFINE_IDTENTRY_SYSVEC(func)
 #define DEFINE_IDTENTRY_SYSVEC_SIMPLE_PIPELINED(vector, func)	DEFINE_IDTENTRY_SYSVEC_SIMPLE(func)
 
 /**
Signature · 1 line
2.44.0
#2 lore raw
Quoted 29 lines · Florian Bezdeka

[To: Adding Philippe, the dovetail maintainer]

To Fabian, Roman:
Is that a drive-by fix or do you really have the IRQ pipelining disabled. If disabled: We should discuss this internally!

To Philippe: Hope you can fetch the patch from the Xenomai list. Thanks!

Best regards,
Florian

Quoted 16 lines · Fabian Scheler

Fixup b917e98008314b3c7596099f48ea98f541451083 introducing DEFINE_IDTENTRY_SYSVEC_PIPELINED_NORETURN only if CONFIG_IRQ_PIPELINE is defined.

---
 arch/x86/include/asm/idtentry.h | 1 +
 1 file changed, 1 insertion(+)
arch/x86/include/asm/idtentry.h +0 -0
index 9b936d3e76a2..307623b4e10e 100644
@@ -230,6 +230,7 @@ __visible __noreturn void __##func(struct pt_regs *regs)
 
Quoted 8 lines
Quoted 8 lines
arch/x86/include/asm/idtentry.h +1 -0
 #define DEFINE_IDTENTRY_IRQ_PIPELINED(func)			DEFINE_IDTENTRY_IRQ(func)
 #define DEFINE_IDTENTRY_SYSVEC_PIPELINED(vector, func)		DEFINE_IDTENTRY_SYSVEC(func)
+#define DEFINE_IDTENTRY_SYSVEC_PIPELINED_NORETURN(vector, func)	DEFINE_IDTENTRY_SYSVEC(func)
 #define DEFINE_IDTENTRY_SYSVEC_SIMPLE_PIPELINED(vector, func)	DEFINE_IDTENTRY_SYSVEC_SIMPLE(func)
 
 /**
Signature · 1 line
2.44.0

Merged, thanks.

Signature · 1 line
Philippe.
#3 lore raw
Quoted 1 line · Philippe Gerum

Merged, thanks.

Don't know if that is important for you Philippe, but the patch was missing a proper "From: " tag in the body.

Fabian is now the author, but the signed-off-by tag is from Roman (the initial author).

Fabian, when re-sending patches (maybe because the original author has no proper mail setup) make sure to add your signed-off-by and a "From:
" line as first line of the body.

git format-patch --from should do it.

Best regards,
Florian

Quoted 3 lines
Signature · 2 lines
-- 
Philippe.
#4 lore raw
Quoted 9 lines · Florian Bezdeka
Quoted 1 line · Philippe Gerum

Merged, thanks.

Don't know if that is important for you Philippe, but the patch was missing a proper "From: " tag in the body.

Fabian is now the author, but the signed-off-by tag is from Roman (the initial author).

Quoted 9 lines

Fabian, when re-sending patches (maybe because the original author has no proper mail setup) make sure to add your signed-off-by and a "From:
" line as first line of the body.

git format-patch --from should do it.

Best regards,
Florian

Let's say that the signed-off-by tag is what matters the most to me along with a source channel I can trust (in this case siemens.com), but having a fully consistent information would be better, indeed.

Signature · 1 line
Philippe.
#5 lore raw

As suggested by Florian I revised the patch so that the correct author is stated in the commit.

Ciao
Fabian

#6 lore raw

PATCH v2 1/1 x86: irq_pipeline: Add missing definition for !CONFIG_IRQ_PIPELINE

From: Roman Hodek <[email protected]>

Fixup b917e98008314b3c7596099f48ea98f541451083 introducing DEFINE_IDTENTRY_SYSVEC_PIPELINED_NORETURN only if CONFIG_IRQ_PIPELINE is defined.

---
 arch/x86/include/asm/idtentry.h | 1 +
 1 file changed, 1 insertion(+)
arch/x86/include/asm/idtentry.h +1 -0
index 9b936d3e76a2..307623b4e10e 100644
@@ -230,6 +230,7 @@ __visible __noreturn void __##func(struct pt_regs *regs)
 
 #define DEFINE_IDTENTRY_IRQ_PIPELINED(func)			DEFINE_IDTENTRY_IRQ(func)
 #define DEFINE_IDTENTRY_SYSVEC_PIPELINED(vector, func)		DEFINE_IDTENTRY_SYSVEC(func)
+#define DEFINE_IDTENTRY_SYSVEC_PIPELINED_NORETURN(vector, func)	DEFINE_IDTENTRY_SYSVEC(func)
 #define DEFINE_IDTENTRY_SYSVEC_SIMPLE_PIPELINED(vector, func)	DEFINE_IDTENTRY_SYSVEC_SIMPLE(func)
 
 /**
Signature · 1 line
2.44.0
#7 lore raw

Re:

In reply to Fabian Scheler

Am 24.04.2024 um 10:58 schrieb Fabian Scheler:

Quoted 5 lines

As suggested by Florian I revised the patch so that the correct author is stated in the commit.

Ciao
Fabian

OK, something went wrong here - this simply is additional information for the revised patch.

Ciao
Fabian

Signature · 13 lines
With best regards,
Dr. Fabian Scheler

Siemens AG
T CED EDC-DE
Hertha-Sponer-Weg 3
91058 Erlangen, Germany
Phone: +49 (1522) 1702973
Mobile: +49 (1522) 1702973
mailto:[email protected]
www.siemens.com

Siemens Aktiengesellschaft: Chairman of the Supervisory Board: Jim Hagemann Snabe; Managing Board: Roland Busch, Chairman, President and Chief Executive Officer; Cedrik Neike, Matthias Rebellius, Ralf P. Thomas, Judith Wiese; Registered offices: Berlin and Munich, Germany; Commercial registries: Berlin-Charlottenburg, HRB 12300, Munich, HRB 6684; WEEE-Reg.-No. DE 23691322
#8 lore raw
In reply to Florian Bezdeka

Hi Florian!

Quoted 2 lines

Is that a drive-by fix or do you really have the IRQ pipelining disabled. If disabled: We should discuss this internally!

I build the kernel in several config variants from the same source, and only one of them has CONFIG_IRQ_PIPELINE enabled.

Roman