<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/loongarch/kernel/switch.S, branch linux-6.15.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.15.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.15.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-01-25T10:51:42Z</updated>
<entry>
<title>LoongArch: Correct the __switch_to() prototype in comments</title>
<updated>2025-01-25T10:51:42Z</updated>
<author>
<name>Huacai Chen</name>
</author>
<published>2025-01-25T10:51:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=613d4164f5a5032716f79106f48a59286c7b1c24'/>
<id>urn:sha1:613d4164f5a5032716f79106f48a59286c7b1c24</id>
<content type='text'>
Correct the __switch_to() prototype in comments, keep it be the same as
the declaration in switch_to.h.

Signed-off-by: Huacai Chen &lt;chenhuacai@loongson.cn&gt;
</content>
</entry>
<entry>
<title>LoongArch: Add basic STACKPROTECTOR support</title>
<updated>2022-12-14T00:41:53Z</updated>
<author>
<name>Huacai Chen</name>
</author>
<published>2022-12-10T14:40:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=09f33601bf940f955c10a6e75a1c1b7bcadee5e2'/>
<id>urn:sha1:09f33601bf940f955c10a6e75a1c1b7bcadee5e2</id>
<content type='text'>
Add basic stack protector support similar to other architectures. A
constant canary value is set at boot time, and with help of compiler's
-fstack-protector we can detect stack corruption.

Signed-off-by: Huacai Chen &lt;chenhuacai@loongson.cn&gt;
</content>
</entry>
<entry>
<title>LoongArch: Remove unused kernel stack padding</title>
<updated>2022-10-29T08:29:31Z</updated>
<author>
<name>Jinyang He</name>
</author>
<published>2022-10-29T08:29:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b40fa75e1542e069a4eb9b33d62061d4ae734537'/>
<id>urn:sha1:b40fa75e1542e069a4eb9b33d62061d4ae734537</id>
<content type='text'>
The current LoongArch kernel stack is padded as if obeying the MIPS o32
calling convention (32 bytes), signifying the port's MIPS lineage but no
longer making sense. Remove the padding for clarity.

Reviewed-by: WANG Xuerui &lt;git@xen0n.name&gt;
Signed-off-by: Jinyang He &lt;hejinyang@loongson.cn&gt;
Signed-off-by: Huacai Chen &lt;chenhuacai@loongson.cn&gt;
</content>
</entry>
<entry>
<title>LoongArch: Add STACKTRACE support</title>
<updated>2022-08-12T05:10:11Z</updated>
<author>
<name>Qing Zhang</name>
</author>
<published>2022-08-06T08:10:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=93a4fa622eb061f75f87f0cf9609ab4e69c67d01'/>
<id>urn:sha1:93a4fa622eb061f75f87f0cf9609ab4e69c67d01</id>
<content type='text'>
1. Use common arch_stack_walk() infrastructure to avoid duplicated code
   and avoid taking care of the stack storage and filtering.
2. Add sched_ra (means sched return address) and sched_cfa (means sched
   call frame address) to thread_info, and store them in switch_to().
3. Add __get_wchan() implementation.

Now we can print the process stack and wait channel by cat /proc/*/stack
and /proc/*/wchan.

Signed-off-by: Qing Zhang &lt;zhangqing@loongson.cn&gt;
Signed-off-by: Huacai Chen &lt;chenhuacai@loongson.cn&gt;
</content>
</entry>
<entry>
<title>LoongArch: Re-tab the assembly files</title>
<updated>2022-07-29T10:22:32Z</updated>
<author>
<name>WANG Xuerui</name>
</author>
<published>2022-07-26T15:57:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f5c3c22f21b6a002e371afdcc9180a2fa47dc267'/>
<id>urn:sha1:f5c3c22f21b6a002e371afdcc9180a2fa47dc267</id>
<content type='text'>
Reflow the *.S files for better stylistic consistency, namely hard tabs
after mnemonic position, and vertical alignment of the first operand
with hard tabs. Tab width is obviously 8. Some pre-existing intra-block
vertical alignments are preserved.

Signed-off-by: WANG Xuerui &lt;git@xen0n.name&gt;
Signed-off-by: Huacai Chen &lt;chenhuacai@loongson.cn&gt;
</content>
</entry>
<entry>
<title>LoongArch: Add process management</title>
<updated>2022-06-03T12:09:28Z</updated>
<author>
<name>Huacai Chen</name>
</author>
<published>2022-05-31T10:04:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=803b0fc5c3f2baa6e54978cd576407896f789b08'/>
<id>urn:sha1:803b0fc5c3f2baa6e54978cd576407896f789b08</id>
<content type='text'>
Add process management support for LoongArch, including: thread info
definition, context switch and process tracing.

Reviewed-by: WANG Xuerui &lt;git@xen0n.name&gt;
Reviewed-by: Jiaxun Yang &lt;jiaxun.yang@flygoat.com&gt;
Signed-off-by: Huacai Chen &lt;chenhuacai@loongson.cn&gt;
</content>
</entry>
</feed>
