Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
c794fb8
Add CIQ configs
bmastbergen Jan 5, 2026
4f5398c
Add initial CIQ config tweaks
bmastbergen Jan 5, 2026
001bf30
github actions: Make Builds on Merge Request Work
PlaidCat Jan 16, 2025
033c1ec
arm64: add kernel config option to lock down when in Secure Boot mode
Aug 30, 2016
5938a54
efi: Add an EFI_SECURE_BOOT flag to indicate secure boot mode
dhowells Feb 18, 2019
7ac0676
efi: Lock down the kernel if booted in secure boot mode
bwhacks Sep 10, 2019
0578b7f
mtd: phram,slram: Disable when the kernel is locked down
bwhacks Aug 30, 2019
1c792ea
Add efi_status_to_str() and rework efi_status_to_err().
vathpela Oct 2, 2017
c45b5e4
[CIQ] v6.18.3 - rebased configs
github-actions[bot] Jan 7, 2026
66f7d80
[CIQ] v6.18.7 - rebased configs
github-actions[bot] Jan 26, 2026
89b85a6
[CIQ] v6.18.9 - rebased configs
github-actions[bot] Feb 6, 2026
c483574
[CIQ] v6.18.14 - rebased configs
github-actions[bot] Feb 27, 2026
9b2796a
[CIQ] v6.18.17 - rebased configs
github-actions[bot] Mar 13, 2026
31af86c
configs: Enable INTEL_TDX_HOST for x86_64 configs
bmastbergen Mar 24, 2026
cc0824f
Import initial dist-git for 6.18.19
bmastbergen Mar 18, 2026
b64c92e
kernel.spec: Fix buildid and pkgrelease
bmastbergen Mar 24, 2026
09be460
Remove gating.yaml
bmastbergen Mar 24, 2026
6019763
Update sbat templates
bmastbergen Mar 24, 2026
14c4051
Ensure all qdiscs are in modules-core
bmastbergen Mar 25, 2026
c3cb0e8
Remove modules-rt-kvm references
bmastbergen Mar 25, 2026
f1a4563
Set buildid to .1
bmastbergen Mar 25, 2026
b81c959
rocky: generalize rule for kunit and test kmod placement
bmastbergen Mar 25, 2026
919150f
Rename package to kernel-clk6.18
bmastbergen Mar 26, 2026
9bd0535
Remove gemini switch
bmastbergen Mar 26, 2026
5da7a01
Add Provides/Conflicts for non-parallel installable kernel-* packages
bmastbergen Mar 26, 2026
4d53f97
Rename tool packages with pkg_suffix and add Provides/Conflicts
bmastbergen Mar 26, 2026
9047b6a
Use gzip for symvers compression to match upstream
jdieter Mar 30, 2026
c2d6127
Add +clk6.18 suffix to kernel version string (uname -r)
jdieter Mar 30, 2026
6279519
Add kernel-clk6.18-default package to set default kernel
bmastbergen Mar 30, 2026
63872a2
Consolidate spec version defines and prevent CLK kernel from hijackin…
jdieter Mar 31, 2026
41891a6
Rework -default package and clean up tool subpackage naming
jdieter Mar 31, 2026
c79cc70
Bundle bindgen-cli from source for Rocky 9.6 builds
jdieter Mar 31, 2026
6e3392c
[CIQ] v6.18.20 - updated spec
github-actions[bot] Apr 1, 2026
e27860e
[CIQ] v6.18.21 - updated spec
github-actions[bot] Apr 3, 2026
582cb72
github actions: Inherit the Kernel CI Automated workflow from main
bmastbergen Mar 12, 2026
e63a787
spec: Skip certificate setup for noarch builds
bmastbergen Apr 7, 2026
c485bee
Update spec for ciq_kernel-6.18.21-2
bmastbergen Apr 7, 2026
b4685f5
github actions: Use trigger for kernelCI
bmastbergen Apr 8, 2026
4c8df90
github actions: Trigger kernelCI on ciq-6.18.y-next branches
bmastbergen Apr 9, 2026
b3eae5f
[CIQ] v6.18.22 - updated spec
github-actions[bot] Apr 12, 2026
91866e3
spec: Fix posttrans script to handle noarch package expansion
bmastbergen Apr 19, 2026
bb720f2
[CIQ] ciq_kernel-6.18.22-2 - updated spec
bmastbergen Apr 20, 2026
f12b04b
spec: update branding in package descriptions and log messages
bmastbergen Apr 14, 2026
904e2d1
github actions: add RPM build workflow for x86_64 and aarch64
bmastbergen Apr 8, 2026
e9a784e
configs: enable legacy iptables/ip6tables support for all architectures
bmastbergen Apr 30, 2026
506ba32
Add generic kernel Provides to spec
bmastbergen Apr 15, 2026
e1d95cd
Add generic kernel-headers and kernel-devel Provides to spec
bmastbergen May 1, 2026
b70d7f8
bundle_bindgen: add set -e, curl --fail, and SHA256 verification
bmastbergen May 4, 2026
1a6d1e7
[CIQ] v6.18.27 - rebased configs
bmastbergen May 8, 2026
9283381
[CIQ] v6.18.27 - updated spec
bmastbergen May 8, 2026
3fdaff6
generate_tarball: Also strip leading v from tags
bmastbergen May 8, 2026
5c106e4
[CIQ] v6.18.28 - updated spec
bmastbergen May 8, 2026
7ead0d4
[CIQ] ciq_kernel-6.18.28-2 - updated spec
bmastbergen May 14, 2026
1a3d839
[CIQ] v6.18.31 - updated spec
github-actions[bot] May 15, 2026
231cf1c
[CIQ] v6.18.33 - updated spec
github-actions[bot] May 26, 2026
ef7548d
bundle_bindgen: add User-Agent header to crates.io request
bmastbergen May 27, 2026
71d5f23
[CIQ] ciq_kernel-6.18.33-2 - updated spec
bmastbergen May 27, 2026
20b7796
kernel-clk6.18: require ciq-kmod and ship %clk_version macro file
josephtate May 28, 2026
bfdd640
random: Add hook to override device reads and getrandom(2)
jallisonciq Mar 3, 2026
199f504
crypto: rng - Override drivers/char/random in FIPS mode
jallisonciq Mar 5, 2026
243c46d
not upstream: Disable vdso getrandom when FIPS is enabled
jallisonciq Mar 5, 2026
fb68605
crypto: ecdh - implement FIPS PCT
jallisonciq Jul 14, 2025
a63d758
crypto: essiv - Zeroize keys on exit in essiv_aead_setkey()
jason-rodri Sep 30, 2024
9d0c7f2
crypto: drbg - Align buffers to at least a cache line
kerneltoast Jun 11, 2025
0789214
mm/gup: introduce pin_user_pages_fast_only()
kerneltoast Jun 19, 2025
a64a60e
crypto: rng - Convert crypto_default_rng_refcnt into an unsigned int
kerneltoast Jun 24, 2025
e29e112
crypto: rng - Fix priority inversions due to mutex locks
kerneltoast Jun 24, 2025
569c4f7
crypto: rng - Implement fast per-CPU DRBG instances
kerneltoast Jun 28, 2025
b3e76db
lib/crypto: Add FIPS self-tests for SHA-1 and SHA-2
Oct 11, 2025
385fbe4
byteorder: Add le64_to_cpu_array() and cpu_to_le64_array()
Oct 18, 2025
39c33fb
lib/crypto: blake2b: Add BLAKE2b library functions
jallisonciq Apr 8, 2026
630a75b
btrfs: switch to library APIs for checksums
jallisonciq Apr 8, 2026
da9b269
crypto: testmgr - block Crypto API xxhash64 in FIPS mode
jallisonciq Apr 8, 2026
f44ce9e
When in fips mode, self-test errors must panic.
jallisonciq Apr 17, 2026
90ee0b1
When in fips mode, self-test errors must panic.
jallisonciq Apr 17, 2026
caa4232
Change CONFIG_CRYPTO_JITTERENTROPY_OSR from 1 to 3 in all configs.
jallisonciq Apr 17, 2026
f27cecd
dh_compute_value misses the check SP800-56Arev3, 5.6.2.1.4 which is t…
jallisonciq Apr 17, 2026
180380b
In crypto_kdf108_ctr_generate() there is no minimum length check for …
jallisonciq Apr 17, 2026
385b7f5
Add fips_approved flag to SHA1 and HMAC-SHA1 structs.
jallisonciq Apr 27, 2026
da7cdff
Add fips_approved flag to SHA224 and HMAC-SHA224 structs.
jallisonciq Apr 27, 2026
9e62ae6
Add fips_approved flag to SHA256 and HMAC-SHA256 structs.
jallisonciq Apr 27, 2026
3828406
Add fips_approved flag to SHA384 and HMAC-SHA384 structs.
jallisonciq Apr 27, 2026
2164199
Add fips_approved flag to SHA512 and HMAC-SHA512 structs.
jallisonciq Apr 27, 2026
dae5dcb
Add fips_approved indicator to struct crypto_aes_ctx.
jallisonciq Apr 27, 2026
30744eb
Add CONFIG_CRYPTO_FIPS_CUSTOM_VERSION=y, CONFIG_CRYPTO_FIPS_VERSION="…
jallisonciq Apr 21, 2026
eb575f3
Unset CRYPTO_JITTERENTROPY_MEMSIZE_2, set CRYPTO_JITTERENTROPY_MEMSIZ…
jallisonciq Jun 3, 2026
2950895
github actions: Add FIPS protected directory check for PRs
bmastbergen Jun 3, 2026
b96d912
Restore CRYPTO_TFM_FIPS_COMPLIANCE flag as an indicator to differenti…
jallisonciq Jun 4, 2026
8eeb0a6
[CIQ] v6.18.35 - updated spec
github-actions[bot] Jun 9, 2026
3b3e9d7
[CIQ] ciq_kernel-6.18.35-2 - updated spec
bmastbergen Jun 10, 2026
23912a1
github-actions: extend trigger glob to match suffix branches
shreeya-patel98 Jun 22, 2026
c4faba8
crypto: Kconfig - Make CRYPTO_FIPS depend on the DRBG being built-in
kerneltoast Jul 22, 2025
a9cf456
random: Restrict extrng registration to init time
kerneltoast Aug 1, 2025
4bc5ed9
crypto: rng - Only allow the DRBG to register as "stdrng" in FIPS mode
kerneltoast Jul 25, 2025
6118445
crypto: rng - Fix tabs vs spaces in the per-CPU DRBG code
kerneltoast Jun 23, 2026
859c23f
crypto: rng - Make the per-CPU DRBG instances permanent
kerneltoast Jun 23, 2026
20e08ac
crypto: rng - Skip leading zero-length iovec segments
kerneltoast Jun 23, 2026
e5c0561
crypto: rng - Fix spurious EFAULT when the destination PTE is zapped
kerneltoast Jun 23, 2026
1a89833
Revert "mm/gup: reintroduce pin_user_pages_fast_only()"
kerneltoast Jun 23, 2026
0aef83e
[CIQ] ciq_kernel-6.18.35-3 - updated spec
bmastbergen Jun 23, 2026
fa89104
[CIQ] v6.18.36 - rebased configs
bmastbergen Jun 26, 2026
ec66858
[CIQ] v6.18.36 - updated spec
bmastbergen Jun 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .container_build_image
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rocky-9-kernel-builder
37 changes: 37 additions & 0 deletions .github/workflows/build-check_aarch64-64k-debug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: aarch64-64k-debug CI
on:
pull_request:
branches:
- '**'
- '!mainline'

