From patchwork Mon Jan 16 10:04:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rakesh Sankaranarayanan X-Patchwork-Id: 4054 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1112118wrn; Mon, 16 Jan 2023 02:12:31 -0800 (PST) X-Google-Smtp-Source: AMrXdXvAt6MgBXGsQJ8GkK6V4GroD2ZjW0Zkq0E4GTRdN0TXSgHaxqX1bOS3EdMWFcFcixL0th6X X-Received: by 2002:a17:902:7c89:b0:188:59e2:5f91 with SMTP id y9-20020a1709027c8900b0018859e25f91mr87362501pll.59.1673863951196; Mon, 16 Jan 2023 02:12:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673863951; cv=none; d=google.com; s=arc-20160816; b=UvSubshSdggSkQaHGoxlHa5hoYljSO7T8OTEAKpS4qVynTbb8+ptVVr+DrTVW47wme qPQbG17Zbl9OS8UdD/DpS3JQCiBes8doWQKgGiezpwpoDJISjSxepT4QSfK9oOdwna4b XEEdKdc3fLXqh9JBUS7vToEF2VZsw9YHzu/hXLzkztnTeTLal2COPJGVZ1EZ9FnXkMen WR3v1w4iqCGCDUuNtjZ0a95+5Izvi5Uw/K+BEyo6wfYWnm+EQ2u44YXbkiN8A+gI2IrW v/n7Y2CE+5UWgOkjV7xyTLJ9QWvXQGNinUpzaWUxWYwbdl7AAAOqpXsPweCUqkDvTss0 ERHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=uA/j27jl44vBs6yfhEbieF+KZHzgpffWha5hVnRP6pI=; b=CLtfgt0gHE4jQq3G32flbqUAuTBIt7AOviU6Sozz/45TMEWpyMgz8mNrLU6rYZOyRU hujfY/3HnIhkPB7ElUcK4YcEMeCaMwS31NS/6Sy/WjIa2PpH7eXK7v4CYTiZCtVwCOiF psMQFwjfSrH1PWr+sBlBLnWZc65d5b1WJktKUVh4UzUZkFTSmRwuCR8Exy+JE3x1FssW xfWA2tiA7kepb3zu9RsDWKHlSjt7IqdVXUgEb7kP6n5Bb3fJmpFV9SM7i7eHvc0yCnx6 eiRwA+5uTeJ2ig4bXFmjvT5ZAvIrNYSGB2veZaTcnLyXHCr1VL5+AMaOR9mAWRRvMj+n X0/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=JEJK2Y9p; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q6-20020a635046000000b004929e9090b6si27063680pgl.828.2023.01.16.02.12.18; Mon, 16 Jan 2023 02:12:31 -0800 (PST) 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=@microchip.com header.s=mchp header.b=JEJK2Y9p; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229730AbjAPKEP (ORCPT + 99 others); Mon, 16 Jan 2023 05:04:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229606AbjAPKEM (ORCPT ); Mon, 16 Jan 2023 05:04:12 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B52317CE3; Mon, 16 Jan 2023 02:04:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1673863452; x=1705399452; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ObUk/ErWwdiuLLirUnI45oZLL+6Qo6Vq10+HoqsAVkc=; b=JEJK2Y9pux2VCwYp6zvWwFuBnm14a8CfOlo/W2H7vwKeoEga2jQr3nH/ mPp7H0zrJ2d6UTq9ZwUDqnh/oLOJAmYQzhhiEyZfSCxJ8jJ778Bgm9u4Q 8irOFjvbH+TkhFki2tfkNetQVeBh+IQdlbZ3ge4Zt8hhnrkMddjlAdoV1 dEwQ6o00zO5lS4VzWOLP4GVfb+4BcfUshm2udqK4tGftoE9yC5z2gFzRW Nt2rroET6laTpTSz+XfTRZfq6fbHMNfeL9FFPB3HW1Q9+880hQSs9AYaF AJ0q2ma4sCLl+0HA+fc4kdPZrwM5F2gIPDaCjfJxCV62i8WV8cF6ZMESj w==; X-IronPort-AV: E=Sophos;i="5.97,220,1669100400"; d="scan'208";a="132508113" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 16 Jan 2023 03:04:11 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Mon, 16 Jan 2023 03:04:09 -0700 Received: from che-lt-i67786lx.microchip.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.16 via Frontend Transport; Mon, 16 Jan 2023 03:04:04 -0700 From: Rakesh Sankaranarayanan To: , CC: , , , , , , , , , , , Subject: [PATCH net 0/2] phy init update and alu table correction Date: Mon, 16 Jan 2023 15:34:58 +0530 Message-ID: <20230116100500.614444-1-rakesh.sankaranarayanan@microchip.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755173566493947434?= X-GMAIL-MSGID: =?utf-8?q?1755173566493947434?= This bug-fix patch series contains following changes, - Update forward table map in ksz9477_fdb_del API. - Invoke phy init sequence each time of mode update in lan87xx_config_aneg. - Execute phy slave init command only if phydev is configured in slave mode. Rakesh Sankaranarayanan (2): net: dsa: microchip: ksz9477: port map correction in ALU table entry register net: dsa: microchip: lan937x: run phy initialization during each link update drivers/net/dsa/microchip/ksz9477.c | 4 +- drivers/net/phy/microchip_t1.c | 70 +++++++++++++++++++++++------ 2 files changed, 58 insertions(+), 16 deletions(-)