[PATCH 10/12] platform/x86: wmi: destroy on cleanup rather than unregister

2017-09-21 Thread Mario Limonciello
device_create documentation says to cleanup using device_destroy Signed-off-by: Mario Limonciello <mario.limoncie...@dell.com> --- drivers/platform/x86/wmi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/platform/x86/wmi.c b/drivers/platform/x86/wmi.c

[PATCH 10/12] platform/x86: wmi: destroy on cleanup rather than unregister

2017-09-21 Thread Mario Limonciello
device_create documentation says to cleanup using device_destroy Signed-off-by: Mario Limonciello --- drivers/platform/x86/wmi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/platform/x86/wmi.c b/drivers/platform/x86/wmi.c index d1e128864d24..84314c0ef9c2

[PATCH 08/12] platform/x86: wmi: Cleanup exit routine in reverse order of init

2017-09-21 Thread Mario Limonciello
The initialize routine is: * class -> bus -> platform The exit routine is: * platform -> class -> bus Fix the exit routine to be: * platform -> bus -> class Signed-off-by: Mario Limonciello <mario.limoncie...@dell.com> --- drivers/platform/x86/wmi.c | 2 +- 1 file ch

[PATCH 08/12] platform/x86: wmi: Cleanup exit routine in reverse order of init

2017-09-21 Thread Mario Limonciello
The initialize routine is: * class -> bus -> platform The exit routine is: * platform -> class -> bus Fix the exit routine to be: * platform -> bus -> class Signed-off-by: Mario Limonciello --- drivers/platform/x86/wmi.c | 2 +- 1 file changed, 1 insertion(+), 1 delet

[PATCH 02/12] platform/x86: dell-wmi: Don't match on descriptor GUID modalias

2017-09-21 Thread Mario Limonciello
The descriptor GUID is not used to indicate that WMI notifications in the dell-wmi driver work properly. As such a modalias should not be present that causes this driver to load on systems with this GUID. Signed-off-by: Mario Limonciello <mario.limoncie...@dell.com> --- drivers/platfo

[PATCH 02/12] platform/x86: dell-wmi: Don't match on descriptor GUID modalias

2017-09-21 Thread Mario Limonciello
The descriptor GUID is not used to indicate that WMI notifications in the dell-wmi driver work properly. As such a modalias should not be present that causes this driver to load on systems with this GUID. Signed-off-by: Mario Limonciello --- drivers/platform/x86/dell-wmi.c | 1 - 1 file

[PATCH 12/12] platform/x86: Kconfig: Change the default settings for dell-wmi-smbios

2017-09-21 Thread Mario Limonciello
The dell-wmi-smbios driver should be enabled by default when ACPI_WMI is enabled (like many other WMI drivers). Signed-off-by: Mario Limonciello <mario.limoncie...@dell.com> --- drivers/platform/x86/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/Kco

[PATCH 01/12] platform/x86: dell-wmi: label driver as handling notifications

2017-09-21 Thread Mario Limonciello
This driver serves the purpose of responding to WMI based notifications from the DELL_EVENT_GUID (9DBB5994-A997-11DA-B012-B622A1EF5492). Other GUIDs will be handled by separate drivers. Update the language used by this driver to avoid future confusion. Signed-off-by: Mario Limonciello

[PATCH 12/12] platform/x86: Kconfig: Change the default settings for dell-wmi-smbios

2017-09-21 Thread Mario Limonciello
The dell-wmi-smbios driver should be enabled by default when ACPI_WMI is enabled (like many other WMI drivers). Signed-off-by: Mario Limonciello --- drivers/platform/x86/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index

[PATCH 01/12] platform/x86: dell-wmi: label driver as handling notifications

2017-09-21 Thread Mario Limonciello
This driver serves the purpose of responding to WMI based notifications from the DELL_EVENT_GUID (9DBB5994-A997-11DA-B012-B622A1EF5492). Other GUIDs will be handled by separate drivers. Update the language used by this driver to avoid future confusion. Signed-off-by: Mario Limonciello

[PATCH] intel-wmi-thunderbolt: fix some error cases

2017-09-14 Thread Mario Limonciello
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 <mario.limoncie...@dell.com> --- drivers/platform/x86/intel-wmi-thunderbolt.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff

[PATCH] intel-wmi-thunderbolt: fix some error cases

2017-09-14 Thread Mario Limonciello
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

[PATCH v3] Add driver to force WMI Thunderbolt controller power status

