Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp785036lqb; Fri, 24 May 2024 13:08:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXxSTGo3iDAsN8fyPps/ytMiJRpitO4zqXTmLz5w0GYe2SFJCjK4WXIQY9ZH/Ckc+mHPu9wmLfG8HMkm56JGM3j0UUNmteBj1+sJXrI2g== X-Google-Smtp-Source: AGHT+IHUDs1HGhTY9EFyQnO6GHRStKXNBvUbj/FzBvH6z5IQEzrBjjA761oRhKuGd8c1SggixAO2 X-Received: by 2002:a17:906:e09a:b0:a59:a2f0:ee51 with SMTP id a640c23a62f3a-a62651199f1mr317427266b.54.1716581316450; Fri, 24 May 2024 13:08:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716581316; cv=pass; d=google.com; s=arc-20160816; b=0dA33X/+s1CrxFCHSr/iDbI2oUCDpl8E92JiLEFONp5FT2udulx60rlcwI9UBSPHWp qnT2NO3fnYtRCMhhdn7VBDBvRJqgl3sA9HE389Rr9G2G4l47m6MEkJ7+D7tN1j9iXHlo HqGWUfjSRhwMgtSxlJPrt31PaL9R9YwV7OC8eB6LK8Jtt0+zO3f43Cg53uxZEMchqh6p ERvNcWeW1iBJ3xT5YpPLP/JQ4JZ+FD4C/RdDy6usvHW8lc9sHeEWVg3+NAZtE39inLO+ PBwX9wfHM0ooetRF9zVKFL79hFIAJchQW0r3ABMp4tQHKwD2SZdqpceMXYitOlHuvAIF Y41Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=eCIWhXYa2p87CDvkJmySfb+8QTD7UAzsT7978LLc4BA=; fh=2o4ijZ8rv8hze/t6fFkJ6NFpemzyVvUm4CJ6y2/ng3s=; b=OHEtWt30T7iUIH0zz5TlD3uRm3SLWC+F6vmifyQInuNozF+rnIsY8bCV2N83DW/P1n 1mV4YXl0dofPKWIO17lD6GsWlRpjB62wVnJJ17DGZIvvXUyGS1VMY4Gp0z3lCTwq3Q9t rmZERvi2tuFhVJvL+J4V1XwAlL764rSaf+g2iNDaAfGf7KsVx/NdoCZcK9wa3hG0J6Q8 uAKtGhU8WhMFsECEUk5Q423pAzB5HRPheSpnFP2gXxu5nVQ08Gdg9RlcH8U/0gMGgAce 6JAmRjY8JLZntRoidGYj4zNJXrhcXvAbg1BFu23C9I8LreeV/VnmZehYKKtC+JuifjX3 aVQw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wzY8fuDX; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-189075-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189075-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a629e73f647si15536566b.837.2024.05.24.13.08.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 13:08:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-189075-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wzY8fuDX; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-189075-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189075-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2CF571F2218F for ; Fri, 24 May 2024 20:08:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 98E1B5F87D; Fri, 24 May 2024 20:08:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="wzY8fuDX" Received: from mail-yw1-f180.google.com (mail-yw1-f180.google.com [209.85.128.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 457E784DF5 for ; Fri, 24 May 2024 20:08:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716581304; cv=none; b=fQTqI7DLjoNXxFhc261fIldyhi4c04VzoUoEWLRjKBdTGWIYJ+mG9IPQvPibF78Vf7Ok8IwwQ7B1s7URb0WFgccCBeirenCy11Y7mfaNrU+vS1kZUTicJs+dZjiMN1CuwENGXgcZhZOL6CGAneShe3Lk3pyQJ59C0unyjtx/Hdg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716581304; c=relaxed/simple; bh=4FcReVOVCS7hYyDzoxRFPQL2lrzw79+DnOI7/JBY7bI=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=OyEvgFQBBy5CbNNQpzT7LCXrbmTC1BgOVRdgLSrlLfZAEB62Lm6sSrUJ4ZTl2UiglQd1quSn5v/h+vMMyNdlW6GINWNx9BbOCyVVK6SOaPQuMWN59UKfGq4VexgPvlCdd1He3TQIR8bMnKbytNwuC/DhYZCvCbwDSbpdqw/jSbA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=wzY8fuDX; arc=none smtp.client-ip=209.85.128.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f180.google.com with SMTP id 00721157ae682-62a082720f0so13553017b3.1 for ; Fri, 24 May 2024 13:08:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716581302; x=1717186102; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=eCIWhXYa2p87CDvkJmySfb+8QTD7UAzsT7978LLc4BA=; b=wzY8fuDXc2MIzqoc41UIfK6/pwnVFMAg/Ga7Jg7yC7gD7f7H50dLYsRddqUn3tgXK5 rcXTUO/hpOywg5M+fsO1s8pcT+bTb+69rKZ27CyG/ijGbqcHxy1Nznow+ksZGN8g+hPw 0xyITZRZi7kiEOSn6cYCdkVNtB2MYuvMRgOpC7yRffDXFHJ++7HSilg30XnRs3Tg67iT XnEWxbSZQRMp9t+BUqILT/ipSn4xnuGL9c/H2CLkuNno966Rf8aP+erDTB7nPDGFG5oB tt8VTlUelt82XcmMMc+4oXZTFe8y2PfxnjZOjbS/2zTKe99R1lrKwrKs8Aukb89fzg+t s4PQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716581302; x=1717186102; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=eCIWhXYa2p87CDvkJmySfb+8QTD7UAzsT7978LLc4BA=; b=jC5Jzvfjh1Se/3P8YXpdxOhIKquO5C82AiHVo0Yl4+96NAw6zsYcf6OBPfIAGUjGvN ar+hwwsma322ubk02V9+hSHSQQDbyig90jfk8dKFKYW5FHM/cQyM1yJlpJFu2NEhz8Qx 26tZTr6cEWKbvwO1KqwW+gRgdYkvK6hR8QpewOporyBpy14ZNUbIWh4i2WZKGPgRHbQx np/DKHnGJWzvbdtxZbUNoKzjlTfH7PEF2GwcWOgNr930FcNeaopGBZBizP40e85RqvMO PsRtqRIdUFHW3wmPz/x3McDQ393cq8LIH6uvM/sHnXa98t1/2kG059SMf9ayf/swvVEC GUdg== X-Forwarded-Encrypted: i=1; AJvYcCXyAbFgGS2DTBiwTSQJds8g5Z/5BKfjfMq56faXSmB6nARuo4ZjzsdbS55rXDGkuEiG9eeiCbBboVwEbVhgSv1zRo2Dl+AqG04iBM0v X-Gm-Message-State: AOJu0YyiTHhfq5ipD48mpZA9yzlX1M4bcEkuPmfVu8UvtHP7U9niVrug OG4aDehBTimMPHQiG33WC5CBnKW57re4wkVW9XGtkGb2z3qduQuX9YSDSAeA4/DxbPkWAcWH33F kDCaXbjuJrj1Xw2RA0eG4Kex0lGQDUPaoxqrcdQ== X-Received: by 2002:a25:6b0d:0:b0:df6:ad25:f5ef with SMTP id 3f1490d57ef6-df77237822bmr3447230276.58.1716581302201; Fri, 24 May 2024 13:08:22 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240523064546.7017-1-jtornosm@redhat.com> In-Reply-To: <20240523064546.7017-1-jtornosm@redhat.com> From: Yongqin Liu Date: Sat, 25 May 2024 04:08:10 +0800 Message-ID: Subject: Re: [PATCH] net: usb: ax88179_178a: fix link status when link is set to down/up To: Jose Ignacio Tornos Martinez Cc: davem@davemloft.net, edumazet@google.com, inventor500@vivaldi.net, kuba@kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, stable@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Hi, Jose On Thu, 23 May 2024 at 14:45, Jose Ignacio Tornos Martinez wrote: > > Hello Yongqin, > > Again, not a lot of information from the logs, but perhaps you coud give me > more information for your scenario. > > Could you try to execute the down interface operation, mac assignment and > the up interface operation from command line? > That works for me. When I tried the down and up operations manually from the command line, it worked. But it only worked after I ran the down and up operations after the boot. It fails to work by default after the boot for both the fresh deployment, and for the later reboot One thing I noticed is that the following message was printed twice "ax88179_178a 2-3:1.0 eth0: ax88179 - Link status is: 1" after I ran the up operation, Is that expected? For details, please check the log here: https://gist.github.com/liuyq/be8f5305d538067a344001f1d35f677b > Maybe some synchronization issue is happening in your boot operation. > Could you provide more information about how/when you are doing the > commented operations to try to reproduce? The scripts are simple, here are the two scripts for Android build: https://android.googlesource.com/device/linaro/dragonboard/+/refs/heads/main/shared/utils/ethaddr/ethaddr.rc https://android.googlesource.com/device/linaro/dragonboard/+/refs/heads/main/shared/utils/ethaddr/set_ethaddr.sh Is the one to run the down/change mac/up operations script. Not sure why the up in the script does not work, but works when run manually. -- Best Regards, Yongqin Liu --------------------------------------------------------------- #mailing list linaro-android@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-android