jobs:
kernel-build-job:
runs-on:
labels: kernel-build-arm64
container:
image: rockylinux/rockylinux:9
env:
ROCKY_ENV: rocky9
ports:
- 80
options: --cpus 8
steps:
- name: Install tools and Libraries
run: |
dnf update -y
dnf install 'dnf-command(config-manager)' -y
dnf config-manager --set-enabled devel
dnf groupinstall 'Development Tools' -y
dnf install --enablerepo=crb bc dwarves kernel-devel openssl-devel elfutils-libelf-devel -y
- name: Checkout code
uses: actions/checkout@v4
with:
ref: "${{ github.event.pull_request.head.sha }}"
fetch-depth: 0
- name: Build the Kernel
run: |
git config --global --add safe.directory /__w/kernel-src-tree/kernel-src-tree
cp ciq/configs/kernel-aarch64-64k-debug.config .config
make olddefconfig
make -j$(nproc)
37 changes: 37 additions & 0 deletions .github/workflows/build-check_aarch64-64k.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: aarch64-64k CI
on:
pull_request:
branches:
- '**'
- '!mainline'

jobs:
kernel-build-job:
runs-on:
labels: kernel-build-arm64
container:
image: rockylinux/rockylinux:9
env:
ROCKY_ENV: rocky9
ports:
- 80
options: --cpus 8
steps:
- name: Install tools and Libraries
run: |
dnf update -y
dnf install 'dnf-command(config-manager)' -y
dnf config-manager --set-enabled devel
dnf groupinstall 'Development Tools' -y
dnf install --enablerepo=crb bc dwarves kernel-devel openssl-devel elfutils-libelf-devel -y
- name: Checkout code
uses: actions/checkout@v4
with:
ref: "${{ github.event.pull_request.head.sha }}"
fetch-depth: 0
- name: Build the Kernel
run: |
git config --global --add safe.directory /__w/kernel-src-tree/kernel-src-tree
cp ciq/configs/kernel-aarch64-64k.config .config
make olddefconfig
make -j$(nproc)
37 changes: 37 additions & 0 deletions .github/workflows/build-check_aarch64-debug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: aarch64-debug CI
on:
pull_request:
branches:
- '**'
- '!mainline'

