Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp711731ybz; Wed, 15 Apr 2020 17:16:21 -0700 (PDT) X-Google-Smtp-Source: APiQypIBQJt+96WOzSQ6ZSTQpzgMYN9YmCG5udMXHEeEmWvsqJ5zgQXbNS2osv/Gpn3gjlwrfrV7 X-Received: by 2002:a17:906:2a86:: with SMTP id l6mr7420223eje.273.1586996181119; Wed, 15 Apr 2020 17:16:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586996181; cv=none; d=google.com; s=arc-20160816; b=IY5w214tbmYqObFRWbrfpKWL9mOudP+HefbSF4Y2I3PfmXKRnRE5XqY/5fB9oIKrmz vsEaC0dSoxuQKKWLwVb1HfLQ0n+wvzd/Q0iKqcLcb1w2rZtp7iBIVWcl/hPMeK8m6sQc uz0EZyc1XiiYFSS9HHkOpm8uHrmRUePxHEmOPkKzLz+LDDdmVAsV3C1Dw9ukpASguk1C hJRu3d0baE9UlbqdFhYCEqez69JV2af924TjNJ6tP1ZHnxQviWuQQKLRGbNoBBkp4EJQ VRhCDk5U+/HVOXIBArbHEev72BDz7cG2b/MHVtgC6Xss5V091q6KSIRJbRJK1hdVuaYi dPDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=tH4gjjLA2sHHlMJxHymXDmFf3TX8HT+BJW2OSZoHuxk=; b=WZg4OzyRQvz/prdutU1qUav1eZqBv1J8dBpoLK1nhFUaducTvaGYYsLXmW93soketC z0zkNvb82XoB8+Y1UtodF/ox8WD/93kHhk3f4cGoMaqDMxHfsWPE4Zp4mRUZUsw9cN8k 3bTwm0s7SUWne90dEMYDdTfNhHwXh22Fe7izOSzsPbZz0V6FEeE9bpssQ+mJuY02ku2b /CuitgMQITYYQTnBe9hwAn5qhkr63+TCH9ppaIdS5cwWQuBcQ+UaUTtff/0U19VsMM/+ cKhQHTa0uAZuR9WRtq73hoaTa7nmSkUtHP3nxLmtEtSk4CgEFPmHeBvIh6MWvwCmkIHF K0xQ== ARC-Authentication-Results: i=1; mx.google.com; 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 e9si4465311eds.63.2020.04.15.17.15.57; Wed, 15 Apr 2020 17:16:21 -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; 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 S1414612AbgDOPRD (ORCPT + 99 others); Wed, 15 Apr 2020 11:17:03 -0400 Received: from m17618.mail.qiye.163.com ([59.111.176.18]:55441 "EHLO m17618.mail.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393356AbgDOPRB (ORCPT ); Wed, 15 Apr 2020 11:17:01 -0400 Received: from ubuntu.localdomain (unknown [58.251.74.226]) by m17618.mail.qiye.163.com (Hmail) with ESMTPA id 021814E16BB; Wed, 15 Apr 2020 23:16:55 +0800 (CST) From: Wang Wenhu To: bjorn.andersson@linaro.org Cc: agross@kernel.org, gregkh@linuxfoundation.org, kernel@vivo.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, ohad@wizery.com, rdunlap@infradead.org, wenhu.wang@vivo.com Subject: Re: [PATCH v3,0/3] drivers: rpmon: new driver Remote Processor Monitor Date: Wed, 15 Apr 2020 08:16:49 -0700 Message-Id: <20200415151649.122787-1-wenhu.wang@vivo.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200414225823.GH892431@yoga> References: <20200414225823.GH892431@yoga> X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZSlVNTkNCQkJCSkJDQkpITVlXWShZQU hPN1dZLVlBSVdZCQ4XHghZQVk1NCk2OjckKS43PlkG X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6PDY6MAw*PzgxKAgvETVNAy5L Dg5PFBpVSlVKTkNNQk1IQ0pDT0xNVTMWGhIXVQweFRMOVQwaFRw7DRINFFUYFBZFWVdZEgtZQVlO Q1VJTkpVTE9VSUlNWVdZCAFZQUhKSUI3Bg++ X-HM-Tid: 0a717e6a1fab9376kuws021814e16bb Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bjorn, Mainly two aspects: - Different message drivers modularly added to support different platforms. Currently, RPMON_QMI is available, and further maybe mailbox or so. - Different events to be notified and different actions to be taken out. Currently, connection check action is available, and remote endpoint's registeration event would be notified. I hope the Remote Porcessor Monitor would eventually do something more and be used by more users and platforms, and more actions and events would be added as enhancement. At the same time, it is better to support different SoC platforms. So I wrote the codes in kernel. Thanks, Wenhu >> Changes since v1: >> - Addressed review comments from Randy >> Changes since v2: >> - Added Cc list >> - Commit log typo fixing >> - Use the ARRAY_SIZE instead of calculations of multiple sizeof() >> - Use micros for qmi message tly_type fields >> >> Wang Wenhu (3): >> driver: rpmon: new driver Remote Processor Monitor >> driver: rpmon: qmi message version 01 >> driver: rpmon: add rpmon_qmi driver >> >> drivers/Kconfig | 2 + >> drivers/Makefile | 1 + >> drivers/rpmon/Kconfig | 54 ++++ >> drivers/rpmon/Makefile | 3 + >> drivers/rpmon/rpmon.c | 506 +++++++++++++++++++++++++++++++ >> drivers/rpmon/rpmon_qmi.c | 431 ++++++++++++++++++++++++++ >> drivers/rpmon/rpmon_qmi.h | 76 +++++ >> drivers/rpmon/rpmon_qmi_msg_v1.c | 258 ++++++++++++++++ >> include/linux/rpmon.h | 68 +++++ >> 9 files changed, 1399 insertions(+) >> create mode 100644 drivers/rpmon/Kconfig >> create mode 100644 drivers/rpmon/Makefile >> create mode 100644 drivers/rpmon/rpmon.c >> create mode 100644 drivers/rpmon/rpmon_qmi.c >> create mode 100644 drivers/rpmon/rpmon_qmi.h >> create mode 100644 drivers/rpmon/rpmon_qmi_msg_v1.c >> create mode 100644 include/linux/rpmon.h >> >> -- >> 2.17.1 >>