Linux Documentation
 help / color / mirror / Atom feed
* [PATCH 0/8] platform: dell: Move out of x86 and support Dell XPS 16 Creator Edition
@ 2026-11-21  0:05 Brian Mak
  2026-11-21  0:05 ` [PATCH 1/8] platform/x86: dell: Make uart-backlight x86 only Brian Mak
                   ` (7 more replies)
  0 siblings, 8 replies; 17+ messages in thread
From: Brian Mak @ 2026-11-21  0:05 UTC (permalink / raw)
  To: Hans de Goede, Ilpo Järvinen
  Cc: Kurt Borja, Stuart Hayes, Matthew Garrett, Pali Rohár,
	Lyndon Sanche, Armin Wolf, Prasanth Ksr, Jonathan Corbet,
	Shuah Khan, Randy Dunlap, platform-driver-x86, Dell.Client.Kernel,
	linux-doc, linux-kernel, Brian Mak

The Dell XPS 16 Creator Edition (DX16263) is an ARM64 laptop based on
NVIDIA RTX Spark. Its firmware exposes the same ACPI-WMI and SMBIOS
interfaces as Dell's x86 laptops, so existing Dell platform drivers
apply to it as-is. Today, they live under drivers/platform/x86/ and are
gated on X86_PLATFORM_DEVICES, so they can't be enabled on ARM64.

This series moves the Dell drivers to drivers/platform/dell/, makes the
ones that work there available on ARM64, and works around some firmware
quirks found on the Dell XPS 16 Creator Edition.

Patch 1 makes DELL_UART_BACKLIGHT depend on X86 before the move. The
driver relies on the DELL0501 handling in
acpi_quirk_skip_serdev_enumeration(), which only exists in
drivers/acpi/x86/utils.c, and on drivers/platform/x86/serdev_helpers.h.
Without that quirk, no serdev controller or platform device is created,
so the driver wouldn't work on other architectures.

Patches 2-3 move the drivers to drivers/platform/dell/, rename
X86_PLATFORM_DRIVERS_DELL to DELL_PLATFORMS (keeping the old symbol as a
transitional config so existing .configs carry over), and add a
MAINTAINERS entry for the new directory. The per-driver MAINTAINERS
entries are updated to the new paths. DCDBAS, DELL_RBU and
DELL_SMBIOS_SMM keep their X86 dependency.

Patch 4 makes DELL_LAPTOP's SERIO_I8042 dependency optional, as there is
a fallback stub, which returns -ENODEV.

Patch 5 fixes dell-smbios-wmi probe on the XPS 16 Creator Edition. The
driver looks for the misc BIOS flags (SMBIOS type 0xB1) only at the
hardcoded handle 0xB100, but firmware numbers it differently. Handle
0xB100 is still used whenever it exists. Otherwise, the driver falls
back to the only type 0xB1 structure, if there is exactly one.

Patches 6-8 handle a firmware problem on the same machine: the SMBIOS
calling interface completes every request to the Dell-proprietary
interface with all zeroes, even for requests that should fail. As a
result, dell-laptop reports bogus battery charge modes and thresholds
and registers mic mute/mute LEDs that do nothing, and dell-pc fails with
"platform_profile probe failed". Patch 6 adds a DMI quirk list and
exports dell_smbios_calls_functional(). Patches 7-8 make dell-laptop and
dell-pc refuse to load on affected platforms. dell-smbios itself still
loads, since dell-wmi depends on it.

Testing done:
- Build-tested x86-64 and arm64 with all Dell platform drivers enabled.
- Runtime-tested on Dell XPS 16 Creator Edition. Mic mute key is
  working.

Need help testing:
- x86 Dell laptops/desktops for regressions.

Outstanding issues (outside of this series):
- When spamming the keyboard backlight key, then pressing the mic mute
  key, the mic mute event is spammed. This is a multi-part issue between
  the EC and DSDT. I have a DSDT patch to fix this. I will be working
  with Dell to get it resolved.
