<?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 traps.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>f717a8d1 - arch: include linux/cpu.h for trap_init() prototype</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/csky/kernel/traps.c#f717a8d1</link>
        <description>arch: include linux/cpu.h for trap_init() prototypesome architectures run into a -Wmissing-prototypes warningfor trap_init()arch/microblaze/kernel/traps.c:21:6: warning: no previous prototype for &apos;trap_init&apos; [-Wmissing-prototypes]Include the right header to avoid this consistently, removingthe extra declarations on m68k and x86 that were added as localworkarounds already.Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;

            List of files:
            /linux-6.15/arch/csky/kernel/traps.c</description>
        <pubDate>Mon, 06 Nov 2023 09:44:55 +0000</pubDate>
        <dc:creator>Arnd Bergmann &lt;arnd@arndb.de&gt;</dc:creator>
    </item>
<item>
        <title>751971af - csky: Fix function name in csky_alignment() and die()</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/csky/kernel/traps.c#751971af</link>
        <description>csky: Fix function name in csky_alignment() and die()When building ARCH=csky defconfig:arch/csky/kernel/traps.c: In function &apos;die&apos;:arch/csky/kernel/traps.c:112:17: error: implicit declaration of function&apos;make_dead_task&apos; [-Werror=implicit-function-declaration]  112 |                 make_dead_task(SIGSEGV);      |                 ^~~~~~~~~~~~~~The function&apos;s name is make_task_dead(), change it so there is no morebuild error.Fixes: 0e25498f8cd4 (&quot;exit: Add and use make_task_dead.&quot;)Signed-off-by: Nathan Chancellor &lt;nathan@kernel.org&gt;Reviewed-by: Guo Ren &lt;guoren@kernel.org&gt;Link: https://lkml.kernel.org/r/20211227184851.2297759-4-nathan@kernel.orgSigned-off-by: Eric W. Biederman &lt;ebiederm@xmission.com&gt;

            List of files:
            /linux-6.15/arch/csky/kernel/traps.c</description>
        <pubDate>Mon, 27 Dec 2021 18:48:51 +0000</pubDate>
        <dc:creator>Nathan Chancellor &lt;nathan@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>0e25498f - exit: Add and use make_task_dead.</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/csky/kernel/traps.c#0e25498f</link>
        <description>exit: Add and use make_task_dead.There are two big uses of do_exit.  The first is it&apos;s design use to bethe guts of the exit(2) system call.  The second use is to terminatea task after something catastrophic has happened like a NULL pointerin kernel code.Add a function make_task_dead that is initialy exactly the same asdo_exit to cover the cases where do_exit is called to handlecatastrophic failure.  In time this can probably be reduced to just alight wrapper around do_task_dead. For now keep it exactly the same sothat there will be no behavioral differences introducing this newconcept.Replace all of the uses of do_exit that use it for catastraphictask cleanup with make_task_dead to make it clear what the codeis doing.As part of this rename rewind_stack_do_exitrewind_stack_and_make_dead.Signed-off-by: &quot;Eric W. Biederman&quot; &lt;ebiederm@xmission.com&gt;

            List of files:
            /linux-6.15/arch/csky/kernel/traps.c</description>
        <pubDate>Mon, 28 Jun 2021 19:52:01 +0000</pubDate>
        <dc:creator>Eric W. Biederman &lt;ebiederm@xmission.com&gt;</dc:creator>
    </item>
<item>
        <title>a0793fda - csky: fix typo of fpu config macro</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/csky/kernel/traps.c#a0793fda</link>
        <description>csky: fix typo of fpu config macroFix typo which will cause fpe and privilege exception error.Signed-off-by: Kelly Devilliv &lt;kelly.devilliv@gmail.com&gt;Cc: stable &lt;stable@vger.kernel.org&gt;Signed-off-by: Guo Ren &lt;guoren@linux.alibaba.com&gt;

            List of files:
            /linux-6.15/arch/csky/kernel/traps.c</description>
        <pubDate>Mon, 01 Nov 2021 15:05:02 +0000</pubDate>
        <dc:creator>Kelly Devilliv &lt;kelly.devilliv@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>b0ae5e26 - csky: Remove prologue of page fault handler in entry.S</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/csky/kernel/traps.c#b0ae5e26</link>
        <description>csky: Remove prologue of page fault handler in entry.SThere is a prologue on page fault handler which marking pages dirtyand/or accessed in page attributes, but all of these have beenhandled in handle_pte_fault. - Add flush_tlb_one in vmalloc page fault instead of prologue. - Using cmxchg_fixup C codes in do_page_fault instead of ASM one.Signed-off-by: Guo Ren &lt;guoren@linux.alibaba.com&gt;

            List of files:
            /linux-6.15/arch/csky/kernel/traps.c</description>
        <pubDate>Thu, 24 Dec 2020 02:02:55 +0000</pubDate>
        <dc:creator>Guo Ren &lt;guoren@linux.alibaba.com&gt;</dc:creator>
    </item>
