Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp958935lqt; Fri, 7 Jun 2024 04:09:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUG6A+wOkZ48svhb3E2CaWrvr8Y40DBZfPdzu4lLqxgP029DmSBLjPqXXZCzzBt+UCsElstNE1cHtMexSMrSpoqWdfAxK3xKZA/OAq98A== X-Google-Smtp-Source: AGHT+IGlIKsVWt9NfzWltT+7clLuNRfWzP9AbQ2rIeQAkZ5LE7Ix51SATr3DX2juj5p+wrrqjCIU X-Received: by 2002:a05:6a20:7350:b0:1ad:6c5:4ea1 with SMTP id adf61e73a8af0-1b2f9c6e31dmr2573962637.41.1717758583652; Fri, 07 Jun 2024 04:09:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717758583; cv=pass; d=google.com; s=arc-20160816; b=PKpm6B+BijyHYVYXLBxFRxd+qHdb2rT2+tk+mjFOXiawVxyyyz6/QJUUtyUA7By+AH zk4Q/JhlkdY1a2ZSXTpEuBxKfZ+XYicx1haE1ODp4pUDkhCRinpOI1kqaumtbGXp4Dof eb/vNqUighWySYcj72yKBXoBQppV01WyTtfGZcXUjHo7ckdCj/FBFnr/G80MExnR9Wpa BjoDdOxofwwEWo7/TFKw3thoe9Hr3groapuVhg7VvpGcvU7Pxem+7u7bDNm1Z4GXFDqQ 3CDTIV3JDGQ2+7jPu9mMY7f6wT5nj1MOof1gw+Tk3T/PBpfxBkNalSVcvy/ee7EYyUjs xZjg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=QwvApUeqo/GeZM3yb0HNmlUq35XuhdMdPtdEy3Zogv4=; fh=5ZpG8NiqJrxtVeUsKGkXoyYmw66kYbU4l7PaJQUomCY=; b=dkjLDDj5hWoUSV3ZH+gwkYLnd1nyWVRGHL6sHNSgsKD6YAoMbKIG3kIcg2G7aMn50H qUKEw29V7IgdyGdV05GOkKGO9UAC2YBMZpeUanDpYmo12nb+mUsSZNpQUBQ74c6GkAvu F/UImhIjidvt7D39tDzoNRBS1ZwwgTmynmqn+jAJnWbaMXYtAYOd51sUp2VoggUO4eYF 4clOLwlQgNgMWW3QXcmIpVjN+vdv49s2TlwtdCT450DEKuZDCFyoTBHm+JnSXnnvQGF7 56+NW+mK1INWn9MpwiQJMPcNQI3NQ0TCOD8AuugAmBsLjHKDhR8fMNjIcZH1hhsJCSrh Hsuw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kdRobhu9; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-205872-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205872-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-703fd507811si2812234b3a.228.2024.06.07.04.09.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 04:09:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-205872-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kdRobhu9; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-205872-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205872-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 0CE5DB230DF for ; Fri, 7 Jun 2024 11:08:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7961418733B; Fri, 7 Jun 2024 11:08:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="kdRobhu9" Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 05D6B1862AC for ; Fri, 7 Jun 2024 11:08:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717758497; cv=none; b=aslprps4TttkID4I3TIMlykX6RRVX0ORx6C0mPg/1M+ovU4G6+xiQ9hoh6AASoDXEP1m2Lwi2MbrPbPhoZdIMPgv4eCopQtNJrsB+/m82yWj8bwHrRCJpv+xJ94liWZAKHvRCvYQBuKEthshNDv/WO5zl43TgDOtzea95KKAfRw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717758497; c=relaxed/simple; bh=grRwC724PvUmoNcGmdXgtk47euMXChWb+9LwIxsSnRw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gmZPafHDN0tJmgnaI/aCrCcZuehBkiH1kQTJkYlvQUGIdZQZwGv9TsNil4AcikIGoFjttu1pnR87z+JYy90AhALBmzyNRWMOdI65+IFHNNqaigqLxcPOvF9m6VfyBFc3XW1cJxsVWfxSVrG+ryZIAiodOQEijOMekEraN6+jK9U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=kdRobhu9; arc=none smtp.client-ip=209.85.167.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-5295eb47b48so2515315e87.1 for ; Fri, 07 Jun 2024 04:08:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717758494; x=1718363294; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=QwvApUeqo/GeZM3yb0HNmlUq35XuhdMdPtdEy3Zogv4=; b=kdRobhu9AGcaO1stgTyvif1eN+kQNrtnOkAgo1ucPz/tBGc/g6skg+0nwYCeE0UbLI Fxv3kbz0VBrT7y3TyS16KO7lA7mnJdxP3r6XAhGcE61Mc9wgzl2m1/i95aVKgESVuS9y cu+xv1ePWw7fB0hLY+bmsvb1qLv1upK5DQmkDd/IqfCwvsVNfZHixRZXrUymgmyE+C8p vW/nfCeWpxlGD61jNPbvbwbunxAWYDLvtAVa3e55sliT5ls7MZG/Fl8n59PhDJxY5cZQ cuU2tt7tQtCkBrk09ZpC1D2Ug6KfVbfO3UpSedDpZmPd/M8VwdjACMVUg7nZt5R8XMej SHYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717758494; x=1718363294; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=QwvApUeqo/GeZM3yb0HNmlUq35XuhdMdPtdEy3Zogv4=; b=d7lR9CleCYWAKZbkhpMEXdA8ILkaq3Rq1ek4T5d1VCDSIpLT6h/IjzA4L6oZBWWWbk J7k+u8PZJNib4MMXACJ9mbzQx6RHs0KPzqH//LLfHbYABDdiirxQTIA6QzwgQrhReRlw cFa5rkGeDi45sAPY/fiH6hepeyufMxH6003LDq+Cn/tG22/F0Npg8si3Ed9yZJk0nYAB oeq9IM09ZvRTMYR/xotGHNAVkIPmrsIlvwdIxi+92k3fZ1JEbb1c8PoOLEuwcRh3v7/f E1O4QEE6rchTuFAb5nBZohfI/t81lDGOMiLyLzerHDzO30FPce5jmEIUdZB5Q1sG0yBG NFNQ== X-Forwarded-Encrypted: i=1; AJvYcCWZEyZHUHWJFznxdpSKDISq3GExOlLsbMcxg0pmo9Ir0QeAeoCPh+l7Zb10NGvbG+Llkgz/nRsX53B1xPu1KN7BX15gQ3ZejOmnezfY X-Gm-Message-State: AOJu0YzMTiCrqsfXMGG9P3qUOMYv6zNhs4zAnjw8ZcCvnocD934tSaK/ 9omcM21TJEUMXuhIUQmcxsven0v1cgH6zAqq58HUsISjWYtwOdzRGrIc1dukacs= X-Received: by 2002:a05:6512:b9f:b0:52b:82d5:b369 with SMTP id 2adb3069b0e04-52bb9f7e70fmr1530867e87.27.1717758494141; Fri, 07 Jun 2024 04:08:14 -0700 (PDT) Received: from eriador.lumag.spb.ru (dzdbxzyyyyyyyyyyyykxt-3.rev.dnainternet.fi. [2001:14ba:a0c3:3a00::227]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52bb42166c9sm498491e87.164.2024.06.07.04.08.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 04:08:13 -0700 (PDT) Date: Fri, 7 Jun 2024 14:08:12 +0300 From: Dmitry Baryshkov To: Ekansh Gupta Cc: srinivas.kandagatla@linaro.org, linux-arm-msm@vger.kernel.org, gregkh@linuxfoundation.org, quic_bkumar@quicinc.com, linux-kernel@vger.kernel.org, quic_chennak@quicinc.com, stable Subject: Re: [PATCH v4 02/11] misc: fastrpc: Fix DSP capabilities request Message-ID: References: <20240606165939.12950-1-quic_ekangupt@quicinc.com> <20240606165939.12950-3-quic_ekangupt@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240606165939.12950-3-quic_ekangupt@quicinc.com> On Thu, Jun 06, 2024 at 10:29:22PM +0530, Ekansh Gupta wrote: > The DSP capability request call expects 2 arguments. First is the > information about the total number of attributes to be copied from > DSP and second is the information about the buffer where the DSP > needs to copy the information. The current design is passing the > information about te size to be copied from DSP which would be > considered as a bad argument to the call by DSP causing a failure > suggesting the same. The second argument carries the information > about the buffer where the DSP needs to copy the capability > information and the size to be copied. As the first entry of > capability attribute is getting skipped, same should also be > considered while sending the information to DSP. Add changes to > pass proper arguments to DSP. > > Fixes: 6c16fd8bdd40 ("misc: fastrpc: Add support to get DSP capabilities") > Cc: stable > Signed-off-by: Ekansh Gupta > --- > drivers/misc/fastrpc.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry