From: "Bjørn Mork" <bjorn@mork.no>
To: joeyli <jlee@suse.com>
Cc: platform-driver-x86@vger.kernel.org
Subject: Re: acer-wmi auto-loaded on a Lenovo Thinkpad X1 Carbon 4th gen
Date: Sun, 21 Aug 2016 13:58:49 +0200 [thread overview]
Message-ID: <8737lyxrie.fsf@miraculix.mork.no> (raw)
In-Reply-To: <20160821011518.GA3740@linux-rxt1.site> (joeyli's message of "Sun, 21 Aug 2016 09:15:18 +0800")
joeyli <jlee@suse.com> writes:
> Hi Bjørn,
>
> Sorry for my delay because I stuck on other issues.
No, problem. The problem is an old one, so there is no hurry :)
And it's always best to take the time necessary to work out a good long
term solution.
> I have a question about removed 67C3371D-95A3-4C37-BB61-DD47B491DAAB. It
> already in acer-wmi a long time since Carlos contributed this driver in
> 2008.
>
> Does it possible cause regression on some laptops if we removed this GUID
> support in acer-wmi?
Yes, I guess the risk of that is high. It might be unacceptably high.
That's for you to decide...
I just wanted to point out that this WMI match seems to be based on
false assumptions initially, and that the current blacklisting strategy
is a game you *will* lose. Or have already lost... Only a small fraction
of the false positives will ever be reported.
The negative match on the "norfkill_ids" list of ACPI IDs from a number
of different vendors for example, will of course make the driver work
with any Acer IDs. But why not list those instead, doing a positive
match on the systems you want to support? So much easier, and actually
possible to complete. The problem, of course, is that you don't have a
record of the IDs you want to match... But collecting those should be
possible if you start making the driver report them. It is most likely
just a single one?
IMHO, for a driver like this, "working" on the target system is not
enough. You need to ensure that it doesn't negatively affect other
systems. That's impossible when you do negative matching. I don't think
ACPI or WMI drivers should ever have to run a probe on any system they
don't support. Either you have a matching ID, which can be coded into
the module alias table, or you don't. Or am I missing something?
Anyway, fixing the acer_wmi_get_handle() matching logic in
acer_wmi_accel_setup() should not cause any regressions, since that one
seems to be based on positive matching of the "SENR" method of the
"BST0001" device". There's just a minor flaw in the ACPI lookup logic.
Bjørn
prev parent reply other threads:[~2016-08-21 11:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-14 21:39 acer-wmi auto-loaded on a Lenovo Thinkpad X1 Carbon 4th gen Bjørn Mork
2016-07-19 4:55 ` joeyli
2016-08-08 10:09 ` Bjørn Mork
2016-08-21 1:15 ` joeyli
2016-08-21 11:58 ` Bjørn Mork [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=8737lyxrie.fsf@miraculix.mork.no \
--to=bjorn@mork.no \
--cc=jlee@suse.com \
--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