Re: [OS-BUILD PATCHv4 0/2] Combine duplicate configs across ark and fedora into common

2021-04-07 Thread Don Zickus
On Wed, Apr 07, 2021 at 07:17:44PM +0200, Paul Bolle wrote:
> Don Zickus schreef op wo 07-04-2021 om 12:38 [-0400]:
> > I welcome any feedback as someone who tried to help. :-D
> 
> Well, I've just done my first web-based merge-request. (Actually my first
> merge-request ever. E-mailing patches is so much easier!) Just to get to know
> gitlab and kernel-ark. Lots of exiting buttons to push. No errors so far, so
> yay me!

\o/  Red Hat is investing time into an upstream cli tool called lab,
https://github.com/zaquestion/lab to reduce the webui burden and speed up
the patch submission process.  Hopefully in the next 2 months we can
publicize our workflow with that tool.  Prarit?

> 
> So that's a start. No promises - I'm not that naive - but I do hope to come
> back to this after a few trivial patches to kernel-ark.

Much appreciated!!  Thanks for the contribution!

Cheers,
Don
___
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 PATCHv4 0/2] Combine duplicate configs across ark and fedora into common

2021-04-07 Thread Paul Bolle
Don Zickus schreef op wo 07-04-2021 om 12:38 [-0400]:
> I welcome any feedback as someone who tried to help. :-D

Well, I've just done my first web-based merge-request. (Actually my first
merge-request ever. E-mailing patches is so much easier!) Just to get to know
gitlab and kernel-ark. Lots of exiting buttons to push. No errors so far, so
yay me!

So that's a start. No promises - I'm not that naive - but I do hope to come
back to this after a few trivial patches to kernel-ark.

Thanks,
Paul
___
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 PATCHv5] [redhat] Update configs for mod-internal.list

2021-04-07 Thread Don Zickus (via Email Bridge)
From: Don Zickus on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/987#note_546885805

grr. thanks! updated!
___
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 PATCHv5] [redhat] Update configs for mod-internal.list

2021-04-07 Thread Don Zickus (via Email Bridge)
From: Don Zickus 

[redhat] Update configs for mod-internal.list

Several of the options for mod-internal.list are now out of sync
with RHEL8. Adjust accordingly.

Cc: Waiman Long 
Cc: Jiri Benc 

Signed-off-by: Laura Abbott 
Signed-off-by: Don Zickus 

V2: rebase to latest
V3: Adjust CONFIG_NET_ACT_ options (Jiri B.)
V4: Update TORTURE_TEST configs (Waiman L.)
V5: Enable CONFIG_NET_ACT_{CTINFO|MPLS} to 'm' for Fedora (Jiri B.)
V6: Remove duplicate dmatest (Herton)

