mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] ACPI: Work around Samsung Galaxy Book 930XDB firmware errors
@ 2026-10-19 14:54 Leonard Lausen
  2026-10-19 14:54 ` [PATCH 1/3] ACPICA: Initialize ParserState.AmlEnd in AcpiInstallMethod Leonard Lausen
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Leonard Lausen @ 2026-10-19 14:54 UTC (permalink / raw)
  To: linux-acpi, Rafael J. Wysocki
  Cc: leonard, Maciej Wieczor-Retman, Pawel Chmielewski, acpica-devel,
	Len Brown, Armin Wolf, Ivan Hu, Joshua Grisham, linux-kernel

This series addresses two firmware errors on my Samsung Galaxy Book
930XDB (NP930XDB-KF2US): repeated FAN0._FST errors when the fan is running,
and a wrong namespace lookup in PEG0._STA.

The tested system identifies itself as:
  System vendor: SAMSUNG ELECTRONICS CO., LTD.
  Product name: 930XDB/931XDB/930XDY
  BIOS version: P11RFX.067.230331.SP (03/31/2023)

Patch 1 ports Ivan Hu's already accepted ACPICA parser fix [1]. This is a
prerequisite for patch 3, which uses acpi_install_method() to replace
PEG0._STA before namespace initialization evaluates it. Patch 2 skips the
broken fan status method and its notification handling while preserving
legacy fan control. Both firmware quirks match the vendor and full DMI
product string.

Testing on this machine includes a successful Linux 7.3 (7.3.0+) boot
with both quirks enabled. I have also been running the original versions
of these fixes during general laptop use, including suspend/resume, and
fan behavior has been fine.

Additional validation during preparation:
  - All five changed C files build on x86_64 with W=1.
  - All patches pass scripts/checkpatch.pl --strict.
  - acpiexec fixtures reproduce the original PEG0 lookup error and verify
    that the replacement returns 0 or 0x0f according to the root PG0E field.
  - A fixture of FAN0._FST reproduces the reference/Add error at nonzero
    speed and confirms that the zero-speed path can succeed.

A separate platform/x86 patch accepts notification 0x71 in the Samsung
Galaxy Book driver. It has no dependency on this ACPI series.

[1] https://github.com/open-acpica/acpica/commit/19429ef91ebfb2144c918038dce13e297b4ef051

Ivan Hu (1):
  ACPICA: Initialize ParserState.AmlEnd in AcpiInstallMethod

Leonard Lausen (2):
  ACPI: fan: Ignore broken _FST on Samsung Galaxy Book 930XDB
  ACPI: x86: Repair broken PEG0._STA on Samsung Galaxy Book 930XDB

 drivers/acpi/acpica/nsxfname.c |  1 +
 drivers/acpi/bus.c             |  2 ++
 drivers/acpi/fan_core.c        | 31 +++++++++++++++++---
 drivers/acpi/x86/utils.c       | 53 ++++++++++++++++++++++++++++++++++
 include/acpi/acpi_bus.h        |  2 ++
 5 files changed, 85 insertions(+), 4 deletions(-)


base-commit: c03c1a14507dfaf8b856c2608f9ac216021fc222
-- 
2.55.0


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

end of thread, other threads:[~2026-10-22 18:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-19 14:54 [PATCH 0/3] ACPI: Work around Samsung Galaxy Book 930XDB firmware errors Leonard Lausen
2026-10-19 14:54 ` [PATCH 1/3] ACPICA: Initialize ParserState.AmlEnd in AcpiInstallMethod Leonard Lausen
2026-10-22 18:10   ` Rafael J. Wysocki (Intel)
2026-10-19 14:54 ` [PATCH 2/3] ACPI: fan: Ignore broken _FST on Samsung Galaxy Book 930XDB Leonard Lausen
2026-10-22 18:31   ` Armin Wolf
2026-10-19 14:54 ` [PATCH 3/3] ACPI: x86: Repair broken PEG0._STA " Leonard Lausen

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

all inboxes | Powered by JetHome®