information for the system's persistent MAC address is burned in when
the HW is built and available under _SB\AMAC in the DSDT at runtime.
More information about the technology is available here:
http://www.dell.com/support/article/us/en/04/SLN301147
Signed-off-by: Mario Limonciello
---
dr
ac_address() implementation.
- I haven't yet done this. If this is the right approach.
I would like to know the proper place in arch/x86 to put this code.
My initial thought was a new file in arch/x86/platform/intel
Mario Limonciello (1):
r8152: Add support for setting MAC to system&
t and available under _SB\AMAC in the DSDT at runtime.
This technology is currently implemented in the Dell TB15 and WD15 Type-C
docks. More information is available here:
http://www.dell.com/support/article/us/en/04/SLN301147
Signed-off-by: Mario Limonciello
---
Changes from v3:
* Add addit
t and available under \_SB.AMAC in the DSDT at runtime.
This technology is currently implemented in the Dell TB15 and WD15 Type-C
docks. More information is available here:
http://www.dell.com/support/article/us/en/04/SLN301147
Signed-off-by: Mario Limonciello
---
Changes from v4:
* Correct
t and available under \_SB.AMAC in the DSDT at runtime.
This technology is currently implemented in the Dell TB15 and WD15 Type-C
docks. More information is available here:
http://www.dell.com/support/article/us/en/04/SLN301147
Signed-off-by: Mario Limonciello
---
Changes from v5:
* Correct r
t and available under \_SB.AMAC in the DSDT at runtime.
This technology is currently implemented in the Dell TB15 and WD15 Type-C
docks. More information is available here:
http://www.dell.com/support/article/us/en/04/SLN301147
Signed-off-by: Mario Limonciello
---
drivers/net/usb/r8152.c
activated.
- Expected experience is that if two docks (RTL8153-AD's w/ mac pass thru
bit set) were plugged in both should have MAC pass through activated.
Mario Limonciello (1):
r8152: Add support for setting pass through MAC address on RTL8153-AD
drivers/net/u
t and available under _SB\AMAC in the DSDT at runtime.
This technology is currently implemented in the Dell TB15 and WD15 Type-C
docks. More information is available here:
http://www.dell.com/support/article/us/en/04/SLN301147
Signed-off-by: Mario Limonciello
---
drivers/net/usb/r8152.c
Andy,
> (And I'm curious why 1.4.3 seems to have been pulled. Might it have
> been this issue? For better or for worse, I upgraded in the narrow
> window in which it was available on Dell's website.)
It wasn't pulled in relation to this issue. It was something else.
Nothing I'm aware of in th
> I've applied the series to hid.git#for-4.7/upstream-fixes
Hi Jiri,
Would you also submit this to -stable?
I think it should be generally applicable at least a few releases back
since Allen's original submit.
Thanks,
ed8b0de5a33d2a2557dce7f9429dca8cb5bc5879 caused all variables to be
immutable by default. This causes problems with userspace applications
mokutil and fwupdate.
---
drivers/firmware/efi/vars.c | 2 ++
include/linux/efi.h | 8
2 files changed, 10 insertions(+)
diff --git a/driver
On 03/22/2016 04:37 PM, Limonciello, Mario wrote:
> ed8b0de5a33d2a2557dce7f9429dca8cb5bc5879 caused all variables to be
> immutable by default. This causes problems with userspace applications
> mokutil and fwupdate.
> ---
> drivers/firmware/efi/vars.c | 2 ++
> include/linux/efi.h | 8
On 01/14/2016 02:26 AM, Jiri Slaby wrote:
> On 01/14/2016, 02:17 AM, Mike Frysinger wrote:
> > On 12 Jan 2016 09:45, Jiri Slaby wrote:
> >> On 01/11/2016, 02:14 AM, Mike Frysinger wrote:
> >>> Commit 9d99a8dda154 ("nvme: move hardware structures out of the
> >>> uapi version of nvme.h") renamed n
er 80 characters in deep sleep control patch
Other patches may have some areas that avoid going over 80 characters
still, but this matches the style of the existing driver. If you would
like these to go over 80 characters as well, please comment which areas
this is OK.
Mario Limonciel
This brings them more in line with the usage of whitespace
in other platforms.
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/alienware-wmi.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/platform/x86/alienware-wmi.c
b/drivers/platform
Both of these systems support:
* 2 lighting control zones
* HDMI mux control
* deep sleep control (to enable wakup from controller)
The ASM201 also supports the external graphics amplifier.
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/alienware-wmi.c | 32
The X51-R3 is in the X51 family. It includes 3 internal
lighting zones as well as is the first AW desktop that
includes support for a graphics amplifier.
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/alienware-wmi.c | 24 +++-
1 file changed, 19 insertions(+), 5
This allows configuration the system for wakeup with a controller.
The feature requires hardware architectural modifications and can
not be supported on on existing systems.
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/alienware-wmi.c | 100 +++
1
The alienware graphics amplifier is a device that provides external
access to a full PCIe slot, USB hub, and additional control zone.
This patch enables support for reading status whether the cable is
plugged in as well as for setting the colors in the new zone.
Signed-off-by: Mario Limonciello
On 02/02/2016 11:24 AM, Darren Hart wrote:
> On Mon, Feb 01, 2016 at 08:28:49PM -0600, Mario Limonciello wrote:
>> The alienware graphics amplifier is a device that provides external
>> access to a full PCIe slot, USB hub, and additional control zone.
>>
>> This patch
On 02/02/2016 11:32 AM, Darren Hart wrote:
> On Mon, Feb 01, 2016 at 08:28:50PM -0600, Mario Limonciello wrote:
>> This allows configuration the system for wakeup with a controller.
> Hrm, I'm happy to clean up English grammar in commit messages... but I'm
> struggli
cters as well, please comment which areas
this is OK.
Mario Limonciello (6):
alienware-wmi: Clean up whitespace for ASM100 platform
alienware-wmi: Add support for new platform: X51-R3
alienware-wmi: Add initial support for alienware graphics amplifier.
alienware-wmi: Add support for deep
Allow for user configuration of BIOS settings that allow the system to be
turned on via HID devices.
The feature requires hardware architectural modifications and can not be
supported on existing systems.
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/alienware-wmi.c | 95
: Mario Limonciello
---
drivers/platform/x86/alienware-wmi.c | 106 ---
1 file changed, 87 insertions(+), 19 deletions(-)
diff --git a/drivers/platform/x86/alienware-wmi.c
b/drivers/platform/x86/alienware-wmi.c
index 8e8ea4f..7ada7ce 100644
--- a/drivers/platform/x86
Both of these systems support:
* 2 lighting control zones
* HDMI mux control
* deep sleep control (to enable wakup from controller)
The ASM201 also supports the external graphics amplifier.
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/alienware-wmi.c | 32
These were some items that were pointed out in previous patches that
weren't caught be previous reviewers, but should be applied to other
parts of the driver as well.
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/alienware-wmi.c | 20 +++-
1 file chang
This brings them more in line with the usage of whitespace
in other platforms.
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/alienware-wmi.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/platform/x86/alienware-wmi.c
b/drivers/platform
The X51-R3 is in the X51 family. It includes 3 internal
lighting zones as well as is the first AW desktop that
includes support for a graphics amplifier.
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/alienware-wmi.c | 24 +++-
1 file changed, 19 insertions(+), 5
complete the update when unplugged.
Export that functionality to userspace as well.
This patch series is done relative thunderbolt.git/next.
Mario Limonciello (2):
thunderbolt: Add support for separating the flush to SPI and
authenticate
thunderbolt: Add support for authenticate on
This allows userspace to have a shorter period of time that the device
is unusable and to call it at a more convenient time.
For example flushing the image may happen while the user is using the
machine and authenticating/rebooting may happen while logging out.
Signed-off-by: Mario Limonciello
Some external devices can support completing thunderbolt authentication
when they are unplugged. For this to work though, the link controller must
remain operational.
The only device known to support this right now is the Dell WD19TB, so add
a quirk for this.
Signed-off-by: Mario Limonciello
Some external devices can support completing thunderbolt authentication
when they are unplugged. For this to work though, the link controller must
remain operational.
The only device known to support this right now is the Dell WD19TB, so add
a quirk for this.
Signed-off-by: Mario Limonciello
This allows userspace to have a shorter period of time that the device
is unusable and to call it at a more convenient time.
For example flushing the image may happen while the user is using the
machine and authenticating/rebooting may happen while logging out.
Signed-off-by: Mario Limonciello
complete the update when unplugged.
Export that functionality to userspace as well.
Changes from v1 to v2:
- Improve documentation
- Drop tb-quirks.h
- Adjust function and parameter names to Mika's preferences
- Rebase onto thunderbolt.git/bleeding-edge to move on top of retimer work
Some external devices can support completing thunderbolt authentication
when they are unplugged. For this to work though, the link controller must
remain operational.
The only device known to support this right now is the Dell WD19TB, so add
a quirk for this.
Signed-off-by: Mario Limonciello
This allows userspace to have a shorter period of time that the device
is unusable and to call it at a more convenient time.
For example flushing the image may happen while the user is using the
machine and authenticating/rebooting may happen while logging out.
Signed-off-by: Mario Limonciello
-quirks.h
- Adjust function and parameter names to Mika's preferences
- Rebase onto thunderbolt.git/bleeding-edge to move on top of retimer work
Mario Limonciello (2):
thunderbolt: Add support for separating the flush to SPI and
authenticate
thunderbolt: Add support for authenticate
Dell's Comet Lake Latitude and Precision systems containing i219LM are
properly configured and should use the s0ix flows.
Signed-off-by: Mario Limonciello
---
drivers/net/ethernet/intel/Kconfig| 1 +
drivers/net/ethernet/intel/e1000e/param.c | 80 ++-
2
: e086ba2fccda ("e1000e: disable s0ix entry and exit flows for ME systems")
Signed-off-by: Mario Limonciello
---
.../device_drivers/ethernet/intel/e1000e.rst | 23
drivers/net/ethernet/intel/e1000e/e1000.h | 7 ++
drivers/net/ethernet/intel/e1000e/netdev.c| 64 +-
d
he behavior on by default for Dell's CML systems.
These patches should only be carried if that patch linked above is also applied.
Mario Limonciello (3):
e1000e: allow turning s0ix flows on for systems with ME
e1000e: Add Dell's Comet Lake systems into s0ix heuristics
e1000e:
These comet lake systems are not yet released, but have been validated
on pre-release hardware.
This is being submitted separately from released hardware in case of
a regression between pre-release and release hardware so this commit
can be reverted alone.
Signed-off-by: Mario Limonciello
mode")
Reported-by: Alex Guzman
Signed-off-by: Mario Limonciello
---
drivers/char/tpm/tpm-dev-common.c | 8
1 file changed, 8 deletions(-)
diff --git a/drivers/char/tpm/tpm-dev-common.c
b/drivers/char/tpm/tpm-dev-common.c
index 87f449340202..bc9d7c7ddc01 100644
--- a/drivers/char/t
switch")
Reported-by: Jeremy Cline
Signed-off-by: Mario Limonciello
---
Note: I also moved the code for detecting tablet into it's own
function. To keep things under 80 lines with if statements was
making the code very unreadable otherwise.
drivers/
This is being done to faciliate a later change to link all the dell-smbios
drivers together.
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/Makefile | 1 +
drivers/platform/x86/{dell-smbios.c => dell-smbios-base.c} | 0
2 files changed, 1 insert
this change the Kconfig needs to be adjusted so that
CONFIG_DELL_SMBIOS_SMM and CONFIG_DELL_SMBIOS_WMI are boolean
rather than modules.
CONFIG_DELL_SMBIOS is a visually selectable option again and both
CONFIG_DELL_SMBIOS_WMI and CONFIG_DELL_SMBIOS_SMM are optional.
Signed-off-by: Mario Limonciello
plus at least
+ 6 bytes of entry */
WARNING: Block comments use a trailing */ on a separate line
+ 6 bytes of entry */
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/dell-smbios.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/driver
plus at least
+ 6 bytes of entry */
WARNING: Block comments use a trailing */ on a separate line
+ 6 bytes of entry */
Signed-off-by: Mario Limonciello
---
changes from v1:
* Adjust comment style
drivers/platform/x86/dell-smbios.c | 8 +---
1 file changed, 5 insert
this change the Kconfig needs to be adjusted so that
CONFIG_DELL_SMBIOS_SMM and CONFIG_DELL_SMBIOS_WMI are boolean
rather than modules.
CONFIG_DELL_SMBIOS is a visually selectable option again and both
CONFIG_DELL_SMBIOS_WMI and CONFIG_DELL_SMBIOS_SMM are optional.
Signed-off-by: Mario Limonciello
This is being done to faciliate a later change to link all the dell-smbios
drivers together.
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/Makefile | 1 +
drivers/platform/x86/{dell-smbios.c => dell-smbios-base.c} | 0
2 files changed, 1 insert
This is being done to faciliate a later change to link all the dell-smbios
drivers together.
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/Makefile | 1 +
drivers/platform/x86/{dell-smbios.c => dell-smbios-base.c} | 0
2 files changed, 1 insert
plus at least
+ 6 bytes of entry */
WARNING: Block comments use a trailing */ on a separate line
+ 6 bytes of entry */
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/dell-smbios.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/driver
this change the Kconfig needs to be adjusted so that
CONFIG_DELL_SMBIOS_SMM and CONFIG_DELL_SMBIOS_WMI are boolean
rather than modules.
CONFIG_DELL_SMBIOS is a visually selectable option again and both
CONFIG_DELL_SMBIOS_WMI and CONFIG_DELL_SMBIOS_SMM are optional.
Signed-off-by: Mario Limonciello
On machines using rfkill interface the buffer needs to have been
allocated before the initial use (memset) of it.
Reported-by: Valdis Kletnieks
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/dell-laptop.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a
dispatcher.
Suggested-by: Girish Prakash
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/dell-smbios-wmi.c | 14 ++
drivers/platform/x86/dell-wmi-descriptor.c | 26 --
drivers/platform/x86/dell-wmi-descriptor.h | 1 +
3 files changed, 39 insert
dispatcher.
Suggested-by: Girish Prakash
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/dell-smbios-wmi.c | 13 +
drivers/platform/x86/dell-wmi-descriptor.c | 26 --
drivers/platform/x86/dell-wmi-descriptor.h | 1 +
3 files changed, 38 insert
These were raised by Lukas Wunner as potential DOS attacks against
the system log by passing bad data to sysfs.
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/intel-wmi-thunderbolt.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/platform/x86/intel
.
Signed-off-by: Mario Limonciello
---
changes from v2 to v3:
* Fix typographical error
* Send KOBJ_CHANGE event
changes from v1 to v2:
* Add ABI documentation
* Update thunderbolt.rst
* Remove unnecessary cast
* Remove unneeded whitespace
* Adjust references of "Intel Wmi thunde
.
Signed-off-by: Mario Limonciello
---
MAINTAINERS | 5 ++
drivers/platform/x86/Kconfig | 13
drivers/platform/x86/Makefile| 1 +
drivers/platform/x86/intel-wmi-thunderbolt.c | 97
4 files changed, 116
.
Signed-off-by: Mario Limonciello
---
changes from v1 to v2:
* Add ABI documentation
* Update thunderbolt.rst
* Remove unnecessary cast
* Remove unneeded whitespace
* Adjust references of "Intel Wmi thunderbolt" ->
"Intel WMI thunderbolt force power"
.../testing/s
Pali recently noticed that WMI instances are zero indexed.
The only reason that these calls all worked properly is because the ASL
didn't verify the instance number.
Signed-off-by: Louis Davis
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/dell-wmi-led.c | 2 +-
1 file chang
The proper way to indicate that a system is a 'supported' Dell System
is by the presence of this string in OEM strings.
Allowing the driver to load on non-Dell systems will have undefined
results.
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/dell-smbios.c | 7 +
Drivers properly using the wmibus can pass their wmi_device
pointer rather than the GUID back to the WMI bus to evaluate
the proper methods.
Any "new" drivers added that use the WMI bus should use this
rather than the old wmi_evaluate_method that would take the
GUID.
Signed-off
Some cases the wrong type was used for errors and checks can be
done more cleanly.
Signed-off-by: Mario Limonciello
Reviewed-by: Edward O'Callaghan
Suggested-by: Andy Shevchenko
---
drivers/platform/x86/dell-wmi.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --
and SMI. If WMI is available,
free the SMI buffer.
* Reorder patches so all fixups come first in the series.
Mario Limonciello (14):
platform/x86: wmi: Add new method wmidev_evaluate_method
platform/x86: dell-wmi: clean up wmi descriptor check
platform/x86: dell-wmi: allow 32k return
The dell-smbios driver no longer depends on dcdbas, and it should
now be offered with the preferred WMI backend when the WMI bus is
enabled.
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/platform/x86/Kconfig b
ovides the format of the structures.
Signed-off-by: Mario Limonciello
---
Documentation/ABI/testing/dell-smbios-wmi | 43 ++
.../ABI/testing/sysfs-platform-dell-smbios-wmi | 10 +++
MAINTAINERS| 1 +
drivers/platform/x86/dell-sm
igned-off-by: Mario Limonciello
---
drivers/platform/x86/dell-smbios-smm.c | 36 ++
1 file changed, 36 insertions(+)
diff --git a/drivers/platform/x86/dell-smbios-smm.c
b/drivers/platform/x86/dell-smbios-smm.c
index 2e1c5d2dfd61..3271e9a876e9 100644
--- a/dr
is unloaded the WMI bus driver will clean
up the character device.
Signed-off-by: Mario Limonciello
---
MAINTAINERS| 1 +
drivers/platform/x86/wmi.c | 67 +-
include/linux/wmi.h| 2 ++
include/uapi/linux/wmi.h | 10 +++
4 fi
operate over WMI-ACPI will use an ACPI OperationRegion
for a buffer of data storage when SMM calls are performed.
This is a safer approach to use in kernel drivers as the SMM will
only have access to that OperationRegion.
Signed-off-by: Mario Limonciello
---
MAINTAINERS
.
Signed-off-by: Mario Limonciello
---
MAINTAINERS| 5 +
drivers/platform/x86/Kconfig | 12 +++
drivers/platform/x86/Makefile | 1 +
drivers/platform/x86/dell-wmi-descriptor.c | 162 +
drivers/platform/x86/dell
Some platforms this year will be adopting 32k WMI buffer, so don't
complain when encountering those.
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/dell-wmi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/pla
Maintained
F: drivers/platform/x86/dell-smbios.*
+DELL SMBIOS SMM DRIVER
+M: Mario Limonciello
+L: platform-driver-...@vger.kernel.org
+S: Maintained
+F: drivers/platform/x86/dell-smbios-smm.*
+
DELL LAPTOP DRIVER
M: Matthew Garrett
M: Pali Rohár
diff --git
-off-by: Mario Limonciello
---
drivers/platform/x86/wmi.c | 17 -
include/linux/wmi.h| 4
2 files changed, 21 deletions(-)
diff --git a/drivers/platform/x86/wmi.c b/drivers/platform/x86/wmi.c
index 4d73a87c2ddf..bcb41c1c7f52 100644
--- a/drivers/platform/x86/wmi.c
+++ b
intentionally marked to only be readable as root as it can
contain sensitive information about the platform's configuration.
MAINTAINERS was missing for this driver. Add myself and Pali to
maintainers list for it.
Signed-off-by: Mario Limonciello
Suggested-by: Andy Shevchenko
---
..
f the data
should not be relied upon.
For the remaining data set vectors, continue to notate a warning
in undefined results, but as those are fields that the descriptor
intended to refer to other applications, don't fail if they're new
values.
Signed-off-by: Mario Limonciello
---
drive
f the data
should not be relied upon.
For the remaining data set vectors, continue to notate a warning
in undefined results, but as those are fields that the descriptor
intended to refer to other applications, don't fail if they're new
values.
Signed-off-by: Mario Limonciello
---
drive
erface from character device. It doesn't make
sense with multiple different ioctl methods.
* Default WMI interface to 32k (This would normally be queried via
MOF, but that's not possible yet)
* Create separate buffers for WMI and SMI. If WMI is available,
free the SMI buffer.
*
Drivers properly using the wmibus can pass their wmi_device
pointer rather than the GUID back to the WMI bus to evaluate
the proper methods.
Any "new" drivers added that use the WMI bus should use this
rather than the old wmi_evaluate_method that would take the
GUID.
Signed-off
orted to a sysfs attribute.
The API for interacting with this interface is defined in documentation
as well as a uapi header provides the format of the structures.
Signed-off-by: Mario Limonciello
---
Documentation/ABI/testing/dell-smbios-wmi | 41
.../ABI/testing/sysfs-pla
ded the WMI bus driver will clean
up the character device.
Signed-off-by: Mario Limonciello
---
MAINTAINERS| 1 +
drivers/platform/x86/wmi.c | 69 ++
include/linux/wmi.h| 3 ++
include/uapi/linux/wmi.h | 19 +
4 fi
NTAINERS b/MAINTAINERS
index 2e3f2aea0370..8faf08ebcfee 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3974,6 +3974,12 @@ L: platform-driver-...@vger.kernel.org
S: Maintained
F: drivers/platform/x86/dell-smbios.*
+DELL SMBIOS SMM DRIVER
+M: Mario Limonciello
+L: platf
operate over WMI-ACPI will use an ACPI OperationRegion
for a buffer of data storage when SMM calls are performed.
This is a safer approach to use in kernel drivers as the SMM will
only have access to that OperationRegion.
Signed-off-by: Mario Limonciello
---
MAINTAINERS
river. Add myself and Pali to
maintainers list for it.
Signed-off-by: Mario Limonciello
---
.../ABI/testing/sysfs-platform-dell-smbios | 20 ++
MAINTAINERS| 7 +
drivers/platform/x86/dell-smbios.c | 205 -
3
igned-off-by: Mario Limonciello
---
drivers/platform/x86/dell-smbios-smm.c | 34 ++
1 file changed, 34 insertions(+)
diff --git a/drivers/platform/x86/dell-smbios-smm.c
b/drivers/platform/x86/dell-smbios-smm.c
index 223531e43fea..ba315753e847 100644
--- a/dr
The proper way to indicate that a system is a 'supported' Dell System
is by the presence of this string in OEM strings.
Allowing the driver to load on non-Dell systems will have undefined
results.
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/dell-smbios.c | 7 +
extended to also intercept
calls that may cause kernel functionality to get out of sync if
the same functions are used by other drivers.
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/dell-smbios.c | 123 +
drivers/platform/x86/dell-smbios.h | 2
-off-by: Mario Limonciello
---
drivers/platform/x86/wmi.c | 17 -
include/linux/wmi.h| 4
2 files changed, 21 deletions(-)
diff --git a/drivers/platform/x86/wmi.c b/drivers/platform/x86/wmi.c
index 4d73a87c2ddf..bcb41c1c7f52 100644
--- a/drivers/platform/x86/wmi.c
+++ b
.
Signed-off-by: Mario Limonciello
---
MAINTAINERS| 5 +
drivers/platform/x86/Kconfig | 5 +
drivers/platform/x86/Makefile | 1 +
drivers/platform/x86/dell-wmi-descriptor.c | 162 +
drivers/platform/x86/dell
Some cases the wrong type was used for errors and checks can be
done more cleanly.
Signed-off-by: Mario Limonciello
Reviewed-by: Edward O'Callaghan
Suggested-by: Andy Shevchenko
---
drivers/platform/x86/dell-wmi.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --
Some platforms this year will be adopting 32k WMI buffer, so don't
complain when encountering those.
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/dell-wmi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/pla
Some platforms this year will be adopting 32k WMI buffer, so don't
complain when encountering those.
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/dell-wmi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/pla
orted to a sysfs attribute by
the WMI bus in "required_buffer_size".
The API for interacting with this interface is defined in documentation
as well as the WMI uapi header provides the format of the structures.
Signed-off-by: Mario Limonciello
---
Documentation/ABI/testing/
ded the WMI bus driver will clean
up the character device.
Signed-off-by: Mario Limonciello
---
MAINTAINERS| 1 +
drivers/platform/x86/wmi.c | 115 +
include/linux/wmi.h| 6 +++
include/uapi/linux/wmi.h | 24 ++
4 fil
operate over WMI-ACPI will use an ACPI OperationRegion
for a buffer of data storage when SMM calls are performed.
This is a safer approach to use in kernel drivers as the SMM will
only have access to that OperationRegion.
Signed-off-by: Mario Limonciello
---
MAINTAINERS
f the data
should not be relied upon.
For the remaining data set vectors, continue to notate a warning
in undefined results, but as those are fields that the descriptor
intended to refer to other applications, don't fail if they're new
values.
Signed-off-by: Mario Limonciello
---
drive
AINTAINERS b/MAINTAINERS
index 09e774f1d0b2..9dc1ee9603e7 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3985,6 +3985,12 @@ L: platform-driver-...@vger.kernel.org
S: Maintained
F: drivers/platform/x86/dell-smbios.*
+DELL SMBIOS SMM DRIVER
+M: Mario Limonciello
+L: platf
Method type WMI objects need to be able to describe the size of
the interface that they will expect to use.
Export this information to sysfs and allow vendor drivers to
set it.
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/wmi.c | 31 +++
include/linux
igned-off-by: Mario Limonciello
---
drivers/platform/x86/dell-smbios-smm.c | 35 ++
1 file changed, 35 insertions(+)
diff --git a/drivers/platform/x86/dell-smbios-smm.c
b/drivers/platform/x86/dell-smbios-smm.c
index b003d70ef7eb..0dbd28e78803 100644
--- a/dr
-off-by: Mario Limonciello
---
drivers/platform/x86/wmi.c | 17 -
include/linux/wmi.h| 4
2 files changed, 21 deletions(-)
diff --git a/drivers/platform/x86/wmi.c b/drivers/platform/x86/wmi.c
index 4d73a87c2ddf..bcb41c1c7f52 100644
--- a/drivers/platform/x86/wmi.c
+++ b
extended to also intercept
calls that may cause kernel functionality to get out of sync if
the same functions are used by other drivers.
Signed-off-by: Mario Limonciello
---
drivers/platform/x86/dell-smbios.c | 127 +
drivers/platform/x86/dell-smbios.h | 2
201 - 300 of 382 matches
Mail list logo