Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2676026pxb; Sun, 15 Nov 2020 13:39:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJyw6zA5XwXFx+mlILdTvclczMfGshHN+b9dceaDLkSlaGUZ09+U4G1eeXRqeZt1PxqdURZA X-Received: by 2002:a17:906:8058:: with SMTP id x24mr12173617ejw.272.1605476349696; Sun, 15 Nov 2020 13:39:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605476349; cv=none; d=google.com; s=arc-20160816; b=HDDaAjaGcBnArqqjYE0H21kIUa4hEBg0jJ7qqVlAf5S+h43pFC9jArnF6sGaLObiel kct61WPEZ34DlyE+5NXJ8nojESSoqwX+gK2IBFzARHFI669Q59DPT1wfXKXKJ7DzLzZT Vxwyjzzim16JcNdQFjhGYOVTp/DmGZ3Bv4wWdQynWsWN8EAqZt7yu7ruCsvc2JmzulVn /vIjaVXHRdCIjcoqmGCxwzUlEz1av0mPSB5v255xlBJlI2dag/dP0++iT2Fq8LlIrpO0 F+B61Zzqzq4plYHKLvgpzSrRxYxVderUV407XojsA9XKBENsIOJPqejba1nCY+bfQS9O t9eA== 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; bh=XST4G9YS31xNbdrFnhqWPHk6e2JGYlBdahr16m+BhKg=; b=ObCpWeXWw2gb4qNjTaNs2QJvzSvI+J5Qr6SsIxKKVEiLgZDgB7k+TS1QgLe47yoGbk pSy3IRIXavpRHruJw/V0HnAi8oAjl5+kIHxazrLmVZ6DY1wvLaTjcm71l6lDYB3tisXH 15ZELu2LJbfgclE6xwglLzVu5zEeACNgjketD8bQW7ndVj7UleI8MlXzHXQolGFqR0FZ BYLwy+KGZQLEMo2j4Vqfc/CcoQvyGMmSTqhF5DaxZ2SUyZviFiOJEA+Hc6oA95QAYWYl OQAUufM3uY2lgwbi/bUt6Uflu8o6Yxtaogkkqa0sN8KgT4wQXToUDyB0h1QzSWk8UDxu Utpw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e9si1323818ejq.721.2020.11.15.13.38.47; Sun, 15 Nov 2020 13:39:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727900AbgKOU4p (ORCPT + 99 others); Sun, 15 Nov 2020 15:56:45 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:56436 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727434AbgKOU4p (ORCPT ); Sun, 15 Nov 2020 15:56:45 -0500 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1keP4c-007EDm-OK; Sun, 15 Nov 2020 21:56:34 +0100 Date: Sun, 15 Nov 2020 21:56:34 +0100 From: Andrew Lunn To: Ioana Ciornei Cc: Heiner Kallweit , Russell King , Florian Fainelli , Jakub Kicinski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Ioana Ciornei , Maxim Kochetkov , Baruch Siach , Robert Hancock Subject: Re: [PATCH RESEND net-next 06/18] net: phy: marvell: remove the use of .ack_interrupt() Message-ID: <20201115205634.GH1701029@lunn.ch> References: <20201113165226.561153-1-ciorneiioana@gmail.com> <20201113165226.561153-7-ciorneiioana@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201113165226.561153-7-ciorneiioana@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 13, 2020 at 06:52:14PM +0200, Ioana Ciornei wrote: > From: Ioana Ciornei > > In preparation of removing the .ack_interrupt() callback, we must replace > its occurrences (aka phy_clear_interrupt), from the 2 places where it is > called from (phy_enable_interrupts and phy_disable_interrupts), with > equivalent functionality. > > This means that clearing interrupts now becomes something that the PHY > driver is responsible of doing, before enabling interrupts and after > clearing them. Make this driver follow the new contract. > > Cc: Maxim Kochetkov > Cc: Baruch Siach > Cc: Robert Hancock > Signed-off-by: Ioana Ciornei Hi Ioana I tested this series on a couple of Marvell Ethernet switches with integrated PHYs using interrupts. Please feel free to add Tested-by: Andrew Lunn to this and the previous patch. Andrew