diff a/redhat/configs/ark/debug/arm/aarch64/CONFIG_LOCK_TORTURE_TEST 
b/redhat/configs/ark/debug/arm/aarch64/CONFIG_LOCK_TORTURE_TEST
--- a/redhat/configs/ark/debug/arm/aarch64/CONFIG_LOCK_TORTURE_TEST
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_LOCK_TORTURE_TEST=m
diff a/redhat/configs/ark/generic/CONFIG_NET_ACT_CTINFO 
b/redhat/configs/ark/generic/CONFIG_NET_ACT_CTINFO
--- a/redhat/configs/ark/generic/CONFIG_NET_ACT_CTINFO
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_NET_ACT_CTINFO is not set
diff a/redhat/configs/ark/generic/CONFIG_RCU_TORTURE_TEST 
b/redhat/configs/ark/generic/CONFIG_RCU_TORTURE_TEST
--- a/redhat/configs/ark/generic/CONFIG_RCU_TORTURE_TEST
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_RCU_TORTURE_TEST is not set
diff a/redhat/configs/common/generic/CONFIG_LOCK_TORTURE_TEST 
b/redhat/configs/common/generic/CONFIG_LOCK_TORTURE_TEST
--- a/redhat/configs/common/generic/CONFIG_LOCK_TORTURE_TEST
+++ b/redhat/configs/common/generic/CONFIG_LOCK_TORTURE_TEST
@@ -1 +1 @@
-# CONFIG_LOCK_TORTURE_TEST is not set
+CONFIG_LOCK_TORTURE_TEST=m
diff a/redhat/configs/common/generic/CONFIG_NET_ACT_CTINFO 
b/redhat/configs/common/generic/CONFIG_NET_ACT_CTINFO
--- a/redhat/configs/common/generic/CONFIG_NET_ACT_CTINFO
+++ b/redhat/configs/common/generic/CONFIG_NET_ACT_CTINFO
@@ -1 +1 @@
-CONFIG_NET_ACT_CTINFO=m
+# CONFIG_NET_ACT_CTINFO is not set
diff a/redhat/configs/common/generic/CONFIG_NET_ACT_MPLS 
b/redhat/configs/common/generic/CONFIG_NET_ACT_MPLS
--- a/redhat/configs/common/generic/CONFIG_NET_ACT_MPLS
+++ b/redhat/configs/common/generic/CONFIG_NET_ACT_MPLS
@@ -1 +1 @@
-CONFIG_NET_ACT_MPLS=m
+# CONFIG_NET_ACT_MPLS is not set
diff a/redhat/configs/fedora/generic/CONFIG_RCU_TORTURE_TEST 
b/redhat/configs/common/generic/CONFIG_RCU_TORTURE_TEST
--- a/redhat/configs/fedora/generic/CONFIG_RCU_TORTURE_TEST
+++ b/redhat/configs/common/generic/CONFIG_RCU_TORTURE_TEST
diff a/redhat/configs/ark/debug/arm/aarch64/CONFIG_TORTURE_TEST 
b/redhat/configs/common/generic/CONFIG_TORTURE_TEST
--- a/redhat/configs/ark/debug/arm/aarch64/CONFIG_TORTURE_TEST
+++ b/redhat/configs/common/generic/CONFIG_TORTURE_TEST
diff a/redhat/configs/fedora/debug/CONFIG_LOCK_TORTURE_TEST 
b/redhat/configs/fedora/debug/CONFIG_LOCK_TORTURE_TEST
--- a/redhat/configs/fedora/debug/CONFIG_LOCK_TORTURE_TEST
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_LOCK_TORTURE_TEST=m
diff a/redhat/configs/fedora/generic/CONFIG_NET_ACT_CTINFO 
b/redhat/configs/fedora/generic/CONFIG_NET_ACT_CTINFO
--- /dev/null
+++ b/redhat/configs/fedora/generic/CONFIG_NET_ACT_CTINFO
@@ -0,0 +1 @@
+CONFIG_NET_ACT_CTINFO=m
diff a/redhat/configs/fedora/generic/CONFIG_NET_ACT_MPLS 
b/redhat/configs/fedora/generic/CONFIG_NET_ACT_MPLS
--- /dev/null
+++ b/redhat/configs/fedora/generic/CONFIG_NET_ACT_MPLS
@@ -0,0 +1 @@
+CONFIG_NET_ACT_MPLS=m
diff a/redhat/mod-internal.list b/redhat/mod-internal.list
--- a/redhat/mod-internal.list
+++ b/redhat/mod-internal.list
@@ -1,7 +1,9 @@
 dmatest
+locktorture
 mac80211_hwsim
 netdevsim
 pktgen
+rcutorture
 rocker
 test_klp_atomic_replace
 test_klp_callbacks_demo
@@ -13,3 +15,4 @@ test_klp_shadow_vars
 test_klp_state
 test_klp_state2
 test_klp_state3
+torture

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/987
___
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 PATCHv4 0/2] Combine duplicate configs across ark and fedora into common

2021-04-07 Thread Don Zickus
On Wed, Apr 07, 2021 at 04:14:28PM +0200, Paul Bolle wrote:
> Don Zickus schreef op di 06-04-2021 om 10:30 [-0400]:
> > To me, duplicates meant that same config setting in fedora and (common or
> > ark).
> 
> common is for settings that are identical in fedora and ark, right?

