Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp489920lqp; Wed, 12 Jun 2024 07:38:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUoXHb0GChLULJFIqvNxbVlP4JKVkKNQk2p3ZUJ4Y6BZEpA9+Rko78MG0RZgKR73GPastH97UF6LG9PpyFb3o/KHxHFPOLmEs8AY2JGNg== X-Google-Smtp-Source: AGHT+IFJb+c+kuQUGvkMxOB1vrGhI3nVZ4o+LYNgfT9Bbg+aEB7i9NozqLG9UZdjfFCXKNHYvyMD X-Received: by 2002:a17:903:187:b0:1f6:8c90:3521 with SMTP id d9443c01a7336-1f83ae73d31mr40395595ad.8.1718203129334; Wed, 12 Jun 2024 07:38:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718203129; cv=pass; d=google.com; s=arc-20160816; b=Cf/3z9p/AiJYrEycHENkJyaLNGjzqN3xgQ42wUI6D3HcuVASqn67Oqx3Q4pOEcslwR HCjGWM8iFJsfSUP4Hk4SHPzwDmHweEjoYx+HUMCVtAaGvpIH5vH85KX3yWkUvN6a+oGE abvM4JCqP2j2xvReAHby9s/xKiN2DbCI4C5BWkILPN8Vzq14esHI8u3UwRVahM8FbTB+ b7ASV9NmtHbxae55x5jTLgnCQptDNEhqCc/3aGr3M+i7U2dTm+yxYND2o8IFoy2nrBeW Y9MW2SZuJ8/4GnR0aQR6qny2KDRcZsL+GK43nA0jKH71wtmLTIf9JBiApvEePqbjlQee mnNg== 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; bh=bCrxt2my4m4yrSCXVplFBO+/qFMZHZ9RKEK/ZDlmOM4=; fh=mNLtlBUAQwbm8Ky0f3Fsz0NyaF6cE13XumtBJ4ed7iQ=; b=IpPfteb1rCfmbfUAuzONafsMOy2pvALETfZJCUBe+l5Qt7wT2RVY+BupsrDfSHCIZ3 tLtn66MWnne+tqzxmJ2vcPMD1mavVwexd46Cs0J+1ZC83Y7io+EVnaxewPv8xj58lTaW oL63Crc8EDEZa7tjbAiVRrPfaUcVtmnFzKTWTU/pqxCKPCW5SP42rTDZJMrk/ZRq27Tl WsIpyad4SpwC2VZCGx93Lcdl9bkdxkamSGmc34Epj0z7H8fNDxl1TWsX8c65Mouz0XMe gjZCboBvtlz3Xj2cryCDFVVDKbNTEhupa5qivC6CF3UZ+thQ9qWcx290AXP0EYBYwZ/a d1Ag==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-211683-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211683-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f7327bd194si33870485ad.562.2024.06.12.07.38.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 07:38:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211683-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-211683-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211683-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 9FDEA284093 for ; Wed, 12 Jun 2024 14:38:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0092417E466; Wed, 12 Jun 2024 14:38:36 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7639C17DE34 for ; Wed, 12 Jun 2024 14:38:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718203115; cv=none; b=U0pUVwAlsPDULTI0t3SEWraRhDeluR+jMOgO2aXseNhFqt95IlwedjyhhiZodn94c5BYj4eXwX5nhN4rdA0xspETv2vARiPpGrkZE56M8+zY9xUG0ONv1y78CpsKzUK1u4gMpbA+HmeDFqy3J6+RAEPkPuqlrZ9f5XSUvF6HjhE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718203115; c=relaxed/simple; bh=bCrxt2my4m4yrSCXVplFBO+/qFMZHZ9RKEK/ZDlmOM4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=DYIgdwsPZAgfWHQ7hDyK1HGctsRMFUV6/ImQdsuq3SawW/PH/+caA8mJ/jN9aUFOB0E3Xxf3hIUnwoszsW6DfqzRBUbDG50pCnJolODb16Yjlf9E6DU1Av+AxqQ7cBf10hlijgZ19zRFkJT/nE8iEHzhFp6hEGWQj6U6ujj64YM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 42D121063; Wed, 12 Jun 2024 07:38:56 -0700 (PDT) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id EC7633F64C; Wed, 12 Jun 2024 07:38:28 -0700 (PDT) Date: Wed, 12 Jun 2024 15:38:26 +0100 From: Sudeep Holla To: Sebastian Ene Cc: catalin.marinas@arm.com, james.morse@arm.com, jean-philippe@linaro.org, Sudeep Holla , maz@kernel.org, oliver.upton@linux.dev, qperret@google.com, qwandor@google.com, suzuki.poulose@arm.com, tabba@google.com, will@kernel.org, yuzenghui@huawei.com, lpieralisi@kernel.org, kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel-team@android.com Subject: Re: [PATCH v2 3/4] KVM: arm64: Fix the identification range for the FF-A smcs Message-ID: References: <20240515172258.1680881-1-sebastianene@google.com> <20240515172258.1680881-4-sebastianene@google.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: <20240515172258.1680881-4-sebastianene@google.com> On Wed, May 15, 2024 at 05:22:57PM +0000, Sebastian Ene wrote: > The FF-A spec 1.2 reserves the following ranges for identifying FF-A > calls: > 0x84000060-0x840000FF: FF-A 32-bit calls > 0xC4000060-0xC40000FF: FF-A 64-bit calls. > > Use the range identification according to the spec and allow calls that > are currently out of the range(eg. FFA_MSG_SEND_DIRECT_REQ2) to be > identified correctly. > Reviewed-by: Sudeep Holla Not sure if this needs to be fixes though. With addition of notifications in the FF-A driver(since v6.7), host can send FF-A messages beyond 0x7F. But since the pKVM FF-A proxy support is not yet updated to v1.1, so I don't think it needs to be tagged as fix. Just thought I will mention it here anyways. -- Regards, Sudeep