From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40B73C28CF5 for ; Wed, 26 Jan 2022 15:42:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243037AbiAZPmg (ORCPT ); Wed, 26 Jan 2022 10:42:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243021AbiAZPmf (ORCPT ); Wed, 26 Jan 2022 10:42:35 -0500 Received: from mail-ot1-x32a.google.com (mail-ot1-x32a.google.com [IPv6:2607:f8b0:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EEA6C061747 for ; Wed, 26 Jan 2022 07:42:35 -0800 (PST) Received: by mail-ot1-x32a.google.com with SMTP id d18-20020a9d51d2000000b005a09728a8c2so5480716oth.3 for ; Wed, 26 Jan 2022 07:42:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=cPQS12uSWYnFGnhtpSTB886lFMXticcPVlcnwUZfGgo=; b=gb+oNW+UwiOppNImknwwtREBg/q9GsHXZB9zw/PKXpeXSn2bCNFuSDdE2sWTQTyRiD ChJKxoM0mdVfccM/qDGwOP98d0uuzY0WdJqHuCiCLnfRywNrjXW0aoX51xTlDqHAvo2k 010Gf0gFu89mubjoX1OPUKV+/yVjqz9g8/cx+DaLjF0G0A9JecfF3xwaUntU/bIbvrzW zLKyi6SjFbOZPds9TA/M7zv9+tcm9wMqgrONUNVoZEcy0sPi9D/XTDjMcwfnEs6+3JzV egKJ/1F+gqt26ucnD6S9R0Ol2su3GyrLGyCob8mLr/c9FUpf8rM6eW6LVWmvk1jXU9IK KLbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=cPQS12uSWYnFGnhtpSTB886lFMXticcPVlcnwUZfGgo=; b=QYBrs/0yIz/qwdof6SzuqkruUEnNjIcAghyNV707G1NMkNYrDROBRhqj/5qD/Hpi5N 0Jzcj1Qp4Dr/+Ib0pdvjFTjeoK0yP2Wdx8eM/VhLPYF5j+oNDksXOIpTAy8FVwpMSDz9 Lx1fh7yBWug6xUxDIu9SZ+PqwGjxqknNyBAbPetn81eGHOGEPCUMCJYL2/ujSgt2m6P/ V6JJXW/z8hJly+cJRkaP79jL5uttZJv39HBFVdKOctiAS8wTr8IzHZWkainuj96yRTWd sOT46ik7rVngCkE5C23L4hxd9xxVeLXcsvOlnvYDQbQY58s19LYtdFswk/TyLWOtiFzI d2ZA== X-Gm-Message-State: AOAM533RMnPjiXcCGtzWvGKoQveicQ6v6UN/oFhNTCnDPM2+3SOoaawO LMRSlZKp10+FO5ZKlhXG0y2QZg== X-Google-Smtp-Source: ABdhPJwjPY7ie/8+qZsvxLOotN8dmaMBgBqAzhHBtM69ChDYAHZyddQsF+U/Tfqf2CWewTMkukvNtw== X-Received: by 2002:a05:6830:18d8:: with SMTP id v24mr11412283ote.123.1643211754754; Wed, 26 Jan 2022 07:42:34 -0800 (PST) Received: from builder.lan ([2600:1700:a0:3dc8:3697:f6ff:fe85:aac9]) by smtp.gmail.com with ESMTPSA id j11sm8770285otj.30.2022.01.26.07.42.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jan 2022 07:42:34 -0800 (PST) From: Bjorn Andersson To: Linus Torvalds Cc: Ohad Ben-Cohen , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, Matthias Kaehlcke , Sujit Kautkar Subject: [GIT PULL] rpmsg fixes for v5.17-rc1 Date: Wed, 26 Jan 2022 09:42:33 -0600 Message-Id: <20220126154233.2453010-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following changes since commit 8066c615cb69b7da8a94f59379847b037b3a5e46: rpmsg: core: Clean up resources on announce_create failure. (2021-12-08 10:16:50 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git tags/rpmsg-v5.17-fixes for you to fetch changes up to 7a534ae89e34e9b51acb5a63dd0f88308178b46a: rpmsg: char: Fix race between the release of rpmsg_eptdev and cdev (2022-01-17 16:39:58 -0600) ---------------------------------------------------------------- rpmsg fixes for v5.17-rc1 The cdev cleanup in the rpmsg_char driver was not performed properly, resulting in unpredicable behaviour when the parent remote processor is stopped with any of the cdevs open by a client. The two patches transitions the implementation to use cdev_device_add() and cdev_del_device(), to capture the relationship between the two objects, and relocates the incorrectly placed cdev_del(). ---------------------------------------------------------------- Matthias Kaehlcke (1): rpmsg: char: Fix race between the release of rpmsg_eptdev and cdev Sujit Kautkar (1): rpmsg: char: Fix race between the release of rpmsg_ctrldev and cdev drivers/rpmsg/rpmsg_char.c | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-)