Yeah, in theory, though in reality if we are overriding the configs in
'common', are they really identical? :-/  So, aaahh, some better
principles need to be thought up and applied there.

> 
> If so, I used to have a local patch to merge.pl. It warned about pointless
> overrides (e.g., a config in generic "overriden" to the same value in, say
> s390x). That might be of help with part of your work. If I understand you
> correctly, that is.

Interesting. Yes that could be useful.  Prarit wrote a script called
redhat/configs/evaluate_configs.sh that was supposed to help address those
issues.  It seems like your change shows gaps in the tool or our process,
which is probably a good thing. :-)

> 
> On the other hand, detecting identical values in separate config directories
> that should actually be set in a common sublevel turned out to be a tricky
> problem. I tried a few times, but never was satisfied with my results.

Yeah agreed.  See my first comment above where theory and reality are not as
aligned as they should be.  I think without better principles for those
directories, it is going to be challenging to fix the problems in there.

I welcome any feedback as someone who tried to help. :-D

Cheers,
Don
___
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] Use upstream/master for merge-base with fallback to master

2021-04-07 Thread Don Zickus (via Email Bridge)
From: Don Zickus on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/995#note_546859655

Only if you set up a mirror is that true.  And only select projects are
allowed to be mirrored.  Public project and a Silver tier, I think are
the minimum requirements.  Which kernel-ark may have due to the cki-
project being registered as an open-source group.
___
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 PATCHv4] [redhat] Update configs for mod-internal.list

2021-04-07 Thread Herton R. Krzesinski (via Email Bridge)
From: Herton R. Krzesinski on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/987#note_546764458

Don, looks you are adding dmatest to the second line in the list, but
there is already an entry for it on the first line.
___
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 PATCHv4 0/2] Combine duplicate configs across ark and fedora into common

2021-04-07 Thread Paul Bolle
Don Zickus schreef op di 06-04-2021 om 10:30 [-0400]:
> To me, duplicates meant that same config setting in fedora and (common or
> ark).

common is for settings that are identical in fedora and ark, right?

If so, I used to have a local patch to merge.pl. It warned about pointless
overrides (e.g., a config in generic "overriden" to the same value in, say
s390x). That might be of help with part of your work. If I understand you
correctly, that is.

On the other hand, detecting identical values in separate config directories
that should actually be set in a common sublevel turned out to be a tricky
problem. I tried a few times, but never was satisfied with my results.

Thanks,
Paul
___
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] wireguard: disable in FIPS mode

2021-04-07 Thread via Email Bridge
From: Ondrej Mosnáček on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/994#note_546565332

I think it's common practice to resend the patch with `[PATCH RESEND]`
subject tag in such cases (with a note why you're resending). When it's
just one small patch it shouldn't bother anyone :)
___
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] wireguard: disable in FIPS mode

2021-04-07 Thread Hangbin Liu (via Email Bridge)
From: Hangbin Liu on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/994#note_546544956

I only posted to netdev. Is it OK to cc linux-crypto after post?
___
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] wireguard: disable in FIPS mode

2021-04-07 Thread via Email Bridge
From: Ondrej Mosnáček on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/994#note_546539113

Do you have a link? I can't see it on linux-cry...@vger.kernel.org,
which I'm subscribed to (would be nice to CC that list as well).
___
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] wireguard: disable in FIPS mode

2021-04-07 Thread Hangbin Liu (via Email Bridge)
From: Hangbin Liu on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/994#note_546522526

Make sense to me, I just post a patch to upstream.
___
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 0/2] configs: enable CONFIG_WIREGUARD

2021-04-07 Thread Herbert Xu (via Email Bridge)
From: Herbert Xu on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/993#note_546486460

Acked-by: Herbert Xu 
___
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 PATCHv4] [redhat] Update configs for mod-internal.list

2021-04-07 Thread Jiri Benc (via Email Bridge)
From: Jiri Benc on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/987#note_546473354

Looks good. 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


