Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2897825rdb; Fri, 22 Sep 2023 11:17:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEYxnDyHKRdsNQtlhIMQHEi4jN4PI47fOjW3vbhf9bCL4XJ0ccAIwu53RgBOQkGcFPgGKdo X-Received: by 2002:a17:90b:1091:b0:268:ac3:b1f6 with SMTP id gj17-20020a17090b109100b002680ac3b1f6mr452837pjb.24.1695406675348; Fri, 22 Sep 2023 11:17:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695406675; cv=none; d=google.com; s=arc-20160816; b=inp39t598XNOUsZyo1Ib0s07/LgXleN29BNOHOPI4Xhku7weJQo7Mc1X5gZFRKda5l 5mx7tmyxD9RXQsJFnXzD5BH9Gh4OX0CfJPMQGV3BPz//HGqfYdlV1ob0FfTqGJIdABFd tndiHwoYVw4chFhqR0yQz7LM5lOo/SdOa0LLiyTe0XKxeT4AtXLZ9pt9vNxMXjG+NE0U o4yd2rP5L0ytWeO0RXFyyrKqfevKvGy1RpqLwAhvuh6riVF4GbaBHXJJ8eTqEAGyznlb ETdtCAVtFdFrA1TqLvv559/rNDYX/dQ4HLt2IS4WW+YnkmI9yOuLBqsCQqNLEZcPZs2r OMVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=1I3gNmUlZMGbKyjyOXpthLU4hKIFkiFyB/Tjb6zLBfA=; fh=pOCHu4CC7jGMNyy4gjE5E0b3NpuuIEA2OVDg8ciKUV0=; b=UFaBcpEvMeXBaa16HvIxPYz3KI7MsNKoQJBKFgKeyLlBe3RkZB2TuowA8s/tp5QmjP sfe/diHqpPtYR9v9Y9eXUKMRg+5ZG2UU9jKaKizRUY6rXXaHkDI2uKqnIMxw2/yveXaz WJg5l7rhbx6E/ITQnbyj17V1n/0aQQDygJPxyRCkHQC2BRO1IlxcFMqe0+DDxPUl5kCv nWNN3iO4vxSCJY2MQeb2pVcb6acCn7z/pyiSBpMOUqvg1xVOYKLnFt+ynidq65rG8htV Ki9z0JdF27NZVWEyIJktpQEBZSw8wwqwxDRQ153UQqga3rBPO37KdOfC82x8J+kfwWEE bZgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OL3deMoZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id c7-20020a17090ab28700b00268b5d65afcsi6304053pjr.58.2023.09.22.11.17.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 11:17:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OL3deMoZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 4A84C8405332; Fri, 22 Sep 2023 04:44:07 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233792AbjIVLoC (ORCPT + 99 others); Fri, 22 Sep 2023 07:44:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233384AbjIVLoB (ORCPT ); Fri, 22 Sep 2023 07:44:01 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30B40102; Fri, 22 Sep 2023 04:43:53 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-9a648f9d8e3so270672566b.1; Fri, 22 Sep 2023 04:43:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695383031; x=1695987831; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=1I3gNmUlZMGbKyjyOXpthLU4hKIFkiFyB/Tjb6zLBfA=; b=OL3deMoZ6Wl2Q5FwHCv3eZXPpK0Ri4tJq5EVxYMrIHfyt4fXJQMFYGTimVuMuM4PJm o6tVMiPKcbZESdZymIOBToj9xtXCjY7uldAm7T/zEfqjYX/c6Glg5KWOvpVPqiO+AhVg 0hFLGW4g83ETBrxoToora7NHg+Zle5TdNcn3hUt6qkKakzhd05sazER8Yw/DaEYt0du9 r52Uc+b2a1tnPO5QUtBQMrxfrGaLdYtTPdX0wWlZdfgKZQg1g9ai/DKipz2C9DlYVnUD pLWlYUBoZNJUDLUsp3poEVnJTbePuDOXNNORQ0/anIIZ03aHcx+PRCsCEtwXDQ+RG/DE Nckg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695383031; x=1695987831; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=1I3gNmUlZMGbKyjyOXpthLU4hKIFkiFyB/Tjb6zLBfA=; b=aH5SAM0vR7lyRh603/kPJ9/AiZB7RzH4kfZ6Y+Vttxb7a6vraKEaad5+bqqe4c3iF7 t4SFZ5F2mSCttek9/z4Z/B1wYSXUqvBHKo+GYZibvukizMp/fe2SBsvOVGIzr592SVCR Pt6z60DIxO+t/j53ixMPazgEvZ2FUzcEhkaFGNrRNz98SYGgmmR0mkb9xAqb/4kYr/q6 KeF1WvG4+wsLB8FLPiiX2ipiXsfTuXr8RwSat8pYYVLx1oZBjocvIOfG7hAP0A6pKV/w lPF+sYCVUfveQC6TWkB18kySpoDLZDUQ5GKpYvRSmXfbz/H7tutEZL+2S8uCFhrn3QYE yJvQ== X-Gm-Message-State: AOJu0YyMSQPiUjHhOumInYM4NRqUnuzzCOpW9Ld1jTytzd+DB1oZzHDr J0xY8pwd1vlfTp8FZ8WKhY8= X-Received: by 2002:a17:906:109:b0:9aa:e07:d421 with SMTP id 9-20020a170906010900b009aa0e07d421mr7270525eje.43.1695383031474; Fri, 22 Sep 2023 04:43:51 -0700 (PDT) Received: from skbuf ([188.25.255.147]) by smtp.gmail.com with ESMTPSA id f12-20020a1709062c4c00b0099ca4f61a8bsm2618242ejh.92.2023.09.22.04.43.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 04:43:51 -0700 (PDT) Date: Fri, 22 Sep 2023 14:43:48 +0300 From: Vladimir Oltean To: Lukasz Majewski Cc: Tristram.Ha@microchip.com, Eric Dumazet , Andrew Lunn , davem@davemloft.net, Woojung Huh , Oleksij Rempel , Florian Fainelli , Jakub Kicinski , Paolo Abeni , UNGLinuxDriver@microchip.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Vladimir Oltean Subject: Re: [PATCH v5 net-next 5/5] net: dsa: microchip: Enable HSR offloading for KSZ9477 Message-ID: <20230922114348.ivbfcgi7lkmcsymp@skbuf> References: <20230920114343.1979843-1-lukma@denx.de> <20230920114343.1979843-1-lukma@denx.de> <20230920114343.1979843-6-lukma@denx.de> <20230920114343.1979843-6-lukma@denx.de> <20230921193224.l3ojpdcsb4bpfl7d@skbuf> <20230922132904.750688b6@wsk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230922132904.750688b6@wsk> X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Fri, 22 Sep 2023 04:44:07 -0700 (PDT) On Fri, Sep 22, 2023 at 01:29:04PM +0200, Lukasz Majewski wrote: > Unfortunately, yes... > > The code as it is now -> would set for port lan1 0x21 and lan2 0x22. > > However the setup shall be 0x23 for both ports. > > More info here: > https://github.com/Microchip-Ethernet/EVB-KSZ9477/issues/98#issuecomment-1701557449 > > I will setup this register from dev->hsr_ports when both HSR ports are > known. Testing after making changes is key.