[OS-BUILD PATCHv2] redhat: configs: change aarch64 default dma domain to lazy

2022-02-24 Thread Jerry Snitselaar (via Email Bridge)
From: Jerry Snitselaar 

redhat: configs: change aarch64 default dma domain to lazy

Change aarch64 to default to lazy dma domain as is currently
done with Intel and AMD iommus.

Signed-off-by: Jerry Snitselaar 

diff --git 
a/redhat/configs/ark/generic/arm/aarch64/CONFIG_IOMMU_DEFAULT_DMA_LAZY 
b/redhat/configs/ark/generic/arm/aarch64/CONFIG_IOMMU_DEFAULT_DMA_LAZY
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/ark/generic/arm/aarch64/CONFIG_IOMMU_DEFAULT_DMA_LAZY
@@ -0,0 +1,13 @@
+# Symbol: IOMMU_DEFAULT_DMA_LAZY [=n]
+# Type  : bool
+# Defined at drivers/iommu/Kconfig:108
+#   Prompt: Translated - Lazy
+#   Depends on: 
+#   Location:
+# -> Device Drivers
+#   -> IOMMU Hardware Support (IOMMU_SUPPORT [=y])
+# -> IOMMU default domain type ( [=y])
+# 
+# 
+# 
+CONFIG_IOMMU_DEFAULT_DMA_LAZY=y
diff --git 
a/redhat/configs/ark/generic/arm/aarch64/CONFIG_IOMMU_DEFAULT_DMA_STRICT 
b/redhat/configs/ark/generic/arm/aarch64/CONFIG_IOMMU_DEFAULT_DMA_STRICT
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/ark/generic/arm/aarch64/CONFIG_IOMMU_DEFAULT_DMA_STRICT
@@ -0,0 +1 @@
+# CONFIG_IOMMU_DEFAULT_DMA_STRICT is not set

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1632
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


[OS-BUILD PATCH] redhat: configs: change aarch64 default dma domain to lazy

2022-02-24 Thread Jerry Snitselaar (via Email Bridge)
From: Jerry Snitselaar 

redhat: configs: change aarch64 default dma domain to lazy

Change aarch64 to default to lazy dma domain as is currently
done with Intel and AMD iommus.

Signed-off-by: Jerry Snitselaar 

diff --git 
a/redhat/configs/ark/generic/arm/aarch64/CONFIG_IOMMU_DEFAULT_DMA_LAZY 
b/redhat/configs/ark/generic/arm/aarch64/CONFIG_IOMMU_DEFAULT_DMA_LAZY
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/ark/generic/arm/aarch64/CONFIG_IOMMU_DEFAULT_DMA_LAZY
@@ -0,0 +1 @@
+CONFIG_IOMMU_DEFAULT_DMA_LAZY=y
diff --git 
a/redhat/configs/ark/generic/arm/aarch64/CONFIG_IOMMU_DEFAULT_DMA_STRICT 
b/redhat/configs/ark/generic/arm/aarch64/CONFIG_IOMMU_DEFAULT_DMA_STRICT
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/ark/generic/arm/aarch64/CONFIG_IOMMU_DEFAULT_DMA_STRICT
@@ -0,0 +1 @@
+# CONFIG_IOMMU_DEFAULT_DMA_STRICT is not set

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1632
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


[OS-BUILD PATCHv3] redhat/Makefile: Fix dist-dump-variables target

2022-02-24 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava 

redhat/Makefile: Fix dist-dump-variables target

The existing dist-dump-variables didn't output all the variables.  Fix the
target so that it outputs all the Makefile variables.

v2: dzickus pointed out that the self-tests use the dist-dump-variables
target.  Added additional code to fix the self-tests.

Signed-off-by: Prarit Bhargava 

diff --git a/redhat/Makefile b/redhat/Makefile
index blahblah..blahblah 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -162,10 +162,7 @@ dist-clean-rpmdirs:
rm -rf $$i; \
done;
 
