Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp251553ybk; Tue, 12 May 2020 22:15:31 -0700 (PDT) X-Google-Smtp-Source: APiQypLVo/TxNp2JxVKCs0Edflc1m9MzK6hDXPr56KJt9eadbwa5+mB2MzTFiQMLSPxkg8+EKN0M X-Received: by 2002:a17:906:560b:: with SMTP id f11mr19317153ejq.264.1589346930911; Tue, 12 May 2020 22:15:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589346930; cv=none; d=google.com; s=arc-20160816; b=s63kLKenY7bDnntR90OEpk4ucK663oGR40RSZDjK7DjMl+kBpfUFA/jnbiIZo813ku 4MNVryTFFIeVQ40QAFDbuyPs9o30Ep4DF9jMlCh8WYs1m73lJtMUs3bMd00asni1EtXE 185ys3HLUlcz2bxJ5zUtMc77ybv2DN5r4C6pwAi1Np9LQOOArpaR3tligjfixsv3/aqF 93bbHGc1jZPuBb9nYS+OAhSb/QBs5llMRblY2GQz1VeaeITCEr6cDwY1BGHkl50h+7M9 fpxecJQSL0Izif4Ic/Y+TPTYk/vGw4MSl5nZKg3r7Od5+tVu6sf70FSzfTGe4uhYZmmS bz/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature; bh=4QVobzHksEPjTGiJZuOIwWfsqXQMmg4PvTnXvb5US4E=; b=aOL15tJUifV4cZVM/VpsMF9x/B/iFOArARVXNZLmrD6DwC2FqpT/1AOTmbC8gz4jQ2 tZuSJmO5b4PcGwTPWIo/JrUPhskxGItHjuj2Z46E9/LL/4Z1/f6Y677xK9+P2UO3DzP3 D7NN5sac6R9ijiusqm30t9cCDUVKKq1oRwi7Jpb5efq3T6XuE7VVk6a9a/tRHWsrqXBP MlymVFVAu9WemSogG8uSPLcjVEunUWHFLKUBgI925U4Y9WAyr0hLOls7h5kiHv71YnuZ 3gvea1pYPRA2ybrHkHAUhhEP5PTgL+1QGokO70QLLubjVNydsVRes+gw8aw72Qv8Oxm0 oKDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=eVFlswC7; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u26si1749323edi.83.2020.05.12.22.15.08; Tue, 12 May 2020 22:15:30 -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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=eVFlswC7; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728711AbgEMFL1 (ORCPT + 99 others); Wed, 13 May 2020 01:11:27 -0400 Received: from mail27.static.mailgun.info ([104.130.122.27]:57244 "EHLO mail27.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728097AbgEMFL0 (ORCPT ); Wed, 13 May 2020 01:11:26 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1589346686; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=4QVobzHksEPjTGiJZuOIwWfsqXQMmg4PvTnXvb5US4E=; b=eVFlswC7uFDkAEXt1VWTrSEZHHynuydSCnbb4hPLBi113O6nEfUumi8zJ6Y2/7JeUtBnndh6 2zkZUSk2Sba/0hQQcUoOl6tr+M8voyB0bWDv3AFpDh8w3kg3CeQdAUbzr1JgMhei/uC3kehb f8USxYe/WloachhmX0jQgfU+dyY= X-Mailgun-Sending-Ip: 104.130.122.27 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5ebb817e.7f47cba67458-smtp-out-n01; Wed, 13 May 2020 05:11:26 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 3DA57C432C2; Wed, 13 May 2020 05:11:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from aneelaka-linux.qualcomm.com (blr-c-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: aneela) by smtp.codeaurora.org (Postfix) with ESMTPSA id 704D2C433CB; Wed, 13 May 2020 05:11:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 704D2C433CB Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=aneela@codeaurora.org From: Arun Kumar Neelakantam To: ohad@wizery.com, bjorn.andersson@linaro.org, clew@codeaurora.org, sricharan@codeaurora.org Cc: linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, Arun Kumar Neelakantam Subject: [RESEND PATCH V4 0/4] Add TIOCM Signals support for RPMSG char devices Date: Wed, 13 May 2020 10:41:07 +0530 Message-Id: <1589346671-15226-1-git-send-email-aneela@codeaurora.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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