* [net PATCH] fbnic: Change kconfig prompt from S390=n to !S390
@ 2024-07-25 17:03 Alexander Duyck
2024-07-25 17:17 ` Joe Damato
2024-07-27 1:30 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 6+ messages in thread
From: Alexander Duyck @ 2024-07-25 17:03 UTC (permalink / raw)
To: netdev; +Cc: kuba, davem, pabeni, kernel-team
From: Alexander Duyck <alexanderduyck@fb.com>
In testing the recent kernel I found that the fbnic driver couldn't be
enabled on x86_64 builds. A bit of digging showed that the fbnic driver was
the only one to check for S390 to be n, all others had checked for !S390.
Since it is a boolean and not a tristate I am not sure it will be N. So
just update it to use the !S390 flag.
A quick check via "make menuconfig" verified that after making this change
there was an option to select the fbnic driver.
Signed-off-by: Alexander Duyck <alexanderduyck@fb.com>
---
drivers/net/ethernet/meta/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/meta/Kconfig b/drivers/net/ethernet/meta/Kconfig
index 86034ea4ba5b..c002ede36402 100644
--- a/drivers/net/ethernet/meta/Kconfig
+++ b/drivers/net/ethernet/meta/Kconfig
@@ -20,7 +20,7 @@ if NET_VENDOR_META
config FBNIC
tristate "Meta Platforms Host Network Interface"
depends on X86_64 || COMPILE_TEST
- depends on S390=n
+ depends on !S390
depends on MAX_SKB_FRAGS < 22
depends on PCI_MSI
select PHYLINK
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [net PATCH] fbnic: Change kconfig prompt from S390=n to !S390
2024-07-25 17:03 [net PATCH] fbnic: Change kconfig prompt from S390=n to !S390 Alexander Duyck
@ 2024-07-25 17:17 ` Joe Damato
2024-07-25 23:03 ` Alexander Duyck
2024-07-27 1:30 ` patchwork-bot+netdevbpf
1 sibling, 1 reply; 6+ messages in thread
From: Joe Damato @ 2024-07-25 17:17 UTC (permalink / raw)
To: Alexander Duyck; +Cc: netdev, kuba, davem, pabeni, kernel-team
On Thu, Jul 25, 2024 at 10:03:54AM -0700, Alexander Duyck wrote:
> From: Alexander Duyck <alexanderduyck@fb.com>
>
> In testing the recent kernel I found that the fbnic driver couldn't be
> enabled on x86_64 builds. A bit of digging showed that the fbnic driver was
> the only one to check for S390 to be n, all others had checked for !S390.
> Since it is a boolean and not a tristate I am not sure it will be N. So
> just update it to use the !S390 flag.
>
> A quick check via "make menuconfig" verified that after making this change
> there was an option to select the fbnic driver.
>
> Signed-off-by: Alexander Duyck <alexanderduyck@fb.com>
[...]
This seems fine to me (and matches other drivers as you mentioned),
but does it need:
Fixes 0e03c643dc93 ("eth: fbnic: fix s390 build.")
for it be applied to net?
In either case:
Reviewed-by: Joe Damato <jdamato@fastly.com>
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [net PATCH] fbnic: Change kconfig prompt from S390=n to !S390
2024-07-25 17:17 ` Joe Damato
@ 2024-07-25 23:03 ` Alexander Duyck
2024-07-26 17:47 ` Joe Damato
0 siblings, 1 reply; 6+ messages in thread
From: Alexander Duyck @ 2024-07-25 23:03 UTC (permalink / raw)
To: Joe Damato, Alexander Duyck, netdev, kuba, davem, pabeni,
kernel-team
On Thu, Jul 25, 2024 at 10:17 AM Joe Damato <jdamato@fastly.com> wrote:
>
> On Thu, Jul 25, 2024 at 10:03:54AM -0700, Alexander Duyck wrote:
> > From: Alexander Duyck <alexanderduyck@fb.com>
> >
> > In testing the recent kernel I found that the fbnic driver couldn't be
> > enabled on x86_64 builds. A bit of digging showed that the fbnic driver was
> > the only one to check for S390 to be n, all others had checked for !S390.
> > Since it is a boolean and not a tristate I am not sure it will be N. So
> > just update it to use the !S390 flag.
> >
> > A quick check via "make menuconfig" verified that after making this change
> > there was an option to select the fbnic driver.
> >
> > Signed-off-by: Alexander Duyck <alexanderduyck@fb.com>
>
> [...]
>
> This seems fine to me (and matches other drivers as you mentioned),
> but does it need:
>
> Fixes 0e03c643dc93 ("eth: fbnic: fix s390 build.")
>
> for it be applied to net?
>
> In either case:
>
> Reviewed-by: Joe Damato <jdamato@fastly.com>
I will add it and resubmit if/when the patch is dropped from the
patchwork queue.
It has been a while since I submitted anything to the net queue and
previously I don't recall needing to bother with that unless it
required backports to stable kernels which then also required Ccing
stable.
Thanks,
- Alex
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [net PATCH] fbnic: Change kconfig prompt from S390=n to !S390
2024-07-25 23:03 ` Alexander Duyck
@ 2024-07-26 17:47 ` Joe Damato
2024-07-27 1:27 ` Jakub Kicinski
0 siblings, 1 reply; 6+ messages in thread
From: Joe Damato @ 2024-07-26 17:47 UTC (permalink / raw)
To: Alexander Duyck; +Cc: netdev, kuba, davem, pabeni, kernel-team
On Thu, Jul 25, 2024 at 04:03:30PM -0700, Alexander Duyck wrote:
> On Thu, Jul 25, 2024 at 10:17 AM Joe Damato <jdamato@fastly.com> wrote:
> >
> > On Thu, Jul 25, 2024 at 10:03:54AM -0700, Alexander Duyck wrote:
> > > From: Alexander Duyck <alexanderduyck@fb.com>
> > >
> > > In testing the recent kernel I found that the fbnic driver couldn't be
> > > enabled on x86_64 builds. A bit of digging showed that the fbnic driver was
> > > the only one to check for S390 to be n, all others had checked for !S390.
> > > Since it is a boolean and not a tristate I am not sure it will be N. So
> > > just update it to use the !S390 flag.
> > >
> > > A quick check via "make menuconfig" verified that after making this change
> > > there was an option to select the fbnic driver.
> > >
> > > Signed-off-by: Alexander Duyck <alexanderduyck@fb.com>
> >
> > [...]
> >
> > This seems fine to me (and matches other drivers as you mentioned),
> > but does it need:
> >
> > Fixes 0e03c643dc93 ("eth: fbnic: fix s390 build.")
> >
> > for it be applied to net?
> >
> > In either case:
> >
> > Reviewed-by: Joe Damato <jdamato@fastly.com>
>
> I will add it and resubmit if/when the patch is dropped from the
> patchwork queue.
Sure; makes sense. I honestly have no idea -- I think maybe Kconfig
and docs are special cases or something? Just suggested the Fixes to
be helpful :)
- Joe
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [net PATCH] fbnic: Change kconfig prompt from S390=n to !S390
2024-07-26 17:47 ` Joe Damato
@ 2024-07-27 1:27 ` Jakub Kicinski
0 siblings, 0 replies; 6+ messages in thread
From: Jakub Kicinski @ 2024-07-27 1:27 UTC (permalink / raw)
To: Joe Damato; +Cc: Alexander Duyck, netdev, davem, pabeni, kernel-team
On Fri, 26 Jul 2024 10:47:08 -0700 Joe Damato wrote:
> > I will add it and resubmit if/when the patch is dropped from the
> > patchwork queue.
>
> Sure; makes sense. I honestly have no idea -- I think maybe Kconfig
> and docs are special cases or something? Just suggested the Fixes to
> be helpful :)
The driver is unusable without this patch, so I'd say it's a fix and
needs a Fixes tag. Since the ML traffic is low I'll just add it
manually when applying.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [net PATCH] fbnic: Change kconfig prompt from S390=n to !S390
2024-07-25 17:03 [net PATCH] fbnic: Change kconfig prompt from S390=n to !S390 Alexander Duyck
2024-07-25 17:17 ` Joe Damato
@ 2024-07-27 1:30 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 6+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-07-27 1:30 UTC (permalink / raw)
To: Alexander Duyck; +Cc: netdev, kuba, davem, pabeni, kernel-team
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Thu, 25 Jul 2024 10:03:54 -0700 you wrote:
> From: Alexander Duyck <alexanderduyck@fb.com>
>
> In testing the recent kernel I found that the fbnic driver couldn't be
> enabled on x86_64 builds. A bit of digging showed that the fbnic driver was
> the only one to check for S390 to be n, all others had checked for !S390.
> Since it is a boolean and not a tristate I am not sure it will be N. So
> just update it to use the !S390 flag.
>
> [...]
Here is the summary with links:
- [net] fbnic: Change kconfig prompt from S390=n to !S390
https://git.kernel.org/netdev/net/c/697943657444
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-07-27 1:30 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-25 17:03 [net PATCH] fbnic: Change kconfig prompt from S390=n to !S390 Alexander Duyck
2024-07-25 17:17 ` Joe Damato
2024-07-25 23:03 ` Alexander Duyck
2024-07-26 17:47 ` Joe Damato
2024-07-27 1:27 ` Jakub Kicinski
2024-07-27 1:30 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox