All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolas Ferre <nicolas.ferre@microchip.com>
To: Atish Patra <atish.patra@wdc.com>, <netdev@vger.kernel.org>
Cc: Claudiu Beznea <claudiu.beznea@microchip.com>,
	"David S. Miller" <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>, Andrew Lunn <andrew@lunn.ch>
Subject: Re: [PATCH net v2] net: macb: Add default usrio config to default gem config
Date: Tue, 12 Jan 2021 09:02:06 +0100	[thread overview]
Message-ID: <3e611151-7fd4-bfb7-91ad-76245bf7cdb1@microchip.com> (raw)
In-Reply-To: <20210112014728.3788473-1-atish.patra@wdc.com>

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
> 


-- 
Nicolas Ferre

  reply	other threads:[~2021-01-12  8:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-12  1:47 [PATCH net v2] net: macb: Add default usrio config to default gem config Atish Patra
2021-01-12  8:02 ` Nicolas Ferre [this message]
2021-01-13  2:11 ` Jakub Kicinski
2021-01-13  2:35   ` Atish Patra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3e611151-7fd4-bfb7-91ad-76245bf7cdb1@microchip.com \
    --to=nicolas.ferre@microchip.com \
    --cc=andrew@lunn.ch \
    --cc=atish.patra@wdc.com \
    --cc=claudiu.beznea@microchip.com \
    --cc=davem@davemloft.net \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.