<?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 Makefile</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>1105ab42 - x86/sev: Disable jump tables in SEV startup code</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/x86/coco/sev/Makefile#1105ab42</link>
        <description>x86/sev: Disable jump tables in SEV startup codeWhen retpolines and IBT are both disabled, the compiler is free to usejump tables to optimize switch instructions. However, these are emittedby Clang as absolute references into .rodata:        jmp    *-0x7dfffe90(,%r9,8)                        R_X86_64_32S    .rodata+0x170Given that this code will execute before that address in .rodata has evenbeen mapped, it is guaranteed to crash a SEV-SNP guest in a way that isdifficult to diagnose.So disable jump tables when building this code. It would be better if wecould attach this annotation to the __head macro but this appears to beimpossible.Reported-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;Tested-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;Link: https://lore.kernel.org/r/20250127114334.1045857-6-ardb+git@google.com

            List of files:
            /linux-6.15/arch/x86/coco/sev/Makefile</description>
        <pubDate>Mon, 27 Jan 2025 11:43:37 +0000</pubDate>
        <dc:creator>Ard Biesheuvel &lt;ardb@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>99b863d2 - x86/sev: Disable UBSAN on SEV code that may execute very early</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/x86/coco/sev/Makefile#99b863d2</link>
        <description>x86/sev: Disable UBSAN on SEV code that may execute very earlyClang 14 and older may emit UBSAN instrumentation into code that isinlined into functions marked with __no_sanitize_undefined&#185;. This mayresult in faults when the code is executed very early, which may be thecase for functions annotated as __head. Now that this requirement isstrictly enforced, the build will fail in this case with the followingmessage  Absolute reference to symbol &apos;.data&apos; not permitted in .head.textWork around this by disabling UBSAN instrumentation on all SEV corecode.&#185; https://lore.kernel.org/r/20250101024348.GA1828419@ax162  [ bp: Add a footnote with Nathan&apos;s detailed explanation and a Fixes    tag ]Fixes: 3b6f99a94b04 (&quot;x86/boot: Disable UBSAN in early boot code&quot;)Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;Signed-off-by: Borislav Petkov (AMD) &lt;bp@alien8.de&gt;Reviewed-by: Nathan Chancellor &lt;nathan@kernel.org&gt;Link: https://lore.kernel.org/r/20250101115119.114584-2-ardb@kernel.org

            List of files:
            /linux-6.15/arch/x86/coco/sev/Makefile</description>
        <pubDate>Wed, 01 Jan 2025 11:51:20 +0000</pubDate>
        <dc:creator>Ard Biesheuvel &lt;ardb@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>38918e0b - x86/sev: Move SEV compilation units</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/x86/coco/sev/Makefile#38918e0b</link>
        <description>x86/sev: Move SEV compilation unitsA long time ago it was agreed upon that the coco stuff needs to go whereit belongs:  https://lore.kernel.org/all/Yg5nh1RknPRwIrb8@zn.tnicand not keep it in arch/x86/kernel. TDX did that and SEV can&apos;t find timeto do so. So lemme do it. If people have trouble converting theirongoing featuritis patches, ask me for a sed script.No functional changes.Move the instrumentation exclusion bits too, as helpfully caught andreported by the 0day folks.Closes: https://lore.kernel.org/oe-kbuild-all/202406220748.hG3qlmDx-lkp@intel.comReported-by: kernel test robot &lt;lkp@intel.com&gt;Closes: https://lore.kernel.org/oe-lkp/202407091342.46d7dbb-oliver.sang@intel.comReported-by: kernel test robot &lt;oliver.sang@intel.com&gt;Signed-off-by: Borislav Petkov (AMD) &lt;bp@alien8.de&gt;Reviewed-by: Nikunj A Dadhania &lt;nikunj@amd.com&gt;Reviewed-by: Ashish Kalra &lt;ashish.kalra@amd.com&gt;Tested-by: kernel test robot &lt;oliver.sang@intel.com&gt;Link: https://lore.kernel.org/r/20240619093014.17962-1-bp@kernel.org

            List of files:
            /linux-6.15/arch/x86/coco/sev/Makefile</description>
        <pubDate>Wed, 19 Jun 2024 09:03:16 +0000</pubDate>
        <dc:creator>Borislav Petkov (AMD) &lt;bp@alien8.de&gt;</dc:creator>
    </item>
</channel>
</rss>
