Skip to contentSkip to conversation

acpi/apei/erst: Remove "Error" from initialization and disable output

PATCH RESEND In review Prarit Bhargava 4 participants 5 messages May 24, 2017 – Jul 18, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 acpi/apei/erst: Remove "Error" from initialization and disable output

Sent a few weeks back ... no reply.

P.

---8<---

The word "Error" is used by many QA groups and users as a keyword to indicate that there is a critical failure during system bootup. The ESRT code would interact better with these scripts if the word "Error" was dropped from non-error messages. Other ACPI features only use the acronym for initialization and disable messages so the ESRT code should do the same.

Remove "Error Record Serialization Table" and replace it with "ACPI ESRT" in the messages.

Cc Kees Cook <[email protected]>
Cc Anton Vorontsov <[email protected]>
Cc Colin Cross <[email protected]>
Cc Tony Luck <[email protected]>
Cc "Rafael J. Wysocki" <[email protected]>
Cc Len Brown <[email protected]>
---
 drivers/acpi/apei/erst.c |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/acpi/apei/erst.c +2 -4
index ec4f507b524f..a796b9d91e20 100644
@@ -1129,8 +1129,7 @@ static int __init erst_init(void)
 		goto err;
 
 	if (erst_disable) {
-		pr_info(
-	"Error Record Serialization Table (ERST) support is disabled.\n");
+		pr_info("ACPI ERST support is disabled.\n");
 		goto err;
 	}
 
@@ -1187,8 +1186,7 @@ static int __init erst_init(void)
 	if (!erst_erange.vaddr)
 		goto err_release_erange;
 
-	pr_info(
-	"Error Record Serialization Table (ERST) support is initialized.\n");
+	pr_info("ACPI ERST support is initialized.\n");
 
 	buf = kmalloc(erst_erange.size, GFP_KERNEL);
 	spin_lock_init(&erst_info.buf_lock);
Signature · 1 line
1.7.9.3
#1 lore raw
Quoted 1 line · Prarit Bhargava

Sent a few weeks back ... no reply.

I've added Huang Ying to CC, as the original author of this code. It looks fine to me, FWIW.

-Kees

Quoted 15 lines

P.

---8<---

The word "Error" is used by many QA groups and users as a keyword to indicate that there is a critical failure during system bootup. The ESRT code would interact better with these scripts if the word "Error" was dropped from non-error messages. Other ACPI features only use the acronym for initialization and disable messages so the ESRT code should do the same.

Remove "Error Record Serialization Table" and replace it with "ACPI ESRT" in the messages.

Quoted 7 lines
Cc Kees Cook <[email protected]>
Cc Anton Vorontsov <[email protected]>
Cc Colin Cross <[email protected]>
Cc Tony Luck <[email protected]>
Cc "Rafael J. Wysocki" <[email protected]>
Cc Len Brown <[email protected]>

This is fine by me.

Quoted 31 lines
---
 drivers/acpi/apei/erst.c |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/acpi/apei/erst.c +2 -5
index ec4f507b524f..a796b9d91e20 100644
@@ -1129,8 +1129,7 @@ static int __init erst_init(void)
                goto err;
 
        if (erst_disable) {
-               pr_info(
-       "Error Record Serialization Table (ERST) support is disabled.\n");
+               pr_info("ACPI ERST support is disabled.\n");
                goto err;
        }
 
@@ -1187,8 +1186,7 @@ static int __init erst_init(void)
        if (!erst_erange.vaddr)
                goto err_release_erange;
 
-       pr_info(
-       "Error Record Serialization Table (ERST) support is initialized.\n");
+       pr_info("ACPI ERST support is initialized.\n");
 
        buf = kmalloc(erst_erange.size, GFP_KERNEL);
        spin_lock_init(&erst_info.buf_lock);
--

1.7.9.3

Signature · 2 lines
Kees Cook
Pixel Security
#2 lore raw
Quoted 7 lines · Kees Cook
Quoted 1 line · Prarit Bhargava

Sent a few weeks back ... no reply.

I've added Huang Ying to CC, as the original author of this code. It looks fine to me, FWIW.

-Kees

ping -- Huang? Rafael?

P.

Quoted 60 lines
Quoted 16 lines