- When the dell-wmi driver is not loaded and the keyboard backlight
  button is spammed, it will eventually stop working and FF-A
  notifications stop firing. This is likely an issue with the EC's event
  queue filling up and not notifying anymore after being full (since
  there's no consumers). I will be working with Dell to get this
  resolved too.

Brian Mak (8):
  platform/x86: dell: Make uart-backlight x86 only
  platform: dell: Move out of x86 directory
  MAINTAINERS: Add Dell platform drivers entry
  platform: dell: Allow DELL_LAPTOP to be arch-independent
  platform: dell: smbios-wmi: Fix probe on RTX Spark
  platform: dell: smbios: Add quirk for non-functional calling interface
  platform: dell: laptop: Don't load if SMBIOS calls are non-functional
  platform: dell: pc: Don't load if SMBIOS calls are non-functional

 .../admin-guide/laptops/alienware-wmi.rst     |  4 +-
 MAINTAINERS                                   | 36 ++++++++++--------
 drivers/platform/Kconfig                      |  2 +
 drivers/platform/Makefile                     |  1 +
 drivers/platform/{x86 => }/dell/Kconfig       | 21 +++++++----
 drivers/platform/{x86 => }/dell/Makefile      |  4 +-
 .../{x86 => }/dell/alienware-wmi-base.c       |  0
 .../{x86 => }/dell/alienware-wmi-legacy.c     |  0
 .../{x86 => }/dell/alienware-wmi-wmax.c       |  0
 .../platform/{x86 => }/dell/alienware-wmi.h   |  0
 drivers/platform/{x86 => }/dell/dcdbas.c      |  0
 drivers/platform/{x86 => }/dell/dcdbas.h      |  0
 .../{x86 => }/dell/dell-dw5826e-reset.c       |  0
 drivers/platform/{x86 => }/dell/dell-laptop.c |  3 ++
 .../platform/{x86 => }/dell/dell-lis3lv02d.c  |  0
 drivers/platform/{x86 => }/dell/dell-pc.c     |  3 ++
 drivers/platform/{x86 => }/dell/dell-rbtn.c   |  0
 drivers/platform/{x86 => }/dell/dell-rbtn.h   |  0
 .../{x86 => }/dell/dell-smbios-base.c         | 22 +++++++++++
 .../platform/{x86 => }/dell/dell-smbios-smm.c |  0
 .../platform/{x86 => }/dell/dell-smbios-wmi.c | 37 +++++++++++++++----
 drivers/platform/{x86 => }/dell/dell-smbios.h |  1 +
 .../{x86 => }/dell/dell-smo8800-ids.h         |  0
 .../platform/{x86 => }/dell/dell-smo8800.c    |  0
 .../{x86 => }/dell/dell-uart-backlight.c      |  2 +-
 .../platform/{x86 => }/dell/dell-wmi-aio.c    |  0
 .../platform/{x86 => }/dell/dell-wmi-base.c   |  0
 .../platform/{x86 => }/dell/dell-wmi-ddv.c    |  0
 .../{x86 => }/dell/dell-wmi-descriptor.c      |  0
 .../{x86 => }/dell/dell-wmi-descriptor.h      |  0
 .../platform/{x86 => }/dell/dell-wmi-led.c    |  0
 .../{x86 => }/dell/dell-wmi-privacy.c         |  0
 .../{x86 => }/dell/dell-wmi-privacy.h         |  0
 .../{x86 => }/dell/dell-wmi-sysman/Makefile   |  0
 .../dell/dell-wmi-sysman/biosattr-interface.c |  0
 .../dell/dell-wmi-sysman/dell-wmi-sysman.h    |  0
 .../dell/dell-wmi-sysman/enum-attributes.c    |  0
 .../dell/dell-wmi-sysman/int-attributes.c     |  0
 .../dell/dell-wmi-sysman/passobj-attributes.c |  0
 .../dell-wmi-sysman/passwordattr-interface.c  |  0
 .../dell/dell-wmi-sysman/string-attributes.c  |  0
 .../{x86 => }/dell/dell-wmi-sysman/sysman.c   |  0
 drivers/platform/{x86 => }/dell/dell_rbu.c    |  0
 drivers/platform/x86/Kconfig                  |  2 -
 drivers/platform/x86/Makefile                 |  3 --
 .../x86/dell-uart-backlight-emulator/README   |  4 +-
 46 files changed, 103 insertions(+), 42 deletions(-)
 rename drivers/platform/{x86 => }/dell/Kconfig (95%)
 rename drivers/platform/{x86 => }/dell/Makefile (93%)
 rename drivers/platform/{x86 => }/dell/alienware-wmi-base.c (100%)
 rename drivers/platform/{x86 => }/dell/alienware-wmi-legacy.c (100%)
 rename drivers/platform/{x86 => }/dell/alienware-wmi-wmax.c (100%)
 rename drivers/platform/{x86 => }/dell/alienware-wmi.h (100%)
 rename drivers/platform/{x86 => }/dell/dcdbas.c (100%)
 rename drivers/platform/{x86 => }/dell/dcdbas.h (100%)
 rename drivers/platform/{x86 => }/dell/dell-dw5826e-reset.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-laptop.c (99%)
 rename drivers/platform/{x86 => }/dell/dell-lis3lv02d.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-pc.c (99%)
 rename drivers/platform/{x86 => }/dell/dell-rbtn.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-rbtn.h (100%)
 rename drivers/platform/{x86 => }/dell/dell-smbios-base.c (97%)
 rename drivers/platform/{x86 => }/dell/dell-smbios-smm.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-smbios-wmi.c (90%)
 rename drivers/platform/{x86 => }/dell/dell-smbios.h (98%)
 rename drivers/platform/{x86 => }/dell/dell-smo8800-ids.h (100%)
 rename drivers/platform/{x86 => }/dell/dell-smo8800.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-uart-backlight.c (99%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-aio.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-base.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-ddv.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-descriptor.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-descriptor.h (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-led.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-privacy.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-privacy.h (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-sysman/Makefile (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-sysman/biosattr-interface.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-sysman/dell-wmi-sysman.h (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-sysman/enum-attributes.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-sysman/int-attributes.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-sysman/passobj-attributes.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-sysman/passwordattr-interface.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-sysman/string-attributes.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-sysman/sysman.c (100%)
 rename drivers/platform/{x86 => }/dell/dell_rbu.c (100%)


base-commit: d0f871bfb831705d9f55479f5b2b40f636ea7b16
-- 
2.53.0


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH 1/8] platform/x86: dell: Make uart-backlight x86 only
  2026-11-21  0:05 [PATCH 0/8] platform: dell: Move out of x86 and support Dell XPS 16 Creator Edition Brian Mak
@ 2026-11-21  0:05 ` Brian Mak
  2026-11-21  1:36   ` Randy Dunlap
  2026-11-21  0:05 ` [PATCH 2/8] platform: dell: Move out of x86 directory Brian Mak
                   ` (6 subsequent siblings)
  7 siblings, 1 reply; 17+ messages in thread
From: Brian Mak @ 2026-11-21  0:05 UTC (permalink / raw)
  To: Hans de Goede, Ilpo Järvinen
  Cc: Kurt Borja, Stuart Hayes, Matthew Garrett, Pali Rohár,
	Lyndon Sanche, Armin Wolf, Prasanth Ksr, Jonathan Corbet,
	Shuah Khan, Randy Dunlap, platform-driver-x86, Dell.Client.Kernel,
	linux-doc, linux-kernel, Brian Mak

Make dell-uart-backlight x86 only, as it uses some x86 helpers.

Signed-off-by: Brian Mak <bmak@nvidia.com>
---
 drivers/platform/x86/dell/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/platform/x86/dell/Kconfig b/drivers/platform/x86/dell/Kconfig
index 9f0016056d7e..4c28d4c008fc 100644
--- a/drivers/platform/x86/dell/Kconfig
+++ b/drivers/platform/x86/dell/Kconfig
@@ -188,6 +188,7 @@ config DELL_UART_BACKLIGHT
 	depends on ACPI_VIDEO
 	depends on BACKLIGHT_CLASS_DEVICE
 	depends on SERIAL_DEV_BUS
+	depends on X86
 	help
 	  Say Y here if you want to support Dell AIO UART backlight interface.
 	  The Dell AIO machines released after 2017 come with a UART interface
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 2/8] platform: dell: Move out of x86 directory
  2026-11-21  0:05 [PATCH 0/8] platform: dell: Move out of x86 and support Dell XPS 16 Creator Edition Brian Mak
  2026-11-21  0:05 ` [PATCH 1/8] platform/x86: dell: Make uart-backlight x86 only Brian Mak
@ 2026-11-21  0:05 ` Brian Mak
  2026-11-21 10:05   ` kernel test robot
  2026-11-21  0:05 ` [PATCH 3/8] MAINTAINERS: Add Dell platform drivers entry Brian Mak
                   ` (5 subsequent siblings)
  7 siblings, 1 reply; 17+ messages in thread
From: Brian Mak @ 2026-11-21  0:05 UTC (permalink / raw)
  To: Hans de Goede, Ilpo Järvinen
  Cc: Kurt Borja, Stuart Hayes, Matthew Garrett, Pali Rohár,
	Lyndon Sanche, Armin Wolf, Prasanth Ksr, Jonathan Corbet,
	Shuah Khan, Randy Dunlap, platform-driver-x86, Dell.Client.Kernel,
	linux-doc, linux-kernel, Brian Mak

With the introduction of the Dell XPS 16 Creator Edition, Dell platform
drivers are no longer just applicable to x86, but also ARM64. Move Dell
platform drivers out of the x86 directory, so they can be reused for
ARM64.

Rename CONFIG_X86_PLATFORM_DRIVERS_DELL to CONFIG_DELL_PLATFORMS, and
add a transitional config.

Signed-off-by: Brian Mak <bmak@nvidia.com>
---
 .../admin-guide/laptops/alienware-wmi.rst     |  4 +--
 MAINTAINERS                                   | 30 +++++++++----------
 drivers/platform/Kconfig                      |  2 ++
 drivers/platform/Makefile                     |  1 +
 drivers/platform/{x86 => }/dell/Kconfig       | 18 +++++++----
 drivers/platform/{x86 => }/dell/Makefile      |  4 +--
 .../{x86 => }/dell/alienware-wmi-base.c       |  0
 .../{x86 => }/dell/alienware-wmi-legacy.c     |  0
 .../{x86 => }/dell/alienware-wmi-wmax.c       |  0
 .../platform/{x86 => }/dell/alienware-wmi.h   |  0
 drivers/platform/{x86 => }/dell/dcdbas.c      |  0
 drivers/platform/{x86 => }/dell/dcdbas.h      |  0
 .../{x86 => }/dell/dell-dw5826e-reset.c       |  0
 drivers/platform/{x86 => }/dell/dell-laptop.c |  0
 .../platform/{x86 => }/dell/dell-lis3lv02d.c  |  0
 drivers/platform/{x86 => }/dell/dell-pc.c     |  0
 drivers/platform/{x86 => }/dell/dell-rbtn.c   |  0
 drivers/platform/{x86 => }/dell/dell-rbtn.h   |  0
 .../{x86 => }/dell/dell-smbios-base.c         |  0
 .../platform/{x86 => }/dell/dell-smbios-smm.c |  0
 .../platform/{x86 => }/dell/dell-smbios-wmi.c |  0
 drivers/platform/{x86 => }/dell/dell-smbios.h |  0
 .../{x86 => }/dell/dell-smo8800-ids.h         |  0
 .../platform/{x86 => }/dell/dell-smo8800.c    |  0
 .../{x86 => }/dell/dell-uart-backlight.c      |  2 +-
 .../platform/{x86 => }/dell/dell-wmi-aio.c    |  0
 .../platform/{x86 => }/dell/dell-wmi-base.c   |  0
 .../platform/{x86 => }/dell/dell-wmi-ddv.c    |  0
 .../{x86 => }/dell/dell-wmi-descriptor.c      |  0
 .../{x86 => }/dell/dell-wmi-descriptor.h      |  0
 .../platform/{x86 => }/dell/dell-wmi-led.c    |  0
 .../{x86 => }/dell/dell-wmi-privacy.c         |  0
 .../{x86 => }/dell/dell-wmi-privacy.h         |  0
 .../{x86 => }/dell/dell-wmi-sysman/Makefile   |  0
 .../dell/dell-wmi-sysman/biosattr-interface.c |  0
 .../dell/dell-wmi-sysman/dell-wmi-sysman.h    |  0
 .../dell/dell-wmi-sysman/enum-attributes.c    |  0
 .../dell/dell-wmi-sysman/int-attributes.c     |  0
 .../dell/dell-wmi-sysman/passobj-attributes.c |  0
 .../dell-wmi-sysman/passwordattr-interface.c  |  0
 .../dell/dell-wmi-sysman/string-attributes.c  |  0
 .../{x86 => }/dell/dell-wmi-sysman/sysman.c   |  0
 drivers/platform/{x86 => }/dell/dell_rbu.c    |  0
 drivers/platform/x86/Kconfig                  |  2 --
 drivers/platform/x86/Makefile                 |  3 --
 .../x86/dell-uart-backlight-emulator/README   |  4 +--
 46 files changed, 37 insertions(+), 33 deletions(-)
 rename drivers/platform/{x86 => }/dell/Kconfig (96%)
 rename drivers/platform/{x86 => }/dell/Makefile (93%)
 rename drivers/platform/{x86 => }/dell/alienware-wmi-base.c (100%)
 rename drivers/platform/{x86 => }/dell/alienware-wmi-legacy.c (100%)
 rename drivers/platform/{x86 => }/dell/alienware-wmi-wmax.c (100%)
 rename drivers/platform/{x86 => }/dell/alienware-wmi.h (100%)
 rename drivers/platform/{x86 => }/dell/dcdbas.c (100%)
 rename drivers/platform/{x86 => }/dell/dcdbas.h (100%)
 rename drivers/platform/{x86 => }/dell/dell-dw5826e-reset.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-laptop.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-lis3lv02d.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-pc.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-rbtn.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-rbtn.h (100%)
 rename drivers/platform/{x86 => }/dell/dell-smbios-base.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-smbios-smm.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-smbios-wmi.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-smbios.h (100%)
 rename drivers/platform/{x86 => }/dell/dell-smo8800-ids.h (100%)
 rename drivers/platform/{x86 => }/dell/dell-smo8800.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-uart-backlight.c (99%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-aio.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-base.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-ddv.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-descriptor.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-descriptor.h (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-led.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-privacy.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-privacy.h (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-sysman/Makefile (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-sysman/biosattr-interface.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-sysman/dell-wmi-sysman.h (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-sysman/enum-attributes.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-sysman/int-attributes.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-sysman/passobj-attributes.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-sysman/passwordattr-interface.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-sysman/string-attributes.c (100%)
 rename drivers/platform/{x86 => }/dell/dell-wmi-sysman/sysman.c (100%)
 rename drivers/platform/{x86 => }/dell/dell_rbu.c (100%)

diff --git a/Documentation/admin-guide/laptops/alienware-wmi.rst b/Documentation/admin-guide/laptops/alienware-wmi.rst
index e532c60db8e2..2156d46e4b74 100644
--- a/Documentation/admin-guide/laptops/alienware-wmi.rst
+++ b/Documentation/admin-guide/laptops/alienware-wmi.rst
@@ -40,8 +40,8 @@ parameters:
 
 If the module loads successfully with these parameters, consider submitting a
 patch adding your model to the ``awcc_dmi_table`` located in
-``drivers/platform/x86/dell/alienware-wmi-wmax.c`` or contacting the maintainer
-for further guidance.
+``drivers/platform/dell/alienware-wmi-wmax.c`` or contacting the maintainer for
+further guidance.
 
 Status
 ------
diff --git a/MAINTAINERS b/MAINTAINERS
index 3ed1991cac46..0de02594cd30 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -868,7 +868,7 @@ F:	Documentation/ABI/testing/debugfs-alienware-wmi
 F:	Documentation/ABI/testing/sysfs-platform-alienware-wmi
 F:	Documentation/admin-guide/laptops/alienware-wmi.rst
 F:	Documentation/wmi/devices/alienware-wmi.rst
-F:	drivers/platform/x86/dell/alienware-wmi*
+F:	drivers/platform/dell/alienware-wmi*
 
 ALLEGRO DVT VIDEO IP CORE DRIVER
 M:	Michael Tretter <m.tretter@pengutronix.de>
@@ -7452,17 +7452,17 @@ M:	Matthew Garrett <mjg59@srcf.ucam.org>
 M:	Pali Rohár <pali@kernel.org>
 L:	platform-driver-x86@vger.kernel.org
 S:	Maintained
-F:	drivers/platform/x86/dell/dell-laptop.c
+F:	drivers/platform/dell/dell-laptop.c
 
 DELL LAPTOP FREEFALL DRIVER
 M:	Pali Rohár <pali@kernel.org>
 S:	Maintained
-F:	drivers/platform/x86/dell/dell-smo8800.c
+F:	drivers/platform/dell/dell-smo8800.c
 
 DELL LAPTOP RBTN DRIVER
 M:	Pali Rohár <pali@kernel.org>
 S:	Maintained
-F:	drivers/platform/x86/dell/dell-rbtn.*
+F:	drivers/platform/dell/dell-rbtn.*
 
 DELL LAPTOP SMM DRIVER
 M:	Pali Rohár <pali@kernel.org>
@@ -7475,32 +7475,32 @@ DELL PC DRIVER
 M:	Lyndon Sanche <lsanche@lyndeno.ca>
 L:	platform-driver-x86@vger.kernel.org
 S:	Maintained
-F:	drivers/platform/x86/dell/dell-pc.c
+F:	drivers/platform/dell/dell-pc.c
 
 DELL REMOTE BIOS UPDATE DRIVER
 M:	Stuart Hayes <stuart.w.hayes@gmail.com>
 L:	platform-driver-x86@vger.kernel.org
 S:	Maintained
-F:	drivers/platform/x86/dell/dell_rbu.c
+F:	drivers/platform/dell/dell_rbu.c
 
 DELL SMBIOS DRIVER
 M:	Pali Rohár <pali@kernel.org>
 L:	Dell.Client.Kernel@dell.com
 L:	platform-driver-x86@vger.kernel.org
 S:	Maintained
-F:	drivers/platform/x86/dell/dell-smbios.*
+F:	drivers/platform/dell/dell-smbios.*
 
 DELL SMBIOS SMM DRIVER
 L:	Dell.Client.Kernel@dell.com
 L:	platform-driver-x86@vger.kernel.org
 S:	Maintained
-F:	drivers/platform/x86/dell/dell-smbios-smm.c
+F:	drivers/platform/dell/dell-smbios-smm.c
 
 DELL SMBIOS WMI DRIVER
 L:	Dell.Client.Kernel@dell.com
 L:	platform-driver-x86@vger.kernel.org
 S:	Maintained
-F:	drivers/platform/x86/dell/dell-smbios-wmi.c
+F:	drivers/platform/dell/dell-smbios-wmi.c
 F:	tools/wmi/dell-smbios-example.c
 
 DELL SYSTEMS MANAGEMENT BASE DRIVER (dcdbas)
@@ -7508,7 +7508,7 @@ M:	Stuart Hayes <stuart.w.hayes@gmail.com>
 L:	platform-driver-x86@vger.kernel.org
 S:	Maintained
 F:	Documentation/userspace-api/dcdbas.rst
-F:	drivers/platform/x86/dell/dcdbas.*
+F:	drivers/platform/dell/dcdbas.*
 
 DELL WMI DDV DRIVER
 M:	Armin Wolf <W_Armin@gmx.de>
@@ -7516,24 +7516,24 @@ S:	Maintained
 F:	Documentation/ABI/testing/debugfs-dell-wmi-ddv
 F:	Documentation/ABI/testing/sysfs-platform-dell-wmi-ddv
 F:	Documentation/wmi/devices/dell-wmi-ddv.rst
-F:	drivers/platform/x86/dell/dell-wmi-ddv.c
+F:	drivers/platform/dell/dell-wmi-ddv.c
 
 DELL WMI DESCRIPTOR DRIVER
 L:	Dell.Client.Kernel@dell.com
 S:	Maintained
-F:	drivers/platform/x86/dell/dell-wmi-descriptor.c
+F:	drivers/platform/dell/dell-wmi-descriptor.c
 
 DELL WMI HARDWARE PRIVACY SUPPORT
 L:	Dell.Client.Kernel@dell.com
 L:	platform-driver-x86@vger.kernel.org
 S:	Maintained
-F:	drivers/platform/x86/dell/dell-wmi-privacy.c
+F:	drivers/platform/dell/dell-wmi-privacy.c
 
 DELL WMI NOTIFICATIONS DRIVER
 M:	Matthew Garrett <mjg59@srcf.ucam.org>
 M:	Pali Rohár <pali@kernel.org>
 S:	Maintained
-F:	drivers/platform/x86/dell/dell-wmi-base.c
+F:	drivers/platform/dell/dell-wmi-base.c
 
 DELL WMI SYSMAN DRIVER
 M:	Prasanth Ksr <prasanth.ksr@dell.com>
@@ -7541,7 +7541,7 @@ L:	Dell.Client.Kernel@dell.com
 L:	platform-driver-x86@vger.kernel.org
 S:	Maintained
 F:	Documentation/ABI/testing/sysfs-class-firmware-attributes
-F:	drivers/platform/x86/dell/dell-wmi-sysman/
+F:	drivers/platform/dell/dell-wmi-sysman/
 
 DELTA AHE-50DC FAN CONTROL MODULE DRIVER
 M:	Zev Weiss <zev@bewilderbeest.net>
diff --git a/drivers/platform/Kconfig b/drivers/platform/Kconfig
index 312788f249c9..92a395bbd9ab 100644
--- a/drivers/platform/Kconfig
+++ b/drivers/platform/Kconfig
@@ -15,6 +15,8 @@ source "drivers/platform/olpc/Kconfig"
 
 source "drivers/platform/surface/Kconfig"
 
+source "drivers/platform/dell/Kconfig"
+
 source "drivers/platform/x86/Kconfig"
 
 source "drivers/platform/arm64/Kconfig"
diff --git a/drivers/platform/Makefile b/drivers/platform/Makefile
index fa322e7f8716..385c33c94f24 100644
--- a/drivers/platform/Makefile
+++ b/drivers/platform/Makefile
@@ -12,6 +12,7 @@ obj-$(CONFIG_GOLDFISH)		+= goldfish/
 obj-$(CONFIG_CHROME_PLATFORMS)	+= chrome/
 obj-$(CONFIG_CZNIC_PLATFORMS)	+= cznic/
 obj-$(CONFIG_SURFACE_PLATFORMS)	+= surface/
+obj-$(CONFIG_DELL_PLATFORMS)	+= dell/
 obj-$(CONFIG_ARM64_PLATFORM_DEVICES)	+= arm64/
 obj-$(CONFIG_BCM2835_VCHIQ)	+= raspberrypi/
 obj-$(CONFIG_ACPI_WMI)		+= wmi/
diff --git a/drivers/platform/x86/dell/Kconfig b/drivers/platform/dell/Kconfig
similarity index 96%
rename from drivers/platform/x86/dell/Kconfig
rename to drivers/platform/dell/Kconfig
index 4c28d4c008fc..7030f817b6af 100644
--- a/drivers/platform/x86/dell/Kconfig
+++ b/drivers/platform/dell/Kconfig
@@ -1,18 +1,20 @@
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# Dell X86 Platform Specific Drivers
+# Dell Platform Specific Drivers
 #
 
-menuconfig X86_PLATFORM_DRIVERS_DELL
-	bool "Dell X86 Platform Specific Device Drivers"
+menuconfig DELL_PLATFORMS
+	bool "Dell Platform Specific Device Drivers"
+	depends on X86 || ARM64 || COMPILE_TEST
+	default X86_PLATFORM_DRIVERS_DELL
 	help
 	  Say Y here to get to see options for device drivers for various
-	  Dell x86 platforms, including vendor-specific laptop extension drivers.
+	  Dell platforms, including vendor-specific laptop extension drivers.
 	  This option alone does not add any kernel code.
 
 	  If you say N, all options in this submenu will be skipped and disabled.
 
-if X86_PLATFORM_DRIVERS_DELL
+if DELL_PLATFORMS
 
 config ALIENWARE_WMI
 	tristate "Alienware Special feature control"
@@ -282,4 +284,8 @@ config DELL_DW5826E_RESET
 	depends on ACPI
 	help
 	  This adds support for the Dell DW5826e PLDR reset via ACPI
-endif # X86_PLATFORM_DRIVERS_DELL
+endif # DELL_PLATFORMS
+
+config X86_PLATFORM_DRIVERS_DELL
+	bool
+	transitional
diff --git a/drivers/platform/x86/dell/Makefile b/drivers/platform/dell/Makefile
similarity index 93%
rename from drivers/platform/x86/dell/Makefile
rename to drivers/platform/dell/Makefile
index 470874c6e6e6..115511258924 100644
--- a/drivers/platform/x86/dell/Makefile
+++ b/drivers/platform/dell/Makefile
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 #
-# Makefile for linux/drivers/platform/x86/dell
-# Dell x86 Platform-Specific Drivers
+# Makefile for linux/drivers/platform/dell
+# Dell Platform-Specific Drivers
 #
 
 obj-$(CONFIG_ALIENWARE_WMI)			+= alienware-wmi.o
diff --git a/drivers/platform/x86/dell/alienware-wmi-base.c b/drivers/platform/dell/alienware-wmi-base.c
similarity index 100%
rename from drivers/platform/x86/dell/alienware-wmi-base.c
rename to drivers/platform/dell/alienware-wmi-base.c
diff --git a/drivers/platform/x86/dell/alienware-wmi-legacy.c b/drivers/platform/dell/alienware-wmi-legacy.c
similarity index 100%
rename from drivers/platform/x86/dell/alienware-wmi-legacy.c
rename to drivers/platform/dell/alienware-wmi-legacy.c
diff --git a/drivers/platform/x86/dell/alienware-wmi-wmax.c b/drivers/platform/dell/alienware-wmi-wmax.c
similarity index 100%
rename from drivers/platform/x86/dell/alienware-wmi-wmax.c
rename to drivers/platform/dell/alienware-wmi-wmax.c
diff --git a/drivers/platform/x86/dell/alienware-wmi.h b/drivers/platform/dell/alienware-wmi.h
similarity index 100%
rename from drivers/platform/x86/dell/alienware-wmi.h
rename to drivers/platform/dell/alienware-wmi.h
diff --git a/drivers/platform/x86/dell/dcdbas.c b/drivers/platform/dell/dcdbas.c
similarity index 100%
rename from drivers/platform/x86/dell/dcdbas.c
rename to drivers/platform/dell/dcdbas.c
diff --git a/drivers/platform/x86/dell/dcdbas.h b/drivers/platform/dell/dcdbas.h
similarity index 100%
rename from drivers/platform/x86/dell/dcdbas.h
rename to drivers/platform/dell/dcdbas.h
diff --git a/drivers/platform/x86/dell/dell-dw5826e-reset.c b/drivers/platform/dell/dell-dw5826e-reset.c
similarity index 100%
rename from drivers/platform/x86/dell/dell-dw5826e-reset.c
rename to drivers/platform/dell/dell-dw5826e-reset.c
diff --git a/drivers/platform/x86/dell/dell-laptop.c b/drivers/platform/dell/dell-laptop.c
similarity index 100%
rename from drivers/platform/x86/dell/dell-laptop.c
rename to drivers/platform/dell/dell-laptop.c
diff --git a/drivers/platform/x86/dell/dell-lis3lv02d.c b/drivers/platform/dell/dell-lis3lv02d.c
similarity index 100%
rename from drivers/platform/x86/dell/dell-lis3lv02d.c
rename to drivers/platform/dell/dell-lis3lv02d.c
diff --git a/drivers/platform/x86/dell/dell-pc.c b/drivers/platform/dell/dell-pc.c
similarity index 100%
rename from drivers/platform/x86/dell/dell-pc.c
rename to drivers/platform/dell/dell-pc.c
diff --git a/drivers/platform/x86/dell/dell-rbtn.c b/drivers/platform/dell/dell-rbtn.c
similarity index 100%
rename from drivers/platform/x86/dell/dell-rbtn.c
rename to drivers/platform/dell/dell-rbtn.c
diff --git a/drivers/platform/x86/dell/dell-rbtn.h b/drivers/platform/dell/dell-rbtn.h
similarity index 100%
rename from drivers/platform/x86/dell/dell-rbtn.h
rename to drivers/platform/dell/dell-rbtn.h
diff --git a/drivers/platform/x86/dell/dell-smbios-base.c b/drivers/platform/dell/dell-smbios-base.c
similarity index 100%
rename from drivers/platform/x86/dell/dell-smbios-base.c
rename to drivers/platform/dell/dell-smbios-base.c
diff --git a/drivers/platform/x86/dell/dell-smbios-smm.c b/drivers/platform/dell/dell-smbios-smm.c
similarity index 100%
rename from drivers/platform/x86/dell/dell-smbios-smm.c
rename to drivers/platform/dell/dell-smbios-smm.c
diff --git a/drivers/platform/x86/dell/dell-smbios-wmi.c b/drivers/platform/dell/dell-smbios-wmi.c
similarity index 100%
rename from drivers/platform/x86/dell/dell-smbios-wmi.c
rename to drivers/platform/dell/dell-smbios-wmi.c
diff --git a/drivers/platform/x86/dell/dell-smbios.h b/drivers/platform/dell/dell-smbios.h
similarity index 100%
rename from drivers/platform/x86/dell/dell-smbios.h
rename to drivers/platform/dell/dell-smbios.h
diff --git a/drivers/platform/x86/dell/dell-smo8800-ids.h b/drivers/platform/dell/dell-smo8800-ids.h
similarity index 100%
rename from drivers/platform/x86/dell/dell-smo8800-ids.h
rename to drivers/platform/dell/dell-smo8800-ids.h
diff --git a/drivers/platform/x86/dell/dell-smo8800.c b/drivers/platform/dell/dell-smo8800.c
similarity index 100%
rename from drivers/platform/x86/dell/dell-smo8800.c
rename to drivers/platform/dell/dell-smo8800.c
diff --git a/drivers/platform/x86/dell/dell-uart-backlight.c b/drivers/platform/dell/dell-uart-backlight.c
similarity index 99%
rename from drivers/platform/x86/dell/dell-uart-backlight.c
rename to drivers/platform/dell/dell-uart-backlight.c
index bbb270ae3697..da43e25200cd 100644
--- a/drivers/platform/x86/dell/dell-uart-backlight.c
+++ b/drivers/platform/dell/dell-uart-backlight.c
@@ -21,7 +21,7 @@
 #include <linux/types.h>
 #include <linux/wait.h>
 #include <acpi/video.h>
-#include "../serdev_helpers.h"
+#include "../x86/serdev_helpers.h"
 
 /* The backlight controller must respond within 1 second */
 #define DELL_BL_TIMEOUT		msecs_to_jiffies(1000)
diff --git a/drivers/platform/x86/dell/dell-wmi-aio.c b/drivers/platform/dell/dell-wmi-aio.c
similarity index 100%
rename from drivers/platform/x86/dell/dell-wmi-aio.c
rename to drivers/platform/dell/dell-wmi-aio.c
diff --git a/drivers/platform/x86/dell/dell-wmi-base.c b/drivers/platform/dell/dell-wmi-base.c
similarity index 100%
rename from drivers/platform/x86/dell/dell-wmi-base.c
rename to drivers/platform/dell/dell-wmi-base.c
diff --git a/drivers/platform/x86/dell/dell-wmi-ddv.c b/drivers/platform/dell/dell-wmi-ddv.c
similarity index 100%
rename from drivers/platform/x86/dell/dell-wmi-ddv.c
rename to drivers/platform/dell/dell-wmi-ddv.c
diff --git a/drivers/platform/x86/dell/dell-wmi-descriptor.c b/drivers/platform/dell/dell-wmi-descriptor.c
similarity index 100%
rename from drivers/platform/x86/dell/dell-wmi-descriptor.c
rename to drivers/platform/dell/dell-wmi-descriptor.c
diff --git a/drivers/platform/x86/dell/dell-wmi-descriptor.h b/drivers/platform/dell/dell-wmi-descriptor.h
similarity index 100%
rename from drivers/platform/x86/dell/dell-wmi-descriptor.h
rename to drivers/platform/dell/dell-wmi-descriptor.h
diff --git a/drivers/platform/x86/dell/dell-wmi-led.c b/drivers/platform/dell/dell-wmi-led.c
similarity index 100%
rename from drivers/platform/x86/dell/dell-wmi-led.c
rename to drivers/platform/dell/dell-wmi-led.c
diff --git a/drivers/platform/x86/dell/dell-wmi-privacy.c b/drivers/platform/dell/dell-wmi-privacy.c
similarity index 100%
rename from drivers/platform/x86/dell/dell-wmi-privacy.c
rename to drivers/platform/dell/dell-wmi-privacy.c
diff --git a/drivers/platform/x86/dell/dell-wmi-privacy.h b/drivers/platform/dell/dell-wmi-privacy.h
similarity index 100%
rename from drivers/platform/x86/dell/dell-wmi-privacy.h
rename to drivers/platform/dell/dell-wmi-privacy.h
diff --git a/drivers/platform/x86/dell/dell-wmi-sysman/Makefile b/drivers/platform/dell/dell-wmi-sysman/Makefile
similarity index 100%
rename from drivers/platform/x86/dell/dell-wmi-sysman/Makefile
rename to drivers/platform/dell/dell-wmi-sysman/Makefile
diff --git a/drivers/platform/x86/dell/dell-wmi-sysman/biosattr-interface.c b/drivers/platform/dell/dell-wmi-sysman/biosattr-interface.c
similarity index 100%
rename from drivers/platform/x86/dell/dell-wmi-sysman/biosattr-interface.c
rename to drivers/platform/dell/dell-wmi-sysman/biosattr-interface.c
diff --git a/drivers/platform/x86/dell/dell-wmi-sysman/dell-wmi-sysman.h b/drivers/platform/dell/dell-wmi-sysman/dell-wmi-sysman.h
similarity index 100%
rename from drivers/platform/x86/dell/dell-wmi-sysman/dell-wmi-sysman.h
rename to drivers/platform/dell/dell-wmi-sysman/dell-wmi-sysman.h
diff --git a/drivers/platform/x86/dell/dell-wmi-sysman/enum-attributes.c b/drivers/platform/dell/dell-wmi-sysman/enum-attributes.c
similarity index 100%
rename from drivers/platform/x86/dell/dell-wmi-sysman/enum-attributes.c
rename to drivers/platform/dell/dell-wmi-sysman/enum-attributes.c
diff --git a/drivers/platform/x86/dell/dell-wmi-sysman/int-attributes.c b/drivers/platform/dell/dell-wmi-sysman/int-attributes.c
similarity index 100%
rename from drivers/platform/x86/dell/dell-wmi-sysman/int-attributes.c
rename to drivers/platform/dell/dell-wmi-sysman/int-attributes.c
diff --git a/drivers/platform/x86/dell/dell-wmi-sysman/passobj-attributes.c b/drivers/platform/dell/dell-wmi-sysman/passobj-attributes.c
similarity index 100%
rename from drivers/platform/x86/dell/dell-wmi-sysman/passobj-attributes.c
rename to drivers/platform/dell/dell-wmi-sysman/passobj-attributes.c
diff --git a/drivers/platform/x86/dell/dell-wmi-sysman/passwordattr-interface.c b/drivers/platform/dell/dell-wmi-sysman/passwordattr-interface.c
similarity index 100%
rename from drivers/platform/x86/dell/dell-wmi-sysman/passwordattr-interface.c
rename to drivers/platform/dell/dell-wmi-sysman/passwordattr-interface.c
diff --git a/drivers/platform/x86/dell/dell-wmi-sysman/string-attributes.c b/drivers/platform/dell/dell-wmi-sysman/string-attributes.c
similarity index 100%
rename from drivers/platform/x86/dell/dell-wmi-sysman/string-attributes.c
rename to drivers/platform/dell/dell-wmi-sysman/string-attributes.c
diff --git a/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c b/drivers/platform/dell/dell-wmi-sysman/sysman.c
similarity index 100%
rename from drivers/platform/x86/dell/dell-wmi-sysman/sysman.c
rename to drivers/platform/dell/dell-wmi-sysman/sysman.c
diff --git a/drivers/platform/x86/dell/dell_rbu.c b/drivers/platform/dell/dell_rbu.c
similarity index 100%
rename from drivers/platform/x86/dell/dell_rbu.c
rename to drivers/platform/dell/dell_rbu.c
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index 9ce384e0475e..42ffe63d0a39 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -392,8 +392,6 @@ config EEEPC_WMI
 	  If you have an ACPI-WMI compatible Eee PC laptop (>= 1000), say Y or M
 	  here.
 
-source "drivers/platform/x86/dell/Kconfig"
-
 config AMILO_RFKILL
 	tristate "Fujitsu-Siemens Amilo rfkill support"
 	depends on RFKILL
diff --git a/drivers/platform/x86/Makefile b/drivers/platform/x86/Makefile
index 229057234d00..3bb983a641ca 100644
--- a/drivers/platform/x86/Makefile
+++ b/drivers/platform/x86/Makefile
@@ -44,9 +44,6 @@ obj-$(CONFIG_AYANEO_EC)		+= ayaneo-ec.o
 # Cisco/Meraki
 obj-$(CONFIG_MERAKI_MX100)	+= meraki-mx100.o
 
-# Dell
-obj-$(CONFIG_X86_PLATFORM_DRIVERS_DELL)		+= dell/
-
 # Fujitsu
 obj-$(CONFIG_AMILO_RFKILL)	+= amilo-rfkill.o
 obj-$(CONFIG_FUJITSU_LAPTOP)	+= fujitsu-laptop.o
diff --git a/tools/arch/x86/dell-uart-backlight-emulator/README b/tools/arch/x86/dell-uart-backlight-emulator/README
index c0d8e52046ee..d38d91abcf8c 100644
--- a/tools/arch/x86/dell-uart-backlight-emulator/README
+++ b/tools/arch/x86/dell-uart-backlight-emulator/README
@@ -13,8 +13,8 @@ With the DELL0501 indicating that we are dealing with an UART with
 the backlight controller board attached.
 
 This small emulator allows testing
-the drivers/platform/x86/dell/dell-uart-backlight.c driver without access
-to an actual Dell All In One.
+the drivers/platform/dell/dell-uart-backlight.c driver without access to
+an actual Dell All In One.
 
 This requires:
 1. A (desktop) PC with a 16550 UART on the motherboard and a standard DB9
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 3/8] MAINTAINERS: Add Dell platform drivers entry
  2026-11-21  0:05 [PATCH 0/8] platform: dell: Move out of x86 and support Dell XPS 16 Creator Edition Brian Mak
  2026-11-21  0:05 ` [PATCH 1/8] platform/x86: dell: Make uart-backlight x86 only Brian Mak
  2026-11-21  0:05 ` [PATCH 2/8] platform: dell: Move out of x86 directory Brian Mak
@ 2026-11-21  0:05 ` Brian Mak
  2026-11-21  0:05 ` [PATCH 4/8] platform: dell: Allow DELL_LAPTOP to be arch-independent Brian Mak
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 17+ messages in thread
From: Brian Mak @ 2026-11-21  0:05 UTC (permalink / raw)
  To: Hans de Goede, Ilpo Järvinen
  Cc: Kurt Borja, Stuart Hayes, Matthew Garrett, Pali Rohár,
	Lyndon Sanche, Armin Wolf, Prasanth Ksr, Jonathan Corbet,
	Shuah Khan, Randy Dunlap, platform-driver-x86, Dell.Client.Kernel,
	linux-doc, linux-kernel, Brian Mak

Add an entry for the now-moved Dell platform drivers, so that misc files
like the Kconfig and Makefile are covered.

Signed-off-by: Brian Mak <bmak@nvidia.com>
---
 MAINTAINERS | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/MAINTAINERS b/MAINTAINERS
index 0de02594cd30..d058da22a9c7 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -7477,6 +7477,12 @@ L:	platform-driver-x86@vger.kernel.org
 S:	Maintained
 F:	drivers/platform/dell/dell-pc.c
 
+DELL PLATFORM DRIVERS
+L:	Dell.Client.Kernel@dell.com
+L:	platform-driver-x86@vger.kernel.org
+S:	Maintained
+F:	drivers/platform/dell/
+
 DELL REMOTE BIOS UPDATE DRIVER
 M:	Stuart Hayes <stuart.w.hayes@gmail.com>
 L:	platform-driver-x86@vger.kernel.org
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 4/8] platform: dell: Allow DELL_LAPTOP to be arch-independent
  2026-11-21  0:05 [PATCH 0/8] platform: dell: Move out of x86 and support Dell XPS 16 Creator Edition Brian Mak
                   ` (2 preceding siblings ...)
  2026-11-21  0:05 ` [PATCH 3/8] MAINTAINERS: Add Dell platform drivers entry Brian Mak
@ 2026-11-21  0:05 ` Brian Mak
  2026-11-21  0:48   ` Pali Rohár
  2026-11-21  1:38   ` Randy Dunlap
  2026-11-21  0:05 ` [PATCH 5/8] platform: dell: smbios-wmi: Fix probe on RTX Spark Brian Mak
                   ` (3 subsequent siblings)
  7 siblings, 2 replies; 17+ messages in thread
From: Brian Mak @ 2026-11-21  0:05 UTC (permalink / raw)
  To: Hans de Goede, Ilpo Järvinen
  Cc: Kurt Borja, Stuart Hayes, Matthew Garrett, Pali Rohár,
	Lyndon Sanche, Armin Wolf, Prasanth Ksr, Jonathan Corbet,
	Shuah Khan, Randy Dunlap, platform-driver-x86, Dell.Client.Kernel,
	linux-doc, linux-kernel, Brian Mak

CONFIG_DELL_LAPTOP is currently not available on ARM64, due to a
dependency on CONFIG_SERIO_I8042. This dependency is actually not
necessary, as there is a fallback. Make it optional.

Signed-off-by: Brian Mak <bmak@nvidia.com>
---
 drivers/platform/dell/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/platform/dell/Kconfig b/drivers/platform/dell/Kconfig
index 7030f817b6af..0223e2373508 100644
--- a/drivers/platform/dell/Kconfig
+++ b/drivers/platform/dell/Kconfig
@@ -77,7 +77,7 @@ config DELL_LAPTOP
 	depends on ACPI_VIDEO || ACPI_VIDEO = n
 	depends on RFKILL || RFKILL = n
 	depends on DELL_WMI || DELL_WMI = n
-	depends on SERIO_I8042
+	depends on SERIO_I8042 || SERIO_I8042 = n
 	depends on DELL_SMBIOS
 	select POWER_SUPPLY
 	select LEDS_CLASS
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 5/8] platform: dell: smbios-wmi: Fix probe on RTX Spark
  2026-11-21  0:05 [PATCH 0/8] platform: dell: Move out of x86 and support Dell XPS 16 Creator Edition Brian Mak
                   ` (3 preceding siblings ...)
  2026-11-21  0:05 ` [PATCH 4/8] platform: dell: Allow DELL_LAPTOP to be arch-independent Brian Mak
@ 2026-11-21  0:05 ` Brian Mak
  2026-11-21  0:05 ` [PATCH 6/8] platform: dell: smbios: Add quirk for non-functional calling interface Brian Mak
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 17+ messages in thread
From: Brian Mak @ 2026-11-21  0:05 UTC (permalink / raw)
  To: Hans de Goede, Ilpo Järvinen
  Cc: Kurt Borja, Stuart Hayes, Matthew Garrett, Pali Rohár,
	Lyndon Sanche, Armin Wolf, Prasanth Ksr, Jonathan Corbet,
	Shuah Khan, Randy Dunlap, platform-driver-x86, Dell.Client.Kernel,
	linux-doc, linux-kernel, Brian Mak

dell-smbios-wmi fails to probe on RTX Spark due to a hardcoded SMBIOS
handle (0xB100) of type 0xB1 (misc BIOS flags) that is numbered
differently on Dell RTX Spark laptops. Instead, search for all SMBIOS
handles of type 0xB1, and if there is just one, use that one. If handle
0xB100 exists, always use that.

This fixes dell-smbios-wmi probe on Dell RTX Spark laptops.

Signed-off-by: Brian Mak <bmak@nvidia.com>
---
 drivers/platform/dell/dell-smbios-wmi.c | 37 +++++++++++++++++++------
 1 file changed, 29 insertions(+), 8 deletions(-)

diff --git a/drivers/platform/dell/dell-smbios-wmi.c b/drivers/platform/dell/dell-smbios-wmi.c
index 7a5c6d7730ab..ff859d9039b9 100644
--- a/drivers/platform/dell/dell-smbios-wmi.c
+++ b/drivers/platform/dell/dell-smbios-wmi.c
@@ -273,7 +273,13 @@ static const struct wmi_device_id dell_smbios_wmi_id_table[] = {
 	{ },
 };
 
-static void parse_b1_table(const struct dmi_header *dm)
+struct b1_search {
+	bool found_b100;
+	unsigned int count;
+	u16 flags0;
+};
+
+static void parse_b1_table(const struct dmi_header *dm, struct b1_search *search)
 {
 	struct misc_bios_flags_structure *flags =
 	container_of(dm, struct misc_bios_flags_structure, header);
@@ -281,17 +287,21 @@ static void parse_b1_table(const struct dmi_header *dm)
 	/* 4 bytes header, 8 bytes flags */
 	if (dm->length < 12)
 		return;
-	if (dm->handle != 0xb100)
-		return;
-	if ((flags->flags0 & FLAG_HAS_ACPI_WMI))
-		wmi_supported = 1;
+
+	search->count++;
+	if (dm->handle == 0xb100) {
+		search->found_b100 = true;
+		search->flags0 = flags->flags0;
+	} else if (!search->found_b100) {
+		search->flags0 = flags->flags0;
+	}
 }
 
-static void find_b1(const struct dmi_header *dm, void *dummy)
+static void find_b1(const struct dmi_header *dm, void *data)
 {
 	switch (dm->type) {
 	case 0xb1: /* misc bios flags */
-		parse_b1_table(dm);
+		parse_b1_table(dm, data);
 		break;
 	}
 }
@@ -308,7 +318,18 @@ static struct wmi_driver dell_smbios_wmi_driver = {
 
 int init_dell_smbios_wmi(void)
 {
-	dmi_walk(find_b1, NULL);
+	struct b1_search search = {};
+
+	dmi_walk(find_b1, &search);
+
+	/*
+	 * Dell x86 firmware places the misc BIOS flags at handle 0xb100. However,
+	 * with RTX Spark, it is not at handle 0xb100, so fall back to the only type
+	 * 0xb1 handle present if there is only one.
+	 */
+	if ((search.found_b100 || search.count == 1) &&
+	    (search.flags0 & FLAG_HAS_ACPI_WMI))
+		wmi_supported = 1;
 
 	if (!wmi_supported)
 		return -ENODEV;
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 6/8] platform: dell: smbios: Add quirk for non-functional calling interface
  2026-11-21  0:05 [PATCH 0/8] platform: dell: Move out of x86 and support Dell XPS 16 Creator Edition Brian Mak
                   ` (4 preceding siblings ...)
  2026-11-21  0:05 ` [PATCH 5/8] platform: dell: smbios-wmi: Fix probe on RTX Spark Brian Mak
@ 2026-11-21  0:05 ` Brian Mak
  2026-11-21  0:38   ` Pali Rohár
  2026-11-21  0:05 ` [PATCH 7/8] platform: dell: laptop: Don't load if SMBIOS calls are non-functional Brian Mak
  2026-11-21  0:05 ` [PATCH 8/8] platform: dell: pc: " Brian Mak
  7 siblings, 1 reply; 17+ messages in thread
From: Brian Mak @ 2026-11-21  0:05 UTC (permalink / raw)
  To: Hans de Goede, Ilpo Järvinen
  Cc: Kurt Borja, Stuart Hayes, Matthew Garrett, Pali Rohár,
	Lyndon Sanche, Armin Wolf, Prasanth Ksr, Jonathan Corbet,
	Shuah Khan, Randy Dunlap, platform-driver-x86, Dell.Client.Kernel,
	linux-doc, linux-kernel, Brian Mak

On Dell RTX Spark laptops, the SMBIOS calling interface completes every
request with an all-zero buffer, even for requests that should fail.
Drivers that rely on it, such as dell-laptop and dell-pc, end up
reporting bogus state, like battery charge modes and thermal modes.

Add a DMI quirk list for platforms with a non-functional calling
interface, and export dell_smbios_calls_functional() so that consumers
can avoid loading on them. dell-smbios itself still loads, as dell-wmi
depends on it.

Signed-off-by: Brian Mak <bmak@nvidia.com>
---
 drivers/platform/dell/dell-smbios-base.c | 22 ++++++++++++++++++++++
 drivers/platform/dell/dell-smbios.h      |  1 +
 2 files changed, 23 insertions(+)

diff --git a/drivers/platform/dell/dell-smbios-base.c b/drivers/platform/dell/dell-smbios-base.c
index c8e93c12c445..e07cbb0e8a6a 100644
--- a/drivers/platform/dell/dell-smbios-base.c
+++ b/drivers/platform/dell/dell-smbios-base.c
@@ -390,6 +390,28 @@ bool dell_smbios_class_is_supported(u16 class)
 }
 EXPORT_SYMBOL_GPL(dell_smbios_class_is_supported);
 
+/*
+ * Some Dell firmware completes its proprietary SMBIOS calls with all zeroes,
+ * so any value read through it (tokens, battery and thermal modes)
+ * is invalid.
+ */
+static const struct dmi_system_id dell_smbios_calls_broken_list[] = {
+	{
+		.ident = "Dell XPS 16 DX16263",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "XPS 16 DX16263"),
+		},
+	},
+	{ }
+};
+
+bool dell_smbios_calls_functional(void)
+{
+	return !dmi_check_system(dell_smbios_calls_broken_list);
+}
+EXPORT_SYMBOL_GPL(dell_smbios_calls_functional);
+
 static void __init parse_da_table(const struct dmi_header *dm)
 {
 	/* Final token is a terminator, so we don't want to copy it */
diff --git a/drivers/platform/dell/dell-smbios.h b/drivers/platform/dell/dell-smbios.h
index 1e64803bc00d..26f54364ffde 100644
--- a/drivers/platform/dell/dell-smbios.h
+++ b/drivers/platform/dell/dell-smbios.h
@@ -89,6 +89,7 @@ int dell_laptop_register_notifier(struct notifier_block *nb);
 int dell_laptop_unregister_notifier(struct notifier_block *nb);
 void dell_laptop_call_notifier(unsigned long action, void *data);
 bool dell_smbios_class_is_supported(u16 class);
+bool dell_smbios_calls_functional(void);
 
 /* for the supported backends */
 #ifdef CONFIG_DELL_SMBIOS_WMI
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 7/8] platform: dell: laptop: Don't load if SMBIOS calls are non-functional
  2026-11-21  0:05 [PATCH 0/8] platform: dell: Move out of x86 and support Dell XPS 16 Creator Edition Brian Mak
                   ` (5 preceding siblings ...)
  2026-11-21  0:05 ` [PATCH 6/8] platform: dell: smbios: Add quirk for non-functional calling interface Brian Mak
@ 2026-11-21  0:05 ` Brian Mak
  2026-11-21  0:05 ` [PATCH 8/8] platform: dell: pc: " Brian Mak
  7 siblings, 0 replies; 17+ messages in thread
From: Brian Mak @ 2026-11-21  0:05 UTC (permalink / raw)
  To: Hans de Goede, Ilpo Järvinen
  Cc: Kurt Borja, Stuart Hayes, Matthew Garrett, Pali Rohár,
	Lyndon Sanche, Armin Wolf, Prasanth Ksr, Jonathan Corbet,
	Shuah Khan, Randy Dunlap, platform-driver-x86, Dell.Client.Kernel,
	linux-doc, linux-kernel, Brian Mak

dell-laptop relies on the SMBIOS calling interface for all of its
functionality. On platforms where the interface returns all-zero
buffers, dell-laptop reports bogus battery charge modes and thresholds,
and registers mute and mic mute LEDs that do nothing.

Don't load dell-laptop on these platforms.

Signed-off-by: Brian Mak <bmak@nvidia.com>
---
 drivers/platform/dell/dell-laptop.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/platform/dell/dell-laptop.c b/drivers/platform/dell/dell-laptop.c
index 89e85c7f7132..7bf51b9cb03b 100644
--- a/drivers/platform/dell/dell-laptop.c
+++ b/drivers/platform/dell/dell-laptop.c
@@ -2464,6 +2464,9 @@ static int __init dell_init(void)
 	if (!dmi_check_system(dell_device_table))
 		return -ENODEV;
 
+	if (!dell_smbios_calls_functional())
+		return -ENODEV;
+
 	quirks = NULL;
 	/* find if this machine support other functions */
 	dmi_check_system(dell_quirks);
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 8/8] platform: dell: pc: Don't load if SMBIOS calls are non-functional
  2026-11-21  0:05 [PATCH 0/8] platform: dell: Move out of x86 and support Dell XPS 16 Creator Edition Brian Mak
                   ` (6 preceding siblings ...)
  2026-11-21  0:05 ` [PATCH 7/8] platform: dell: laptop: Don't load if SMBIOS calls are non-functional Brian Mak
