Message ID | 20250112010220.21317-2-ryazanov.s.a@gmail.com |
---|---|
State | Superseded |
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@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=AQdCVBE9; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=XP+Ufah1; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4YVxwj1dMJz1yPD for <incoming@patchwork.ozlabs.org>; Sun, 12 Jan 2025 12:03:49 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: 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: List-Owner; bh=6Bat/q6a/UfXsY8u4Vx7o+rYKg1jQp2ZUEekwwSrQE0=; b=AQdCVBE9dGp/s+ 53eI0SVjN/JACgN4TbRzaYOIt2THNdwL85hA/VSe3fMQkSzWFi8eDyJ/gpI/yFSMx/axrswmsq2c5 fziqgH+WZJY5gqCOgnQ69TavBRPJ8EZUnzqwhi3b3ftT7PNHECMSgGxx3qWm5ngxQ9IcQpXhk2bsj V+V9xN7yg/PhoAN4Ob7GS4rM1NApluWfGF+PJROnBp18TA8Aks7qK5WbPVRp6XOR5+hX+x6rasLIK aa9mg2cq/uEjP7TyGBtUonisfe+6np/2DJ7t3mgY7+m+0a8y2V8Qin2BHR5enBqJuhkr3nrTwbvcs WnhjXW7PPSlAXjHt3/iQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tWmNC-00000001oY9-028y; Sun, 12 Jan 2025 01:02:38 +0000 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tWmN9-00000001oX1-20i2 for openwrt-devel@lists.openwrt.org; Sun, 12 Jan 2025 01:02:36 +0000 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-385e27c75f4so2259984f8f.2 for <openwrt-devel@lists.openwrt.org>; Sat, 11 Jan 2025 17:02:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736643754; x=1737248554; darn=lists.openwrt.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=PENSizWca+AV6fo4xU1eGOCnSEWWUUPX60DrTfBOlHE=; b=XP+Ufah1WWh0ayybFnMoAVU8GgCpXQXr1FGCVi2g33fAGwnjKejBsJVzOEpZNliQKJ LQWyd9BEbLTUO5Y7WJES+ojl7RufxOxsrQe7h2U5OP1C1w4fAYojcx1OTWZloIWc/lz8 rVvP8ltU1qwBq2nS4nZ5PZF3uTVKHei718QkQ82ORLWKj6SY3RLdUI0X5a8Q5A6VwhU8 kJlyac3fu9lOODhwh5Y8tRDKLxm7IpdQ2Hsr7FXtuFw8Oah3Pra9Wa7Qw7ucDLr6yyfE 0uy5SSGxrtD+0Ny4Hk4+B+9q7oXeZwjQPGxo9bzDy3yOL0mSI3busZSRkNGGyM4ap5At cP6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736643754; x=1737248554; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PENSizWca+AV6fo4xU1eGOCnSEWWUUPX60DrTfBOlHE=; b=A8g0HRhUuNPPFL6Y65T7OH8npy47ekLGZ5rcu2QFfdfTcgmb7NsFoqKiUceVjc6A38 uh7LTKCMPd0ODYXdx1QTzyfbSKHISnSdNkVuyh0hv+Pxjxqd05eQa3tEpHryXnwRQeHD WVOadZ+usASG/Cef2xBorlCes13ITqMDb0WziSpID9/t363T8S9Th6Vt+vodAj30RELM F/JOLw8TzR5NILEUH+6dOLPVg1W3gMHF4HlK7AfRBCqRAIx2g96ZuIPETrRPvopI07qL FeTBAlgAw3ZCPiDBcOHl2EKdGViFNsqT/3tSCim/B4pHxKrIrsGowzvmJNT634RLZSzY wyuQ== X-Gm-Message-State: AOJu0YxcBstB83Fu4r4J8DxdY5SeNB/7KUJvSXnIUh/rEEUtE5jq/uiX tyuNv3KfRbfDiIUsEepYKT+Ly6Nvs35rs7osermPaEdB4pg3jKGdhE4y0A== X-Gm-Gg: ASbGncsVW5KSMn1fokc1dvZimPGi19ZqeYwk+20TLW/3NiZ1OL7g8Dyqj9c6z81pT8H 7irhxDh6QxQi9K5/CDMnYRBOfr9qTLMlqxemMZCaLEZ9z+vuk/ESiE/hShx0KkCP8YAOgtVWpUE Tb9GG8cdmJWdubh+ek409UINDaS6DwfvlN2bKL0jaidpP6QXSmNZXpyF3tggup/bXi9LNu2S1Ac lren2sux2ePtGoFAfxqDXyAJBFCIie165ERe6F283gyM2lW4Shg/F1Y+iNJnMBqRCzd X-Google-Smtp-Source: AGHT+IEdjMCy4rtiQefyjzIrW+5KsIB3t+FIb2DE602kdx71pOj1VaUsXGd5SuQAL1qU30yo0DFyPA== X-Received: by 2002:adf:b1db:0:b0:38a:2658:bbc7 with SMTP id ffacd0b85a97d-38a8730cef4mr9369615f8f.29.1736643753659; Sat, 11 Jan 2025 17:02:33 -0800 (PST) Received: from localhost.localdomain ([69.6.8.124]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436e9d8fb99sm97996305e9.3.2025.01.11.17.02.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Jan 2025 17:02:33 -0800 (PST) From: Sergey Ryazanov <ryazanov.s.a@gmail.com> To: Daniel Golle <daniel@makrotopia.org> Cc: OpenWrt Development List <openwrt-devel@lists.openwrt.org>, Andre Heider <a.heider@gmail.com>, Jan Hoffmann <jan@3e8.eu>, Martin Schiller <ms.3headeddevs@gmail.com> Subject: [PATCH v2 1/4] kernel: vrx518_tc: fix RX desc phys to virt mapping Date: Sun, 12 Jan 2025 03:02:17 +0200 Message-ID: <20250112010220.21317-2-ryazanov.s.a@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20250112010220.21317-1-ryazanov.s.a@gmail.com> References: <20250112010220.21317-1-ryazanov.s.a@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250111_170235_544261_F6976436 X-CRM114-Status: GOOD ( 16.18 ) X-Spam-Score: -1.1 (-) X-Spam-Report: Spam detection software, running on the system "bombadil.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: It looks like VRX518 returns phys addr of data buffer in the 'data_ptr' field of the RX descriptor and an actual data offset within the buffer in the 'byte_off' field. In order to map the phys address [...] Content analysis details: (-1.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:42c listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -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 -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [ryazanov.s.a(at)gmail.com] 1.0 FREEMAIL_REPLY From and body contain different freemails 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="us-ascii" Content-Transfer-Encoding: 7bit Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org> Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org |
Series |
ipq40xx: fritzbox 7530: fix ADSL/ATM support
|
expand
|
diff --git a/package/kernel/lantiq/vrx518_tc/patches/200-swplat.patch b/package/kernel/lantiq/vrx518_tc/patches/200-swplat.patch index edc97998b7..0d97ec4d5f 100644 --- a/package/kernel/lantiq/vrx518_tc/patches/200-swplat.patch +++ b/package/kernel/lantiq/vrx518_tc/patches/200-swplat.patch @@ -855,7 +855,7 @@ This replaces it by a basic working implementation. - continue; + + // this seems to be a pointer to a DS PKT buffer -+ phyaddr = desc->data_ptr + desc->byte_off; ++ phyaddr = desc->data_ptr; + ptr = plat_mem_virt(phyaddr); + + len = desc->data_len; @@ -871,7 +871,7 @@ This replaces it by a basic working implementation. - ring_idx_inc(rxout, idx); + + dst = skb_put(skb, len); -+ memcpy(dst, ptr, len); ++ memcpy(dst, ptr + desc->byte_off, len); + + priv->tc_ops.recv(g_plat_priv->netdev, skb); +