P.

---8<---

The word "Error" is used by many QA groups and users as a keyword to indicate that there is a critical failure during system bootup. The ESRT code would interact better with these scripts if the word "Error" was dropped from non-error messages. Other ACPI features only use the acronym for initialization and disable messages so the ESRT code should do the same.

Remove "Error Record Serialization Table" and replace it with "ACPI ESRT" in the messages.

Quoted 7 lines
Cc Kees Cook <[email protected]>
Cc Anton Vorontsov <[email protected]>
Cc Colin Cross <[email protected]>
Cc Tony Luck <[email protected]>
Cc "Rafael J. Wysocki" <[email protected]>
Cc Len Brown <[email protected]>

This is fine by me.

Quoted 31 lines
---
 drivers/acpi/apei/erst.c |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/acpi/apei/erst.c +2 -5
index ec4f507b524f..a796b9d91e20 100644
@@ -1129,8 +1129,7 @@ static int __init erst_init(void)
                goto err;
 
        if (erst_disable) {
-               pr_info(
-       "Error Record Serialization Table (ERST) support is disabled.\n");
+               pr_info("ACPI ERST support is disabled.\n");
                goto err;
        }
 
@@ -1187,8 +1186,7 @@ static int __init erst_init(void)
        if (!erst_erange.vaddr)
                goto err_release_erange;
 
-       pr_info(
-       "Error Record Serialization Table (ERST) support is initialized.\n");
+       pr_info("ACPI ERST support is initialized.\n");
 
        buf = kmalloc(erst_erange.size, GFP_KERNEL);
        spin_lock_init(&erst_info.buf_lock);
--

1.7.9.3

#3 lore raw
Quoted 11 lines · Prarit Bhargava
Quoted 7 lines · Kees Cook
Quoted 1 line · Prarit Bhargava

Sent a few weeks back ... no reply.

I've added Huang Ying to CC, as the original author of this code. It looks fine to me, FWIW.

-Kees

ping -- Huang? Rafael?

Please resend this with a CC to Boris Petkov.

Thanks,
Rafael

#4 lore raw
In reply to Prarit Bhargava
Quoted 10 lines · Prarit Bhargava
Quoted 7 lines · Kees Cook
Quoted 1 line · Prarit Bhargava

Sent a few weeks back ... no reply.

I've added Huang Ying to CC, as the original author of this code. It looks fine to me, FWIW.

-Kees

ping -- Huang? Rafael?

The change is find for me.

Best Regards,
Huang, Ying

Quoted 62 lines

P.

Quoted 60 lines
Quoted 16 lines

P.

---8<---

The word "Error" is used by many QA groups and users as a keyword to indicate that there is a critical failure during system bootup. The ESRT code would interact better with these scripts if the word "Error" was dropped from non-error messages. Other ACPI features only use the acronym for initialization and disable messages so the ESRT code should do the same.

Remove "Error Record Serialization Table" and replace it with "ACPI ESRT" in the messages.

Quoted 7 lines
Cc Kees Cook <[email protected]>
Cc Anton Vorontsov <[email protected]>
Cc Colin Cross <[email protected]>
Cc Tony Luck <[email protected]>
Cc "Rafael J. Wysocki" <[email protected]>
Cc Len Brown <[email protected]>

This is fine by me.

Quoted 31 lines
---
 drivers/acpi/apei/erst.c |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/acpi/apei/erst.c +2 -5
index ec4f507b524f..a796b9d91e20 100644
@@ -1129,8 +1129,7 @@ static int __init erst_init(void)
                goto err;
 
        if (erst_disable) {
-               pr_info(
-       "Error Record Serialization Table (ERST) support is disabled.\n");
+               pr_info("ACPI ERST support is disabled.\n");
                goto err;
        }
 
@@ -1187,8 +1186,7 @@ static int __init erst_init(void)
        if (!erst_erange.vaddr)
                goto err_release_erange;
 
-       pr_info(
-       "Error Record Serialization Table (ERST) support is initialized.\n");
+       pr_info("ACPI ERST support is initialized.\n");
 
        buf = kmalloc(erst_erange.size, GFP_KERNEL);
        spin_lock_init(&erst_info.buf_lock);
--

1.7.9.3