From: Huang Rui <ray.huang@amd.com>
To: Borislav Petkov <bp@alien8.de>, Aaron Lu <aaron.lu@intel.com>
Cc: "Wan, Vincent" <Vincent.Wan@amd.com>,
"dmitry.torokhov@gmail.com" <dmitry.torokhov@gmail.com>,
"linux-input@vger.kernel.org" <linux-input@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"mcuos.com@gmail.com" <mcuos.com@gmail.com>
Subject: Re: [PATCH] input: i8042: add quirk to implement i8042 detect for AMD
Date: Fri, 16 Oct 2015 17:06:18 +0800 [thread overview]
Message-ID: <20151016090617.GB17783@hr-amur2> (raw)
In-Reply-To: <20151016085808.GA32193@pd.tnic>
On Fri, Oct 16, 2015 at 04:58:09PM +0800, Borislav Petkov wrote:
> On Fri, Oct 16, 2015 at 09:27:00AM -0400, Vincent Wan wrote:
> > Detecting platform supports i8042 or not, AMD resorted to
> > BIOS's FADT i8042 flag.
> >
> > Signed-off-by: Vincent Wan <Vincent.Wan@amd.com>
> > ---
> > drivers/input/serio/i8042-x86ia64io.h | 6 ++++++
> > 1 file changed, 6 insertions(+)
> >
> > diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h
> > index c115565..bf3a605 100644
> > --- a/drivers/input/serio/i8042-x86ia64io.h
> > +++ b/drivers/input/serio/i8042-x86ia64io.h
> > @@ -9,6 +9,7 @@
> >
> > #ifdef CONFIG_X86
> > #include <asm/x86_init.h>
> > +#include <linux/acpi.h>
> > #endif
> >
> > /*
> > @@ -1047,6 +1048,11 @@ static int __init i8042_platform_init(void)
> > /* Just return if pre-detection shows no i8042 controller exist */
> > if (!x86_platform.i8042_detect())
> > return -ENODEV;
> > +
> > + if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) {
>
> Why the vendor check if you're accessing a bit defined in the ACPI spec?
>
Yeah, I have the same concern with AMD vendor check. :)
Aaron, could you please help to check the impact at intel platfomrs if
we remove this check?
Thanks,
Rui
next prev parent reply other threads:[~2015-10-16 10:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-16 13:27 [PATCH] input: i8042: add quirk to implement i8042 detect for AMD Vincent Wan
2015-10-16 8:58 ` Borislav Petkov
2015-10-16 9:06 ` Huang Rui [this message]
2015-10-16 9:35 ` Wan ZongShun
2015-10-16 10:21 ` Borislav Petkov
2015-10-17 16:38 ` Dmitry Torokhov
2015-11-19 14:40 ` Wan, Vincent
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=20151016090617.GB17783@hr-amur2 \
--to=ray.huang@amd.com \
--cc=Vincent.Wan@amd.com \
--cc=aaron.lu@intel.com \
--cc=bp@alien8.de \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mcuos.com@gmail.com \
/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