<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/libcpu/aarch64/common/mmu.c, branch copilot/remove-vbus-code-implementation</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/mmu.c?h=copilot%2Fremove-vbus-code-implementation</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/libcpu/aarch64/common/mmu.c?h=copilot%2Fremove-vbus-code-implementation'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2025-10-21T02:12:35Z</updated>
<entry>
<title>[aarch64] Fix rt_aspace_init error when KERNEL_VADDR_START &gt;= 0x80000000</title>
<updated>2025-10-21T02:12:35Z</updated>
<author>
<name>Siwei Xu</name>
<email>xusiwei1236@qq.com</email>
</author>
<published>2025-10-20T12:32:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=1efceab0711f741c649730dd5c6c04ab96881bad'/>
<id>urn:sha1:1efceab0711f741c649730dd5c6c04ab96881bad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[CPU/AARCH64] 增加 libcpu/aarch64 KERNEL_ASPACE_START 配置 #10757</title>
<updated>2025-10-10T03:02:28Z</updated>
<author>
<name>zhangyan</name>
<email>103986797+messigogogo@users.noreply.github.com</email>
</author>
<published>2025-10-10T03:02:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=cc72712173c610494bf32f8113a968c3ece5aee2'/>
<id>urn:sha1:cc72712173c610494bf32f8113a968c3ece5aee2</id>
<content type='text'>
针对不同的 Aarch64 BSP 针对 KERNEL_VADDR_START 宏定义进行区分</content>
</entry>
<entry>
<title>[CPU/AARCH64] Fixup MMU</title>
<updated>2025-07-04T08:37:29Z</updated>
<author>
<name>GuEe-GUI</name>
<email>2991707448@qq.com</email>
</author>
<published>2025-06-30T04:48:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=a89479656631ce52f5c4755814a87222ad47d040'/>
<id>urn:sha1:a89479656631ce52f5c4755814a87222ad47d040</id>
<content type='text'>
1. Configure the kernel default vaddr by RAM and TEXT offset.
2. Check the p_addr 2M align when set the stride in `rt_hw_mmu_map`.

Signed-off-by: GuEe-GUI &lt;2991707448@qq.com&gt;
</content>
</entry>
<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>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>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>[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>
<entry>
<title>[libcpu][aarch64]mmu log fixup (#9078)</title>
<updated>2024-06-26T06:37:05Z</updated>
<author>
<name>zms123456</name>
<email>85141075+zmshahaha@users.noreply.github.com</email>
</author>
<published>2024-06-26T06:37:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=ca35f6692cfa6810df3e1a1ab3052913bf5bfa99'/>
<id>urn:sha1:ca35f6692cfa6810df3e1a1ab3052913bf5bfa99</id>
<content type='text'>
mmu log fixup</content>
</entry>
<entry>
<title>[libcpu][aarch64]memory setup using memblock (#9092)</title>
<updated>2024-06-26T06:36:49Z</updated>
<author>
<name>zms123456</name>
<email>85141075+zmshahaha@users.noreply.github.com</email>
</author>
<published>2024-06-26T06:36:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=b785ef9ed76fcf97d3f2d59e02bfaa8b5f6cc74e'/>
<id>urn:sha1:b785ef9ed76fcf97d3f2d59e02bfaa8b5f6cc74e</id>
<content type='text'>
* memory setup using memblock

* map pages later</content>
</entry>
</feed>