@ 2026-11-21  0:05 ` Brian Mak
  7 siblings, 0 replies; 17+ messages in thread
From: Brian Mak @ 2026-11-21  0:05 UTC (permalink / raw)
  To: Hans de Goede, Ilpo Järvinen
  Cc: Kurt Borja, Stuart Hayes, Matthew Garrett, Pali Rohár,
	Lyndon Sanche, Armin Wolf, Prasanth Ksr, Jonathan Corbet,
	Shuah Khan, Randy Dunlap, platform-driver-x86, Dell.Client.Kernel,
	linux-doc, linux-kernel, Brian Mak

dell-pc relies on the SMBIOS calling interface for thermal modes. On
platforms where the interface returns all-zero buffers, dell-pc reads
no current thermal mode, and fails with "platform_profile probe failed".

Don't load dell-pc on these platforms.

Signed-off-by: Brian Mak <bmak@nvidia.com>
---
 drivers/platform/dell/dell-pc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/platform/dell/dell-pc.c b/drivers/platform/dell/dell-pc.c
index becdd9aaef29..4f361ec01b29 100644
--- a/drivers/platform/dell/dell-pc.c
+++ b/drivers/platform/dell/dell-pc.c
@@ -282,6 +282,9 @@ static int __init dell_init(void)
 	if (!dmi_check_system(dell_device_table))
 		return -ENODEV;
 
+	if (!dell_smbios_calls_functional())
+		return -ENODEV;
+
 	dell_pc_fdev = faux_device_create("dell-pc", NULL, &dell_pc_faux_ops);
 	if (!dell_pc_fdev)
 		return -ENODEV;
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* Re: [PATCH 6/8] platform: dell: smbios: Add quirk for non-functional calling interface
  2026-11-21  0:05 ` [PATCH 6/8] platform: dell: smbios: Add quirk for non-functional calling interface Brian Mak
