netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yongqin Liu <yongqin.liu@linaro.org>
To: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
Cc: kuba@kernel.org, davem@davemloft.net, edumazet@google.com,
	 inventor500@vivaldi.net, jarkko.palviainen@gmail.com,
	 linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org,
	 netdev@vger.kernel.org, pabeni@redhat.com,
	stable@vger.kernel.org,  vadim.fedorenko@linux.dev,
	Sumit Semwal <sumit.semwal@linaro.org>,
	 John Stultz <jstultz@google.com>,
	Viktor Martensson <vmartensson@google.com>,
	 Amit Pundir <amit.pundir@linaro.org>
Subject: Re: [PATCH v2] net: usb: ax88179_178a: avoid writing the mac address before first reading
Date: Wed, 8 May 2024 13:42:36 +0800	[thread overview]
Message-ID: <CAMSo37UN11V8UeDM4cyD+iXyRR1Us53a00e34wTy+zP6vx935A@mail.gmail.com> (raw)
In-Reply-To: <20240430160057.557295-1-jtornosm@redhat.com>

Hi, Jose

On Wed, 1 May 2024 at 00:01, Jose Ignacio Tornos Martinez
<jtornosm@redhat.com> wrote:
>
> > v6.8.8 has 56f78615b already. We need another patch, Jose?
>
> Hello Jakub,
>
> I will try to analyze it during the next week (I will be out until then).
>

Not sure if you have checked it already, this commit causes an issue for the
db845c + ACK android15-6.6[1] + AOSP main Android configuration, the
ethernet does not work,
there is no ip address assigned, like:
    db845c:/ # ifconfig eth0
    eth0      Link encap:Ethernet  HWaddr 02:00:89:7a:fb:61  Driver ax88179_178a
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 TX bytes:0

    db845c:/ #
if I have this change reverted, then it will work again:
    db845c:/ # ifconfig eth0
    eth0      Link encap:Ethernet  HWaddr 02:00:89:7a:fb:61  Driver ax88179_178a
              inet addr:192.168.1.10  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: 240e:305:2c88:4700:4b6d:926d:1592:fc5e/64
Scope: Global
              inet6 addr: 240e:305:2c88:4700:edc9:86ec:7c5e:b028/64
Scope: Global
              inet6 addr: fe80::32ce:8a2e:269d:e53f/64 Scope: Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:966 errors:0 dropped:33 overruns:0 frame:0
              TX packets:475 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:51193 TX bytes:39472

    db845c:/ #

One thing to be noted here is that, during the boot, the MAC address
will be reassigned
to make sure each board has its own unique MAC address with the
following commands:
    /vendor/bin/ifconfig eth0 down
    /vendor/bin/ifconfig eth0 hw ether "${ETHADDR}"
    /vendor/bin/ifconfig eth0 up


Could you please help have a check and fix or give some suggestions on
this issue?

[1]: https://android.googlesource.com/kernel/common/+/refs/heads/android15-6.6
-- 
Best Regards,
Yongqin Liu
---------------------------------------------------------------
#mailing list
linaro-android@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-android

  reply	other threads:[~2024-05-08  5:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-29 23:16 [PATCH v2] net: usb: ax88179_178a: avoid writing the mac address before first reading Isaac Ganoung
2024-04-30 15:27 ` Jakub Kicinski
2024-04-30 16:00   ` Jose Ignacio Tornos Martinez
2024-05-08  5:42     ` Yongqin Liu [this message]
2024-05-08  7:56       ` Jose Ignacio Tornos Martinez
2024-05-08 10:41         ` Yongqin Liu
2024-05-14  6:29           ` Yongqin Liu
2024-05-14  7:00             ` Jose Ignacio Tornos Martinez
2024-05-14  9:14               ` Yongqin Liu
2024-05-23  4:17                 ` Yongqin Liu
  -- strict thread matches above, loose matches on Subject: below --
2024-05-09 21:09 Jeffery Miller
2024-05-10  6:08 ` Jose Ignacio Tornos Martinez
2024-05-23 22:27   ` Jeffery Miller
2024-04-17  8:55 Jose Ignacio Tornos Martinez
2024-04-18 17:00 ` patchwork-bot+netdevbpf

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=CAMSo37UN11V8UeDM4cyD+iXyRR1Us53a00e34wTy+zP6vx935A@mail.gmail.com \
    --to=yongqin.liu@linaro.org \
    --cc=amit.pundir@linaro.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=inventor500@vivaldi.net \
    --cc=jarkko.palviainen@gmail.com \
    --cc=jstultz@google.com \
    --cc=jtornosm@redhat.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=stable@vger.kernel.org \
    --cc=sumit.semwal@linaro.org \
    --cc=vadim.fedorenko@linux.dev \
    --cc=vmartensson@google.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).