2017-09-08 Thread Mario Limonciello
. Signed-off-by: Mario Limonciello <mario.limoncie...@dell.com> --- 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 refe

[PATCH v3] Add driver to force WMI Thunderbolt controller power status

2017-09-08 Thread Mario Limonciello
. 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

[PATCH v2] Add driver to force WMI Thunderbolt controller power status

2017-09-07 Thread Mario Limonciello
. Signed-off-by: Mario Limonciello <mario.limoncie...@dell.com> --- 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 fo

[PATCH v2] Add driver to force WMI Thunderbolt controller power status

2017-09-07 Thread Mario Limonciello
. 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

[PATCH] Add driver to force WMI Thunderbolt controller power status

2017-09-06 Thread Mario Limonciello
. Signed-off-by: Mario Limonciello <mario.limoncie...@dell.com> --- MAINTAINERS | 5 ++ drivers/platform/x86/Kconfig | 13 drivers/platform/x86/Makefile| 1 + drivers/platform/x86/intel-wmi-thunderbolt.

[PATCH] Add driver to force WMI Thunderbolt controller power status

2017-09-06 Thread Mario Limonciello
. 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

[PATCH] intel-vbtn: match power button on press rather than release

2017-08-04 Thread Mario Limonciello
the presses (which matches what intel-hid does too). Verified on an Dell XPS 9365 Signed-off-by: Mario Limonciello <mario.limoncie...@dell.com> --- drivers/platform/x86/intel-vbtn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/platform/x86/intel-vbtn.c b/d

[PATCH] intel-vbtn: match power button on press rather than release

2017-08-04 Thread Mario Limonciello
the presses (which matches what intel-hid does too). Verified on an Dell XPS 9365 Signed-off-by: Mario Limonciello --- drivers/platform/x86/intel-vbtn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/platform/x86/intel-vbtn.c b/drivers/platform/x86/intel-vbtn.c

[PATCH] dell-wmi-led: Adjust instance of all wmi_evaluate_method calls to 0

2017-06-23 Thread Mario Limonciello
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 <louis.da...@dell.com> Signed-off-by: Mario Limonciello <mario.limoncie...@dell.com>

[PATCH] dell-wmi-led: Adjust instance of all wmi_evaluate_method calls to 0

2017-06-23 Thread Mario Limonciello
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 changed, 1

[PATCH] alienware-wmi: Adjust instance of all wmi_evaluate_method calls to 0

2017-06-21 Thread Mario Limonciello
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: Mario Limonciello <mario.limoncie...@dell.com> --- drivers/platform/x86/alienware-wmi.c | 8

[PATCH] alienware-wmi: Adjust instance of all wmi_evaluate_method calls to 0

2017-06-21 Thread Mario Limonciello
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: Mario Limonciello --- drivers/platform/x86/alienware-wmi.c | 8 1 file changed, 4 insertions(+), 4

[PATCH v2 1/2] dell-wmi: Adjust wifi catcher to emit KEY_WLAN

2016-07-28 Thread Mario Limonciello
Wifi catcher is a slider switch, that when slid past the on position will emit an event that is intended for launching a wifi application or applet when the machine is turned on. Signed-off-by: Mario Limonciello <mario_limoncie...@dell.com> --- drivers/platform/x86/dell-wmi.c | 2 +-

[PATCH v2 2/2] dell-wmi: Add events created by Dell Rugged 2-in-1s

2016-07-28 Thread Mario Limonciello
The Dell Rugged 7202 has 3 programmable buttons (labeled P1, P2, P3) and a detachable keyboard/mouse dock. Signed-off-by: Mario Limonciello <mario_limoncie...@dell.com> --- drivers/platform/x86/dell-wmi.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/platform/x8

[PATCH v2 1/2] dell-wmi: Adjust wifi catcher to emit KEY_WLAN

2016-07-28 Thread Mario Limonciello
Wifi catcher is a slider switch, that when slid past the on position will emit an event that is intended for launching a wifi application or applet when the machine is turned on. Signed-off-by: Mario Limonciello --- drivers/platform/x86/dell-wmi.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2 2/2] dell-wmi: Add events created by Dell Rugged 2-in-1s

2016-07-28 Thread Mario Limonciello
The Dell Rugged 7202 has 3 programmable buttons (labeled P1, P2, P3) and a detachable keyboard/mouse dock. Signed-off-by: Mario Limonciello --- drivers/platform/x86/dell-wmi.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86

[PATCH] dell-wmi: Add events created by Dell Rugged 2-in-1s