@ 2026-11-21  0:38   ` Pali Rohár
  2026-11-21  0:45     ` Brian Mak
  0 siblings, 1 reply; 17+ messages in thread
From: Pali Rohár @ 2026-11-21  0:38 UTC (permalink / raw)
  To: Brian Mak
  Cc: Hans de Goede, Ilpo Järvinen, Kurt Borja, Stuart Hayes,
	Matthew Garrett, Lyndon Sanche, Armin Wolf, Prasanth Ksr,
	Jonathan Corbet, Shuah Khan, Randy Dunlap, platform-driver-x86,
	Dell.Client.Kernel, linux-doc, linux-kernel

On Friday 20 November 2026 16:05:52 Brian Mak wrote:
> On Dell RTX Spark laptops, the SMBIOS calling interface completes every
> request with an all-zero buffer, even for requests that should fail.
> Drivers that rely on it, such as dell-laptop and dell-pc, end up
> reporting bogus state, like battery charge modes and thermal modes.

Hello, is Dell aware of this firmware issue? And it is going to be fixed?

> Add a DMI quirk list for platforms with a non-functional calling
> interface, and export dell_smbios_calls_functional() so that consumers
> can avoid loading on them. dell-smbios itself still loads, as dell-wmi
> depends on it.
> 
> Signed-off-by: Brian Mak <bmak@nvidia.com>
> ---
>  drivers/platform/dell/dell-smbios-base.c | 22 ++++++++++++++++++++++
>  drivers/platform/dell/dell-smbios.h      |  1 +
>  2 files changed, 23 insertions(+)
> 
> diff --git a/drivers/platform/dell/dell-smbios-base.c b/drivers/platform/dell/dell-smbios-base.c
> index c8e93c12c445..e07cbb0e8a6a 100644
> --- a/drivers/platform/dell/dell-smbios-base.c
> +++ b/drivers/platform/dell/dell-smbios-base.c
> @@ -390,6 +390,28 @@ bool dell_smbios_class_is_supported(u16 class)
>  }
>  EXPORT_SYMBOL_GPL(dell_smbios_class_is_supported);
>  
> +/*
> + * Some Dell firmware completes its proprietary SMBIOS calls with all zeroes,
> + * so any value read through it (tokens, battery and thermal modes)
> + * is invalid.
> + */
> +static const struct dmi_system_id dell_smbios_calls_broken_list[] = {
> +	{
> +		.ident = "Dell XPS 16 DX16263",
> +		.matches = {
> +			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> +			DMI_MATCH(DMI_PRODUCT_NAME, "XPS 16 DX16263"),
> +		},
> +	},
> +	{ }
> +};
> +
> +bool dell_smbios_calls_functional(void)
> +{
> +	return !dmi_check_system(dell_smbios_calls_broken_list);
> +}
> +EXPORT_SYMBOL_GPL(dell_smbios_calls_functional);
> +
>  static void __init parse_da_table(const struct dmi_header *dm)
>  {
>  	/* Final token is a terminator, so we don't want to copy it */
> diff --git a/drivers/platform/dell/dell-smbios.h b/drivers/platform/dell/dell-smbios.h
> index 1e64803bc00d..26f54364ffde 100644
> --- a/drivers/platform/dell/dell-smbios.h
> +++ b/drivers/platform/dell/dell-smbios.h
> @@ -89,6 +89,7 @@ int dell_laptop_register_notifier(struct notifier_block *nb);
>  int dell_laptop_unregister_notifier(struct notifier_block *nb);
>  void dell_laptop_call_notifier(unsigned long action, void *data);
>  bool dell_smbios_class_is_supported(u16 class);
> +bool dell_smbios_calls_functional(void);
>  
>  /* for the supported backends */
>  #ifdef CONFIG_DELL_SMBIOS_WMI
> -- 
> 2.53.0
> 

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 6/8] platform: dell: smbios: Add quirk for non-functional calling interface
  2026-11-21  0:38   ` Pali Rohár
@ 2026-11-21  0:45     ` Brian Mak
  2026-11-21  0:51       ` Pali Rohár
  0 siblings, 1 reply; 17+ messages in thread
From: Brian Mak @ 2026-11-21  0:45 UTC (permalink / raw)
  To: Pali Rohár
  Cc: Hans de Goede, Ilpo Järvinen, Kurt Borja, Stuart Hayes,
	Matthew Garrett, Lyndon Sanche, Armin Wolf, Prasanth Ksr,
	Jonathan Corbet, Shuah Khan, Randy Dunlap,
	platform-driver-x86@vger.kernel.org, Dell.Client.Kernel@dell.com,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org

On 11/20/26 16:38, Pali Rohár wrote:
> On Friday 20 November 2026 16:05:52 Brian Mak wrote:
>> On Dell RTX Spark laptops, the SMBIOS calling interface completes every
>> request with an all-zero buffer, even for requests that should fail.
>> Drivers that rely on it, such as dell-laptop and dell-pc, end up
>> reporting bogus state, like battery charge modes and thermal modes.
> 
> Hello, is Dell aware of this firmware issue? And it is going to be fixed?

I will be reporting this to Dell and will update back when I hear back.

Thanks,
Brian

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 4/8] platform: dell: Allow DELL_LAPTOP to be arch-independent
  2026-11-21  0:05 ` [PATCH 4/8] platform: dell: Allow DELL_LAPTOP to be arch-independent Brian Mak
