Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.48 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795900374; b=mJJvunnqE2GQNTN35HamsPtRTBYDwV3FFxJDjJ3BlxKhqGI2oxHqi2zbJTStnqIuxKBU 8tGIZ6a8BsoypsvHJT1ta7DCoyoSLSva5mUj3jZXy/WXoj4x45y2OT+YiqQWXBK81aGwz cQsgMhkALY8Pju1VsO8GQ/f5kyG9HUTli0J6X2S0GFW075fm8QVqQOJ2iOI244Mop07YV BIGLc6TymyLmrh9U3wEt/cC5sWVEKvoZEv+Gq80XvUU2wK9gsSk4RQ3xq53U78tNmz2Xx I+6kFz6VlYFiUKSMDOvafSvaM8x1SPDHv+0pIdUmLuF2DvMVyioxQel6A454rGxOXmg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795900374; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Gm-Gg:X-Received:Received:Message-ID:Date: MIME-Version:User-Agent:Subject:To:References:Content-Language:From: In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=eWxIMPi/ZbloX8widk8z/I207NQOouBhqbZiTcueKr4=; b=oa30SLgHT98ZdK6zT2VzivQAODqZxhmmjy/N0g579pFfaFXI9HgfICOcpIGf5n0z27aU RMxsk5XqWkXy5liME2UcNlyi245UEv6+lHu37k9dxo3VqxxfiBe+k391wReae+pNvXvAr AxMqboM/SnfOYRMbIXaqiOGNNY1hTt4JW0BrrwAcKoWcEUp37aunrrY9l9vy77UeYcM7l gZzFq8kKJF3kggTnk/K391g8gexMqp63tb/Zn61qgHMGOSEO0anba9h0gjiCvOXjl3bPX C4WKfAYVvrtyQow+wK1eVGzeKJl5ObaGGI6UMGbfS1J4MNxrubyc9aTAaf+hZuZFvRA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=jFhgWUN5; arc=none smtp.remote-ip=209.85.128.48 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B4286606A31C for ; Sat, 28 Nov 2026 21:12:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B4286606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=jFhgWUN5 Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-4a2153c8525so74451255e9.3 for ; Sat, 28 Nov 2026 13:12:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795900372; x=1796505172; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to:content-type; bh=eWxIMPi/ZbloX8widk8z/I207NQOouBhqbZiTcueKr4=; b=jFhgWUN5h9TVz26kiODg56H55Dx0VLv3MlNBp1yaBpSJ2hHTkiMzaCSqfb6G2qgkeC jzz+H6RGVM2V8yXYbNzG4/M54OgQ66hfvXX32NkZQTiq4siTcXs+OsH3TQa3BdD4nRrE TuBowQin0QK/BKPnkEidAUkyW2T/iOtoY+Y5SE+/a4232Amx3tgcrMG0JIGIayT+bwdx jEAf5Fz65UIs3DZ6ZSfdf7K2sEwHAp3Tjb3tVNYWFUmz+3tFVRXrJXebZ8+A6Z5MwmG1 /TuymddvT52JIFUwkWWoWVj/BcoUG9c4KIedWvloK69otGI4l6AWIlYYd+k7nfYW84q8 HGgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795900372; x=1796505172; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=eWxIMPi/ZbloX8widk8z/I207NQOouBhqbZiTcueKr4=; b=z8m0q44g1Dy+gTyRv8NG7WEYFH+iRJZaCxspqvnuESaOjw1uJawv9blVaLkjBoDsug HAFWa4AiIGVfadO4LeBbtk39pmsRQM/Tc2XeVhtwgQBGhEsHYs/Gqpu5LjpQzlMEL4H3 fQ2MesOxNs5c+x5byVU933/KovWuSU8s/tQo/Ax0AuvpifHVdgp+sjfXgPIj9eD+jDbr 9iRxj1nnKTjkM9abGjiWCWtI1eDoP1srE2haUIQZZvrSjb/cwol1XlgAWWwsV7OjZ3bu 4QOtAxzZKdTrXJnV308Y/5GBAs9yzRGsruXDaNJjEkIOVqqngCUTb7dClfT5HOZXpp47 BgSQ== X-Gm-Message-State: APuU4Z9+PHSM9SCQMFA1HmfIOoDnaYvNu5Kqzbn5o9h1JbPPmJAcTHV6 erwNgr2F2ycA5rViqD8BVkVbSuL335pNZ6w9ZMnLd31j3dPqpMWREnw6c7wP3g== X-Gm-Gg: AZFdTZfiJsGMdeN6ipQ5/StcVKmXZ1+LvFb1NHer7J5G0rYGqd7FlrCkzpQ2I3noSnz MD4rosXrvEjWNzD3CCQotv69U6p0iJgHxDmxZNY+tMt0C+mq08k1QD5apkeG7Ah7kVIC5S2MFzR JGeJaHFsk7iB1xiHcW2KiaebH/sjzywsqQ1nl6j9zJgXQstYgwxz2UUvJjrfmr+AzrYTKet9POm A5MS1hES2VTZdUaB7X5dgaBOg8KHw/wXxkt8nyJpO8JWUKMQzdTuMxUE0F3NvB+QrRhxNPqzNPS nwKZ+LH7JPLpgNUORkbOHoVn1STTVYIlkoHVnB+DYc2p7e0VU1jrR0LrSnkBPl3hDkHT3bZGmA5 VQsLTUJOa9qB0AEXNfKlj7A4toxOQHocswad1sUDEaI53FGO2eHQu/AK5R1tKUb+Rkj8Lzh40G2 8LxO2hOENcFvNfFyGkv0Wf8/3rBRJlCv6tkqYi1ctbc18bv3sjSqbK+SzvqP7Dkx4Zvw3FQR8lw y/tizgq3lceB//91hZ7AnNuVL9sFPkr4wyAkoNzJfNVIXiuO4nqiM6Mx6iw/xe26SGQELhqSJY4 t4VHkOSZe+sCF4oA6olLqsbq5/xxIPcUbAXkLlIWiwxVvpr/PoyeFLR9lApm5sga2YSZvhy7jEV GuVW64uFkttQ= X-Received: by 2002:a05:600d:6512:20b0:4bb:be79:27 with SMTP id 5b1f17b1804b1-4bbbe79013bmr29813305e9.29.1795900371873; Sat, 28 Nov 2026 13:12:51 -0800 (PST) Received: from ?IPV6:2a0c:d242:901e:5e00:b1bd:f932:3d1c:3638? ([2a0c:d242:901e:5e00:b1bd:f932:3d1c:3638]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab658e2d60sm56129512f8f.3.2026.11.28.13.12.51 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 28 Nov 2026 13:12:51 -0800 (PST) Message-ID: <328605b4-c092-4038-a723-927cc4cc27a6@gmail.com> Date: Sat, 28 Nov 2026 22:12:50 +0100 X-Mailing-List: linux-acpi@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [BUG] ACPI: fan: Broken FAN0._FST on Samsung Galaxy Book5 Pro 360 (960QHA) To: linux-acpi@vger.kernel.org References: <1dab8610-d369-4eb8-af3d-9bf5591f49ac@gmail.com> Content-Language: de-DE From: Christopher Bormann In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hello Leonard, thank you very much for your quick response and for pointing me towards the ACPICA fix. I will investigate building a separate patched kernel while preserving my current working Ubuntu kernel and DKMS configuration. I also noticed that the corresponding Linux kernel patch was submitted on November 20, 2026. I will test whether the fix resolves the AE_AML_OPERAND_TYPE error and whether the AE_AML_PACKAGE_LIMIT error still occurs. For reference, I have also submitted an Ubuntu bug report: https://bugs.launchpad.net/bugs/2178322 I will report back with my findings. Thank you again for your help! Best regards, Christopher Am 28.11.26 um 21:42 schrieb Leonard Lausen: > Hello Christopher, > > you can try building a custom kernel with > https://github.com/open-acpica/acpica/commit/76a97a6a44a2cb08cc005523e94497ac57ffad2a > fix applied. > > Best regards > Leonard > > Am 28.11.26 um 19:15 schrieb Christopher Bormann: >> Hello Leonard and Linux ACPI developers, >> >> I would like to report a reproducible ACPI fan status issue affecting >> the Samsung Galaxy Book5 Pro 360 (960QHA). >> >> The issue causes recurring ACPI errors during normal operation, fan >> status changes and hardware monitoring. The physical fans appear to >> operate correctly, but the ACPI fan status method fails with >> AE_AML_OPERAND_TYPE and, occasionally, AE_AML_PACKAGE_LIMIT. >> >> *1. Hardware and software environment* >> >>   * >> >>     Manufacturer: SAMSUNG ELECTRONICS CO., LTD. >> >>   * >> >>     Model: Samsung Galaxy Book5 Pro 360 >> >>   * >> >>     DMI product name: 960QHA >> >>   * >> >>     DMI product version: P17ALY >> >>   * >> >>     Processor: Intel Core Ultra 7 256V >> >>   * >> >>     BIOS version: P17ALY.390.260616.03 >> >>   * >> >>     BIOS date: 2026-06-16 >> >>   * >> >>     Distribution: Ubuntu 26.04.1 LTS >> >>   * >> >>     Kernel: 7.0.0-43-generic >> >>   * >> >>     Architecture: x86_64 >> >>   * >> >>     ACPICA version reported in kernel errors: 20251212 >> >>   * >> >>     Secure Boot: enabled >> >>   * >> >>     Kernel lockdown: integrity >> >>   * >> >>     Samsung Galaxy Book driver: in-tree samsung_galaxybook >> >>   * >> >>     Current platform profile: performance >> >> No custom ACPI kernel parameters are in use. >> >> The system also uses out-of-tree DKMS modules for camera, audio and >> video functionality. No causal relationship between these modules and >> the ACPI issue has been established. >> >> *2. Problem description* >> >> The ACPI fan driver repeatedly reports failures while evaluating: >> >> |\_SB.PC00.LPCB.FAN0._FST| >> >> The following error occurs frequently: >> >> |ACPI Error: Needed [Integer/String/Buffer], found [Reference] >> (20251212/exresop-388) ACPI Error: AE_AML_OPERAND_TYPE, While >> resolving operands for [Add] (20251212/dswexec-433) ACPI Error: >> Aborting method \_SB.PC00.LPCB.FAN0._FST due to previous error >> (AE_AML_OPERAND_TYPE) acpi-fan PNP0C0B:00: Error retrieving current >> fan status: -5| >> >> An additional error occasionally occurs: >> >> |ACPI BIOS Error (bug): AE_AML_PACKAGE_LIMIT, Index (0x000000005) is >> beyond end of object (length 0x4) (20251212/exoparg2-393) ACPI Error: >> Aborting method \_SB.PC00.LPCB.FAN0._FST due to previous error >> (AE_AML_PACKAGE_LIMIT)| >> >> These errors occur both during explicit hardware monitoring and >> independently of periodic sensor polling. >> >> *3. Steps to reproduce* >> >> 1. >> >>     Boot Ubuntu using kernel 7.0.0-43-generic. >> >> 2. >> >>     Allow the system to reach a temperature or workload at which the >>     fans are active. >> >> 3. >> >>     Read the ACPI fan speed attribute: >> >> |for hw in /sys/class/hwmon/hwmon*; do if [ "$(cat "$hw/name")" = >> "acpi_fan" ]; then cat "$hw/fan1_input" fi done| >> >> 4. >> >>     Inspect the kernel log: >> >> |sudo journalctl -k -b --no-pager| >> >> Fan status notifications can also trigger the errors without manually >> reading the sensor. >> >> *4. Expected behavior* >> >> The ACPI fan status method should return a valid fan status package, >> or the driver should gracefully handle unavailable fan speed >> information. >> >> Invalid AML operands and out-of-bounds package accesses should not >> generate recurring kernel errors. >> >> *5. Actual behavior* >> >>   * >> >>     Fan speed telemetry is unreliable. >> >>   * >> >>     The _FST method aborts with ACPI interpreter errors. >> >>   * >> >>     Fan status notifications can generate repeated kernel log messages. >> >>   * >> >>     Physical fans remain operational based on observed fan noise and >>     thermal behavior. >> >> *6. Firmware analysis* >> >> I extracted the ACPI tables using acpidump and acpixtract and >> disassembled the DSDT using iasl version 20251212. >> >> The relevant firmware code is located in: >> >> |\_SB.PC00.LPCB.FAN0| >> >> The fan lookup table is defined as: >> >> |Name (FANT, Package (0x04) { 0x0DAC, 0x0EE2, 0x1144, 0x127A })| >> >> The status package is defined as: >> >> |Name (SFST, Package (0x03) { Zero, 0xFFFFFFFF, 0xFFFFFFFF })| >> >> The complete relevant _FST method is: >> >> |Method (_FST, 0, Serialized) { Local0 = ^^H_EC.FANS Switch >> (ToInteger (Local0)) { Case (One) { Local0 = One } Case (0x02) { >> Local0 = 0x02 } Case (0x03) { Local0 = 0x03 } Case (0x04) { Local0 = >> 0x03 } Case (0x05) { Local0 = 0x04 } } SFST [One] = Local0 If >> ((Local0 == Zero)) { SFST [0x02] = Local0 } Else { Local0-- Local1 = >> FANT [Local0] Local1 += 0x0A SFST [0x02] = Local1 } Return (SFST) }| >> >> The embedded controller defines FANS as a four-bit field: >> >> |Offset (0x87), FANS, 4,| >> >> Two potential issues are apparent: >> >> A. Reference operand handling >> >> The expression: >> >> |Local1 = FANT [Local0] Local1 += 0x0A| >> >> appears consistent with the observed AE_AML_OPERAND_TYPE error. >> >> Explicit dereferencing may be relevant, although I have not tested a >> modified method. It is unclear whether this behavior should be >> attributed to firmware AML or ACPICA reference handling. >> >> B. Missing bounds checking >> >> The FANS field can represent values from 0 to 15, but the switch >> explicitly handles only values from 1 to 5, with zero handled >> separately. >> >> An unexpected value such as 6 would remain unchanged, be decremented >> to 5 and then be used as an index into the four-element FANT package. >> >> This is consistent with the observed AE_AML_PACKAGE_LIMIT error. The >> actual raw EC value has not been independently measured. >> >> *7. Fan notification mechanism* >> >> The embedded controller also defines: >> >> |Method (_Q76, 0, NotSerialized) { Notify (FAN0, 0x80) }| >> >> This appears to explain why _FST may be evaluated even when userspace >> is not explicitly polling the fan sensor. >> >> *8. Physical cooling behavior* >> >> The physical fans audibly increase their speed during demanding >> workloads, including gaming. >> >> A short CPU stress test using two workers showed: >> >>   * >> >>     Highest observed CPU package temperature: 81°C >> >>   * >> >>     Subsequent CPU package temperature: 47°C >> >>   * >> >>     Temperature decrease between the final load observation and >>     subsequent measurement: 34°C >> >> This suggests that basic automatic cooling remains functional, >> despite the broken fan status reporting. >> >> Long-duration maximum-load cooling behavior has not been tested. >> >> *9. Related upstream work* >> >> I found the following potentially related patch discussion: >> >> ACPI: fan: Ignore broken _FST on Samsung Galaxy Book 930XDB >> >> https://lists.openwall.net/linux-kernel/2026/10/19/2287 > lists.openwall.net/linux-kernel/2026/10/19/2287> >> >> The reported reference operand error appears similar to the issue >> observed on the 960QHA. >> >> I also found the subsequent discussion concerning potential ACPICA >> reference handling: >> >> https://lists.openwall.net/linux-kernel/2026/10/22/1944 > lists.openwall.net/linux-kernel/2026/10/22/1944> >> >> Related ACPICA issue: >> >> https://github.com/open-acpica/acpica/issues/908 > open-acpica/acpica/issues/908> >> >> *10. Questions for maintainers* >> >>   * >> >>     Could the Samsung Galaxy Book 960QHA be affected by the same _FST >> issue? >> >>   * >> >>     Would extending the proposed model-specific workaround to this >>     device be appropriate? >> >>   * >> >>     Could ACPICA reference handling account for the operand type error? >> >>   * >> >>     Would a separate firmware workaround be required for the >>     out-of-bounds package access? >> >>   * >> >>     What additional diagnostic information would be useful? >> >> I have not applied any ACPI override, modified the BIOS, disabled >> Secure Boot or changed the ACPI fan driver. >> >> This report is based on the Ubuntu distribution kernel. The issue has >> not yet been tested on a current unmodified upstream kernel, and the >> first affected kernel version is unknown. >> >> Relevant ACPI tables and filtered kernel logs can be provided upon >> request. >> >> Thank you for your work on Linux hardware support and for >> investigating this issue. >> >> Best regards, >> Christopher Bormann >> >> >