2016-07-22 Thread Mario Limonciello
The Dell Rugged 7202 has 3 programmable buttons (labeled P1, P2, P3) and a detachable magnetic keyboard/mouse. Signed-off-by: Mario Limonciello <mario_limoncie...@dell.com> --- drivers/platform/x86/dell-wmi.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/platfo

[PATCH] dell-wmi: Add events created by Dell Rugged 2-in-1s

2016-07-22 Thread Mario Limonciello
The Dell Rugged 7202 has 3 programmable buttons (labeled P1, P2, P3) and a detachable magnetic keyboard/mouse. Signed-off-by: Mario Limonciello --- drivers/platform/x86/dell-wmi.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform

[PATCH v6 RESEND] r8152: Add support for setting pass through MAC address on RTL8153-AD

2016-07-11 Thread Mario Limonciello
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 <mario_limoncie...@dell.com> --- d

[PATCH v6 RESEND] r8152: Add support for setting pass through MAC address on RTL8153-AD

2016-07-11 Thread Mario Limonciello
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 | 76

Re: [1/2] Revert "HID: multitouch: enable palm rejection if device implements confidence usage"

2016-06-29 Thread Mario Limonciello
> 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,

Re: [1/2] Revert "HID: multitouch: enable palm rejection if device implements confidence usage"

2016-06-29 Thread Mario Limonciello
> 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,

Re: [1/2] Revert "HID: multitouch: enable palm rejection if device implements confidence usage"

2016-06-27 Thread Mario Limonciello
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

Re: [1/2] Revert "HID: multitouch: enable palm rejection if device implements confidence usage"

2016-06-27 Thread Mario Limonciello
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

[PATCH v6] r8152: Add support for setting pass through MAC address on RTL8153-AD

2016-06-07 Thread Mario Limonciello
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 <mario_limoncie...@dell.com> --- C

[PATCH v6] r8152: Add support for setting pass through MAC address on RTL8153-AD

2016-06-07 Thread Mario Limonciello
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 return

[PATCH v5] r8152: Add support for setting pass through MAC address on RTL8153-AD

2016-06-07 Thread Mario Limonciello
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 <mario_limoncie...@dell.com> --- C

[PATCH v5] r8152: Add support for setting pass through MAC address on RTL8153-AD

2016-06-07 Thread Mario Limonciello
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 style

[PATCH v4] r8152: Add support for setting pass through MAC address on RTL8153-AD

2016-06-06 Thread Mario Limonciello
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 <mario_limoncie...@dell.com> --- C

[PATCH v4] r8152: Add support for setting pass through MAC address on RTL8153-AD

2016-06-06 Thread Mario Limonciello
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 additional

[PATCH v3] r8152: Add support for setting pass through MAC address on RTL8153-AD

2016-06-06 Thread Mario Limonciello
. - 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/usb/r8152.c | 60

[PATCH v3] r8152: Add support for setting pass through MAC address on RTL8153-AD

2016-06-06 Thread Mario Limonciello
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 <mario_limoncie...@dell.com> --- d

[PATCH v3] r8152: Add support for setting pass through MAC address on RTL8153-AD

2016-06-06 Thread Mario Limonciello
. - 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/usb/r8152.c | 60

[PATCH v3] r8152: Add support for setting pass through MAC address on RTL8153-AD

2016-06-06 Thread Mario Limonciello
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 | 60

[PATCH v2] r8152: Add support for setting MAC to system's Auxiliary MAC address

2016-06-02 Thread Mario Limonciello
() 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's Auxiliary MAC

[PATCH v2] r8152: Add support for setting MAC to system's Auxiliary MAC address

2016-06-02 Thread Mario Limonciello
() 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's Auxiliary MAC

[PATCH v2] r8152: Add support for setting MAC to system's Auxiliary MAC address

2016-06-02 Thread Mario Limonciello
. This 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

[PATCH v2] r8152: Add support for setting MAC to system's Auxiliary MAC address

2016-06-02 Thread Mario Limonciello
. This 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 --- drivers

[PATCH] r8152: Add support for setting MAC to system's Auxiliary MAC address

2016-06-01 Thread Mario Limonciello
. This information for the system's persistent MAC address is burned in when the HW is built and avilable 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

[PATCH] r8152: Add support for setting MAC to system's Auxiliary MAC address

2016-06-01 Thread Mario Limonciello
. This information for the system's persistent MAC address is burned in when the HW is built and avilable 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 --- drivers

