From nobody Thu Nov 14 17:42:13 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1708416759; cv=none; d=zohomail.com; s=zohoarc; b=b9KmdUQzbq26fgwYry8H+PvRH1MFCIF1puD6l9jK+HKNE2Qduqxr7+L1rEUue+K7IRVZbGv0TWizjScg/ngX/e8sYEvX8wTH0AAj37WRnUxriFlJ+BIa7OEkL+srZg7ZlH/CcVe5Ibvu5Q6pZVSICKqQosB4G20SRPZ3ViPZeaI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1708416759; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=CMnsr6hcGke44dd+ja2+9AFJ8eqcK1lbFVapTuTjVcM=; b=ddgqtfqi5a0WL4Hn+T6x6dFh7AzVyjrXKg6K3nZNb82tQ25DOFFx3CSE58k+6J96Ykd203n7uT0ew5svudFQxtlhFSl01WlGVtbkvEXxgdBKfWq4eXN026/KLTgCAJ35hJOvpGg7SGVKwtnnotWubCwyDIyi1ZldsbKBD8z/6M4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1708416759776375.3344837627949; Tue, 20 Feb 2024 00:12:39 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rcLEW-00062g-0S; Tue, 20 Feb 2024 03:12:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rcLEU-00062W-1A for qemu-devel@nongnu.org; Tue, 20 Feb 2024 03:12:06 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rcLEH-0001JI-Qf for qemu-devel@nongnu.org; Tue, 20 Feb 2024 03:12:05 -0500 Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-621-WYgHcnDqOkuOjzSzG5pNqg-1; Tue, 20 Feb 2024 03:11:51 -0500 Received: by mail-ej1-f70.google.com with SMTP id a640c23a62f3a-a3e6f366aceso68340366b.3 for ; Tue, 20 Feb 2024 00:11:50 -0800 (PST) Received: from [192.168.10.118] ([2001:b07:6468:f312:1c09:f536:3de6:228c]) by smtp.gmail.com with ESMTPSA id yj7-20020a170907708700b00a3e881b4b25sm2002779ejb.164.2024.02.20.00.06.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 00:06:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1708416712; 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: in-reply-to:in-reply-to:references:references; bh=CMnsr6hcGke44dd+ja2+9AFJ8eqcK1lbFVapTuTjVcM=; b=ZoCnQBnpH4agaBWlU2aUQcDztRwTWu/K/xMRcLvf2+peUhc+2FM/H5iBACSE+V9i4Rsrem TvbEexldZrnV3qIcnUn93sTBKU2JcfSUlzQdbN7yDBvmKfNYj/+ctK1AyJ5fWWzo83znBj fWPhfJYGYLCP57Otwv/wNbPF6w5UCl0= X-MC-Unique: WYgHcnDqOkuOjzSzG5pNqg-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708416407; x=1709021207; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CMnsr6hcGke44dd+ja2+9AFJ8eqcK1lbFVapTuTjVcM=; b=VVklq42phUY8ePKimh1aBEO9qNagGH/rhxg7on4kf/pB5oCnBz7VvKyRs+DVR6CLzB vgqhfWmszZTjUaPeE77MXfzZVRoc//PU/l/ToMMxKU3CflqPv4LyDjMskhGbmvUI5dJ6 u3Nz+U+VTDq2aHqmlky80AYaYKl1W9GEaBDj6WYk2eKXx7pGcETrT+A0ZVMrynzXcZwr 7vC8QgFz8AzaO467o0q5aQ4zlCNUua40z3SMHJIaRV8gUZmHSOF6FFTqeJaVydQEP84O hZvVmETP+ScrOmOSGK0Fwxba6NNilN1kU6DCW5HDV0aNw13l/OsEiz4S6pqMdMnxq7TF x6bg== X-Gm-Message-State: AOJu0YyzggL0ANsRXjjhOrJa67jJZ6R2qQmfrjP0/XN8TcrmZ9Lhbg20 rcaIz3vpjl5E2tKvioos4SAGS+9C1BEpGjWKcEYadAzxErs+ElQvi4L0QRvr7dgqT26tAdQ7CYR BIVUTJ+q58VC6UySILhkCPPBWoogSAyScgKxarUDTRcjMS+e+HqdFHZU6GzSp5rXc1J9mHwS66F 8JxCt8YSfSjSDuvYcM3ADkS6kyMwhgb4Uj2pHv X-Received: by 2002:a17:906:8d5:b0:a3d:993e:ad24 with SMTP id o21-20020a17090608d500b00a3d993ead24mr8750576eje.59.1708416407079; Tue, 20 Feb 2024 00:06:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IEuaeBfODDBMc9YFQ6ztRBfrlFrLuFoHQNPTJLUGIwLRcvEcc0dAwEJLZ1oPOYJpnr8f9xkkQ== X-Received: by 2002:a17:906:8d5:b0:a3d:993e:ad24 with SMTP id o21-20020a17090608d500b00a3d993ead24mr8750563eje.59.1708416406794; Tue, 20 Feb 2024 00:06:46 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Cc: Xiaoyao Li Subject: [PULL 07/17] i386/cpuid: Remove subleaf constraint on CPUID leaf 1F Date: Tue, 20 Feb 2024 09:05:48 +0100 Message-ID: <20240220080558.365903-8-pbonzini@redhat.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240220080558.365903-1-pbonzini@redhat.com> References: <20240220080558.365903-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.072, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1708416761891100003 Content-Type: text/plain; charset="utf-8" From: Xiaoyao Li No such constraint that subleaf index needs to be less than 64. Signed-off-by: Xiaoyao Li Reviewed-by:Yang Weijiang Message-ID: <20240125024016.2521244-3-xiaoyao.li@intel.com> Signed-off-by: Paolo Bonzini --- target/i386/kvm/kvm.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/target/i386/kvm/kvm.c b/target/i386/kvm/kvm.c index dff9dedbd76..9758c83693e 100644 --- a/target/i386/kvm/kvm.c +++ b/target/i386/kvm/kvm.c @@ -1926,10 +1926,6 @@ int kvm_arch_init_vcpu(CPUState *cs) break; } =20 - if (i =3D=3D 0x1f && j =3D=3D 64) { - break; - } - c->function =3D i; c->flags =3D KVM_CPUID_FLAG_SIGNIFCANT_INDEX; c->index =3D j; --=20 2.43.0