@ 2026-11-21  0:48   ` Pali Rohár
  2026-11-21  1:38   ` Randy Dunlap
  1 sibling, 0 replies; 17+ messages in thread
From: Pali Rohár @ 2026-11-21  0:48 UTC (permalink / raw)
  To: Brian Mak
  Cc: Hans de Goede, Ilpo Järvinen, Kurt Borja, Stuart Hayes,
	Matthew Garrett, Lyndon Sanche, Armin Wolf, Prasanth Ksr,
	Jonathan Corbet, Shuah Khan, Randy Dunlap, platform-driver-x86,
	Dell.Client.Kernel, linux-doc, linux-kernel

On Friday 20 November 2026 16:05:50 Brian Mak wrote:
> CONFIG_DELL_LAPTOP is currently not available on ARM64, due to a
> dependency on CONFIG_SERIO_I8042. This dependency is actually not
> necessary, as there is a fallback. Make it optional.

i8042 is used for controlling touchpad LED and for receiving rfkill
events when the dell-rbtn is not supported on the particular machine.

Touchpad led is available on more Vostro and Inspirion machines and
there is no fallback or detection of i8042 at all. Even there is no
error checking.

And for receiving rfkill events it is same situation.

So the dell-laptop driver expects that the SERIO_I8042 is enabled and
compiled in.

