Skip to contentSkip to conversation

panic: improvements

PATCH In review Felipe Contreras 3 participants 22 messages Nov 8, 2013 – Nov 13, 2013

lore
Share & tools
lore
#0 lore raw

cover panic: improvements

Hi,

While debugging a hang after panic in my laptop (I cannot hard-reboot, or unplug the battery), I noticed the panic code has some areas of improvment.

Only the first patch is really needed, the rest seem like good to have.

Felipe Contreras (3):
panic: setup panic_timeout early
panic: improve panic_timeout calculation
panic: enable local IRQs for restart timeout too

 kernel/panic.c | 23 ++++++++++++++++++-----
 1 file changed, 18 insertions(+), 5 deletions(-)
Signature · 1 line
1.8.4.2+fc1
#1 lore raw

PATCH 1/3 panic: setup panic_timeout early

Otherwise we might not reboot when the user needs it the most (early on).

---
 kernel/panic.c | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
kernel/panic.c +13 -1
index b6c482c..46e37ff 100644
@@ -468,9 +468,21 @@ EXPORT_SYMBOL(__stack_chk_fail);
 
 #endif
 
-core_param(panic, panic_timeout, int, 0644);
 core_param(pause_on_oops, pause_on_oops, int, 0644);
 
+static int __init set_panic_timeout(char *str)
+{
+	int timeout;
+
+	if (!get_option(&str, &timeout))
+		return -EINVAL;
+
+	panic_timeout = timeout;
+	return 0;
+}
+
+early_param("panic_timeout", set_panic_timeout);
+
 static int __init oops_setup(char *s)
 {
 	if (!s)
Signature · 1 line
1.8.4.2+fc1
#2 lore raw

Re: [PATCH 1/3] panic: setup panic_timeout early

Quoted 22 lines · Felipe Contreras

Otherwise we might not reboot when the user needs it the most (early on).

---
 kernel/panic.c | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
kernel/panic.c +3 -1
index b6c482c..46e37ff 100644
@@ -468,9 +468,21 @@ EXPORT_SYMBOL(__stack_chk_fail);
 
 #endif
 
-core_param(panic, panic_timeout, int, 0644);
 core_param(pause_on_oops, pause_on_oops, int, 0644);
 
+static int __init set_panic_timeout(char *str)
+{
+	int timeout;

kernel/panic.c EXPORT_SYMBOL(__stack_chk_fail); · line 485

Quoted 10 lines
kernel/panic.c +10 -0
+
+	if (!get_option(&str, &timeout))
+		return -EINVAL;
+
+	panic_timeout = timeout;
+	return 0;
+}
+
+early_param("panic_timeout", set_panic_timeout);
+

For simple integer parameters simple_strtol() is better and (a tiny bit) faster.

Thanks,

Ingo

#3 lore raw

Re: [PATCH 1/3] panic: setup panic_timeout early

Quoted 22 lines · Ingo Molnar
Quoted 19 lines · Felipe Contreras

Otherwise we might not reboot when the user needs it the most (early on).

---
 kernel/panic.c | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
kernel/panic.c +0 -1
index b6c482c..46e37ff 100644
@@ -468,9 +468,21 @@ EXPORT_SYMBOL(__stack_chk_fail);
 
 #endif
 
-core_param(panic, panic_timeout, int, 0644);
 core_param(pause_on_oops, pause_on_oops, int, 0644);
 
Quoted 16 lines

kernel/panic.c EXPORT_SYMBOL(__stack_chk_fail); · line 485

Quoted 13 lines
kernel/panic.c +13 -0
+static int __init set_panic_timeout(char *str)
+{
+     int timeout;
+
+     if (!get_option(&str, &timeout))
+             return -EINVAL;
+
+     panic_timeout = timeout;
+     return 0;
+}
+
+early_param("panic_timeout", set_panic_timeout);
+

For simple integer parameters simple_strtol() is better and (a tiny bit) faster.

simple_strtol() is deprecated in favor of kstrtol().

Signature · 1 line
Felipe Contreras
#4 lore raw

Re: [PATCH 1/3] panic: setup panic_timeout early

Quoted 40 lines · Felipe Contreras
Quoted 22 lines · Ingo Molnar
Quoted 19 lines · Felipe Contreras

Otherwise we might not reboot when the user needs it the most (early on).

---
 kernel/panic.c | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
kernel/panic.c +0 -1
index b6c482c..46e37ff 100644
@@ -468,9 +468,21 @@ EXPORT_SYMBOL(__stack_chk_fail);
 
 #endif
 
-core_param(panic, panic_timeout, int, 0644);
 core_param(pause_on_oops, pause_on_oops, int, 0644);
 
Quoted 16 lines

kernel/panic.c EXPORT_SYMBOL(__stack_chk_fail); · line 485

Quoted 13 lines
kernel/panic.c +13 -0
+static int __init set_panic_timeout(char *str)
+{
+     int timeout;
+
+     if (!get_option(&str, &timeout))
+             return -EINVAL;
+
+     panic_timeout = timeout;
+     return 0;
+}
+
+early_param("panic_timeout", set_panic_timeout);
+

For simple integer parameters simple_strtol() is better and (a tiny bit) faster.

Quoted 1 line

simple_strtol() is deprecated in favor of kstrtol().

Yes, true - my main point is that get_option() isn't the right choice here, you need to use a single-integer parsing function.

Thanks,

Ingo

#5 lore raw

Re: [PATCH 1/3] panic: setup panic_timeout early

Quoted 43 lines · Ingo Molnar
Quoted 40 lines · Felipe Contreras
Quoted 38 lines · Ingo Molnar
Quoted 22 lines · Felipe Contreras

Otherwise we might not reboot when the user needs it the most (early on).

---
 kernel/panic.c | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
kernel/panic.c +3 -1
index b6c482c..46e37ff 100644
@@ -468,9 +468,21 @@ EXPORT_SYMBOL(__stack_chk_fail);
 
 #endif
 
-core_param(panic, panic_timeout, int, 0644);
 core_param(pause_on_oops, pause_on_oops, int, 0644);
 
+static int __init set_panic_timeout(char *str)
+{
+     int timeout;

kernel/panic.c EXPORT_SYMBOL(__stack_chk_fail); · line 485

Quoted 10 lines
kernel/panic.c +10 -0
+
+     if (!get_option(&str, &timeout))
+             return -EINVAL;
+
+     panic_timeout = timeout;
+     return 0;
+}
+
+early_param("panic_timeout", set_panic_timeout);
+

For simple integer parameters simple_strtol() is better and (a tiny bit) faster.

Quoted 4 lines
Quoted 1 line

simple_strtol() is deprecated in favor of kstrtol().

Yes, true - my main point is that get_option() isn't the right choice here, you need to use a single-integer parsing function.

Then somebody made the wrong choice for 'loglevel'.

Signature · 1 line
Felipe Contreras
#6 lore raw

PATCH 2/3 panic: improve panic_timeout calculation

In reply to Felipe Contreras

We want to calculate the blinks per second, and instead of making it 5 (1000 / (3600 / 18)), let's make it 4, so the user can see two blinks per second.

---
 kernel/panic.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
kernel/panic.c +3 -3
index 46e37ff..5a0bdaa 100644
@@ -25,7 +25,7 @@
 #include <linux/nmi.h>
 
 #define PANIC_TIMER_STEP 100
-#define PANIC_BLINK_SPD 18
+#define PANIC_BLINK_SPD 4
 
 int panic_on_oops = CONFIG_PANIC_ON_OOPS_VALUE;
 static unsigned long tainted_mask;
@@ -147,7 +147,7 @@ void panic(const char *fmt, ...)
 			touch_nmi_watchdog();
 			if (i >= i_next) {
 				i += panic_blink(state ^= 1);
-				i_next = i + 3600 / PANIC_BLINK_SPD;
+				i_next = i + 1000 / PANIC_BLINK_SPD;
 			}
 			mdelay(PANIC_TIMER_STEP);
 		}
