diff mbox series

net: macb: Add default usrio config to default gem config

Message ID 20210111195553.3745008-1-atish.patra@wdc.com (mailing list archive)
State Superseded
Delegated to: Netdev Maintainers
Headers show
Series net: macb: Add default usrio config to default gem config | expand

Checks

Context Check Description
netdev/cover_letter success Link
netdev/fixes_present success Link
netdev/patch_count success Link
netdev/tree_selection success Guessed tree name to be net-next
netdev/subject_prefix warning Target tree name not specified in the subject
netdev/cc_maintainers warning 1 maintainers not CCed: andrew@lunn.ch
netdev/source_inline success Was 0 now: 0
netdev/verify_signedoff success Link
netdev/module_param success Was 0 now: 0
netdev/build_32bit success Errors and warnings before: 57 this patch: 57
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/verify_fixes fail Link
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 7 lines checked
netdev/build_allmodconfig_warn success Errors and warnings before: 57 this patch: 57
netdev/header_inline success Link
netdev/stable success Stable not CCed

Commit Message

Atish Patra Jan. 11, 2021, 7:55 p.m. UTC
There is no usrio config defined for default gem config leading to
a kernel panic devices that don't define a data. This issue can be
reprdouced with microchip polar fire soc where compatible string
is defined as "cdns,macb".

Fixes: edac63861db7 ("add userio bits as platform configuration")

Signed-off-by: Atish Patra <atish.patra@wdc.com>
---
 drivers/net/ethernet/cadence/macb_main.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Jakub Kicinski Jan. 11, 2021, 11:13 p.m. UTC | #1
On Mon, 11 Jan 2021 11:55:53 -0800 Atish Patra wrote:
> There is no usrio config defined for default gem config leading to
> a kernel panic devices that don't define a data. This issue can be
> reprdouced with microchip polar fire soc where compatible string
> is defined as "cdns,macb".
> 
> Fixes: edac63861db7 ("add userio bits as platform configuration")
> 
> Signed-off-by: Atish Patra <atish.patra@wdc.com>

Fixes tag needs work:

Fixes tag: Fixes: edac63861db7 ("add userio bits as platform configuration")
Has these problem(s):
	- empty line after the tag
	- Subject does not match target commit subject
	  Just use
		git log -1 --format='Fixes: %h ("%s")'

Please put [PATCH net] as subject prefix, to indicate this 
is a networking fix.

You can also CC Andrew Lunn like get_maintainer.pl suggests,
but drop linux-kernel from the CC/To.
Atish Patra Jan. 12, 2021, 1:48 a.m. UTC | #2
On Mon, 2021-01-11 at 15:13 -0800, Jakub Kicinski wrote:
> On Mon, 11 Jan 2021 11:55:53 -0800 Atish Patra wrote:
> > There is no usrio config defined for default gem config leading to
> > a kernel panic devices that don't define a data. This issue can be
> > reprdouced with microchip polar fire soc where compatible string
> > is defined as "cdns,macb".
> > 
> > Fixes: edac63861db7 ("add userio bits as platform configuration")
> > 
> > Signed-off-by: Atish Patra <atish.patra@wdc.com>
> 
> Fixes tag needs work:
> 
> Fixes tag: Fixes: edac63861db7 ("add userio bits as platform
> configuration")
> Has these problem(s):
>         - empty line after the tag
>         - Subject does not match target commit subject
>           Just use
>                 git log -1 --format='Fixes: %h ("%s")'
> 
> Please put [PATCH net] as subject prefix, to indicate this 
> is a networking fix.
> 
> You can also CC Andrew Lunn like get_maintainer.pl suggests,
> but drop linux-kernel from the CC/To.

Done. Thanks for the feedback.
diff mbox series

Patch

diff --git a/drivers/net/ethernet/cadence/macb_main.c b/drivers/net/ethernet/cadence/macb_main.c
index 814a5b10141d..47ee72ab7002 100644
--- a/drivers/net/ethernet/cadence/macb_main.c
+++ b/drivers/net/ethernet/cadence/macb_main.c
@@ -4590,6 +4590,7 @@  static const struct macb_config default_gem_config = {
 	.dma_burst_length = 16,
 	.clk_init = macb_clk_init,
 	.init = macb_init,
+	.usrio = &macb_default_usrio,
 	.jumbo_max_len = 10240,
 };