From: Stuart Hayes <stuart.w.hayes@gmail.com>
To: Mario.Limonciello@dell.com, andy.shevchenko@gmail.com
Cc: dvhart@infradead.org, linux-kernel@vger.kernel.org,
platform-driver-x86@vger.kernel.org
Subject: Re: [PATCH v3] dcdbas: Add support for WSMT ACPI table
Date: Tue, 3 Jul 2018 08:52:22 -0500 [thread overview]
Message-ID: <4e9a34c5-e0e6-b060-40fa-30d738d1eb69@gmail.com> (raw)
In-Reply-To: <73c53c23c0824e4595292bfafc6054ee@ausx13mpc120.AMER.DELL.COM>
On 7/2/2018 11:15 AM, Mario.Limonciello@dell.com wrote:
>>
>>> I don't believe SMM communication ACPI table has ever been implemented by
>> Dell
>>> on server or client BIOS. I do agree this table describes the behavior that DCDBAS
>> driver
>>> has used since before even UEFI BIOS pretty accurately.
>>
>> So, EPS table has been for ages in Dell machines?
>> Can we consider it as a predecessor of that SMM communication ACPI table?
>
> No, EPS is new this year, specifically for server BIOS to be able to support SMM communication
> when WSMT is enabled. The code tests in Stuart's patch will detect if WSMT is enabled
> and if it's enabled test if EPS was defined. On server BIOS when EPS is defined dcdbas
> will be able to communicate using addresses defined in EPS.
>
> Server BIOS will support EPS for applications using dcdbas interface and may at a later time
> introduce same WMI interface as client too (but applications will need time to update so
> they need to support both).
>
> Actually Stuart's patch will cause client BIOS that has WSMT enabled make dcdbas fail
> initialization (as it should because dcdbas doesn't have a region that it can successfully
> communicate).
>
> In client machines we moved this communication to ACPI buffer allocated by WMI, which
> is why we have dell-smbios-wmi now in kernel.
>
> I think once some variation of Stuart's patch is merged, I'll send a follow
> up patch to drop this test because it's no longer necessary:
> https://github.com/torvalds/linux/blob/master/drivers/platform/x86/dell-smbios-smm.c#L106
>
>
>>
>>> Stuart and I did discuss with server BIOS (who uses this EPS mechanism) to see if
>> its possible
>>> to move EPS to SMM communication ACPI table however since it's been
>> deprecated by
>>> UEFI 2.7 they weren't willing to adopt it.
>>
>> It's pity, but the motivation to deprecate is "lack of use" which is
>> not true. That's why I would suggest to escalate this to UEFI
>> committee.
>>
>>> Stuart, anything else you want to add here?
>>
>> Darren, what's your opinion about this?
>>
>> P.S. I'm not against this approach (just some technical comments I
>> already shared), but on the other hand it would be nice to have undo
>> that deprecation and follow the standard in new firmwares.
>> Would you agree?
>
> Sure. Due to the timing of how long this will take, even if SMM communication
> ACPI table is undone from deprecation we may have to still support both EPS
> and SMM communication ACPI table though (maybe it would be order of preference).
>
>
I have confirmation that the EPS table will be 16-byte aligned, so I can make that
change. I'll send a v5 with that and the updated comment.
next prev parent reply other threads:[~2018-07-03 13:52 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-16 14:05 [PATCH v2] dcdbas: Add support for WSMT ACPI table Stuart Hayes
2018-05-25 19:01 ` Douglas.Warzecha
2018-05-28 5:20 ` Mario.Limonciello
2018-06-07 15:59 ` [PATCH resend " Stuart Hayes
2018-06-07 16:07 ` Mario.Limonciello
2018-06-08 23:08 ` Darren Hart
2018-06-07 17:11 ` Andy Shevchenko
2018-06-09 1:04 ` Darren Hart
2018-06-09 18:57 ` Andy Shevchenko
2018-06-13 1:24 ` [PATCH v3] " Stuart Hayes
2018-06-13 8:54 ` Andy Shevchenko
2018-06-14 14:22 ` Stuart Hayes
2018-06-14 17:25 ` Andy Shevchenko
2018-06-14 22:31 ` Stuart Hayes
2018-06-27 23:52 ` Andy Shevchenko
2018-06-29 18:56 ` Stuart Hayes
2018-06-29 19:29 ` Andy Shevchenko
2018-07-02 14:07 ` Mario.Limonciello
2018-07-02 15:21 ` Andy Shevchenko
2018-07-02 16:15 ` Mario.Limonciello
2018-07-03 13:52 ` Stuart Hayes [this message]
2018-07-03 16:20 ` [PATCH v5] " Stuart Hayes
2018-07-13 14:34 ` Andy Shevchenko
2018-07-16 13:37 ` Mario.Limonciello
2018-06-14 15:45 ` [PATCH v4] " Stuart Hayes
2018-06-14 17:26 ` Andy Shevchenko
2018-06-26 3:12 ` Stuart Hayes
2018-06-11 13:47 ` [PATCH resend v2] " Mario.Limonciello
2018-06-11 14:30 ` Stuart Hayes
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=4e9a34c5-e0e6-b060-40fa-30d738d1eb69@gmail.com \
--to=stuart.w.hayes@gmail.com \
--cc=Mario.Limonciello@dell.com \
--cc=andy.shevchenko@gmail.com \
--cc=dvhart@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--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