jobs:
kernel-build-job:
runs-on:
labels: kernel-build-arm64
container:
image: rockylinux/rockylinux:9
env:
ROCKY_ENV: rocky9
ports:
- 80
options: --cpus 8
steps:
- name: Install tools and Libraries
run: |
dnf update -y
dnf install 'dnf-command(config-manager)' -y
dnf config-manager --set-enabled devel
dnf groupinstall 'Development Tools' -y
dnf install --enablerepo=crb bc dwarves kernel-devel openssl-devel elfutils-libelf-devel -y
- name: Checkout code
uses: actions/checkout@v4
with:
ref: "${{ github.event.pull_request.head.sha }}"
fetch-depth: 0
- name: Build the Kernel
run: |
git config --global --add safe.directory /__w/kernel-src-tree/kernel-src-tree
cp ciq/configs/kernel-aarch64-debug.config .config
make olddefconfig
make -j$(nproc)
37 changes: 37 additions & 0 deletions .github/workflows/build-check_aarch64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: aarch64 CI
on:
pull_request:
branches:
- '**'
- '!mainline'

jobs:
kernel-build-job:
runs-on:
labels: kernel-build-arm64
container:
image: rockylinux/rockylinux:9
env:
ROCKY_ENV: rocky9
ports:
- 80
options: --cpus 8
steps:
- name: Install tools and Libraries
run: |
dnf update -y
dnf install 'dnf-command(config-manager)' -y
dnf config-manager --set-enabled devel
dnf groupinstall 'Development Tools' -y
dnf install --enablerepo=crb bc dwarves kernel-devel openssl-devel elfutils-libelf-devel -y
- name: Checkout code
uses: actions/checkout@v4
with:
ref: "${{ github.event.pull_request.head.sha }}"
fetch-depth: 0
- name: Build the Kernel
run: |
git config --global --add safe.directory /__w/kernel-src-tree/kernel-src-tree
cp ciq/configs/kernel-aarch64.config .config
make olddefconfig
make -j$(nproc)
37 changes: 37 additions & 0 deletions .github/workflows/build-check_x86_64-debug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: x86_64-debug CI
on:
pull_request:
branches:
- '**'
- '!mainline'