If none of these functionality is available on arm64 HW, then it makes
sense to make the SERIO_I8042 only for x86. And then in the dell-laptop
driver marking the x86 specific dependency via ifdefs. Which allows to
compile driver on arm64 without those specific functionalities.

> Signed-off-by: Brian Mak <bmak@nvidia.com>
> ---
>  drivers/platform/dell/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/platform/dell/Kconfig b/drivers/platform/dell/Kconfig
> index 7030f817b6af..0223e2373508 100644
> --- a/drivers/platform/dell/Kconfig
> +++ b/drivers/platform/dell/Kconfig
> @@ -77,7 +77,7 @@ config DELL_LAPTOP
>  	depends on ACPI_VIDEO || ACPI_VIDEO = n
>  	depends on RFKILL || RFKILL = n
>  	depends on DELL_WMI || DELL_WMI = n
> -	depends on SERIO_I8042
> +	depends on SERIO_I8042 || SERIO_I8042 = n
>  	depends on DELL_SMBIOS
>  	select POWER_SUPPLY
>  	select LEDS_CLASS
> -- 
> 2.53.0
> 

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 6/8] platform: dell: smbios: Add quirk for non-functional calling interface
  2026-11-21  0:45     ` Brian Mak
@ 2026-11-21  0:51       ` Pali Rohár
  0 siblings, 0 replies; 17+ messages in thread
