Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp107550pxb; Wed, 4 Nov 2020 16:11:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJw6/8HAPMZGf4XnULDbwksci556v6WR8Yp5vHn4WhfuB1rCziPH21fnwCiSZOo5qKjumQsn X-Received: by 2002:a17:906:3a1a:: with SMTP id z26mr551768eje.519.1604535098144; Wed, 04 Nov 2020 16:11:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604535098; cv=none; d=google.com; s=arc-20160816; b=v4BZi/uuSf1/FPdZ/5Zxbs9wVmVwUMsR3e0YWyR7Tk4qt0dUUOo7iW5z8WgH1w89do OyHF+jKwGNGBZ48Hl8xGCm6y4bhDILv48emCGc/FRhBFNOFX6rAT9EYL9pXMElKEMYFP pmi4Zn4t8ya1KkNSjSxoqb/LQ2pDCGQk7kWw48sbMFmYYVRFAZQjj90q8eUzHcVUSOsR CxjbL5zXFBbNEreOwG9HAPTmoMe80tDAx1m2jzmO5lgsFI16OjXTwUMUprID4+hGL3ds hA+aqI1cz/GL/6KHMzoSRr8KtkxFxsyRrzniUOLlazkjSNQixi7wTfnWfLWCKVHFPKBZ P/2w== 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=W+nQNP2xeQpKAeFOiZ8Y3ubuECiJeguJA48y5TOLbV8=; b=Lonl76w8Td7wBBzK6G0MUxYA+VftUVergdyQtt1x3qkvxzJ4Vl8WisHg56myerrHr+ lQeO4zd9eHso+L3bXMLv6CUCoQCnl8/141jpm6qX12mPwLw+Z3ST7jaMEFGYTjLnqT2w r8ArUYbrf4dBowszfm+w6wf9GZV2w8CKcLci7ZeKmQ8Xo6We7cdHCYfJsD587l+Jh1bM otFznR08oWOY6qe80MSVcTOdCZygCUSYGuU6lx+L0aiv8SYqnZb3d6NSltk+GmfnQChJ IDawfNqRFf78ZZ9cgI86SnPA3VbVfyv2E6NwmizSpfQTHBmn9sGc2KbRa3RtWscjeUoS WRwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ObjOEB5x; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d17si2322596edz.488.2020.11.04.16.11.15; Wed, 04 Nov 2020 16:11:38 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ObjOEB5x; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732648AbgKEAHt (ORCPT + 99 others); Wed, 4 Nov 2020 19:07:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729266AbgKEAHs (ORCPT ); Wed, 4 Nov 2020 19:07:48 -0500 Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69F06C0613CF; Wed, 4 Nov 2020 16:07:48 -0800 (PST) Received: by mail-ed1-x541.google.com with SMTP id e18so84123edy.6; Wed, 04 Nov 2020 16:07:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=W+nQNP2xeQpKAeFOiZ8Y3ubuECiJeguJA48y5TOLbV8=; b=ObjOEB5xVAn1nNX3SDJ05Ef/7uvSbqcVlTGApotos5HDnEE8jyR72A6M5GYC7ET0CV /GKdwzDdXqQsGnsD+SRFGr/EWrBO+hNTPE7wZvME+iuMO5e8u/X9+0Rdtt3LU6Hyhwlf pi6Oo7eQ9eG9tnI3DZWn/YXLhOs+5/fDVyz7Xd1BXpPZENlWcmRqe4Cgrn7hAyhFGLrW qneR6JN0UwW+q2rD5rFhaY9G/Be4dRJbA7wV/ZmuM8n1AL0KLc8gGk3eNITwwoyj2G5i seYafuG+TGi+M5KKPH7eO9NG906P1/niT0lC+M1k5m/r7aZDHkEDkM5XmGghrIuMm8uV 8e+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=W+nQNP2xeQpKAeFOiZ8Y3ubuECiJeguJA48y5TOLbV8=; b=NdV05VF70Zttqf2T9wUHY0+yF4DZDWbEhsjB0LnDH+Mxwo4kZ5UK087zOSATIcof44 8ax+h2+VBZW5Mno1+EcjJCDXtq/TgX1MRsBBDyxKY49ylcCTV77Ho2G8MVgx8Xu6Iwki 1FgCAsduLtakyXBQxW7wHt2kZHeytS6RLZY/1IBMxRBI7+4tO2id5UDnL6lR6OvqMKkY +smPZor0oXAnOk3Cxr29vKfb9uvu9BcX2gMd9NRFpLxNpyc6An0UD5TdWCkylIJXsZxl KiBWWvcgusN5eSPxHKfcd0bhmLX2SpuS+XoLlqxjzXUYh+0IfOFA4ll6pf7bI49W5Ien 1gyQ== X-Gm-Message-State: AOAM531DHyLlazEdZQGqNs11B4GJN87wz1yO/O0r1B90jLsS+rGStf48 0eC29nSD3cfm+vN5ANbTwwg= X-Received: by 2002:a05:6402:1388:: with SMTP id b8mr351119edv.1.1604534867143; Wed, 04 Nov 2020 16:07:47 -0800 (PST) Received: from skbuf ([188.25.2.177]) by smtp.gmail.com with ESMTPSA id e9sm1720071edn.30.2020.11.04.16.07.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 16:07:46 -0800 (PST) Date: Thu, 5 Nov 2020 02:07:45 +0200 From: Vladimir Oltean To: Ioana Ciornei Cc: Andrew Lunn , Heiner Kallweit , Russell King , Florian Fainelli , Jakub Kicinski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Ioana Ciornei , Antoine Tenart Subject: Re: [PATCH net-next v2 08/19] net: phy: mscc: remove the use of .ack_interrupt() Message-ID: <20201105000745.2kynhpv5x6ukjvi3@skbuf> References: <20201101125114.1316879-1-ciorneiioana@gmail.com> <20201101125114.1316879-9-ciorneiioana@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201101125114.1316879-9-ciorneiioana@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 01, 2020 at 02:51:03PM +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: Antoine Tenart > Signed-off-by: Ioana Ciornei > --- Tested-by: Vladimir Oltean # VSC8514