@@ -181,7 +181,7 @@ void panic(const char *fmt, ...)
 		touch_softlockup_watchdog();
 		if (i >= i_next) {
 			i += panic_blink(state ^= 1);
-			i_next = i + 3600 / PANIC_BLINK_SPD;
+			i_next = i + 1000 / PANIC_BLINK_SPD;
 		}
 		mdelay(PANIC_TIMER_STEP);
 	}
Signature · 1 line
1.8.4.2+fc1
#7 lore raw

Re: [PATCH 2/3] panic: improve panic_timeout calculation

Quoted 3 lines · Felipe Contreras

We want to calculate the blinks per second, and instead of making it 5 (1000 / (3600 / 18)), let's make it 4, so the user can see two blinks per second.

Please use the customary changelog style we use in the kernel:

" Current code does (A), this has a problem when (B).
We can improve this doing (C), because (D)."

Quoted 10 lines
---
 kernel/panic.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
kernel/panic.c +0 -0
index 46e37ff..5a0bdaa 100644

kernel/panic.c line 28

Quoted 5 lines
kernel/panic.c +1 -1
@@ -25,7 +25,7 @@
 #include <linux/nmi.h>
 
 #define PANIC_TIMER_STEP 100
-#define PANIC_BLINK_SPD 18
+#define PANIC_BLINK_SPD 4

