<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/libcpu/aarch64/common, branch v5.2.1-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?h=v5.2.1-beta</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/libcpu/aarch64/common?h=v5.2.1-beta'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2025-04-13T14:12:00Z</updated>
<entry>
<title>libcpu: aarch64: Fix NORMAL_NOCACHE_MEM attr (#10180)</title>
<updated>2025-04-13T14:12:00Z</updated>
<author>
<name>mouch6131</name>
<email>187177037@qq.com</email>
</author>
<published>2025-04-13T14:12:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=86df886c7fc7a2492f25672c460576bf3170c979'/>
<id>urn:sha1:86df886c7fc7a2492f25672c460576bf3170c979</id>
<content type='text'>
Signed-off-by: Cliff Chen &lt;cliff.chen@rock-chips.com&gt;
Signed-off-by: mouch6131 &lt;187177037@qq.com&gt;
Co-authored-by: Cliff Chen &lt;cliff.chen@rock-chips.com&gt;</content>
</entry>
<entry>
<title>libcpu: cleanup undefined rt_hw_mmu_kernel_map_init (#10177)</title>
<updated>2025-04-10T23:54:21Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-04-10T23:54:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=5c9f61879c8e745c89aaa728cfd86e6e9e912914'/>
<id>urn:sha1:5c9f61879c8e745c89aaa728cfd86e6e9e912914</id>
<content type='text'>
* libcpu: cleanup undefined rt_hw_mmu_kernel_map_init

rt_hw_mmu_kernel_map_init() is declared in header files but
no definition found, cleanup the code.

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;

* bsp: allwinner: d1: remove calling of rt_hw_mmu_kernel_map_init

rt_hw_mmu_kernel_map_init is an undefined function, calling it
is meaningless.

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;

---------

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;</content>
</entry>
<entry>
<title>[libcpu][aarch64]fix gicv3 mpidr table (#9284)</title>
<updated>2025-03-28T03:08:28Z</updated>
<author>
<name>zms123456</name>
<email>85141075+zmshahaha@users.noreply.github.com</email>
</author>
<published>2025-03-28T03:08:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=883bdfa9efbac8ff3fb174c7851b0a3d54972a6a'/>
<id>urn:sha1:883bdfa9efbac8ff3fb174c7851b0a3d54972a6a</id>
<content type='text'>
* fix gicv3 mpidr error

* phytium should support rt_cpu_mpidr_table by using common_setup</content>
</entry>
<entry>
<title>feat: mm: added affinity pages allocator</title>
<updated>2025-02-25T03:26:30Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-11-28T09:53:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=9386411d13d8f9085eebc1ac7515f008685ab447'/>
<id>urn:sha1:9386411d13d8f9085eebc1ac7515f008685ab447</id>
<content type='text'>
This patch introduces a tagged pages allocator to address the existing problems
of page aliasing on specific platforms and the requirement of page coloring.
It implements an affinity-id aware page manager by separating the runtime page
list into two types: a normal single linked-list and a multi-dimensional affinity-list.

Changes:
- Introduced tagged pages allocator and managing algorithm for affinity pages list
- Modified components to support affinity-id list management
- Updated page allocation and freeing functions to handle tagged pages
- Added configuration options for page affinity block size and debugging
- Modified mmap and elf loading to respect affinity settings
- Enhanced page list management to support multi-dimensional affinity-list

Signed-off-by: Shell &lt;smokewood@qq.com&gt;
</content>
</entry>
<entry>
<title>feat: arm64: mmu: auto-sensing of best paging stride</title>
<updated>2024-12-14T04:38:32Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-12-02T10:19:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=7ff75e21fad3e851090a9f9fcb14d0411949f2f8'/>
<id>urn:sha1:7ff75e21fad3e851090a9f9fcb14d0411949f2f8</id>
<content type='text'>
Improves the memory mapping process by dynamically selecting the optimal
paging stride (4K or 2M) based on virtual address alignment and mapping
size. This eliminates the need for upfront stride determination, enhancing
flexibility and maintainability in memory management.

Changes:
- Replaced fixed stride selection logic with a dynamic decision loop.
- Removed `npages` calculation and replaced with `remaining_sz` to track
  unprocessed memory size.
- Added assertions to ensure `size` is properly aligned to the smallest
  page size.
- Adjusted loop to dynamically determine and apply the appropriate stride
  (4K or 2M) for each mapping iteration.
- Updated virtual and physical address increments to use the dynamically
  selected stride.

Signed-off-by: Shell &lt;smokewood@qq.com&gt;
</content>
</entry>
<entry>
<title>[FIXUP] __rt_clz loss in aarch64</title>
<updated>2024-12-13T02:39:20Z</updated>
<author>
<name>GuEe-GUI</name>
<email>2991707448@qq.com</email>
</author>
<published>2024-12-12T05:52:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=78f318aa8f506891002b58eeb45e8d18623cde15'/>
<id>urn:sha1:78f318aa8f506891002b58eeb45e8d18623cde15</id>
<content type='text'>
Signed-off-by: GuEe-GUI &lt;2991707448@qq.com&gt;
</content>
</entry>
<entry>
<title>feat: arm64 ASID support</title>
<updated>2024-11-24T18:44:34Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-11-19T08:16:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=fe2b124345f67d25afc333f2a012ae3d1534e5d6'/>
<id>urn:sha1:fe2b124345f67d25afc333f2a012ae3d1534e5d6</id>
<content type='text'>
Support for ARM64 ASID to enhance virtual memory management efficiency
by reducing the need for TLB flushes during address space switches.
These changes improve performance especially for multi-process systems.

Changes:
- Added `ARCH_USING_ASID` configuration in `libcpu/aarch64/Kconfig`.
- Defined ASID-related constants in `mmu.h`.
- Updated `TLBI_ARG` macro to include ASID manipulation.
- Implemented ASID allocation mechanism with spinlock synchronization.
- Enhanced TLB invalidation to support ASID-specific operations.
- Modified `rt_hw_aspace_switch` to use ASIDs when switching address spaces.
- Adjusted debug logging and function documentation to reflect ASID usage.
- Refactored AArch64 MMU and TLB handling for ASID integration.

Signed-off-by: Shell &lt;smokewood@qq.com&gt;
</content>
</entry>
<entry>
<title>[DM/FIXUP] remove some redundant INIT_EXPORT</title>
<updated>2024-11-18T07:03:23Z</updated>
<author>
<name>GuEe-GUI</name>
<email>2991707448@qq.com</email>
</author>
<published>2024-10-24T03:54:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=1bef42c64c2db3608814207a580e27e2673a4148'/>
<id>urn:sha1:1bef42c64c2db3608814207a580e27e2673a4148</id>
<content type='text'>
Signed-off-by: GuEe-GUI &lt;2991707448@qq.com&gt;
</content>
</entry>
<entry>
<title>[libcpu] fix No memory higher than 1 GB is mapped</title>
<updated>2024-11-18T02:13:07Z</updated>
<author>
<name>zhujiale</name>
<email>945386260@qq.com</email>
</author>
<published>2024-11-15T10:56:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=44515624e25230f5ec2157c5293fba9e431569db'/>
<id>urn:sha1:44515624e25230f5ec2157c5293fba9e431569db</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[libcpu] fix No memory higher than 1 GB is mapped</title>
<updated>2024-11-18T02:13:07Z</updated>
<author>
<name>zhujiale</name>
<email>945386260@qq.com</email>
</author>
<published>2024-11-15T10:26:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=96da7abd3e1dc30d901220b2c14e89ea9ecd096c'/>
<id>urn:sha1:96da7abd3e1dc30d901220b2c14e89ea9ecd096c</id>
<content type='text'>
</content>
</entry>
</feed>
