Re: [RFC v4 4/4] platform/x86/amd: dptc: Add device entries for handheld PCs
kernel test robot <[email protected]> Tue, 4 Aug 2026 09:14:50 +0200
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
Hi Antheas, [This is a private test report for your RFC patch.] kernel test robot noticed the following build warnings: [auto build test WARNING on 4ae12d8bd9a830799db335ee661d6cbc6597f838] url: https://github.com/intel-lab-lkp/linux/commits/Antheas-Kapenekakis/Documentation-firmware-attributes-generalize-save_settings-entry/20260804-074606 base: 4ae12d8bd9a830799db335ee661d6cbc6597f838 patch link: https://lore.kernel.org/r/20260309205125.293148-5-lkml%40antheas.dev patch subject: [RFC v4 4/4] platform/x86/amd: dptc: Add device entries for handheld PCs compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1) docutils: docutils (Docutils 0.21.2, Python 3.13.5, on linux) reproduce: (https://download.01.org/0day-ci/archive/20260804/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All warnings (new ones prefixed by >>): Warning: tools/docs/documentation-file-ref-check references a file that doesn't exist: m,\b(\S*)(Documentation/[A-Za-z0-9 Warning: tools/docs/documentation-file-ref-check references a file that doesn't exist: Documentation/devicetree/dt-object-internal.txt Warning: tools/docs/documentation-file-ref-check references a file that doesn't exist: m,^Documentation/scheduler/sched-pelt Warning: tools/docs/documentation-file-ref-check references a file that doesn't exist: m,(Documentation/translations/[ Using alabaster theme >> Documentation/ABI/testing/sysfs-class-firmware-attributes:387: WARNING: Inline emphasis start-string without end-string. [docutils] >> Documentation/ABI/testing/sysfs-class-firmware-attributes:387: WARNING: Inline emphasis start-string without end-string. [docutils] >> Documentation/ABI/testing/sysfs-class-firmware-attributes:387: WARNING: Inline emphasis start-string without end-string. [docutils] Documentation/core-api/kref:328: ./include/linux/kref.h:72: WARNING: Invalid C declaration: Expected end of definition. [error at 96] int kref_put_mutex (struct kref *kref, void (*release)(struct kref *kref), struct mutex *mutex) __cond_acquires(true# mutex) ------------------------------------------------------------------------------------------------^ Documentation/core-api/kref:328: ./include/linux/kref.h:94: WARNING: Invalid C declaration: Expected end of definition. [error at 92] int kref_put_lock (struct kref *kref, void (*release)(struct kref *kref), spinlock_t *lock) __cond_acquires(true# lock) vim +387 Documentation/ABI/testing/sysfs-class-firmware-attributes 318d97849fc2cb Mark Pearson 2023-09-19 @387 What: /sys/class/firmware-attributes/*/attributes/save_settings 318d97849fc2cb Mark Pearson 2023-09-19 388 Date: August 2023 318d97849fc2cb Mark Pearson 2023-09-19 389 KernelVersion: 6.6 318d97849fc2cb Mark Pearson 2023-09-19 390 Contact: Mark Pearson <[email protected]> 396504b5f0790b Antheas Kapenekakis 2026-03-09 391 Antheas Kapenekakis <[email protected]> 318d97849fc2cb Mark Pearson 2023-09-19 392 Description: 396504b5f0790b Antheas Kapenekakis 2026-03-09 393 Controls how writes to current_value are applied to the hardware. 318d97849fc2cb Mark Pearson 2023-09-19 394 318d97849fc2cb Mark Pearson 2023-09-19 395 Read the attribute to check what save mode is enabled (single or bulk). 318d97849fc2cb Mark Pearson 2023-09-19 396 E.g: 396504b5f0790b Antheas Kapenekakis 2026-03-09 397 # cat /sys/class/firmware-attributes/*/attributes/save_settings 318d97849fc2cb Mark Pearson 2023-09-19 398 single 318d97849fc2cb Mark Pearson 2023-09-19 399 318d97849fc2cb Mark Pearson 2023-09-19 400 Write the attribute with 'bulk' to enable bulk save mode. 396504b5f0790b Antheas Kapenekakis 2026-03-09 401 Write the attribute with 'single' to enable saving, after every 396504b5f0790b Antheas Kapenekakis 2026-03-09 402 attribute set. The default setting is single mode. 318d97849fc2cb Mark Pearson 2023-09-19 403 E.g: 396504b5f0790b Antheas Kapenekakis 2026-03-09 404 # echo bulk > /sys/class/firmware-attributes/*/attributes/save_settings 318d97849fc2cb Mark Pearson 2023-09-19 405 396504b5f0790b Antheas Kapenekakis 2026-03-09 406 When in bulk mode write 'save' to trigger an apply of all 396504b5f0790b Antheas Kapenekakis 2026-03-09 407 currently staged attributes. 318d97849fc2cb Mark Pearson 2023-09-19 408 E.g: 396504b5f0790b Antheas Kapenekakis 2026-03-09 409 # echo save > /sys/class/firmware-attributes/*/attributes/save_settings 396504b5f0790b Antheas Kapenekakis 2026-03-09 410 396504b5f0790b Antheas Kapenekakis 2026-03-09 411 Driver-specific notes: 396504b5f0790b Antheas Kapenekakis 2026-03-09 412 396504b5f0790b Antheas Kapenekakis 2026-03-09 413 thinklmi (Lenovo): On Lenovo platforms there is a limitation in 396504b5f0790b Antheas Kapenekakis 2026-03-09 414 the number of times an attribute can be saved. This is an 396504b5f0790b Antheas Kapenekakis 2026-03-09 415 architectural limitation and it limits the number of attributes 396504b5f0790b Antheas Kapenekakis 2026-03-09 416 that can be modified to 48. 396504b5f0790b Antheas Kapenekakis 2026-03-09 417 396504b5f0790b Antheas Kapenekakis 2026-03-09 418 Once a save has been triggered in bulk mode, attributes can no 396504b5f0790b Antheas Kapenekakis 2026-03-09 419 longer be set and will return a permissions error. This is to 396504b5f0790b Antheas Kapenekakis 2026-03-09 420 prevent users hitting the 48+ save limitation (which requires 396504b5f0790b Antheas Kapenekakis 2026-03-09 421 entering the BIOS to clear the error condition). 396504b5f0790b Antheas Kapenekakis 2026-03-09 422 396504b5f0790b Antheas Kapenekakis 2026-03-09 423 amd-dptc (AMD DPTC): No save-count limitation. 'save' can be 396504b5f0790b Antheas Kapenekakis 2026-03-09 424 called any number of times. Returns -ENOENT if no values have 396504b5f0790b Antheas Kapenekakis 2026-03-09 425 been staged. In addition, when in 'single' mode, the driver 396504b5f0790b Antheas Kapenekakis 2026-03-09 426 uses pm ops to trigger a save of staged attributes on resume. 318d97849fc2cb Mark Pearson 2023-09-19 427 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki