Commit Graph

268 Commits

Author SHA1 Message Date
ohci1 f807afc8a9 !233 merge dev/20260530 into master
fix: add md_stop_writes patch reference to kernel.mk

Created-by: chenjinxiang3
Commit-by: chenjinxiang3;openharmony_ci
Merged-by: ohci1
Description: https://gitcode.com/openharmony/kernel_linux_build/issues/126

Add MD_STOP_WRITES_PATCH_FILE variable and patch application block to kernel.mk for linux-6.6 builds, ensuring the md_stop_writes.patch is applied during kernel compilation.

See merge request: openharmony/kernel_linux_build!233
2026-06-02 16:54:05 +08:00
chenjinxiang3 bddfc11772 fix: add md_stop_writes patch kvm_fix.patch reference to kernel.mk
Signed-off-by: chenjinxiang3 <chenjinxiang3@huawei.com>
2026-06-01 20:23:20 +08:00
openharmony_ci 1461f26a9c fix: add md_stop_writes patch reference to kernel.mk
The __md_stop_writes() function in drivers/md/md.c was partially updated
with newer kernel API calls (mddev_is_dm, md_bitmap_enabled 2-arg version,
bitmap_ops member) that don't exist in linux-6.6, causing 6 compilation
errors. This adds the MD_STOP_WRITES_PATCH_FILE reference to kernel.mk so
the fix patch is applied during kernel build.

Change-Id: I5309af8051b0492d07a72516e7d7a582c9d7f727

Co-Authored-By: Agent
Signed-off-by: handyohos <zhangxiaotian@huawei.com>
Change-Id: I00c702c71a491d673f8e2633222e35689e9c78d8
2026-06-01 09:55:43 +08:00
openharmony_ci a6f436c604 !230 merge feature/qemu-arm64-kvm-fix into master
#125 #123 Isolate LOADADDR config and add KVM fix for qemu-arm

Created-by: chenjinxiang3
Commit-by: chenjinxiang3
Merged-by: openharmony_ci
Description: #125

## 变更1: LOADADDR产品隔离 (#125)

将KERNEL_MAKE中的LOADADDR配置做产品隔离,仅在qemu-arm-linux-min生效,避免其他产品启动失败。

- 移除ARM架构通用KERNEL_LOADADDR设置
- 仅在PRODUCT_NAME=qemu-arm-linux-min时设置KERNEL_LOADADDR
- KERNEL_MAKE中LOADADDR改为条件追加(ifdef KERNEL_LOADADDR)

Co-Authored-By: Agent

See merge request: openharmony/kernel_linux_build!230
2026-05-21 16:32:34 +08:00
chenjinxiang3 2062aa4a12 更新文件 kernel.mk
Signed-off-by: chenjinxiang3 <chenjinxiang3@huawei.com>
2026-05-21 11:58:00 +08:00
chenjinxiang3 09e681c3c1 更新文件 kernel.mk
Signed-off-by: chenjinxiang3 <chenjinxiang3@huawei.com>
2026-05-21 11:46:39 +08:00
chenjinxiang3 1f6666e208 更新文件 kernel.mk
Signed-off-by: chenjinxiang3 <chenjinxiang3@huawei.com>
2026-05-21 11:27:19 +08:00
chenjinxiang3 f979b4753d #125 Isolate LOADADDR config to qemu-arm-linux-min product only
Remove unconditional KERNEL_LOADADDR from ARM arch block.
Add product-specific KERNEL_LOADADDR only for qemu-arm-linux-min.
Make LOADADDR conditional in KERNEL_MAKE via ifdef.

Co-Authored-By: Agent
Signed-off-by: chenjinxiang3 <chenjinxiang3@huawei.com>
Change-Id: I3ce30e4fd317622835446690f161db0a77d2171f
2026-05-21 03:23:26 +00:00
chenjinxiang3 f7d93fda70 [qemu-arm64-linux-min] Add KVM fix patch application in kernel.mk
Add KVM_FIX_PATCH_FILE variable and patch application logic.
Fixes kvm_iodevice_destructor visibility issue in coalesced_mmio.c
on ARM64 architecture where the static function cannot be called
from another translation unit.

