Message ID | 20210507043603.12335-1-dqfext@gmail.com |
---|---|
State | Accepted |
Delegated to: | Hauke Mehrtens |
Headers | show
Return-Path: <openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=ZzgyOxcj; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=XsFKDyYt; dkim-atps=neutral Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FbyPV5d77z9sVb for <incoming@patchwork.ozlabs.org>; Fri, 7 May 2021 14:38:20 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Hm9AY5gkTPgPf/IkHjpv/CeER9bnw9nttNsWM0xd2Zo=; b=ZzgyOxcjhHynZ7CAViY8C5Ue8I rxcteSlMiqJLvOiCFoQJ1vqaHf+bOPDOjyEjYngdWmtFEflIHNSfr5c0B6qZz3jTuq6FG75hH+S+Y 6xb70hT76gA6ys6z1C9ovisqmzUgtrN2akbhl9zEbV4G35Yqn3rGTWbz+fpYRNQJOkV3KHS3IIUib h9bTpAE/ojgpAxN51/SMOUcz52u1UokqdBZlKl8g+qmMdbu016AEyuTZQIq1wV9U7LvTwoT+GCPz5 R1wq2UPW8uWXvieBzSBOeV4sEsi76VCapRR/71bNWz2OI0iTZvanzw894hqKbibQsqyHW9aXIX0KK LmzJO2Jw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lesDo-0065qH-Cp; Fri, 07 May 2021 04:36:16 +0000 Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lesDj-0065pd-IF for openwrt-devel@lists.openwrt.org; Fri, 07 May 2021 04:36:14 +0000 Received: by mail-pg1-x52d.google.com with SMTP id z16so6320850pga.1 for <openwrt-devel@lists.openwrt.org>; Thu, 06 May 2021 21:36:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XP0UjITQUs47qZvdu0gXuWkrPj8dcf/jPy1oxOsjE48=; b=XsFKDyYtI9NiDsjSnaUGcuY6mAGcWdn7eYeQO8BJP7pXk5pX1f9nXJIZR0IAOMvjcv DsmN6qRGM8sWonxEp2Fxiz3hn5oY9mqNNvUFSosuyZbFo0ASAGWa7i1bgIUq3Dzri0qc GYaGf4GTFV0RYt4HUpUutHVvtXRDYulUqSB5vEYPf2pvZYBm+yrbDkfolfVMwVB/s7pE x7Mx20dUAnkennv7Rs3akPMoXbM5aT9rtpKamJzwSW8WeelLFfJP7gTYP9o2Gwtie8+e c0hDJ61FnzkZ6K4I7qIs4EevvReS9ZP79D0/moxr0Ea7t+uSqAPn4ypEWP6j4E5PjsEM B3BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XP0UjITQUs47qZvdu0gXuWkrPj8dcf/jPy1oxOsjE48=; b=EuW5bOh5hWYZZLYkfwlsqoKhSXjMAqEGcQwswTRB2MPRMX1lg4zrJrRR/bOVy0jKVP uFTOYeox3Okp47CLUb1p3FJx3w30TP0Eob+i6xpSpOkpqGt2zTKe6YHYaYLntQV+QR6y hSNFkL1kYDBCwFCkXUshp+/+SDQdm6nTBXfsRndsFuNFEttHI4Ix+nHz1p8sz9Ykhs0J oJ83cJhl4O4SwHRbtXc3g7ebVBvcjQmQqvjyb6x3O8vgdY3PRDs0rJZSwxDlr6Q5VdaP wsucqXu12fXJCJswD2ysy/cNyulNNmpo2/7S57DG+ZS4u18ElrL+m/YUjKR9mNxe4Wtb WgTA== X-Gm-Message-State: AOAM533ZoFYg0Gx29CD6Gg4Wo9F7omu0OEDDrX9DDKnymu7gd5Va39E6 pZCEKSms/7Qic6vftNbNHPmm4GgJJtSPfN2f X-Google-Smtp-Source: ABdhPJwsyKHc+/XYA9BA5wrgfAcIVwPrNovpxKrzbPpQzL+VPHmcZWZVxNefNBEJ7eu4bHyYwZ3DdQ== X-Received: by 2002:a63:10:: with SMTP id 16mr8072043pga.143.1620362168775; Thu, 06 May 2021 21:36:08 -0700 (PDT) Received: from localhost.localdomain ([138.197.212.246]) by smtp.gmail.com with ESMTPSA id j24sm3201480pjy.1.2021.05.06.21.36.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 May 2021 21:36:08 -0700 (PDT) From: DENG Qingfang <dqfext@gmail.com> To: openwrt-devel@lists.openwrt.org Cc: =?utf-8?q?Ren=C3=A9_van_Dorst?= <opensource@vdorst.com> Subject: [PATCH] generic: mt7530: fix EEE patch Date: Fri, 7 May 2021 12:36:03 +0800 Message-Id: <20210507043603.12335-1-dqfext@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210507_053612_313712_4284601E X-CRM114-Status: UNSURE ( 9.37 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "desiato.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The higher 16-bit of EEE register was overwritten by mistake, fix that. Fixes: 5b9ba4a93e83 ("generic: mt7530: support adjusting EEE") Signed-off-by: DENG Qingfang --- .../pending-5.4/761-net-dsa-mt7530-Support-EEE-features.patch | 2 +- 1 file changed, 1 insertion(+), 1 [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:52d listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [dqfext[at]gmail.com] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List <openwrt-devel.lists.openwrt.org> List-Unsubscribe: <https://lists.openwrt.org/mailman/options/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe> List-Archive: <http://lists.openwrt.org/pipermail/openwrt-devel/> List-Post: <mailto:openwrt-devel@lists.openwrt.org> List-Help: <mailto:openwrt-devel-request@lists.openwrt.org?subject=help> List-Subscribe: <https://lists.openwrt.org/mailman/listinfo/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org> Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org |
Series |
generic: mt7530: fix EEE patch
|
expand
|
diff --git a/target/linux/generic/pending-5.4/761-net-dsa-mt7530-Support-EEE-features.patch b/target/linux/generic/pending-5.4/761-net-dsa-mt7530-Support-EEE-features.patch index b9ca691f6f..0fd4151ad0 100644 --- a/target/linux/generic/pending-5.4/761-net-dsa-mt7530-Support-EEE-features.patch +++ b/target/linux/generic/pending-5.4/761-net-dsa-mt7530-Support-EEE-features.patch @@ -66,7 +66,7 @@ Signed-off-by: René van Dorst <opensource@vdorst.com> + eeecr &= 0xFFFF0000; + if (!e->tx_lpi_enabled) + eeecr |= LPI_MODE_EN; -+ eeecr = LPI_THRESH(e->tx_lpi_timer); ++ eeecr |= LPI_THRESH(e->tx_lpi_timer); + mt7530_write(priv, MT7530_PMEEECR_P(port), eeecr); + } else { + priv->eee_enable &= ~(BIT(port));
The higher 16-bit of EEE register was overwritten by mistake, fix that. Fixes: 5b9ba4a93e83 ("generic: mt7530: support adjusting EEE") Signed-off-by: DENG Qingfang <dqfext@gmail.com> --- .../pending-5.4/761-net-dsa-mt7530-Support-EEE-features.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)