[PATCH v2 2/3] dell_rbu: Update documentation

2016-05-16 Thread Mario Limonciello
Signed-off-by: Mario Limonciello <mario_limoncie...@dell.com> --- Documentation/dell_rbu.txt | 24 +++- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/Documentation/dell_rbu.txt b/Documentation/dell_rbu.txt index d262e22..b2714e6 100644 --- a/Documen

[PATCH v2 2/3] dell_rbu: Update documentation

2016-05-16 Thread Mario Limonciello
Signed-off-by: Mario Limonciello --- Documentation/dell_rbu.txt | 24 +++- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/Documentation/dell_rbu.txt b/Documentation/dell_rbu.txt index d262e22..b2714e6 100644 --- a/Documentation/dell_rbu.txt +++ b/Documentation

[PATCH v2 1/3] dell_rbu: Don't fallback to userhelper

2016-05-16 Thread Mario Limonciello
the firmware from /lib/firmware/dell_rbu when "init" is passed into image_type using the kernel helper. Signed-off-by: Mario Limonciello <mario_limoncie...@dell.com> --- drivers/firmware/Kconfig| 1 - drivers/firmware/dell_rbu.c | 2 +- 2 files changed, 1 insertion(+), 2 de

[PATCH v2 1/3] dell_rbu: Don't fallback to userhelper

2016-05-16 Thread Mario Limonciello
the firmware from /lib/firmware/dell_rbu when "init" is passed into image_type using the kernel helper. Signed-off-by: Mario Limonciello --- drivers/firmware/Kconfig| 1 - drivers/firmware/dell_rbu.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/firmwa

[PATCH v2 3/3] firmware_class: drop support for FW_LOADER_USER_HELPER_FALLBACK

2016-05-16 Thread Mario Limonciello
The last consumer of this is dell_rbu, and it no longer needs this due to userspace changes in how updates are passed to the OS. Signed-off-by: Mario Limonciello <mario_limoncie...@dell.com> --- drivers/base/Kconfig | 14 -- drivers/base/firmware_class.c | 9 ++

[PATCH v2 3/3] firmware_class: drop support for FW_LOADER_USER_HELPER_FALLBACK

2016-05-16 Thread Mario Limonciello
The last consumer of this is dell_rbu, and it no longer needs this due to userspace changes in how updates are passed to the OS. Signed-off-by: Mario Limonciello --- drivers/base/Kconfig | 14 -- drivers/base/firmware_class.c | 9 ++--- 2 files changed, 2 insertions

[PATCH] dell_rbu: Don't fallback to userhelper when loading firmware

2016-05-16 Thread Mario Limonciello
dell_rbu previously would allow a userspace application to craft the payload after dell_rbu was loaded and abuse the udev userspace API. Instead require the payload to be crafted and placed in /lib/firmware/dell_rbu ahead of time. This adjusts dell_rbu to immediately load the firmware from

[PATCH] dell_rbu: Don't fallback to userhelper when loading firmware

2016-05-16 Thread Mario Limonciello
dell_rbu previously would allow a userspace application to craft the payload after dell_rbu was loaded and abuse the udev userspace API. Instead require the payload to be crafted and placed in /lib/firmware/dell_rbu ahead of time. This adjusts dell_rbu to immediately load the firmware from

[PATCH v3 1/2] dell-smbios: Add a method for more complex SMI requests

2016-05-09 Thread Mario Limonciello
as the BIOS will look for it in these requests. Signed-off-by: Mario Limonciello <mario_limoncie...@dell.com> --- drivers/platform/x86/dell-smbios.c | 43 ++ drivers/platform/x86/dell-smbios.h | 2 ++ 2 files changed, 45 insertions(+) diff --git a/drivers/pl

[PATCH v3 1/2] dell-smbios: Add a method for more complex SMI requests

2016-05-09 Thread Mario Limonciello
as the BIOS will look for it in these requests. Signed-off-by: Mario Limonciello --- drivers/platform/x86/dell-smbios.c | 43 ++ drivers/platform/x86/dell-smbios.h | 2 ++ 2 files changed, 45 insertions(+) diff --git a/drivers/platform/x86/dell-smbios.c b/drivers

[PATCH v3 2/2] dell-laptop: Expose auxiliary MAC address if available

2016-05-09 Thread Mario Limonciello
to them. Signed-off-by: Mario Limonciello <mario_limoncie...@dell.com> --- drivers/platform/x86/dell-laptop.c | 61 +- 1 file changed, 60 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c index 2

