Skip to contentSkip to conversation

platform/x86: acer-wmi: Silence "unsupported" message a bit

PATCH In review Benjamin Herrenschmidt 2 participants 6 messages Aug 15, 2018 – Aug 17, 2018

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

PATCH 1/1 platform/x86: acer-wmi: Silence "unsupported" message a bit

This driver prints that "Unsupported machine..." message on every boot on ThinkPad X1 Carbon laptops (and I assume a number of other systems), which causes graphical boots to "glitch" a bit and is rather annoying ...

Make it a pr_debug instead.

---

drivers/platform/x86/acer-wmi.c +1 -1
index 8952173dd380..7f7192e8fdab 100644
@@ -2216,7 +2216,7 @@ static int __init acer_wmi_init(void)
        if (wmi_has_guid(AMW0_GUID1) &&
            !dmi_check_system(amw0_whitelist) &&
            quirks == &quirk_unknown) {
-               pr_err("Unsupported machine has AMW0_GUID1, unable to load\n");
+               pr_debug("Unsupported machine has AMW0_GUID1, unable to load\n");
                return -ENODEV;
        }
  
#1 lore raw
Quoted 5 lines · Benjamin Herrenschmidt

This driver prints that "Unsupported machine..." message on every boot on ThinkPad X1 Carbon laptops (and I assume a number of other systems), which causes graphical boots to "glitch" a bit and is rather annoying ...

Make it a pr_debug instead.

Thanks for the patch. Unfortunately it doesn't apply. Please, check your mail clients and tools for formatting patch (it produced at the end spaces instead of tabs)

Quoted 18 lines

---

drivers/platform/x86/acer-wmi.c +1 -1
index 8952173dd380..7f7192e8fdab 100644
@@ -2216,7 +2216,7 @@ static int __init acer_wmi_init(void)
        if (wmi_has_guid(AMW0_GUID1) &&
            !dmi_check_system(amw0_whitelist) &&
            quirks == &quirk_unknown) {
-               pr_err("Unsupported machine has AMW0_GUID1, unable to load\n");
+               pr_debug("Unsupported machine has AMW0_GUID1, unable to load\n");
                return -ENODEV;
        }
 
Signature · 2 lines
With Best Regards,
Andy Shevchenko
#2 lore raw
Quoted 11 lines · Andy Shevchenko
Quoted 5 lines · Benjamin Herrenschmidt

This driver prints that "Unsupported machine..." message on every boot on ThinkPad X1 Carbon laptops (and I assume a number of other systems), which causes graphical boots to "glitch" a bit and is rather annoying ...

Make it a pr_debug instead.

Thanks for the patch. Unfortunately it doesn't apply. Please, check your mail clients and tools for formatting patch (it produced at the end spaces instead of tabs)

No need to resend _this_ time. I have pushed to my review and testing queue.

Quoted 24 lines
Quoted 10 lines

---

drivers/platform/x86/acer-wmi.c +0 -0
index 8952173dd380..7f7192e8fdab 100644

drivers/platform/x86/acer-wmi.c static int __init acer_wmi_init(void) · line 2222

Quoted 8 lines
drivers/platform/x86/acer-wmi.c +1 -1
@@ -2216,7 +2216,7 @@ static int __init acer_wmi_init(void)
        if (wmi_has_guid(AMW0_GUID1) &&
            !dmi_check_system(amw0_whitelist) &&
            quirks == &quirk_unknown) {
-               pr_err("Unsupported machine has AMW0_GUID1, unable to load\n");
+               pr_debug("Unsupported machine has AMW0_GUID1, unable to load\n");
                return -ENODEV;
        }
 

--
With Best Regards,
Andy Shevchenko

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#3 lore raw
Quoted 8 lines · Andy Shevchenko
Quoted 6 lines · Andy Shevchenko
Quoted 4 lines · Benjamin Herrenschmidt

This driver prints that "Unsupported machine..." message on every boot on ThinkPad X1 Carbon laptops (and I assume a number of other systems), which causes graphical boots to "glitch" a bit and is rather annoying ...

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

Make it a pr_debug instead.

Thanks for the patch. Unfortunately it doesn't apply. Please, check your mail clients and tools for formatting patch (it produced at the end spaces instead of tabs)

No need to resend _this_ time. I have pushed to my review and testing queue.

Thanks, odd. Not sure what's going on with the latest evolution, it's the second time it's done this. I'll try to investigate. Small patch like that I tend to just copy/paste in an email in "preformat" style ;-)

Cheers,
Ben.

Quoted 28 lines
Quoted 25 lines
Quoted 11 lines

---

drivers/platform/x86/acer-wmi.c +0 -0
index 8952173dd380..7f7192e8fdab 100644

drivers/platform/x86/acer-wmi.c static int __init acer_wmi_init(void) · line 2222

