From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755184AbcBVNqh (ORCPT ); Mon, 22 Feb 2016 08:46:37 -0500 Received: from foss.arm.com ([217.140.101.70]:56934 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755123AbcBVNqb (ORCPT ); Mon, 22 Feb 2016 08:46:31 -0500 From: Sudeep Holla Subject: Re: [PATCH v3 4/5] ACPI / processor_idle : introduce ARCH_SUPPORTS_ACPI_PROCESSOR_CSTATE To: "Rafael J. Wysocki" References: <1449065446-26115-1-git-send-email-sudeep.holla@arm.com> <1449065446-26115-5-git-send-email-sudeep.holla@arm.com> <12469811.iv3SctjXxl@vostro.rjw.lan> <56C465CE.50403@arm.com> Cc: Sudeep Holla , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, x86@kernel.org, Al Stone , Lorenzo Pieralisi , Mahesh Sivasubramanian , Ashwin Chaugule , Prashanth Prakash Organization: ARM Message-ID: <56CB1132.1060202@arm.com> Date: Mon, 22 Feb 2016 13:46:26 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <56C465CE.50403@arm.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rafael, On 17/02/16 12:21, Sudeep Holla wrote: > > > On 16/02/16 20:18, Rafael J. Wysocki wrote: [..] > >> This way it all should work without any new Kconfig options. >> > > I agree with you in terms of avoiding new Kconfig option. However the > main reason for adding it is to avoid declaring dummy functions and > variables on ARM64. > > It's hard to justify the maintainers as it's totally useless on ARM64. > E.g. boot_option_idle_override, IDLE_NOMWAIT, acpi_unlazy_tlb, > arch_safe_halt. > > Other option is to push those under CONFIG_X86, but then I don't have > much idea on what are all needed for IA64, so took an option that > encapsulates everything under CSTATE feature Kconfig, which is not user > visible and selected by archs supporting it by default. > > I am open to any other alternative. > Whatever alternative methods I tried so far ended up much horrible than this. So any suggestions are much appreciated. -- Regards, Sudeep