Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp993121imm; Thu, 4 Oct 2018 06:42:41 -0700 (PDT) X-Google-Smtp-Source: ACcGV62QtkQMxeLQtOh8iNypYVSmhDDz7O2sXiVbResdnGYFnt6mm5g60JyDOjDnIQXzldnSsCIW X-Received: by 2002:a17:902:8609:: with SMTP id f9-v6mr6733982plo.134.1538660561243; Thu, 04 Oct 2018 06:42:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538660561; cv=none; d=google.com; s=arc-20160816; b=o85MbPM0crRVawW8br3Hd2o3KmQujKNIpgJ3Hw/hYFR+ZFasgIP5qONipydbwMTgk8 960z+dB+7RLRaNZ5wC2nEU9f+xUz4FKOFd1zzv7nk91zO2JI/KZxznz7La/LMrmPPsnV 9fk87T1QbTp+Xcu9nNwh5AXCHM2jrSPzFCTK3G40nqqCSrz2Ads7xvnjO1Pb4pcUv15w 0eOBwgK/rXJZe+gLAhAYgN2eFDN2r9urjrHH1tl08Blj2B9ejaYfiJdhTP9mQH8hKGdh pJz1dIUNAlyHt+6SKfs3nqB3Ju14guzn0u2n0yzzEY88I+wKNDrIe74C2KdNBLCJaKqr nyJA== 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:dkim-signature; bh=urwxLNgX+iN1OaNn1IINxA0gVSYIN1+tv3tOMMk0b3w=; b=CahDnd6+GQCbuPzjcxIYxSx+F3XphP3qkFJKUHdsCVRx3hG+XtXGwdfkqDr2Oskhbl pATrjtH/GHh9dmtORt1rLaFvjLBaIyuUEgzmaS50d2aeCADwh3IphIj+zF4b9TfgBu6W Z96YIIuV7QkBtWEHIMyg1dFH6WzfAXzOLhvzU7RAZHKB0ivWzUJxVmMzuYrHWYjdKVX/ FqD/xpyqG/JxNnjGJzs6wlODa7ES+DNIegOQfM81QPmEULbjMf0WIgDKAly/Mytq+SCs iFGKhRUZ6kB6+7kdwBnRX1fo1xU/gBs8TublLRz2hXTMBC0Fa0CvZW79j3m+YM4ul5a0 5CNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=MzykVGAi; dkim=pass header.i=@codeaurora.org header.s=default header.b=LxENiXKn; 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 r134-v6si6007512pfc.202.2018.10.04.06.42.25; Thu, 04 Oct 2018 06:42:41 -0700 (PDT) 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=@codeaurora.org header.s=default header.b=MzykVGAi; dkim=pass header.i=@codeaurora.org header.s=default header.b=LxENiXKn; 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 S1727370AbeJDUdy (ORCPT + 99 others); Thu, 4 Oct 2018 16:33:54 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:42618 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727264AbeJDUdy (ORCPT ); Thu, 4 Oct 2018 16:33:54 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 6703D607F4; Thu, 4 Oct 2018 13:40:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1538660433; bh=sfcAhcy+9GmrPMHdIGm1/YtoQlNjJuS2G1krXZgBuqo=; h=From:To:Cc:Subject:Date:From; b=MzykVGAiIx4oakjg317vMbkrmOXGcXNYhp4CjzEmrjXGSj3CifIviLsTdQHc7G/1N EaP5sV5iigjcE8uCoKVqHwD3PyTzODoh0BWkT6FTYt7hS80SA5jSfZb91XNN1e0US1 VK09yJOkgPlI05EIVhGcopCC3+2xyh6UbrNqt6ec= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no 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@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 625966081B; Thu, 4 Oct 2018 13:40:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1538660432; bh=sfcAhcy+9GmrPMHdIGm1/YtoQlNjJuS2G1krXZgBuqo=; h=From:To:Cc:Subject:Date:From; b=LxENiXKnW04Nub57f+6FE11A5TCmpjTMlNX0KaqNL/6GdIRv8ua1P68oXpRUb8qnn 8k17fh7+mEZDAou1cGaXyjclkG0ldVBcN8F6OBJCQeTerd2tgN30dY+luqJimxAn2I nXwORDEk7Aibq3cORDqFPFKr7bAiMt6yA5pgSRMw= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 625966081B Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.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: [PATCH V2 0/4] Add TIOCM Signals support for RPMSG char devices Date: Thu, 4 Oct 2018 19:10:16 +0530 Message-Id: <1538660420-27797-1-git-send-email-aneela@codeaurora.org> X-Mailer: git-send-email 1.9.1 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 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 | 130 ++++++++++++++++++++++++++++++++++++++ drivers/rpmsg/rpmsg_char.c | 75 +++++++++++++++++++++- drivers/rpmsg/rpmsg_core.c | 42 ++++++++++++ drivers/rpmsg/rpmsg_internal.h | 5 ++ include/linux/rpmsg.h | 27 ++++++++ 5 files changed, 276 insertions(+), 3 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project