[PATCH v3 2/2] dell-laptop: Expose auxiliary MAC address if available

2016-05-09 Thread Mario Limonciello
to them. Signed-off-by: Mario Limonciello --- drivers/platform/x86/dell-laptop.c | 61 +- 1 file changed, 60 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c index 2c2f02b..7d29690 100644

[PATCH v2 2/2] dell-laptop: Expose auxiliary MAC address if available

2016-05-07 Thread Mario Limonciello
to them. Signed-off-by: Mario Limonciello <mario_limoncie...@dell.com> --- drivers/platform/x86/dell-laptop.c | 66 +- 1 file changed, 65 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c index 2

[PATCH v2 2/2] dell-laptop: Expose auxiliary MAC address if available

2016-05-07 Thread Mario Limonciello
to them. Signed-off-by: Mario Limonciello --- drivers/platform/x86/dell-laptop.c | 66 +- 1 file changed, 65 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c index 2c2f02b..7a1fe08 100644

[PATCH v2 1/2] dell-smbios: Add a helper function for complex SMI requests

2016-05-07 Thread Mario Limonciello
as the BIOS will look for it in these requests. Signed-off-by: Mario Limonciello <mario_limoncie...@dell.com> --- drivers/platform/x86/dell-smbios.c | 28 drivers/platform/x86/dell-smbios.h | 1 + 2 files changed, 29 insertions(+) diff --git a/drivers/platfo

[PATCH v2 1/2] dell-smbios: Add a helper function for complex SMI requests

2016-05-07 Thread Mario Limonciello
as the BIOS will look for it in these requests. Signed-off-by: Mario Limonciello --- drivers/platform/x86/dell-smbios.c | 28 drivers/platform/x86/dell-smbios.h | 1 + 2 files changed, 29 insertions(+) diff --git a/drivers/platform/x86/dell-smbios.c b/drivers

[PATCH 2/2] dell-laptop: Expose auxiliary MAC address if available

2016-05-07 Thread Mario Limonciello
to them. Signed-off-by: Mario Limonciello <mario_limoncie...@dell.com> --- drivers/platform/x86/dell-laptop.c | 62 +- 1 file changed, 61 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c index 2

[PATCH 1/2] dell-smbios: Add a helper function for complex SMI requests

2016-05-07 Thread Mario Limonciello
as the BIOS will look for it in these requests. Signed-off-by: Mario Limonciello <mario_limoncie...@dell.com> --- drivers/platform/x86/dell-smbios.c | 28 drivers/platform/x86/dell-smbios.h | 1 + 2 files changed, 29 insertions(+) diff --git a/drivers/platfo

[PATCH 2/2] dell-laptop: Expose auxiliary MAC address if available

2016-05-07 Thread Mario Limonciello
to them. Signed-off-by: Mario Limonciello --- drivers/platform/x86/dell-laptop.c | 62 +- 1 file changed, 61 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c index 2c2f02b..f818ddf 100644

[PATCH 1/2] dell-smbios: Add a helper function for complex SMI requests

2016-05-07 Thread Mario Limonciello
as the BIOS will look for it in these requests. Signed-off-by: Mario Limonciello --- drivers/platform/x86/dell-smbios.c | 28 drivers/platform/x86/dell-smbios.h | 1 + 2 files changed, 29 insertions(+) diff --git a/drivers/platform/x86/dell-smbios.c b/drivers

[PATCH 1/1] firmware: correct test of wait_for_completion_interruptible_timeout return

2016-04-25 Thread Mario Limonciello
Signed-off-by: Mario Limonciello <mario_limoncie...@dell.com> --- drivers/base/firmware_class.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/base/firmware_class.c b/drivers/base/firmware_class.c index 773fc30..223af70 100644 --- a/drivers/base/firmware_c

[PATCH 1/1] firmware: correct test of wait_for_completion_interruptible_timeout return

2016-04-25 Thread Mario Limonciello
Signed-off-by: Mario Limonciello --- drivers/base/firmware_class.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/base/firmware_class.c b/drivers/base/firmware_class.c index 773fc30..223af70 100644 --- a/drivers/base/firmware_class.c +++ b/drivers/base

Re: [PATCH] Add fwupdate and Mok GUID's to the EFI variable immutable whitelist

2016-03-22 Thread Mario Limonciello
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

Re: [PATCH] Add fwupdate and Mok GUID's to the EFI variable immutable whitelist

2016-03-22 Thread Mario Limonciello
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

