From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E31BEC282DA for ; Wed, 17 Apr 2019 14:43:37 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AF9FA20663 for ; Wed, 17 Apr 2019 14:43:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="hkRFDlUx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AF9FA20663 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ABYwXfPO5MAqM77b6V1ccH99QAi+GvVn193Dk+XgZIA=; b=hkRFDlUxFYh1be e97gGWEnGBB1B7SUOyqgNuUtTd5T7c0taWr6WEEKmHH5HX5dd/s+uNee64F1dUNXuNLvqIWDtP2NK HgfPMFrGYzIph2qSTX6Ya5x4h2ENr/A9hhPfAqS9lSJPQqIMXg51yIye1NiZkalR8A4B0jqgGpsUz fBqleq9OBQLnPKzouKwzxXbTl2w2htS4Y1XjHFeAhPyUm6xCQFNh9VUQxnjnYk7dULFWHncO0VNtE ABNXBsC3LYdyi92ViGRdaskU6YKRXCEYttB3J/vIsbWXCBFBPC65fW4DGPneYMFoK1kKBitKMsX2s 0L/ITYsYA815Vuq4xVeA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hGlmd-0001P5-G4; Wed, 17 Apr 2019 14:43:31 +0000 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70] helo=foss.arm.com) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hGlma-0001Og-9Z for linux-arm-kernel@lists.infradead.org; Wed, 17 Apr 2019 14:43:29 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 02C7AA78; Wed, 17 Apr 2019 07:43:28 -0700 (PDT) Received: from e107155-lin (e107155-lin.cambridge.arm.com [10.1.196.42]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C03323F557; Wed, 17 Apr 2019 07:43:25 -0700 (PDT) Date: Wed, 17 Apr 2019 15:43:20 +0100 From: Sudeep Holla To: Jacky Bai Subject: Re: [PATCH 0/3] Add power domain driver support for i.mx8m family Message-ID: <20190417144309.GA21117@e107155-lin> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190417_074328_341693_BB9D5F74 X-CRM114-Status: GOOD ( 15.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Aisheng Dong , "mark.rutland@arm.com" , "devicetree@vger.kernel.org" , "festevam@gmail.com" , "s.hauer@pengutronix.de" , "robh+dt@kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , Sudeep Holla , "shawnguo@kernel.org" , "linux-arm-kernel@lists.infradead.org" , Lucas Stach Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Apr 17, 2019 at 02:30:53PM +0000, Jacky Bai wrote: > > Hi Lucas, > > Either SCMI or SCPI, I think it is initially designed for SOC that has > dedicated SCP to manage the SOC resource, but for i.MX8M, we don't have such > support. so just for the power domain support, do you have other suggestion > for it. > I disagree, I thought it was clear from my earlier email. All OSPM like Linux kernel cares is conformance to the interface. And SCMI/SCPI kind of interface doesn't mandate how to implement either at the hardware (you may or may not have dedicated processor) or software level(can do it in TF-A through SMC, or some remote process through mailbox) I am clearly against the custom SMC: 1. It will never end and it's put together without much design thoughts just to address specific need of the hour. 2. It gets obsolete very soon, mainly because of (1) 3. Very platform and vendor specific and soon we will find ourselves in ocean of such custom calls And I can definitely continue the list, but I have made the point. I think we already have enough of those custom SMC already now and it's high time to stop that non-sense for OSPM. -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel