From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
To: Andy Shevchenko <andy.shevchenko@gmail.com>,
Mario Limonciello <Mario.Limonciello@dell.com>
Cc: Darren Hart <dvhart@infradead.org>,
Alex Hung <alex.hung@canonical.com>,
Andy Shevchenko <andy@infradead.org>,
Platform Driver <platform-driver-x86@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
"Rafael J. Wysocki" <rjw@rjwysocki.net>
Subject: Re: [PATCH v2] platform/x86: intel-hid: Add support for Device Specific Methods
Date: Sat, 07 Jul 2018 16:37:52 -0700 [thread overview]
Message-ID: <82968804b607bf33550ba6fbaebc658db3953804.camel@linux.intel.com> (raw)
In-Reply-To: <CAHp75VeW9y2z2N7bzwY-kztLvgJYmHECHRF1q5Mr8ude8LOMUQ@mail.gmail.com>
On Sat, 2018-07-07 at 19:24 +0300, Andy Shevchenko wrote:
> On Sat, Jul 7, 2018 at 6:48 AM, <Mario.Limonciello@dell.com> wrote:
> > > I strongly advocate for vendors to have more control over their
> > > drivers,
> > > but this scenario really frustrates me. I don't think I can
> > > justify this
> > > to Linus as a fix. But before we just say "no" (because hey, I
> > > want
> > > these fixes available as early as possible too), let's ask Rafael
> > > if he
> > > has an opinion or if there is precedent for this in his
> > > experience with
> > > ACPI drivers in general:
> >
> > Full disclosure - an updated FW has since been rolled out that
> > reverted this
> > behavior back to previous FW behavior due to lack of Linux support
> > for the
> > new _DSM. There is desire to use the new interface (as it did fix
> > actual
> > problems with the old one) so at some point it may return. When
> > that happens
> > it would be ideal that people who are (for example) running an LTS
> > kernel
> > or distro kernel that tracks stable can pick it up too.
>
> I am all for the better user experience and bugs especially in FW
> should be fixed, but I think to support all kind of behaviour the new
> FW release should always provide a knob by which we can check if some
> feature is supported or not.
>
> Above sounds to me as mistake in design of the fix.
The fix here takes care of all the combination. If the new _DSM is
available, it checks what functionality the _DSM interface can provide
(Fn 0). For those functionality it gets using _DSM matching new FW
interface. If there is no _DSM or _DSM doesn't provide the
functionality or _DSM provided method fails, it still revert to old FW
interface style using standalone method. Eventually because of
configurable 5-button array, all platforms will be using new FW
interface with consideration of backward compatibility.
Thanks,
Srinivas
next prev parent reply other threads:[~2018-07-07 23:37 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-28 18:19 Srinivas Pandruvada
2018-06-29 16:44 ` Mario.Limonciello
2018-06-29 18:41 ` Srinivas Pandruvada
2018-07-02 12:41 ` Andy Shevchenko
2018-07-02 13:51 ` Mario.Limonciello
2018-07-02 14:06 ` Andy Shevchenko
2018-07-06 23:59 ` Darren Hart
2018-07-07 3:48 ` Mario.Limonciello
2018-07-07 16:24 ` Andy Shevchenko
2018-07-07 23:37 ` Srinivas Pandruvada [this message]
2018-07-08 17:53 ` Andy Shevchenko
2018-07-07 13:43 ` Srinivas Pandruvada
2018-07-09 4:38 ` Mario.Limonciello
2018-07-09 21:06 ` Darren Hart
2018-07-09 21:08 ` Mario.Limonciello
2018-07-09 23:17 ` Darren Hart
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=82968804b607bf33550ba6fbaebc658db3953804.camel@linux.intel.com \
--to=srinivas.pandruvada@linux.intel.com \
--cc=Mario.Limonciello@dell.com \
--cc=alex.hung@canonical.com \
--cc=andy.shevchenko@gmail.com \
--cc=andy@infradead.org \
--cc=dvhart@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=platform-driver-x86@vger.kernel.org \
--cc=rjw@rjwysocki.net \
/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
Powered by JetHome