Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752457AbdHNOfw (ORCPT ); Mon, 14 Aug 2017 10:35:52 -0400 Received: from mail-co1nam03on0077.outbound.protection.outlook.com ([104.47.40.77]:34349 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751601AbdHNOfs (ORCPT ); Mon, 14 Aug 2017 10:35:48 -0400 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; Subject: Re: [PATCH 1/3] dt: xilinx: zynqmp: Add bindings for PM firmware To: Rob Herring , Michal Simek CC: "Edgar E. Iglesias" , Edgar Iglesias , linux-arm-kernel , Soren Brinkmann , "devicetree@vger.kernel.org" , , Linux Kernel Mailing List , Mark Rutland References: <8c27b7eec6cc00d37dfe9b3998212ce9c9c27a31.1501854302.git.michal.simek@xilinx.com> <20170810191056.ur5b3zdrcgmb6sim@rob-hp-laptop> <4e5d9f8c-9e87-bdcd-388a-aab3c32415e8@xilinx.com> <20170811135453.GU12347@toto> <5d2e3a5e-6060-ff13-a065-c4b6be37e4c9@xilinx.com> From: Michal Simek Message-ID: Date: Mon, 14 Aug 2017 16:35:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.1.0.1062-23256.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.83;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(39860400002)(2980300002)(438002)(189002)(199003)(24454002)(377454003)(31686004)(229853002)(76176999)(50986999)(33646002)(54356999)(478600001)(77096006)(230700001)(2906002)(31696002)(86362001)(93886004)(2950100002)(6666003)(5660300001)(54906002)(65956001)(65826007)(47776003)(65806001)(23676002)(189998001)(63266004)(106466001)(81166006)(64126003)(50466002)(4326008)(6246003)(53546010)(4001350100001)(356003)(81156014)(305945005)(8936002)(8676002)(9786002)(626005)(36756003)(83506001)(36386004)(107986001);DIR:OUT;SFP:1101;SCL:1;SRVR:MWHPR02MB2477;H:xsj-pvapsmtpgw01;FPR:;SPF:Pass;PTR:unknown-60-83.xilinx.com;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;SN1NAM02FT014;1:hiyETEdv3OUanKIbZbkI+ie0TBfGnY/49NSu8prRj5XfzCKFMGWcRl6s5mGv3QFVFfGapv9Cr04IOyujdNhvrrPU2RSoV4wrPWmRbucPVp2zaTd8b7pSrXIhSqyR4rShiiIqYzNQjEbGboivIkaSvZMAhhdqLfFE/Abnv54YI4jWmyWh97X5vyVBbJgYhqoKR7HMd9gP1S8FAMaaS3jqlxfg/Q5mH0Ao3f7pYL6+7Z0bTOewqQyQKtJ+9jTcMAkfEke19ngaEF5/tSzYk+3RbHT46uU8CuY3yjeY3inLqzwzFzFWcLahyye+BnWLgxtbmllaLvpMYfyYgInWmrxsm27lRGoE3jHy+lvgjOgtpRfSRYdlg7Jl9lxLqYZcxzrJTjNikfvhPYNooC45r9bTIHrETTQZs4g3riw1qN32oKKA9HLO984bpF8/0BQ60hZ1LZvWVE45f7+NyCeblj2emV+RQEe5ydaOlwNc0uB8sT1RD1pohLSGCh5Km82AHPyU72Q0BvPQlkIpILUbdACZze4janatHjbT7BflOrI+FwTFqFL6IMkBtrflqYJhOz14oeBzfn/czyQ1DPPbkrbPvUoJghALh9kjwUEBXdTFaOci1OZlLWLQXt2ZLnnlj690kyjC7J1JlTMeNhlfnyR0Eo6J3xPs01XswTRSBJxI0Coirw3KpUdu6eJ2IpUp/Jyy2u8yUfzWyZTTYfgYD0r1uVJJAiG/SI3F2PhprFchO8avJ1DylpuF2D0u17bSYxjeNshPjQARHhpqzjdCayZJin37GlwRjyQPp6XXGHgLsR4dO71BaLx/+VH9tLK6qhD6DAxJ9+EMNjZj111nva4ZyDOy7Onj4iCVr0UFhr2uagI= X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1475241f-ab58-430c-f55a-08d4e321c0c2 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(2017030254152)(8251501002)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:MWHPR02MB2477; X-Microsoft-Exchange-Diagnostics: 1;MWHPR02MB2477;3:4vS9eSdD8TifcvBisUQAAz4h/eWPLCKxLkYF7tTXqezGJi2aljUorSf+BsiDp5MTyuqeUqnW0G6udVX8I74dzsTIPvkHV6sk/uxLkY5QfifUKHWk6AznHlckFPAcGk2cfuve6t1aiR+uwANcXlIHMOeeDi9OsYBwnzvLwRuY12J/ORqDILG6guh+MOpWoUIYMVgnuOCSUd0w/e2Ozov38h6MZxLZnf6cpsU7xktJN+7PdrOMTy91OgFKfwYV5WsbOdYaia8h3WrHs6VLOLGdBHADF22UyiG3In5yLWeZ4M3R4NoA9bYsIrvHJLV8cZBqddIveJWnOFIyzwZyoFWMrow2Qlpnpf8HC4SYQvi5ixk=;25:j+Yarca0po4PIYM31709p3931XH1MmU8gkEXV/9f/NSM2MCXGtEqy5sA7JrCDEuEs3SGbwi2f4CYsPMZW8aAM3AjoXkUFSGXzueEuRubi/lvMEKJ7LrxBL68jKe+bXIP8rKG8Zo6vyIbt4Qk6Yb5WtEW/EmkkvCLFRkjTut5dEilrerOAIyaFAK8Zf3jl7A0e3aLHt9SBJ0hHbZnEyQGCTUiRQUBCuCJQBXjF50pBGRfsP9dkAS3Dtbu2/9n241zvN/LCzpp8joHXSD5DbgUoBWUL57i+avDQJPUwUOGyMq9JHWWFaiC6vX+W35Mnc+/fQE99JAtpXumP7xjYTuMog== X-MS-TrafficTypeDiagnostic: MWHPR02MB2477: X-LD-Processed: 657af505-d5df-48d0-8300-c31994686c5c,ExtAddr X-Microsoft-Exchange-Diagnostics: 1;MWHPR02MB2477;31:/fFt195/mONZL8RzSqdPt7U/a2OTAHhb+7SRJhyIOExKOyHee8wiepZui8RYmsQ9bt9o/qQV0iSCnOavPD4GmO4rxzF+L+AVPSDrSmtq6iOgoKa19uGbURE2PU2jfQeoWs2iWb9PVB4B5MJehvrcI9I9lTovz23CievqtHhJpiNh87iBlOnK8mArAt1jjW3w2aVIl6m81QBe5VqXMX3w2uBCdbcHKPnknerN1Wyxs0Y=;20:pRx6QcHRqX4nnIg+K/GoZ5K0G4pJjku9NzlrlJOZm4Xn7sQPNUVAj1BVpnvuzwQH7VTKOA3rmHpGsopVizPWlphqNGP//vNsRARFz+KMpE8hH4OMMSqhiW5oznwhHGrt57iJc/MhRSWyIyVJkLcTAKewvq8fsdjDAcahnEUzSqqGS03AuxdTJe9MiCF7pH95nBpwrqLU5Fia3Am22Kd3wx7rlITsd6hZHPZMLLSQA4hDI37i5Ewyrj1vTtB9IQkusFB2iaqFGidFdIcFnUl0UkmfewTZUpNLKeGPZ9bNZRWZFOiKX/kZ39b1cNZ/AWNx82IKzfLttj47+gwnm3AGqtQZQM3CIh+t2ycFkgBiWe2QVor6cVIaMrioznayuZoyVAI+pTer44kMv7eVY0hf3rbjselzzhL4gubFi//oFR4pKHgUJtulUyVJwHhwxfTiy1iDyOJ2NiIhBQHO0aaUK7f65E8wVVT7BCI7zMXsUPw/CG21IXUPNb6M2KSN7wHN X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(13018025)(8121501046)(13016025)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93004095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123560025)(20161123562025)(20161123555025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:MWHPR02MB2477;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:MWHPR02MB2477; X-Microsoft-Exchange-Diagnostics: 1;MWHPR02MB2477;4:7mWvYb8Wxitahiiw4aqYY0s0wdSg/GztDcEsqiauYnGRd3g7gCnVGa/ezgAkos1mKjIyGpsXaYb4N8dAc6+LN7+r8JWORzSEDPF/Vc1HxRznN8cm3kqdxxTzMv53NvQ5mj+N/vN//hQzKSNuHAdQOSaFpWjJ3ZeN/KqRp6iXlHhIChqWnQ6Lbojc6V3N8E66DNNOHqb4hxex8nt9Vi7sOFmxhrZZxM2YYLa7UykBc+6+UBWKdXDTzV2+1TrGBTw9jisCIgcPvpV1khkHG+YwAdjbcCZELNu/cTznDF9NQ44= X-Forefront-PRVS: 039975700A X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtNV0hQUjAyTUIyNDc3OzIzOkdOdWhVei9KYWwyOERoZkorUndMOG9HMGdQ?= =?utf-8?B?K1U1eHg4NCtTYWxlMzF0WkRJbUlwdk5EQ2VYdnBOV2c0N3FVQW5Hc1RmcXZJ?= =?utf-8?B?RVhDck41UnA4MVhTQkR3LzhRUzhIblJoV1hnR2xFTGtvbU13RzBOVUJpM244?= =?utf-8?B?eHd3ZHdGeGpyS1ZFS2I3Z2hnSm1MSlNXT1JsdTczSmZxSGl1WFBpWHhtTkxY?= =?utf-8?B?ckt1dElCRnFKWm92cXIxYmxSa0hUdTJ5bExNUmRrNWlxejF3Qi9CYit4bGRB?= =?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Af2FilQQmjktGIb7eOWVnu402E2Tgh0pHYUxj2zHsqpd0A==;24:NtuzRpWvxnrjpsU4PDJJnafTWxMtR6By6kDHN6Xq0PWnfBVr7gaO0ZlG9zq4PcQV3agpVy+8mf+vKkF/OyTaynX9bRcSTbYaG9uZic6ZUgg=;7:s2fms7+71SEchm/DN8w/N5DHAd4FnJ8OzlNag7kw1nrYdSnbdyI2a9aiR94NZkyg2wKIw56JgrI5GvqBExPexUSq6TcSNHaDNYNRJFYUBykH81Qsd8hVSA9QwhHMNpgLel/2QCGvphHfjUcOQWJtmtTrnee0bcwCiwWIShP94z9sBYB6jH3IJjG6CXJKxZc69h9CtEbzevCh1yUmjB9870YEL6poftpiMDMZDDnNdqo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Aug 2017 14:35:47.1010 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.83];Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR02MB2477 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1597 Lines: 48 On 14.8.2017 16:03, Rob Herring wrote: > On Mon, Aug 14, 2017 at 8:47 AM, Michal Simek wrote: >> On 11.8.2017 15:54, Edgar E. Iglesias wrote: >>> On Fri, Aug 11, 2017 at 02:58:03PM +0200, Michal Simek wrote: >>>> Hi Rob, +Edgar, >>>> >>>> On 10.8.2017 21:10, Rob Herring wrote: >>>>> On Fri, Aug 04, 2017 at 03:45:30PM +0200, Michal Simek wrote: >>>>>> From: Soren Brinkmann >>>>>> >>>>>> Document the DT bindings for the Zynq UltraScale+ PM Firmware. > > [...] > >>>>>> + - method: The method of calling the PM-API firmware layer. >>>>>> + Permitted values are: >>>>>> + - "smc" : To be used in configurations without a hypervisor >>>>>> + - "hvc" : To be used when hypervisor is present >>>>> >>>>> Do you really use both? >>>>> >>>> >>>> SMCs definitely yes. >>>> >>>> Interface was designed in that way and I don't know if people are using >>>> it or not. >>>> >>>> Not sure if Xen is blocking SMCs. I know we have discussed it but not >>>> sure if this is enabled by default or only for certain configurations. >>>> Also not sure if xen contains handler for hvc. >>>> Edgar: Do you know? >>> >>> We have patches for Xen that implement a power-management mediator. >>> That implementation handles PM calls over both SMC and HVC insns. >>> Patches are on the Xen mailing list. >>> >>> Other hypervisors may work differently. >>> >>> I think we should support both but I don't have a strong opinion on it. >> >> Rob: Are you ok with having it there? > > Yes. Ok. Let me send v2 then. Thanks, Michal