Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753630AbdFMOQ0 (ORCPT ); Tue, 13 Jun 2017 10:16:26 -0400 Received: from mail-bn3nam01on0049.outbound.protection.outlook.com ([104.47.33.49]:7309 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752515AbdFMOQY (ORCPT ); Tue, 13 Jun 2017 10:16:24 -0400 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=George.Cherian@cavium.com; Subject: Re: [PATCH-internal 0/2] Make cppc acpi driver aware of pcc subspace ids To: George Cherian , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, devel@acpica.org References: <1497363313-9936-1-git-send-email-george.cherian@cavium.com> Cc: rjw@rjwysocki.net, lenb@kernel.org, jassisinghbrar@gmail.com, robert.moore@intel.com, lv.zheng@intel.com From: George Cherian Message-ID: <593FF3A3.9060006@caviumnetworks.com> Date: Tue, 13 Jun 2017 19:46:03 +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: <1497363313-9936-1-git-send-email-george.cherian@cavium.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BMXPR01CA0034.INDPRD01.PROD.OUTLOOK.COM (10.174.214.20) To CY1PR0701MB1711.namprd07.prod.outlook.com (10.163.21.13) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY1PR0701MB1711: X-MS-Office365-Filtering-Correlation-Id: 27af8d57-a5de-49d1-2f1c-08d4b266c3b2 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075)(201703031133081);SRVR:CY1PR0701MB1711; X-Microsoft-Exchange-Diagnostics: 1;CY1PR0701MB1711;3:P+DQWhpMnaL5pTPQP3n+6Uq/ikaMT+Fmo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huysDQXQLXV+k=;20:bZHtDMWf48rkytmtMwdfFQRqF6qVajKDd0pN7ogwnhR4Oa35U3VZtsW/5O3qfbhwnVFVODpkAn2l/r34WYZsLsp74yruo1HadRM5Xjjd162Q9+1M4R81FO7M/SHEeBnUZaJnsYXpS4mGbxpDHTyc40x7FQfo2EBl+5yJ96wHQbs5kGi0uDv10168S0adn6OZCn3wGjl9qRPqtslLgeOmL+K0sVrmZu9dE014iZZFmjiULX7L7cWW2gpmRNLQp0C5KhwXf0KxCM3XjoS3vlvgomjv1Ixk0eEUwfZnGLYM0pbiqXOtfLPMuIS9E5yWhc5hrcYoE1IYGTNhw0W3XCsK6J/BmYG9Exn8d377REvIBzBiOWF2GFsGeJTKH23cw1e1GgYQLEHBt3oB9CgSxIcDCbcUXAT/wAs79T9etyq/m5KNs6c5s4kDcXHEhTAJyyHzFxuaXPJcwCnnuv2TtfQnC+noErotzoyzqjoqPcXQMbNBQAg6FUoj2Q/zbGigQXfqJpoYAzjCncGznF/GHK3lsAZQtSW3Nc6I6B7k+sB/btncY1e7O8NH2xSO6MyBPY/vkhJM3qQLpxyHPRdNA7TRvz+Wd81jjbAsUC2TOBWntLA= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(6041248)(20161123560025)(20161123555025)(20161123562025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CY1PR0701MB1711;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CY1PR0701MB1711; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;CY1PR0701MB1711;4:752AZoMtwCjwfVueDy9jcW5onvO+DlV0P89U?= =?Windows-1252?Q?qXu7cNiJL0MDzokFuIkSz1ty6i9s2B7uv1XNoq/GPjN2i2aBNLlqfnAe?= =?Windows-1252?Q?N/76m1djPOt+/T5yQ/93qCaPBwtu/HS+ERTIvl5qPCVx/lY0mTOKNMBi?= =?Windows-1252?Q?pbJqiIy8r5JQBRZzpJgcBl47AmGEL411PLTIsXn/MfSha0Ykd4b62YBa?= =?Windows-1252?Q?kcQM3ZE5ucICy+aX499fyQHqEt6xY0NaAFFzlHZwA5/ro9fGDaAFcoZ7?= =?Windows-1252?Q?9PZLj4T++KyGBGJ6Y2ps+Kt8X8BB2DsN9UiIGNDBwpv9BffHvA0KAMm8?= =?Windows-1252?Q?6/OiljrIdj+f/mQOgVs5GPIUKBdgdXPoyCuzmjQzWPEymV7KdGj2cqgk?= =?Windows-1252?Q?N9LUce0ojA1a7gkcNXd6Ebbnn314jY9PynyniNHHLmjFWafsC+DSfITN?= =?Windows-1252?Q?95nEEEZ06EPtlXOw4nijTi5cfovZxfHM6iAtHur/tqkcYq9cNGK6xgwn?= =?Windows-1252?Q?zIJocGeD10zLF1TKBxxBky3Agfumu8+3ybmkYQuStC3zudANYnoDCYYc?= =?Windows-1252?Q?rXJ3RsQXR6jnrLr6sXpsZq+zAcSeNJUQuTuRAfwUl1uByThqhaYBrICu?= =?Windows-1252?Q?/PoJLYpmP6Gr92fXbd5kPoP+I45oLDigv7YBF7biFLL93hvFLU26g49i?= =?Windows-1252?Q?noQlILsR1Li7FPbQVViMXEnpM9y5QDp2Dbdm4jlsbkUNHvBq+9PQjcq4?= =?Windows-1252?Q?p7L3gNZeIpJHAwkLulxp4mgS/YeMr56XLhndSR0dlWyCgag5d1ng/F3+?= =?Windows-1252?Q?bXDLGuC9frAzYHr81dil6KC3LGirB6yO/MOJY1dJMBJmIdI5x8yIsbOQ?= =?Windows-1252?Q?LPBekNtuI1oivhtkCrefQtNskYwgMEVyoJPGcsaIHiztQ2bcf1HX2m6P?= =?Windows-1252?Q?uEo6m3uNL0hXs1JQ2483CDwgdvmu++ouK6GkR0ZolsfnS5XWlqJKO8C4?= =?Windows-1252?Q?qNJzmyHZO5UIjpb+VhlaR82MES4ke7M9aY5FurKi0knNPdSY7pYmXH3i?= =?Windows-1252?Q?7Cv+jUXIageeu5Qo4mOXlmcthNbG0cKYVxhHSXVbbQ2OEDEoQIeW8KHL?= =?Windows-1252?Q?pBuUiJJVlyL7MpRFbmJFM98ThzjVucz59WHqSK3AvDMNBH8X8lwxQ1dC?= =?Windows-1252?Q?i0BUPn8sYMmT7z/D2hcuf9FHB8xY4QM=3D?= X-Forefront-PRVS: 0337AFFE9A X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6049001)(6009001)(39450400003)(39400400002)(39850400002)(39840400002)(39410400002)(199003)(377454003)(189002)(24454002)(83506001)(5009440100003)(7736002)(8676002)(81156014)(81166006)(305945005)(2906002)(66066001)(36756003)(47776003)(65956001)(65806001)(33656002)(5660300001)(77096006)(6486002)(189998001)(97736004)(80316001)(6116002)(3846002)(4326008)(90366009)(4001350100001)(230700001)(106356001)(64126003)(478600001)(72206003)(105586002)(59896002)(53546009)(25786009)(76176999)(68736007)(87266999)(50986999)(54356999)(65816999)(229853002)(101416001)(110136004)(6246003)(42186005)(38730400002)(23746002)(2950100002)(53936002)(50466002)(42882006)(6666003);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR0701MB1711;H:[10.167.103.57];FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;CY1PR0701MB1711;23:zTJr1DHiRu+SxVP/oxU3KoD/q8XJHNcIWLX?= =?Windows-1252?Q?kx6kL3+JBsNWsAXRrajXHL8A49ZE7uyS/t4UNlhv3NPkSJE5av5YuDS5?= =?Windows-1252?Q?zmo8Xs279irQmZyZrSweKTbIH9GI/mZqn/qdrdxldgLzTDbaKFQo51wV?= =?Windows-1252?Q?eHvdzOnf0rj3BkUIezT3/PWV8t5KvMI1Y5ub503Lorlm0Gnm0hAWbEZ9?= =?Windows-1252?Q?h/vmPcTCUxCvz1KDjzT02tOeLusZnqVuCqWnD0nrSdcoL1wR1D9s7Bbf?= =?Windows-1252?Q?BdDla54z8QnWLE9N7B1JljJbUbBwTW8QNRXn4IYwupua6jutAEGoWMji?= =?Windows-1252?Q?hwUc3cVYvmyvQUYn9CkVbIP+9wzBsAx6j1J3Ti+qXdh3nxUlhSSJ+v5q?= =?Windows-1252?Q?mbStT29khinPbhZt6f9hHrPunZBqO2E43hXaHZFdXHS8787PH+OdHrpJ?= =?Windows-1252?Q?KpSNFjqRbq83ZDp1YF4eOytsj+o8x8jMEynjntpBu9HjBs/vu9HPuDNx?= =?Windows-1252?Q?rBcsVw1Qdr5XCuns4E/OQCvJXsy8Ro/H/xcZgch8NeyP5o0f7VfnvVk8?= =?Windows-1252?Q?A263GYdI9gcfVTaEiRrE+nmzc2pcr4CWImRrOrlQ0JeuxBlNJJtbwMKt?= =?Windows-1252?Q?6tFPvgococNkintAUM4VFRTdALLpE9gK/3U/n+9Z0GcokjQ6985r0bm1?= =?Windows-1252?Q?lAMpeZRgrt0puqM2NjM7rsbcoi29rV0AzwntG+qqA6Q8S3RRVIRgwgQI?= =?Windows-1252?Q?5WldzU9y+o9KAFfbRKIRcMhG3wCjX1+zp5ZznduIe+7qTDOeprWB6H50?= =?Windows-1252?Q?8dBGzedWpswJugPw+iErraeFvU4CoVYz4Yk6wBxP9dXVEKdZJDMDpkYf?= =?Windows-1252?Q?kh172zyLNh7Z5zZexc/HR1Cl/huo4jQEuFxSoPXOlLyR5Bzseh5npIPd?= =?Windows-1252?Q?yOiODjLGfEturCDtxLo3MGKDg2ILx5CcqYKMsf/nevMSS2AErLXOcnt7?= =?Windows-1252?Q?IyB97jSR3sS+aRKW3+sni1RLmsufOcCKHqBuTyM62z9DJASgyPS2PbRj?= =?Windows-1252?Q?h0t3xQJBHnEhV8rnYii+q+wvTcVb7mlMNdGhvJpP+q7OWHv3b8xo+Sxp?= =?Windows-1252?Q?xFn5ImrQBnNkHtWanbcSzo/v+831ei8wYe+mAwHDUY21sO7SCaockixy?= =?Windows-1252?Q?cpD7575C7emhJtus2K756F7Dv5VH76wB9fvOvJVHL6jfHEDLOxly4Zzz?= =?Windows-1252?Q?LKsASs0r4TG+pCAS7MGEflEAQtjg4d5N17a6+d4LOmma12ZzPwjKjSQm?= =?Windows-1252?Q?s+GEfRtnI3myH6dvxYG4hFmDD1PNTjA3E8ydKtVBliSzaEl3E1JLBrRW?= =?Windows-1252?Q?Ftpk4bnDXVmcF7xEPVOasdYMNRdBOy2fUyH7/k2BiyQrcbuH9AFo+9F2?= =?Windows-1252?Q?YSE32Hh2J+jk+vlYE5dxAA1N+M0qJ+4SWKF3Ra6CuRoU1OPiQWIp3D5C?= =?Windows-1252?Q?cYZh5VXAiSgjfv7DAME3FeRFxIu0uvMVSWr/7b/G05dI0bQ/bBH9Kc+9?= =?Windows-1252?Q?jteYFH/0lP0LzmcBAiFmgDaZbebvQK/Vxmsaipz0ivaTMxMpfUAR06FI?= =?Windows-1252?Q?gD/MC5F3JfqOCTwQknFzZ+RjKiwjLyjUo7Dd4JcRhiHJOB+ykNpFaQT9?= =?Windows-1252?Q?BpLGUvkgAAA=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;CY1PR0701MB1711;6:65TRRD++4ULpPqTyO9xeuflRa0Y4H5lbiRueW8TLVGoy6p5LGvPRxfHIESM2qKxc8XkTpipOVJz9V8RMB1tUWtTxuj1XCCWKW/+Umc26OlO6Ys4tzl9EiYWT0JPen8GnQiOYDTxevR8G6umTxbgPKmMKSMKPYHIRkmMVTr9kTq1/jcqBZsrmeEKkZAvMNm+2AtYzvf/2dx8P1YU2a3MznRNfW5LRX+eVqS4RerOiQvziQlUE+VQnRDXUAJzdI1nALuMgqAJev8Za8Klvoco/YSjOG5/djxt2jwpkvMZoVXds+i65NvgjZ8636gq/+JzjIwB7YKF4TjgvY/1pRG1AM/SeQPMqoJdA3LeqB/89h8CcFumCjp1vzvUfwaGG3MDTuDWeNYH0X+hoaprYnOZjRpmwnF6Y9mQog1my3NnT8Mh6ymgwfT1BNHazQahl9Mn4EcAEx1ZAC4D/LiwUpXh7XMdFwc6+R71seWnqVtKtvXET9zWTq8TsZf4v3BWX3J1iIKMN2Jb5Yw/cVC29KhFyfw== X-Microsoft-Exchange-Diagnostics: 1;CY1PR0701MB1711;5:6tvjheeQJbJcioxVbABH3Hej55kVoiN4AgG4uD6aAzrIxxvY0pJzavS+M3OqSmwHcIP/+Q3qUQKJKSXfTUF/Ue1Fe4b3kHEIqnTrCBjlxdawR9MzHWg5ccz9PXNFPT0QccnYuwq/uyJgTB5N51lYSpIqIcSqaz6uaU2qMqy2tZjkDVmsPKMia9bPGJXs6IJBmUKEkohvKNMJElenfgubqUphi+LunhQ5oWAUsyRpC7ZP3yxnxy6qmzguVh1cC45mldE18CQj1wdGRegwrdkIT518lRKLPo0htIVRlObFN4/LspBgjthu3U6K9Kje2ULiCK6H02a6Hln1JzL9yA2fjzdkFlF6DPkMlMFUU0wqxQBdqynTunR4alzwW5JgZRh9I6Hhaxnp4jagKI2JBQ47Co2LJT+pBMJCqaV/PHrLSqMq6bsKKoKWi8R3QfoGtJMrXn8S98hIbCYnC1+UA2QiyiAudDFWrkhQfBkBKPzTn2UrFoZGbA7me0RDoV+fw62/;24:ihGOgstY9buCATaHuW9dlgcKUyTeAXIPZDHFasO6dueaC81S4Jcaw/vr6RfUl5m7R3hwSMiUqLo1XWNySKrwTI85NkzTFBrLWUjFV6byOT0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CY1PR0701MB1711;7:KpxK+o2uBbptfiIdOPrz5yAhIR5JGUELOzbJU4Nndlx2JgDJPBw60j0e2Yfg7tneqvayqti7f/nNrQQ76HYMv5mKBmWXraE8e+UsivNS7XeK3yFeaQ2mWDl9RDBzV3tj04GO1REoVVV4OLO0m7A1bPs7rmJcmeA+YzyQsVQ2E+9sEpZhAgrLmR/wB6eFfUnDvFkzxJ1fUtMUPK6z6+8CMbRYcnIa0uA5uXKFjIz+qHIasWuWewqVve5f4P4EQtd2vCxx9Oa/aAsC4XsNKf/54aZJ61T9/BAVWGo0pCGQWjnN3LStcuvlEvjGw3fwBBdXj7TCS8mLdFfC9fA0rb8XuA== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jun 2017 14:16:17.5880 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1711 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1085 Lines: 26 Sorry Ignore this series!!! On 06/13/2017 07:45 PM, 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. > > As per ACPI 6.2 spec all PCC registers, for all processors in the same > performance domain (as defined by _PSD), must be defined to be in the same > subspace. The series tries to address the same by making cppc acpi driver > aware of multiple possible pcc subspace ids. > > Patch 1 : In preparation to share the MAX_PCC_SUBSPACE definition with cppc acpi > driver > Patch 2 : Make the cppc acpi driver aware of multiple pcc subspace ids. > > > George Cherian (2): > mailbox: PCC: Move the MAX_PCC_SUBSPACES definition to header file > ACPI / CPPC: Make cppc acpi driver aware of pcc subspace ids > > drivers/acpi/cppc_acpi.c | 179 +++++++++++++++++++++++++---------------------- > drivers/mailbox/pcc.c | 1 - > include/acpi/pcc.h | 1 + > 3 files changed, 97 insertions(+), 84 deletions(-) >