Received: by 10.223.185.116 with SMTP id b49csp3902688wrg; Mon, 26 Feb 2018 07:59:04 -0800 (PST) X-Google-Smtp-Source: AG47ELvxAUn9U+InmvhjxKMf3/zMVqs94ZgjFLRuWOdPX9Jk7Wjh7i/jp701HTBvcU+aI4Hwv8W2 X-Received: by 2002:a17:902:be0a:: with SMTP id r10-v6mr5252938pls.240.1519660744827; Mon, 26 Feb 2018 07:59:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519660744; cv=none; d=google.com; s=arc-20160816; b=Vnqd4eTBZrHyU3CQimHn3lbVjn2NlnViEzQzppT3A1PONxE7Q4jkNOF6mybt6f4eR7 2j1cRl/Qf/EL3thMapQMUkYNoCIji/z4yv3vjWvoDsv+JxKHd4fRB5b9q+L5dJjkPfHs kbN7BLpOCQsu/t5xcXmNPSX4FN1L76gSyGsIymZIgNm7HTU1atvjb6SRiYmiBriKW99V jovFvdhbleLcSwoEpa/dmgPgiTw8G07zrWKlEYU+7phVPcEAbg0Wf9LIDT88+JFVZbY4 8UWPlzckLUwdK+XLZcPXgXnNOiVxx8jx75oUNyTyqENmJ0qpDh0lJjoJdyGbK2SvHPqK ILJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=mEbYg6pTGHVTqJk8LCAQUghaVTHAcLQ4w8/qnbVTsB4=; b=xY3xk5qMxozVl1GZZt7RR8QD6MuX7RBMnM8OggFWjyUa+YG4XIChyn+aspDmZNEbyt I8sRNs5pkM6I38RlT8EcNqF9JpP6IIPmsjpVEfrHbgQwoiin5EuQ7dWmNHiZLze22qUg qA8Rw8f1OdEJ9Xu8lQIfKy7Pj+xMiz3ALOjD5Yp4uBxOzqf/n42bjHpKnJdpqbxgCa4y hq/tnCUwveloxL98mch9hh1fAyVq1jeUDvEobhFTb2oFM0dR3pjikAl2WFnP0XgE5uw5 0RVHjLf8vRPhe2AxlSeYBn3H4r/v5dp5/0NbZr0CGkpgYb0FK8Sn0BFECN3BKS4p4GGh 0LOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nexb-com.20150623.gappssmtp.com header.s=20150623 header.b=wk1F2AAc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o74si6957332pfj.75.2018.02.26.07.58.50; Mon, 26 Feb 2018 07:59:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nexb-com.20150623.gappssmtp.com header.s=20150623 header.b=wk1F2AAc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752438AbeBZP5s (ORCPT + 99 others); Mon, 26 Feb 2018 10:57:48 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:40620 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752386AbeBZP5q (ORCPT ); Mon, 26 Feb 2018 10:57:46 -0500 Received: by mail-wm0-f66.google.com with SMTP id t6so9884407wmt.5 for ; Mon, 26 Feb 2018 07:57:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=mEbYg6pTGHVTqJk8LCAQUghaVTHAcLQ4w8/qnbVTsB4=; b=wk1F2AAcpVIAsAtlyJN/FRok+xaNFp+8yn9SaY/wnz31re32RuGC5qHrYIAFbBc8vJ 2uG8xgH28gtHuvUMizRh7rM0Kut1/MuG/34bx6YOmWdIX55rRhdRyR2ucH6ut6pj27ME QRgycIbkreUUXA8eTOkZwgOInC/Gk1Esg8uqYxmkiqxrOdejNdSsadx0+xDlRLhKUQa5 lg3/9f45J2R6JHWvT6i3TePUgKH6B/I3QLuRrTmWYqh/WWlXiecJzIKK1MRTu4vQRvww wGxDVuTst4e6sFNoJ8kcJVNfyPmO1c9jHyjsmgS/d3Ni681QBD1YniENhIHxbx4wXMR6 8LiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=mEbYg6pTGHVTqJk8LCAQUghaVTHAcLQ4w8/qnbVTsB4=; b=HQ5WN+7OKysNqgOk//2edqIU7+BVWyEfNg6oa8qrg0uZouG8qM1j0Tyb9XmHUjzcQT BtNyLpXMsq8otMFHRJAqGuZ1aWOXFrb4Dli79+rNxy4rSunhFhqVr+Nb/ABDTtI2PyvY YXdzh4/khfE5JcKewlHto+J3zfBw+16uYxqBaAKjp/UPdZj9oRF0eCgZTtwfgCBo/DpA 9iM1nRqcGB5+h+BLwhKsg95ALexVDUcUAt9ZZPYxnxpJCt9R6978LSGX/sYAm13LvHQc lYe+eVicIewr3btrKBdmhvO4lNPV3M3fTWACByWTMdXUU4NoL1BKcw0DDQwQeIOpLQ2c jj8Q== X-Gm-Message-State: APf1xPC6isava+qNe9y0DBsxh2yePHSubQD6f09f6LPX+0lSs5IE+4iU g1WEYlnYrrG4Y1T0GYngqmfquqMwsX0FDCAspLghUg== X-Received: by 10.28.216.70 with SMTP id p67mr9502607wmg.36.1519660664742; Mon, 26 Feb 2018 07:57:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.195.139 with HTTP; Mon, 26 Feb 2018 07:57:04 -0800 (PST) In-Reply-To: <1519403030-21189-4-git-send-email-sudeep.holla@arm.com> References: <1519403030-21189-1-git-send-email-sudeep.holla@arm.com> <1519403030-21189-4-git-send-email-sudeep.holla@arm.com> From: Philippe Ombredanne Date: Mon, 26 Feb 2018 07:57:04 -0800 Message-ID: Subject: Re: [PATCH v6 03/20] firmware: arm_scmi: add basic driver infrastructure for SCMI To: Sudeep Holla Cc: ALKML , LKML , DTML , Alexey Klimov , Arnd Bergmann , Greg Kroah-Hartman Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sudeep, On Fri, Feb 23, 2018 at 8:23 AM, Sudeep Holla wrote: > The SCMI is intended to allow OSPM to manage various functions that are > provided by the hardware platform it is running on, including power and > performance functions. SCMI provides two levels of abstraction, protocols > and transports. Protocols define individual groups of system control and > management messages. A protocol specification describes the messages > that it supports. Transports describe the method by which protocol > messages are communicated between agents and the platform. > > This patch adds basic infrastructure to manage the message allocation, > initialisation, packing/unpacking and shared memory management. > > Cc: Arnd Bergmann > Cc: Greg Kroah-Hartman > Signed-off-by: Sudeep Holla > --- /dev/null > +++ b/drivers/firmware/arm_scmi/common.h > @@ -0,0 +1,77 @@ > +/* > + * System Control and Management Interface (SCMI) Message Protocol > + * driver common header file containing some definitions, structures > + * and function prototypes used in all the different SCMI protocols. > + * > + * Copyright (C) 2017 ARM Ltd. > + * > + * This program is free software; you can redistribute it and/or modify it > + * under the terms and conditions of the GNU General Public License, > + * version 2, as published by the Free Software Foundation. > + * > + * This program is distributed in the hope it will be useful, but WITHOUT > + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or > + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for > + * more details. > + * > + * You should have received a copy of the GNU General Public License along > + * with this program. If not, see . > + */ Would you consider using the SPDX tags [1] instead of this legalese? Thanks! [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/license-rules.rst -- Cordially Philippe Ombredanne