From patchwork Mon Mar 25 14:47:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerd Hoffmann X-Patchwork-Id: 13602354 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 86DB113C8FA for ; Mon, 25 Mar 2024 14:47:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711378057; cv=none; b=nK+0N4NOlf4HoqEopY56+X34RrD1Znsub3K0INnDrpx0Li//J8D3R6IrbCo+iUs/Eqn/18phVghpHT76+pMPb9sru6K5tFBpA78DodNrpdLDVxvMRoRClRJfCpL+p95eX2DP4WaSsVod85qiowQyzTOb6FJhE/wBZWhgFtxdgvE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711378057; c=relaxed/simple; bh=VeNdlVb4i3e7ruc0NFCHazp7QyK4GNoRPPiqyA19OKQ=; h=From:To:Cc:Subject:Date:Message-ID:Content-Type:MIME-Version; b=beBclq3bRwIWocIqN98R6OUOoCGom0pScLNg0c8KYE7WOtPdgzlx0yaEQXmTjFTgjsqR22oPJybnlVqOGtCftpM7tNdBRl4W562/6adZxauGxJ4KZhzYZwjKXFZKzn6OWxr2nu01LqueFnAEUZF/kBw5hP8+azHgf/schdDiFgY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=PDXOmLm2; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="PDXOmLm2" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1711378054; 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: content-transfer-encoding:content-transfer-encoding; bh=WM1+IU0xNyrYhER5wVdwgTjr8eQSLSe1Sd7ZFSpQIc4=; b=PDXOmLm2Sw2h6VMLtzB+DUoMN9yjl666+Q6rpumBC5l8gXiABfSe57K9RXFVraVzt2sV3C nQbYRj6DI78z0cVo88GeYDH6X+6EXLKNyMhuGVMpvncGHhBg70oFqKffQnOW2PRyTwx/LX CDnkAU6DlaZbWgwNOAvbxoCJU3w/juA= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-683-BdP2kmpgNAa2m7Afp3y_wA-1; Mon, 25 Mar 2024 10:47:31 -0400 X-MC-Unique: BdP2kmpgNAa2m7Afp3y_wA-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C79C11C004E8; Mon, 25 Mar 2024 14:47:30 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.158]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 67EB8492BC4; Mon, 25 Mar 2024 14:47:30 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 2BB961801497; Mon, 25 Mar 2024 15:47:25 +0100 (CET) From: Gerd Hoffmann To: qemu-devel@nongnu.org Cc: Tom Lendacky , Marcelo Tosatti , kvm@vger.kernel.org, Paolo Bonzini , Gerd Hoffmann Subject: [PATCH v5 0/2] kvm: add support for guest physical bits Date: Mon, 25 Mar 2024 15:47:22 +0100 Message-ID: <20240325144725.1089192-1-kraxel@redhat.com> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 The matching kernel bits are here: https://lore.kernel.org/kvm/20240313125844.912415-1-kraxel@redhat.com/T/ ovmf test patches are here: https://github.com/kraxel/edk2/commits/devel/guest-phys-bits/ Gerd Hoffmann (2): kvm: add support for guest physical bits target/i386: add guest-phys-bits cpu property target/i386/cpu.h | 1 + target/i386/cpu.c | 14 ++++++++++++++ target/i386/kvm/kvm-cpu.c | 31 ++++++++++++++++++++++++++++++- 3 files changed, 45 insertions(+), 1 deletion(-)