Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp352873iob; Wed, 18 May 2022 03:45:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVHV522uWUq8pID2NmciSH3jVnhCY5h25an+SQ8BTauRfvGalcoTqZsmT13zn/A+zc1IF3 X-Received: by 2002:a17:90a:ee90:b0:1df:3cea:a6ce with SMTP id i16-20020a17090aee9000b001df3ceaa6cemr18578599pjz.156.1652870710685; Wed, 18 May 2022 03:45:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652870710; cv=none; d=google.com; s=arc-20160816; b=eLPc2qcPHxGQPZUgdgizKD4vCZ5u8W+GVP0waeE2Txki5PImAK0eOx2uXmsDMBVjMs 2AkwYdfT80apvhM5SEEhEHhlMUNrbqfShFlxRqnASQbBedUxYlwHSStI88rtyehBw4g2 9DqMqdJQYuaQPO+sCCElSX1EWTYfya3npH9W59JqS/VMq8Wx3mJj8GuzO4OHNu4QiiNG 5DRIzNRC4vPTREKhOgaKMT4GykoBeXPN6SUjSaVL7Lo0ehVJRmTS/J7W9Rd2unkfd3re PdwfRgC5hFJarNbmkOusK3/Q1cafEKVMWezk4rPRbktZIdLoSg876uekQk7tCI1RKad2 NVeQ== 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; bh=gtWMPTWFqcN0/4TpfxYnIoi7C74FmKUNRCQ7AGsCSug=; b=J3X+5JjuU84W/3lgW9LTL6LAwtK+00RaHGIF4LhQbXvbQnLUxr4VqfMeGC4ruegrcd 4WrpYUvcKlq3BGHmG3ShNIKjO0hK+wxhbn0GZxNfr/NZSV/ZBrDVIvVll5lJ/oqslrWY B3gvpqIurVfEw+XxRDDRVBMbZrYe7V/xm107bzj2nSwKQ+G0JMTDnq2R9h7RSeRe1Me4 V+C6arI2GCCX4MlpzozQD88YV7ZW5FTcHD144WQlueY4gOVwgL7r0BnRClzgmzxzCKZu SXx59XLmxOGz3mIQT3Q6e2l/yK/OMmaFxMqDzm6lBIn763wGEXOW64N/wQ2EocXAMIHT mf1A== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id n1-20020a170902e54100b00161c0291b76si2525616plf.319.2022.05.18.03.45.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 03:45:10 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4A3843135F; Wed, 18 May 2022 03:35:04 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235109AbiERKet (ORCPT + 99 others); Wed, 18 May 2022 06:34:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234980AbiERKes (ORCPT ); Wed, 18 May 2022 06:34:48 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7AA4426F8; Wed, 18 May 2022 03:34:46 -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 3CCF723A; Wed, 18 May 2022 03:34:46 -0700 (PDT) Received: from [192.168.1.11] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DB1DF3F718; Wed, 18 May 2022 03:34:43 -0700 (PDT) Message-ID: <16566ef8-15d3-bf1b-37f2-c0b94b0493bc@arm.com> Date: Wed, 18 May 2022 12:34:24 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH v2 1/5] ACPI: CPPC: Check _OSC for flexible address space Content-Language: en-US To: Viresh Kumar Cc: linux-kernel@vger.kernel.org, Ionela.Voinescu@arm.com, dietmar.eggemann@arm.com, sudeep.holla@arm.com, "Rafael J. Wysocki" , Len Brown , Robert Moore , linux-acpi@vger.kernel.org, linux-pm@vger.kernel.org, devel@acpica.org References: <20220518090901.2724518-1-pierre.gondois@arm.com> <20220518094243.6oxbdmf226jvqoef@viresh-thinkpad> From: Pierre Gondois In-Reply-To: <20220518094243.6oxbdmf226jvqoef@viresh-thinkpad> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, 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 5/18/22 11:42, Viresh Kumar wrote: > On 18-05-22, 11:08, Pierre Gondois wrote: >> ACPI 6.2 Section 6.2.11.2 'Platform-Wide OSPM Capabilities': >> Starting with ACPI Specification 6.2, all _CPC registers can be in >> PCC, System Memory, System IO, or Functional Fixed Hardware address >> spaces. OSPM support for this more flexible register space scheme is >> indicated by the “Flexible Address Space for CPPC Registers” _OSC bit >> >> Otherwise (cf ACPI 6.1, s8.4.7.1.1.X), _CPC registers must be in: >> - PCC or Functional Fixed Hardware address space if defined >> - SystemMemory address space (NULL register) if not defined >> >> Add the corresponding _OSC bit and check it when parsing _CPC objects. >> >> Signed-off-by: Pierre Gondois >> Reviewed-by: Sudeep Holla >> --- >> drivers/acpi/bus.c | 18 ++++++++++++++++++ >> drivers/acpi/cppc_acpi.c | 9 +++++++++ >> include/linux/acpi.h | 2 ++ >> 3 files changed, 29 insertions(+) > > It would be much useful to get a cover letter for this series with > what you have changed since the previous version. It is almost > impossible to find that out otherwise. > Yes indeed, sorry for that, the changelog is: v2: [1/5] ACPI: CPPC: Check _OSC for flexible address space - Renamed OSC_SB_CPC_FLEXIBLE_ADR_SP to OSC_SB_CPC_FLEXIBLE_ADR_SPACE [3/5] ACPI: CPPC: Assume no transition latency if no PCCT and [4/5] cpufreq: CPPC: Enable fast_switch - Renamed CPC_IN_SIO to CPC_IN_SYSTEM_IO - Renamed CPC_IN_SM to CPC_IN_SYSTEM_MEMORY or do you prefer to have the serie re-submitted ? Regards, Pierre