Received: by 2002:ab2:1c04:0:b0:1f7:53ba:1ebe with SMTP id f4csp69809lqg; Fri, 26 Apr 2024 09:01:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWQqThZQoCnpzvX5Xu2PcnHdV7AyKp+AElHdklqreTmDfGmFR/wQzdJLrcgfpNmdq0UBW4kS4YqFLQ27jyO+V2k9MuwbFD0z530RlUhYw== X-Google-Smtp-Source: AGHT+IGNERwSfwa/MyCU9MsApz6V1xTJGiopPJsV6Vd/Ja6GebQXH6ThR4QAccfPD0xrvcZaxPcZ X-Received: by 2002:a67:e90b:0:b0:47c:e2b:69f7 with SMTP id c11-20020a67e90b000000b0047c0e2b69f7mr3354412vso.4.1714147292295; Fri, 26 Apr 2024 09:01:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714147292; cv=pass; d=google.com; s=arc-20160816; b=h74QgMl6LZixNEArlyn9VzWmHc5Z08/2s3qxdN5OW5XocYVwMar00I8KsWqRvEgtpI stVZO2u1Q+n3tLfkkn7rK/EOqaI7+cdzGdBkU+pFopfQ06n0+1YHvEmYaHC1j0Qk0dy1 I5Nn9qxZMJPKrUYqD0gPs6I1n9+xhJb9j0Mzj1FUxt1dxVmSiZYdYXcvRb+Cx4fD86b7 vMattSF5LDEbppZeZqYXuco5GCVmD2ZEGhoYZVX562CLqA4bq1PN7vhFx3igU9zJQRhY aMiyCx875jpg9LRT0758xIGAHsdbk0N7WokAsNPQUfCDQnrEfbWzxtw3iwzE6VtfgN2h /X+g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=KntFSRKKJlXDI5nElDgSk47qflI7G4WWVDhKzJ36saw=; fh=MZgvy/AmeHE5/588XAg1mUij55f12DiWyocFDxS19BU=; b=qMyx83VaFhQ/JcOUnW2eFMNaQc3EbxoDN7zbtpnKt6zUVHHlgkYApGP9WY68c22yag BM2YbAIY6T81A8Fn6KJcg5mNfLWDtiq0LV0lA/hslt375G9o21G33dwxldVUCH7AqpkD GJOvkvHcr3f1X/FmC2uIYju/y8GU7GQFQH9FkkAvO4Y4gX5SlrJbpcBlRJ6jUHqDKTq1 11KEPmELGkjwYwql+Jc8PMMhzYFfc+qtzqS2btKw3+/yj4KJ69jvdcS+JRX1B9A2gIL8 vKCwodm4QTMHbqMIF4+7+828rOP5vtD4a3B4dHRYmo+Q7fMYAnGFp4vzWsFqH2hXmmnw TaGA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=OlxJiBA4; arc=pass (i=1 spf=pass spfdomain=denx.de dkim=pass dkdomain=denx.de dmarc=pass fromdomain=denx.de); spf=pass (google.com: domain of linux-kernel+bounces-160345-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160345-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=denx.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id ih3-20020a0561022d0300b0047c2f3a9ca0si53865vsb.512.2024.04.26.09.01.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 09:01:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160345-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=OlxJiBA4; arc=pass (i=1 spf=pass spfdomain=denx.de dkim=pass dkdomain=denx.de dmarc=pass fromdomain=denx.de); spf=pass (google.com: domain of linux-kernel+bounces-160345-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160345-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=denx.de 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 386CB1C231A5 for ; Fri, 26 Apr 2024 16:01:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0CA32156F37; Fri, 26 Apr 2024 16:00:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b="OlxJiBA4" Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D0DE714AD26; Fri, 26 Apr 2024 16:00:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.214.62.61 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714147256; cv=none; b=ezGVwY4X0u+AsZS8vgIPVpiXaxypaCdv4A9N8pVXxiubYT6J208K9p1gqWSDf66oQtfjDUsjbENs5hGNpg239kR212dWIUf8tJNQadDRJUlnzU3w3bqH/ibbWAe1HVTsnV0VqlZVZaXlPses9gqR88yDRSh+TjSrhyAJptddONM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714147256; c=relaxed/simple; bh=e/e/CkS2lyAv5dcyu8k8+s7I4g7ycYx06SZTbh0t75k=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=dt5LptFg8rk9xenoiocMy1GVrIsJ1dYPjVaJFPO0nl+VdXUH19d8UoD9rSbDz/UXJpqbu1vYs/1RI2AhXnQlWdC0kV2Fxdnavew6Dk/bj6S5zsX1QXhtbxBqqAnE68ZRwG0plNy9S0hiXvC0QJOlVZpwy7fKkFAqQ5isUyd/5Q8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de; spf=pass smtp.mailfrom=denx.de; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b=OlxJiBA4; arc=none smtp.client-ip=85.214.62.61 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=denx.de Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id F101F885A2; Fri, 26 Apr 2024 18:00:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1714147253; bh=KntFSRKKJlXDI5nElDgSk47qflI7G4WWVDhKzJ36saw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=OlxJiBA4JqiSkPep5+//Fab0HwkAzF4JpRmBY7MmnztFaBs1CPhfiiJg0ggs186tS FUPEmouTIVHsld25mVu1cdwPn6C0rqtoPLMk+EYPLrP4ynWAXJuYgAsk7V+AS8/p/O lQzAOvhn6cmgSjN1NDjb3KFLd27GSD7fp54cDaBx7GfSLF3d7/W5Bthlr66buqjQKX AtWFuDl14vhYxmjFdnSsEa/4q0BwZp/MfnRAlMtMwF0Hjm35xnePRM2FnAKfRiUvnz SLFwOy2aphZnlwRhiXWW5PtwXL/WXKdqAWyqe/bx5cR8CBugtQGiJb3WDHRm3kGsYN FZuYqDTShKRjA== Message-ID: <5b8b52cf-bd43-40c0-962a-c6936637b7de@denx.de> Date: Fri, 26 Apr 2024 17:40:21 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 06/11] net: stmmac: dwmac-stm32: clean the way to manage wol irqwake To: Christophe Roullier , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Richard Cochran , Jose Abreu , Liam Girdwood , Mark Brown Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20240426125707.585269-1-christophe.roullier@foss.st.com> <20240426125707.585269-7-christophe.roullier@foss.st.com> Content-Language: en-US From: Marek Vasut In-Reply-To: <20240426125707.585269-7-christophe.roullier@foss.st.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean On 4/26/24 2:57 PM, Christophe Roullier wrote: > On STM32 platforms it is no longer needed to use a dedicated wakeup to > wake up system from CStop. This really needs more clarification. Why was the code needed before ? Maybe because it was used by some of the older STM32F4/F7/H7 SoCs ? Is it still needed by those SoCs ? Will this patch break those older SoCs ? > This patch removes the dedicated wake up usage > and clean the way to register the wake up irq. [...]