From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4F9C3347510 for ; Thu, 12 Mar 2026 13:45:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773323134; cv=none; b=QEXzkZMov/O/SEiYQe3kiXSJREsIMsxHRP5FQADmQyWX04kDAAVOyfQr4isc57TgkqccXLCFv+UXGrAAAWR8M4SDXDIT4tWt9E7EeqZOpeHLG6LKmbionqSFILGWwwPFowGzdd5Vrwspif8/6CD7oiZgeSY/BybpxGXESvdFJq0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773323134; c=relaxed/simple; bh=Wt5BATW6JvyK5BQ3QK1RfPkmw62Sl40rb+G06/QOfX8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=u4mnb1AfG1QYdaVqLbuM2A2WwTOKrDKcLpyYhvRSCMgmqDYXtI9clBmtLZFBjKmkNtCGt9TzEyr4RQP1xiG3v1zjC3+I0EBgg1opFq3Dtl04aDxMl7IDbXZFP4ZCEkzCVjku7fpsnuCbnDiGszjfTpHXFjcUH0sTQxzeD32eBSI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Rgcx3EKQ; arc=none smtp.client-ip=209.85.128.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Rgcx3EKQ" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-4832c8f9d87so952035e9.3 for ; Thu, 12 Mar 2026 06:45:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773323131; x=1773927931; 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=w8UmW8sQ2uXBuq6IRN63MLvpqvH9wjFOuNdu+RVv+6g=; b=Rgcx3EKQhUpx8rM4CG3s350Jj3KcYlzHCKAh0RAgepTqIUy3+dM2knes691/S/BRfX KF0McXLuepkEZ5x6nMOqDzcjMTcGRAYVaRA6mlpAm8jpFz7R82IynhVTAD4A08eDMA7r 4s/qnRrYPmP83wqntAzt/TEd4w50ceSYz4R5gK9a3d/qodLQB40GkniZLrdbWGeQCAm/ nbWxlv+yAhP5yS0VVWsX8cgn9JkEXU6g9dWaRBMmFyvRxqCLBURVbEogwnvvTXkhcRfo ++D6xGpZZiJzl4BYJyQysATYtnewIAfoRCZyihCu320415OGSY7FWgjoD+ii+m6+mqcZ Y6qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773323131; x=1773927931; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=w8UmW8sQ2uXBuq6IRN63MLvpqvH9wjFOuNdu+RVv+6g=; b=bQIpH55nMrP16Uw5l19/xCiqCt8C2dc2k4rpp9EVfZPIGfru7KXofsbB+XQQnM5gWd iFDSXlXtK+/5s8lkd4fA0djSGERL7tAjDn6SO7Lf1kemqV6tka+5fNJatkjteUtUnm+0 hcU6gtt/9TXleK5QxHas/dSIbAJWl2S13qkM3exPzgyXSMtK8/hZxhVr1+fqS1X4HH7X aKzfNSsrvVSm7GRtpNQcFMHxNfDxCXyIvCkhmgoFveB6byDU/3n94FmdforftjmZhFe3 +6WCrVgoC6Ql6PwwBWF0Ga42IHAgnPoUGSLx1kITczz72v6DDZDlBHmleQMy4eN/NYsi yCQQ== X-Forwarded-Encrypted: i=1; AJvYcCXZcbmylmN58oR/8yDw6MAZK0ReNpHSG0n1QReaLW6yLE/TKzQhsCwWQLQT67XFCfB1b/HUR+NCgZxWWH8=@vger.kernel.org X-Gm-Message-State: AOJu0YxTTEFhjP7FD3FvpkPIAtMbd3VAEuelR2neFEuy2uLIOS4H7H84 uyGM72UErb1nlRg+fv7JmzTv9hd1Ohv5NU2JIi8Fka/PhGTLet3X9R/4 X-Gm-Gg: ATEYQzy53KxCNrrieHJ9EaMQxxwLCxxTu2R1abnNeKA0NX+K64vMOniK9SYUrwWqOEx FFiX1k+SqgPB8tPKb7tPmgV5NRm2bUqnGfWOI8AzQSiLouWX1WTjnKhx8yIB1LRR41mTgsPmuLU 2X38tlzYg/sICrov5kGpXnMBCR+ZEjqQCVwJy/plaCEdxWQuZy5JI76pSg5DqgqkZfkt7lXfZE2 fHPHm12s/XHvsAJ/rvFxmnEtqqycFU1YoUvGtVBGRKHh9T3qJsvWWHZRzaSGjiwsvD+b3taASjf 92OmV8MhixrCxPVOooXzHhraFNaP2rTF2+r1PvxdoHIZgFXRgb7fIW/qG+nNqke3w8CbeJMkNlo Gt9vxze4UbN0MZQAIn4IjzqODFj8AVEbaH0B0gr87rcUJHni5T3JNV+gDprWmsOOUkg7LJsbWnT PHH5bw3rId+5LuoQ== X-Received: by 2002:a05:600c:37cc:b0:485:385f:674f with SMTP id 5b1f17b1804b1-4854b104a8bmr60267645e9.6.1773323130035; Thu, 12 Mar 2026 06:45:30 -0700 (PDT) Received: from skbuf ([2a02:2f04:d00a:e00:e489:77c9:805a:398d]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4854b66e3f8sm132490065e9.14.2026.03.12.06.45.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Mar 2026 06:45:28 -0700 (PDT) Date: Thu, 12 Mar 2026 15:45:26 +0200 From: Vladimir Oltean To: Tristram.Ha@microchip.com Cc: bastien.curutchet@bootlin.com, Woojung.Huh@microchip.com, UNGLinuxDriver@microchip.com, andrew@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, richardcochran@gmail.com, horms@kernel.org, pascal.eberhard@se.com, miquel.raynal@bootlin.com, thomas.petazzoni@bootlin.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, maxime.chevallier@bootlin.com Subject: Re: [PATCH net-next v6 1/9] net: dsa: microchip: Add support for KSZ8463 global irq Message-ID: <20260312134526.3lnifstvb5dpghrg@skbuf> References: <0658868d-671c-46a2-8daa-26420cdd2975@bootlin.com> <20260309205401.bk5fpw6kqnmlktbu@skbuf> <20260311115356.windefb3j4kkuslg@skbuf> <20260311135610.oox5ahxcyvxkuegw@skbuf> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Mar 12, 2026 at 12:14:40AM +0000, Tristram.Ha@microchip.com wrote: > I just tried the ks8995 driver and I do not think it is ready to do major > DSA operation. Actually I could not make it work if I registered it as a > DSA switch. DSA could not register the switch PHY. If I removed the port > information in the device tree there was no error message but still the > MAC could not send out anything. If I skipped the registration at least > the MAC can communicate. > > The driver is using DSA_TAG_PROTO_NONE so there is no tagging involved. > But then I do not know how to define the device tree for the DSA to change > the STP state of each port to allow communication. > > The primary purpose of this driver in the old time was to enable the > switch as the hardware default is disabled. > > Even though KSZ8795 was added to this driver its register set is not a > complete match to KSZ8895. So some functions may not work correctly like > the change_mtu one. And I do not think KSZ8463/KSZ8863 can work at all. > > Since we have a working KSZ8463 PTP driver we should stick with the > Microchip KSZ DSA model and work from there. > > Out of topic I found that the NAND driver is not started in the new 7.0 > kernel while 6.19 is still okay. I do not think there is a major overhaul > in that area, and the Atmel NAND driver code is about the same. I thought > the device name may be changed so the right driver is not picked up, but > using the device tree in the 7.0 kernel still does not work. Thanks for the comment. I took a deeper look at the ksz_switch common driver and I've started working on some patches. I'll return when they're more or less ready.