[PATCH] Add fwupdate and Mok GUID's to the EFI variable immutable whitelist

2016-03-22 Thread Mario Limonciello
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

[PATCH] Add fwupdate and Mok GUID's to the EFI variable immutable whitelist

2016-03-22 Thread Mario Limonciello
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

Re: Re: [PATCH] uapi: update install list after nvme.h rename

2016-02-19 Thread Mario Limonciello
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

Re: Re: [PATCH] uapi: update install list after nvme.h rename

2016-02-19 Thread Mario Limonciello
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

Re: [PATCH v3 0/6] alienware-wmi: new platform and feature support

2016-02-15 Thread Mario Limonciello
On 02/07/2016 02:05 PM, Darren Hart wrote: > On Tue, Feb 02, 2016 at 03:38:51PM -0600, Mario Limonciello wrote: >> I've got some extensions for the alienware-wmi driver that have >> been introduced for a few new platforms and can be controlled via the WMI >> inte

Re: [PATCH v3 0/6] alienware-wmi: new platform and feature support

2016-02-15 Thread Mario Limonciello
On 02/07/2016 02:05 PM, Darren Hart wrote: > On Tue, Feb 02, 2016 at 03:38:51PM -0600, Mario Limonciello wrote: >> I've got some extensions for the alienware-wmi driver that have >> been introduced for a few new platforms and can be controlled via the WMI >> inte

[PATCH v3 1/6] alienware-wmi: Clean up whitespace for ASM100 platform

2016-02-02 Thread Mario Limonciello
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

[PATCH v3 2/6] alienware-wmi: Add support for new platform: X51-R3

2016-02-02 Thread Mario Limonciello
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

[PATCH v3 6/6] alienware-wmi: whitespace improvements

2016-02-02 Thread Mario Limonciello
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 changed, 7

[PATCH v3 5/6] alienware-wmi: Add support for two new systems: ASM200 and ASM201.

2016-02-02 Thread Mario Limonciello
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

[PATCH v3 4/6] alienware-wmi: Add support for deep sleep control.

2016-02-02 Thread Mario Limonciello
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

[PATCH v3 3/6] alienware-wmi: Add initial support for alienware graphics amplifier.

2016-02-02 Thread Mario Limonciello
-by: 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

[PATCH v3 0/6] alienware-wmi: new platform and feature support

2016-02-02 Thread Mario Limonciello
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 sleep

Re: [PATCH v2 4/5] Add support for deep sleep control.

2016-02-02 Thread Mario Limonciello
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 > struggling

Re: [PATCH v2 3/5] Add initial support for alienware graphics amplifier.

2016-02-02 Thread 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

[PATCH v3 6/6] alienware-wmi: whitespace improvements

2016-02-02 Thread Mario Limonciello
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 <mario_limoncie...@dell.com> --- drivers/platform/x86/alienware-wmi.

[PATCH v3 1/6] alienware-wmi: Clean up whitespace for ASM100 platform

2016-02-02 Thread Mario Limonciello
This brings them more in line with the usage of whitespace in other platforms. Signed-off-by: Mario Limonciello <mario_limoncie...@dell.com> --- drivers/platform/x86/alienware-wmi.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/platfo

[PATCH v3 2/6] alienware-wmi: Add support for new platform: X51-R3

2016-02-02 Thread Mario Limonciello
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 <mario_limoncie...@dell.com> --- drivers/platform/x86/alienware-wmi.c | 24 +++-

[PATCH v3 5/6] alienware-wmi: Add support for two new systems: ASM200 and ASM201.

2016-02-02 Thread Mario Limonciello
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 <mario_limoncie...@dell.com> --- drivers/platform/x86/alienware

[PATCH v3 3/6] alienware-wmi: Add initial support for alienware graphics amplifier.

2016-02-02 Thread Mario Limonciello
-by: Mario Limonciello <mario_limoncie...@dell.com> --- 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..7

[PATCH v3 4/6] alienware-wmi: Add support for deep sleep control.

2016-02-02 Thread Mario Limonciello
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 <mario_limoncie...@dell.com> --- drivers/platfo

[PATCH v3 0/6] alienware-wmi: new platform and feature support

2016-02-02 Thread Mario Limonciello
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 sleep

Re: [PATCH v2 3/5] Add initial support for alienware graphics amplifier.

2016-02-02 Thread 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

Re: [PATCH v2 4/5] Add support for deep sleep control.

2016-02-02 Thread Mario Limonciello
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 > struggling

<    1   2   3   4   5   6   7   8   >