-dist-clean-scripts:
-   @rm -f dist-dump-variables.sh
-
-dist-clean: dist-clean-sources dist-clean-configs dist-clean-rpmdirs 
dist-clean-scripts
+dist-clean: dist-clean-sources dist-clean-configs dist-clean-rpmdirs
 
 dist-stub-key:
@echo "Copying pre-generated keys";
@@ -437,12 +434,8 @@ dist-get-latest:
 dist-os-version:
@echo "OSVERSION: $(RHEL_MAJOR).$(RHEL_MINOR)"
 
-.EXPORT_ALL_VARIABLES:
-.PHONY: dist-dump-variables
 dist-dump-variables:
-   grep -h "^[ ]*[a-zA-Z_][a-zA-Z_0-9]*[   ]*[:?]*=" 
$(REDHAT)/Makefile.common $(REDHAT)/Makefile $(TOPDIR)/Makefile.rhelver | sed 
-e 's/[ ]*\([a-zA-Z_][a-zA-Z_0-9]*\).*/echo "\1=$$\1"/' | sort | uniq > 
dist-dump-variables.sh
-   chmod +x $(REDHAT)/dist-dump-variables.sh
-   @$(REDHAT)/dist-dump-variables.sh
+   @$(foreach V,$(sort $(.VARIABLES)), $(if $(filter-out environment% 
default automatic, $(origin $V)),$(info $V=$($V) )))
 
 dist-self-test:
@if test -x /usr/bin/bats; then \
diff --git a/redhat/Makefile.common b/redhat/Makefile.common
index blahblah..blahblah 100644
--- a/redhat/Makefile.common
+++ b/redhat/Makefile.common
@@ -23,6 +23,7 @@ ifneq ($(RPMKEXTRAVERSION),)
   PREBUILD:=0$(KEXTRAVERSION).
   UPSTREAM_TARBALL_NAME:=$(RPMKVERSION).$(RPMKPATCHLEVEL)$(RPMKEXTRAVERSION)
 else
+  KEXTRAVERSION:=
   ifeq ($(RPMKSUBLEVEL),0)
 MARKER:=v$(RPMKVERSION).$(RPMKPATCHLEVEL)
 UPSTREAM_TARBALL_NAME:=$(RPMKVERSION).$(RPMKPATCHLEVEL)
diff --git a/redhat/self-test/1005-dist-dump-variables.bats 
b/redhat/self-test/1005-dist-dump-variables.bats
index blahblah..blahblah 100644
--- a/redhat/self-test/1005-dist-dump-variables.bats
+++ b/redhat/self-test/1005-dist-dump-variables.bats
@@ -5,25 +5,27 @@ function prologue()
 tag=$1
 ofile=$BATS_TMPDIR/$tag.out
 # Have to unset environment variables that may be inherited from 
supra-make:
-grep "^[   ]*[a-zA-Z_][a-zA-Z_0-9]*[   ]*[:?]*=" \
- $BATS_TEST_DIRNAME/../Makefile.common | \
-sed -e 's/[]*\([a-zA-Z_][a-zA-Z_0-9]*\).*/unset \1/' | \
-sort | uniq > $BATS_TMPDIR/unset-vars.sh
-source $BATS_TMPDIR/unset-vars.sh
+make dist-dump-variables | grep "=" | cut -d"=" -f1 | while read VAR; do 
unset "$VAR"; done
 GIT=$BATS_TEST_DIRNAME/egit.sh HEAD=$tag EGIT_OVERRIDE_DESCRIBE=$tag 