<item>
        <title>5bc46ce2 - csky: Optimize the trap processing flow</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/csky/kernel/traps.c#5bc46ce2</link>
        <description>csky: Optimize the trap processing flow - Seperate different trap functions - Add trap_no() - Remove panic code print - Redesign die_if_kerenl to die with riscv&apos;s - Print exact trap info for app segment fault[   17.389321] gzip[126]: unhandled signal 11 code 0x3 at 0x0007835a in busybox[8000+d4000][   17.393882][   17.393882] CURRENT PROCESS:[   17.393882][   17.394309] COMM=gzip PID=126[   17.394513] TEXT=00008000-000db2e4 DATA=000dcf14-000dd1ad BSS=000dd1ad-000ff000[   17.395499] USER-STACK=7f888e50  KERNEL-STACK=bf130300[   17.395499][   17.396801] PC: 0x0007835a (0x7835a)[   17.397048] LR: 0x000058b4 (0x58b4)[   17.397285] SP: 0xbe519f68[   17.397555] orig_a0: 0x00002852[   17.397886] PSR: 0x00020341[   17.398356]  a0: 0x00002852   a1: 0x000f2f5a   a2: 0x0000d7ae   a3: 0x0000005d[   17.399289]  r4: 0x000de150   r5: 0x00000002   r6: 0x00000102   r7: 0x00007efa[   17.399800]  r8: 0x7f888bc4   r9: 0x00000001  r10: 0x000002eb  r11: 0x0000aac1[   17.400166] r12: 0x00002ef2  r13: 0x00000007  r15: 0x000058b4[   17.400531] r16: 0x0000004c  r17: 0x00000031  r18: 0x000f5816  r19: 0x000e8068[   17.401006] r20: 0x000f5818  r21: 0x000e8068  r22: 0x000f5918  r23: 0x90000000[   17.401721] r24: 0x00000031  r25: 0x000000c8  r26: 0x00000000  r27: 0x00000000[   17.402199] r28: 0x2ac2a000  r29: 0x00000000  r30: 0x00000000  tls: 0x2aadbaa8[   17.402686]  hi: 0x00120340   lo: 0x7f888bec/etc/init.ci/ntfs3g_run: line 61:   126 Segmentation fault      gzip -c -9 /mnt/test.bin &gt; /mnt/test_bin.gzSigned-off-by: Guo Ren &lt;guoren@linux.alibaba.com&gt;Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;

            List of files:
            /linux-6.15/arch/csky/kernel/traps.c</description>
        <pubDate>Thu, 30 Jul 2020 11:09:51 +0000</pubDate>
        <dc:creator>Guo Ren &lt;guoren@linux.alibaba.com&gt;</dc:creator>
    </item>
<item>
        <title>8f6bb793 - csky: Add uprobes support</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/csky/kernel/traps.c#8f6bb793</link>
        <description>csky: Add uprobes supportThis patch adds support for uprobes on csky architecture.Just like kprobe, it support single-step and simulate instructions.Signed-off-by: Guo Ren &lt;guoren@linux.alibaba.com&gt;Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;Cc: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;

            List of files:
            /linux-6.15/arch/csky/kernel/traps.c</description>
        <pubDate>Thu, 02 Apr 2020 11:52:27 +0000</pubDate>
        <dc:creator>Guo Ren &lt;guoren@linux.alibaba.com&gt;</dc:creator>
    </item>
<item>
        <title>33e53ae1 - csky: Add kprobes supported</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/csky/kernel/traps.c#33e53ae1</link>
        <description>csky: Add kprobes supportedThis patch enable kprobes, kretprobes, ftrace interface. It utilizedsoftware breakpoint and single step debug exceptions, instructionssimulation on csky.We use USR_BKPT replace origin instruction, and the kprobe handlerprepares an excutable memory slot for out-of-line execution with acopy of the original instruction being probed. Most of instructionscould be executed by single-step, but some instructions need originpc value to execute and we need software simulate these instructions.Signed-off-by: Guo Ren &lt;guoren@linux.alibaba.com&gt;Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;Cc: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;

            List of files:
            /linux-6.15/arch/csky/kernel/traps.c</description>
        <pubDate>Wed, 01 Apr 2020 01:17:02 +0000</pubDate>
        <dc:creator>Guo Ren &lt;guoren@linux.alibaba.com&gt;</dc:creator>
    </item>
