<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/libcpu/aarch64/common/cpu.c, branch v5.2.0-beta</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/libcpu/aarch64/common/cpu.c?h=v5.2.0-beta</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/libcpu/aarch64/common/cpu.c?h=v5.2.0-beta'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2024-06-27T16:23:09Z</updated>
<entry>
<title>[format] cleanup libcpu/aarch64 (#8950)</title>
<updated>2024-06-27T16:23:09Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-06-27T16:23:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=90917cc75af9406834c14fd25140405ba6f72d6d'/>
<id>urn:sha1:90917cc75af9406834c14fd25140405ba6f72d6d</id>
<content type='text'>
* [dfs] fixup compiler warning

Signed-off-by: Shell &lt;smokewood@qq.com&gt;

* [format] libcpu/arm64: separate context switching codes

Signed-off-by: Shell &lt;smokewood@qq.com&gt;

* [format] libcpu/arm64: separate vector

Signed-off-by: Shell &lt;smokewood@qq.com&gt;

* [format] libcpu/arm64: separate context_gcc.S

Signed-off-by: Shell &lt;smokewood@qq.com&gt;

* [format] libcpu/arm64: moving headers to include directory

Signed-off-by: Shell &lt;smokewood@qq.com&gt;

* style: replace tab with space

---------

Signed-off-by: Shell &lt;smokewood@qq.com&gt;</content>
</entry>
<entry>
<title>[libcpu] arm64: implement cpuid get by assembly (#9052)</title>
<updated>2024-06-11T09:21:47Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-06-11T09:21:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=a12736e4c8e81178ac0cb8639f820028b0d23230'/>
<id>urn:sha1:a12736e4c8e81178ac0cb8639f820028b0d23230</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[arm64] add hw thread self (#8942)</title>
<updated>2024-05-28T06:27:55Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-05-28T06:27:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=f17f994f8c85a0ca58d42c81a14f1134af6ada91'/>
<id>urn:sha1:f17f994f8c85a0ca58d42c81a14f1134af6ada91</id>
<content type='text'>
* [libcpu] arm64: Add hardware thread_self support

This patch introduces hardware-based thread self-identification
for the AArch64 architecture. It optimizes thread management by
using hardware registers to store and access the current thread's
pointer, reducing overhead and improving overall performance.

Changes include:
- Added `ARCH_USING_HW_THREAD_SELF` configuration option.
- Modified `rtdef.h`, `rtsched.h` to conditionally include
  `critical_switch_flag` based on the new config.
- Updated context management in `context_gcc.S`, `cpuport.h`
  to support hardware-based thread self.
- Enhanced `scheduler_mp.c` and `thread.c` to leverage the new
  hardware thread self feature.

These modifications ensure better scheduling and thread handling,
particularly in multi-core environments, by minimizing the
software overhead associated with thread management.

Signed-off-by: Shell &lt;smokewood@qq.com&gt;

* fixup: address suggestion

* fixup: rt_current_thread as global

* scheduler: add cpu object for UP scheduler

Also, maintain the rt_current_thread in cpu object on UP scheduler.

---------

Signed-off-by: Shell &lt;smokewood@qq.com&gt;</content>
</entry>
<entry>
<title>[libcpu/arm64] add C11 atomic ticket spinlock (#8882)</title>
<updated>2024-05-16T07:45:12Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-05-16T07:45:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=e25fc8b5118fba87acd5bc677641926a913bb3a5'/>
<id>urn:sha1:e25fc8b5118fba87acd5bc677641926a913bb3a5</id>
<content type='text'>
* [libcpu/arm64] add C11 atomic ticket spinlock

Replace the former implementation of flag-based spinlock which is unfair

Besides, C11 atomic implementation is more readable (it's C anyway),
and maintainable. Cause toolchain can use their builtin optimization and
tune for different micro-architectures. For example armv8.5 introduces a
better instruction. The compiler can help with that when it knows your
target platform in support of it.

Signed-off-by: Shell &lt;smokewood@qq.com&gt;

* fixup: RT_CPUS_NR

---------

Signed-off-by: Shell &lt;smokewood@qq.com&gt;</content>
</entry>
<entry>
<title>[kernel] Add hook for malloc services</title>
<updated>2024-01-02T11:42:46Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2023-12-22T07:44:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=3a7903b799c9f379048368df029cac3e42c28be4'/>
<id>urn:sha1:3a7903b799c9f379048368df029cac3e42c28be4</id>
<content type='text'>
Including the patch for memory allocation, testsuites and fixups of
static analysis.

Signed-off-by: Shell &lt;smokewood@qq.com&gt;
</content>
</entry>
<entry>
<title>[libcpu][aarch64] 使用设备树对CPU进行初始化 (#8221)</title>
<updated>2023-11-28T06:20:11Z</updated>
<author>
<name>fangjianzhou</name>
<email>73834245+fangjianzhou@users.noreply.github.com</email>
</author>
<published>2023-11-28T06:20:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=249871cbbcdc14f1c16a2d502639780ebc6ae078'/>
<id>urn:sha1:249871cbbcdc14f1c16a2d502639780ebc6ae078</id>
<content type='text'>
</content>
</entry>
<entry>
<title>🎈 perf: perf rt_hw_interrupt_disable/enable (#8042)</title>
<updated>2023-10-25T12:31:25Z</updated>
<author>
<name>xqyjlj</name>
<email>xqyjlj@126.com</email>
</author>
<published>2023-10-25T12:31:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=3283f54c7a0444b2e51ec79a4da57e7871528f05'/>
<id>urn:sha1:3283f54c7a0444b2e51ec79a4da57e7871528f05</id>
<content type='text'>
Signed-off-by: Shell &lt;smokewood@qq.com&gt;
Co-authored-by: Shell &lt;smokewood@qq.com&gt;</content>
</entry>
<entry>
<title>rt_hw_cpu_shutdown: implement default weak function</title>
<updated>2023-08-09T02:34:25Z</updated>
<author>
<name>Meco Man</name>
<email>920369182@qq.com</email>
</author>
<published>2023-08-07T16:42:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=c6a2f5b7bdee378cc868ee9284e760ebbdf635f0'/>
<id>urn:sha1:c6a2f5b7bdee378cc868ee9284e760ebbdf635f0</id>
<content type='text'>
and remvoe duplicated default functions in each cpu/bsp level
</content>
</entry>
<entry>
<title>AMP-step3: 添加conifg ARCH_ARM_CORTEX_A55， rt_hw_cpu_id_set 适配A55架构, 添加aarch64 rt_… (#7628)</title>
<updated>2023-06-10T23:06:16Z</updated>
<author>
<name>wangqinglin</name>
<email>53550140+HelloByeAll@users.noreply.github.com</email>
</author>
<published>2023-06-10T23:06:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=194a2efdf4b65531c3149f5a3bb0154b35514abd'/>
<id>urn:sha1:194a2efdf4b65531c3149f5a3bb0154b35514abd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[components/mm] support for scalable memory management (#7277)</title>
<updated>2023-04-22T15:59:11Z</updated>
<author>
<name>Shell</name>
<email>wangxiaoyao@rt-thread.com</email>
</author>
<published>2023-04-22T15:59:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=470454d201ebb89aa72525f8c3fb562e372f4f56'/>
<id>urn:sha1:470454d201ebb89aa72525f8c3fb562e372f4f56</id>
<content type='text'>
* [mm/page] multi-list page manager
[mm/page] page debugger
[libcpu/aarch64] hugepage support

* [quality] remove void-arith

* [format] remove kasan codes</content>
</entry>
</feed>