From: Pali Rohár @ 2026-11-21  0:51 UTC (permalink / raw)
  To: Brian Mak
  Cc: Hans de Goede, Ilpo Järvinen, Kurt Borja, Stuart Hayes,
	Matthew Garrett, Lyndon Sanche, Armin Wolf, Prasanth Ksr,
	Jonathan Corbet, Shuah Khan, Randy Dunlap,
	platform-driver-x86@vger.kernel.org, Dell.Client.Kernel@dell.com,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org

On Saturday 21 November 2026 00:45:05 Brian Mak wrote:
> On 11/20/26 16:38, Pali Rohár wrote:
> > On Friday 20 November 2026 16:05:52 Brian Mak wrote:
> >> On Dell RTX Spark laptops, the SMBIOS calling interface completes every
> >> request with an all-zero buffer, even for requests that should fail.
> >> Drivers that rely on it, such as dell-laptop and dell-pc, end up
> >> reporting bogus state, like battery charge modes and thermal modes.
> > 
> > Hello, is Dell aware of this firmware issue? And it is going to be fixed?
> 
> I will be reporting this to Dell and will update back when I hear back.
> 
> Thanks,
> Brian

Perfect, thank you! It is important to report any such issue because lot
of times hardware / firmware developers do not know about such issues
which linux driver development uncover. This also helps with maintenance
of linux drivers, because there is a chance that new models would have
bugs fixed and the list of affected machines in driver would not grow up.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 1/8] platform/x86: dell: Make uart-backlight x86 only
  2026-11-21  0:05 ` [PATCH 1/8] platform/x86: dell: Make uart-backlight x86 only Brian Mak
@ 2026-11-21  1:36   ` Randy Dunlap
  2026-11-21  1:36     ` Randy Dunlap
  0 siblings, 1 reply; 17+ messages in thread
From: Randy Dunlap @ 2026-11-21  1:36 UTC (permalink / raw)
  To: Brian Mak, Hans de Goede, Ilpo Järvinen
  Cc: Kurt Borja, Stuart Hayes, Matthew Garrett, Pali Rohár,
	Lyndon Sanche, Armin Wolf, Prasanth Ksr, Jonathan Corbet,
	Shuah Khan, platform-driver-x86, Dell.Client.Kernel, linux-doc,
	linux-kernel



On 11/20/26 4:05 PM, Brian Mak wrote:
> Make dell-uart-backlight x86 only, as it uses some x86 helpers.
> 
> Signed-off-by: Brian Mak <bmak@nvidia.com>
> ---
>  drivers/platform/x86/dell/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/platform/x86/dell/Kconfig b/drivers/platform/x86/dell/Kconfig
> index 9f0016056d7e..4c28d4c008fc 100644
> --- a/drivers/platform/x86/dell/Kconfig
> +++ b/drivers/platform/x86/dell/Kconfig
> @@ -188,6 +188,7 @@ config DELL_UART_BACKLIGHT
>  	depends on ACPI_VIDEO
>  	depends on BACKLIGHT_CLASS_DEVICE
>  	depends on SERIAL_DEV_BUS
> +	depends on X86

DELL_UART_BACKLIGHT already depends on
X86_PLATFORM_DEVICES && X86_PLATFORM_DRIVERS_DELL, and
X86_PLATFORM_DEVICES depends on X86, so this should not
be needed.
Have you found a problem that you are trying to solve
with this?

>  	help
>  	  Say Y here if you want to support Dell AIO UART backlight interface.
>  	  The Dell AIO machines released after 2017 come with a UART interface

-- 
~Randy


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 1/8] platform/x86: dell: Make uart-backlight x86 only
  2026-11-21  1:36   ` Randy Dunlap