<item>
        <title>9c0e343d - csky: Fixup get wrong psr value from phyical reg</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/csky/kernel/traps.c#9c0e343d</link>
        <description>csky: Fixup get wrong psr value from phyical regWe should get psr value from regs-&gt;psr in stack, not directly getit from phyiscal register then save the vector number intsk-&gt;trap_no.Signed-off-by: Guo Ren &lt;guoren@linux.alibaba.com&gt;

            List of files:
            /linux-6.15/arch/csky/kernel/traps.c</description>
        <pubDate>Tue, 31 Mar 2020 15:45:52 +0000</pubDate>
        <dc:creator>Guo Ren &lt;guoren@linux.alibaba.com&gt;</dc:creator>
    </item>
<item>
        <title>3158d289 - csky: Fixup no panic in kernel for some traps</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/csky/kernel/traps.c#3158d289</link>
        <description>csky: Fixup no panic in kernel for some trapsThese traps couldn&apos;t be hanppen in kernel and we must panic there notsend a signal to userspace.Signed-off-by: Guo Ren &lt;ren_guo@c-sky.com&gt;Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;

            List of files:
            /linux-6.15/arch/csky/kernel/traps.c</description>
        <pubDate>Fri, 10 May 2019 09:07:01 +0000</pubDate>
        <dc:creator>Guo Ren &lt;ren_guo@c-sky.com&gt;</dc:creator>
    </item>
<item>
        <title>2e1661d2 - signal: Remove the task parameter from force_sig_fault</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/csky/kernel/traps.c#2e1661d2</link>
        <description>signal: Remove the task parameter from force_sig_faultAs synchronous exceptions really only make sense against the currenttask (otherwise how are you synchronous) remove the task parameterfrom from force_sig_fault to make it explicit that is what is goingon.The two known exceptions that deliver a synchronous exception to astopped ptraced task have already been changed toforce_sig_fault_to_task.The callers have been changed with the following emacs regular expression(with obvious variations on the architectures that take more arguments)to avoid typos:force_sig_fault[(]\([^,]+\)[,]\([^,]+\)[,]\([^,]+\)[,]\W+current[)]-&gt;force_sig_fault(\1,\2,\3)Signed-off-by: &quot;Eric W. Biederman&quot; &lt;ebiederm@xmission.com&gt;

            List of files:
            /linux-6.15/arch/csky/kernel/traps.c</description>
        <pubDate>Thu, 23 May 2019 16:04:24 +0000</pubDate>
        <dc:creator>Eric W. Biederman &lt;ebiederm@xmission.com&gt;</dc:creator>
    </item>
<item>
        <title>17a68777 - csky: remove unused members in processor.h</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/csky/kernel/traps.c#17a68777</link>
        <description>csky: remove unused members in processor.hCleanup struct cpuinfo_csky and struct thread_struct, remove all esp0related code. We could get pt_regs from sp and backtrace could use fpin switch_stack.Signed-off-by: Guo Ren &lt;ren_guo@c-sky.com&gt;

            List of files:
            /linux-6.15/arch/csky/kernel/traps.c</description>
        <pubDate>Sun, 09 Dec 2018 09:31:53 +0000</pubDate>
        <dc:creator>Guo Ren &lt;ren_guo@c-sky.com&gt;</dc:creator>
    </item>
<item>
        <title>081860b9 - csky: Exception handling and mm-fault</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/csky/kernel/traps.c#081860b9</link>
        <description>csky: Exception handling and mm-faultThis patch adds exception handling code, cpuinfo and mm-fault code.Signed-off-by: Guo Ren &lt;ren_guo@c-sky.com&gt;Reviewed-by: Arnd Bergmann &lt;arnd@arndb.de&gt;

            List of files:
            /linux-6.15/arch/csky/kernel/traps.c</description>
        <pubDate>Wed, 05 Sep 2018 06:25:08 +0000</pubDate>
        <dc:creator>Guo Ren &lt;ren_guo@c-sky.com&gt;</dc:creator>
    </item>
</channel>
</rss>
