Received: by 2002:ab2:6486:0:b0:1ef:eae8:a797 with SMTP id de6csp444297lqb; Sat, 16 Mar 2024 10:27:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUgovYFUuGQ6aMSADmM8OGGm3TiKOIw9113mCBaIDy3cV/zEc0LU/2lv0urgLTbA+mAzD2Y3mqupy5Jwtahop9MyBlfkHdFWFOX8gyGFw== X-Google-Smtp-Source: AGHT+IFRHzH26FglFVF6N5eb25pHwAKuykH47njtG3XAGealHjzdXSFYbUZv3nnU4Tume4NNa+58 X-Received: by 2002:a05:622a:1486:b0:42e:fa5e:be22 with SMTP id t6-20020a05622a148600b0042efa5ebe22mr18799250qtx.6.1710610031707; Sat, 16 Mar 2024 10:27:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710610031; cv=pass; d=google.com; s=arc-20160816; b=f+c63RMVzuBebEJpvTU849lL2L0HTW1ub2Km9qbsCkZdU54Wwf7Rm5IoLNah3D8/CS RTFKeyWP1xYSRJu9MBwjqUQbT4pKXT9fG8jZaGIm/2kQqwRVDiOH4pPHde5eHlptDESp WgWDYptCY2WGeP5uoJL+l0k0MJAv4iis82j+8fK/UbqP7J6Frw1DLekUz0JTJRk7ljMM nktX16SaazAKj9oSig6rip0RFsV+gFluHSCNzEgpLtsUihLskuTHqYAQvnDVL5L4iSYk J24Vdby+Mt4mjXsgv6lluaBQi+thyn0NmViE1cFWyasj69rmXh7wnSuNHBX9swdqfVaN Pm/g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=511w3q5IXFEy2aXu7VW4ndjBGXpnj5RWET2wC9/KLbY=; fh=LUw8IUed0UoZxwVVPlx0zqncK72hCN83YaPeqXZEy2c=; b=ZpaNxvKRof8acXsg6lFS8FJF197m8LkenXMEWvMfJanwwZAlSA/x8KnmwQb4PoiNb5 Zi8x+gG4JVyNlLq1jzdt7bjZenri+mCJFzVY8LiZRtfQgE9ukmTOq191JSpWXBOIeQCM xSM8tep12pVl1BbDcrUMhHPaY3x4bQa92H85+Apz8NhntqOJzAxCAPGwM00HB7yCGr+n EHpFy3lcEHfnKttw+ISHjLbMsYh/yxrZeLb/cql4XwQZSH6a9NnZXdIg0JIitL8FqNeD dJyIxxF3iHTLc34Zymw0VGLztZdQXqZr8WMXR7cfw0f5exyFM8QpSkXNmXr0hDENALh+ UINw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=elkKsbaf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-105249-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105249-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id s13-20020a05622a178d00b0042f30d1fef3si6312070qtk.760.2024.03.16.10.27.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Mar 2024 10:27:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-105249-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=elkKsbaf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-105249-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105249-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 6F7081C20BBF for ; Sat, 16 Mar 2024 17:27:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8247D1BF58; Sat, 16 Mar 2024 17:27:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="elkKsbaf" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A615D1BDE2; Sat, 16 Mar 2024 17:27:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710610024; cv=none; b=biyPOeNt/s/ihJ2V1J2Qq++9Je2n3fMhzF24IWGR8kbxZL9UgfeudEw1WJpbX8eEwwCJgdU8nJKqVYXmRAFFlNrh8B+jbAps/DcJkHp8fI2K5kSldGm7xEihqZqrJW2GlExb1QyMsozuXdDSS67Yd7ihstu/zsBPBVy3LMm+cfo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710610024; c=relaxed/simple; bh=zYt14r8nDdOX+ZfrAQslKLIlUylEWdawHHVHKwxd1LI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Jid0bD/hx4cBLFGJA3EGhH/aMZFyXiyP18PMbxnhSU2Uzr88J9fsJcnwvHTUBWZmqPIxHe8uVFVWOY2BPOMyS7S0d2wFGXuq1O7RtINTNFZDW6IyrTM0gwLKlCHLXmLSUAR5uxq8n2hiXbpuucQzjPHfp5jOXICcO2X3BA19ijw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=elkKsbaf; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B8BB9C433C7; Sat, 16 Mar 2024 17:27:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710610024; bh=zYt14r8nDdOX+ZfrAQslKLIlUylEWdawHHVHKwxd1LI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=elkKsbafdZ4m/gSiQ08z+s2biv9jHP9xk/EX8VZQUbzPa4Su8y8C0R3ECe0/bIwKS az0vBPCf+QGyFLTePrORh1gBJqqpMIydWmeAKHNaSeqlGS+SnkLwMt2N5l0txH7gOQ YWEfzhVkoUISX/irR4UDLUbs34VwUh4bs/UoMmBdOp57g/a/cdM9v335fvTBUIoE2C LeaL1gwftzTlNz7FOqt8ZblN7leRkoMYks5dNRYhhu+DR5ydVM+xpaPrXcOO3xO4Te bnrMUWWxcdnL5oymCKby2hv7a0a+hYlsURUObqNkdeOIh+PZ3plhF/ahnMztSIMSTr JmnzMCG2KtShw== Date: Sat, 16 Mar 2024 12:27:00 -0500 From: Bjorn Andersson To: Prasad Sodagudi Cc: Bartosz Golaszewski , Andy Gross , Konrad Dybcio , Elliot Berman , Krzysztof Kozlowski , Guru Das Srinagesh , Andrew Halaney , Maximilian Luz , Alex Elder , Srini Kandagatla , Arnd Bergmann , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@quicinc.com, Bartosz Golaszewski , Deepti Jaggi Subject: Re: [PATCH v7 11/12] firmware: qcom: scm: clarify the comment in qcom_scm_pas_init_image() Message-ID: References: <20240205182810.58382-1-brgl@bgdev.pl> <20240205182810.58382-12-brgl@bgdev.pl> <6a3e3071-f8cd-66b4-99a0-427f7e11177a@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=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6a3e3071-f8cd-66b4-99a0-427f7e11177a@quicinc.com> On Fri, Mar 01, 2024 at 10:49:57AM -0800, Prasad Sodagudi wrote: > On 2/17/2024 7:50 PM, Bjorn Andersson wrote: > > On Mon, Feb 05, 2024 at 07:28:09PM +0100, Bartosz Golaszewski wrote: > > > From: Bartosz Golaszewski [..] > > > + * If we pass a buffer that is already part of an SHM Bridge to this > > > + * call, it will fail. > > Could this be because the consumer of this buffer operates in EL2, and > > not TZ? > These buffers are consumed by TZ only and not by EL2.? hyp creating the > required bridges for pil buffers. Please help Bartosz document what is actually going on here and why these buffers should be handled differently. Regards, Bjorn