Re: [OS-BUILD PATCHv2] wireguard: disable in FIPS mode

2021-04-07 Thread Jiri Benc (via Email Bridge)
From: Jiri Benc on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/994#note_546471110

That's a good point. I agree that this should be submitted upstream
first.
___
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] wireguard: disable in FIPS mode

2021-04-07 Thread via Email Bridge
From: Ondrej Mosnáček on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/994#note_546448417

I just wonder if it wouldn't make sense to push [a variant of] this
patch also upstream? The relation between Wireguard and FIPS mode
doesn't seem distro-specific. Or does upstream have a different opinion?
___
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 PATCH] wireguard: disable in FIPS mode

2021-04-07 Thread Hangbin Liu (via Email Bridge)
From: Hangbin Liu on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/994#note_546433292

@marcelo.leitner Sorry, I set the notification to only mentioned. I have
updated the patch. Please help review.
___
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 PATCHv2] wireguard: disable in FIPS mode

2021-04-07 Thread Hangbin Liu (via Email Bridge)
From: Hangbin Liu 

wireguard: disable in FIPS mode

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1940794
Upstream: RHEL Only

As the cryptos(BLAKE2S, Curve25519, CHACHA20POLY1305) in WireGuard are not
FIPS certified, the WireGuard module should be disabled in FIPS mode.

Signed-off-by: Hangbin Liu 

diff a/drivers/net/wireguard/main.c b/drivers/net/wireguard/main.c
--- a/drivers/net/wireguard/main.c
+++ b/drivers/net/wireguard/main.c
@@ -12,6 +12,7 @@
 
 #include 
 
+#include 
 #include 
 #include 
 #include 
@@ -21,6 +22,11 @@ static int __init mod_init(void)
 {
int ret;
 
+#ifdef CONFIG_RHEL_DIFFERENCES
+   if (fips_enabled)
+   return -EOPNOTSUPP;
+#endif
+
 #ifdef DEBUG
if (!wg_allowedips_selftest() || !wg_packet_counter_selftest() ||
!wg_ratelimiter_selftest())

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/994
___
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 0/2] configs: enable CONFIG_WIREGUARD

2021-04-07 Thread Hangbin Liu (via Email Bridge)
From: Hangbin Liu on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/993#note_546425260

@omos Thanks, I have updated the subject. Would you please help ack the
bug if it's OK for you?
___
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 PATCHv2 2/2] wireguard: mark as Tech Preview

2021-04-07 Thread Hangbin Liu (via Email Bridge)
From: Hangbin Liu 

wireguard: mark as Tech Preview

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1613522
Upstream: RHEL only

WireGuard is Tech Preview in RHEL 9.0.

Signed-off-by: Hangbin Liu 

