Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2342251lqb; Mon, 27 May 2024 17:10:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUgbJeQ/9lwQG7POF7sMwtVMbP4Jmsin3kh133dFbkRT63gT6Y5CZtZugxUz9bgUzP4t1U4GHtmKjYlNDh0mFHfM/bJLEBUQ6iwKgo2lA== X-Google-Smtp-Source: AGHT+IGqXZ09j2SvM/hUbOHrRgX0ND43cQiZV8DCsNPE6kX7Xzgi/WBKuHZOj2LkLTbgG745n1hd X-Received: by 2002:a05:6a20:244e:b0:1b0:1916:92d3 with SMTP id adf61e73a8af0-1b212cc5009mr11829874637.10.1716855045740; Mon, 27 May 2024 17:10:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716855045; cv=pass; d=google.com; s=arc-20160816; b=EoFCwXHAmS7u4NIEUZ2Zw1sAUsz92/v8/AgPsHFf5wsQmEGE3zgyiGTm3rBBMSaBEo SAuOIul1oJ/NheZa5QAGJRP+eZGL/twiBvQv2TUcttjaYP5mw28DzIvWIdRA0/4KK389 ceTZWSbIYo63I5jox9IU+7KmHt5WMe6iIkQhD0uf5rUbDsm4vIuHWeFaTH8uck35Geiz 7OLy61ymZR2t3NQhXWFT90cw1O3xKTA8kHwQ+mfi+/+cxB+YUXPQ7QeqpuWtQfxzSXbi VG/KOPsH2byV5PvAWPzTFs2GFAJQSFQCehwAjWNSRVW57DoIa5ILN0Mpi/3YRuZp/SSW CyEQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=ZfJanIvCvkbeP06Jkt6JDTx64UR8cvRk/UAQj3AnH2g=; fh=o5lSKq9Wb5bE6gpEGCUOMbyoVp0rY/jLz9wSP+Kv1sc=; b=HPRhHa15ovtxZeCqfi7XBhN9jFiMsumK0wfCVYzQVa+Jz1y9EqREIdp1RUp+49vDKy Ftn2VmATH0Si30wYJh0YlwmHYmHGMR/2kzyJBl6p2DJkn7VhNRzc2VM8qjK0tL2jhuw0 OmHc3xaIqEYcXWdF8uzFotPSXYpt2/DuSJmvbz7PhIoZQYoTxQU46JoMI76L9GJZAxVh FkTmd/4tEaoVXQ5bvXq0JSLfOl8Cd8HXvIu5rHdbkGPubHalCyKfdmHVP33if05IeI9y VOeF3pxgN4BOH0O6OS4ohCho8HDWYToILkf1q1gtVkNiPman4vwUcS2kOF57q/Fx8jZb GMDA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hxI4BYyo; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-191533-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191533-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f8fc36d267si6727155b3a.113.2024.05.27.17.10.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 17:10:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191533-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hxI4BYyo; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-191533-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191533-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0D0BA280C69 for ; Tue, 28 May 2024 00:10:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7CCB0442C; Tue, 28 May 2024 00:10:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hxI4BYyo" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 9E1FF173; Tue, 28 May 2024 00:10:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716855028; cv=none; b=aTsX/EgZPfyMH8W7EiRFPDwJxJAqNBUc7X2em5dOrdyjVHYMTqKp1O9JTWjvxcNNhTU5ErYtg+jOApuy5za3Y97LcRGKqkE9j4/3KA4hQXWHhHi88WLG3XICPa9uxKDCTRFJ4ttSAf7CAhS610Ndrk69yzEFqONsO9i+d7RkxQE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716855028; c=relaxed/simple; bh=zqCQMb/5/zaLMgTKGUA2fzUjXj58vovEe5sP4RrPq0M=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=l6TwrkI8JlB1IBpwYEgiVr0Os+JuEC+MIdn6nUIL2ddvVjhEiKGtWkAltyb8euNXkPRypHL97scU46ErYYnjTxuTCxKcPbctgU7u75XOoBKYod/frVyZv76PsqGn2pRyq2fP2bOtptoCpihesGDebdX3HcLMUSRcWsr5nd+T1qI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hxI4BYyo; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 16AA7C32781; Tue, 28 May 2024 00:10:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716855028; bh=zqCQMb/5/zaLMgTKGUA2fzUjXj58vovEe5sP4RrPq0M=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=hxI4BYyoljCelInixMvrJKUUAm7QRubpoRdbx4ge0C6cFVPnH697k8VmPsNbmWykf xRXTj9lfFlBeEG8wvUJqsQx9VkqUp3pCzJgY6qizcBimuFxoYu6w9gQs1Q5SArRFMa lcgv+4sykZcaLmv3mxBN6zzY6JZaaCKFXxmFiFvZNPRZKEy6XIaHrxr6en36xV/neZ cB5qmeBhMATYbUWQGIRw+4pR/XcQet3lraozsvbGXYfxL9kUfPmrYuZvuQ1MkyC8WH 9WeVeIClI6i1klCeGW7Q4O0gktSst253FvnMXj8ijqfUp07NQjqAAdYEpC43akLyUV 1c5KWukbxNxxg== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 07CD7CF21F7; Tue, 28 May 2024 00:10:28 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net v2] net: micrel: Fix lan8841_config_intr after getting out of sleep mode From: patchwork-bot+netdevbpf@kernel.org Message-Id: <171685502802.31992.3882528971800266097.git-patchwork-notify@kernel.org> Date: Tue, 28 May 2024 00:10:28 +0000 References: <20240524085350.359812-1-horatiu.vultur@microchip.com> In-Reply-To: <20240524085350.359812-1-horatiu.vultur@microchip.com> To: Horatiu Vultur Cc: andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, sumang@marvell.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski : On Fri, 24 May 2024 10:53:50 +0200 you wrote: > When the interrupt is enabled, the function lan8841_config_intr tries to > clear any pending interrupts by reading the interrupt status, then > checks the return value for errors and then continue to enable the > interrupt. It has been seen that once the system gets out of sleep mode, > the interrupt status has the value 0x400 meaning that the PHY detected > that the link was in low power. That is correct value but the problem is > that the check is wrong. We try to check for errors but we return an > error also in this case which is not an error. Therefore fix this by > returning only when there is an error. > > [...] Here is the summary with links: - [net,v2] net: micrel: Fix lan8841_config_intr after getting out of sleep mode https://git.kernel.org/netdev/net/c/4fb679040d9f You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html