jobs:
kernel-build-job:
runs-on:
labels: kernel-build
container:
image: rockylinux/rockylinux:9
env:
ROCKY_ENV: rocky9
ports:
- 80
options: --cpus 8
steps:
- name: Install tools and Libraries
run: |
dnf update -y
dnf install 'dnf-command(config-manager)' -y
dnf config-manager --set-enabled devel
dnf groupinstall 'Development Tools' -y
dnf install --enablerepo=crb bc dwarves kernel-devel openssl-devel elfutils-libelf-devel -y
- name: Checkout code
uses: actions/checkout@v4
with:
ref: "${{ github.event.pull_request.head.sha }}"
fetch-depth: 0
- name: Build the Kernel
run: |
git config --global --add safe.directory /__w/kernel-src-tree/kernel-src-tree
cp ciq/configs/kernel-x86_64-debug.config .config
make olddefconfig
make -j$(nproc)
37 changes: 37 additions & 0 deletions .github/workflows/build-check_x86_64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: x86_64 CI
on:
pull_request:
branches:
- '**'
- '!mainline'

jobs:
kernel-build-job:
runs-on:
labels: kernel-build
container:
image: rockylinux/rockylinux:9
env:
ROCKY_ENV: rocky9
ports:
- 80
options: --cpus 8
steps:
- name: Install tools and Libraries
run: |
dnf update -y
dnf install 'dnf-command(config-manager)' -y
dnf config-manager --set-enabled devel
dnf groupinstall 'Development Tools' -y
dnf install --enablerepo=crb bc dwarves kernel-devel openssl-devel elfutils-libelf-devel -y
- name: Checkout code
uses: actions/checkout@v4
with:
ref: "${{ github.event.pull_request.head.sha }}"
fetch-depth: 0
- name: Build the Kernel
run: |
git config --global --add safe.directory /__w/kernel-src-tree/kernel-src-tree
cp ciq/configs/kernel-x86_64.config .config
make olddefconfig
make -j$(nproc)
157 changes: 157 additions & 0 deletions .github/workflows/fips-check-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
# FIPS Protected Directory Check
#
# This workflow runs on PRs targeting ciq-*-next branches and checks
# whether the new upstream commits (the stable release delta) touch
# any FIPS protected directories. If so, it posts a comment on the
# PR alerting reviewers to involve the FIPS / Security team.
#
# How it works:
# PR base branch: ciq-X.Y.y-next (created from stable_X.Y.y)
# Old branch: ciq-X.Y.y (previous CIQ branch, derived by stripping "-next")
# merge-base(old, next) = last common upstream commit
# merge-base..ciq-X.Y.y-next = new upstream commits to check
#
# TODO: remove ref: clk-fips-check once kernel-src-tree-tools merges that branch

