diff mbox series

[net] fbnic: Change kconfig prompt from S390=n to !S390

Message ID 172192698293.1903337.4255690118685300353.stgit@ahduyck-xeon-server.home.arpa (mailing list archive)
State Accepted
Commit 697943657444a7d7123b47bc32019e62533f4863
Delegated to: Netdev Maintainers
Headers show
Series [net] fbnic: Change kconfig prompt from S390=n to !S390 | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net
netdev/ynl success Generated files up to date; no warnings/errors; no diff in generated;
netdev/fixes_present fail Series targets non-next tree, but doesn't contain any Fixes tags
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 273 this patch: 273
netdev/build_tools success No tools touched, skip
netdev/cc_maintainers warning 1 maintainers not CCed: edumazet@google.com
netdev/build_clang success Errors and warnings before: 282 this patch: 282
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 287 this patch: 287
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 8 lines checked
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0
netdev/contest success net-next-2024-07-26--15-00 (tests: 707)

Commit Message

Alexander Duyck July 25, 2024, 5:03 p.m. UTC
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(-)

Comments

Joe Damato July 25, 2024, 5:17 p.m. UTC | #1
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>
Alexander Duyck July 25, 2024, 11:03 p.m. UTC | #2
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
Joe Damato July 26, 2024, 5:47 p.m. UTC | #3
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
Jakub Kicinski July 27, 2024, 1:27 a.m. UTC | #4
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.
patchwork-bot+netdevbpf@kernel.org July 27, 2024, 1:30 a.m. UTC | #5
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!
diff mbox series

Patch

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