Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3531075rdh; Thu, 28 Sep 2023 14:46:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHQr1FYEitZaxIpNypUQGx1YXtjBCw8ixGecbC4tn2me5AOW/NiOz+Hi6NNPBntwIxH6Taz X-Received: by 2002:a05:6a00:24c6:b0:68c:2be:67bb with SMTP id d6-20020a056a0024c600b0068c02be67bbmr2690225pfv.20.1695937586928; Thu, 28 Sep 2023 14:46:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695937586; cv=none; d=google.com; s=arc-20160816; b=cJqZgXekgDlV6/hr8IdfTFLyXvkJirAw8iZToJPuK+JLfyO/lbVrA2IXgu71rP2HFj AzziFq9R9qfXGzxkpub2FJjevM87uh3Po64eindoI7BFsusD93nBWzc64GmEEJP+b8NO 51DCV/sPIAd2GZbSIbXiMz0qIdqBE8/su+AmmMj9JUdRXF9XDuBB7ct/nF6Bybe/OwK7 OgBh6TqfLgHC4ODdT5/sIcjebfI/mrUISsk/ElzrQyEK0cfRHtV8VvQg0sMv0HSz8bkd BGc4ki8/q0lhioVG5S5c0L/LjftnvC4AWMdRwjcBwoYCcKpzlIqaoTMAfikbkSHAXpF4 vU5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Mtpu2L6Svlgan9cfdSOI7ZDxNHXpdinK+D/ScT6115Y=; fh=UMVCnV6+Gde6qAodH83OhGDkn76uaRHAGzw8tlfy+xM=; b=kegmB47RAOC8+QgcBByednj0m0+d0uR7tKWEqMBkb/JJ2T+uJmTCKdc5gegzye8Fl9 k39ynb20js2ivGoNJsnxCwFZYSRCqTn74k51Cd6TcfSUHmPxgpaihYI/s+VE1BFVkuQi hytK9shy4jLdkRZhZvgd3cHDn2D+AsiOB5a+1MyTSZWTwilRjj5MRNOPetf3FGTbhN+C MprA1RMQXWuAAjJva7VC3MHzlZA6xb3rpsDxjd/kISzBZUfZcousM0raqohjun/APUMR ByT0WXDWWHLpH1LFTjCFre9j+quBFe+gqowHArNaXzOy1xmkhR32teKx9sk7fFdQumsC LgcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Od4I6nuT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id t22-20020a056a0021d600b00690b80126b9si19668880pfj.142.2023.09.28.14.46.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 14:46:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Od4I6nuT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 8EDE880784F0; Thu, 28 Sep 2023 06:06:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232608AbjI1NGB (ORCPT + 99 others); Thu, 28 Sep 2023 09:06:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232590AbjI1NGA (ORCPT ); Thu, 28 Sep 2023 09:06:00 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51E5119D; Thu, 28 Sep 2023 06:05:55 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 78B5CC433C7; Thu, 28 Sep 2023 13:05:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1695906355; bh=TYCJvNXignKZxmUxck1gTDRPyQI43GHtmHRjMgZ7NAU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Od4I6nuTYSLiG8X1hMSzaGddUN3BCD49zWIzjGiGFkfPpTXuKkFGnhdhcub5fQmyA 9jTdsbDW3CV51fYTlaEdJYMXyB8AHBpxMRs5rSUNA1SKKsuid2+ixqWcDlfWha9xkw 2z6t0kCH4s6ZkaWzsaZjO/y9USTHjWMxmLsoA0Gs= Date: Thu, 28 Sep 2023 15:05:51 +0200 From: Greg KH To: Ekansh Gupta Cc: srinivas.kandagatla@linaro.org, linux-arm-msm@vger.kernel.org, ekangupt@qti.qualcomm.com, linux-kernel@vger.kernel.org, fastrpc.upstream@qti.qualcomm.com Subject: Re: [PATCH v1] misc: fastrpc: Free DMA handles for RPC calls with no arguments Message-ID: <2023092833-daylong-gecko-eb0e@gregkh> References: <1693463029-9311-1-git-send-email-quic_ekangupt@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1693463029-9311-1-git-send-email-quic_ekangupt@quicinc.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 28 Sep 2023 06:06:09 -0700 (PDT) On Thu, Aug 31, 2023 at 11:53:49AM +0530, Ekansh Gupta wrote: > The FDs for DMA handles to be freed is updated in fdlist by DSP over > a remote call. This holds true even for remote calls with no > arguments. To handle this, get_args and put_args are needed to > be called for remote calls with no arguments also as fdlist > is allocated in get_args and FDs updated in fdlist is freed > in put_args. > > Signed-off-by: Ekansh Gupta What commit id does this fix? Or is this new functionality? thanks, greg k-h