From: Andy Shevchenko <andy@kernel.org>
To: Hans de Goede <hdegoede@redhat.com>
Cc: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
platform-driver-x86@vger.kernel.org
Subject: Re: [PATCH 2/4] platform/x86: int3472: Drop "pin number mismatch" messages
Date: Thu, 28 Nov 2024 17:52:27 +0200 [thread overview]
Message-ID: <Z0iRuxcNnPMZptK_@smile.fi.intel.com> (raw)
In-Reply-To: <20241128154212.6216-2-hdegoede@redhat.com>
On Thu, Nov 28, 2024 at 04:42:10PM +0100, Hans de Goede wrote:
> It seems that Windows is only using the ACPI GPIO resources and never
> looks at the part of the _DSM return value which encodes the pin number.
>
> For example on a Terra Pad 1262 v2 the following messages are printend:
>
> int3472-discrete INT3472:01: reset \_SB.GPI0 pin number mismatch _DSM 103 resource 359
> int3472-discrete INT3472:01: powerdown \_SB.GPI0 pin number mismatch _DSM 207 resource 335
> int3472-discrete INT3472:02: reset \_SB.GPI0 pin number mismatch _DSM 101 resource 357
>
> Notice for the 2 reset pins that the _DSM value is off by 256, this is
> caused by there only being 8 bits reserved in the _DSM return value for
> the pin-number.
>
> As for the powerdown pin, testing has shown that the pin-number 335 from
> the ACPI GPIO resource is correct and the _DSM value is bogus.
>
> Drop the warning about these mismatches since Windows clearly is just
> ignoring the _DSM pin-number so invalid values are too be expected there.
...
> - pin = FIELD_GET(INT3472_GPIO_DSM_PIN, obj->integer.value);
> - if (pin != agpio->pin_table[0])
> - dev_warn(int3472->dev, "%s %s pin number mismatch _DSM %d resource %d\n",
> - func, agpio->resource_source.string_ptr, pin,
> - agpio->pin_table[0]);
> -
Hmm... Perhaps move it to dev_dbg(FW_BUG) ?
--
With Best Regards,
Andy Shevchenko
next prev parent reply other threads:[~2024-11-28 15:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-28 15:42 [PATCH 1/4] platform/x86: int3472: Check for adev == NULL Hans de Goede
2024-11-28 15:42 ` [PATCH 2/4] platform/x86: int3472: Drop "pin number mismatch" messages Hans de Goede
2024-11-28 15:52 ` Andy Shevchenko [this message]
2024-12-04 17:36 ` Hans de Goede
2024-12-04 18:23 ` Andy Shevchenko
2024-11-28 15:42 ` [PATCH 3/4] platform/x86: int3472: Fix skl_int3472_handle_gpio_resources() return value Hans de Goede
2024-11-28 15:53 ` Andy Shevchenko
2024-12-04 17:37 ` Hans de Goede
2024-11-28 15:42 ` [PATCH 4/4] platform/x86: int3472: Debug log the sensor name Hans de Goede
2024-11-28 15:51 ` [PATCH 1/4] platform/x86: int3472: Check for adev == NULL Andy Shevchenko
2024-12-04 17:40 ` Hans de Goede
2024-12-04 19:15 ` Andy Shevchenko
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=Z0iRuxcNnPMZptK_@smile.fi.intel.com \
--to=andy@kernel.org \
--cc=hdegoede@redhat.com \
--cc=ilpo.jarvinen@linux.intel.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