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 ADF69CD4938 for ; Thu, 21 Sep 2023 02:12:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=NkrzWcXjfYPbb4OgodjZC2BqDwCmoBtRCqKHOf/STgw=; b=gWdKaSRjM0zDCh NBkYH7aarg/8ikABh7/kTOzGrEmkhp7DPCEAG+ajK0A3DSI3B36YtbvjlEscdCwTPyRT8xxQAPsf0 /KqtY6Kr/ibZzhxJZ0wKeURZksGcRX5/eoWcka6ds/ILAhGRHDtF7A9aOwF2jkCh/SBjf6mPuw2+T ibEa4eFU/qjpVrPn++BrU2NQ35mzUhZEe0jwsqxFl/RaczT+Us8IhBSuugnYeOkNC36Jgx0+qU8c4 iPMqOOmT7hN8vYrawZYTI6UVVwrcMx11K0T3FQFHvjVa6rVIWwjelHizpnse9HoQIuVEHsFGLKWT9 tJh7uAQhswthxhTEkfjA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qj9AT-004jsO-03; Thu, 21 Sep 2023 02:11:49 +0000 Received: from out-222.mta0.migadu.com ([2001:41d0:1004:224b::de]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qj9AP-004jrA-1x for linux-arm-kernel@lists.infradead.org; Thu, 21 Sep 2023 02:11:47 +0000 Date: Thu, 21 Sep 2023 02:11:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1695262302; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FW3p4VZIzuygrjsMUziYPALYuVKWOnunmv01SSe6GfA=; b=IDZSCRSwygs8bsWOJ77HlflG6hYQLi5RwZzud31RDVA2h87NoE+NQKWu9MzZzjbNqLH9+b 4scDyVusgOwT4VG5EsvTvBzKYaveGm4M4S5WNW0B/5kzm8M/Pu8RU68FHwR3vXIn3JlvJk L7nbPllEEafHK3nvi+EHW8iEeF87PG4= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Marc Zyngier Cc: kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org, James Morse , Suzuki K Poulose , Zenghui Yu , Joey Gouly , Shameerali Kolothum Thodi , Xu Zhao , Eric Auger Subject: Re: [PATCH v2 00/11] KVM: arm64: Accelerate lookup of vcpus by MPIDR values (and other fixes) Message-ID: References: <20230920181731.2232453-1-maz@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230920181731.2232453-1-maz@kernel.org> X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230920_191146_199060_41AA28B1 X-CRM114-Status: GOOD ( 14.24 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Heh, "and other fixes" is quite the understatement :) This looks good to me, only issues I've spotted so far are a few typos that are easty enough to fix when I apply the series. I'll give it a couple days for folks to have a look, but otherwise intend on picking this up for 6.7. On Wed, Sep 20, 2023 at 07:17:20PM +0100, Marc Zyngier wrote: > This is a follow-up on [1], which contains the original patches, only > augmented with a bunch of fixes after Zenghui pointed out that I was > inadvertently fixing bugs (yay!), but that there were plenty more. > > The core of the issue is that we tend to confuse vcpu_id with > vcpu_idx. The first is a userspace-provided value, from which we > derive the default MPIDR_EL1 value, while the second is something that > used to represent the position in the vcpu array, and is now more of > an internal identifier. -- Thanks, Oliver _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel