Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1177172pxf; Fri, 26 Mar 2021 02:44:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrXUqhfh7/tdtikFYrqVxcnAt1pKren+YpDGiEMKdo2lgNvPQOxzSQr5InETGUO5oFCNHg X-Received: by 2002:a50:9ea7:: with SMTP id a36mr14117531edf.174.1616751876445; Fri, 26 Mar 2021 02:44:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616751876; cv=none; d=google.com; s=arc-20160816; b=efpyUq+IeI2Dlj3D/xKXAAQSj9ZnSTXZfk6rHgJnKN01AYKCo1WnAOE2m2aLmmu67P W8gj79XnDDL8dfzQvtGeWTjMbIuY8fDAmo2xGyIO6FKC6zf3UQ7e9xC4Ux8ud1DRVLr1 WGICOGn3jo24ONVbh8uQoVav2+AdMC/plSZ4X5pRyQB+91fE2qNPiHCW5OEkduREVZCK nSHWI+13Tg5Jdl/2BL+WWqcYfOoW+o6xzVFOO12mKeP1JTSKZ7CZByGEbgocPMvDKs5T eEuQ0chEmJSTbNJmUjdZX2lklpgL8erZf8oDqyonGnQpDxBTdVpRFp5lcwjJi/7YAq19 H42Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=ShKYrA7P3E0igvr61VeFGfLX7dh39Y23GnQBwv5C1to=; b=XaSnBkBgbq5vS50mTD1R8YxayAwJmFz1tlzj7VPo0fwy/tUJBMFGwdVhREBOvmKIBL ZW389SiAVgIB/F9j3xkZ0XbBJWMUB+SOd7bPd4XK5TgCJKZ93Az0+eCQElQMTW0KJZZd N9NqJ+qUd3GC1LOoKR9jV8ihyjG5aCVXgQoCzythLLm7uGeOLqPx5+6R3qJmX4y+4yhA LNZLECVpyrMr/b3gzHaL75ZWXnkTOm7Vn4MChMuTeVovC47Tnf6IIA6twXwTGRF6N3x6 0it3HTSRn3Ir1TehL2gi2Bbc1Mq35cKmnS6NYXXLZBNtIkLW9qdcAngpKV+19fbJsm0x kObw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=36fNdSB8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c23si6426989edv.312.2021.03.26.02.44.14; Fri, 26 Mar 2021 02:44:36 -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=pass header.i=@foss.st.com header.s=selector1 header.b=36fNdSB8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230182AbhCZJmo (ORCPT + 99 others); Fri, 26 Mar 2021 05:42:44 -0400 Received: from mx07-00178001.pphosted.com ([185.132.182.106]:9854 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229758AbhCZJmb (ORCPT ); Fri, 26 Mar 2021 05:42:31 -0400 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 12Q8vTcD014270; Fri, 26 Mar 2021 10:42:29 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=selector1; bh=ShKYrA7P3E0igvr61VeFGfLX7dh39Y23GnQBwv5C1to=; b=36fNdSB8EzAULjFddGjJRuHEwIBdg1KAai4QjhqS8ztSblu0JWCOA3clBsPPzPvjThaA 9/M4r8HSDaxS3HtKYkq8DVkkfTBVXP/jaBicG2HslH088Vj6WvVUmSDSZt8KXuEcFJOG OQUXQHs2YyE3hAHB5HmOBp76e+dpV4E3jt1hmPjHzI1796dksyp+aDlmpSMGRoDe8ntA s9gHs5DVLxE76cwss+ZNLDcbsIvQIfIpC/L1gvB2e8IvCo6JU9XcqCyRDikkpTv8w2Ve vGywoOqhOQaRzLNxY4rwL6rtgbHAuWWZOIjwW70S7ykTJl7dIFH5jEx4x4+MVLDHaoEU qQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 37h138b7wk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 Mar 2021 10:42:29 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 8A975100038; Fri, 26 Mar 2021 10:42:28 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag2node3.st.com [10.75.127.6]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 7AA882463D6; Fri, 26 Mar 2021 10:42:28 +0100 (CET) Received: from localhost (10.75.127.50) by SFHDAG2NODE3.st.com (10.75.127.6) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 26 Mar 2021 10:42:28 +0100 From: Arnaud Pouliquen To: Bjorn Andersson , Ohad Ben-Cohen , Mathieu Poirier CC: , , , Subject: [PATCH v3 0/2] remoteproc: stm32: add support of detaching a remote processor Date: Fri, 26 Mar 2021 10:42:07 +0100 Message-ID: <20210326094209.29750-1-arnaud.pouliquen@foss.st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.50] X-ClientProxiedBy: SFHDAG1NODE2.st.com (10.75.127.2) To SFHDAG2NODE3.st.com (10.75.127.6) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369,18.0.761 definitions=2021-03-26_02:2021-03-26,2021-03-26 signatures=0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Update from V2: Fix comment and changelog in patch 2/2. This patchset is the stm32mp1 platform implementation of the detach operation added in series [1]. On detach, the stm32 rproc driver sends a mailbox signal to the remote processor to inform it that it will be detached. Applied and tested on Bjorn's "for_next" branch (2b81aa17008e) [1] https://patchwork.kernel.org/project/linux-remoteproc/list/?series=447171 Arnaud Pouliquen (2): dt-bindings: remoteproc: stm32-rproc: add new mailbox channel for detach remoteproc: stm32: add capability to detach .../bindings/remoteproc/st,stm32-rproc.yaml | 11 +++++- drivers/remoteproc/stm32_rproc.c | 39 ++++++++++++++++++- 2 files changed, 46 insertions(+), 4 deletions(-) -- 2.17.1