Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752951AbdCaGY3 (ORCPT ); Fri, 31 Mar 2017 02:24:29 -0400 Received: from mail-sn1nam02on0049.outbound.protection.outlook.com ([104.47.36.49]:48006 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751311AbdCaGY0 (ORCPT ); Fri, 31 Mar 2017 02:24:26 -0400 Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=cavium.com; From: George Cherian To: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, devel@acpica.org Cc: ashwin.chaugule@linaro.org, rjw@rjwysocki.net, lenb@kernel.org, jassisinghbrar@gmail.com, robert.moore@intel.com, lv.zheng@intel.com, George Cherian Subject: [PATCH 0/2] Make cppc acpi driver aware of pcc subspace ids Date: Fri, 31 Mar 2017 06:24:00 +0000 Message-Id: <1490941442-11954-1-git-send-email-george.cherian@cavium.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0081.INDPRD01.PROD.OUTLOOK.COM (10.174.144.149) To BLUPR0701MB1699.namprd07.prod.outlook.com (10.163.85.13) X-MS-Office365-Filtering-Correlation-Id: ed95aa13-94ba-42b4-f91d-08d477fe9258 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075)(201703031133081);SRVR:BLUPR0701MB1699; X-Microsoft-Exchange-Diagnostics: 1;BLUPR0701MB1699;3:TLcZTEdtPczuJzwLVI1TLK1rQ1IbF4fF0BMbkE1l9L2c3FJD7en84N2a6ppt1hsI9VkRt/cuaq5sXKQSx7Wjht2HVjUr2FoHTRjMvLzhxLzOUDydaXdEMmXImqKjGLjCEIc25E20IYMVAvsHR3G/xXGzSbjCLyt1rfJRGdELgy56ps/yPcT4rsKByMqSBjjVwQYh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Y6HqehWw6UNmwln54Hl7fQSf8Vx7TkNvJY9e6vygpXodp+aaQgm+0GX8hz/1184cDkYFGWWxhUtMl+TVKpungZW4MFXgPezWZYhnjXFU76sSNFzPHC+BY69QA4UJlacoqZPQCxpGCcFoMTtIRfTvHH1pMleaWfiwuvlcLxIdZxnhHV7adiFwx8DTtmiR5FkZxmTl9mP4YUz56nvWMHuH5HGyQmXTlGK3v/UWW6SR8roKJAB4UPB1fenRreLQ3Ub1Yz4U7gWiaW5cqQF5KjddZEmCoc8wfCUOHzrKNbMzZupt1d7hTkMWNVXr2NiatWNXg4aSqtX0nj0flokx X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006091)(93001091)(6041248)(20161123555025)(20161123562025)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(6072148);SRVR:BLUPR0701MB1699;BCL:0;PCL:0;RULEID:;SRVR:BLUPR0701MB1699; X-Microsoft-Exchange-Diagnostics: 1;BLUPR0701MB1699;4:grAOusMBUHRDWlkvH1Rcs3qNVDyin0m02w+Z4zQaX9ry2wWVgvq4R6rEmoHCojE0vHTXkMLoseyhkPd7sPFFDTzZGnFG9ximzWdquerSq35HHqz0NuVUjtBpbO/EoyaZO3ZGmEmgbtkOgswvNJ+CqWh4NLwJftpx8pbH3vcmTWJJpYEkQ2Oz1Ou2NgKflfTmWxn0qs3rT6Fh2JpTLb6wTuva4T9COhKnMruD4m0OO11054pUwr4kxpxkShhFPWyGWfwH4yySnQr/oLQ8N7HqgPpgWnJDAkV7ixiUifj9IGftBEuJjoZDpHdclf6GlurRFRqkyw8A0VR1INjJ5xYvY187HiGLHBIWjH3C3zWyh0aWbOVCo79POZ+SaJeteyWzPUMfwm51Fs3pPJl/ypamy09oPERLyRkTkItxraDGujz60khmDWXns1y64ycU3j1EXW8/a+dJHtSyFSOLIagPbUQjX92H7UFIKRsIEEOuedU6mtHtYBmDZ2QSWJxLeuCrK11/fliA0lZgooXCVP4OrUbSVH4xXiiLTHimmSqGbkyYduSWA5tebtN1RDX2ScUiWznk2cfMi9PwoDG4cBLi7Ab9d8aNc/CDTRev8qeOuho+IvThHXI8XeYsN9AAy0xPa7k6POfR5LZIvtli5nBoyJQfz2F+5kVmaXTzQfoq4MJatjNReYht/Kr26OvcfB441Pmarnm1PDX3d5fAHOHkcQ== X-Forefront-PRVS: 02638D901B X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(39840400002)(39450400003)(39410400002)(39400400002)(4326008)(6666003)(110136004)(53936002)(107886003)(38730400002)(6486002)(6512007)(2906002)(86362001)(25786009)(6506006)(5009440100003)(50226002)(8676002)(189998001)(33646002)(42186005)(305945005)(53416004)(50986999)(6116002)(66066001)(3846002)(5660300001)(36756003)(5003940100001)(47776003)(81166006)(48376002)(50466002)(7736002);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR0701MB1699;H:ubuntu.caveonetworks.com;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BLUPR0701MB1699;23:hDo8pU+5aDB5Xn0uQeR6PO9Z4aSiJeffOt/XyyG?= =?us-ascii?Q?txZTdNIS8Vvcddd5i5b/Rq6Sij2uq71yh+0diaeSH5BwhTe/1xuAQDt34Wm/?= =?us-ascii?Q?bnrtZZjBrw6jml1kKix3fpPBsiHNOpJZEMHZFJxHq4mQ6G+ejxyRJj4Uqlb+?= =?us-ascii?Q?7gWsPhpdIGfCxPaGnClxcvMJl3lLDwCj2cz4xLL10USeZSj9ByrGJY4CjOBY?= =?us-ascii?Q?zytbYzGQrpqrylPZysW2V3BEPcPSsVfIZXFompQqCTBPzyIa8RmXDayc4Lwn?= =?us-ascii?Q?/haYXm5mOnO4leRTZDFkiF6o7Zoh3gWxbmm4/81UZcT4XVhILRnZDEk7TFtB?= =?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+PYtZNHSkCHvWdWx6uKSIb99roGw5BFdu1j9YZ5rXqHUX/KoBbm59TXvbafcV09IkOL5DItFYdq72hMI30Czk5Nw1eZ5jdHR1Dy7ZnXUMsnHrmnEtjx+Y50YFY+zsk7PeQ27VM2fcuTX+9OvBYRv7CA8S3uyImElyTDelNvL5Exy2PT0EyQjz+P1s30MIxTCwudEiI9k+9Esw==;5:dXFywUSlS9q8afVLDlhNHwIp73UyiOyco0TncVHsHC7hoSgW0eiVf13MQfKrAihPJ5LSK60PTTxHDYl4XI2SWIrOq1CE79Ft67TqNjxNR5tDi/GOlIoidGbYT6fl4yqGmk96JHCTVLcvBRwJFcwyLg==;24:KUKYJvZuCCIqhHiTUi7W1GlFrZIXgZkcCYbw1OOczsxI70PEWeaJ843pobUOgLx2uXgJsKjvHvexdnPhri37kTuoC3/P+uiAmJVPOEP4bU8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BLUPR0701MB1699;7:68GgVg482VIh5SqlQprf1h7aE3/Un+F91QAMeNf7O8LZ3VlZi538aEoxXfvjMxuOQsE3wlYjfPZhgDZO6SuYkQA0DySGunSGmJjp6xYmX2GwJQfPJ0Fgy5Wec4rns36b4X5BBzD5qxqlnTlm4aQUhSQHRfRbwnEh00PGP3CbM3OFDMsfk8rAt3UuquQlWPuUeyAohGrBinsWJxA8eO30WHg7afiNwhLeswtU9N5k0zGVM52T9/Vsy9WIEkvsHLh4VXUw8m2PAlNbIQgwJcjrBoXTdpMtNveX+rA9Ii63PVv5A2M1S6YwxCMpd2mfPA+ABdE1buvmsUWUOREWf/Me5g== X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Mar 2017 06:24:19.8034 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1699 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 810 Lines: 20 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. 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 | 186 ++++++++++++++++++++++++++--------------------- drivers/mailbox/pcc.c | 1 - include/acpi/pcc.h | 1 + 3 files changed, 103 insertions(+), 85 deletions(-) -- 2.7.4