All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: "Limonciello, Mario" <Mario.Limonciello@amd.com>
Cc: "stable@vger.kernel.org" <stable@vger.kernel.org>
Subject: Re: AMD SFH sensor discovery
Date: Thu, 26 May 2022 13:46:47 +0200	[thread overview]
Message-ID: <Yo9op+9hgd+JfqDG@kroah.com> (raw)
In-Reply-To: <MN0PR12MB6101243B86EAF100FE859714E2D69@MN0PR12MB6101.namprd12.prod.outlook.com>

On Wed, May 25, 2022 at 07:23:59PM +0000, Limonciello, Mario wrote:
> [Public]
> 
> Hi,
> 
> The firmware on some OEM laptops with AMD SOCs advertise that they have sensors connected to AMD SFH but they really don't
> physically have them. In 5.19 a commit has gone in that discovers this case and prevents the driver from advertising this sensor
> to userspace.  This might not seem like a big deal to have sensors advertised that aren't really there, but AMD has observed
> that specifically on orientation sensors the random garbage data associated can cause userspace to interpret a screen rotation
> during resume from suspend.  
> 
> As GNOME has a daemon running that interprets these events I've seen first hand that it can cause the display go upside down
> without a lot of recourse other than command line tools or rebooting.
> 
> Can you please backport this commit to 5.15.y+ and later to fix this:
> commit b5d7f43e97dabfa04a4be5ff027ce7da119332be ("HID: amd_sfh: Add support for sensor discovery")

How queued up, thanks.

greg k-h

      reply	other threads:[~2022-05-26 11:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-25 19:23 AMD SFH sensor discovery Limonciello, Mario
2022-05-26 11:46 ` Greg KH [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=Yo9op+9hgd+JfqDG@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=Mario.Limonciello@amd.com \
    --cc=stable@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.