From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2098F328634 for ; Tue, 27 Jan 2026 19:42:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769542982; cv=none; b=kR8qi1icSN7wIwIgHEjwmcfvUNEXzKIwunYKSfsZF5ppkL5vXS6JO0Fjm42Pdkff0Y89BbP3HK4j95BJq6hzExB/KTDJge4ElGquhDsMcV5K2XWvBRr+hlFqN69qcSEwzjslXyFGcfT2m1Uyyj3eOqCoxb/gABStvat5bOUXUho= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769542982; c=relaxed/simple; bh=QlhRnv6CvnlLIZN4fQ0n6DM2cafHm0mTorbkIfkFL6g=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=p/H1JM9uuPmA+H3bO/tcyG+YAPcQHm5aT5cLKw7JDNHja31xMywWRyPKH15Vj4dwhXcEPW25q1hP1Wm1rNsqEUrmN8cwO3WmdN89ZsB91lj0nDH9RZnhEhOxnNwXHVBUz6GV1a+MH5rbxqoPcRwk/4YajsrFCWMPAcFDR2p6nPg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=N+Uzl4TN; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="N+Uzl4TN" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 85E684E422D8; Tue, 27 Jan 2026 19:42:57 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 3D558606F5; Tue, 27 Jan 2026 19:42:57 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 82722119A8805; Tue, 27 Jan 2026 20:42:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1769542976; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:content-language:in-reply-to:references; bh=LxODmhj+aDB7JQCnHOyVi0D4FK4/h5N30z7wT+UWL6M=; b=N+Uzl4TNibP5tniqoiBH0ceWqofhIdCIffbXamfIqUN7Znw7fPEZpa9YrswlVMrhTCVevV ATfnSAW727/axlGF0xacqo5ZjKFOcqYyBQnOFVGvtVC2XXZ/1tZAQIesiCVGPEv1pkWcXg usNgGFdjVcxacTeEtSKtEa2IJaFW6ut/1u5WryzKEIsddRt+nMT1OVU0gGyVRGKzOgrAdT xbmolJiFSd4kTBOWoV1PLYgbYaoG8C7XJ9F39komUK1Fj4IK/NlrwNxC0CucjN/PXOX14f DE6h/1Wjql0qbgJccq+/64JO0PjE50ENStLzMxJS7hwXUMX0m4TRmJE2afBdwg== Message-ID: <30d79989-749a-4d4b-993a-18f3e0bc786c@bootlin.com> Date: Tue, 27 Jan 2026 20:42:49 +0100 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v4 1/8] net: dsa: microchip: Add support for KSZ8463 global irq To: "Bastien Curutchet (Schneider Electric)" , Woojung Huh , UNGLinuxDriver@microchip.com, Andrew Lunn , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Richard Cochran , Simon Horman Cc: Pascal Eberhard , =?UTF-8?Q?Miqu=C3=A8l_Raynal?= , Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260127-ksz8463-ptp-v4-0-652e021aae86@bootlin.com> <20260127-ksz8463-ptp-v4-1-652e021aae86@bootlin.com> From: Maxime Chevallier Content-Language: en-US In-Reply-To: <20260127-ksz8463-ptp-v4-1-652e021aae86@bootlin.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Last-TLS-Session-Version: TLSv1.3 Hi, On 27/01/2026 10:06, Bastien Curutchet (Schneider Electric) wrote: > KSZ8463's interrupt scheme differs from the others KSZ swicthes. Its > global interrupt handling is done through an 'enable irq' register > instead of a 'mask irq' one, so the bit logic to enable/disable > interrupt is reversed. Also its interrupts registers are 16-bits > registers and don't have the same address. > > Add ksz8463-specific global interrupt setup function that still relies > on the ksz_irq_common_setup(). > Add a check on the device type in the irq_chip operations to adjust the > bit logic for KSZ8463 > > Signed-off-by: Bastien Curutchet (Schneider Electric) Reviewed-by: Maxime Chevallier Maxime