Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp92952imm; Fri, 5 Oct 2018 00:00:14 -0700 (PDT) X-Google-Smtp-Source: ACcGV63gUGQgaWdRroSzpLWWCiCF1BxkfR0F9TvtglFjX87chdDx1gxrPnCjoCpsicA7DL6/mkcs X-Received: by 2002:a63:b305:: with SMTP id i5-v6mr8792712pgf.46.1538722814329; Fri, 05 Oct 2018 00:00:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538722814; cv=none; d=google.com; s=arc-20160816; b=reg9zB1wbHtV+cZ/AhwWSV7t/ypIwHiwEuN+8LrK0si9ocrmHAGKVjS2TisNc/HsyY RWrSLLzegHNW9qfnciivzrISc2qLVHL0USGxQZbHCxWcAZ4buRz70cY/g9zprggRUFNA BhoKKtKVL1E5kVsQIz9oi3FYB/86mTYv3OlY1DD8KpPNnEhoR8Pg/TA/depF51Nl1Rlf TqEMThe7rEsTYes6iQmA0QaQD5IUJKQm+rBxMRD+cC2M1Vfx4F+QQ9mB+Vl92fXFQrJ8 AKmPy4gcZlVgrmwMLYCEPYpwD7rQMKOyzfEdR6acUySxuIIz6zrz9Xw/UDGLjguDWola nZvw== 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=0Pq2ybwo+zzMjt8o6sIOi7jjEjvCbvYaaCNAwBD0arU=; b=wnzj2gV7XAB92BGCh6UI23XQ5MSmMe+WkZuWtsTEvy/zNkpE1E+CMxPAnsyu/NbC6E Deh2HzFnN0fvgJEa+TzEvNEJbvPKILVTWXkdXhvnl2d9jhB+UyYJT+fXUYKkS4NCTDpW pHNVLzuLoeJUv+jY8gxp3GoJKBRJTA/jdyaNR3kH+Pztgz7ewkOLhxuQ553HHhoyBRju obTVGTK6k2QfrL32NDpKNtPYvsuEQpfl4yXQlC3OXpV0QyBbs5EEopmyNqZxmqTfnuXB DWvCdJmEqrIQP1qmtkwlhwbh5nekSQ7wNyONQUwQ3OaOM6r9CosFs0RqXlhurRY40vUG GoZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=YaR4aepZ; dkim=pass header.i=@codeaurora.org header.s=default header.b=YaR4aepZ; 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 x5-v6si7262168pgc.210.2018.10.04.23.59.57; Fri, 05 Oct 2018 00:00:14 -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=YaR4aepZ; dkim=pass header.i=@codeaurora.org header.s=default header.b=YaR4aepZ; 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 S1727835AbeJEN5J (ORCPT + 99 others); Fri, 5 Oct 2018 09:57:09 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:58228 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727133AbeJEN5I (ORCPT ); Fri, 5 Oct 2018 09:57:08 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 8797D60C1B; Fri, 5 Oct 2018 06:59:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1538722789; bh=lUFiFZAlUpKVaK69371o6dNzx/lXGT6MRnhc8pb/7/Q=; h=From:To:Cc:Subject:Date:From; b=YaR4aepZ7Dn16H4t6K32n8SPcl8wkerw+S37uyDo+Rk+hlXxpJ93xDS0t5kLraZYE DAlz3BilvnvVLQmWsaIzn4Jkv92wRPA5hWKCq/4oC74ptQ8Poye9q8y1l/tpyzGGtl FcPQ8PqNSCjkWG44J6h8A1tMgirdOxom6zblRtJA= 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 92FD960445; Fri, 5 Oct 2018 06:59:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1538722789; bh=lUFiFZAlUpKVaK69371o6dNzx/lXGT6MRnhc8pb/7/Q=; h=From:To:Cc:Subject:Date:From; b=YaR4aepZ7Dn16H4t6K32n8SPcl8wkerw+S37uyDo+Rk+hlXxpJ93xDS0t5kLraZYE DAlz3BilvnvVLQmWsaIzn4Jkv92wRPA5hWKCq/4oC74ptQ8Poye9q8y1l/tpyzGGtl FcPQ8PqNSCjkWG44J6h8A1tMgirdOxom6zblRtJA= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 92FD960445 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 V3 0/4] Add TIOCM Signals support for RPMSG char devices Date: Fri, 5 Oct 2018 12:29:32 +0530 Message-Id: <1538722776-13648-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 Changes since v2: - Modify the rpmsg_get_signals function prototype 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 | 74 +++++++++++++++++++++- drivers/rpmsg/rpmsg_core.c | 41 +++++++++++++ drivers/rpmsg/rpmsg_internal.h | 5 ++ include/linux/rpmsg.h | 26 ++++++++ 5 files changed, 269 insertions(+), 3 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project