Skip to content

[lwp] aarch64 vdso#9158

Closed
rcitach wants to merge 10 commits intoRT-Thread:masterfrom
rcitach:vdso
Closed

[lwp] aarch64 vdso#9158
rcitach wants to merge 10 commits intoRT-Thread:masterfrom
rcitach:vdso

Conversation

@rcitach
Copy link
Contributor

@rcitach rcitach commented Jul 9, 2024

拉取/合并请求描述:(PR description)

[

为什么提交这份PR (why to submit this PR)

你的解决方案是什么 (what is your solution)

请提供验证的bsp和config (provide the config and bsp)

  • BSP:
  • .config:
  • action:

]

当前拉取/合并请求的状态 Intent for your PR

必须选择一项 Choose one (Mandatory):

  • 本拉取/合并请求是一个草稿版本 This PR is for a code-review and is intended to get feedback
  • 本拉取/合并请求是一个成熟版本 This PR is mature, and ready to be integrated into the repo

代码质量 Code Quality:

我在这个拉取/合并请求中已经考虑了 As part of this pull request, I've considered the following:

  • 已经仔细查看过代码改动的对比 Already check the difference between PR and old code
  • 代码风格正确,包括缩进空格,命名及其他风格 Style guide is adhered to, including spacing, naming and other styles
  • 没有垃圾代码,代码尽量精简,不包含#if 0代码,不包含已经被注释了的代码 All redundant code is removed and cleaned up
  • 所有变更均有原因及合理的,并且不会影响到其他软件组件代码或BSP All modifications are justified and not affect other components or BSP
  • 对难懂代码均提供对应的注释 I've commented appropriately where code is tricky
  • 代码是高质量的 Code in this PR is of high quality
  • 已经使用formatting 等源码格式化工具确保格式符合RT-Thread代码规范 This PR complies with RT-Thread code specification

@rcitach rcitach requested a review from BernardXiong as a code owner July 9, 2024 02:45
@BernardXiong BernardXiong requested a review from polarvid July 9, 2024 04:12
Copy link
Contributor

@polarvid polarvid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

提交记录 rebase 一下吧,把 commit message 改成有意义的内容。

然后架构相关的应该放到 lwp/arch/$ARCH 目录下。

@rcitach rcitach requested a review from supperthomas as a code owner July 9, 2024 06:37
@BernardXiong BernardXiong added the 🎯 Focus Should focus on this issue/discussion/pr label Jul 11, 2024
@rcitach rcitach closed this Jul 11, 2024
@rcitach rcitach reopened this Jul 11, 2024
[fixed]serial_v2.c兼容DFS_V2接口 (#9153)

[smart/tty] skip configure of rt_serial on tty open (#9152)

Skip configure on open since all configs are copied from the current
configuration on device. So we don't bother to set it back to device
again.

Changes:

- test and skip configuration on open() of tty device

Signed-off-by: Shell <smokewood@qq.com>

[bsp/allwinner] feat: porting to RT_USING_DEVICE_OPS (#9142)

* [bsp/allwinner] feat: porting to RT_USING_DEVICE_OPS

This patch ports the codebase to use the RT_USING_DEVICE_OPS structure,
which is required by v5.1.0 Smart kernel, improves modularity and makes
it easier to manage device operations by consolidating them into a
single structure, enhancing maintainability and future scalability.

Changes:
- Added RT_USING_DEVICE_OPS conditionals to partition.c and drv_sdmmc.c.
- Defined rt_device_ops structures for partition and sdmmc drivers.
- Updated device initialization to use the ops structure if defined.
- Replaced direct function calls with rt_dev_control, rt_dev_read, and
  rt_dev_write macros where applicable.
- Removed redundant us_delay function from os.c.

Signed-off-by: Shell <smokewood@qq.com>

* feat: update configuration

* feat: fixup compiler warning

---------

Signed-off-by: Shell <smokewood@qq.com>

[bsp][stm32_rt_spark]Add README_EN

[components][driver][can]Fix possible memory overflow caused by RX

修复RX可能导致的内存溢出情况

[fixed][kconfiglib]test kconfiglib is installed and info how to install

[ci] use env install script to install env

解决tools/keil.py中python3不兼容python2的str.decode()

[bsp/cvitek]将eth驱动中地址类型改为指针以适应ioremap (#9137)

ioremap后地址可能超32位

feat: support ARCH_REMAP_KERNEL on libcpu/c906 (#9123)

feat: [libcpu/c906] support ARCH_REMAP_KERNEL

This change was necessary to enable the remapping of the kernel image to
a high virtual address region on the c906 platform.

Changes:
- Introduced new configuration options `ARCH_REMAP_KERNEL`, and
  `ARCH_USING_ASID` under the `ARCH_RISCV64` section.
- Updated MMU initialization and switching functions to incorporate
  remapping handling.
- Modified page table setup for proper memory attribute settings.
- Added support for early memory setup, kernel remapping
- Added conditional compilation for ASID support in the `rt_aspace` struct,
  since this is not enable currently for most architecture.

Signed-off-by: Shell <smokewood@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🎯 Focus Should focus on this issue/discussion/pr

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants