All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Antheas Kapenekakis <lkml@antheas.dev>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC v4 4/4] platform/x86/amd: dptc: Add device entries for handheld PCs
Date: Tue, 4 Aug 2026 09:14:50 +0200	[thread overview]
Message-ID: <202608040900.roib4Z0m-lkp@intel.com> (raw)
In-Reply-To: <20260309205125.293148-5-lkml@antheas.dev>

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/202608040900.roib4Z0m-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/202608040900.roib4Z0m-lkp@intel.com/

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 <mpearson-lenovo@squebb.ca>
396504b5f0790b Antheas Kapenekakis 2026-03-09  391  		Antheas Kapenekakis <lkml@antheas.dev>
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

  parent reply	other threads:[~2026-08-04  7:15 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-09 20:51 [RFC v4 0/4] platform/x86/amd: Add AMD DPTCi driver for TDP control in devices without vendor-specific controls Antheas Kapenekakis
2026-03-09 20:51 ` [RFC v4 1/4] Documentation: firmware-attributes: generalize save_settings entry Antheas Kapenekakis
2026-03-09 20:51 ` [RFC v4 2/4] platform/x86/amd: dptc: Add AMD DPTCi driver Antheas Kapenekakis
2026-03-10  4:01   ` Mario Limonciello
2026-03-10  8:02     ` Antheas Kapenekakis
2026-03-10 16:26       ` Mario Limonciello
2026-03-11 19:09         ` Antheas Kapenekakis
2026-03-12 13:24           ` Mario Limonciello
2026-03-12 13:47             ` Antheas Kapenekakis
2026-03-12 16:05               ` Mario Limonciello
2026-03-12 16:19                 ` Antheas Kapenekakis
2026-03-09 20:51 ` [RFC v4 3/4] platform/x86/amd: dptc: Add platform profile support Antheas Kapenekakis
2026-03-10  4:07   ` Mario Limonciello
2026-03-09 20:51 ` [RFC v4 4/4] platform/x86/amd: dptc: Add device entries for handheld PCs Antheas Kapenekakis
2026-03-10  4:11   ` Mario Limonciello
2026-03-10  8:13     ` Antheas Kapenekakis
2026-03-10 16:35       ` Mario Limonciello
2026-03-11 19:13         ` Antheas Kapenekakis
2026-03-12 13:26           ` Mario Limonciello
2026-08-04  7:14   ` kernel test robot [this message]
2026-03-10  2:43 ` [RFC v4 0/4] platform/x86/amd: Add AMD DPTCi driver for TDP control in devices without vendor-specific controls Mario Limonciello
2026-03-10  7:59   ` Antheas Kapenekakis

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=202608040900.roib4Z0m-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=lkml@antheas.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.