From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CEC83C27C75 for ; Thu, 13 Jun 2024 12:37:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=MznSC12yYzkye/+ENgqiPXuQSrlPFjsWMKgcvI0Z2PU=; b=Rtp9QtavL3ocuMRLdG1a79oyzB 3Ex0IHtTA0fEYL9wNIL0I06m0OmN8Vxy0cqgdPEGtVQbIBWDLHPLPc3BVODi/769eSbHHK/Nzfees WKAvM0ZHdnc0eZXYexQtWaNLkehumgCK5OGc2sM1SF1xTE6+xYcB6rlPyLWZKtcP1UB9Ni8jYW6l/ BF6MVSYFh53UCGlwUItZUPDRkD7aq+Ljiju/eUNddLteoxtsm0aQrXPqaRr20wlTwh5FG5DzRVVED ISA+dUElvQhmGksbF6rj9l2//fnrnf1XdwINnzdMeCRWdJmeKP2I95VSY762kJ2sTgaPyfMasVuGO 0KzaaQjA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHjhc-0000000GXAM-3vLf; Thu, 13 Jun 2024 12:37:16 +0000 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHjha-0000000GX9H-3brn for linux-arm-kernel@lists.infradead.org; Thu, 13 Jun 2024 12:37:16 +0000 Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-57a16f4b8bfso15648a12.0 for ; Thu, 13 Jun 2024 05:37:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1718282233; x=1718887033; darn=lists.infradead.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=MznSC12yYzkye/+ENgqiPXuQSrlPFjsWMKgcvI0Z2PU=; b=SvYar5IqSP+aM7sIrBmZlxcx9Hc1qRRDSIG9oUyKpLXH7fjTu2bpN0NIcrTdnz6CR8 HaYVaO8qBbEQPmkelseazcsPNGseCfFjad2+IkvF2ZuFzbqSSp6IqzI/bNN24/qyTXcr hzc1jY+bkR1rWaeuCP0Zuf8kWRrwhJY5lHleb0hRBR1NkhE5vYJHO/Vz8kwYBQenKj1m Oq93VBLY6BlwM4maGydpkwWX5sEWRcgWuOJClav9raT2oumv9hlKanz5X6VMoAg/ecnC Ab4M/00O8gpFF+VQDd12ACxGnyn/HIUnzvyw9xEYqhUqdsTPwX+8NfE5TlrywBWweIQG YCXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718282233; x=1718887033; 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=MznSC12yYzkye/+ENgqiPXuQSrlPFjsWMKgcvI0Z2PU=; b=K7LGNYjm7EVvXkl3MaM0/G0q1Hs7YkffxXAaDUOUZ70SrrmyjS+wBVVo2SBpC4Bvgq Lldz9+tPRBF5X/Ilxtz92LOUXENBovLTkiKzJlz1phaViyLDtL/V0Gu720bT3ZRo+DJ7 nHsQzEGLACA/h5uRtMOfeuy3DVWjAG048qd0K7umu8gkUq3tEmOc+L40iQ9sTdg6XFEN pshkLJl3FX/4jrGwo7/1VzJmB+suQgOMGVsY1sN1lF2zqBLMwlEEYOs4aqVx8hWbXFr5 VNEldRzm1bCsTAcGdMGugOIiujQGeh+K6urMCTCJlvG6kGqbr7H0q78TmbC3JALLyS1g xEyA== X-Forwarded-Encrypted: i=1; AJvYcCXPGOYUY8zwzwmftYM7WC6BFVtB6Sg+2mZptsB36QEBbFxWnd3XCePf4IRWDtG0IHrp2tq3T8yIDoV7YiERf+/xC6BZ2RC2BEh4n3rtcwf+tL0tbGs= X-Gm-Message-State: AOJu0YxZF37IYIf6n2JUyTf9U8rHtgDNNuiSDB9KGwpjHTZJBSnSHyY9 gvFZUrTOORY/KBchV2P19wrWD5Qc2i+Jrzci6X13i26I4HAJmcktrbtNpLGdiQ== X-Google-Smtp-Source: AGHT+IFP8djsGWBB5M7AJLJBWEREHC1E9615rPjaCU+riDmr7PzZ+qpZx22Wb8eUXNrKQ7Be+vXNdg== X-Received: by 2002:a05:6402:524f:b0:57c:b799:2527 with SMTP id 4fb4d7f45d1cf-57cb7992890mr126050a12.7.1718282232985; Thu, 13 Jun 2024 05:37:12 -0700 (PDT) Received: from google.com (216.131.76.34.bc.googleusercontent.com. [34.76.131.216]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3607509c890sm1628667f8f.28.2024.06.13.05.37.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 05:37:12 -0700 (PDT) Date: Thu, 13 Jun 2024 12:37:10 +0000 From: Sebastian Ene To: Sudeep Holla Cc: catalin.marinas@arm.com, james.morse@arm.com, jean-philippe@linaro.org, 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240613_053714_920453_C9E889F2 X-CRM114-Status: GOOD ( 18.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jun 12, 2024 at 03:38:26PM +0100, Sudeep Holla wrote: > 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. Yes, good point. I will rewrite the title of the commit to remove the fixes tag. > > -- > Regards, > Sudeep Thanks, Seb