From patchwork Fri Dec 2 19:47:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Babu Moger X-Patchwork-Id: 13063176 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B0073C4332F for ; Fri, 2 Dec 2022 19:52:25 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1C55-0005lM-E2; Fri, 02 Dec 2022 14:52:19 -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 1p1C54-0005l8-4N for qemu-devel@nongnu.org; Fri, 02 Dec 2022 14:52:18 -0500 Received: from mail-dm6nam10on2040.outbound.protection.outlook.com ([40.107.93.40] helo=NAM10-DM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1C52-0004z2-25 for qemu-devel@nongnu.org; Fri, 02 Dec 2022 14:52:17 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CwDC4yui1yyoJZAFjuh74yfdKpCK74/jpkl+SMWzP+YXx+F0+4JBPG7dyUr6kpbMLzkiyT+mCApFdl6vxoDFcWQ9otUcTi0s39fBR7ruqfDY+BM9DzgLAMgX1iHHnNjO3FnXSD74WPBql89sAxz0+M11Io9xxToPS49BJC9+VZeOW8oDrQTkU5A4iz87UfT/A9DXLvadk+CPHwrwh3L7dg3V+S0p9mcLl2YVnAFd0u71bKEf/bhJxIBU3w3iUJGycGXg3ozNxpoDbUcJ2ZmBYJn5gXZhmJsYbsWmTNkAUkVtO51AY38M8CzjtR7lSZ+bfp49IbU9sSiLBdnNNMf+7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=1XKGPxkedei1K92bCddX4TaJvojd6muF22rx3qF0GdE=; b=iOYfjyWNAxYp82P6LrujVH3xccQ45jj0hnBynFNHturVSiMNoJE3qYYJQBUt825d4GcwUgSt9+xYeCl4Pk6jEoFcMonhq5/qvn3Df5Hoq7Cn5xL+op2SVy8Q4TOCXE6mF8FSZCKm3wxySmP7pbNEYnellGGD+RM1uhES7Lbq4CjgugSx3wqQOsGW75NZcbCwnIFrzE405rhWkbBlM2qZs17sYoBrtF95kMUUWjoDt75bg9EFpynppNo3HfCfHgjavgd3BXFRaItd4gqFkhinmi+ZdacFHTeTjSleeJJgGPtj7OjwdEO6zvMIrlAIKTQsEaEuQlRqow24BwYokKPGEw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1XKGPxkedei1K92bCddX4TaJvojd6muF22rx3qF0GdE=; b=uEMBcTFd3fc1/i8ldnIKwrgwveVO8sYJ/g3yvq1yKTeRkm2y6/kyZmU40Rsm65L22ogsWkNd8ifCvSxNXS37w2jhNX3KJSWleYDhO5u1k6KcKZxAT8ttnL8M7gLJvqpocNJmfJ/6mpbSmay7M2Cogcn81kylgi0jm3sTQTj2bHk= Received: from DM6PR02CA0122.namprd02.prod.outlook.com (2603:10b6:5:1b4::24) by IA0PR12MB8304.namprd12.prod.outlook.com (2603:10b6:208:3dc::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.8; Fri, 2 Dec 2022 19:47:08 +0000 Received: from CY4PEPF0000B8EE.namprd05.prod.outlook.com (2603:10b6:5:1b4:cafe::c1) by DM6PR02CA0122.outlook.office365.com (2603:10b6:5:1b4::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.10 via Frontend Transport; Fri, 2 Dec 2022 19:47:07 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by CY4PEPF0000B8EE.mail.protection.outlook.com (10.167.241.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5813.11 via Frontend Transport; Fri, 2 Dec 2022 19:47:07 +0000 Received: from [127.0.1.1] (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Fri, 2 Dec 2022 13:47:06 -0600 Subject: [PATCH 0/5] Update AMD EPYC CPU Models From: Babu Moger To: CC: , , , , , , , , , , Date: Fri, 2 Dec 2022 13:47:05 -0600 Message-ID: <167001034454.62456.7111414518087569436.stgit@bmoger-ubuntu> User-Agent: StGit/1.1.dev103+g5369f4c MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000B8EE:EE_|IA0PR12MB8304:EE_ X-MS-Office365-Filtering-Correlation-Id: 1a9b36f0-799f-4ca1-488c-08dad49dfed4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QltA7UZ6WHdTiZcbiIfGGEMR2+no153V9e5sDbZ4bwVEkBvZ3eKJjUzRTwq208p6QpjQDSRcmoRVkRk0KQsl7BvQApVuMYw57yQE/jjJF+9KLJ36uWFKlecNepH5rRC0jnBbEY5Q1ezjsaW+lZQzsR/5AvUnStOMxaBBo+IUHBpXv6hL8CBhg6xf9NfaRuSL2mcAfxSPx2bkPCSQG842HrywxJUv8tQPSAL13oUg+ET21G07SUrCEUZU51Nz5AqFpOLSSK3vqWlz694Nee9S8pstE435Xf3bm1/5fAFf+KbyoX5QcXpIZd5ZdepCt+uUcAc/Oh0QoopbWE0LhaE8EsEOpfLaGFhqC8mNwLuqtooR/br9EyAE1tZR3t4SoAwWcYUUGMtcf0a8IcmAyNKSG5lrFloFRqgrih0e+ApGsQkCtn8zbi59m2iDQCqqRRHYavoP7IQ81UeZ5lKAUCTcRK2CiOjx2YWQyNPB7bZuzf2cBAa8b5cg7A4DprC2pLgVHY05QT7zSlWxzFU3hH9GGCJPb/JwZG3aMPDTUwmrIR+KS/KNe6mYDFeUbAbMcEKXOHRjmZgM0h5AZdiIyUUXqLZyUxp4z/jJ4x1M+SFZ2DD13dc/7FWyAsmx16aU2ni8vjrzyPXXaWLTj2WYIK5Q0oCXeVvcREnSbC5Xg03wTO/mAjjnfY8gSeNex5DnRkQSwo807qXJ3bvCgnHzg0iGm/N0L8dcrx4WE//tmfiC0K73IW8QwA3kTi89B/bBJJKy3z6CGHA1n+cwzELIZ703W44BX2FUsGSWFbNBFoof2Q0= X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230022)(7916004)(4636009)(136003)(396003)(376002)(346002)(39860400002)(451199015)(40470700004)(36840700001)(46966006)(9686003)(40460700003)(86362001)(40480700001)(356005)(81166007)(6916009)(54906003)(316002)(103116003)(16576012)(8676002)(33716001)(41300700001)(5660300002)(4744005)(15650500001)(70206006)(70586007)(8936002)(7416002)(36860700001)(4326008)(2906002)(82740400003)(26005)(478600001)(83380400001)(186003)(426003)(47076005)(82310400005)(44832011)(336012)(16526019)(170073001)(71626007)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Dec 2022 19:47:07.5531 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1a9b36f0-799f-4ca1-488c-08dad49dfed4 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000B8EE.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR12MB8304 Received-SPF: softfail client-ip=40.107.93.40; envelope-from=Babu.Moger@amd.com; helo=NAM10-DM6-obe.outbound.protection.outlook.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, 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_PASS=-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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org This series adds following changes. a. Allow versioned CPUs to specify new cache_info pointers. b. Add EPYC-v4, EPYC-Rome-v3 and EPYC-Milan-v2 fixing the cache_info.complex_indexing. c. Introduce EPYC-Milan-v2 by adding few missing feature bits. --- Babu Moger (3): target/i386: Add a couple of feature bits in 8000_0008_EBX target/i386: Add feature bits for CPUID_Fn80000021_EAX target/i386: Add missing feature bits in EPYC-Milan model Michael Roth (2): target/i386: allow versioned CPUs to specify new cache_info target/i386: Add new EPYC CPU versions with updated cache_info target/i386/cpu.c | 252 +++++++++++++++++++++++++++++++++++++++++++++- target/i386/cpu.h | 12 +++ 2 files changed, 259 insertions(+), 5 deletions(-) --