Please while at it also do another patch that renames it to a sane name, PANIC_BLINK_SPEED or so.

kernel/panic.c void panic(const char *fmt, ...) · line 150

Quoted 9 lines
kernel/panic.c +1 -1
 int panic_on_oops = CONFIG_PANIC_ON_OOPS_VALUE;
 static unsigned long tainted_mask;
@@ -147,7 +147,7 @@ void panic(const char *fmt, ...)
 			touch_nmi_watchdog();
 			if (i >= i_next) {
 				i += panic_blink(state ^= 1);
-				i_next = i + 3600 / PANIC_BLINK_SPD;
+				i_next = i + 1000 / PANIC_BLINK_SPD;

This changes a magic value to another magic value.

kernel/panic.c void panic(const char *fmt, ...) · line 184

Quoted 9 lines
kernel/panic.c +1 -1
 			}
 			mdelay(PANIC_TIMER_STEP);
 		}
@@ -181,7 +181,7 @@ void panic(const char *fmt, ...)
 		touch_softlockup_watchdog();
 		if (i >= i_next) {
 			i += panic_blink(state ^= 1);
-			i_next = i + 3600 / PANIC_BLINK_SPD;
+			i_next = i + 1000 / PANIC_BLINK_SPD;

Ditto.

Thanks,

Ingo

#8 lore raw

Re: [PATCH 2/3] panic: improve panic_timeout calculation

Quoted 11 lines · Ingo Molnar
Quoted 3 lines · Felipe Contreras

We want to calculate the blinks per second, and instead of making it 5 (1000 / (3600 / 18)), let's make it 4, so the user can see two blinks per second.

Please use the customary changelog style we use in the kernel:

" Current code does (A), this has a problem when (B).
We can improve this doing (C), because (D)."

A is explained, B is empty, C is explained, D is because it makes sense.

Quoted 12 lines
Quoted 12 lines
---
 kernel/panic.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
kernel/panic.c +0 -0
index 46e37ff..5a0bdaa 100644
@@ -25,7 +25,7 @@
 #include <linux/nmi.h>
 
Quoted 6 lines

kernel/panic.c line 28

Quoted 3 lines
kernel/panic.c +1 -1
 #define PANIC_TIMER_STEP 100
-#define PANIC_BLINK_SPD 18
+#define PANIC_BLINK_SPD 4

Please while at it also do another patch that renames it to a sane name, PANIC_BLINK_SPEED or so.

If I can do that, I would rather use PANIC_BLINK_PER_SECOND.

Quoted 10 lines

kernel/panic.c void panic(const char *fmt, ...) · line 150

Quoted 8 lines
kernel/panic.c +1 -1
 int panic_on_oops = CONFIG_PANIC_ON_OOPS_VALUE;
 static unsigned long tainted_mask;
@@ -147,7 +147,7 @@ void panic(const char *fmt, ...)
                      touch_nmi_watchdog();
                      if (i >= i_next) {
                              i += panic_blink(state ^= 1);
-                             i_next = i + 3600 / PANIC_BLINK_SPD;
+                             i_next = i + 1000 / PANIC_BLINK_SPD;

This changes a magic value to another magic value.

A magic value that is used all over the kernel, including kernel/time.c and include/linux/delay.h. I'll change it to MSEC_PER_SEC if that makes you happy.

Signature · 1 line
Felipe Contreras
#9 lore raw

Re: [PATCH 2/3] panic: improve panic_timeout calculation

Quoted 8 lines · Felipe Contreras
Quoted 7 lines · Ingo Molnar
Quoted 3 lines · Felipe Contreras

We want to calculate the blinks per second, and instead of making it 5 (1000 / (3600 / 18)), let's make it 4, so the user can see two blinks per second.

Quoted 6 lines
Quoted 4 lines

Please use the customary changelog style we use in the kernel:

" Current code does (A), this has a problem when (B).
We can improve this doing (C), because (D)."

A is explained, B is empty, C is explained, D is because it makes sense.

Thanks,

Ingo

#10 lore raw

Re: [PATCH 2/3] panic: improve panic_timeout calculation

Quoted 11 lines · Ingo Molnar
Quoted 8 lines · Felipe Contreras
Quoted 7 lines · Ingo Molnar
Quoted 3 lines · Felipe Contreras

We want to calculate the blinks per second, and instead of making it 5 (1000 / (3600 / 18)), let's make it 4, so the user can see two blinks per second.

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

Please use the customary changelog style we use in the kernel:

" Current code does (A), this has a problem when (B).
We can improve this doing (C), because (D)."

A is explained, B is empty, C is explained, D is because it makes sense.

Suit yourself, stay with your buggy code then.

Patch #1 is the important one anyway.

Signature · 1 line
Felipe Contreras
#11 lore raw

Re: [PATCH 2/3] panic: improve panic_timeout calculation

Quoted 12 lines · Felipe Contreras
Quoted 11 lines · Ingo Molnar
Quoted 8 lines · Felipe Contreras
Quoted 7 lines · Ingo Molnar
Quoted 3 lines · Felipe Contreras

We want to calculate the blinks per second, and instead of making it 5 (1000 / (3600 / 18)), let's make it 4, so the user can see two blinks per second.

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 4 lines

Please use the customary changelog style we use in the kernel:

" Current code does (A), this has a problem when (B).
We can improve this doing (C), because (D)."

A is explained, B is empty, C is explained, D is because it makes sense.

So one problem with your changelog is that you describe the change but don't explain a couple of things - for example why you changed '3600' to '1000'.

I know why you did it because I've read the diff and the related code, but such kind of information is best put into changelogs.

This is standard review feedback.

Quoted 4 lines
Quoted 2 lines

Suit yourself, stay with your buggy code then.

I NAK-ed your patch because your patch has several technical problems. To lift the NAK you'll need to address my review feedback constructively.

Thanks,

Ingo

#12 lore raw

Re: [PATCH 2/3] panic: improve panic_timeout calculation

Quoted 17 lines · Ingo Molnar
Quoted 14 lines · Felipe Contreras
Quoted 13 lines · Ingo Molnar
Quoted 10 lines · Felipe Contreras
Quoted 9 lines · Ingo Molnar
Quoted 3 lines · Felipe Contreras

We want to calculate the blinks per second, and instead of making it 5 (1000 / (3600 / 18)), let's make it 4, so the user can see two blinks per second.

Please use the customary changelog style we use in the kernel:

Quoted 8 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

" Current code does (A), this has a problem when (B).
We can improve this doing (C), because (D)."

A is explained, B is empty, C is explained, D is because it makes sense.

So one problem with your changelog is that you describe the change but don't explain a couple of things - for example why you changed '3600' to '1000'.

Yes, I am aware of that, and it probably should, but that has nothing to do with (A)(B)(C) or (D).

Quoted 5 lines
Quoted 3 lines
Quoted 1 line

Suit yourself, stay with your buggy code then.

I NAK-ed your patch because your patch has several technical problems.

No, this is why you NAK-ed the patch:

Quoted 3 lines
Quoted 1 line

A is explained, B is empty, C is explained, D is because it makes sense.

That is not a technical problem, that's an allegedly administrative one. I said I would fix the technical issues.

Quoted 1 line

To lift the NAK you'll need to address my review feedback constructively.

That's exactly what I did. Addressing feedback constructively doesn't mean do exactly what you say without arguing.

I will resend the patches separately since you are focusing on the irrelevant patches and not paying attention to the one I made clear was the important one, muddying it. I will address the technical and administrative issues in the 2nd and 3rd patches in the way I think is best.

Signature · 1 line
Felipe Contreras
#13 lore raw

Re: [PATCH 2/3] panic: improve panic_timeout calculation

Quoted 21 lines · Felipe Contreras
Quoted 20 lines · Ingo Molnar
Quoted 17 lines · Felipe Contreras
Quoted 16 lines · Ingo Molnar
Quoted 13 lines · Felipe Contreras
Quoted 11 lines · Ingo Molnar
Quoted 3 lines · Felipe Contreras

We want to calculate the blinks per second, and instead of making it 5 (1000 / (3600 / 18)), let's make it 4, so the user can see two blinks per second.

Please use the customary changelog style we use in the kernel:

" Current code does (A), this has a problem when (B).
We can improve this doing (C), because (D)."

Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

A is explained, B is empty, C is explained, D is because it makes sense.

So one problem with your changelog is that you describe the change but don't explain a couple of things - for example why you changed '3600' to '1000'.

Yes, I am aware of that, and it probably should, but that has nothing to do with (A)(B)(C) or (D).

So you knew that your changelog was defective, but you elected to interpret reviewer feedback narrowly and chose to be intentionally obtuse and difficult to waste even more reviewer time?

That's rather destructive behavior, which you further demonstrate in the rest of your reply:

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

Suit yourself, stay with your buggy code then.

I NAK-ed your patch because your patch has several technical problems.

No, this is why you NAK-ed the patch:

I very much know why I NAK-ed your patch.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

A is explained, B is empty, C is explained, D is because it makes sense.

That is not a technical problem, that's an allegedly administrative one. I said I would fix the technical issues.

You are mistaken: kernel changelogs are part of the change, a problem with a changelog is generally considered a technical problem as well.

Quoted 5 lines
Quoted 2 lines

To lift the NAK you'll need to address my review feedback constructively.

That's exactly what I did. Addressing feedback constructively doesn't mean do exactly what you say without arguing.

Your reply to my routine feedback was obtuse, argumentative and needlessly confrontative - that's not 'constructive'.

Quoted 3 lines

I will resend the patches separately since you are focusing on the irrelevant patches and not paying attention to the one I made clear was the important one, muddying it. [...]

That first patch is faulty as well.

Thanks,

Ingo

#14 lore raw

Re: [PATCH 2/3] panic: improve panic_timeout calculation

Quoted 5 lines · Ingo Molnar
Quoted 2 lines

That's exactly what I did. Addressing feedback constructively doesn't mean do exactly what you say without arguing.

Your reply to my routine feedback was obtuse, argumentative and needlessly confrontative - that's not 'constructive'.

Felipe, remember when on the Git list Junio said he would stop trying to respond to any patches that had problems because you couldn't respond constructively to feedback, and you claimed that you had no problems working with other folks, including on the Linux Kernel mailing list?

You might want to take this feedback and consider whether the problem may be with *you*, and your user interface, and not with other folks like Ingo and Junio. You clearly want to contribute to both projects, and we can always use more skilled hackers. But part of being a good hacker is being able to play well with others.

Best regards,

- Ted

#15 lore raw

Re: [PATCH 2/3] panic: improve panic_timeout calculation

Quoted 4 lines · Theodore Ts'o
Quoted 3 lines · Ingo Molnar
Quoted 2 lines

That's exactly what I did. Addressing feedback constructively doesn't mean do exactly what you say without arguing.

Quoted 8 lines
Quoted 2 lines

Your reply to my routine feedback was obtuse, argumentative and needlessly confrontative - that's not 'constructive'.

Felipe, remember when on the Git list Junio said he would stop trying to respond to any patches that had problems because you couldn't respond constructively to feedback, and you claimed that you had no problems working with other folks, including on the Linux Kernel mailing list?

Ingo Molnar != kernel folks, and I don't see any hints of kernel folks suggesting to drop patch #1 because of non-technical issues.

If the patch is technically correct, conforms to standard practices, and solves a problem; it gets applied. Isn't that how it works in Linux?

Signature · 1 line
Felipe Contreras
#16 lore raw

Re: [PATCH 2/3] panic: improve panic_timeout calculation

Quoted 14 lines · Felipe Contreras
Quoted 4 lines · Theodore Ts'o
Quoted 3 lines · Ingo Molnar
Quoted 2 lines

That's exactly what I did. Addressing feedback constructively doesn't mean do exactly what you say without arguing.

Quoted 8 lines
Quoted 2 lines

Your reply to my routine feedback was obtuse, argumentative and needlessly confrontative - that's not 'constructive'.

Felipe, remember when on the Git list Junio said he would stop trying to respond to any patches that had problems because you couldn't respond constructively to feedback, and you claimed that you had no problems working with other folks, including on the Linux Kernel mailing list?

Quoted 5 lines

Ingo Molnar != kernel folks, and I don't see any hints of kernel folks suggesting to drop patch #1 because of non-technical issues.

If the patch is technically correct, conforms to standard practices, and solves a problem; it gets applied. Isn't that how it works in Linux?

I simply described to you what is standing Linux kernel maintenance policy.

It is not new nor unusual that kernel patch changelog quality matters:
defective changelogs are routinely pointed out during review and are required to be fixed before a patch can progress. Linux kernel maintainers frequently push back against deficient changelogs - in fact they are expected to push back against them.

Your claim that a changelog defect that got pointed out during review is a 'non-technical', 'administrative' problem in Linux kernel development is simply wrong and your continued stubborn refusal to address such review feedback constructively is unnecessarily complicating the efficient processing of these patches.

Thanks,

Ingo

#17 lore raw

PATCH 3/3 panic: enable local IRQs for restart timeout too

In reply to Felipe Contreras
---
 kernel/panic.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
kernel/panic.c +2 -1
index 5a0bdaa..e32919f 100644
@@ -133,6 +133,8 @@ void panic(const char *fmt, ...)
 
 	bust_spinlocks(0);
 
+	local_irq_enable();
+
 	if (!panic_blink)
 		panic_blink = no_blink;
 
@@ -176,7 +178,6 @@ void panic(const char *fmt, ...)
 		disabled_wait(caller);
 	}
 #endif
-	local_irq_enable();
 	for (i = 0; ; i += PANIC_TIMER_STEP) {
 		touch_softlockup_watchdog();
 		if (i >= i_next) {
Signature · 1 line
1.8.4.2+fc1
#19 lore raw

Re: [PATCH 3/3] panic: enable local IRQs for restart timeout too

Quoted 6 lines · Ingo Molnar
Quoted 1 line · Felipe Contreras

The changelog is missing and the title is not self-explanatory.

Either the local IRQs should be enabled for both the restart and halt blinks, or it shouldn't be enabled for either. Why enable them for halt, but not restart?

I think enabling them for restart too makes sense.

Signature · 1 line
Felipe Contreras
#20 lore raw

Re: [PATCH 3/3] panic: enable local IRQs for restart timeout too

Quoted 6 lines · Felipe Contreras
Quoted 5 lines · Ingo Molnar
Quoted 1 line · Felipe Contreras
Quoted 7 lines
Quoted 1 line

The changelog is missing and the title is not self-explanatory.

Either the local IRQs should be enabled for both the restart and halt blinks, or it shouldn't be enabled for either. Why enable them for halt, but not restart?

I think enabling them for restart too makes sense.

Such arguments belong into the changelog, with a description of what was done before and what is done after - please use the customary (verbose) changelog style we use in the kernel.

Thanks,

Ingo

#21 lore raw

Re: [PATCH 3/3] panic: enable local IRQs for restart timeout too

Quoted 15 lines · Ingo Molnar
Quoted 12 lines · Felipe Contreras
Quoted 6 lines · Ingo Molnar
Quoted 1 line · Felipe Contreras

The changelog is missing and the title is not self-explanatory.

Either the local IRQs should be enabled for both the restart and halt blinks, or it shouldn't be enabled for either. Why enable them for halt, but not restart?

Quoted 5 lines
Quoted 1 line

I think enabling them for restart too makes sense.

Such arguments belong into the changelog, with a description of what was done before and what is done after - please use the customary (verbose) changelog style we use in the kernel.

I'm not going to re-roll with such description only so you can NAK it again. If you agree that such an explanation is OK, say so.

Signature · 1 line
Felipe Contreras