Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5263347rwp; Mon, 17 Jul 2023 00:19:30 -0700 (PDT) X-Google-Smtp-Source: APBJJlEcrV/ATErWTBDz3nNX+hLprjAdxCn0cV86vPmN27e7rnjEe3/WOsmzrXYCpvBHtmfH+D2b X-Received: by 2002:a17:907:9197:b0:961:be96:b0e7 with SMTP id bp23-20020a170907919700b00961be96b0e7mr10175444ejb.48.1689578370384; Mon, 17 Jul 2023 00:19:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689578370; cv=none; d=google.com; s=arc-20160816; b=O55CYjO5zr7Z2wUmmYQ6M6/R6u8R4fkraLmmK3itENbjPOKjmJ/Md+Pin0JQwW+yx8 tDEInDG1dIu6mcH2UB4jOuu+XOfyRCT2WJoK0FOyFzBvl9zU13FmKyQ86h5iTfhmRs8f gQcL7CPkqFe5rxzw7cyhEUmvu8m+9Fr+2W+Bcn9HPoZcZ5mdCHWJU/4M7GqQntXz+VFo mwwAQ+1bL1GfIjEwpgFdXRjmTU7pkcepU8JhiKz1e9hSIQ+jWrYfUNEyeoGHjNPy4Dq8 sB7K9IYmRnZfeXeAUSK85d1LG4I7renk8sLcEf+dJdHwsRP4O8KYvuIx03yRQU09CKOh lOQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=/NBwWdkTsqHKjajhtDMY19UtYeylQHVAaH09iW3mbNI=; fh=K79GrDCVlBMy0GeTOitQRUpVRFRaIOyfn8Rtw6V1GeQ=; b=PG7gbLuGaKAHvIqDHLhp+KczpWTol+pRddfeep3Yhsi2SioWuWF4+ETVPBWGvxO/vm pI9IwAAOFj9RNkeHS8WnoPQsLWWKXoxPXWUlKEUJXTBmdEL0l5Er/ZLz02BrgtEt/2Up zL4+WzuwUSl4cx7jEMNeEckI3buXZyGacIKLZOS7deNHYlnNWpSpuwSb2zMWJOgeI+2e sX+8YqpLHELITmSy4AxmNEV/l7KZ1rrNA4s52GZrDTKhbk2k0n/C5aX67u3eCaho+Cic qHCOtL9eKsGaDljTv6vhPJBunaDGVhUgTam4RwuGc/EQWoiY5tj2y8Vo/BNDKfGjKoIj Vvjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RYd2oxHk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t27-20020a1709063e5b00b0098f99532db4si12874557eji.664.2023.07.17.00.19.06; Mon, 17 Jul 2023 00:19:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RYd2oxHk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229796AbjGQGu0 (ORCPT + 99 others); Mon, 17 Jul 2023 02:50:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229883AbjGQGuX (ORCPT ); Mon, 17 Jul 2023 02:50:23 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2C87E41 for ; Sun, 16 Jul 2023 23:50:20 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 03F3160F6E for ; Mon, 17 Jul 2023 06:50:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 5CB6AC433C9; Mon, 17 Jul 2023 06:50:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689576619; bh=xxR4b48SYorrV6cf6YRJcpNX4D/WfbVD+dQx1ktaGk0=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=RYd2oxHk/b/qhhUu7JqwrkPuxeTbEQxlrDhpkww3kwvnrIbMJnIEICYUFrGQeBpVA d7b4JD32U/XgMOqLUgmXrBsKtIsQkg/ZVehm2Yg/vmX2Y7h/fW2V4AlUyQaVhaDtB3 eI661a2ranMhiakPOc9NL0iuCM3mImBIvjSlptV22GwiYarXSKgzwGkOMdqS6NGwJe mlJ/Fx8CSqmGWJYK1KXQccZMMWo428fK/T0tcezO81HUt6paC6wpvl3ir8jZbAB9qz zdDpf7ix/BiKAXCrhJ0yEoqyxT8vu2L2vUg9884hdYkVvILxG5ytYMsS8bt3Eq7MVH Zdtxr098emB/A== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 423A2C561EE; Mon, 17 Jul 2023 06:50:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2 net] net: dsa: microchip: correct KSZ8795 static MAC table access From: patchwork-bot+netdevbpf@kernel.org Message-Id: <168957661926.28493.6331448129276612171.git-patchwork-notify@kernel.org> Date: Mon, 17 Jul 2023 06:50:19 +0000 References: <1689295582-2726-1-git-send-email-Tristram.Ha@microchip.com> In-Reply-To: <1689295582-2726-1-git-send-email-Tristram.Ha@microchip.com> To: Cc: m.grzeschik@pengutronix.de, o.rempel@pengutronix.de, woojung.huh@microchip.com, andrew@lunn.ch, f.fainelli@gmail.com, olteanv@gmail.com, netdev@vger.kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linux-kernel@vger.kernel.org, UNGLinuxDriver@microchip.com X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (main) by David S. Miller : On Thu, 13 Jul 2023 17:46:22 -0700 you wrote: > From: Tristram Ha > > The KSZ8795 driver code was modified to use on KSZ8863/73, which has > different register definitions. Some of the new KSZ8795 register > information are wrong compared to previous code. > > KSZ8795 also behaves differently in that the STATIC_MAC_TABLE_USE_FID > and STATIC_MAC_TABLE_FID bits are off by 1 when doing MAC table reading > than writing. To compensate that a special code was added to shift the > register value by 1 before applying those bits. This is wrong when the > code is running on KSZ8863, so this special code is only executed when > KSZ8795 is detected. > > [...] Here is the summary with links: - [v2,net] net: dsa: microchip: correct KSZ8795 static MAC table access https://git.kernel.org/netdev/net/c/4bdf79d686b4 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html