<?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 fpu_syscall.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>1bdf2258 - selftests/powerpc: Check all FPRs in fpu_syscall test</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/powerpc/math/fpu_syscall.c#1bdf2258</link>
        <description>selftests/powerpc: Check all FPRs in fpu_syscall testThere is a selftest that checks if FPRs are corrupted across a fork, akaclone. It was added as part of the series that optimised the clone pathto save the parent&apos;s FP state without &quot;giving up&quot; (turning off FP).See commit 8792468da5e1 (&quot;powerpc: Add the ability to save FPU withoutgiving it up&quot;).The test encodes the assumption that FPRs 0-13 are volatile across thesyscall, by only checking the volatile FPRs are not changed by the fork.There was also a comment in the fpu_preempt test alluding to that:  The check_fpu function in asm only checks the non volatile registers  as it is reused from the syscall testIt is true that the function call ABI treats f0-f13 as volatile,however the syscall ABI has since been documented as *not* treating thoseregisters as volatile. See commit 7b8845a2a2ec (&quot;powerpc/64: Documentthe syscall ABI&quot;).So change the test to check all FPRs are not corrupted by the syscall.Note that this currently fails, because save_fpu() etc. do not restoref0/vsr0.Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://msgid.link/20231128132748.1990179-5-mpe@ellerman.id.au

            List of files:
            /linux-6.15/tools/testing/selftests/powerpc/math/fpu_syscall.c</description>
        <pubDate>Tue, 28 Nov 2023 13:27:48 +0000</pubDate>
        <dc:creator>Michael Ellerman &lt;mpe@ellerman.id.au&gt;</dc:creator>
    </item>
<item>
        <title>2874c5fd - treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/powerpc/math/fpu_syscall.c#2874c5fd</link>
        <description>treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Based on 1 normalized pattern(s):  this program is free software you can redistribute it and or modify  it under the terms of the gnu general public license as published by  the free software foundation either version 2 of the license or at  your option any later versionextracted by the scancode license scanner the SPDX license identifier  GPL-2.0-or-laterhas been chosen to replace the boilerplate/reference in 3029 file(s).Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;Reviewed-by: Allison Randal &lt;allison@lohutok.net&gt;Cc: linux-spdx@vger.kernel.orgLink: https://lkml.kernel.org/r/20190527070032.746973796@linutronix.deSigned-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/powerpc/math/fpu_syscall.c</description>
        <pubDate>Mon, 27 May 2019 06:55:01 +0000</pubDate>
        <dc:creator>Thomas Gleixner &lt;tglx@linutronix.de&gt;</dc:creator>
    </item>
<item>
        <title>01127f1e - selftests/powerpc: Test the preservation of FPU and VMX regs across syscall</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/powerpc/math/fpu_syscall.c#01127f1e</link>
        <description>selftests/powerpc: Test the preservation of FPU and VMX regs across syscallTest that the non volatile floating point and Altivec registers getcorrectly preserved across the fork() syscall.fork() works nicely for this purpose, the registers should be the same forboth parent and childSigned-off-by: Cyril Bur &lt;cyrilbur@gmail.com&gt;[mpe: Add include guards to basic_asm.h, minor formatting]Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/powerpc/math/fpu_syscall.c</description>
        <pubDate>Mon, 29 Feb 2016 06:53:43 +0000</pubDate>
        <dc:creator>Cyril Bur &lt;cyrilbur@gmail.com&gt;</dc:creator>
    </item>
</channel>
</rss>
