<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/libcpu/aarch64/common/setup.c, branch copilot/fix-format-string-injection</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/setup.c?h=copilot%2Ffix-format-string-injection</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/libcpu/aarch64/common/setup.c?h=copilot%2Ffix-format-string-injection'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2026-01-31T09:44:27Z</updated>
<entry>
<title>[components][clock_time] Refactor time subsystem around clock_time (#11111)</title>
<updated>2026-01-31T09:44:27Z</updated>
<author>
<name>Bernard Xiong</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2026-01-31T09:44:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=743b614875fc33257be47ab53b6c5e040ec27893'/>
<id>urn:sha1:743b614875fc33257be47ab53b6c5e040ec27893</id>
<content type='text'>
* [components][clock_time] Refactor time subsystem around clock_time

Introduce the clock_time core with clock source/event separation, high-resolution scheduling, and boot-time helpers, plus clock_timer adapters for timer peripherals.

Remove legacy ktime/cputime/hwtimer implementations and migrate arch and BSP time paths to the new subsystem while keeping POSIX time integration functional.

Update drivers, Kconfig/SConscript wiring, documentation, and tests; add clock_time overview docs and align naming to clock_boottime/clock_hrtimer/clock_timer.

* [components][clock_time] Use BSP-provided clock timer frequency on riscv64

* [risc-v] Use runtime clock timer frequency for tick and delays

* [bsp] Add clock timer frequency hooks for riscv64 boards

* [bsp] Update Renesas RA driver doc clock_timer link

* [bsp] Sync zynqmp-r5-axu4ev rtconfig after config refresh

* [bsp][rk3500] Update rk3500 clock configuration

* [bsp][hpmicro] Add rt_hw_us_delay hook and update board delays

* [bsp][stm32l496-st-nucleo] enable clock_time for hwtimer sample in ci

* [bsp][hpmicro] Fix rtconfig include scope for hpm6750evk

Move rtconfig.h include outside the ENET_MULTIPLE_PORT guard for hpm6750evk and hpm6750evk2 so configuration macros are available regardless of ENET settings.

* [bsp][raspi3] select clock time for systimer

* [bsp][hpm5300evk] Trim trailing blank line

* [bsp][hpm5301evklite] Trim trailing blank line

* [bsp][hpm5e00evk] Trim trailing blank line

* [bsp][hpm6200evk] Trim trailing blank line

* [bsp][hpm6300evk] Trim trailing blank line

* [bsp][hpm6750evk] Trim trailing blank line

* [bsp][hpm6750evk2] Trim trailing blank line

* [bsp][hpm6750evkmini] Trim trailing blank line

* [bsp][hpm6800evk] Trim trailing blank line

* [bsp][hpm6e00evk] Trim trailing blank line

* [bsp][nxp] switch lpc178x to gcc and remove mcx timer source

* [bsp][stm32] fix the CONFIG_RT_USING_CLOCK_TIME issue.

* [docs][clock_time] add clock time documentation

* [docs][clock_time] Update clock time subsystem documentation

- Update device driver index to use correct page reference
- Clarify upper layer responsibilities in architecture overview
- Update README to describe POSIX/libc, Soft RTC, and device driver usage
- Refine architecture diagram with improved layout and color scheme
- Remove obsolete clock_timer.md file

* [kernel][utest] Trim trailing space

* [clock_time] Fix hrtimer wrap handling

* [clock_time] fix the static rt_inline issue

* [clock_time] fix the rt_clock_hrtimer_control result issue</content>
</entry>
<entry>
<title>[libcpu][aarch64] Update for DM</title>
<updated>2025-12-19T13:18:54Z</updated>
<author>
<name>GuEe-GUI</name>
<email>2991707448@qq.com</email>
</author>
<published>2025-12-17T07:11:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=77fbed5744872a825ce71222796b9bdcee30526c'/>
<id>urn:sha1:77fbed5744872a825ce71222796b9bdcee30526c</id>
<content type='text'>
1. PSCI port to system power.
2. Support builtin fdt.
3. Update system aspace size.
4. Support DMA memory probe.
5. Fixup not backtrace in Serror for device bus fault.

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>
<entry>
<title>:truck: renaming: move `smp` to `smp_call`</title>
<updated>2024-11-03T02:08:45Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-10-31T05:50:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=a573ea06b7bbf1f22c6add812770f9734f04ae66'/>
<id>urn:sha1:a573ea06b7bbf1f22c6add812770f9734f04ae66</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: smp_call: added signaling call_req</title>
<updated>2024-11-03T02:08:45Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-10-31T03:57:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=2f6d98bfcb4a280f396bda0ea412df10834689d5'/>
<id>urn:sha1:2f6d98bfcb4a280f396bda0ea412df10834689d5</id>
<content type='text'>
This patch introduces `rt_smp_call_request` API to handle queued
requests across cores with user provided data buffer, which provides a
way to request IPI through a non-blocking pattern.

It also resolved several issues in the old implementation:
- Multiple requests from different cores can not be queued in the work
  object of the target core.
- Data racing on `rt_smp_work` of same core. If multiple requests came
  in turns, or if the call is used by the target cpu, while a new
  request is coming, the value will be overwrite.
- Memory vulnerability. The rt_smp_event is allocated on stack, though
  the caller may not wait until the call is done.
- API naming problem. Actually we don't provide a way to issue an IPI to
  ANY core in mask. What the API do is aligned to MANY pattern.
- FUNC_IPI registering to PIC.

Changes:
- Declared and configured the new `RT_SMP_CALL_IPI` to support
  functional IPIs for task requests across cores.
- Replaced the single `rt_smp_work` array with `call_req_cores` to
  manage per-core call requests safely.
- Added `_call_req_take` and `_call_req_release` functions for atomic
  handling of request lifetimes, preventing data race conditions.
- Replaced single event handling with a queue-based approach
  (`call_queue`) for efficient multi-request processing per core.
- Introduced `rt_smp_call_ipi_handler` to process queued requests,
  reducing IPI contention by only sending new requests when needed.
- Implemented `_smp_call_remote_request` to handle remote requests
  with specific flags, enabling more flexible core-to-core task
  signaling.
- Refined `rt_smp_call_req_init` to initialize and track requests
  with atomic usage flags, mitigating potential memory vulnerabilities.

Signed-off-by: Shell &lt;smokewood@qq.com&gt;
</content>
</entry>
<entry>
<title>smp</title>
<updated>2024-09-24T01:56:30Z</updated>
<author>
<name>zhujiale</name>
<email>945386260@qq.com</email>
</author>
<published>2024-09-12T10:25:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=8ce405f739c195d93c485ba2c23ac127f3ade689'/>
<id>urn:sha1:8ce405f739c195d93c485ba2c23ac127f3ade689</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SMP</title>
<updated>2024-09-24T01:56:30Z</updated>
<author>
<name>zhujiale</name>
<email>945386260@qq.com</email>
</author>
<published>2024-09-12T05:12:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=244cf61af6a0549d2a197af05183a7e902207598'/>
<id>urn:sha1:244cf61af6a0549d2a197af05183a7e902207598</id>
<content type='text'>
</content>
</entry>
<entry>
<title>smp_ipi</title>
<updated>2024-09-24T01:56:30Z</updated>
<author>
<name>zhujiale</name>
<email>945386260@qq.com</email>
</author>
<published>2024-08-29T02:12:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=512dae84bef1d85f8f7670c24ab774c9afdc0133'/>
<id>urn:sha1:512dae84bef1d85f8f7670c24ab774c9afdc0133</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[libcpu] quality: call PV_OFFSET on entry for once</title>
<updated>2024-07-17T05:23:52Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-07-17T05:22:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=2d1eba8bf3327fa5313544c6102bf6356d17a65a'/>
<id>urn:sha1:2d1eba8bf3327fa5313544c6102bf6356d17a65a</id>
<content type='text'>
This patch improves the efficiency and readability of the AArch64 common setup
code by calculating the `PV_OFFSET` once at the start and reusing the value.
This change reduces redundant calculations.

Signed-off-by: Shell &lt;smokewood@qq.com&gt;
</content>
</entry>
</feed>
