Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1580597ybl; Thu, 30 Jan 2020 02:22:14 -0800 (PST) X-Google-Smtp-Source: APXvYqyCKSvH5Qu2zMJWeiJaQRdCD6kCWBxRcLDs9+2IfjXOYrpGe14Yj9iX5NvxSm4ZBAQVUdd8 X-Received: by 2002:a9d:7f16:: with SMTP id j22mr2958231otq.256.1580379734029; Thu, 30 Jan 2020 02:22:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580379734; cv=none; d=google.com; s=arc-20160816; b=erlqfLvnIZ+8aUjYEipQ3JkNPglpEZrR7VGpkn0Kx5q4ENHa/hC8mOh9qWSN5dUwGw iFeXbhVRpDB9NMlrw3SmSAZL2gYl5NjcC/LaUjaSnDJEggPN5qRQsfgXBp+XCktSJsj8 RGrT8qpWgZJWUidGlPooXsAsW0A4GCdgTdNdpSN99/mKRaizBo2xaZtvWGelko3rUkhN MatSsRTHIeHk31nsyySIjo6BaPqrkwUbyxXDZgPhVoTFrIH0wRFYrS21/zZarNiYlfR9 MgPsksZYg0Dy15CndiiRMt9XqRxLDDd4A2uYYj4TmCpQkb8Xh6y7hHdIsgTnnTNxigL1 qDag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=qNXpmFygaWa2dwfOrtRdIk/3vywDKk6Ah4NOw1IDzrI=; b=rVzJCnu+XzkKxB0Y/ZGPWfv8wtZ+yQxekbOjrlu9r+mcxnzDiB3+B0IcfW1zfi8CNA wVkihaV2fNU7ZNJNi3rXN3zjr2Wfqcm4jxy5DBMSy/AGcgwhyKOAt1t2WVbas4cRCjeN BcuDuYRsbmCX9VJtzxyuT5uNBJV/PiXfK8XBwKPvFyMa5DSDWNk48Sm2o2GSXAhfH+52 Eq8FkVyK8Lq+yb3WdyOFhv5txEn7Yiq6osXXwI6b5/J4tjofBd7mt26vs1jG5UPUh5wK ksz9vXmHLczHhZWKGg4wsZDcvEQPm58SV797R/EYaqwcJulaGFhCSAkxAf0cwAxoBINC vc+Q== ARC-Authentication-Results: i=1; mx.google.com; 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 a3si2624145oib.168.2020.01.30.02.22.01; Thu, 30 Jan 2020 02:22:14 -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; 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 S1726932AbgA3KVL (ORCPT + 99 others); Thu, 30 Jan 2020 05:21:11 -0500 Received: from foss.arm.com ([217.140.110.172]:50608 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726873AbgA3KVK (ORCPT ); Thu, 30 Jan 2020 05:21:10 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1FF5131B; Thu, 30 Jan 2020 02:21:10 -0800 (PST) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4927A3F67D; Thu, 30 Jan 2020 02:21:09 -0800 (PST) Date: Thu, 30 Jan 2020 10:21:04 +0000 From: Sudeep Holla To: Viresh Kumar Cc: Etienne Carriere , linux-kernel@vger.kernel.org, Peng Fan , Sudeep Holla Subject: Re: [PATCH V5] firmware: arm_scmi: Make scmi core independent of the transport type Message-ID: <20200130102104.GA48466@bogus> References: <20200130094103.mrz7ween6ukfa4fk@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200130094103.mrz7ween6ukfa4fk@vireshk-i7> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 30, 2020 at 03:11:03PM +0530, Viresh Kumar wrote: > On 30-01-20, 10:25, Etienne Carriere wrote: > > I've made a first port (draft) for adding new transport channels, next > > to existing mailbox channel, on top of your change. > > You can find it here: https://github.com/etienne-lms/linux/pull/1. > > > > I don't have specific comments on your change but the one below. > > I think SMT header should move out of mailbox.c, but that may be a bit > > out of the scope of your change. > > If it is guaranteed that someone will end up using those routines > apart from mailbox.c, then surely it can be done. > I thought about it and decided to take up when we add new transport instead of doing now and having to redo again when we add new transport mostly SMC/HVC. > > I would prefer an optional mak_txdone callback: > > > > if (info->desc->ops->mark_txdone) > > info->desc->ops->mark_txdone(cinfo, ret); > > So you are sure that mark_txdone won't be required in your case? I can > make it optional then. > Yes this can be done. Might even help virtio and keeps Peter happy :) -- Regards, Sudeep