name: FIPS Protected Directory Check

on:
pull_request:
types: [opened, synchronize, reopened]
branches:
- 'ciq-*-next'

permissions:
contents: read
pull-requests: write

jobs:
fips-check:
name: FIPS Directory Check
runs-on: ubuntu-latest

steps:
- name: Generate GitHub App token
id: generate_token
uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
with:
client-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
repositories: |
kernel-src-tree
kernel-src-tree-tools

- name: Checkout kernel source
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 1
token: ${{ steps.generate_token.outputs.token }}

- name: Checkout kernel-src-tree-tools
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: ctrliq/kernel-src-tree-tools
path: kernel-src-tree-tools
token: ${{ steps.generate_token.outputs.token }}

- name: Install Python dependencies
run: pip install gitpython

- name: Fetch branches and run FIPS check
id: fips_check
env:
PYTHONPATH: ${{ github.workspace }}/kernel-src-tree-tools
BASE_REF: ${{ github.event.pull_request.base.ref }}
run: |
OLD_BRANCH="${BASE_REF%-next}"
echo "Derived old branch: $OLD_BRANCH from PR base: $BASE_REF"

# Fetch both branches (full history needed for merge-base)
git fetch origin "$BASE_REF:refs/remotes/origin/$BASE_REF"
git fetch origin "$OLD_BRANCH:refs/remotes/origin/$OLD_BRANCH" 2>/dev/null || {
echo "::warning::Could not fetch branch $OLD_BRANCH — skipping FIPS check"
echo "result=skip" >> "$GITHUB_OUTPUT"
exit 0
}

