Commit da50aad6 authored by Sebastian Reichel's avatar Sebastian Reichel
Browse files

Merge power-supply 'fixes' branch



Merge power-supply fixes, that missed the v5.18 merge window
into power-supply's for-next branch.

Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parents d96a8940 010ddb81
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -391,6 +391,10 @@ Uwe Kleine-König <ukleinek@strlen.de>
Uwe Kleine-König <ukl@pengutronix.de>
Uwe Kleine-König <ukl@pengutronix.de>
Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
Vasily Averin <vasily.averin@linux.dev> <vvs@virtuozzo.com>
Vasily Averin <vasily.averin@linux.dev> <vvs@openvz.org>
Vasily Averin <vasily.averin@linux.dev> <vvs@parallels.com>
Vasily Averin <vasily.averin@linux.dev> <vvs@sw.ru>
Vinod Koul <vkoul@kernel.org> <vinod.koul@intel.com>
Vinod Koul <vkoul@kernel.org> <vinod.koul@intel.com>
Vinod Koul <vkoul@kernel.org> <vinod.koul@linux.intel.com>
Vinod Koul <vkoul@kernel.org> <vinod.koul@linux.intel.com>
Vinod Koul <vkoul@kernel.org> <vkoul@infradead.org>
Vinod Koul <vkoul@kernel.org> <vkoul@infradead.org>
+26 −22
Original line number Original line Diff line number Diff line
@@ -116,7 +116,7 @@ Description:
					    <value>[ForceIf:<attribute>=<value>]
					    <value>[ForceIf:<attribute>=<value>]
					    <value>[ForceIfNot:<attribute>=<value>]
					    <value>[ForceIfNot:<attribute>=<value>]


					For example:
					For example::


					    LegacyOrom/dell_value_modifier has value:
					    LegacyOrom/dell_value_modifier has value:
						    Disabled[ForceIf:SecureBoot=Enabled]
						    Disabled[ForceIf:SecureBoot=Enabled]
@@ -212,7 +212,7 @@ Description:
		the next boot.
		the next boot.


		Lenovo specific class extensions
		Lenovo specific class extensions
		------------------------------
		--------------------------------


		On Lenovo systems the following additional settings are available:
		On Lenovo systems the following additional settings are available:


@@ -246,9 +246,7 @@ Description:
					that is being referenced (e.g hdd0, hdd1 etc)
					that is being referenced (e.g hdd0, hdd1 etc)
					This attribute defaults to device 0.
					This attribute defaults to device 0.


		certificate:
		certificate, signature, save_signature:
		signature:
		save_signature:
					These attributes are used for certificate based authentication. This is
					These attributes are used for certificate based authentication. This is
					used in conjunction with a signing server as an alternative to password
					used in conjunction with a signing server as an alternative to password
					based authentication.
					based authentication.
@@ -257,21 +255,26 @@ Description:
					The attributes can be displayed to check the stored value.
					The attributes can be displayed to check the stored value.


					Some usage examples:
					Some usage examples:
					Installing a certificate to enable feature:
						echo <supervisor password > authentication/Admin/current_password
						echo <signed certificate> > authentication/Admin/certificate


					Updating the installed certificate:
						Installing a certificate to enable feature::
						echo <signature> > authentication/Admin/signature

						echo <signed certificate> > authentication/Admin/certificate
							echo "supervisor password" > authentication/Admin/current_password
							echo "signed certificate" > authentication/Admin/certificate

						Updating the installed certificate::


					Removing the installed certificate:
							echo "signature" > authentication/Admin/signature
						echo <signature> > authentication/Admin/signature
							echo "signed certificate" > authentication/Admin/certificate
						echo '' > authentication/Admin/certificate


					Changing a BIOS setting:
						Removing the installed certificate::
						echo <signature> > authentication/Admin/signature

						echo <save signature> > authentication/Admin/save_signature
							echo "signature" > authentication/Admin/signature
							echo "" > authentication/Admin/certificate

						Changing a BIOS setting::

							echo "signature" > authentication/Admin/signature
							echo "save signature" > authentication/Admin/save_signature
							echo Enable > attribute/PasswordBeep/current_value
							echo Enable > attribute/PasswordBeep/current_value


					You cannot enable certificate authentication if a supervisor password
					You cannot enable certificate authentication if a supervisor password
