Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp5897987rwi; Tue, 18 Oct 2022 05:47:07 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6pur9rMYzWy/Jy/EZ+Qd7zuqW3bts44CiXNpGxLREcK7PcCtvGCwU8Z5e4mV58I2Juj+6p X-Received: by 2002:a17:903:2346:b0:183:3e95:6f5d with SMTP id c6-20020a170903234600b001833e956f5dmr2850955plh.165.1666097227498; Tue, 18 Oct 2022 05:47:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666097227; cv=none; d=google.com; s=arc-20160816; b=S810uVNOuYfYz1I3E+6A2SF2QJ5fMj4+5x0E8QTx6QnkX5LNM9vKLo+oy7tgOAxPVC FY9pr3zrVCMX59BlvwXzG+OGPpUjaYXj4RGFO2hkuGXJ3MAPDoFSRuk8pW0QsZ1GbpD8 Y4vV3ipfteQptlEd8VmEWgk0854mfQXdiQ3fZE5xT3Ajt07eIET6XZuloSfAj8HWTkr6 EK4kNNTRjqrKVeqUyW5My/yTgQgtCWfEmuNo50J6sq/IgFBD3Ig2dRcjOy4uAiV2V5j/ P/DPew8ukBzpsMgRwMnJPMhklh3tCczK7ycmdpTK5IhDOYg32oVSS/+NSlyKllPIjjop bFRg== 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=+I5oX8SdnQ5MzFuzdC1mLnoGjN40SD771TTXIPFK0IQ=; b=qZdHaw3KsDBWgxHsd/0ajsZ5GwshgHI8NCGCvzEZU6UQ1HNDFopLDfFH9wq3qdNhbg MQX+DvT3kkfR3GwvVrgrzHgiRFifN/ctnQrsVkUu8cFUGvNQlSIwTp4XruPDB+3bADbu fOIz1wImZpx38pfqLcND3fuT2EF7j8yxzxCCLpJD5wJcYjTYR6+25JIUyCKvZRn/DGUb Vpj9xvdr1Mc0VoIfpva1SSJrKdmGrWJFZPrQOfFzrjTKspVV6zwSUy9DVL9g5BT3fg6W GEiyfUIVwrmvIsBvkXqOf94yfkxcclQcljkQol4Xn/HWaT4w1nQLE5YHtwSzfrBLJRvV iqig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=YimiiokN; 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 p185-20020a6342c2000000b0045129bad767si14978128pga.421.2022.10.18.05.46.54; Tue, 18 Oct 2022 05:47:07 -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=YimiiokN; 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 S229982AbiJRMmY (ORCPT + 99 others); Tue, 18 Oct 2022 08:42:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229936AbiJRMmS (ORCPT ); Tue, 18 Oct 2022 08:42:18 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58D2EC1D9F; Tue, 18 Oct 2022 05:42:17 -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=+I5oX8SdnQ5MzFuzdC1mLnoGjN40SD771TTXIPFK0IQ=; b=YimiiokNL9hV5Aj1NkqCqTGNJC zsMpausPhAr2TS1/Bj3P3N3owwk0k+RidWNmC3Wf7FUaz4RhyFDTzfjX0ZYq+szC5uV2jrh10Gxv6 47siDsU7grShWghoD1QDL0/COxYaruVKC/9aVfWEXtVrz8ASeJPcqo+N2tHRk2Kmaegk=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1oklv9-002LNo-6Y; Tue, 18 Oct 2022 14:42:11 +0200 Date: Tue, 18 Oct 2022 14:42:11 +0200 From: Andrew Lunn To: Felix Riemann Cc: Heiner Kallweit , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net] net: phy: dp83822: disable MDI crossover status change interrupt Message-ID: References: <20221018104755.30025-1-svc.sw.rte.linux@sma.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221018104755.30025-1-svc.sw.rte.linux@sma.de> 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, Oct 18, 2022 at 12:47:54PM +0200, Felix Riemann wrote: > From: Felix Riemann > > If the cable is disconnected the PHY seems to toggle between MDI and > MDI-X modes. With the MDI crossover status interrupt active this causes > roughly 10 interrupts per second. Make sense, it is trying to find the RX pair... > > As the crossover status isn't checked by the driver, the interrupt can > be disabled to reduce the interrupt load. > > Fixes: 87461f7a58ab ("net: phy: DP83822 initial driver submission") > Signed-off-by: Felix Riemann Reviewed-by: Andrew Lunn Andrew