linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: Kai-Heng Feng <kai.heng.feng@canonical.com>, markgross@kernel.org
Cc: Jorge Lopez <jorge.lopez2@hp.com>,
	platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] platform/x86: hp-wmi: Ignore Sanitization Mode event
Date: Tue, 28 Jun 2022 23:24:58 +0200	[thread overview]
Message-ID: <b11094eb-fd3c-06d9-adca-7d56f40e7f4f@redhat.com> (raw)
In-Reply-To: <20220628123726.250062-1-kai.heng.feng@canonical.com>

Hi,

On 6/28/22 14:37, Kai-Heng Feng wrote:
> After system resume the hp-wmi driver may complain:
> [ 702.620180] hp_wmi: Unknown event_id - 23 - 0x0
> 
> According to HP it means 'Sanitization Mode' and it's harmless to just
> ignore the event.
> 
> Cc: Jorge Lopez <jorge.lopez2@hp.com>
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>

Thank you for your patch, I've applied this patch to my review-hans 
branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans

Note it will show up in my review-hans branch once I've pushed my
local branch there, which might take a while.

Once I've run some tests on this branch the patches there will be
added to the platform-drivers-x86/for-next branch and eventually
will be included in the pdx86 pull-request to Linus for the next
merge-window.

Regards,

Hans


> ---
>  drivers/platform/x86/hp-wmi.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/platform/x86/hp-wmi.c b/drivers/platform/x86/hp-wmi.c
> index 0d8cb22e30df9..bc7020e9df9e8 100644
> --- a/drivers/platform/x86/hp-wmi.c
> +++ b/drivers/platform/x86/hp-wmi.c
> @@ -89,6 +89,7 @@ enum hp_wmi_event_ids {
>  	HPWMI_BACKLIT_KB_BRIGHTNESS	= 0x0D,
>  	HPWMI_PEAKSHIFT_PERIOD		= 0x0F,
>  	HPWMI_BATTERY_CHARGE_PERIOD	= 0x10,
> +	HPWMI_SANITIZATION_MODE		= 0x17,
>  };
>  
>  /*
> @@ -853,6 +854,8 @@ static void hp_wmi_notify(u32 value, void *context)
>  		break;
>  	case HPWMI_BATTERY_CHARGE_PERIOD:
>  		break;
> +	case HPWMI_SANITIZATION_MODE:
> +		break;
>  	default:
>  		pr_info("Unknown event_id - %d - 0x%x\n", event_id, event_data);
>  		break;


      reply	other threads:[~2022-06-28 21:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-28 12:37 [PATCH] platform/x86: hp-wmi: Ignore Sanitization Mode event Kai-Heng Feng
2022-06-28 21:24 ` Hans de Goede [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b11094eb-fd3c-06d9-adca-7d56f40e7f4f@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=jorge.lopez2@hp.com \
    --cc=kai.heng.feng@canonical.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=markgross@kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).