From: "Rafael J. Wysocki" <rjw@rjwysocki.net>
To: Lee Jones <lee.jones@linaro.org>
Cc: Mika Westerberg <mika.westerberg@linux.intel.com>,
Wim Van Sebroeck <wim@iguana.be>,
Guenter Roeck <linux@roeck-us.net>, Len Brown <lenb@kernel.org>,
Jean Delvare <jdelvare@suse.com>,
Wolfram Sang <wsa@the-dreams.de>,
Peter Tyser <ptyser@xes-inc.com>,
Zha Qipeng <qipeng.zha@intel.com>,
Darren Hart <dvhart@infradead.org>,
linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/4] mfd: lpc_ich: Do not create iTCO watchdog when WDAT table exists
Date: Wed, 28 Sep 2016 00:07:49 +0200 [thread overview]
Message-ID: <1611175.DW5CysW0GN@vostro.rjw.lan> (raw)
In-Reply-To: <20160927194114.GL21388@dell>
On Tuesday, September 27, 2016 08:41:14 PM Lee Jones wrote:
> On Tue, 20 Sep 2016, Mika Westerberg wrote:
>
> > ACPI WDAT table is the preferred way to use hardware watchdog over the
> > native iTCO_wdt. Windows only uses this table for its hardware watchdog
> > implementation so we should be relatively safe to trust it has been
> > validated by OEMs
> >
> > Prevent iTCO watchdog creation if we detect that there is ACPI WDAT table.
> >
> > Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
> > Reviewed-by: Guenter Roeck <linux@roeck-us.net>
> > ---
> > drivers/mfd/lpc_ich.c | 4 ++++
> > 1 file changed, 4 insertions(+)
>
> Applied, thanks.
Well, I applied this too.
And it depends on the [1/4], doesn't it?
>
> > diff --git a/drivers/mfd/lpc_ich.c b/drivers/mfd/lpc_ich.c
> > index bd3aa4578346..c8dee47b45d9 100644
> > --- a/drivers/mfd/lpc_ich.c
> > +++ b/drivers/mfd/lpc_ich.c
> > @@ -984,6 +984,10 @@ static int lpc_ich_init_wdt(struct pci_dev *dev)
> > int ret;
> > struct resource *res;
> >
> > + /* If we have ACPI based watchdog use that instead */
> > + if (acpi_has_watchdog())
> > + return -ENODEV;
> > +
> > /* Setup power management base register */
> > pci_read_config_dword(dev, priv->abase, &base_addr_cfg);
> > base_addr = base_addr_cfg & 0x0000ff80;
>
>
Thanks,
Rafael
next prev parent reply other threads:[~2016-09-27 22:01 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-20 12:30 [PATCH v2 0/4] ACPI / watchdog: Add support for WDAT (Watchdog Action Table) Mika Westerberg
2016-09-20 12:30 ` [PATCH v2 1/4] ACPI / watchdog: Add support for WDAT hardware watchdog Mika Westerberg
2016-09-20 13:37 ` Guenter Roeck
2016-09-20 13:50 ` Mika Westerberg
2016-09-20 14:48 ` Guenter Roeck
2016-09-20 14:49 ` Guenter Roeck
2016-09-20 12:30 ` [PATCH v2 2/4] mfd: lpc_ich: Do not create iTCO watchdog when WDAT table exists Mika Westerberg
2016-09-27 19:41 ` Lee Jones
2016-09-27 22:07 ` Rafael J. Wysocki [this message]
2016-09-28 1:09 ` Lee Jones
2016-09-28 1:24 ` Rafael J. Wysocki
2016-09-29 17:20 ` Lee Jones
2016-09-20 12:30 ` [PATCH v2 3/4] i2c: i801: " Mika Westerberg
2016-09-22 17:47 ` Wolfram Sang
2016-09-22 17:48 ` Wolfram Sang
2016-09-20 12:30 ` [PATCH v2 4/4] platform/x86: intel_pmc_ipc: " Mika Westerberg
2016-09-24 0:34 ` [PATCH v2 0/4] ACPI / watchdog: Add support for WDAT (Watchdog Action Table) Rafael J. Wysocki
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=1611175.DW5CysW0GN@vostro.rjw.lan \
--to=rjw@rjwysocki.net \
--cc=dvhart@infradead.org \
--cc=jdelvare@suse.com \
--cc=lee.jones@linaro.org \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=mika.westerberg@linux.intel.com \
--cc=ptyser@xes-inc.com \
--cc=qipeng.zha@intel.com \
--cc=wim@iguana.be \
--cc=wsa@the-dreams.de \
/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
all inboxes | Powered by JetHome®