Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp436977iob; Wed, 18 May 2022 05:35:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGxFn/GikIfQVpnCYx1mxLYkEIUF/2vBrUqsSGgrWR+h+6i9KYIMZh1PrwHhf8sELgrb/Z X-Received: by 2002:a17:90b:1c0e:b0:1dc:45b6:6392 with SMTP id oc14-20020a17090b1c0e00b001dc45b66392mr29974753pjb.236.1652877337800; Wed, 18 May 2022 05:35:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652877337; cv=none; d=google.com; s=arc-20160816; b=Cnc/48N3bW6G1jNPIvOIV3HQ02dmRMgNnAEw8B+MSvLQaJLpDm82TtIvXB11RUrJyq TAaJQYriQ2fTleMrXVwL4Gf0l0s5/5Y4d3LApJ1v3QnFMfNhk974uAnJZtmQLdQM6Fae tjH0AZBxi1xh51yAg3/nSuSUQKyExOFE4xITfLEhY5smMU9WyPG5DJq0D6lPfDIXSDx5 yGIRNQWDhhnI24D1U8sB5BVnHGMyeGu3++wz8L9h8SZS5lDWZ1mQJBnwU1W9WbURN3hF OWJRyOthS/jWn6b/o5eqdgC4UbpnevzDOMN7UM0+cTxPCJBI3Tu4/q+X6t1+A0+7lPDg hMBg== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=vbZ35HTc/Z+9/YtPffCcXnSQ34v/inirF9FoyPpxltg=; b=VDcCddLgbYyxrg+onK8/kH4+5rVgbaxWy9TGC26r4JalNIKpQm9jrYViNU6urAzSSS D8R933Tyugqg4U9T3l926vV9fajpKABfY/+JS3ArCf3XvRgToVSHhdpfww/4o+nlgjhZ ZreEjWsR5T11B8If4xv0StX5kyUu+hYDrJEGgBZ9MVwSMVCdoHD09/AfMLbbJaQG74pY r3xjP5oOkDtrprGUD7KBxnJEY7tbaj27aX1vtR/F/XxJHFPUL8IR8WbR+AIiC7HDKRiZ HKUbbDhCa6qLMQItvgzetRrU0s814UT85g+47CxUzedP7FRRu2LlCRDYfYw/PDkNwYLq cT/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XMZgvjHg; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id f35-20020a635123000000b003ab54eacbbdsi2181016pgb.255.2022.05.18.05.35.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 05:35:37 -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; dkim=pass header.i=@linaro.org header.s=google header.b=XMZgvjHg; 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=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 BA5BC19FB36; Wed, 18 May 2022 05:32:12 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236741AbiERMax (ORCPT + 99 others); Wed, 18 May 2022 08:30:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236635AbiERM3x (ORCPT ); Wed, 18 May 2022 08:29:53 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1A71196698 for ; Wed, 18 May 2022 05:28:26 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id p5-20020a1c2905000000b003970dd5404dso983423wmp.0 for ; Wed, 18 May 2022 05:28:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=vbZ35HTc/Z+9/YtPffCcXnSQ34v/inirF9FoyPpxltg=; b=XMZgvjHgjIEqx7BPEB+Mdfhrp5/F6NWKbVG3Q6DHC2nGEPXEQc90ld+Gz69p1flrqV psPqnkkcTUVGnyHvizy90TW1A/mBQtY+zxcholbkSylys2Fnwya1odyM8BuREjk7joN/ 4HBkKzziHy05hSlCMOE1nk1BJZ4Ialira3K2Jmw4xD9CwPdOdwzoxH8cc+4H4wnDhpnT VEQXw3FLimcMlPr9IArItdoBeDkD5Zfhi5sEiJL8EtWCtkYANpQPmY5aoTECOXjmSQ9v tnAsF5JNzAXVE8bou5eMoBJ+QYSCFHLIYVjE+OjhEnTW32uZN7AvpjybB1IRbckAh68v 6qqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=vbZ35HTc/Z+9/YtPffCcXnSQ34v/inirF9FoyPpxltg=; b=2xuBYkVtCSFB9XLz6a8HRqrqmanUYDG+IOmW6vrniCTssA5T55xhhJIHkNnPouRuuY mtK2/D6Uw+tNtAHyUoq6QmSQ9gL5pSjOxNxbtJUF49sJyK8ogzhYjuPGlnZC4w0xFB+J mDmP8PIHhRXfn48XHkr9iqQk4FIXrmd2svjyU1fyOdIR91R6IbsqLbGqX8X63ygyXrMx 5007WmuwIqkLv3v5CAurkfqDSW9YebKritxrfmzcWAGzz8nGipVKUCDnEHwTcp80mQm4 lfHXxVKDVfxZ3nEEFU/F1gMzW5RLKZlcFNAJRyf8ZtGgzI/XP+g7AXD9lYVorbPz0HHj RQRQ== X-Gm-Message-State: AOAM532LJhwWdqR5pAWPuy3ZslLNtIJluwiMvIHtAm5h4zNLanjbWhvy Z+3O+M4f8Llj/G6FWOFEzR8bnQ== X-Received: by 2002:a05:600c:1c17:b0:394:7ecb:5b3a with SMTP id j23-20020a05600c1c1700b003947ecb5b3amr36479002wms.185.1652876896879; Wed, 18 May 2022 05:28:16 -0700 (PDT) Received: from localhost ([212.187.182.163]) by smtp.gmail.com with ESMTPSA id e4-20020adf9bc4000000b0020d0c48d135sm1969667wrc.15.2022.05.18.05.28.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 05:28:16 -0700 (PDT) Date: Wed, 18 May 2022 13:28:15 +0100 From: Viresh Kumar To: Pierre Gondois 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 Subject: Re: [PATCH v2 1/5] ACPI: CPPC: Check _OSC for flexible address space Message-ID: <20220518122815.7wzbzi2u55eq7tpv@viresh-thinkpad> References: <20220518090901.2724518-1-pierre.gondois@arm.com> <20220518094243.6oxbdmf226jvqoef@viresh-thinkpad> <16566ef8-15d3-bf1b-37f2-c0b94b0493bc@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <16566ef8-15d3-bf1b-37f2-c0b94b0493bc@arm.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 18-05-22, 12:34, Pierre Gondois wrote: > > > 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 ? No it is fine for now :) -- viresh