From nobody Sat Nov 15 12:47:44 2025 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=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1752493983; cv=none; d=zohomail.com; s=zohoarc; b=g4e0jjEhv/MeAIKyWMoRF8PQZyYnQkWWCDVoI635lAjLAaCz8ZxDiRkSoziZycvhRgnsqw8veRj28OKvimjk4SaQG2IyfP2Tnmty5uHhsuvTH0tArFNXJDok2onXI0gwG9uiewZ8YCqns8y0zzA6f5/G+4PWToXQg89ff4epsn8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1752493983; h=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=pMfqWPvcVidmxEBK4/G1WoAxmiQybmAc7UCJEFyhd7U=; b=FFLQMkwN9RFo7ATNzLn8PP4PTXrvX9Azx7gaB/Ow6mBUcQzJaHe3JcTkDRh0jYffC81pgKa9BC3HGws5Cn77CT6wlqMurfn11SV7SVKzu0nJkX9Lel1pqf2PmJPeURP9HC9R0bRoMiTRRNnIyfwhw5eODGZ1smXO8QPybmwL+10= 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=quarantine dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1752493983060851.4337428728281; Mon, 14 Jul 2025 04:53:03 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ubHEc-00088Y-5Z; Mon, 14 Jul 2025 07:20:38 -0400 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 1ubH1R-0001vC-JH for qemu-devel@nongnu.org; Mon, 14 Jul 2025 07:07:11 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ubH1N-0002Ba-AS for qemu-devel@nongnu.org; Mon, 14 Jul 2025 07:07:00 -0400 Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-556-6pzZzK-xN92DCJHXbGK4HQ-1; Mon, 14 Jul 2025 07:06:53 -0400 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-451ecc3be97so22106885e9.0 for ; Mon, 14 Jul 2025 04:06:53 -0700 (PDT) Received: from [192.168.10.48] ([151.49.73.155]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3b5e8e0d867sm12298615f8f.61.2025.07.14.04.06.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Jul 2025 04:06:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1752491214; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pMfqWPvcVidmxEBK4/G1WoAxmiQybmAc7UCJEFyhd7U=; b=Eotwra1YZoIIbkOmkRxE0dDlEsnYCVok4/LtuAynh0rQcRrmcpSf0Uj9uUgQJneDwhRoeB 4wsoC3nnTPK/yOsu0xeCM7N2cWlW3Wd9uI3ohqKI/PpK6bxMhpq45s123Yhu76/+gsWmPC P6WFF7uOoJ9v+FYvH4ZdmOtEew9aiyo= X-MC-Unique: 6pzZzK-xN92DCJHXbGK4HQ-1 X-Mimecast-MFC-AGG-ID: 6pzZzK-xN92DCJHXbGK4HQ_1752491212 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752491212; x=1753096012; 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=pMfqWPvcVidmxEBK4/G1WoAxmiQybmAc7UCJEFyhd7U=; b=RkYJOZUcSnJ9uJcLsZztZfkmkXsfanE/XLfGJZH3ct1QGDRKoVhON9I27w54oizDzO +mYLnG7Zlo4qt6cmThQ6EA+Ivpc3cQDP1ob7KFJPvCfOoDwHneQVojMv6K7jMtu51Qbc OWhvuHS55mNGCAfuG+793CGyzIEOeLwyG7eTcOvtabEN0IHuhs+/N7ZRRQPTniONMMux EFpC/4hsBPdvtJ185rZQC+keRiSqdLlhYI6FMOMz9MDswR3ZUfTdJoZzYDAMJpop5zDl pqnou33o6zsXSK+zSP2LtTWLvaQRXuqQBF1hOFvRTSa+2/N62acTOmsF24mxCPT7Bh1L df4A== X-Gm-Message-State: AOJu0YwEjnTSqRDSYojruLfmpH+PvsRZINONCrO9sqDX8oGEs2MvvFjr qZRdy14CkaKtrhO6BagrerJ3QXZjoQoQJrWxAy83ko97ZZ6s2X8Zd6PEAibw51YGj91vU30Gjxw 7uOSxbnuu34b1I2YhUi6AikooVCktjlkKnIyQCUUgyt9/RDHuHaA3nm2YkLcPTvhdMbeSKdAyPT rmbMMhi2rDGllZt3m8kJ9dOecNGoEbJ95l8Mwsxaiu X-Gm-Gg: ASbGncvQVV6udI0vHNYa/WmTbU5ZMrEePEbXHMJ8Bme0u+c+pItqXAtFoIVJ+zChSsQ qrfSpHTkgIt15rW4wjqgRO1Xu4LisuGFZXtIFTHlzHrXE8q7d+yovEOsIX+CRVjnclIzQ/2T/II WPxkGt+yWOSTyatHsMZuitzT4XK17lF6COhsDX60mGDj7v3qQyPI72LtqE83XUcnng/fgh4jAyc BEwb8cz7qygAnFqsHL6iVwUmiFyG50OeujErxyy09q6ujE3n1aoORVkIN883Ef0NcxRG3YKDmLL 4WahpekAEumsAesPgVCEAnLWiuS50sg9KTBgWtlY1A4= X-Received: by 2002:a05:600c:858a:b0:453:5c30:a1fd with SMTP id 5b1f17b1804b1-4556f8a7931mr59412105e9.8.1752491211632; Mon, 14 Jul 2025 04:06:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFv5bCRunCofTJumNggl6l+ykKbwR+Rw5um5Et3CuTryT2Tg1cTsH4xsquumTaKKuEAqfXJbg== X-Received: by 2002:a05:600c:858a:b0:453:5c30:a1fd with SMTP id 5b1f17b1804b1-4556f8a7931mr59411855e9.8.1752491211040; Mon, 14 Jul 2025 04:06:51 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Cc: Zhao Liu , Igor Mammedov , Dapeng Mi , Yi Lai Subject: [PULL 63/77] i386/cpu: Enable 0x1f leaf for SierraForest by default Date: Mon, 14 Jul 2025 13:03:52 +0200 Message-ID: <20250714110406.117772-64-pbonzini@redhat.com> X-Mailer: git-send-email 2.50.0 In-Reply-To: <20250714110406.117772-1-pbonzini@redhat.com> References: <20250714110406.117772-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.133.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, 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_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: 1752493983528116600 Content-Type: text/plain; charset="utf-8" From: Zhao Liu Host SierraForest CPU has 0x1f leaf by default, so that enable it for Guest CPU by default as well. Suggested-by: Igor Mammedov Reviewed-by: Dapeng Mi Tested-by: Yi Lai Signed-off-by: Zhao Liu Link: https://lore.kernel.org/r/20250711104603.1634832-7-zhao1.liu@intel.com Signed-off-by: Paolo Bonzini --- target/i386/cpu.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 482979a4437..668f3e63b7b 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -5389,8 +5389,11 @@ static const X86CPUDefinition builtin_x86_defs[] =3D= { }, { .version =3D 3, - .note =3D "with srf-sp cache model", + .note =3D "with srf-sp cache model and 0x1f leaf", .cache_info =3D &xeon_srf_cache_info, + .props =3D (PropValue[]) { + { "x-force-cpuid-0x1f", "on" }, + } }, { /* end of list */ }, }, --=20 2.50.0