@ 2026-11-21  1:36     ` Randy Dunlap
  0 siblings, 0 replies; 17+ messages in thread
From: Randy Dunlap @ 2026-11-21  1:36 UTC (permalink / raw)
  To: Brian Mak, Hans de Goede, Ilpo Järvinen
  Cc: Kurt Borja, Stuart Hayes, Matthew Garrett, Pali Rohár,
	Lyndon Sanche, Armin Wolf, Prasanth Ksr, Jonathan Corbet,
	Shuah Khan, platform-driver-x86, Dell.Client.Kernel, linux-doc,
	linux-kernel



On 11/20/26 5:36 PM, Randy Dunlap wrote:
> 
> 
> On 11/20/26 4:05 PM, Brian Mak wrote:
>> Make dell-uart-backlight x86 only, as it uses some x86 helpers.
>>
>> Signed-off-by: Brian Mak <bmak@nvidia.com>
>> ---
>>  drivers/platform/x86/dell/Kconfig | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/platform/x86/dell/Kconfig b/drivers/platform/x86/dell/Kconfig
>> index 9f0016056d7e..4c28d4c008fc 100644
>> --- a/drivers/platform/x86/dell/Kconfig
>> +++ b/drivers/platform/x86/dell/Kconfig
>> @@ -188,6 +188,7 @@ config DELL_UART_BACKLIGHT
>>  	depends on ACPI_VIDEO
>>  	depends on BACKLIGHT_CLASS_DEVICE
>>  	depends on SERIAL_DEV_BUS
>> +	depends on X86
> 
> DELL_UART_BACKLIGHT already depends on
> X86_PLATFORM_DEVICES && X86_PLATFORM_DRIVERS_DELL, and
> X86_PLATFORM_DEVICES depends on X86, so this should not
> be needed.
> Have you found a problem that you are trying to solve
> with this?

Aha, see patch 2!

> 
>>  	help
>>  	  Say Y here if you want to support Dell AIO UART backlight interface.
>>  	  The Dell AIO machines released after 2017 come with a UART interface
> 

-- 
~Randy


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 4/8] platform: dell: Allow DELL_LAPTOP to be arch-independent
  2026-11-21  0:05 ` [PATCH 4/8] platform: dell: Allow DELL_LAPTOP to be arch-independent Brian Mak
  2026-11-21  0:48   ` Pali Rohár
@ 2026-11-21  1:38   ` Randy Dunlap
  1 sibling, 0 replies; 17+ messages in thread
From: Randy Dunlap @ 2026-11-21  1:38 UTC (permalink / raw)
  To: Brian Mak, Hans de Goede, Ilpo Järvinen
  Cc: Kurt Borja, Stuart Hayes, Matthew Garrett, Pali Rohár,
	Lyndon Sanche, Armin Wolf, Prasanth Ksr, Jonathan Corbet,
	Shuah Khan, platform-driver-x86, Dell.Client.Kernel, linux-doc,
	linux-kernel



On 11/20/26 4:05 PM, Brian Mak wrote:
> CONFIG_DELL_LAPTOP is currently not available on ARM64, due to a
> dependency on CONFIG_SERIO_I8042. This dependency is actually not
> necessary, as there is a fallback. Make it optional.
> 
> Signed-off-by: Brian Mak <bmak@nvidia.com>
> ---
>  drivers/platform/dell/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/platform/dell/Kconfig b/drivers/platform/dell/Kconfig
> index 7030f817b6af..0223e2373508 100644
> --- a/drivers/platform/dell/Kconfig
> +++ b/drivers/platform/dell/Kconfig
> @@ -77,7 +77,7 @@ config DELL_LAPTOP
>  	depends on ACPI_VIDEO || ACPI_VIDEO = n
>  	depends on RFKILL || RFKILL = n
>  	depends on DELL_WMI || DELL_WMI = n
> -	depends on SERIO_I8042
> +	depends on SERIO_I8042 || SERIO_I8042 = n

Could also be
	depends on SERIO_I8042 if SERIO_I8042

>  	depends on DELL_SMBIOS
>  	select POWER_SUPPLY
>  	select LEDS_CLASS

-- 
~Randy


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 2/8] platform: dell: Move out of x86 directory
  2026-11-21  0:05 ` [PATCH 2/8] platform: dell: Move out of x86 directory Brian Mak
@ 2026-11-21 10:05   ` kernel test robot
  0 siblings, 0 replies; 17+ messages in thread
From: kernel test robot @ 2026-11-21 10:05 UTC (permalink / raw)
  To: Brian Mak, Hans de Goede, Ilpo Järvinen
  Cc: oe-kbuild-all, Kurt Borja, Stuart Hayes, Matthew Garrett,
	Pali Rohár, Lyndon Sanche, Armin Wolf, Prasanth Ksr,
	Jonathan Corbet, Shuah Khan, Randy Dunlap, platform-driver-x86,
	Dell.Client.Kernel, linux-doc, linux-kernel, Brian Mak

Hi Brian,

kernel test robot noticed the following build warnings:

[auto build test WARNING on d0f871bfb831705d9f55479f5b2b40f636ea7b16]

url:    https://github.com/intel-lab-lkp/linux/commits/Brian-Mak/platform-x86-dell-Make-uart-backlight-x86-only/20261120-160547
base:   d0f871bfb831705d9f55479f5b2b40f636ea7b16
patch link:    https://lore.kernel.org/r/20261121000556.173028-3-bmak%40nvidia.com
patch subject: [PATCH 2/8] platform: dell: Move out of x86 directory
config: x86_64-rhel-9.4 (https://download.01.org/0day-ci/archive/20261121/202611211817.BLHa92e0-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261121/202611211817.BLHa92e0-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202611211817.BLHa92e0-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> Warning: drivers/platform/dell/dcdbas.c:103 function parameter 'size' not described in 'smi_data_buf_realloc'
>> Warning: drivers/platform/dell/dcdbas.c:284 function parameter 'smi_cmd' not described in 'dcdbas_smi_request'
>> Warning: drivers/platform/dell/dcdbas.c:316 function parameter 'dev' not described in 'smi_request_store'
>> Warning: drivers/platform/dell/dcdbas.c:316 function parameter 'attr' not described in 'smi_request_store'
>> Warning: drivers/platform/dell/dcdbas.c:316 function parameter 'buf' not described in 'smi_request_store'
>> Warning: drivers/platform/dell/dcdbas.c:316 function parameter 'count' not described in 'smi_request_store'
>> Warning: drivers/platform/dell/dcdbas.c:615 function parameter 'nb' not described in 'dcdbas_reboot_notify'
>> Warning: drivers/platform/dell/dcdbas.c:615 function parameter 'code' not described in 'dcdbas_reboot_notify'
>> Warning: drivers/platform/dell/dcdbas.c:615 function parameter 'unused' not described in 'dcdbas_reboot_notify'
>> Warning: drivers/platform/dell/dcdbas.c:103 function parameter 'size' not described in 'smi_data_buf_realloc'
>> Warning: drivers/platform/dell/dcdbas.c:284 function parameter 'smi_cmd' not described in 'dcdbas_smi_request'
>> Warning: drivers/platform/dell/dcdbas.c:316 function parameter 'dev' not described in 'smi_request_store'
>> Warning: drivers/platform/dell/dcdbas.c:316 function parameter 'attr' not described in 'smi_request_store'
>> Warning: drivers/platform/dell/dcdbas.c:316 function parameter 'buf' not described in 'smi_request_store'
>> Warning: drivers/platform/dell/dcdbas.c:316 function parameter 'count' not described in 'smi_request_store'
>> Warning: drivers/platform/dell/dcdbas.c:615 function parameter 'nb' not described in 'dcdbas_reboot_notify'
>> Warning: drivers/platform/dell/dcdbas.c:615 function parameter 'code' not described in 'dcdbas_reboot_notify'
>> Warning: drivers/platform/dell/dcdbas.c:615 function parameter 'unused' not described in 'dcdbas_reboot_notify'

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2026-11-21 10:05 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-21  0:05 [PATCH 0/8] platform: dell: Move out of x86 and support Dell XPS 16 Creator Edition Brian Mak
2026-11-21  0:05 ` [PATCH 1/8] platform/x86: dell: Make uart-backlight x86 only Brian Mak
2026-11-21  1:36   ` Randy Dunlap
2026-11-21  1:36     ` Randy Dunlap
2026-11-21  0:05 ` [PATCH 2/8] platform: dell: Move out of x86 directory Brian Mak
2026-11-21 10:05   ` kernel test robot
2026-11-21  0:05 ` [PATCH 3/8] MAINTAINERS: Add Dell platform drivers entry Brian Mak
2026-11-21  0:05 ` [PATCH 4/8] platform: dell: Allow DELL_LAPTOP to be arch-independent Brian Mak
2026-11-21  0:48   ` Pali Rohár
2026-11-21  1:38   ` Randy Dunlap
2026-11-21  0:05 ` [PATCH 5/8] platform: dell: smbios-wmi: Fix probe on RTX Spark Brian Mak
2026-11-21  0:05 ` [PATCH 6/8] platform: dell: smbios: Add quirk for non-functional calling interface Brian Mak
2026-11-21  0:38   ` Pali Rohár
2026-11-21  0:45     ` Brian Mak
2026-11-21  0:51       ` Pali Rohár
2026-11-21  0:05 ` [PATCH 7/8] platform: dell: laptop: Don't load if SMBIOS calls are non-functional Brian Mak
2026-11-21  0:05 ` [PATCH 8/8] platform: dell: pc: " Brian Mak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox