Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1695911rdb; Tue, 20 Feb 2024 04:30:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWfVBiC1Cvn6IGQzX3Sw1MeHDbFZIUC5zReNXEGUwRO+B6I6CyMMEvu2bEysAPNjenvn15fYHOhqqIMDw4uQCHTBTFsiCpU78PL48rVAQ== X-Google-Smtp-Source: AGHT+IHzoY6w+yMyFQDYn/bnxtFh5hE/DJA1lvFq9p+N/6LA1NajtqAA8ewrQ7rv9BqHdodqUa3E X-Received: by 2002:a05:6402:718:b0:564:a820:d87 with SMTP id w24-20020a056402071800b00564a8200d87mr2480936edx.0.1708432222886; Tue, 20 Feb 2024 04:30:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708432222; cv=pass; d=google.com; s=arc-20160816; b=TGOcp4LfODI2wvvC6YwvO2WGnJf/y29iqiEiYGIrT1rFw6oQfGQE+fKrkWHvs+5pCc slh7eTo8/6CgBiLCvxe7rnl6FvnRtX7WpIJzAnPwxjFUStwFTcbhkLNrYdY+fDUvLFJM n/BW3FtwgDvfSuJFn4XsuBG2l54r57owjxwbEa7f8NwoC3AC/tX7he+eB/l8aZNdHgo/ aqmDl0aQkaZpwz/eAYsbWvz9mgEPh/3TYUMq7FDxktkkLfZY/8KMYU5sbxJDs1+zYoFz fTetnQjOQvbyhMSKFhlADbmF8tfRCnc5kKhAp0LytwoR9a3jHVp7KqjDEL3MzKZ7Rb9w 3gvQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from; bh=RF8K8siWAPRCjd667IeOznTvp73N/r5Gx6rArn3FgW0=; fh=A2bwCuKPIzwXcnnkmN7uJlXJLjHy2xEPQOlNikJd1kQ=; b=BnWlm8WUJ4NmhIL6okBDT7/In6SVljPQ0411h8CAq+VsJnCFKFhic54ieqbVkZyt4A UOTvkz41ozBdHCRo6fdjgEwLxq3orVuXuLYv9I1n7xF5hNYKd32IKkW4nnbVTmeBcQab js4ni133UBYB7CRFX1UA9DEtVYobIwZGm0iOE59HjcRBkMtwPCDXeBnBVjfneOOCUX3l hOk6Y5S12xi2Gt+gFi6xkgZISV8c+D2Zt/gZ0xMhqZjQOFyCoX2sNWTRwpxi/kLe8km9 h1NclSPBgHRBTaARSiX40xY2NPoqPmkkYq1zm9UhJNdt7PYpvkCH9SZpe8qhnfupnRlB fY1w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=ellerman.id.au); spf=pass (google.com: domain of linux-kernel+bounces-73018-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73018-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id y24-20020aa7ccd8000000b00563eb6eea8dsi3387882edt.166.2024.02.20.04.30.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 04:30:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-73018-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=ellerman.id.au); spf=pass (google.com: domain of linux-kernel+bounces-73018-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73018-linux.lists.archive=gmail.com@vger.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 am.mirrors.kernel.org (Postfix) with ESMTPS id A09D51F234E9 for ; Tue, 20 Feb 2024 12:30:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2289569977; Tue, 20 Feb 2024 12:30:13 +0000 (UTC) Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (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 0798D433D0; Tue, 20 Feb 2024 12:30:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708432212; cv=none; b=I35+WfYJ02FQxAN8xFGxfuM9QN8eAPsV4utBto9yzUiazxAeDsis0rI0ZhY3kDtMWs9hbMveZKURxE+lHqULOHW8SB6GPaNX01QTBCTjT9eCa17MM00yXBdjJdwnCse1bFa7IZS1ru482F8Pazjs259rpxc7BuDHM4cN9tq0PGY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708432212; c=relaxed/simple; bh=Ldn+RYfAL5iEmTzaxh/qozaEEdrntxxBOHPfnWMDxOc=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=EOIGNsUXhUt0gLPTz8+3ElfxNkLRLCEGjKC5izEo1grVoHAfhUNvdFq6KJ+HE6dr0VO0+C4lGAJvpNXexRS2rnxe64GGQeb49uKGGeQlHk+9uefj2eV2tZZOYGfQ8NuirRthcuKq1DUIc98+yMBofkN9/029jnZzPvVJPlc5/nI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au; spf=pass smtp.mailfrom=ellerman.id.au; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ellerman.id.au Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4TfJdX1b7Kz4wxZ; Tue, 20 Feb 2024 23:30:08 +1100 (AEDT) From: Michael Ellerman To: linuxppc-dev@lists.ozlabs.org, kvm@vger.kernel.org, kvm-ppc@vger.kernel.org, Amit Machhiwal Cc: Vaibhav Jain , Nicholas Piggin , Jordan Niethe , Vaidyanathan Srinivasan , "Aneesh Kumar K . V" , "Naveen N . Rao" , Christophe Leroy , linux-kernel@vger.kernel.org In-Reply-To: <20240207054526.3720087-1-amachhiw@linux.ibm.com> References: <20240207054526.3720087-1-amachhiw@linux.ibm.com> Subject: Re: [PATCH v4] KVM: PPC: Book3S HV: Fix L2 guest reboot failure due to empty 'arch_compat' Message-Id: <170843210068.1280904.12521172425579669086.b4-ty@ellerman.id.au> Date: Tue, 20 Feb 2024 23:28:20 +1100 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="utf-8" Content-Transfer-Encoding: 7bit On Wed, 07 Feb 2024 11:15:26 +0530, Amit Machhiwal wrote: > Currently, rebooting a pseries nested qemu-kvm guest (L2) results in > below error as L1 qemu sends PVR value 'arch_compat' == 0 via > ppc_set_compat ioctl. This triggers a condition failure in > kvmppc_set_arch_compat() resulting in an EINVAL. > > qemu-system-ppc64: Unable to set CPU compatibility mode in KVM: Invalid > argument > > [...] Applied to powerpc/fixes. [1/1] KVM: PPC: Book3S HV: Fix L2 guest reboot failure due to empty 'arch_compat' https://git.kernel.org/powerpc/c/20c8c4dafe93e82441583e93bd68c0d256d7bed4 cheers