Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2656963pxa; Fri, 7 Aug 2020 17:35:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxV5h72UJjgak4xC0QQDDbf8ySO1SZL44+s/budGHEhzjNJCXeLl1NU/5GcjppMJoSNlnph X-Received: by 2002:a17:906:3790:: with SMTP id n16mr11756841ejc.256.1596846917744; Fri, 07 Aug 2020 17:35:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596846917; cv=none; d=google.com; s=arc-20160816; b=xFwNHZyAMhE8s+xqIsKUMR+gAJqK/YukCfOJDM1Zo3RTkbTmBCThPP6t4eZwJx2Twf oAH8EWFTFxxwQqr4H4bWl8ifwXmpopt4bB+j2qvC1A0i+G9u+I2HakSQnnFVP6buMCeM MnyAujCnUsDHX+KSCND95iDapzkrVGYo0ad9qGYTpqctWH2QrVK3k1sXp0pzX+FUMod7 +Ghs2oLPC1nbUdd3eypwBbGIQ/saTvb5jJTlLItg9ctFbHh92bL5wJgRz0n774EMk4t0 O+Dxvd7oxCYE9sc8bbAeUWYy5uEWM9ibbhKqFiZpKmybJQgiGqN8yunnhBRRaI7C++lO wfmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature; bh=o8H3DbBRuU/WI60t8r75/8BmV4S5ZGXxpDud+ZI36N8=; b=m0jgIxU2HoRiCrsU5q9wxkx3d3KRsMTR0XrlyZS2k2kZaJWSAw8LtPIN0auXqXm971 CH8gy3ALB1sL+LTZmvlY1ZvFeT8SS2fBo1scBIjkB2okhL9BIz9E+pvmgAvNNqgSJo4W 0wWtf0v5XNuGnl3n0zBWcQ5urDENY9k6hFa03tF5e80b71arzkOvhdA7aDuAqxq4qVfu hFLr11gQMo2EjgWvMDgFjQhi+D1oFMRkhRy6Hg9ocNRxpWaF5dFip1mJKvqrgNFjtfAM j6L8tEtV/9202zWDdtJed3row6UbnAmXMtdhLXM/9TRvxlBxsyrXVCxVubmeFjexXt5Y 7Wug== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b="EIh7v/nD"; 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 y23si6283143ejd.544.2020.08.07.17.34.55; Fri, 07 Aug 2020 17:35:17 -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=fail header.i=@mg.codeaurora.org header.s=smtp header.b="EIh7v/nD"; 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 S1726238AbgHHAd5 (ORCPT + 99 others); Fri, 7 Aug 2020 20:33:57 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:62891 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726163AbgHHAd5 (ORCPT ); Fri, 7 Aug 2020 20:33:57 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1596846836; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=o8H3DbBRuU/WI60t8r75/8BmV4S5ZGXxpDud+ZI36N8=; b=EIh7v/nDlLV4VF0R6kScyRz8SCxQ8nSQNtUD+A32P1ALbIpuVm/7aUQfbsxYPGg/CDOHZCIt 9w2pE4KT1IcRG02lN2aJAwvNvCBCN0zit8+NzQuyXmhSXYs8Q906/JWLoj9fAwLdeytNPg5H asmMEZug2MevSKpvGUWzB0/k4CQ= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n14.prod.us-east-1.postgun.com with SMTP id 5f2df2f3ba4c2cd367d04a80 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Sat, 08 Aug 2020 00:33:55 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id AA2CCC433CA; Sat, 8 Aug 2020 00:33:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=2.0 tests=ALL_TRUSTED,NICE_REPLY_A, SPF_NONE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from [192.168.142.6] (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: clew) by smtp.codeaurora.org (Postfix) with ESMTPSA id B625AC433C6; Sat, 8 Aug 2020 00:33:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org B625AC433C6 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=clew@codeaurora.org Subject: Re: [PATCH V7 2/4] rpmsg: Guard against null endpoint ops in destroy To: Greg KH , Deepak Kumar Singh Cc: bjorn.andersson@linaro.org, mathieu.poirier@linaro.org, Arun Kumar Neelakantam , Ohad Ben-Cohen , "open list:REMOTE PROCESSOR MESSAGING (RPMSG) SUBSYSTEM" , open list References: <1593017121-7953-1-git-send-email-deesin@codeaurora.org> <1593017121-7953-3-git-send-email-deesin@codeaurora.org> <20200807075946.GA3049898@kroah.com> From: Chris Lew Message-ID: Date: Fri, 7 Aug 2020 17:33:53 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200807075946.GA3049898@kroah.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Greg, On 8/7/2020 12:59 AM, Greg KH wrote: > On Wed, Jun 24, 2020 at 10:15:19PM +0530, Deepak Kumar Singh wrote: >> From: Chris Lew >> >> In RPMSG GLINK the chrdev device will allocate an ept as part of the >> rpdev creation. This device will not register endpoint ops even though >> it has an allocated ept. Protect against the case where the device is >> being destroyed. >> >> Signed-off-by: Chris Lew >> Signed-off-by: Deepak Kumar Singh >> Signed-off-by: Arun Kumar Neelakantam > > Should this be marked for stable kernels? > > And if so, what commit does this fix? Any reason the Fixes: tag was not > used here? > The crash that this fixes doesn't show up unless one of the previous patches in the series is applied. [PATCH V6 3/5] rpmsg: glink: Add support for rpmsg glink chrdev I'm not sure if the fixes tag should apply to this change or one of the commits to the base rpmsg code. > And what happened to this series? I don't see it in linux-next, did the > maintainer ignore it? > I believe most of the review feedback for the series has been addressed by Deepak. There is one remaining action item for me and Deepak to provide more concrete evidence that the first patch in the series is needed. [PATCH V6 1/5] rpmsg: glink: Use complete_all for open states > thanks, > > greg k-h > Thanks, Chris -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project