From nobody Wed Jun 24 16:47:52 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4glntJ6svlz6jTcW for ; Wed, 24 Jun 2026 16:47:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4glntJ4C1nz3Mkl for ; Wed, 24 Jun 2026 16:47:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782319672; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9xLuR1nFHT3yDaaFLXh00n2qx64IVnoXCK9WNm6LjHQ=; b=qDjyLtyQh9Nz02QMzhOdqZvwTDb+dniLIaRuGGMfd08DaEkLYGjphAZYD/GgYLt9d05exQ i2FlFq1mzGGiJ/L3/njOGzhyQXYOUJ2FWKqHGqxSkj5t7562MaRka3b7zO6nNWPqt4E5sJ sqdRET7RXVKtFL9N5VTz2T2hCn+C+a0ZYDC2i3NgP6iEh9N7inAPAx0OGZ7k1gjp/O1ujy LKZJYSXGxRT2nzD7bHZmjUnHa+sN/WdLanTZF/EdVk9iD/hbrkGfwK1xRfbODooXnWJq+A h+21e/r46QLtYpik/EOJaStAWA+Wj0KIgV5bLSvJIXvpRCgutLsy5/GdImBXHQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1782319672; a=rsa-sha256; cv=none; b=GyUtJa6kxkikHalGUepq6qnBc1FgxcCDFkxyCMIjmXTFko7D2BZXKDIk7T+w5pmvGYKzRK 1pNM4ozn4N+bbInoxia80Pr2Z2aJR7IWqH34Qs3Ak/dXLOr7DYTmTf17Vulb8j72nFiIvu mmMPaZb87uKvNYMOt13iAywGoxzrEmEv6KfGyDA/3g1XaMqKoztsu8BTiIGub7aH1wdaPA ZB9Q4LFEYoPGGniePGHlMEO4yFdydmEOyTwP5vhNh05LsLh2Fg+2gR0B0ilQNm2kHE31Z5 DkEK08oMNbyX5icdp3qPcZFsSOMtnpvD649+x/+4HBNjr556C20c+2nIGStt9g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782319672; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9xLuR1nFHT3yDaaFLXh00n2qx64IVnoXCK9WNm6LjHQ=; b=R5n37vT+/ej8l0AMJOB3+4hJS9pqkltmHTMHP0E+1PJsxntPeSvhhaUZDqfY67ipilhNo0 CoVbs3QTjBwpw6YjFt451+OfndIW83Rioa8HoYn9FsaUTPjy4x1AHr3tnTWVVaqrgfcgz2 J4eRfZeamkGUW2mBxP6xQ2HzogkUy4t0CeLW27zz29oPJD3XH7ZvPYgbZPPxbMJrqdp3wa QboWCpgS2xqQDExZ+EGBjXnWe6uDPfFOgh9wUNqigX27DwNUSp4V8MTwiDOnOwet+I91vy cvXLY92T+wagcZnBgbkfaW2QFDWxkOi6pot8p65brXWlSxn2/eaw4Jo46HBy8Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4glntJ3G48zCWm for ; Wed, 24 Jun 2026 16:47:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 32026 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 24 Jun 2026 16:47:52 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Jean-=?utf-8?Q?S=C3=A9bast?==?utf-8?Q?ien P=C3=A9?=dron Subject: git: a68dcfaf0236 - main - linuxkpi: Define and fill `struct cpuinfo_x86->x86_stepping` List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dumbbell X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a68dcfaf0236468703201e4f9a52139bd955bc45 Auto-Submitted: auto-generated Date: Wed, 24 Jun 2026 16:47:52 +0000 Message-Id: <6a3c0a38.32026.305c95e5@gitrepo.freebsd.org> The branch main has been updated by dumbbell: URL: https://cgit.FreeBSD.org/src/commit/?id=a68dcfaf0236468703201e4f9a52139bd955bc45 commit a68dcfaf0236468703201e4f9a52139bd955bc45 Author: Jean-Sébastien Pédron AuthorDate: 2026-06-17 13:55:19 +0000 Commit: Jean-Sébastien Pédron CommitDate: 2026-06-24 16:47:09 +0000 linuxkpi: Define and fill `struct cpuinfo_x86->x86_stepping` This will be used in a follow-up commit to implement `x86_match_cpu()`. Reviewed by: emaste Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D57698 --- sys/compat/linuxkpi/common/include/asm/processor.h | 1 + sys/compat/linuxkpi/common/src/linux_compat.c | 1 + 2 files changed, 2 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/asm/processor.h b/sys/compat/linuxkpi/common/include/asm/processor.h index 2bc4b6532544..8b5aa1dfcce6 100644 --- a/sys/compat/linuxkpi/common/include/asm/processor.h +++ b/sys/compat/linuxkpi/common/include/asm/processor.h @@ -51,6 +51,7 @@ struct cpuinfo_x86 { uint16_t x86_clflush_size; uint16_t x86_max_cores; uint8_t x86_vendor; + uint8_t x86_stepping; }; extern struct cpuinfo_x86 boot_cpu_data; diff --git a/sys/compat/linuxkpi/common/src/linux_compat.c b/sys/compat/linuxkpi/common/src/linux_compat.c index e93963428195..78abbf1716e4 100644 --- a/sys/compat/linuxkpi/common/src/linux_compat.c +++ b/sys/compat/linuxkpi/common/src/linux_compat.c @@ -2907,6 +2907,7 @@ linux_compat_init(void *arg) boot_cpu_data.x86 = CPUID_TO_FAMILY(cpu_id); boot_cpu_data.x86_model = CPUID_TO_MODEL(cpu_id); boot_cpu_data.x86_vendor = x86_vendor; + boot_cpu_data.x86_stepping = CPUID_TO_STEPPING(cpu_id); __cpu_data = kmalloc_array(mp_maxid + 1, sizeof(*__cpu_data), M_WAITOK | M_ZERO);