diff a/drivers/net/wireguard/main.c b/drivers/net/wireguard/main.c
--- a/drivers/net/wireguard/main.c
+++ b/drivers/net/wireguard/main.c
@@ -39,6 +39,7 @@ static int __init mod_init(void)
pr_info("WireGuard " WIREGUARD_VERSION " loaded. See www.wireguard.com 
for information.\n");
pr_info("Copyright (C) 2015-2019 Jason A. Donenfeld . 
All Rights Reserved.\n");
 
+   mark_tech_preview("WireGuard", THIS_MODULE);
return 0;
 
 err_netlink:

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/993
___
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 PATCHv2 1/2] configs: enable CONFIG_WIREGUARD in ARK

2021-04-07 Thread Hangbin Liu (via Email Bridge)
From: Hangbin Liu 

configs: enable CONFIG_WIREGUARD in ARK

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1613522
Upstream: RHEL only

Enable CONFIG_WIREGUARD as requested in the bugzilla. Configs
CONFIG_CRYPTO_LIB_BLAKE2S, CONFIG_CRYPTO_LIB_CHACHA20POLY1305,
CONFIG_CRYPTO_LIB_CURVE25519 are needed by wireguard.

Remove the fedora specific configs and enable them in common folder.
Do not enable it on zfcpdump as it has "#CONFIG_INET is not set".

Disabling wireguard in FIPS mode will be fixed in another bug.

Signed-off-by: Hangbin Liu 

diff a/redhat/configs/common/generic/CONFIG_CRYPTO_LIB_BLAKE2S 
b/redhat/configs/common/generic/CONFIG_CRYPTO_LIB_BLAKE2S
--- a/redhat/configs/common/generic/CONFIG_CRYPTO_LIB_BLAKE2S
+++ b/redhat/configs/common/generic/CONFIG_CRYPTO_LIB_BLAKE2S
@@ -1 +1 @@
-# CONFIG_CRYPTO_LIB_BLAKE2S is not set
+CONFIG_CRYPTO_LIB_BLAKE2S=m
diff a/redhat/configs/fedora/generic/CONFIG_CRYPTO_LIB_CHACHA20POLY1305 
b/redhat/configs/common/generic/CONFIG_CRYPTO_LIB_CHACHA20POLY1305
--- a/redhat/configs/fedora/generic/CONFIG_CRYPTO_LIB_CHACHA20POLY1305
+++ b/redhat/configs/common/generic/CONFIG_CRYPTO_LIB_CHACHA20POLY1305
diff a/redhat/configs/common/generic/CONFIG_CRYPTO_LIB_CURVE25519 
b/redhat/configs/common/generic/CONFIG_CRYPTO_LIB_CURVE25519
--- a/redhat/configs/common/generic/CONFIG_CRYPTO_LIB_CURVE25519
+++ b/redhat/configs/common/generic/CONFIG_CRYPTO_LIB_CURVE25519
@@ -1 +1 @@
-# CONFIG_CRYPTO_LIB_CURVE25519 is not set
+CONFIG_CRYPTO_LIB_CURVE25519=m
diff a/redhat/configs/common/generic/CONFIG_WIREGUARD 
b/redhat/configs/common/generic/CONFIG_WIREGUARD
--- a/redhat/configs/common/generic/CONFIG_WIREGUARD
+++ b/redhat/configs/common/generic/CONFIG_WIREGUARD
@@ -1 +1 @@
-# CONFIG_WIREGUARD is not set
+CONFIG_WIREGUARD=m
diff a/redhat/configs/fedora/generic/CONFIG_WIREGUARD_DEBUG 
b/redhat/configs/common/generic/CONFIG_WIREGUARD_DEBUG
--- a/redhat/configs/fedora/generic/CONFIG_WIREGUARD_DEBUG
+++ b/redhat/configs/common/generic/CONFIG_WIREGUARD_DEBUG
diff a/redhat/configs/common/generic/s390x/zfcpdump/CONFIG_CRYPTO_LIB_BLAKE2S 
b/redhat/configs/common/generic/s390x/zfcpdump/CONFIG_CRYPTO_LIB_BLAKE2S
--- /dev/null
+++ b/redhat/configs/common/generic/s390x/zfcpdump/CONFIG_CRYPTO_LIB_BLAKE2S
@@ -0,0 +1 @@
+# CONFIG_CRYPTO_LIB_BLAKE2S is not set
diff a/redhat/configs/pending-common/generic/CONFIG_CRYPTO_LIB_CHACHA20POLY1305 
b/redhat/configs/common/generic/s390x/zfcpdump/CONFIG_CRYPTO_LIB_CHACHA20POLY1305
--- a/redhat/configs/pending-common/generic/CONFIG_CRYPTO_LIB_CHACHA20POLY1305
+++ 
b/redhat/configs/common/generic/s390x/zfcpdump/CONFIG_CRYPTO_LIB_CHACHA20POLY1305
diff 
a/redhat/configs/common/generic/s390x/zfcpdump/CONFIG_CRYPTO_LIB_CURVE25519 
b/redhat/configs/common/generic/s390x/zfcpdump/CONFIG_CRYPTO_LIB_CURVE25519
--- /dev/null
+++ b/redhat/configs/common/generic/s390x/zfcpdump/CONFIG_CRYPTO_LIB_CURVE25519
@@ -0,0 +1 @@
+# CONFIG_CRYPTO_LIB_CURVE25519 is not set
diff a/redhat/configs/common/generic/s390x/zfcpdump/CONFIG_WIREGUARD 
b/redhat/configs/common/generic/s390x/zfcpdump/CONFIG_WIREGUARD
--- /dev/null
+++ b/redhat/configs/common/generic/s390x/zfcpdump/CONFIG_WIREGUARD
@@ -0,0 +1 @@
+# CONFIG_WIREGUARD is not set
diff a/redhat/configs/fedora/generic/x86/x86_64/CONFIG_CRYPTO_BLAKE2S_X86 
b/redhat/configs/common/generic/x86/x86_64/CONFIG_CRYPTO_BLAKE2S_X86
--- a/redhat/configs/fedora/generic/x86/x86_64/CONFIG_CRYPTO_BLAKE2S_X86
+++ b/redhat/configs/common/generic/x86/x86_64/CONFIG_CRYPTO_BLAKE2S_X86
diff a/redhat/configs/fedora/generic/x86/x86_64/CONFIG_CRYPTO_CURVE25519_X86 
b/redhat/configs/common/generic/x86/x86_64/CONFIG_CRYPTO_CURVE25519_X86
--- a/redhat/configs/fedora/generic/x86/x86_64/CONFIG_CRYPTO_CURVE25519_X86
+++ b/redhat/configs/common/generic/x86/x86_64/CONFIG_CRYPTO_CURVE25519_X86
diff a/redhat/configs/fedora/generic/CONFIG_CRYPTO_LIB_BLAKE2S 
b/redhat/configs/fedora/generic/CONFIG_CRYPTO_LIB_BLAKE2S
--- a/redhat/configs/fedora/generic/CONFIG_CRYPTO_LIB_BLAKE2S
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_CRYPTO_LIB_BLAKE2S=m
diff a/redhat/configs/fedora/generic/CONFIG_CRYPTO_LIB_CURVE25519 
b/redhat/configs/fedora/generic/CONFIG_CRYPTO_LIB_CURVE25519
--- a/redhat/configs/fedora/generic/CONFIG_CRYPTO_LIB_CURVE25519
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_CRYPTO_LIB_CURVE25519=m
diff a/redhat/configs/fedora/generic/CONFIG_WIREGUARD 
b/redhat/configs/fedora/generic/CONFIG_WIREGUARD
--- a/redhat/configs/fedora/generic/CONFIG_WIREGUARD
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_WIREGUARD=m
diff a/redhat/configs/pending-common/generic/CONFIG_CRYPTO_BLAKE2S_X86 
b/redhat/configs/pending-common/generic/CONFIG_CRYPTO_BLAKE2S_X86
--- a/redhat/configs/pending-common/generic/CONFIG_CRYPTO_BLAKE2S_X86
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_CRYPTO_BLAKE2S_X86 is not set
diff a/redhat/configs/pending-common/generic/CONFIG_CRYPTO_CURVE25519_X86 
b/redhat/configs/pending-common/generic/CONFIG_CRYPTO_CURVE25519_X86
--- a/redhat/configs/pending-common/generic/CONFIG_CRYPTO_CURVE25519_X86
+++ 

[OS-BUILD PATCHv2 0/2] configs: enable CONFIG_WIREGUARD

2021-04-07 Thread Hangbin Liu (via Email Bridge)
From: Hangbin Liu on gitlab.com
Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/993

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1613522
Upstream: RHEL only

Enable CONFIG_WIREGUARD as requested in the bugzilla. Configs
CONFIG_CRYPTO_LIB_BLAKE2S, CONFIG_CRYPTO_LIB_CHACHA20POLY1305,
CONFIG_CRYPTO_LIB_CURVE25519 are needed by wireguard.

Remove the fedora specific configs and enable them in common folder.
Do not enable it on zfcpdump as it has "#CONFIG_INET is not set".

Disabling wireguard in FIPS mode will be fixed in another bug.

Signed-off-by: Hangbin Liu 
___
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