Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752361AbdHHL15 (ORCPT ); Tue, 8 Aug 2017 07:27:57 -0400 Received: from mail-vk0-f67.google.com ([209.85.213.67]:34457 "EHLO mail-vk0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752059AbdHHL1z (ORCPT ); Tue, 8 Aug 2017 07:27:55 -0400 MIME-Version: 1.0 In-Reply-To: <3279524c-d3e5-fe0f-ba7d-f715bfdcad9c@arm.com> References: <1501857104-11279-1-git-send-email-sudeep.holla@arm.com> <1501857104-11279-4-git-send-email-sudeep.holla@arm.com> <3279524c-d3e5-fe0f-ba7d-f715bfdcad9c@arm.com> From: Jassi Brar Date: Tue, 8 Aug 2017 16:57:54 +0530 Message-ID: Subject: Re: [PATCH v2 03/18] firmware: arm_scmi: add basic driver infrastructure for SCMI To: Sudeep Holla Cc: ALKML , LKML , DTML , Roy Franz , Harb Abdulhamid , Nishanth Menon , Arnd Bergmann , Loc Ho , Alexey Klimov , Ryan Harkin Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 972 Lines: 29 On Tue, Aug 8, 2017 at 2:59 PM, Sudeep Holla wrote: > > > On 08/08/17 03:46, Jassi Brar wrote: >> On Fri, Aug 4, 2017 at 8:01 PM, Sudeep Holla wrote: >> >> .... >>> +int scmi_do_xfer(const struct scmi_handle *handle, struct scmi_xfer *xfer) >>> +{ >>> + int ret; >>> + int timeout; >>> + struct scmi_info *info = handle_to_scmi_info(handle); >>> + struct device *dev = info->dev; >>> + >>> + ret = mbox_send_message(info->tx_chan, xfer); >>> >> NAK >> >> This is still not fixed. For the reasons mentioned many times like >> here... https://lkml.org/lkml/2017/7/7/465 >> > > Since SCPI and SCMI are based on doorbell designs like ACPI PCC, they > can't send any data as all the data are part of shared memory. > > What data needs to be sent from SCPI/SCMI as part of mbox_send_message > in your opinion ? I can't think of any generic way to form this data. > https://lkml.org/lkml/2017/7/7/290