<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in sysfs-kernel-reboot</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>fd0ad5e9 - docs: ABI: replace mcroce@microsoft.com with new Meta address</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/Documentation/ABI/testing/sysfs-kernel-reboot#fd0ad5e9</link>
        <description>docs: ABI: replace mcroce@microsoft.com with new Meta addressThe Microsoft email address is bouncing:    550 5.4.1 Recipient address rejected: Access denied.So let&apos;s replace it with Matteo&apos;s current mail address.Link: https://lkml.kernel.org/r/20250414-fix-mcroce-mail-bounce-v3-1-0aed2d71f3d7@pengutronix.deSigned-off-by: Ahmad Fatoum &lt;a.fatoum@pengutronix.de&gt;Acked-by: Matteo Croce &lt;teknoraver@meta.com&gt;Link: https://lore.kernel.org/all/BYAPR15MB2504E4B02DFFB1E55871955DA1062@BYAPR15MB2504.namprd15.prod.outlook.com/Cc: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;Cc: Jens Axboe &lt;axboe@kernel.dk&gt;Cc: Matteo Croce &lt;teknoraver@meta.com&gt;Cc: Sascha Hauer &lt;kernel@pengutronix.de&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;

            List of files:
            /linux-6.15/Documentation/ABI/testing/sysfs-kernel-reboot</description>
        <pubDate>Mon, 14 Apr 2025 07:35:31 +0000</pubDate>
        <dc:creator>Ahmad Fatoum &lt;a.fatoum@pengutronix.de&gt;</dc:creator>
    </item>
<item>
        <title>e016173f - reboot: add support for configuring emergency hardware protection action</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/Documentation/ABI/testing/sysfs-kernel-reboot#e016173f</link>
        <description>reboot: add support for configuring emergency hardware protection actionWe currently leave the decision of whether to shutdown or reboot toprotect hardware in an emergency situation to the individual drivers.This works out in some cases, where the driver detecting the criticalfailure has inside knowledge: It binds to the system management controllerfor example or is guided by hardware description that defines what to do.In the general case, however, the driver detecting the issue can&apos;t knowwhat the appropriate course of action is and shouldn&apos;t be dictating thepolicy of dealing with it.Therefore, add a global hw_protection toggle that allows the user tospecify whether shutdown or reboot should be the default action when thedriver doesn&apos;t set policy.This introduces no functional change yet as hw_protection_trigger() has nocallers, but these will be added in subsequent commits.[arnd@arndb.de: hide unused hw_protection_attr]  Link: https://lkml.kernel.org/r/20250224141849.1546019-1-arnd@kernel.orgLink: https://lkml.kernel.org/r/20250217-hw_protection-reboot-v3-7-e1c09b090c0c@pengutronix.deSigned-off-by: Ahmad Fatoum &lt;a.fatoum@pengutronix.de&gt;Reviewed-by: Tzung-Bi Shih &lt;tzungbi@kernel.org&gt;Cc: Benson Leung &lt;bleung@chromium.org&gt;Cc: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;Cc: Fabio Estevam &lt;festevam@denx.de&gt;Cc: Guenter Roeck &lt;groeck@chromium.org&gt;Cc: Jonathan Corbet &lt;corbet@lwn.net&gt;Cc: Liam Girdwood &lt;lgirdwood@gmail.com&gt;Cc: Lukasz Luba &lt;lukasz.luba@arm.com&gt;Cc: Mark Brown &lt;broonie@kernel.org&gt;Cc: Matteo Croce &lt;teknoraver@meta.com&gt;Cc: Matti Vaittinen &lt;mazziesaccount@gmail.com&gt;Cc: &quot;Rafael J. Wysocki&quot; &lt;rafael@kernel.org&gt;Cc: Rob Herring (Arm) &lt;robh@kernel.org&gt;Cc: Rui Zhang &lt;rui.zhang@intel.com&gt;Cc: Sascha Hauer &lt;kernel@pengutronix.de&gt;Cc: &quot;Serge E. Hallyn&quot; &lt;serge@hallyn.com&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;

            List of files:
            /linux-6.15/Documentation/ABI/testing/sysfs-kernel-reboot</description>
        <pubDate>Mon, 17 Feb 2025 20:39:47 +0000</pubDate>
        <dc:creator>Ahmad Fatoum &lt;a.fatoum@pengutronix.de&gt;</dc:creator>
    </item>
<item>
        <title>2c622ed0 - reboot: allow to specify reboot mode via sysfs</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/Documentation/ABI/testing/sysfs-kernel-reboot#2c622ed0</link>
        <description>reboot: allow to specify reboot mode via sysfsThe kernel cmdline reboot= option offers some sort of control on how thereboot is issued.We don&apos;t always know in advance what type of reboot to perform.Sometimes a warm reboot is preferred to persist certain memory regionsacross the reboot.  Others a cold one is needed to apply a future systemupdate that makes a memory memory model change, like changing the basepage size or resizing a persistent memory region.Or simply we want to enable reboot_force because we noticed thatsomething bad happened.Add handles in sysfs to allow setting these reboot options, so they canbe changed when the system is booted, other than at boot time.The handlers are under &lt;sysfs&gt;/kernel/reboot, can be read to get thecurrent configuration and written to alter it.	# cd /sys/kernel/reboot/	# grep . *	cpu:0	force:0	mode:cold	type:acpi	# echo 2 &gt;cpu	# echo yes &gt;force	# echo soft &gt;mode	# echo bios &gt;type	# grep . *	cpu:2	force:1	mode:soft	type:biosBefore setting anything, check for CAP_SYS_BOOT capability, so it&apos;spossible to allow an unpriviledged process to change these settings simplyby relaxing the handles permissions, without opening them to the world.[natechancellor@gmail.com: fix variable assignments in type_store]  Link: https://lkml.kernel.org/r/20201112035023.974748-1-natechancellor@gmail.com  Link: https://github.com/ClangBuiltLinux/linux/issues/1197Link: https://lkml.kernel.org/r/20201110202746.9690-1-mcroce@linux.microsoft.comSigned-off-by: Matteo Croce &lt;mcroce@microsoft.com&gt;Signed-off-by: Nathan Chancellor &lt;natechancellor@gmail.com&gt;Reviewed-by: Petr Mladek &lt;pmladek@suse.com&gt;Cc: Mike Rapoport &lt;rppt@kernel.org&gt;Cc: Guenter Roeck &lt;linux@roeck-us.net&gt;Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;Cc: Pavel Tatashin &lt;pasha.tatashin@soleen.com&gt;Cc: Kees Cook &lt;keescook@chromium.org&gt;Cc: Tyler Hicks &lt;tyhicks@linux.microsoft.com&gt;Cc: Nathan Chancellor &lt;natechancellor@gmail.com&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;

            List of files:
            /linux-6.15/Documentation/ABI/testing/sysfs-kernel-reboot</description>
        <pubDate>Wed, 16 Dec 2020 04:46:57 +0000</pubDate>
        <dc:creator>Matteo Croce &lt;mcroce@microsoft.com&gt;</dc:creator>
    </item>
</channel>
</rss>