DIST=.fc33 make dist-dump-variables > $ofile
 }
 
 function checkversion()
 {
-status=1
-if grep -x "_TAG=$1" $ofile && \
-grep -x "RPMKVERSION=$2" $ofile && grep -x "RPMKPATCHLEVEL=$3" 
$ofile && \
-grep -x "RPMKSUBLEVEL=$4" $ofile && grep -x "RPMKEXTRAVERSION=$5" 
$ofile && \
-grep -x "KEXTRAVERSION=$6" $ofile && \
-grep -x "SNAPSHOT=$7" $ofile
-then
-status=$?
-fi
+   echo "verifying _TAG=$1"
+   grep -E "^_TAG=$1" $ofile
+   echo "verifying RPMKVERSION=$2"
+   grep -E "^RPMKVERSION=$2" $ofile
+   echo "verifying RPMPATCHLEVEL=$3"
+   grep -E "^RPMKPATCHLEVEL=$3" $ofile
+   echo "verifying RPMSUBLEVEL=$4"
+   grep -E "^RPMKSUBLEVEL=$4" $ofile
+   echo "verifying RPMEXTRAVERSION=$5"
+   grep -E "^RPMKEXTRAVERSION=$5" $ofile
+   echo "verifying KEXTRAVERSION=$6"
+   grep -E "^KEXTRAVERSION=$6" $ofile
+   echo "verifying SNAPSHOT=$6"
+   grep -E "^SNAPSHOT=$7" $ofile
+   status=0
 }
 
 @test "dist-dump-variables v5.8" {

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1625
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: [OS-BUILD PATCHv2] redhat: configs: enable CONFIG_INTEL_PCH_THERMAL for RHEL x86

2022-02-24 Thread David Arcari (via Email Bridge)
From: David Arcari on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1629#note_853981264

@jmflinuxtx - Justin can you take a look?  Thanks!
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


[OS-BUILD PATCH] redhat: configs: disable ATM protocols

2022-02-24 Thread Davide Caratti (via Email Bridge)
From: Davide Caratti 

redhat: configs: disable ATM protocols

disable Ethernet over ATM, IP over ATM and ATM LAN emulation on ark.

Signed-off-by: Davide Caratti 

diff --git a/redhat/configs/ark/generic/CONFIG_ATM 
b/redhat/configs/ark/generic/CONFIG_ATM
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/ark/generic/CONFIG_ATM
@@ -0,0 +1 @@
+# CONFIG_ATM is not set
diff --git a/redhat/configs/ark/generic/CONFIG_ATM_BR2684 
b/redhat/configs/ark/generic/CONFIG_ATM_BR2684
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/ark/generic/CONFIG_ATM_BR2684
@@ -0,0 +1 @@
+# CONFIG_ATM_BR2684 is not set
diff --git a/redhat/configs/ark/generic/CONFIG_ATM_CLIP 
b/redhat/configs/ark/generic/CONFIG_ATM_CLIP
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/ark/generic/CONFIG_ATM_CLIP
@@ -0,0 +1 @@
+# CONFIG_ATM_CLIP is not set
diff --git a/redhat/configs/ark/generic/CONFIG_ATM_LANE 
b/redhat/configs/ark/generic/CONFIG_ATM_LANE
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/ark/generic/CONFIG_ATM_LANE
@@ -0,0 +1 @@
+# CONFIG_ATM_LANE is not set
diff --git a/redhat/configs/common/generic/CONFIG_ATM 
b/redhat/configs/fedora/generic/CONFIG_ATM
rename from redhat/configs/common/generic/CONFIG_ATM
rename to redhat/configs/fedora/generic/CONFIG_ATM
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/CONFIG_ATM
+++ b/redhat/configs/fedora/generic/CONFIG_ATM
diff --git a/redhat/configs/common/generic/CONFIG_ATM_BR2684 
b/redhat/configs/fedora/generic/CONFIG_ATM_BR2684
rename from redhat/configs/common/generic/CONFIG_ATM_BR2684
rename to redhat/configs/fedora/generic/CONFIG_ATM_BR2684
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/CONFIG_ATM_BR2684
+++ b/redhat/configs/fedora/generic/CONFIG_ATM_BR2684
diff --git a/redhat/configs/common/generic/CONFIG_ATM_CLIP 
b/redhat/configs/fedora/generic/CONFIG_ATM_CLIP
rename from redhat/configs/common/generic/CONFIG_ATM_CLIP
rename to redhat/configs/fedora/generic/CONFIG_ATM_CLIP
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/CONFIG_ATM_CLIP
+++ b/redhat/configs/fedora/generic/CONFIG_ATM_CLIP
diff --git a/redhat/configs/common/generic/CONFIG_ATM_LANE 
b/redhat/configs/fedora/generic/CONFIG_ATM_LANE
rename from redhat/configs/common/generic/CONFIG_ATM_LANE
rename to redhat/configs/fedora/generic/CONFIG_ATM_LANE
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/CONFIG_ATM_LANE
+++ b/redhat/configs/fedora/generic/CONFIG_ATM_LANE

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1631
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


✅ PASS: Test report for kernel 5.16.11-200.fc35 (fedora-35)

2022-02-24 Thread CKI Project
Hello,

We ran automated tests on the following kernel build:

Kernel package: kernel-5.16.11-200.fc35
 Task URL: https://koji.fedoraproject.org/koji/taskinfo?taskID=83232083

The results of these automated tests are provided below.

Overall result: PASSED
 Tests: OK



All kernel binaries, config files, and logs are available for download here:

  
https://arr-cki-prod-datawarehouse-public.s3.amazonaws.com/index.html?prefix=datawarehouse-public/2022/02/23/478020402

Please reply to this email if you have any questions about the tests that we
ran or if you have any suggestions on how to make future tests more effective.
For the full detail on our testing procedures, please scroll to the bottom of
this message.

,-.   ,-.
   ( C ) ( K )  Continuous
`-',-.`-'   Kernel
  ( I ) Integration
   `-'
__

Hardware testing

We booted each kernel and ran the following tests:

  aarch64:
Host 1:

   ⚡ Internal infrastructure issues prevented one or more tests (marked
   with ⚡⚡⚡) from running on this architecture.
   This is not the fault of the kernel that was tested.

   🚧 ⚡⚡⚡ SELinux Custom Module Setup
   ⚡⚡⚡ Boot test
   ⚡⚡⚡ Reboot test
   ⚡⚡⚡ Ethernet drivers sanity - mlx5

Host 2:

   ⚡ Internal infrastructure issues prevented one or more tests (marked
   with ⚡⚡⚡) from running on this architecture.
   This is not the fault of the kernel that was tested.

   🚧 ⚡⚡⚡ SELinux Custom Module Setup
   ⚡⚡⚡ Boot test
   ⚡⚡⚡ Reboot test
   ⚡⚡⚡ xfstests - ext4
   ⚡⚡⚡ xfstests - xfs
   ⚡⚡⚡ Storage: swraid mdadm raid_module test
   🚧 ⚡⚡⚡ xfstests - btrfs
   🚧 ⚡⚡⚡ Storage blktests - blk
   🚧 ⚡⚡⚡ Storage blktests - nvme-tcp
   🚧 ⚡⚡⚡ Storage block - filesystem fio test
   🚧 ⚡⚡⚡ Storage block - queue scheduler test
   🚧 ⚡⚡⚡ Storage block - storage fio numa
   🚧 ⚡⚡⚡ storage: software RAID testing
   🚧 ⚡⚡⚡ stress: stress-ng - interrupt
   🚧 ⚡⚡⚡ stress: stress-ng - cpu
   🚧 ⚡⚡⚡ stress: stress-ng - cpu-cache
   🚧 ⚡⚡⚡ stress: stress-ng - memory
   🚧 ⚡⚡⚡ stress: stress-ng - os

Host 3:

   ⚡ Internal infrastructure issues prevented one or more tests (marked
   with ⚡⚡⚡) from running on this architecture.
   This is not the fault of the kernel that was tested.

   🚧 ✅ SELinux Custom Module Setup
   ✅ Boot test
   ✅ Reboot test
   🚧 ⚡⚡⚡ Storage blktests - nvmeof-mp

Host 4:

   ⚡ Internal infrastructure issues prevented one or more tests (marked
   with ⚡⚡⚡) from running on this architecture.
   This is not the fault of the kernel that was tested.

   🚧 ⚡⚡⚡ SELinux Custom Module Setup
   ⚡⚡⚡ Boot test
   ⚡⚡⚡ Reboot test
   🚧 ⚡⚡⚡ Storage blktests - srp

Host 5:

   ⚡ Internal infrastructure issues prevented one or more tests (marked
   with ⚡⚡⚡) from running on this architecture.
   This is not the fault of the kernel that was tested.

   🚧 ✅ SELinux Custom Module Setup
   ✅ Boot test
   ✅ Reboot test
   ✅ ACPI table test
   ⚡⚡⚡ LTP - cve
   ⚡⚡⚡ LTP - sched
   ⚡⚡⚡ LTP - syscalls
   ⚡⚡⚡ LTP - can
   ⚡⚡⚡ LTP - commands
   ⚡⚡⚡ LTP - containers
   ⚡⚡⚡ LTP - dio
   ⚡⚡⚡ LTP - fs
   ⚡⚡⚡ LTP - fsx
   ⚡⚡⚡ LTP - math
   ⚡⚡⚡ LTP - hugetlb
   ⚡⚡⚡ LTP - mm
   ⚡⚡⚡ LTP - nptl
   ⚡⚡⚡ LTP - pty
   ⚡⚡⚡ LTP - ipc
   ⚡⚡⚡ LTP - tracing
   ⚡⚡⚡ LTP: openposix test suite
   ⚡⚡⚡ CIFS Connectathon
   ⚡⚡⚡ Loopdev Sanity
   ⚡⚡⚡ Memory: fork_mem
   ⚡⚡⚡ Memory function: memfd_create
   ⚡⚡⚡ AMTU (Abstract Machine Test Utility)
   ⚡⚡⚡ Ethernet drivers sanity
   🚧 ⚡⚡⚡ NFS Connectathon

Host 6:

   ⚡ Internal infrastructure issues prevented one or more tests (marked
   with ⚡⚡⚡) from running on this architecture.
   This is not the fault of the kernel that was tested.

   🚧 ✅ SELinux Custom Module Setup
   ⚡⚡⚡ Boot test
   ⚡⚡⚡ Reboot test
   ⚡⚡⚡ Ethernet drivers sanity - mlx5

Host 7:

   ⚡ Internal infrastructure issues prevented one or more tests (marked
   with ⚡⚡⚡) from running on this architecture.
   This is not the fault of the kernel that was tested.

   🚧 ⚡⚡⚡ SELinux Custom Module Setup
   ⚡⚡⚡ Boot test
   ⚡⚡⚡ Reboot test
   ⚡⚡⚡ xfstests - ext4
   ⚡⚡⚡ xfstests - xfs
   ⚡⚡⚡ Storage: swraid mdadm raid_module test
   🚧 ⚡⚡⚡ xfstests - btrfs
   🚧 ⚡⚡⚡ Storage blktests - blk
   🚧 ⚡⚡⚡ Storage blktests - nvme-tcp
   🚧 ⚡⚡⚡ Storage block - filesystem fio test
   🚧 ⚡⚡⚡ Storage block - queue scheduler test
   🚧 ⚡⚡⚡ Storage block - storage fio numa
   🚧 ⚡⚡⚡ storage: software RAID testing
   🚧 ⚡⚡⚡ stress: stress-ng - interrupt
   🚧 ⚡⚡⚡ stress: stress-ng - cpu
   🚧 ⚡⚡⚡ stress: stress-ng - cpu-cache