Co-Authored-By: Agent
Signed-off-by: chenjinxiang3 <chenjinxiang3@huawei.com>
Change-Id: I83555585fc1af8f83c47e3d6d8908484243556b2
2026-05-21 02:21:17 +00:00
openharmony_ci b7ef820a0c !228 merge feature/fix-qemu-kernel-6.6 into master
#121 Fix qemu-arm-linux-min compilation for linux-6.6 kernel

Created-by: chenjinxiang3
Commit-by: chenjinxiang3
Merged-by: openharmony_ci
Description: #121

## 问题描述

qemu-arm-linux-min产品在编译linux-6.6内核时失败,原因是缺少OpenHarmony特有头文件和PAGEFLAG_FALSE宏调用错误。

## 解决方案

修改kernel.mk,添加OH_HEADERS_PATCH_FILE补丁应用逻辑,仅对qemu-arm-linux设备生效。

## 影响范围

仅qemu-arm-linux设备,不影响其他设备(如rk3568)的编译,因为rk3568使用build_kernel.sh而非kernel.mk。

## 验证

- qemu-arm-linux-min编译通过
- rk3568编译不受影响(补丁文件不存在于rk3568_patch目录)

See merge request: openharmony/kernel_linux_build!228
2026-05-20 12:23:26 +08:00
chenjinxiang3 a86f2b9f6c #121 Fix qemu-arm-linux-min compilation for linux-6.6 kernel
Add OH_HEADERS_PATCH_FILE to apply device-specific headers patch
only for qemu-arm-linux device, fixing missing OH headers and
PAGEFLAG_FALSE macro issues.

Co-Authored-By: Agent
Signed-off-by: chenjinxiang3 <chenjinxiang3@huawei.com>
Change-Id: If73e07f465270481cb089d356298cf794a39402f
2026-05-19 13:48:04 +00:00
openharmony_ci 87e4d3a5e9 !226 merge dev into master
#119 Update kernel.mk build configuration

Created-by: handyohos
Commit-by: handyohos
Merged-by: openharmony_ci
Description: #119

## Summary
- Set LOADADDR for ARM uImage generation (0x40008000)
- Add linux-6.6 kernel support with multiple security modules
- Apply CED, XPM, DEC, code_sign, hideaddr patches
- Apply OpenHarmony specific headers for linux-6.6
- Apply watchdog compatibility patch for qemu-arm-linux
- Clean both KERNEL_SRC_TMP_PATH and KERNEL_OBJ_TMP_PATH

## Test plan
- [ ] Verify kernel build process
- [ ] Test ARM uImage generation
- [ ] Test linux-6.6 build with all security modules

See merge request: openharmony/kernel_linux_build!226
2026-05-19 15:52:44 +08:00
handyohos a8c38dc76a #119 Update kernel.mk build configuration
- Set LOADADDR for ARM uImage generation (0x40008000)
- Add linux-6.6 kernel support with multiple security modules
- Apply CED, XPM, DEC, code_sign, hideaddr patches
- Apply OpenHarmony specific headers for linux-6.6
- Apply watchdog compatibility patch for qemu-arm-linux
- Clean both KERNEL_SRC_TMP_PATH and KERNEL_OBJ_TMP_PATH

Co-Authored-By: Agent <noreply@anthropic.com>
Signed-off-by: handyohos <zhangxiaotian@huawei.com>
Change-Id: I9247b2c310ce81dbc58aa51d5b8c3a6fbfcf3605
2026-05-15 10:29:37 +08:00
openharmony_ci 975b1ebdcf !223 merge master into master
安全函数库不合理依赖整改

Created-by: ymw1997
Commit-by: ymw1997
Merged-by: openharmony_ci
Description: ### 一、内容说明(相关的Issue)



### 二、建议测试周期和提测地址  
  建议测试完成时间:xxxx.xx.xx  
  投产上线时间:xxxx.xx.xx  
  提测地址:CI环境/压测环境  
  测试账号:  

