From nobody Thu Sep 11 12:46:50 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 76726C05052 for ; Mon, 14 Aug 2023 08:56:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235597AbjHNI4d (ORCPT ); Mon, 14 Aug 2023 04:56:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235337AbjHNIyh (ORCPT ); Mon, 14 Aug 2023 04:54:37 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79BF010F for ; Mon, 14 Aug 2023 01:54:35 -0700 (PDT) Message-ID: <20230814085114.301935500@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1692003274; 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: references:references; bh=qdYGHf8yT/gB4O6cmEBR3VKAOVLhFCZDX/t11ieb+ro=; b=10Ht+OO+Uoa0b5Xrjvc8/M+k48npCX71PHilfCqJNwuyLLNlN743NNnes21us/RfaY0iTK MzDPvwZVjQUWn8BWpDeH/6Zek9rIriH/opgdPUiWDzFqliWw/RjQ897eQFQsPSA5fuCajN 6K6QrxHUzkDT6p1VwQjjVsIyh8HYvw2642ZFTKUPX9VbzPF8T7ckVlIpg5Ig8/hX5K6TNH CwjpV/A16Fz8wvBSSvk2kYfwyNjHv14/cDA6EDeIQFu7Y6rXLwDjZowrRJ6pu6fIY9qbPo eZbZsWP5e1PMzCyoiAMefcjl3XXWi8SUHMXAVSfpMp5VgEXZfXXa8PKi5JkOTw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1692003274; 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: references:references; bh=qdYGHf8yT/gB4O6cmEBR3VKAOVLhFCZDX/t11ieb+ro=; b=U8D8LVuZac0lWRhZ8P0i2SUgJLNsWpXHfFP2OYNIchaUFMNQ6uv9qNy4h8QRtt1Lj04D7h 5JNprjJoaT05dnDw== From: Thomas Gleixner To: LKML Cc: x86@kernel.org, Tom Lendacky , Andrew Cooper , Arjan van de Ven , Huang Rui , Juergen Gross , Dimitri Sivanich , Michael Kelley , Wei Liu , Pu Wen , Qiuxu Zhuo , Sohil Mehta Subject: [patch V4 38/41] x86/cpu: Remove x86_coreid_bits References: <20230814085006.593997112@linutronix.de> MIME-Version: 1.0 Date: Mon, 14 Aug 2023 10:54:33 +0200 (CEST) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" No more users. Signed-off-by: Thomas Gleixner Tested-by: Juergen Gross Tested-by: Sohil Mehta Tested-by: Michael Kelley --- arch/x86/include/asm/processor.h | 2 -- arch/x86/kernel/cpu/common.c | 1 - 2 files changed, 3 deletions(-) --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h @@ -119,8 +119,6 @@ struct cpuinfo_x86 { #endif __u8 x86_virt_bits; __u8 x86_phys_bits; - /* CPUID returned core id bits: */ - __u8 x86_coreid_bits; /* Max extended CPUID function supported: */ __u32 extended_cpuid_level; /* Maximum supported CPUID level, -1=3Dno CPUID: */ --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c @@ -1712,7 +1712,6 @@ static void identify_cpu(struct cpuinfo_ c->x86_vendor_id[0] =3D '\0'; /* Unset */ c->x86_model_id[0] =3D '\0'; /* Unset */ c->x86_max_cores =3D 1; - c->x86_coreid_bits =3D 0; #ifdef CONFIG_X86_64 c->x86_clflush_size =3D 64; c->x86_phys_bits =3D 36;