Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp71578ybk; Tue, 19 May 2020 15:51:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzneWE0rHnBLs8m/RhcXoJyFY/CzgtlO8JyB4odCtkWABEbW1TRhy+/vURKwK1ttB/z8Scu X-Received: by 2002:a17:907:b11:: with SMTP id h17mr1378069ejl.430.1589928700778; Tue, 19 May 2020 15:51:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589928700; cv=none; d=google.com; s=arc-20160816; b=yqggFPyudN9UnFzUdKQLNlhyRVBTj79GIpOsbO5asxCbsKXfr4UlCFGylhW+VxNYER OdHu3p15mcSSMGyUCXxMR5D1YDZn3y+IVPHdLXBbS03JnzDgL9nfDaFXp4I8WQ98NTky qAk5Rko3Iiz7UEjlbRIlicfw5HcdTfq7qNcWi87WBOTN9B7HCxsa00rvrbWIUNKb4csz rw9QQdrktuJWX41xSegs02V0f3R7cUMPqykHjWHV/niAH4O0LSvVCsGsVMXYqCHBP1Ap 6kF+c5FduerzSd4/Yb29xiFCJH8J4DqUmzP+HspbeXN2FzllSjbc7hN5tG8YEoTdqbC6 PtXA== 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:dkim-signature; bh=4Ty1uax6DhWGAFtgE02Vizy5V0zxupHIkWCZHfOEkhA=; b=g+KO6DwMvbadipaNl9h2Fps3YrQRXBZWe3B9OCEzAQ4spyZAisQROuW0AvLFbhkgyd B1V3gTEJUnzOzimY2uGjxFxQoUxWY0qeodMVaFehZn3BicFoCHaJ8GZMyQ24VGbfkN0e vsvF2nh5wq+A3UXdEDGd9FswBfnyi51lLwSn31NYWfjyTEYx4jYPOaGN2UfYaCr0Wpwk jYD3GbniL2M9KKM4aNCn5EDfWC3pSfa+WyMhbJVw+spR2ni6YtIL9MBQUedxI6eTqliI AuRXMwcCOP4ERS/zHDMafDiG3+N633zIkWs1hR+6kBRl6lvKoK5K/qe4ViziPaLlZ7Qg MDKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=t8dBf2Re; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v19si405021edq.603.2020.05.19.15.51.16; Tue, 19 May 2020 15:51:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=t8dBf2Re; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728137AbgESWtS (ORCPT + 99 others); Tue, 19 May 2020 18:49:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726862AbgESWtR (ORCPT ); Tue, 19 May 2020 18:49:17 -0400 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B6EDC061A0E for ; Tue, 19 May 2020 15:49:16 -0700 (PDT) Received: by mail-pf1-x442.google.com with SMTP id x2so600767pfx.7 for ; Tue, 19 May 2020 15:49:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=4Ty1uax6DhWGAFtgE02Vizy5V0zxupHIkWCZHfOEkhA=; b=t8dBf2Re30D48kdWaxnWeg5qjnHBsSPjh8gl3yhU3/omM3rZox4QiSWEztEngqMnt7 TJ9KJ9Dk6HH/bIfagl0fdv1s/3aaysmvRj6eeG9OrsYQl27NhGIVFLEfv8mGRUqb6UTl WGod58OPLLNcOrUZBVVgeF8ecKbVV2bKXPJT2OwjxTjrIje6Wp8RnjOx2p1udFNGb4bL Y1lfYVjRlJAXESxTeaahmjF7k8LyJVBejv9EzcznGcLs6BlqpMydDPDqXGUQl3+BJg0L tu0QKrN5lM/ydX1HxIfs7bV6nHOlx5jHnhxJnnwuAl2b1Ud1SKH0qz/gRpHIgJILyvUw 9EiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=4Ty1uax6DhWGAFtgE02Vizy5V0zxupHIkWCZHfOEkhA=; b=QwA3ZIbqb/rESs66AFq1pZzQvtfk3ls98Sidxhi4THn/CGuITJ0tPq81q4KrV9AS9H RZ8OOF83BR70i8YeLeFsD6C+FNRyPDjFP6Y28WBoqKAYj9VsRp+qhIRt75Fc6EzKVdE9 LYUFW1N30bzO4FWKLMfCsRhjW/tsul04yk/UabpIAgXVhkWU8Ns7ofpafdw7Sz3C97z6 koLUlVNfWzDjXsZ5bbHB1pR/+seZil0Gm0rV2f1gXn54r1/CKQ5kbwY+qEGTm2Xgv5id jaiDDC+kav7Kin8RHIayS4c9vhmR/zFIiBeieDeJ2Sy51HRnSCxECdFloElb/qg8CBDS 9Zpg== X-Gm-Message-State: AOAM5320BJdeJgjeRBZk8UQBWzpptEuexlycdJNBFqRPSAnMBe4818XU UNgju30QJjtWbMe+cNuJw79jbA== X-Received: by 2002:aa7:9e90:: with SMTP id p16mr1341252pfq.38.1589928556006; Tue, 19 May 2020 15:49:16 -0700 (PDT) Received: from xps15 (S0106002369de4dac.cg.shawcable.net. [68.147.8.254]) by smtp.gmail.com with ESMTPSA id l1sm447873pjr.17.2020.05.19.15.49.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2020 15:49:15 -0700 (PDT) Date: Tue, 19 May 2020 16:49:13 -0600 From: Mathieu Poirier To: Arun Kumar Neelakantam Cc: ohad@wizery.com, bjorn.andersson@linaro.org, clew@codeaurora.org, sricharan@codeaurora.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RESEND PATCH V4 0/4] Add TIOCM Signals support for RPMSG char devices Message-ID: <20200519224913.GD26832@xps15> References: <1589346671-15226-1-git-send-email-aneela@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1589346671-15226-1-git-send-email-aneela@codeaurora.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 13, 2020 at 10:41:07AM +0530, Arun Kumar Neelakantam wrote: > Glink transport support signals to exchange state notification between > local and remote side clients. Adding support to send/receive the signal > command and notify the clients through callback and POLL notification. From a general point of view it is hard to have an understanding of what this patchset does and if it is the right solution due to a lack of context. The cover letter and changelogs are sparse to a point where a reviewer not familiar with the QC/Glink implementation can't offer much more than syntactic comments. Thanks, Mathieu > > Changes since v3: > - Correct the TICOMGET case handling as per new rpmsg_get_signals prototype > - Update the rpmsg_get_signals function header > > Changes since v2: > - Modify the rpmsg_get_signals function prototype > > Changes since v1: > - Split the patches as per functional areas like core, char, glink > - Add set, clear mask for TIOCMSET > - Merge the char signal callback and POLLPRI patches > > Arun Kumar Neelakantam (4): > rpmsg: core: Add signal API support > rpmsg: glink: Add support to handle signals command > rpmsg: char: Add TIOCMGET/TIOCMSET ioctl support > rpmsg: char: Add signal callback and POLLPRI support > > drivers/rpmsg/qcom_glink_native.c | 126 ++++++++++++++++++++++++++++++++++++++ > drivers/rpmsg/rpmsg_char.c | 75 ++++++++++++++++++++++- > drivers/rpmsg/rpmsg_core.c | 41 +++++++++++++ > drivers/rpmsg/rpmsg_internal.h | 5 ++ > include/linux/rpmsg.h | 26 ++++++++ > 5 files changed, 270 insertions(+), 3 deletions(-) > > -- > 2.7.4