Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4888883iog; Wed, 22 Jun 2022 07:44:49 -0700 (PDT) X-Google-Smtp-Source: AGRyM1urQRchd82kbJIRR/4S58GAGC+1UBZtIy5JiuFYdfY6NWfjoAYhZ7Cf+iD1EZN51kYnD0WS X-Received: by 2002:a63:7417:0:b0:40c:99b5:a866 with SMTP id p23-20020a637417000000b0040c99b5a866mr3220254pgc.73.1655909089684; Wed, 22 Jun 2022 07:44:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655909089; cv=none; d=google.com; s=arc-20160816; b=Q427v/KnmMyaZAAvsbWLZ6o4JEUIe6l6mEwrf4TLTYfnu9YP5wj5/mHUl/UdgzkaJC N2lqqIapK2hhV9GdVoGZweAVw/Sfc6H34/gwuzoUNcjNvFU/UI854wBIYwlhG69igm0G qKWwLNAif5UMKjmQqByVUldt94M05bMguIZ9EqsXPc5i06o5asCsNCF6A6p9ljjrRJbm xZYfo/Kjyw3Zgmqy5W5OKW9XGA4EBUwioNi4Z/OAdXsC14GoWBCpQwhyFJbjFRE7PmAQ 1SV0xrpXE1ebY5QXgPXsuUiWGDMuj+3XqYiHdZNFEXUAtp7I26+Xz0BWr12syJyjTz8o 00xQ== 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; bh=VdnRgTUTPB6ytwsRED+ROZHNMmk70z2XpGapGkY70z4=; b=MxSLAc4pXApRxn/9coxXEpfeOGp11dh7WEDkebhaFUvr9ghK1Fvc92ZBpUd3gJe41A LX0oQFVEUh+SQmlUllZ4SutxEQ4guiRPYzFgzIEBuh0z4AxkHnN34j59oGtKk4Q6EgVV V6ohpbUfJQtAGBx0D4JvgVwip3eOHpNHvjGICeg2iTdHy9nPnqcYlTTW+1pcF8Mxtdwn NA96QD4xw8khsGuTSjvRk+UwGTnqlbieSnYLWC05CuCaZoEcLoPU2AZ7yrH0uRi7u0uT G8B+EztW6HKdXifPLxvtdgWyDFfL4tcV2AmAG22QRuo8ZFJqHfURWlLnduokbnlYOlCO 5QBA== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d3-20020a636803000000b00408a74d3d14si24612614pgc.713.2022.06.22.07.44.37; Wed, 22 Jun 2022 07:44:49 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357631AbiFVOJK (ORCPT + 99 others); Wed, 22 Jun 2022 10:09:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357971AbiFVOJE (ORCPT ); Wed, 22 Jun 2022 10:09:04 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DE30938BFD; Wed, 22 Jun 2022 07:09:01 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id BF3E41042; Wed, 22 Jun 2022 07:09:01 -0700 (PDT) Received: from bogus (unknown [10.57.36.82]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C8D783F792; Wed, 22 Jun 2022 07:08:59 -0700 (PDT) Date: Wed, 22 Jun 2022 15:07:48 +0100 From: Sudeep Holla To: Michael Walle Cc: Catalin Marinas , Lorenzo Pieralisi , Daniel Lezcano , "Rafael J . Wysocki" , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH 0/2] arm64: remove generic ARM cpuidle support Message-ID: <20220622140748.laklytigxtfdbbg2@bogus> References: <20220529181329.2345722-1-michael@walle.cc> <09f392794c815cbfb38e5103d92310da@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <09f392794c815cbfb38e5103d92310da@walle.cc> X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Wed, Jun 22, 2022 at 01:59:07PM +0200, Michael Walle wrote: > Am 2022-05-29 20:13, schrieb Michael Walle: > > 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(-) > > Through which tree should this patchset go? I've seen it is marked as > "Handled Elsewere" in the linux pm patchwork [1]. > Generally based on the changes, it is decided. I can see why Rafael would have marked so in PM patchwork. Daniel has already acked small change in CPUidle config file while the bulk is removal of arm64 code. So, it is better to route it via arm64 tree. Will, Assuming you will handle v5.20, can you pick this up ? -- Regards, Sudeep