@@ -288,9 +291,10 @@ Description:
		certificate_to_password:
		certificate_to_password:
					Write only attribute used to switch from certificate based authentication
					Write only attribute used to switch from certificate based authentication
					back to password based.
					back to password based.
					Usage:
					Usage::
						echo <signature> > authentication/Admin/signature

						echo <password> > authentication/Admin/certificate_to_password
						echo "signature" > authentication/Admin/signature
						echo "password" > authentication/Admin/certificate_to_password




What:		/sys/class/firmware-attributes/*/attributes/pending_reboot
What:		/sys/class/firmware-attributes/*/attributes/pending_reboot
@@ -345,7 +349,7 @@ Description:


		    # echo "factory" > /sys/class/firmware-attributes/*/device/attributes/reset_bios
		    # echo "factory" > /sys/class/firmware-attributes/*/device/attributes/reset_bios
		    # cat /sys/class/firmware-attributes/*/device/attributes/reset_bios
		    # cat /sys/class/firmware-attributes/*/device/attributes/reset_bios
		    # builtinsafe lastknowngood [factory] custom
		    builtinsafe lastknowngood [factory] custom


		Note that any changes to this attribute requires a reboot
		Note that any changes to this attribute requires a reboot
		for changes to take effect.
		for changes to take effect.
+10 −8
Original line number Original line Diff line number Diff line
@@ -13,8 +13,9 @@ Description:
		Should the operation fail, one of the following error codes
		Should the operation fail, one of the following error codes
		may be returned:
		may be returned:


		==========	=====
		Error Code	Cause
		Error Code	Cause
	        ----------	-----
		==========	=====
		EIO		General mailbox failure. Log may indicate cause.
		EIO		General mailbox failure. Log may indicate cause.
		EBUSY		Mailbox is owned by another agent.
		EBUSY		Mailbox is owned by another agent.
		EPERM		SDSI capability is not enabled in hardware.
		EPERM		SDSI capability is not enabled in hardware.
@@ -24,6 +25,7 @@ Description:
				exceeds what may be written.
				exceeds what may be written.
		ESPIPE		Seeking is not allowed.
		ESPIPE		Seeking is not allowed.
		ETIMEDOUT	Failure to complete mailbox transaction in time.
		ETIMEDOUT	Failure to complete mailbox transaction in time.
		==========	=====


What:		/sys/bus/auxiliary/devices/intel_vsec.sdsi.X/guid
What:		/sys/bus/auxiliary/devices/intel_vsec.sdsi.X/guid
Date:		Feb 2022
Date:		Feb 2022
+3 −2
Original line number Original line Diff line number Diff line
@@ -9,8 +9,9 @@ Description: Shows all enabled kernel features.
What:		/sys/fs/erofs/<disk>/sync_decompress
What:		/sys/fs/erofs/<disk>/sync_decompress
Date:		November 2021
Date:		November 2021
Contact:	"Huang Jianan" <huangjianan@oppo.com>
Contact:	"Huang Jianan" <huangjianan@oppo.com>
Description:	Control strategy of sync decompression
Description:	Control strategy of sync decompression:

		- 0 (default, auto): enable for readpage, and enable for
		- 0 (default, auto): enable for readpage, and enable for
				     readahead on atomic contexts only,
		  readahead on atomic contexts only.
		- 1 (force on): enable for readpage and readahead.
		- 1 (force on): enable for readpage and readahead.
		- 2 (force off): disable for all situations.
		- 2 (force off): disable for all situations.
+2 −2
Original line number Original line Diff line number Diff line
@@ -228,10 +228,10 @@ Core dump support
-----------------
-----------------


The allocation tags for user memory mapped with ``PROT_MTE`` are dumped
The allocation tags for user memory mapped with ``PROT_MTE`` are dumped
in the core file as additional ``PT_ARM_MEMTAG_MTE`` segments. The
in the core file as additional ``PT_AARCH64_MEMTAG_MTE`` segments. The
program header for such segment is defined as:
program header for such segment is defined as:


:``p_type``: ``PT_ARM_MEMTAG_MTE``
:``p_type``: ``PT_AARCH64_MEMTAG_MTE``
:``p_flags``: 0
:``p_flags``: 0
:``p_offset``: segment file offset
:``p_offset``: segment file offset
:``p_vaddr``: segment virtual address, same as the corresponding
:``p_vaddr``: segment virtual address, same as the corresponding
Loading