Linux Documentation
 help / color / mirror / Atom feed
From: Brian Mak <bmak@nvidia.com>
To: "Hans de Goede" <hansg@kernel.org>,
	"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
	"Armin Wolf" <W_Armin@gmx.de>, "Pali Rohár" <pali@kernel.org>
Cc: David Cemin <dcemin@nvidia.com>,
	Lucas De Marchi <ldemarchi@nvidia.com>,
	Kurt Borja <kuurtb@gmail.com>,
	Stuart Hayes <stuart.w.hayes@gmail.com>,
	Matthew Garrett <mjg59@srcf.ucam.org>,
	Lyndon Sanche <lsanche@lyndeno.ca>,
	Prasanth Ksr <prasanth.ksr@dell.com>,
	Jonathan Corbet <corbet@lwn.net>,
	Shuah Khan <skhan@linuxfoundation.org>,
	Randy Dunlap <rdunlap@infradead.org>,
	"platform-driver-x86@vger.kernel.org"
	<platform-driver-x86@vger.kernel.org>,
	"Dell.Client.Kernel@dell.com" <Dell.Client.Kernel@dell.com>,
	"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 00/10] platform: dell: Move out of x86 and support Dell XPS 16 Creator Edition
Date: Mon, 30 Nov 2026 21:01:02 +0000	[thread overview]
Message-ID: <a83a5834-0f5b-402b-8677-5e96a9b40b02@nvidia.com> (raw)
In-Reply-To: <20261123230905.13899-1-bmak@nvidia.com>

On 11/23/26 15:08, Brian Mak wrote:
> 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.
> 
> Patch 2 fixes pre-existing kernel-doc warnings in dcdbas, which the
> kernel test robot reported as new against v1 because of the rename.
> 
> Patches 3-4 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.
> 
> Patches 5-6 make DELL_LAPTOP buildable without SERIO_I8042. Patch 5
> compiles out dell-laptop's i8042 usage (the touchpad LED and the rfkill
> event fallback) when SERIO_I8042 is disabled. When neither dell-rbtn nor
> i8042 is available, it skips rfkill instead of failing to load. Patch 6
> then relaxes the dependency to SERIO_I8042 || SERIO_I8042 = n.
> 
> Patch 7 fixes dell-smbios-wmi probe on the XPS 16 Creator Edition. The
> current driver only accepts the misc BIOS flags structure (SMBIOS type
> 0xB1) at handle 0xB100, but the XPS 16 Creator Edition firmware numbers
> its handles differently. The handle value is irrelevant, so match on the
> type only.
> 
> Patches 8-10 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 8 adds a DMI quirk list and
> exports dell_smbios_calls_functional(). Patches 9-10 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.
> - Build-tested x86-64 with SERIO_I8042 disabled.
> - 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.
> 
> Changes in v2:
> - New patch 2: add missing kernel-doc parameter descriptions to dcdbas.
>    These W=1 warnings predate the series, but the kernel test robot
>    reported them against the move in v1 because the path changed.
> - New patch 5: compile out dell-laptop's i8042 usage (touchpad LED and
>    rfkill event fallback) when SERIO_I8042 is disabled, and skip rfkill
>    instead of failing to probe when neither dell-rbtn nor i8042 is
>    available on Latitude and Precision models.
> - Patch 6: reword the commit message. The dependency can now be optional
>    because of patch 5. No code changes.
> - Patch 7: drop the special handling of handle 0xB100 and match on SMBIOS
>    type 0xB1 only.
> 
> v1: https://lore.kernel.org/lkml/20261121000556.173028-1-bmak@nvidia.com/T/#u
> 
> Brian Mak (10):
>    platform/x86: dell: Make uart-backlight x86 only
>    platform/x86: dell: dcdbas: Add missing kernel-doc descriptions
>    platform: dell: Move out of x86 directory
>    MAINTAINERS: Add Dell platform drivers entry
>    platform: dell: laptop: Compile out i8042 usage without SERIO_I8042
>    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      | 11 +++++-
>   drivers/platform/{x86 => }/dell/dcdbas.h      |  0
>   .../{x86 => }/dell/dell-dw5826e-reset.c       |  0
>   drivers/platform/{x86 => }/dell/dell-laptop.c | 23 +++++++++---
>   .../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 |  2 --
>   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, 100 insertions(+), 41 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 (97%)
>   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 (99%)
>   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: b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f

Hey Armin and Pali,

Just following up, did you two have any more comments on v2?

Thanks,
Brian

  parent reply	other threads:[~2026-11-30 21:01 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 23:08 [PATCH v2 00/10] platform: dell: Move out of x86 and support Dell XPS 16 Creator Edition Brian Mak
2026-11-23 23:08 ` [PATCH v2 01/10] platform/x86: dell: Make uart-backlight x86 only Brian Mak
2026-11-23 23:08 ` [PATCH v2 02/10] platform/x86: dell: dcdbas: Add missing kernel-doc descriptions Brian Mak
2026-11-23 23:08 ` [PATCH v2 03/10] platform: dell: Move out of x86 directory Brian Mak
2026-11-23 23:08 ` [PATCH v2 04/10] MAINTAINERS: Add Dell platform drivers entry Brian Mak
2026-11-23 23:08 ` [PATCH v2 05/10] platform: dell: laptop: Compile out i8042 usage without SERIO_I8042 Brian Mak
2026-11-23 23:08 ` [PATCH v2 06/10] platform: dell: Allow DELL_LAPTOP to be arch-independent Brian Mak
2026-11-23 23:08 ` [PATCH v2 07/10] platform: dell: smbios-wmi: Fix probe on RTX Spark Brian Mak
2026-11-23 23:08 ` [PATCH v2 08/10] platform: dell: smbios: Add quirk for non-functional calling interface Brian Mak
2026-11-23 23:09 ` [PATCH v2 09/10] platform: dell: laptop: Don't load if SMBIOS calls are non-functional Brian Mak
2026-11-23 23:09 ` [PATCH v2 10/10] platform: dell: pc: " Brian Mak
2026-11-30 21:01 ` Brian Mak [this message]
2026-11-30 21:14 ` [PATCH v2 00/10] platform: dell: Move out of x86 and support Dell XPS 16 Creator Edition Mario Limonciello
2026-11-30 21:46   ` Brian Mak
2026-11-30 21:49     ` Mario Limonciello
2026-11-30 21:53       ` Brian Mak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a83a5834-0f5b-402b-8677-5e96a9b40b02@nvidia.com \
    --to=bmak@nvidia.com \
    --cc=Dell.Client.Kernel@dell.com \
    --cc=W_Armin@gmx.de \
    --cc=corbet@lwn.net \
    --cc=dcemin@nvidia.com \
    --cc=hansg@kernel.org \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=kuurtb@gmail.com \
    --cc=ldemarchi@nvidia.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lsanche@lyndeno.ca \
    --cc=mjg59@srcf.ucam.org \
    --cc=pali@kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=prasanth.ksr@dell.com \
    --cc=rdunlap@infradead.org \
    --cc=skhan@linuxfoundation.org \
    --cc=stuart.w.hayes@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox