[OS-BUILD PATCH] redhat/configs: usb: chipidea: update configs

2023-05-02 Thread Desnes Nunes (via Email Bridge)
From: Desnes Nunes 

redhat/configs: usb: chipidea: update configs

With the inclusion of commit  ("usb: chipidea: make
configs for glue drivers visible with EXPERT"), the if changes of
CONFIG_EMBEDDED to CONFIG_EXPERT must be followed by arm
CONFIG_USB_CHIPIDEA config changes for future releases.

Upstream-status: RHEL-only

Signed-off-by: Desnes Nunes 

diff --git a/redhat/configs/common/generic/arm/CONFIG_USB_CHIPIDEA_GENERIC 
b/redhat/configs/common/generic/arm/CONFIG_USB_CHIPIDEA_GENERIC
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/arm/CONFIG_USB_CHIPIDEA_GENERIC
@@ -0,0 +1 @@
+CONFIG_USB_CHIPIDEA_GENERIC=m
diff --git a/redhat/configs/common/generic/arm/CONFIG_USB_CHIPIDEA_MSM 
b/redhat/configs/common/generic/arm/CONFIG_USB_CHIPIDEA_MSM
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/arm/CONFIG_USB_CHIPIDEA_MSM
@@ -0,0 +1 @@
+CONFIG_USB_CHIPIDEA_MSM=m
diff --git a/redhat/configs/common/generic/arm/CONFIG_USB_CHIPIDEA_PCI 
b/redhat/configs/common/generic/arm/CONFIG_USB_CHIPIDEA_PCI
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/arm/CONFIG_USB_CHIPIDEA_PCI
@@ -0,0 +1 @@
+CONFIG_USB_CHIPIDEA_PCI=m

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2462
___
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, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [OS-BUILD PATCH] redhat/configs: enable Maxim MAX77620 PMIC for RHEL

2023-05-02 Thread pbrobinson (via Email Bridge)
From: pbrobinson on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2461#note_1375613310

LGTM from both the Fedora side and the Jetson side of things.
___
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, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [OS-BUILD PATCH] redhat/configs: enable CONFIG_DELL_WMI_PRIVACY for both RHEL and Fedora

2023-05-02 Thread David Arcari (via Email Bridge)
From: David Arcari on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2457#note_1375607912

@ptalbert - do you want me to rebase this or will you process it?  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, report it: 
https://pagure.io/fedora-infrastructure/new_issue


[OS-BUILD PATCH] redhat/configs: enable Maxim MAX77620 PMIC for RHEL

2023-05-02 Thread Mark Salter (via Email Bridge)
From: Mark Salter 

redhat/configs: enable Maxim MAX77620 PMIC for RHEL

MAX77620 is needed for Nvidia Xavier NX. It is already enabled for fedora,
so move those configs to common to enable for RHEL also.

Signed-off-by: Mark Salter 

diff --git a/redhat/configs/fedora/generic/CONFIG_RTC_DRV_MAX77686 
b/redhat/configs/common/generic/CONFIG_RTC_DRV_MAX77686
rename from redhat/configs/fedora/generic/CONFIG_RTC_DRV_MAX77686
rename to redhat/configs/common/generic/CONFIG_RTC_DRV_MAX77686
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/CONFIG_RTC_DRV_MAX77686
+++ b/redhat/configs/common/generic/CONFIG_RTC_DRV_MAX77686
diff --git a/redhat/configs/fedora/generic/arm/CONFIG_COMMON_CLK_MAX77686 
b/redhat/configs/common/generic/arm/CONFIG_COMMON_CLK_MAX77686
rename from redhat/configs/fedora/generic/arm/CONFIG_COMMON_CLK_MAX77686
rename to redhat/configs/common/generic/arm/CONFIG_COMMON_CLK_MAX77686
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/arm/CONFIG_COMMON_CLK_MAX77686
+++ b/redhat/configs/common/generic/arm/CONFIG_COMMON_CLK_MAX77686
diff --git a/redhat/configs/fedora/generic/arm/CONFIG_RTC_DRV_MAX77686 
b/redhat/configs/common/generic/arm/CONFIG_RTC_DRV_MAX77686
rename from redhat/configs/fedora/generic/arm/CONFIG_RTC_DRV_MAX77686
rename to redhat/configs/common/generic/arm/CONFIG_RTC_DRV_MAX77686
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/arm/CONFIG_RTC_DRV_MAX77686
+++ b/redhat/configs/common/generic/arm/CONFIG_RTC_DRV_MAX77686
diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_GPIO_MAX77620 
b/redhat/configs/common/generic/arm/aarch64/CONFIG_GPIO_MAX77620
rename from redhat/configs/fedora/generic/arm/aarch64/CONFIG_GPIO_MAX77620
rename to redhat/configs/common/generic/arm/aarch64/CONFIG_GPIO_MAX77620
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_GPIO_MAX77620
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_GPIO_MAX77620
diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_MAX77620_THERMAL 
b/redhat/configs/common/generic/arm/aarch64/CONFIG_MAX77620_THERMAL
rename from redhat/configs/fedora/generic/arm/aarch64/CONFIG_MAX77620_THERMAL
rename to redhat/configs/common/generic/arm/aarch64/CONFIG_MAX77620_THERMAL
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_MAX77620_THERMAL
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_MAX77620_THERMAL
diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_MAX77620_WATCHDOG 
b/redhat/configs/common/generic/arm/aarch64/CONFIG_MAX77620_WATCHDOG
rename from redhat/configs/fedora/generic/arm/aarch64/CONFIG_MAX77620_WATCHDOG
rename to redhat/configs/common/generic/arm/aarch64/CONFIG_MAX77620_WATCHDOG
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_MAX77620_WATCHDOG
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_MAX77620_WATCHDOG
diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_MFD_MAX77620 
b/redhat/configs/common/generic/arm/aarch64/CONFIG_MFD_MAX77620
rename from redhat/configs/fedora/generic/arm/aarch64/CONFIG_MFD_MAX77620
rename to redhat/configs/common/generic/arm/aarch64/CONFIG_MFD_MAX77620
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_MFD_MAX77620
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_MFD_MAX77620
diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_PINCTRL_MAX77620 
b/redhat/configs/common/generic/arm/aarch64/CONFIG_PINCTRL_MAX77620
rename from redhat/configs/fedora/generic/arm/aarch64/CONFIG_PINCTRL_MAX77620
rename to redhat/configs/common/generic/arm/aarch64/CONFIG_PINCTRL_MAX77620
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_PINCTRL_MAX77620
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_PINCTRL_MAX77620

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2461
___
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, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [OS-BUILD PATCH] Remove EXPERT from ARCH_FORCE_MAX_ORDER for aarch64

2023-05-02 Thread Mark Salter (via Email Bridge)
From: Mark Salter on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2450#note_1375471185

There was also an earlier commit 23baf831a32c which changed the meaning of
MAX_ORDER. The old MAX_ORDER meant the max alloc order was MAX_ORDER-1, but
after 23baf831a32c, the max alloc order is MAX_ORDER. So we also need to
change our configs to keep things as they were.
___
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, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [OS-BUILD PATCH] kernel.spec: remove "RPM_VMLINUX_H=$DevelDir/vmlinux.h" code chunk in %install

2023-05-02 Thread Denys Vlasenko (via Email Bridge)
From: Denys Vlasenko on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2458#note_1375245387

Veronika, it is set here in specfile:

```
%build
...
InitBuildVars() {
...
DevelDir=/usr/src/kernels/%{KVERREL}${Variant:++${Variant}}
...
BuildKernel() {
...
InitBuildVars $Variant```
...
cd linux-%{KVERREL}
%if %{with_debug}
BuildKernel %make_target %kernel_image %{_use_vdso} debug
%endif
```

IOW: it's just an ordinary shell variable, set during %build. Of course shell
variables are not surviving into %install
___
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, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [OS-BUILD PATCH] kernel.spec: remove "RPM_VMLINUX_H=$DevelDir/vmlinux.h" code chunk in %install

2023-05-02 Thread Denys Vlasenko (via Email Bridge)
From: Denys Vlasenko on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2458#note_1375234599

I'm 100% it's not set in %install. I see the following in the log:

+ '[' -f /vmlinux.h ']'

IOW: $DevelDir expanded to nothing.

If we do not remove that code, maybe it makes sense to code more defensively?
A-la
[ "$DevelDir" ] || { echo "DevelDir not set"; exit 1; }
[ -d "$DevelDir" ] || { echo "Not a directory: '%DevelDir'"; exit 1; }
if [ -f "$DevelDir/vmlinux.h" ] ...
___
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, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [OS-BUILD PATCH] kernel.spec: remove "RPM_VMLINUX_H=$DevelDir/vmlinux.h" code chunk in %install

2023-05-02 Thread via Email Bridge
From: Veronika Kabátová on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2458#note_1375154322

AFAIK it's rpm variable, whether in specfile or some internals.

But the part of the code is needed to keep CKI separate tools builds to work
https://gitlab.com/cki-project/kernel-
ark/-/commit/b4cac22848f6cfdbd7e52bf5fd0a2e6381f7b552 ; unless something about
the builds changed in the past few months
___
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, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [OS-BUILD PATCH] kernel.spec: remove "RPM_VMLINUX_H=$DevelDir/vmlinux.h" code chunk in %install

2023-05-02 Thread Don Zickus (via Email Bridge)
From: Don Zickus on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2458#note_1375015427

DevelDir I believe is a CKI env var?  @veruu @mh21 ?
___
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, report it: 
https://pagure.io/fedora-infrastructure/new_issue


[OS-BUILD PATCH] kernel.spec: remove "RPM_VMLINUX_H=$DevelDir/vmlinux.h" code chunk in %install

2023-05-02 Thread Denys Vlasenko (via Email Bridge)
From: Denys Vlasenko 

kernel.spec: remove "RPM_VMLINUX_H=$DevelDir/vmlinux.h" code chunk in %install

Remove this code block in %install:
if [ -f $DevelDir/vmlinux.h ]; then
  RPM_VMLINUX_H=$DevelDir/vmlinux.h
fi

It was added by commit b4cac22848f6cfdbd7e52bf5fd0a2e6381f7b552
kernel.spec: Add support to use vmlinux.h

The commit added two copies of it. The second instance, in %install,
does not actually work: $DevelDir is not set, so (unless your root
indeed has a /vmlinux.h file) RPM_VMLINUX_H is not set, but it
would not be used in %install anyway.

Signed-off-by: Denys Vlasenko 

diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
index blahblah..blahblah 100644
--- a/redhat/kernel.spec.template
+++ b/redhat/kernel.spec.template
@@ -2811,10 +2811,6 @@ rm -f %{buildroot}%{_bindir}/timerlat
 popd
 %endif
 
-if [ -f $DevelDir/vmlinux.h ]; then
-  RPM_VMLINUX_H=$DevelDir/vmlinux.h
-fi
-
 %if %{with_bpftool}
 pushd tools/bpf/bpftool
 %{bpftool_make} prefix=%{_prefix} 
bash_compdir=%{_sysconfdir}/bash_completion.d/ mandir=%{_mandir} install 
doc-install

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2458
___
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, report it: 
https://pagure.io/fedora-infrastructure/new_issue