Quoted 8 lines
drivers/platform/x86/acer-wmi.c +1 -1
@@ -2216,7 +2216,7 @@ static int __init acer_wmi_init(void)
        if (wmi_has_guid(AMW0_GUID1) &&
            !dmi_check_system(amw0_whitelist) &&
            quirks == &quirk_unknown) {
-               pr_err("Unsupported machine has AMW0_GUID1, unable to load\n");
+               pr_debug("Unsupported machine has AMW0_GUID1, unable to load\n");
                return -ENODEV;
        }
 

--
With Best Regards,
Andy Shevchenko

#4 lore raw
Quoted 15 lines · Benjamin Herrenschmidt
Quoted 14 lines · Andy Shevchenko
Quoted 11 lines · Andy Shevchenko
Quoted 5 lines · Benjamin Herrenschmidt

This driver prints that "Unsupported machine..." message on every boot on ThinkPad X1 Carbon laptops (and I assume a number of other systems), which causes graphical boots to "glitch" a bit and is rather annoying ...

Make it a pr_debug instead.

Thanks for the patch. Unfortunately it doesn't apply. Please, check your mail clients and tools for formatting patch (it produced at the end spaces instead of tabs)

Quoted 6 lines
Quoted 1 line

No need to resend _this_ time. I have pushed to my review and testing queue.

Thanks, odd. Not sure what's going on with the latest evolution, it's the second time it's done this. I'll try to investigate. Small patch like that I tend to just copy/paste in an email in "preformat" style ;-)

Evolution is totally broken for years already (yes, I'm still using it due to Outlook Web Services support, but it's utter PITA). I could just easily come up with couple of dozens of bugs that are present there for more than 3 years.

Quoted 32 lines

Cheers,
Ben.

Quoted 28 lines
Quoted 25 lines
Quoted 11 lines

---

drivers/platform/x86/acer-wmi.c +0 -0
index 8952173dd380..7f7192e8fdab 100644

drivers/platform/x86/acer-wmi.c static int __init acer_wmi_init(void) · line 2222

Quoted 8 lines
drivers/platform/x86/acer-wmi.c +1 -1
@@ -2216,7 +2216,7 @@ static int __init acer_wmi_init(void)
        if (wmi_has_guid(AMW0_GUID1) &&
            !dmi_check_system(amw0_whitelist) &&
            quirks == &quirk_unknown) {
-               pr_err("Unsupported machine has AMW0_GUID1, unable to load\n");
+               pr_debug("Unsupported machine has AMW0_GUID1, unable to load\n");
                return -ENODEV;
        }
 

--
With Best Regards,
Andy Shevchenko

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#5 lore raw
Quoted 24 lines · Andy Shevchenko
Quoted 15 lines · Benjamin Herrenschmidt
Quoted 14 lines · Andy Shevchenko
Quoted 11 lines · Andy Shevchenko
Quoted 5 lines · Benjamin Herrenschmidt

This driver prints that "Unsupported machine..." message on every boot on ThinkPad X1 Carbon laptops (and I assume a number of other systems), which causes graphical boots to "glitch" a bit and is rather annoying ...

Make it a pr_debug instead.

Thanks for the patch. Unfortunately it doesn't apply. Please, check your mail clients and tools for formatting patch (it produced at the end spaces instead of tabs)

Quoted 6 lines
Quoted 1 line

No need to resend _this_ time. I have pushed to my review and testing queue.

Thanks, odd. Not sure what's going on with the latest evolution, it's the second time it's done this. I'll try to investigate. Small patch like that I tend to just copy/paste in an email in "preformat" style ;-)

Quoted 4 lines

Evolution is totally broken for years already (yes, I'm still using it due to Outlook Web Services support, but it's utter PITA). I could just easily come up with couple of dozens of bugs that are present there for more than 3 years.

I had reasonably good luck getting bugs fixed by reporting them via Fedora actually. But yeah, something with the composer tends to break regularly.

Cheers,
Ben.

Quoted 34 lines
Quoted 31 lines

Cheers,
Ben.

Quoted 28 lines
Quoted 25 lines
Quoted 11 lines

---

drivers/platform/x86/acer-wmi.c +0 -0
index 8952173dd380..7f7192e8fdab 100644

drivers/platform/x86/acer-wmi.c static int __init acer_wmi_init(void) · line 2222

Quoted 8 lines
drivers/platform/x86/acer-wmi.c +1 -1
@@ -2216,7 +2216,7 @@ static int __init acer_wmi_init(void)
        if (wmi_has_guid(AMW0_GUID1) &&
            !dmi_check_system(amw0_whitelist) &&
            quirks == &quirk_unknown) {
-               pr_err("Unsupported machine has AMW0_GUID1, unable to load\n");
+               pr_debug("Unsupported machine has AMW0_GUID1, unable to load\n");
                return -ENODEV;
        }
 

--
With Best Regards,
Andy Shevchenko