<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/libcpu/risc-v, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/libcpu/risc-v?h=master</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/libcpu/risc-v?h=master'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2026-10-22T09:59:29Z</updated>
<entry>
<title>[libcpu][risc-v] Fix ticket spinlock stalls under SMP contention</title>
<updated>2026-10-22T09:59:29Z</updated>
<author>
<name>GuEe-GUI</name>
<email>2991707448@qq.com</email>
</author>
<published>2026-10-20T07:58:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=2a4e78d2321cff9bc2ad2d41f5c18cfe5e82595b'/>
<id>urn:sha1:2a4e78d2321cff9bc2ad2d41f5c18cfe5e82595b</id>
<content type='text'>
Eight-core boot on SpacemiT K1 could stall with one CPU in the
unlock LR/SC loop, two CPUs allocating tickets, and the remaining
CPUs waiting for the scheduler lock.

Replace LR/SC ticket allocation with amoadd.w.aqrl and release the
lock with a halfword owner update. Order critical-section accesses
after acquiring ownership and before releasing it.

Verified eight-core boot on K1 with temporary diagnostics and
reservation-clearing changes removed.

Signed-off-by: GuEe-GUI &lt;2991707448@qq.com&gt;
</content>
</entry>
<entry>
<title>[bsp][spacemit/k1] first version #11132</title>
<updated>2026-10-19T10:49:16Z</updated>
<author>
<name>GUI</name>
<email>39894654+GuEe-GUI@users.noreply.github.com</email>
</author>
<published>2026-10-19T10:49:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=1c801efabc36337d0013721eb30b11de0adb3075'/>
<id>urn:sha1:1c801efabc36337d0013721eb30b11de0adb3075</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[ARCH/RISC-V] Next RISC-V (#10320)</title>
<updated>2026-10-17T01:44:26Z</updated>
<author>
<name>GUI</name>
<email>39894654+GuEe-GUI@users.noreply.github.com</email>
</author>
<published>2026-10-17T01:44:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=8d8dc96b67eee53af2841a8819364d52fbec39cb'/>
<id>urn:sha1:8d8dc96b67eee53af2841a8819364d52fbec39cb</id>
<content type='text'>
* [libcpu][risc-v] Refactor the RISC-V architecture port

Introduce an opt-in unified RISC-V common layer for RV32 and RV64 while keeping existing BSPs on the legacy implementation during migration.

- use ARCH_RISCV and ARCH_CPU_64BIT for architecture and XLEN selection
- unify context, trap, MMU, cache, timer, SBI, SMP and ISA handling
- add PLIC, CLIC, ACLINT, APLIC and IMSIC support
- map physical hart IDs to contiguous logical CPU IDs
- add T-Head vendor overrides while preserving legacy ports
- migrate qemu-virt64-riscv with RV32 and RV64 support
- update clock_time, MM, LWP, OFW, PCI and Rust integration

Existing BSPs continue using legacy_common or common64 unless they select RT_USING_RISCV_NEW_COMMON.

Signed-off-by: GuEe-GUI &lt;2991707448@qq.com&gt;

* [libcpu][risc-v] skip disabled CPU nodes in early FDT walk

Rbb666 noted that rt_hw_fdt_install_early() walked every /cpus child
without checking status, so disabled cores still joined hart registration
and MMU capability probing. Skip nodes that are not okay/ok via
rt_fdt_device_is_available() before reading reg or mmu-type.

Signed-off-by: seteiro &lt;chenmoushun@163.com&gt;

* [libcpu][risc-v] Fix per-CPU page table mapping

- reuse existing non-leaf page table entries when mapping per-CPU areas
- reject leaf entry conflicts instead of overwriting mappings

Signed-off-by: GuEe-GUI &lt;2991707448@qq.com&gt;

---------

Signed-off-by: GuEe-GUI &lt;2991707448@qq.com&gt;
Signed-off-by: seteiro &lt;chenmoushun@163.com&gt;
Co-authored-by: seteiro &lt;chenmoushun@163.com&gt;</content>
</entry>
<entry>
<title>[risc-v][vector] Restore vstart after vector configuration</title>
<updated>2026-10-14T01:13:49Z</updated>
<author>
<name>Piyush Patle</name>
<email>nikhilgpatle60@gmail.com</email>
</author>
<published>2026-10-14T01:13:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=f9436bb5bdabb9670792b22f79467b0ef16bff47'/>
<id>urn:sha1:f9436bb5bdabb9670792b22f79467b0ef16bff47</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[libcpu][risc-v]Feat: Add OpenSBI SMP support to t-head c908</title>
<updated>2026-09-15T14:57:55Z</updated>
<author>
<name>guanxi.cgh</name>
<email>guanxi.cgh@alibaba-inc.com</email>
</author>
<published>2026-09-04T03:04:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=e81494f881526b257165207cf716df1043f1bb2a'/>
<id>urn:sha1:e81494f881526b257165207cf716df1043f1bb2a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[libcpu][risc-v]Feat: Add mmu SV48/SV57 mode support and add mmu_demo for C908.</title>
<updated>2026-09-15T14:57:55Z</updated>
<author>
<name>guanxi.cgh</name>
<email>guanxi.cgh@alibaba-inc.com</email>
</author>
<published>2026-08-25T13:25:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=a5d9dc884b6f5f61b06664bbf745356416de98cf'/>
<id>urn:sha1:a5d9dc884b6f5f61b06664bbf745356416de98cf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat[bsp][xuantie]: c908 support rt-smart #11719</title>
<updated>2026-08-28T04:25:32Z</updated>
<author>
<name>BadmintonMaster</name>
<email>guanxi.cgh@alibaba-inc.com</email>
</author>
<published>2026-08-28T04:25:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=bf38ee2130634ac6571e816dde81b04818d75444'/>
<id>urn:sha1:bf38ee2130634ac6571e816dde81b04818d75444</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Ensure that c906 uses only the Xuantie MMU properties</title>
<updated>2026-08-21T08:51:33Z</updated>
<author>
<name>rcitach</name>
<email>yearsince@yeah.net</email>
</author>
<published>2026-08-21T05:29:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=5ae08713c8b409aef8ba1d887c3f228566537909'/>
<id>urn:sha1:5ae08713c8b409aef8ba1d887c3f228566537909</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[libcpu][risc-v] Fix PLIC interrupt processing order</title>
<updated>2026-04-07T02:14:56Z</updated>
<author>
<name>FurryAcetylCoA</name>
<email>1109673069@qq.com</email>
</author>
<published>2026-03-31T12:02:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=e3cfde245d139f4f6d478a5c59339b1b5d1be9ec'/>
<id>urn:sha1:e3cfde245d139f4f6d478a5c59339b1b5d1be9ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix[libcpu][risc-v]:</title>
<updated>2026-02-26T09:26:47Z</updated>
<author>
<name>shuta.lst</name>
<email>shuta.lst@alibaba-inc.com</email>
</author>
<published>2026-02-26T07:24:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=33f8aff9cf0411f0fe6e6d6231f296448387f247'/>
<id>urn:sha1:33f8aff9cf0411f0fe6e6d6231f296448387f247</id>
<content type='text'>
 - Implement _noncache() and _cache() function features;
 - Correct rt_hw_mmu_setup function for NORMAL_NOCACHE_MEM type property configuration;
 - Update C908/C906 PTE macro definition configuration;
</content>
</entry>
</feed>
