Message ID | 20230213155215.1237059-1-quic_bjorande@quicinc.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2420993wrn; Mon, 13 Feb 2023 07:56:07 -0800 (PST) X-Google-Smtp-Source: AK7set+T9cupSJBdtpsb0hxQYMF/uD2tA2mYy3CqgECqhcnLRXB+fRuQBdGj6Rgw/sT82VeIBWtY X-Received: by 2002:a17:906:4e54:b0:878:545b:e540 with SMTP id g20-20020a1709064e5400b00878545be540mr26564732ejw.51.1676303767380; Mon, 13 Feb 2023 07:56:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676303767; cv=none; d=google.com; s=arc-20160816; b=YRUukn3z1cHq2pPED4KalDoUy1pzfuoZm9HlQBtZnoiCh9fALzsnZD7/sSvkrpuyug G0/tGZOqCpX44itFoqfuEeod6zGHChnPOnWFv5PWmj4EPzmJL7H/s5iQQdmKKJJADBEu hSFpOA0EZDVmCPTpqI4O+CFNPSvVC9w/r8phlQH0L99UkCfc84IUlMC2pgbn5dP88X2j iG4K+eXYdOb5qAqJCdE5VEB3b0SlKkFf17Yg+WR1lAzKBGxyYuTh0cKhKnxWFXMMVNAV baTeJ5MWek3dUCwbAZmN+fzdUproXWZPzxgJYiCHOn+niYzQZCOzmaiHsopfVVIJA0r4 byEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=0VvJRIYUJ1Q+yZA+rhwDocPrDjS8d43jsTRHEy+Ms7Y=; b=g2KbF5EDkhpT0tD3j26OlkchXkei0Bc6EvModt2P3Pt4nD+Y4UIKKYV94RxpS70780 rY238vyk5LAEiyHmHL3P63EMAH5NWf26c7SkOCnWbg9kyR8rZU9GOp6VvA8ZF0kg54SY HEjn9BH77k6KteJUngG7ZcB8qmK/tXoh55KepYdaxm6SL7FqWOQ89nyjIQAs1p7EI+av uGuRjlaqm/PGN8QHTXy9yqMdrp+5UINnso3lPo8qzeLt5p8S1StXl6KhaQ8zEvizV4pk pPpMGwhGqXlLVx8xJQUckccMFa+CY4bfySAU2qy5YFsxnlH2kl6Xk+b1LnkNrk+RAazi AaVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=V5won4fX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fq7-20020a1709069d8700b008873dfff51asi12162997ejc.138.2023.02.13.07.55.44; Mon, 13 Feb 2023 07:56:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=V5won4fX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230527AbjBMPwn (ORCPT <rfc822;tebrre53rla2o@gmail.com> + 99 others); Mon, 13 Feb 2023 10:52:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230239AbjBMPw1 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 13 Feb 2023 10:52:27 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 982271A643; Mon, 13 Feb 2023 07:52:26 -0800 (PST) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31DFkmbd000824; Mon, 13 Feb 2023 15:52:22 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=0VvJRIYUJ1Q+yZA+rhwDocPrDjS8d43jsTRHEy+Ms7Y=; b=V5won4fXBo0kPt/KxsZwg1y+heSfHdoiF/2VipEk9ZsaDQzHCcHJrelW2RqjjKxebDNc Dt36z6cGww2J6UH9RPtivwdqLP0KBpD07NzPL1Pc65/sNcYcEYwoCIQVtG6pt4nIaYp1 gYE8IlM3V0kUQ5b1Zu+WjYtthfQjSWFnQlnjvRlbbzB2OJUV/oXf+SezIOpTOnx2DT4d /1qbKPIdpdbFTR68J24i/DNagwAY+Kq8eXxrT5aO8A00hTJcZttIuOsr16/leeLrYG9P V8rEK6rzuDIds4CXftxDfviQ2dJTAiUi2WPJZn115+Q6RhtPCFNB4/hmogLYxCe7WyJu cw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3np21fvmu9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Feb 2023 15:52:22 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 31DFqL1I012099 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Feb 2023 15:52:21 GMT Received: from hu-bjorande-lv.qualcomm.com (10.49.16.6) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Mon, 13 Feb 2023 07:52:20 -0800 From: Bjorn Andersson <quic_bjorande@quicinc.com> To: Bjorn Andersson <andersson@kernel.org>, Mathieu Poirier <mathieu.poirier@linaro.org>, Chris Lew <quic_clew@quicinc.com> CC: <linux-arm-msm@vger.kernel.org>, <linux-remoteproc@vger.kernel.org>, <linux-kernel@vger.kernel.org> Subject: [PATCH v2 0/6] rpmsg: glink: Misc improvements Date: Mon, 13 Feb 2023 07:52:09 -0800 Message-ID: <20230213155215.1237059-1-quic_bjorande@quicinc.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01b.na.qualcomm.com (10.47.209.197) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 4Usmd3l17Y4EajOPMYEpzdTJ6WbMmslU X-Proofpoint-ORIG-GUID: 4Usmd3l17Y4EajOPMYEpzdTJ6WbMmslU X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-13_10,2023-02-13_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 phishscore=0 priorityscore=1501 bulkscore=0 impostorscore=0 malwarescore=0 mlxscore=0 adultscore=0 spamscore=0 mlxlogscore=755 lowpriorityscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302130143 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757731899058704768?= X-GMAIL-MSGID: =?utf-8?q?1757731899058704768?= |
Series |
rpmsg: glink: Misc improvements
|
|
Message
Bjorn Andersson
Feb. 13, 2023, 3:52 p.m. UTC
This series refactors glink_native to move IRQ and mailbox handling to SMEM and RPM driver, in preparation for more work. It then introduces the logic to fail glink transactions and pending intent requests in the event of the edge being torn down. Bjorn Andersson (6): rpmsg: glink: Extract tx kick operation rpmsg: glink: smem: Wrap driver context rpmsg: glink: rpm: Wrap driver context rpmsg: glink: Move irq and mbox handling to transports rpmsg: glink: Fail qcom_glink_tx() once remove has been initiated rpmsg: glink: Cancel pending intent requests at removal drivers/remoteproc/qcom_common.h | 3 +- drivers/rpmsg/qcom_glink_native.c | 93 +++++++++++++---------------- drivers/rpmsg/qcom_glink_native.h | 3 +- drivers/rpmsg/qcom_glink_rpm.c | 94 +++++++++++++++++++++++------ drivers/rpmsg/qcom_glink_smem.c | 98 +++++++++++++++++++++++++++---- include/linux/rpmsg/qcom_glink.h | 12 ++-- 6 files changed, 212 insertions(+), 91 deletions(-)
Comments
On Mon, 13 Feb 2023 07:52:09 -0800, Bjorn Andersson wrote: > This series refactors glink_native to move IRQ and mailbox handling to SMEM and > RPM driver, in preparation for more work. It then introduces the logic to fail > glink transactions and pending intent requests in the event of the edge being > torn down. > > Bjorn Andersson (6): > rpmsg: glink: Extract tx kick operation > rpmsg: glink: smem: Wrap driver context > rpmsg: glink: rpm: Wrap driver context > rpmsg: glink: Move irq and mbox handling to transports > rpmsg: glink: Fail qcom_glink_tx() once remove has been initiated > rpmsg: glink: Cancel pending intent requests at removal > > [...] Applied, thanks! [1/6] rpmsg: glink: Extract tx kick operation commit: 8278fd3144779d883779d1f5bcbf49da36587fd1 [2/6] rpmsg: glink: smem: Wrap driver context commit: ab9fdd41d970c38ddc0fd59e5f8f37e8d966d454 [3/6] rpmsg: glink: rpm: Wrap driver context commit: 178c3af447f92c58d5b1153df2cd02b755c083c8 [4/6] rpmsg: glink: Move irq and mbox handling to transports commit: f424d1cbe8c7ef78a4b639502fa9904c4198387b [5/6] rpmsg: glink: Fail qcom_glink_tx() once remove has been initiated commit: 9c96bacf1af51bc71898f31e025f08338c6ca4da [6/6] rpmsg: glink: Cancel pending intent requests at removal commit: fb23b97346f9aaa9f7b7a996e7baf066c88d69bd Best regards,