Message ID | 20210112014728.3788473-1-atish.patra@wdc.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net,v2] net: macb: Add default usrio config to default gem config | expand |
Context | Check | Description |
---|---|---|
netdev/cover_letter | success | Link |
netdev/fixes_present | success | Link |
netdev/patch_count | success | Link |
netdev/tree_selection | success | Clearly marked for net |
netdev/subject_prefix | success | Link |
netdev/cc_maintainers | success | CCed 6 of 6 maintainers |
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 |
On 12/01/2021 at 02:47, 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 > reproduced with microchip polar fire soc where compatible string > is defined as "cdns,macb". > > Fixes: edac63861db7 ("net: macb: Add default usrio config to default gem config") > Signed-off-by: Atish Patra <atish.patra@wdc.com> Indeed. Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Thanks! Best regards, Nicolas > --- > Changes from v1->v2: > 1. Fixed that fixes tag. > --- > drivers/net/ethernet/cadence/macb_main.c | 1 + > 1 file changed, 1 insertion(+) > > 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, > }; > > -- > 2.25.1 >
On Mon, 11 Jan 2021 17:47:28 -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 ("net: macb: Add default usrio config to default gem config") > Signed-off-by: Atish Patra <atish.patra@wdc.com> > --- > Changes from v1->v2: > 1. Fixed that fixes tag. Still needs a little bit of work: Fixes tag: Fixes: edac63861db7 ("net: macb: Add default usrio config to default gem config") Has these problem(s): - Subject does not match target commit subject Just use git log -1 --format='Fixes: %h ("%s")' Please make sure to keep Nic's Ack when reposting.
On Tue, 2021-01-12 at 18:11 -0800, Jakub Kicinski wrote: > On Mon, 11 Jan 2021 17:47:28 -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 ("net: macb: Add default usrio config to > > default gem config") > > Signed-off-by: Atish Patra <atish.patra@wdc.com> > > --- > > Changes from v1->v2: > > 1. Fixed that fixes tag. > > Still needs a little bit of work: > > Fixes tag: Fixes: edac63861db7 ("net: macb: Add default usrio config > to default gem config") I am so sorry about this. I managed screw up my script to add Fixes tag twice in a row :(. > Has these problem(s): > - Subject does not match target commit subject > Just use > git log -1 --format='Fixes: %h ("%s")' > > > Please make sure to keep Nic's Ack when reposting. Absolutely. Apologies again for the noise for this small fix.
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, };
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 ("net: macb: Add default usrio config to default gem config") Signed-off-by: Atish Patra <atish.patra@wdc.com> --- Changes from v1->v2: 1. Fixed that fixes tag. --- drivers/net/ethernet/cadence/macb_main.c | 1 + 1 file changed, 1 insertion(+)