From 2fcddb67b14e5520dc37cc7f1827271d0d1567f2 Mon Sep 17 00:00:00 2001 From: Arisu Tachibana Date: Thu, 10 Jul 2025 20:21:20 +0900 Subject: [PATCH] (config/cip) Add active cip boards CIP boards list is from https://lava.ciplatform.org/scheduler/alldevices/active Signed-off-by: Arisu Tachibana --- config/jobs-cip.yaml | 345 +++++++++++++++++++++----------------- config/platforms-cip.yaml | 49 ++++++ config/scheduler-cip.yaml | 138 +++++++++++---- 3 files changed, 345 insertions(+), 187 deletions(-) create mode 100644 config/platforms-cip.yaml diff --git a/config/jobs-cip.yaml b/config/jobs-cip.yaml index c2bbf3408..19210e8a1 100644 --- a/config/jobs-cip.yaml +++ b/config/jobs-cip.yaml @@ -44,200 +44,235 @@ _anchors: - 'kselftest' jobs: - baseline-x86-cip: *baseline-job +# baseline-x86-cip: *baseline-job + baseline-arm64-cip: *baseline-job -# start of CIP x86 configuration - kbuild-gcc-12-x86-allnoconfig: &kbuild-gcc-12-x86-allnoconfig-job - <<: *kbuild-gcc-12-x86-job - params: - <<: *kbuild-gcc-12-x86-params - defconfig: allnoconfig - rules: - tree: - - 'kernelci' - - 'stable-rc' - - 'stable' - - 'sashal-next' - - kbuild-gcc-12-x86-612-cip-allnoconfig: - <<: *kbuild-gcc-12-x86-allnoconfig-job - params: - <<: *kbuild-gcc-12-x86-params - defconfig: - - x86_64_defconfig - - allnoconfig - fragments: - - 'cip://6.12.y-cip/x86/cip_qemu_defconfig' - rules: - branch: - - 'cip:linux-6.12.y-cip' - - kbuild-gcc-12-x86-61-cip-allnoconfig: - <<: *kbuild-gcc-12-x86-allnoconfig-job - params: - <<: *kbuild-gcc-12-x86-params - defconfig: - - x86_64_defconfig - - allnoconfig - fragments: - - 'cip://6.1.y-cip/x86/cip_qemu_defconfig' - rules: - branch: - - 'cip:linux-6.1.y-cip' - - kbuild-gcc-12-x86-510-cip-allnoconfig: - <<: *kbuild-gcc-12-x86-allnoconfig-job - params: - <<: *kbuild-gcc-12-x86-params - defconfig: - - x86_64_defconfig - - allnoconfig - fragments: - - 'cip://5.10.y-cip/x86/cip_qemu_defconfig' - rules: - branch: - - 'cip:linux-5.10.y-cip-rt' +## start of CIP arm64 configuration +# kbuild-gcc-12-arm64-allnoconfig: &kbuild-gcc-12-arm64-allnoconfig-job +# <<: *kbuild-gcc-12-arm64-job +# params: +# <<: *kbuild-gcc-12-arm64-params +# defconfig: +# - defconfig +# - allnoconfig +# rules: +# tree: +# - 'arm64' +# - 'next' +# - 'sashal-next' +# +# kbuild-gcc-12-arm64-612-cip-allnoconfig: +# <<: *kbuild-gcc-12-arm64-allnoconfig-job +# params: +# <<: *kbuild-gcc-12-arm64-params +# defconfig: +# - defconfig +# - allnoconfig +# fragments: +# - 'cip://6.12.y-cip/arm64/qemu_arm64_defconfig' +# rules: +# branch: +# - 'cip:linux-6.12.y-cip' +# +# kbuild-gcc-12-arm64-61-cip-allnoconfig: +# <<: *kbuild-gcc-12-arm64-allnoconfig-job +# params: +# <<: *kbuild-gcc-12-arm64-params +# defconfig: +# - defconfig +# - allnoconfig +# fragments: +# - 'cip://6.1.y-cip/arm64/qemu_arm64_defconfig' +# rules: +# branch: +# - 'cip:linux-6.1.y-cip' +# +# kbuild-gcc-12-arm64-510-cip-allnoconfig: +# <<: *kbuild-gcc-12-arm64-allnoconfig-job +# params: +# <<: *kbuild-gcc-12-arm64-params +# defconfig: +# - defconfig +# - allnoconfig +# fragments: +# - 'cip://5.10.y-cip/arm64/qemu_arm64_defconfig' +# rules: +# branch: +# - 'cip:linux-5.10.y-cip-rt' +# +# kbuild-gcc-12-arm64-419-cip-allnoconfig: +# <<: *kbuild-gcc-12-arm64-allnoconfig-job +# params: +# <<: *kbuild-gcc-12-arm64-params +# defconfig: +# - defconfig +# - allnoconfig +# fragments: +# - 'cip://4.19.y-cip/arm64/qemu_arm64_defconfig' +# rules: +# branch: +# - 'cip:linux-4.19.y-cip-rt' - kbuild-gcc-12-x86-419-cip-allnoconfig: - <<: *kbuild-gcc-12-x86-allnoconfig-job - params: - <<: *kbuild-gcc-12-x86-params - defconfig: - - x86_64_defconfig - - allnoconfig - fragments: - - 'cip://4.19.y-cip/x86/cip_qemu_defconfig' - rules: - branch: - - 'cip:linux-4.19.y-cip-rt' +# start of CIP x86 configuration +# kbuild-gcc-12-x86-612-cip-allnoconfig: +# <<: *baseline-job +# params: +# defconfig: +# - x86_64_defconfig +# - allnoconfig +# fragments: +# - 'cip://6.12.y-cip/x86/cip_qemu_defconfig' +# rules: +# branch: +# - 'cip:linux-6.12.y-cip' +# +# kbuild-gcc-12-x86-61-cip-allnoconfig: +# <<: *baseline-job +# params: +# defconfig: +# - x86_64_defconfig +# - allnoconfig +# fragments: +# - 'cip://6.1.y-cip/x86/cip_qemu_defconfig' +# rules: +# branch: +# - 'cip:linux-6.1.y-cip' +# +# kbuild-gcc-12-x86-510-cip-allnoconfig: +# <<: *baseline-job +# params: +# defconfig: +# - x86_64_defconfig +# - allnoconfig +# fragments: +# - 'cip://5.10.y-cip/x86/cip_qemu_defconfig' +# rules: +# branch: +# - 'cip:linux-5.10.y-cip-rt' +# +# kbuild-gcc-12-x86-419-cip-allnoconfig: +# <<: *baseline-job +# params: +# defconfig: +# - x86_64_defconfig +# - allnoconfig +# fragments: +# - 'cip://4.19.y-cip/x86/cip_qemu_defconfig' +# rules: +# branch: +# - 'cip:linux-4.19.y-cip-rt' # start of CIP arm64 configuration - kbuild-gcc-12-arm64-allnoconfig: &kbuild-gcc-12-arm64-allnoconfig-job - <<: *kbuild-gcc-12-arm64-job - params: - <<: *kbuild-gcc-12-arm64-params - defconfig: - - defconfig - - allnoconfig - rules: - tree: - - 'arm64' - - 'next' - - 'sashal-next' - kbuild-gcc-12-arm64-612-cip-allnoconfig: - <<: *kbuild-gcc-12-arm64-allnoconfig-job + <<: *baseline-job params: - <<: *kbuild-gcc-12-arm64-params defconfig: - defconfig - - allnoconfig fragments: + - 'CONFIG_ARCH_R8A774A1=y' + - 'CONFIG_ARCH_ZYNQMP=y' + - 'kselftest' + - 'lab-setup' - 'cip://6.12.y-cip/arm64/qemu_arm64_defconfig' rules: branch: - 'cip:linux-6.12.y-cip' kbuild-gcc-12-arm64-61-cip-allnoconfig: - <<: *kbuild-gcc-12-arm64-allnoconfig-job + <<: *baseline-job params: - <<: *kbuild-gcc-12-arm64-params defconfig: - defconfig - - allnoconfig fragments: + - 'CONFIG_ARCH_R8A774A1=y' + - 'CONFIG_ARCH_ZYNQMP=y' + - 'kselftest' + - 'lab-setup' - 'cip://6.1.y-cip/arm64/qemu_arm64_defconfig' rules: - branch: - - 'cip:linux-6.1.y-cip' + tree: + - 'mainline' + - 'stable-rc' + +# rules: +# branch: +# - 'cip:linux-6.1.y-cip' kbuild-gcc-12-arm64-510-cip-allnoconfig: - <<: *kbuild-gcc-12-arm64-allnoconfig-job + <<: *baseline-job params: - <<: *kbuild-gcc-12-arm64-params defconfig: - defconfig - - allnoconfig fragments: + - 'CONFIG_ARCH_R8A774A1=y' + - 'CONFIG_ARCH_ZYNQMP=y' + - 'kselftest' + - 'lab-setup' - 'cip://5.10.y-cip/arm64/qemu_arm64_defconfig' rules: branch: - 'cip:linux-5.10.y-cip-rt' kbuild-gcc-12-arm64-419-cip-allnoconfig: - <<: *kbuild-gcc-12-arm64-allnoconfig-job + <<: *baseline-job params: - <<: *kbuild-gcc-12-arm64-params defconfig: - defconfig - - allnoconfig fragments: + - 'CONFIG_ARCH_R8A774A1=y' + - 'CONFIG_ARCH_ZYNQMP=y' + - 'kselftest' + - 'lab-setup' - 'cip://4.19.y-cip/arm64/qemu_arm64_defconfig' rules: branch: - 'cip:linux-4.19.y-cip-rt' -# start of CIP arm configuration - kbuild-gcc-12-arm-allnoconfig: &kbuild-gcc-12-arm-allnoconfig-job - <<: *kbuild-gcc-12-arm-job - params: - <<: *kbuild-gcc-12-arm-params - defconfig: - - multi_v7_defconfig - - allnoconfig - rules: - tree: - - 'next' - - 'sashal-next' - - kbuild-gcc-12-arm-612-cip-allnoconfig: - <<: *kbuild-gcc-12-arm-allnoconfig-job - params: - <<: *kbuild-gcc-12-arm-params - defconfig: - - multi_v7_defconfig - - allnoconfig - fragments: - - 'cip://6.12.y-cip/arm/qemu_arm_defconfig' - rules: - branch: - - 'cip:linux-6.12.y-cip' - - kbuild-gcc-12-arm-61-cip-allnoconfig: - <<: *kbuild-gcc-12-arm-allnoconfig-job - params: - <<: *kbuild-gcc-12-arm-params - defconfig: - - multi_v7_defconfig - - allnoconfig - fragments: - - 'cip://6.1.y-cip/arm/qemu_arm_defconfig' - rules: - branch: - - 'cip:linux-6.1.y-cip' - - kbuild-gcc-12-arm-510-cip-allnoconfig: - <<: *kbuild-gcc-12-arm-allnoconfig-job - params: - <<: *kbuild-gcc-12-arm-params - defconfig: - - multi_v7_defconfig - - allnoconfig - fragments: - - 'cip://5.10.y-cip/arm/qemu_arm_defconfig' - rules: - branch: - - 'cip:linux-5.10.y-cip-rt' - - kbuild-gcc-12-arm-419-cip-allnoconfig: - <<: *kbuild-gcc-12-arm-allnoconfig-job - params: - <<: *kbuild-gcc-12-arm-params - defconfig: - - multi_v7_defconfig - - allnoconfig - fragments: - - 'cip://4.19.y-cip/arm/qemu_arm_defconfig' - rules: - branch: - - 'cip:linux-4.19.y-cip-rt' +## start of CIP arm configuration +# kbuild-gcc-12-arm-612-cip-allnoconfig: +# <<: *baseline-job +# params: +# defconfig: +# - multi_v7_defconfig +# - allnoconfig +# fragments: +# - 'cip://6.12.y-cip/arm/qemu_arm_defconfig' +# rules: +# branch: +# - 'cip:linux-6.12.y-cip' +# +# kbuild-gcc-12-arm-61-cip-allnoconfig: +# <<: *baseline-job +# params: +# defconfig: +# - multi_v7_defconfig +# - allnoconfig +# fragments: +# - 'cip://6.1.y-cip/arm/qemu_arm_defconfig' +# rules: +# branch: +# - 'cip:linux-6.1.y-cip' +# +# kbuild-gcc-12-arm-510-cip-allnoconfig: +# <<: *baseline-job +# params: +# defconfig: +# - multi_v7_defconfig +# - allnoconfig +# fragments: +# - 'cip://5.10.y-cip/arm/qemu_arm_defconfig' +# rules: +# branch: +# - 'cip:linux-5.10.y-cip-rt' +# +# kbuild-gcc-12-arm-419-cip-allnoconfig: +# <<: *baseline-job +# params: +# defconfig: +# - multi_v7_defconfig +# - allnoconfig +# fragments: +# - 'cip://4.19.y-cip/arm/qemu_arm_defconfig' +# rules: +# branch: +# - 'cip:linux-4.19.y-cip-rt' diff --git a/config/platforms-cip.yaml b/config/platforms-cip.yaml new file mode 100644 index 000000000..dab8e8c63 --- /dev/null +++ b/config/platforms-cip.yaml @@ -0,0 +1,49 @@ +_anchors: + + arm64-device: &arm64-device + arch: arm64 + boot_method: u-boot + + arm-device: &arm-device + <<: *arm64-device + arch: arm + + riscv-device: &riscv-device + arch: riscv + boot_method: u-boot + + x86_64-device: &x86_64-device + arch: x86_64 + boot_method: grub + mach: x86 + +platforms: + zynqmp-zcu102: + <<: *arm64-device + mach: zynqmp + dtb: dtbs/zynqmp-zcu102-rev1.0.dtb + compatible: ['xlnx,zynqmp-zcu102-rev1.0', 'xlnx,zynqmp-zcu102', 'xlnx,zynqmp'] + + de0-nano-soc: + <<: *arm-device + mach: intel + dtb: dtbs/socfpga_cyclone5_de0_nano_soc.dtb + compatible: ['terasic,de0-atlas', 'altr,socfpga-cyclone5', 'altr,socfpga'] + + r8a7743-iwg20d-q7: + <<: *arm-device + mach: renesas + dtb: dtbs/r8a7743-iwg20d-q7-dbcm-ca.dtb + compatible: ['iwave,g20d', 'iwave,g20m', 'renesas,r8a7743'] + + r8a774a1-hihope-rzg2m-ex: + <<: *arm64-device + mach: renesas + dtb: dtbs/r8a774a1-hihope-rzg2m-ex.dtb + compatible: ['hoperun,hihope-rzg2-ex', 'hoperun,hihope-rzg2m'] + + r9a07g043f01-smarc-rzfive: + <<: *riscv-device + mach: riscv + dtb: dtbs/r9a07g043f01-smarc.dtb + compatible: ['renesas,smarc-evk', 'renesas,r9a07g043f01', 'renesas,r9a07g043'] diff --git a/config/scheduler-cip.yaml b/config/scheduler-cip.yaml index a24739587..637225f7b 100644 --- a/config/scheduler-cip.yaml +++ b/config/scheduler-cip.yaml @@ -18,36 +18,83 @@ _anchors: kind: job scheduler: - - job: baseline-x86 - event: &kbuild-gcc-12-x86-node-event +# - job: baseline-x86-cip +# event: +# <<: *node-event-kbuild +# name: kbuild-gcc-12-x86 +# runtime: +# type: lava +# name: lava-cip +# platforms: +# - qemu + + - job: baseline-arm64-cip + event: <<: *node-event-kbuild - name: kbuild-gcc-12-x86 - runtime: &lava-collabora-runtime + name: baseline-arm64-cip + runtime: type: lava - name: lava-collabora - platforms: &collabora-x86-platforms - - qemu-x86 - - aaeon-UPN-EHLX4RE-A10-0864 + name: lava-cip + platforms: + - zynqmp-zcu102 + - r8a774a1-hihope-rzg2m-ex + +# +# - job: kbuild-gcc-12-x86-612-cip-allnoconfig +# <<: *build-k8s-all +# +# - job: kbuild-gcc-12-x86-61-cip-allnoconfig +# <<: *build-k8s-all +# +# - job: kbuild-gcc-12-x86-510-cip-allnoconfig +# <<: *build-k8s-all +# +# - job: kbuild-gcc-12-x86-419-cip-allnoconfig +# <<: *build-k8s-all - - job: baseline-x86-cip - event: *kbuild-gcc-12-x86-node-event + - job: kbuild-gcc-12-arm64-612-cip-allnoconfig + event: + <<: *node-event-kbuild + name: kbuild-gcc-12-arm64-612-cip-allnoconfig runtime: type: lava name: lava-cip platforms: - - qemu + - zynqmp-zcu102 + - r8a774a1-hihope-rzg2m-ex - - job: kbuild-gcc-12-x86-612-cip-allnoconfig - <<: *build-k8s-all - - - job: kbuild-gcc-12-x86-61-cip-allnoconfig - <<: *build-k8s-all + - job: kbuild-gcc-12-arm64-61-cip-allnoconfig + event: + <<: *node-event-kbuild + name: kbuild-gcc-12-arm64-61-cip-allnoconfig + runtime: + type: lava + name: lava-cip + platforms: + - zynqmp-zcu102 + - r8a774a1-hihope-rzg2m-ex - - job: kbuild-gcc-12-x86-510-cip-allnoconfig - <<: *build-k8s-all + - job: kbuild-gcc-12-arm64-510-cip-allnoconfig + event: + <<: *node-event-kbuild + name: kbuild-gcc-12-arm64-510-cip-allnoconfig + runtime: + type: lava + name: lava-cip + platforms: + - zynqmp-zcu102 + - r8a774a1-hihope-rzg2m-ex - - job: kbuild-gcc-12-x86-419-cip-allnoconfig - <<: *build-k8s-all + - job: kbuild-gcc-12-arm64-419-cip-allnoconfig + event: + <<: *node-event-kbuild + name: kbuild-gcc-12-arm64-419-cip-allnoconfig + runtime: + type: lava + name: lava-cip + platforms: + - zynqmp-zcu102 + - r8a774a1-hihope-rzg2m-ex - job: kbuild-gcc-12-arm64-612-cip-allnoconfig <<: *build-k8s-all @@ -60,15 +107,42 @@ scheduler: - job: kbuild-gcc-12-arm64-419-cip-allnoconfig <<: *build-k8s-all - - - job: kbuild-gcc-12-arm-612-cip-allnoconfig - <<: *build-k8s-all - - - job: kbuild-gcc-12-arm-61-cip-allnoconfig - <<: *build-k8s-all - - - job: kbuild-gcc-12-arm-510-cip-allnoconfig - <<: *build-k8s-all - - - job: kbuild-gcc-12-arm-419-cip-allnoconfig - <<: *build-k8s-all +# - job: kbuild-gcc-12-arm-612-cip-allnoconfig +# event: +# <<: *node-event-kbuild +# name: kbuild-gcc-12-arm64-61-cip-allnoconfig +# runtime: +# type: lava +# name: lava-cip +# platforms: +# - beaglebone-black +# +# - job: kbuild-gcc-12-arm-61-cip-allnoconfig +# event: +# <<: *node-event-kbuild +# name: kbuild-gcc-12-arm64-61-cip-allnoconfig +# runtime: +# type: lava +# name: lava-cip +# platforms: +# - beaglebone-black +# +# - job: kbuild-gcc-12-arm-510-cip-allnoconfig +# event: +# <<: *node-event-kbuild +# name: kbuild-gcc-12-arm64-510-cip-allnoconfig +# runtime: +# type: lava +# name: lava-cip +# platforms: +# - beaglebone-black +# +# - job: kbuild-gcc-12-arm-419-cip-allnoconfig +# event: +# <<: *node-event-kbuild +# name: kbuild-gcc-12-arm64-419-cip-allnoconfig +# runtime: +# type: lava +# name: lava-cip +# platforms: +# - beaglebone-black