<?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-firmware-initrd</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>2678fd2f - initramfs: Expose retained initrd as sysfs file</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/Documentation/ABI/testing/sysfs-firmware-initrd#2678fd2f</link>
        <description>initramfs: Expose retained initrd as sysfs fileWhen the kernel command line option &quot;retain_initrd&quot; is set, we do notfree the initrd memory. However, we also don&apos;t expose it to anyone forconsumption. That leaves us in a weird situation where the only user ofthis feature is ppc64 and arm64 specific kexec tooling.To make it more generally useful, this patch adds a kobject to thefirmware object that contains the initrd context when &quot;retain_initrd&quot;is set. That way, we can access the initrd any time after boot fromuser space and for example hand it into kexec as --initrd parameterif we want to reboot the same initrd. Or inspect it directly locally.With this patch applied, there is a new /sys/firmware/initrd file whenthe kernel was booted with an initrd and &quot;retain_initrd&quot; command lineoption is set.Signed-off-by: Alexander Graf &lt;graf@amazon.com&gt;Tested-by: Bagas Sanjaya &lt;bagasdotme@gmail.com&gt;Link: https://lore.kernel.org/r/20231207235654.16622-1-graf@amazon.comSigned-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/Documentation/ABI/testing/sysfs-firmware-initrd</description>
        <pubDate>Thu, 07 Dec 2023 23:56:54 +0000</pubDate>
        <dc:creator>Alexander Graf &lt;graf@amazon.com&gt;</dc:creator>
    </item>
</channel>
</rss>