MERGE_BASE=$(git merge-base "origin/$OLD_BRANCH" "origin/$BASE_REF" 2>/dev/null) || {
echo "::warning::Could not compute merge-base between $OLD_BRANCH and $BASE_REF"
echo "result=skip" >> "$GITHUB_OUTPUT"
exit 0
}

echo "Merge base: $MERGE_BASE"
echo "Checking upstream commits: $MERGE_BASE..origin/$BASE_REF"

python3 kernel-src-tree-tools/check_fips_changes.py \
--repo . \
--base-ref "$MERGE_BASE" \
--target-ref "origin/$BASE_REF" \
--fips-override 2>&1 | tee fips_report.txt

if grep -q "FIPS protected changes detected" fips_report.txt; then
echo "result=found" >> "$GITHUB_OUTPUT"
else
echo "result=clean" >> "$GITHUB_OUTPUT"
fi

- name: Post or update PR comment
if: always()
env:
GH_TOKEN: ${{ steps.generate_token.outputs.token }}
PR_NUMBER: ${{ github.event.pull_request.number }}
RESULT: ${{ steps.fips_check.outputs.result }}
run: |
MARKER="<!-- fips-protected-directory-check -->"
REPO="${{ github.repository }}"

# Find any existing FIPS check comment
EXISTING_ID=$(gh api "repos/$REPO/issues/$PR_NUMBER/comments" \
--jq ".[] | select(.body | contains(\"$MARKER\")) | .id" | head -1)

if [ "$RESULT" = "found" ]; then
REPORT=$(cat fips_report.txt)
BODY=$(cat <<EOF
$MARKER
## :warning: FIPS Protected Directory Changes Detected

New upstream commits in this rebase touch FIPS protected directories.
Please consult the CIQ FIPS / Security team before merging.

<details>
<summary>Details</summary>

\`\`\`
$REPORT
\`\`\`

</details>
EOF
)
elif [ "$RESULT" = "clean" ]; then
BODY=$(cat <<EOF
$MARKER
## :white_check_mark: FIPS Check: No Protected Directory Changes

No FIPS protected directories were modified in the new upstream commits.
EOF
)
else
BODY=$(cat <<EOF
$MARKER
## :x: FIPS Check: Unable to Run

Could not determine the upstream delta for this PR. The FIPS protected
directory check was skipped. Please verify manually.
EOF
)
fi

if [ -n "$EXISTING_ID" ]; then
gh api "repos/$REPO/issues/comments/$EXISTING_ID" \
-X PATCH -f body="$BODY"
echo "Updated existing comment $EXISTING_ID"
else
gh pr comment "$PR_NUMBER" --repo "$REPO" --body "$BODY"
echo "Created new comment"
fi
Loading
Loading