Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753710AbdDDKyX (ORCPT ); Tue, 4 Apr 2017 06:54:23 -0400 Received: from mail-co1nam03on0063.outbound.protection.outlook.com ([104.47.40.63]:19680 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753518AbdDDKyF (ORCPT ); Tue, 4 Apr 2017 06:54:05 -0400 Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=caviumnetworks.com; Subject: Re: [PATCH 0/2] Make cppc acpi driver aware of pcc subspace ids To: Hoan Tran , "Prakash, Prashanth" References: <1490941442-11954-1-git-send-email-george.cherian@cavium.com> Cc: George Cherian , linux acpi , lkml , devel@acpica.org, Ashwin Chaugule , "Rafael J. Wysocki" , Len Brown , Jassi Brar , Robert Moore , Lv Zheng From: George Cherian Message-ID: <58E37B38.2030204@caviumnetworks.com> Date: Tue, 4 Apr 2017 16:23:44 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BM1PR01CA0076.INDPRD01.PROD.OUTLOOK.COM (10.174.208.144) To BN3PR0701MB1702.namprd07.prod.outlook.com (10.163.39.156) X-MS-Office365-Filtering-Correlation-Id: c2f7caf2-07d8-44cc-6037-08d47b48e7d4 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075)(201703031133081);SRVR:BN3PR0701MB1702; X-Microsoft-Exchange-Diagnostics: 1;BN3PR0701MB1702;3:N66pTjJzFhSHqwUcIIhiLDYvKG4fzcohT0UkrQ2XkfB1+xsOzzyHte6/mRsoWOMLorjj7CeKrFVJ/wERRs8kerVqDt7gnJmF1juZ/ZJDD4OiJznj+O+oU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6OlQc8ZmakQBWfTbrPwKRB21Z/EPYAFQP8o9kjFGiQ1qcU+rFHVzTueiKbWP/IpJgAPGk+LMy/CWQJWabKt/RQKQlm4BYo3BrXmtFWOQM1QP90La/YtAnICRDInnI1mwQZtqtRm3xrF8LSGvSKWxx4+eqPGpMQa21laTfdUDeWtBvOhVytGxNAbvZN+GqTNYFiws6hI43VPN7LprFOqHH19JNYvfgVrkmRJa0xsKHg78Zyf+gl19QcRyet4akn949aUVa3C9tgDWOFvlH34S9QofMrTg4lYU5UReU6outflco1VbJnntTRjcGB/1h+Yh3Swhqid/iC+QBxTLz+/CiGMixiRNR8CfML70taWhgBa2qw4y3zI7SI/XzbVn7KD+QMqNzjpF59Bo6SKy7hxaQ4t1WQ1w6PclMHHXGjtApXz+Waj6pxB6oQc7rgcK986Sw3EZpn+ZFbgpZC3Di9mGTSOGIYB4Gs367KNbMNwSxJsS4mK6zL+hpGrWkUAGEi3WFY7M0kKDWksIMWkgzIQt8GyVs= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(9452136761055); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(93006095)(10201501046)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(20161123555025)(20161123564025)(20161123562025)(6072148);SRVR:BN3PR0701MB1702;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0701MB1702; X-Microsoft-Exchange-Diagnostics: 1;BN3PR0701MB1702;4:3qsJgb5byAwZ6z9LO1+TZ5D3QMMQ6bFKZy8CWo4/+WJmzX9KTIKOvnnGYmAvq5AhvxNlMZemCjBcAubQkxg1MD0vHV1PlMn7fuogM6E0IuXpCcZqRDe+v+6OuaROa1rl5HPtZrGcgcPKX83SvDA5+Ek+sSy/vvb/muL8xPA6stU3NgJLpl4KQllypIH0mrwGP1BwH2Fwja6FYYXHAG5kLhg3vqsImZQlPfk8+RaIheUPxqbH0Kfiwp+mjrLHwRttMX/lOYNFWew1M5wFPdZN1FhSWkDJMeHdN8AtwtunmY9pwIx2InUnR6Dn2v8yHXBK2cPvZeUw2VUR/BTfJ4/T7gmZZx34buh9HNSzXVMygMtMlnU0/aYqYpADG5dsiZn5ckN1xY53lGC8sGLaDIf4R6KbFrXUupM5jcP2C8rvEK30eXofyNuP4Slkrhx1bHahCZvns/D8szZsMxbtneNeFgf6hhNd2vfyHDT+PVPKzuP/RShRuvRey5G2vryORa0uN0WlMB0/UVkIb2xHKgwWVpud89gGuqegMGmSlcGYDqM4yxOpF+NSHwf2h5KvooZOoMYr94M2Qq+K+iKFBDwIxXlnPr5BroisoUqqVLUiYMuu9Rr19OsEePpRqmrrV6mR8w5XSYhvzp7MJTkqZK2Xg1dlwt0fMGuw3CWxlMVCYKQA4MfRuwpv0GF7xNBHvjZWHtbns0yWmspaOW32Ld0zyer9NpuKjnFMotuKmh7RTv8= X-Forefront-PRVS: 0267E514F9 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6049001)(6009001)(39840400002)(39400400002)(39450400003)(39850400002)(39410400002)(377454003)(24454002)(6306002)(7736002)(8676002)(6666003)(2906002)(6116002)(3846002)(305945005)(36756003)(50466002)(80316001)(7416002)(230700001)(2950100002)(64126003)(38730400002)(83506001)(5009440100003)(6246003)(90366009)(229853002)(54906002)(189998001)(77096006)(42882006)(6486002)(59896002)(53936002)(5660300001)(50986999)(87266999)(42186005)(54356999)(76176999)(65816999)(23676002)(81166006)(33656002)(47776003)(25786009)(97736004)(66066001)(966004)(65806001)(53546009)(4326008)(65956001)(4001350100001)(422495003);DIR:OUT;SFP:1101;SCL:1;SRVR:BN3PR0701MB1702;H:[10.167.103.57];FPR:;SPF:None;MLV:nov;PTR:InfoNoRecords;LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTjNQUjA3MDFNQjE3MDI7MjM6cjU3TnpQZVN4RG1qdVBTR2UvY0I4eTVL?= =?utf-8?B?My8yZXI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BMkFRaHpUcEExZlY2aTVk?= =?utf-8?B?TlI1Qyt1SDloczJQTlhkalJURlNiOEQvQjBXekxTWm1KdHFTZ0ZDTVdYeEJx?= =?utf-8?Q?kizLEhc4vzoGucZZm/dwd25B2X0ShgVA=3D?= X-Microsoft-Exchange-Diagnostics: 1;BN3PR0701MB1702;6:dUj+qIZAWRCidi47/OFuZUXB7i++BAXAhjnjtPZz/G/lsWAix5eM1u7XuI3siu4RL3cEOetHgoBRir+UoVnMv/iwzrGUrEC3MCo+D3q0XY+sgpvSsUcTz/qAKRaq32Pzg8qKNTAhsTY1gcWixKic1DhnpxjRg6bB+sbLduMo7uiSHkyVgu9vT9S5/YOqPNQKxpWrAeFtuUtmS0cA64Q+5VnD9PQyz4SdS5y4VLICYAMj/2GSzz+1GMqf0IzPPrWep+8HopOElTUG+NTDF2RW3bZa66dqQf8IoTlu8sG0IIWHgoClVCCfS0PCv96lUhMUIItz9Cz2OTwqG+RblTkChVcuMRefM8cWfP0qFNNGNb8yu4aPjv1UCJ6dVwqGMVaWETdho0ju5SlKj7mTlMV+yw==;5:KBZgcdIZjJf257AnDInVwcB983sybMWcGdvx7BoCYc6+2RjTdZEBVgVQAY63Rk0EzG9mtvIlcBoCjSPEH+VAX02R3jWwCcSbEMV7R0N+BLNiy8ezF6oK242t7jjuaNMlSLuNY+ZkRPjSM4froTd3CA==;24:tdgFa69mDb+IvPLxFgBzo1dki7Ez5nU2pq9N23PhuqRguDggRt3opsBgnDy4XHltQ2emRNgCZKQsbHRuRdywzfN6dtG81llcbLjdmCrc7pI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BN3PR0701MB1702;7:Z9TRYNtQSUTaJH9IIg4NmNAgLc/wurnBd0P7faDLnrqlvZwXzK7jb6Y/xJBUOWg/P/3qcEkOYkeveQ42ZH3HOqjoLj+povEVr8S9Crb9XZizOkptACMrSMaZMtgbUFoWcZ2NqvMGvpNFzenIzYOkJxz0b6a4DOyh8AtW8HDCozT+YowBkc3cSq3rdsXhO6QxYFNqgzAuumjWBpvjnfIiDUAP1QMMG+P4Udp7WdhB1C365mx+AqYmpQOGdYD78lOQeRJ4uD5Ghd+HBuQWaSB8bEVxFX0cuwvMaWRwDRmBweZN0GfxKzA4KW8/AZ1yEwe3hkz0ecmjUPpd5gslaUoCbw== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Apr 2017 10:53:59.0422 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1702 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1384 Lines: 39 Hi Hoan/Prashanth, On 04/03/2017 11:20 PM, Hoan Tran wrote: > Hi George, > > On Mon, Apr 3, 2017 at 9:44 AM, Prakash, Prashanth > wrote: >> Hi George, >> >> On 3/31/2017 12:24 AM, George Cherian wrote: >>> The current cppc acpi driver works with only one pcc subspace id. >>> It maintains and registers only one pcc channel even if the acpi table has >>> different pcc subspace ids. The series tries to address the same by making >>> cppc acpi driver aware of multiple possible pcc subspace ids. >> The current ACPI 6.1 spec restricts the CPPC to a single PCC subspace. See section: >> 8.4.7.1.9 Using PCC Registers, which states "If the PCC register space is used, all PCC >> registers must be defined to be in the same subspace." > > Agreed with Prashanth, beside of that, spec also says "To amortize the > cost of PCC transactions, OSPM should read or > write all PCC registers via a single read or write command when possible." Yes indeed the spec says so but it was not at all a scalable solution when platform has more number of CPU's and CPU domains. That is why we took this approach. > > Thanks > Hoan > >> >> -- >> Thanks, >> Prashanth >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html