Received: by 2002:a19:771d:0:0:0:0:0 with SMTP id s29csp1272953lfc; Wed, 1 Jun 2022 13:49:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJykwRKgrAxW9IZho3KGKGgIlNT9sY/p/wox/KGCEEBynW0YLMq30r0T1g1CXKhmHPJ5uY X-Received: by 2002:a05:6a00:1941:b0:50d:807d:530b with SMTP id s1-20020a056a00194100b0050d807d530bmr1419751pfk.17.1654116544210; Wed, 01 Jun 2022 13:49:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654116544; cv=none; d=google.com; s=arc-20160816; b=zS7kfw5IT/xXm+uDjwIthz5EHuZOZnlQ+Ruq5uUXSxtyNd0b4GQ/Q6tntLIGPAl4sS 5WyTFapb1pu+w50G8dVbmFFGyTyadwh2t4wsVoL8h9yjOOV3cQLV98p91HbTkuSJwFgr rs2Fsta7ulRXHCTFStZwVRebfOL6l+FupGxWRdwOYdvUv9qY75U4X/Vh2QI+qIn0Y7SO 0K0qBtf0wKrsd8Y7Wgb6tMDANd4SKMZndkeFNG0Cx7MWgYNZbcu/tRcr2NWhCqo7ADGc 954iwCMvLUTArgtlHJGSMORMfbXmd0u/8v2Bo11ZwyjJ/m0OLUyZqWtNDP3vw4V+U1cv lw2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=dHVLbk3AV0dd8GEKymr7IhItI3kAwD2l5UPJ3pBu8OY=; b=Dceu9vItez58V0D2PBRUFcufUbAQ6wXxxKktMba/K51+C1/+OlfU6HRSPG99m2saI9 OGpHibH0sDrfsk2fJnQMjgvSpt2voR3LlmCSglWeGr0FIPIawvIa9uZQ+ECn5QU6wdm5 SnxT4Lq4XRa5ogMEfSGeOX1I/J0ZqMK4zmqD9/fZLi+EoEP7YGuk+De5ssDlYiUA2YLc 0YD7WJynWbtoHAhz5x7/xIs0RCCUXTogdlHXkrt4+dx5DmiWabcthbe/65tHkbC/d3SU d56aOEv5R52+Jrxff91wTd2hZ+dWUBYKbg39cK69OsEGt0gAOYkNoEe8JoZmH7zDBMcl oCyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S2W8GweQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id m2-20020a655642000000b003f5d8756675si3603437pgs.371.2022.06.01.13.49.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 13:49:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S2W8GweQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2E2F82A1437; Wed, 1 Jun 2022 12:52:58 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240752AbiE3Pzo (ORCPT + 99 others); Mon, 30 May 2022 11:55:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242815AbiE3PzR (ORCPT ); Mon, 30 May 2022 11:55:17 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4ACE356C08 for ; Mon, 30 May 2022 08:37:40 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id e2so15199034wrc.1 for ; Mon, 30 May 2022 08:37:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=dHVLbk3AV0dd8GEKymr7IhItI3kAwD2l5UPJ3pBu8OY=; b=S2W8GweQqrYTD47vb+pQgiKJ5qKN2lkHBo0u95Afq6WcHRoWcblyWf/jI+i+ij6Neu 5hEh/HcfQ7xorUCYltwrCc0EVljT8TGGdcwS+Q8JGzAuHsh/Dmf4gjMHsWVxWjCF/0UD 2tZgn93GyOrHyu1vsuc9EwiOwYlruy1AOFYY25+nDjz92zbfHWBBaQyxH+Esn+i5LyJD BWHkrFZsdBOFKov/Gu06uuCcPbSh9AD+9o1nyCJTtOXH6x2aLyFiiIVbmmtcBttZ8X1R tKX+TFmqvCr2NGVuBMOhjkL0Q6WxQWiqKH342HBEImMABiHXCxyFKGOKuKolsLvEdG8P Wm+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=dHVLbk3AV0dd8GEKymr7IhItI3kAwD2l5UPJ3pBu8OY=; b=0GtEBvFN4jdFsm8DDa4jbMRRm1F2uAhT563RAZ8OiNETCEpwfj2qR7aqOCo4DgHHho zMxLur2CPiYREGG2Y7LAukwFy9DoCKl8ti1cNxw+y/cL1/0YAheOXYJnhuCflYusLGgy ARpFtNSVgoBuiwcDK1KgT+EgRukp39v4ldHN5RX7OGvzwV95PiQ1uU/Ck850Z66tDw0G YffFpayrqlAfLFdi+m5sflTcQ0FrCe9SJmddrUKUSF6QXiyuZrvFjEYuoAc0dH/X03Py p/VEaHevfggtSiIINZOvDf2TqUMHjP6WcA5/ppD5DIkWiIvpfCRVh8bimADEiK5BgQE5 9wmg== X-Gm-Message-State: AOAM5333VwDWspQLQWzSn+hYVGM8LUl0KEpyuXnsLb9a27sb4Df0X4jK W39shJw1CehIk5Z0X1ycAxkNXA== X-Received: by 2002:a5d:6b8a:0:b0:20f:f515:98d6 with SMTP id n10-20020a5d6b8a000000b0020ff51598d6mr24297234wrx.527.1653925058720; Mon, 30 May 2022 08:37:38 -0700 (PDT) Received: from [192.168.1.41] (176-182-171-101.abo.bbox.fr. [176.182.171.101]) by smtp.googlemail.com with ESMTPSA id f1-20020a5d5681000000b0021033caa332sm3260262wrv.42.2022.05.30.08.37.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 May 2022 08:37:38 -0700 (PDT) Message-ID: <7037eef5-1af4-4a54-08a5-b078fe2540ce@linaro.org> Date: Mon, 30 May 2022 17:37:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH 0/2] arm64: remove generic ARM cpuidle support Content-Language: en-US To: Michael Walle , Catalin Marinas , Sudeep Holla , Lorenzo Pieralisi , "Rafael J . Wysocki" , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org References: <20220529181329.2345722-1-michael@walle.cc> From: Daniel Lezcano In-Reply-To: <20220529181329.2345722-1-michael@walle.cc> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 29/05/2022 20:13, Michael Walle wrote: > Playing with an own PSCI implementation, I've noticed that the cpuidle-arm > driver doesn't work on arm64. It doesn't probe because since commit > 788961462f34 ("ARM: psci: cpuidle: Enable PSCI CPUidle driver") the > arm_cpuidle_init() can only return -EOPNOTSUPP, because the commit removed > the cpu_idle_init and cpu_suspend ops. > > It left me puzzled for quite some time. It seems that the cpuidle-psci is > the preferred one and this has been the case for quite some time. The > mentioned commit first appeared in v5.4. > > Remove the ARM64 support for the cpuidle-arm driver, which then let us > remove all the supporting arch code. > > Michael Walle (2): > cpuidle: cpuidle-arm: remove arm64 support > arm64: cpuidle: remove generic cpuidle support > > arch/arm64/include/asm/cpu_ops.h | 9 --------- > arch/arm64/include/asm/cpuidle.h | 15 --------------- > arch/arm64/kernel/cpuidle.c | 29 ----------------------------- > drivers/cpuidle/Kconfig.arm | 3 ++- > 4 files changed, 2 insertions(+), 54 deletions(-) Acked-by: Daniel Lezcano -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog