Received: by 2002:ab2:6486:0:b0:1ef:eae8:a797 with SMTP id de6csp87784lqb; Fri, 15 Mar 2024 16:32:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX2eKz4XVLlTNIO7KfLT/LvAju8I+ZNF8rwwebtbMz94nJr9Bn4stlven2CaxBLRUn3xacysY1tU8qL5o8CD0cnQBUA0XZ4Yryyf3N3HA== X-Google-Smtp-Source: AGHT+IGmR+epujQBtR0HfZdQj1E6iRCPxUZjSrr41tFzs8vpjMl+U5dIAxQ2zB6yugxz0OCriZ7v X-Received: by 2002:a9d:66c3:0:b0:6e4:e514:c3e4 with SMTP id t3-20020a9d66c3000000b006e4e514c3e4mr5589076otm.13.1710545547401; Fri, 15 Mar 2024 16:32:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710545547; cv=pass; d=google.com; s=arc-20160816; b=ZG3V7UUou6d1ukTyS+1qtLaGiQsy3aMJak5ZqPAMA0didYww/997iSGwILeJJw3hNS 2QDzKcxNh/Uh+rIExbHzH+VeAxMtOhsMiTFeuTLgeF2oFBSTTK1x/Aamh5j/HgKAduBf W3sOzmmdmSYjBExlZ80i/wREpkAzIeihaMNTVlhXJTNiwR/XS7FVpFKikGeBMvFkh5cj Cv9UGeeqBIg6j2MxMgGJo5F76w5mwJ9VE7544+aj7izTTpHCFgtBHPomWzCE46lALZ9q Ez+2kIUmfdq/FPTfrovTOU8uypRBQ2Qb+Cj8+QwY4CCHS1mVVcCpSlmGCbhHhZtZn5DL 0siQ== 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:dkim-signature:date; bh=I0WUwJc4LZJbBgA3QDezWvPKLvCLtaq61JXaRKTdvGs=; fh=5zPtYujvVx2H/CXvLx5JBOPsm6T6Dx7htcFUvxjAl/c=; b=rqD4Wy30ko3z5E+5JTApahpUdIcrINeBrPlS+/SwZZ0ccTxZYSZBeIn40G041KT5cd RIp8xoonXyjMCqi4EJQ6fldU3m8rNZ01hQw81Xmyi3eVREZC5GH+/WVF2qo6vXTFWZ21 BBM5+coJrTPGiHE+delGfID5S8lmmgX9g6PY0V+NTGYyLSUFEKTsaL1lv3qNFrhuMggn UNuWfMpz2nSgoOZdQYllOSFapYOmq92/CdCLeSwDC/bXqHSN5yOElF+aJjIGiiHTzraD ttluLqKLcr06RtUgXSR86Ji8FiQYcw/HKKaxsZT356vhLh03eGgYkdtxhrUx/DpDgHrD yDGw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=GaIkj8m+; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-104989-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104989-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id i15-20020a63e90f000000b005dc67975e49si3397814pgh.897.2024.03.15.16.32.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 16:32:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-104989-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=GaIkj8m+; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-104989-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104989-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 12321283094 for ; Fri, 15 Mar 2024 23:32:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 959A35A780; Fri, 15 Mar 2024 23:32:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="GaIkj8m+" Received: from out-178.mta0.migadu.com (out-178.mta0.migadu.com [91.218.175.178]) (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 7D70D54745 for ; Fri, 15 Mar 2024 23:32:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710545534; cv=none; b=MeTNyQWMolwYckEnIInqVW63j7/5/mZwBA9wQExWOPSh28Df2IWTv8eUF1rcYwp1k7VcH3p9HZ0bF0f0Z8USJPRyMuc+udAyKZpj+Rn8wQmwE65ea8GyFvJ8v8HwgI5Mb/puB+SGSqKZ6ynVkAtUOgzR+/uNy5eujuYs0Jmw65Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710545534; c=relaxed/simple; bh=Iv1CbtxFlgKq1E50wTsvmZDkFRuYa2Hq3fbOGa1nk7I=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Bjp7MI8BRJes1pvuMEGxU/YZofTpFJ6wZx5ImalwmNmmAikrNO/Jw3Po+gp/RnXwi4khM+rQt1b0yrFgRddcLMUrLJKrvGs+ZsEroW3PaKpZjBA5dnqosOPPuBUUb650UB62SlwdJ4Cj1Nl1OtWBy21D0BI1hN3ZPJoTi9lLiT4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=GaIkj8m+; arc=none smtp.client-ip=91.218.175.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Date: Fri, 15 Mar 2024 16:32:04 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1710545530; 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=I0WUwJc4LZJbBgA3QDezWvPKLvCLtaq61JXaRKTdvGs=; b=GaIkj8m+SLy7EnRZ1J9S8H6rL4Po81drGuqcJxes0JnnEsWCL8TsOOcFdlDGbRthf1VngX FDQpXoyfg4b5HbLWJCz+I1daH8XUTj+mrv1lodOjhVu3Rq7bS1WCTXaGbzGBfe6V284hRM Ag5p/VT+IZ2Kywkz9y2CXJxSKvSJXbg= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Linus Torvalds Cc: Paolo Bonzini , Marc Zyngier , Catalin Marinas , Mark Rutland , Will Deacon , linux-kernel@vger.kernel.org, kvm@vger.kernel.org Subject: Re: [GIT PULL] KVM changes for Linux 6.9 merge window Message-ID: References: <20240315174939.2530483-1-pbonzini@redhat.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: X-Migadu-Flow: FLOW_OUT On Fri, Mar 15, 2024 at 03:28:29PM -0700, Linus Torvalds wrote: > The immediate cause of the failure is commit b80b701d5a67 ("KVM: > arm64: Snapshot all non-zero RES0/RES1 sysreg fields for later > checking") but I hope it worked at *some* point. I can't see how. Looks like commit fdd867fe9b32 ("arm64/sysreg: Add register fields for ID_AA64DFR1_EL1") changed the register definition that tripped the BUILD_BUG_ON(). But it'd be *wildly* unfair to blame that, the KVM assertions are added out of fear of new register definitions breaking our sysreg emulation. > I would guess / assume that commit cfc680bb04c5 ("arm64: sysreg: Add > layout for ID_AA64MMFR4_EL1") is also involved, but having recoiled in > horror from the awk script, I really can't even begin to guess at what > is going on. > > Bringing in other people who hopefully can sort this out. At this point I'm heavily biased towards just dropping the KVM checks for now than attempt a fix-forward. We can work things out better with arm64 folks next release. So unless anyone screams, I say we revert: 99101dda29e3 ("KVM: arm64: Make build-time check of RES0/RES1 bits optional") 891766581dea ("KVM: arm64: Add debugfs file for guest's ID registers") and do so atomically to avoid any further breakage of bisection. -- Thanks, Oliver