Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp3386502ioo; Mon, 30 May 2022 00:18:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7fQtW00DFHvE8cvg4hGV+bF12zqGgUE+2sXRfI93KuOyIemGd9jybvUwJyR0eODJsbxQ3 X-Received: by 2002:a63:5d4a:0:b0:3fb:fa23:735a with SMTP id o10-20020a635d4a000000b003fbfa23735amr5614029pgm.44.1653895086705; Mon, 30 May 2022 00:18:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653895086; cv=none; d=google.com; s=arc-20160816; b=xbD2Dh4FXZ5+NPPOjuUJQcL8OZT3fL8QgaJvMuwoZAbvh889Do6hLuhrpgZfj9if3t 3iJm/09ioAvhmcAzFb+xVo1r1BabNtAY5YONmiuBXszrDDsYNyZrWGeKJNlELA7mC58s 6qOvTwUUiOP3mh+I3iGyWQEFEDWkpr8g/Cnxe8EL+H3RXpAMZViwMLuMwN4vls7cETb0 TZR/YcVTj80H7tzVI0tYGGjbLPNIIuKeL8fpSL3ltfRbz0x3fKXpsAN4Tfuec3s5t2LW v8ueU3fgRHZMRyU0vhn0InXgWKkVtw+j/JKvPDJIe8duSdm9JP4wIQ7Wp70v+lsv0goV 9ZvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=6n/6v/VC4xmIj9vHN5pvSgXtD15Nl8g3BX3m4NKHQh0=; b=j99P6Cn3JtV+U/UdVq4u0HQ5s02BMZsI9QpDRToWUz8h0f655kwt2YjyhFjZXtmKa9 NWineaev/D9CRkix0oFnXpvxB674L3dbVA7IxK5jBR/xV2h3pKB1ZOHsQgZb6Fe7nJWi tcIull54AuyuP2/a3y+tmDHv/WzAI8ohh4XqB/XcSyRtdY5HRu0Yk9kiYppSa9mv36bm f72Sw2C6ncJleHMcQb8MZdvlgkN16nGwldHPqtJsSxH9qQ+9lpQE0OWNQAG7n16ryEFs 6Fuwq1UcEcZBOKWHGFvplzcZDSXnzQsjGX1Oxpz68w/DBKIUIk9nB81IfQbo3j7HQtT+ iHNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=KX2uvR1y; 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 y1-20020a1709027c8100b0016160b8d0e6si13038894pll.542.2022.05.30.00.17.53; Mon, 30 May 2022 00:18:06 -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=@walle.cc header.s=mail2016061301 header.b=KX2uvR1y; 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 S231610AbiE2SNy (ORCPT + 99 others); Sun, 29 May 2022 14:13:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230398AbiE2SNq (ORCPT ); Sun, 29 May 2022 14:13:46 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [176.9.125.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5ABF703F0; Sun, 29 May 2022 11:13:43 -0700 (PDT) Received: from mwalle01.kontron.local. (unknown [213.135.10.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 725682222E; Sun, 29 May 2022 20:13:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1653848021; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=6n/6v/VC4xmIj9vHN5pvSgXtD15Nl8g3BX3m4NKHQh0=; b=KX2uvR1yYFGMln4H+O3VuZyFA8BM0rUYCplNorT8hCqSIbPKLVi0dURDTJpGZU4W7uXftG qovEJJdKEfsPCSrE8i7ZkrzXfJp94npMskROTsYjoExwYIxwVz8wi5mEMxfcU2zVREfcQI oFRpz+yBdUqsoHO/+OdAZtL1rSkyQ14= From: Michael Walle To: Catalin Marinas , Sudeep Holla , Lorenzo Pieralisi , Daniel Lezcano , "Rafael J . Wysocki" , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Michael Walle Subject: [PATCH 0/2] arm64: remove generic ARM cpuidle support Date: Sun, 29 May 2022 20:13:27 +0200 Message-Id: <20220529181329.2345722-1-michael@walle.cc> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,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 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(-) -- 2.30.2