### 三、变更内容
  * 3.1 关联PR列表

  * 3.2 数据库和部署说明  
    1. 常规更新 
    2. 重启unicorn
    3. 重启sidekiq
    4. 迁移任务:是否有迁移任务,没有写 "无"
    5. rake脚本:`bundle exec xxx RAILS_ENV = production`;没有写 "无"

  * 3.4 其他技术优化内容(做了什么,变更了什么)
    - 重构了 xxxx 代码
    - xxxx 算法优化


  * 3.5 废弃通知(什么字段、方法弃用?)



  * 3.6  后向不兼容变更(是否有无法向后兼容的变更?)


  
### 四、研发自测点(自测哪些?冒烟用例全部自测?)
  自测测试结论:


### 五、测试关注点(需要提醒QA重点关注的、可能会忽略的地方)
  检查点:

| 需求名称 | 是否影响xx公共模块 | 是否需要xx功能 | 需求升级是否依赖其他子产品 |
|------|------------|----------|---------------|
| xxx  | 否          | 需要       | 不需要           |
|      |            |          |               |

  接口测试:

  性能测试:

  并发测试:

  其他:



See merge request: openharmony/kernel_linux_build!223
OpenHarmony-v6.1-Release OpenHarmony-v7.0-Beta1
2026-01-19 12:17:45 +08:00
ymw1997 6a962d06a6 告警修复
Signed-off-by: ymw1997 <yemingwei1@huawei.com>
2026-01-16 10:25:07 +08:00
ymw1997 c878ec5f28 安全函数库不合理依赖整改
Signed-off-by: ymw1997 <yemingwei1@huawei.com>
2026-01-15 15:51:33 +08:00
openharmony_ci d15918601b !222 TDD用例规范整改
Merge pull request !222 from Li Nan/tdd
OpenHarmony-v6.0.0.1-Release OpenHarmony-v6.0-Release OpenHarmony-v6.0-Beta1 OpenHarmony-v6.0.0.2-Release
2025-03-21 07:47:10 +00:00
Li Nan 021e08b473 TDD用例规范整改
Signed-off-by: Li Nan <linan122@huawei.com>
2025-03-21 11:53:43 +08:00
openharmony_ci 79972d5f76 !219 Add Loongarch support
Merge pull request !219 from Wu Xiaotian/pr1
OpenHarmony-v5.1.0-Release
2024-11-13 10:01:36 +00:00
Wu Xiaotian f44c4dab39 build for loongarch64 qemu target
Signed-off-by: Wu Xiaotian <wuxiaotian@loongson.cn>
2024-09-11 15:57:10 +08:00
openharmony_ci ca6026ccd2 !217 代码差异整改
Merge pull request !217 from yaowenrui/master
2024-09-05 08:59:21 +00:00
yaowenrui 3da8c2cfd5 蓝黄区代码差异整改
Signed-off-by: yaowenrui <yaowenrui2@huawei.com>
2024-09-05 09:43:24 +08:00
openharmony_ci cf4184dce4 !215 黄区告警修复回合蓝区主干
Merge pull request !215 from yaowenrui/master
2024-09-03 06:11:27 +00:00
yaowenrui b4e3384b5b 黄区告警修复回合蓝区主干
Signed-off-by: yaowenrui <yaowenrui2@huawei.com>
2024-09-03 11:37:46 +08:00
openharmony_ci cea0d78b38 !213 build.json数据治理
Merge pull request !213 from Wanxiaoqing/master
2024-03-06 09:02:08 +00:00
wanxiaoqing 41dbf82cf8 bundle.json数据治理
Signed-off-by: wanxiaoqing <wanxiaoqing@huawei.com>
2024-03-06 16:08:23 +08:00
openharmony_ci 0f5cdde637 !200 kernel_linux_build: add riscv64 support
Merge pull request !200 from PolyOS Project/master
2024-01-22 15:59:18 +00:00
Polyos Project (陈荣) 847b0ad1ed kernel.mk: skip applying device patch if file not found
Signed-off-by: Polyos Project <polyos@iscas.ac.cn>
2024-01-18 08:47:15 +08:00
Polyos Project (陈荣) 39e467913b add riscv64 support
Signed-off-by: Polyos Project <polyos@iscas.ac.cn>
2024-01-18 08:47:04 +08:00
openharmony_ci 1f700bdc89 !205 告警清理
Merge pull request !205 from Ywenrui44091/master
weekly_20240115-v
2024-01-12 06:39:07 +00:00
Ywenrui44091 a736e0d454 告警清理
Signed-off-by: Ywenrui44091 <yaowenrui2@huawei.com>
2024-01-12 11:28:54 +08:00
openharmony_ci ac57dcee54 !204 告警清理
Merge pull request !204 from Ywenrui44091/master
2024-01-11 08:29:23 +00:00
openharmony_ci d5dfef58e0 !202 告警修改
Merge pull request !202 from caozhijun/master
2024-01-11 10:45:38 +08:00
openharmony_ci d33c75667d !202 告警修改
Merge pull request !202 from caozhijun/master
2024-01-09 08:04:35 +00:00
c459517356 53e576c7b0 告警修改
Signed-off-by: c459517356 <caozhijun12@huawei.com>
2024-01-09 08:54:18 +08:00
openharmony_ci 4da038afc5 !201 告警修复
Merge pull request !201 from caozhijun/master
2024-01-06 06:50:08 +00:00
c459517356 6cd0072a5c Alarm modification
Signed-off-by: c459517356 <caozhijun12@huawei.com>
2024-01-06 11:57:35 +08:00
openharmony_ci c579a0836f !198 kernel_linux_build:适配 Linux rtg 接口修改
Merge pull request !198 from plusOneSecond/master
master-v
2023-12-22 09:39:50 +00:00
Brian fcbed81947 kernel_linux_build:适配 Linux rtg 接口修改
Signed-off-by: Brian <ling.qiwei@foxmail.com>
2023-12-13 11:14:35 +08:00
openharmony_ci 051a4d3032 !197 [新需求]:【master】增加采集所有进程的CPU使用率设备结点(通用设备内核编译)
Merge pull request !197 from 周海锋/master
2023-09-22 14:16:38 +00:00
zhouhaifeng ed60f32066 add link to source code directory of unified collection
Signed-off-by: zhouhaifeng <kutcher.zhou@huawei.com>
2023-09-15 20:11:31 +08:00
openharmony_ci c9393fd73f !196 修复 README_zh.md README.md文档中路径错误和描述模糊问题
Merge pull request !196 from Ywenrui44091/master
2023-09-15 02:36:39 +00:00
Ywenrui 3f05524b0b 修复 README_zh.md/README.md文档中路径错误和描述模糊问题
Signed-off-by: Ywenrui <yaowenrui2@huawei.com>
2023-09-15 10:15:49 +08:00
openharmony_ci 5cf260d140 !194 tokenid用例补充
Merge pull request !194 from 万晓庆/master
OpenHarmony-v4.0-Release
2023-08-02 09:33:09 +00:00
wanxiaoqing 6b30a371ae tokenid用例补充
Signed-off-by: wanxiaoqing <wanxiaoqing@huawei.com>
2023-08-02 14:12:23 +08:00
openharmony_ci 31ef5b2784 !193 补充syzkaller测试用例
Merge pull request !193 from 董森浩/master
2023-07-31 03:18:23 +00:00
dongsenhao c42e87bb23 add rss_threshold syzkaller testcase
Signed-off-by: dongsenhao <dongsenhao2@huawei.com>
2023-07-28 17:16:23 +08:00
openharmony_ci c58ff4e512 !192 syzkaller用例添加
Merge pull request !192 from runrunya/syzkaller
2023-07-27 02:22:55 +00:00
liuzerun 92752356f0 add syzkaller test
Signed-off-by: liuzerun <liuzerun@huawei.com>
2023-07-26 01:34:44 +00:00
openharmony_ci ee81228eeb !191 syzkaller用例覆盖
Merge pull request !191 from 董森浩/master
OpenHarmony-v4.0-Beta2
2023-07-07 00:06:58 +00:00