Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4118299rwb; Tue, 20 Sep 2022 09:04:24 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6ZR3GBxVBVg/KNeqB9/WCnlVaC1HJxyt0Ecl2++O0jLrdTcNSOFhUtAIzrzyFhT9G3MtpK X-Received: by 2002:a62:4eca:0:b0:548:c85b:1931 with SMTP id c193-20020a624eca000000b00548c85b1931mr23754417pfb.24.1663689863753; Tue, 20 Sep 2022 09:04:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663689863; cv=none; d=google.com; s=arc-20160816; b=m9TieWu/hKVw97OwDCMtZqAyh4ezTHUUYCGr+jhLNucpnUHd95DnTPZ9+5ag5j2yqt CqXPHoKZtFsMT50gd7umaA27zAQ2MYBliRMyByn1Q0dEV7fegwf8yIfk7bx/+6KeARSk ma/kmVPs7aQCMNEeEVBxgL1nbmV6UfzDK23m1/+NBuPal5gN4ZqdJOn39PlPuciJhFrQ +j1xHjcXWLYLCG5Hd2xFZK966i0YvMc5JSd9z0Lztv79FkD0EehmtEK9Gm4J1hVEMxzL JKpyRM29Bcl8HKUNCjLFoYdPuPL2K0ZTYOpvyUgFXSTmcLO3HGkm3VUkKmtRD7ITVa+T xlGg== 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=t7c9L8PH8yyeuHV6ztLbyYD3Hs5tKOUbHkXDFpmhZUI=; b=MWtP6ZE4WTOOrRQcJQqiVrdta5fHxKS7XB+vXSNXCNUb72tZZEnwm3mQ4bMAsqQ6XP X3aHMAKLCTK2qIyGXjdIJtjeAp4Y7kBQrOlaR8DM4+3OUqGMO4uyJ+1d/D/3dIl39S+3 x7mMffSTx+Hthm3A/FiH7R8FQasZVJ8UK+mI2ialP5CdnsEGUwslfI780wDcv0Z0xCJj 5dRE/nsvVIA0jtnfdoeEi6uwJTHpElVx6377Seev/LygjqJjlvRAuBNmIzQNZuuJMsty gsuGbFg/dIdIMXStOe5UQJQkFKz/vuVHZQbtvZQeUZq4jMGcXGO4jweEByKxZEVfnRD0 +qzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=OP1bAo3Z; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cm9-20020a056a00338900b00540cbd3cb18si76069pfb.234.2022.09.20.09.04.10; Tue, 20 Sep 2022 09:04:23 -0700 (PDT) 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=@lunn.ch header.s=20171124 header.b=OP1bAo3Z; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229799AbiITPpN (ORCPT + 99 others); Tue, 20 Sep 2022 11:45:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230039AbiITPpL (ORCPT ); Tue, 20 Sep 2022 11:45:11 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE10D1EEC3; Tue, 20 Sep 2022 08:45:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=t7c9L8PH8yyeuHV6ztLbyYD3Hs5tKOUbHkXDFpmhZUI=; b=OP1bAo3ZoewTQRsmB/rwKhK35d bmVm1a34Obtbi6qs6Tt+nub+wFT6cwSco0pkACIhkIhcwGQU8GCdKb47VCqrKeQXlS+vxlK+TZAaw lDHgJ0uhh594IS+XJDRWa7kuaLBC+Rf/o0N+8PZA5NB8wYj8iBz/DniQzZlyyq3hTklw=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1oafQe-00HHnR-72; Tue, 20 Sep 2022 17:44:56 +0200 Date: Tue, 20 Sep 2022 17:44:56 +0200 From: Andrew Lunn To: Michael Walle Cc: Heiner Kallweit , Russell King , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Divya Koppera , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Horatiu Vultur Subject: Re: [PATCH net] net: phy: micrel: fix shared interrupt on LAN8814 Message-ID: References: <20220920141619.808117-1-michael@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220920141619.808117-1-michael@walle.cc> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 On Tue, Sep 20, 2022 at 04:16:19PM +0200, Michael Walle wrote: > Since commit ece19502834d ("net: phy: micrel: 1588 support for LAN8814 > phy") the handler always returns IRQ_HANDLED, except in an error case. > Before that commit, the interrupt status register was checked and if > it was empty, IRQ_NONE was returned. Restore that behavior to play nice > with the interrupt line being shared with others. > > Fixes: ece19502834d ("net: phy: micrel: 1588 support for LAN8814 phy") > Signed-off-by: Michael Walle Reviewed-by: Andrew Lunn Andrew