The NetBSD Project

CVS log for src/sys/arch/x86/x86/procfs_machdep.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / x86 / x86

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.48 / (download) - annotate - [select for diffs], Mon Aug 7 09:27:14 2023 UTC (8 months, 1 week ago) by msaitoh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.47: +10 -9 lines
Diff to previous 1.47 (colored) to selected 1.33.2.3 (colored)

Update /proc/cpuinfo.

 - Move "ssbd" to an unused Linux mapping.
 - Update unused Linux mappings.

Revision 1.15.2.16 / (download) - annotate - [select for diffs], Wed Jun 21 19:54:02 2023 UTC (9 months, 4 weeks ago) by martin
Branch: netbsd-8
Changes since 1.15.2.15: +4 -4 lines
Diff to previous 1.15.2.15 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored) to selected 1.33.2.3 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1830):

	sys/arch/x86/x86/procfs_machdep.c: revision 1.47

Add Intel lam and AMD vnmi.

Revision 1.33.2.8 / (download) - annotate - [select for diffs], Wed Jun 21 19:52:39 2023 UTC (9 months, 4 weeks ago) by martin
Branch: netbsd-9
Changes since 1.33.2.7: +4 -4 lines
Diff to previous 1.33.2.7 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored) to selected 1.33.2.3 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1649):

	sys/arch/x86/x86/procfs_machdep.c: revision 1.47

Add Intel lam and AMD vnmi.

Revision 1.45.4.2 / (download) - annotate - [select for diffs], Wed Jun 21 19:51:01 2023 UTC (9 months, 4 weeks ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.45.4.1: +4 -4 lines
Diff to previous 1.45.4.1 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored) to selected 1.33.2.3 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #203):

	sys/arch/x86/x86/procfs_machdep.c: revision 1.47

Add Intel lam and AMD vnmi.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Apr 11 02:42:15 2023 UTC (12 months, 1 week ago) by msaitoh
Branch: MAIN
Changes since 1.46: +4 -4 lines
Diff to previous 1.46 (colored) to selected 1.33.2.3 (colored)

Add Intel lam and AMD vnmi.

Revision 1.15.2.15 / (download) - annotate - [select for diffs], Mon Jan 23 12:25:06 2023 UTC (14 months, 3 weeks ago) by martin
Branch: netbsd-8
Changes since 1.15.2.14: +4 -4 lines
Diff to previous 1.15.2.14 (colored) to branchpoint 1.15 (colored) to selected 1.33.2.3 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1788):

	sys/arch/x86/x86/procfs_machdep.c: revision 1.46

Add x2avic. Modify comment.

Revision 1.33.2.7 / (download) - annotate - [select for diffs], Mon Jan 23 12:23:53 2023 UTC (14 months, 3 weeks ago) by martin
Branch: netbsd-9
Changes since 1.33.2.6: +4 -4 lines
Diff to previous 1.33.2.6 (colored) to branchpoint 1.33 (colored) to selected 1.33.2.3 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1571):

	sys/arch/x86/x86/procfs_machdep.c: revision 1.46

Add x2avic. Modify comment.

Revision 1.45.4.1 / (download) - annotate - [select for diffs], Mon Jan 23 12:21:48 2023 UTC (14 months, 3 weeks ago) by martin
Branch: netbsd-10
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (colored) to selected 1.33.2.3 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #54):

	sys/arch/x86/x86/procfs_machdep.c: revision 1.46

Add x2avic. Modify comment.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Dec 30 13:48:40 2022 UTC (15 months, 2 weeks ago) by msaitoh
Branch: MAIN
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (colored) to selected 1.33.2.3 (colored)

Add x2avic. Modify comment.

Revision 1.15.2.14 / (download) - annotate - [select for diffs], Fri Sep 16 18:39:16 2022 UTC (19 months ago) by martin
Branch: netbsd-8
Changes since 1.15.2.13: +7 -7 lines
Diff to previous 1.15.2.13 (colored) to branchpoint 1.15 (colored) to selected 1.33.2.3 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1766):

	sys/arch/x86/x86/procfs_machdep.c: revision 1.45

Add tdx_guest, brs, hfi, ibt, amx_bf16, amx_tile and amx_int8.

Revision 1.33.2.6 / (download) - annotate - [select for diffs], Fri Sep 16 18:36:43 2022 UTC (19 months ago) by martin
Branch: netbsd-9
Changes since 1.33.2.5: +7 -7 lines
Diff to previous 1.33.2.5 (colored) to branchpoint 1.33 (colored) to selected 1.33.2.3 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1526):

	sys/arch/x86/x86/procfs_machdep.c: revision 1.45

Add tdx_guest, brs, hfi, ibt, amx_bf16, amx_tile and amx_int8.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Jun 20 15:40:24 2022 UTC (21 months, 4 weeks ago) by msaitoh
Branch: MAIN
CVS Tags: netbsd-10-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.44: +7 -7 lines
Diff to previous 1.44 (colored) to selected 1.33.2.3 (colored)

Add tdx_guest, brs, hfi, ibt, amx_bf16, amx_tile and amx_int8.

Revision 1.15.2.13 / (download) - annotate - [select for diffs], Mon Jan 31 17:58:04 2022 UTC (2 years, 2 months ago) by martin
Branch: netbsd-8
Changes since 1.15.2.12: +18 -20 lines
Diff to previous 1.15.2.12 (colored) to branchpoint 1.15 (colored) to selected 1.33.2.3 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1733):

	sys/arch/x86/x86/procfs_machdep.c: revision 1.43
	sys/arch/x86/x86/procfs_machdep.c: revision 1.44

Update for cpuid flags:
  - The table 11 was changed from CPUID 0x0f leaf 0 %edx to a Linux mapping.
  - The table 12 was changed from CPUID 0x0f leaf 1 %edx to CPUID 0x07 leaf 1
    %edx. Print avx_vnni and avx512_bf16.
  - Print cppc, enqcmd and arch_lbr.
  - Modify linux mapping. No used on NetBSD.

Fix procfs_machdep.c rev. 1.143. Print CPUID 0x00000007:1 %eax correctly.

Revision 1.33.2.5 / (download) - annotate - [select for diffs], Mon Jan 31 17:54:59 2022 UTC (2 years, 2 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE
Changes since 1.33.2.4: +18 -20 lines
Diff to previous 1.33.2.4 (colored) to branchpoint 1.33 (colored) to selected 1.33.2.3 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1419):

	sys/arch/x86/x86/procfs_machdep.c: revision 1.43
	sys/arch/x86/x86/procfs_machdep.c: revision 1.44

Update for cpuid flags:
  - The table 11 was changed from CPUID 0x0f leaf 0 %edx to a Linux mapping.
  - The table 12 was changed from CPUID 0x0f leaf 1 %edx to CPUID 0x07 leaf 1
    %edx. Print avx_vnni and avx512_bf16.
  - Print cppc, enqcmd and arch_lbr.
  - Modify linux mapping. No used on NetBSD.

Fix procfs_machdep.c rev. 1.143. Print CPUID 0x00000007:1 %eax correctly.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Jan 31 06:54:50 2022 UTC (2 years, 2 months ago) by msaitoh
Branch: MAIN
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored) to selected 1.33.2.3 (colored)

Fix procfs_machdep.c rev. 1.143. Print CPUID 0x00000007:1 %eax correctly.

Revision 1.43 / (download) - annotate - [select for diffs], Fri Jan 14 15:48:50 2022 UTC (2 years, 3 months ago) by msaitoh
Branch: MAIN
Changes since 1.42: +17 -19 lines
Diff to previous 1.42 (colored) to selected 1.33.2.3 (colored)

Update for cpuid flags:

 - The table 11 was changed from CPUID 0x0f leaf 0 %edx to a Linux mapping.
 - The table 12 was changed from CPUID 0x0f leaf 1 %edx to CPUID 0x07 leaf 1
   %edx. Print avx_vnni and avx512_bf16.
 - Print cppc, enqcmd and arch_lbr.
 - Modify linux mapping. No used on NetBSD.

Revision 1.15.2.12 / (download) - annotate - [select for diffs], Fri Dec 3 19:53:32 2021 UTC (2 years, 4 months ago) by martin
Branch: netbsd-8
Changes since 1.15.2.11: +31 -15 lines
Diff to previous 1.15.2.11 (colored) to branchpoint 1.15 (colored) to selected 1.33.2.3 (colored)

Pull up the following revisions, requested by msaitoh in ticket #1715:

	sys/arch/x86/x86/procfs_machdep.c		1.40-1.42

- Add v_spec_ctrl, avx512_fp16, sme, sev, sev_es, sgx, sgx_lc,
  serialize and tsxldtrk.
- Whitespace fix.

Revision 1.33.2.4 / (download) - annotate - [select for diffs], Fri Dec 3 19:49:35 2021 UTC (2 years, 4 months ago) by martin
Branch: netbsd-9
Changes since 1.33.2.3: +31 -15 lines
Diff to previous 1.33.2.3 (colored) to branchpoint 1.33 (colored)

Pull up the following revisions, requested by msaitoh in ticket #1385:

	sys/arch/x86/x86/procfs_machdep.c		1.40-1.42

- Add v_spec_ctrl, avx512_fp16, sme, sev, sev_es, sgx, sgx_lc,
  serialize and tsxldtrk.
- Whitespace fix.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Oct 7 12:52:27 2021 UTC (2 years, 6 months ago) by msaitoh
Branch: MAIN
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored) to selected 1.33.2.3 (colored)

KNF. No functional change.

Revision 1.40.4.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:19 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.40: +27 -11 lines
Diff to previous 1.40 (colored) next main 1.41 (colored) to selected 1.33.2.3 (colored)

Sync with HEAD.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Jul 10 17:33:28 2021 UTC (2 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2
Changes since 1.40: +27 -11 lines
Diff to previous 1.40 (colored) to selected 1.33.2.3 (colored)

 Add v_spec_ctrl, avx512_fp16, sme, sev and sev_es. Tested by nonaka@.

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:38:04 2020 UTC (3 years, 4 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.39: +6 -6 lines
Diff to previous 1.39 (colored) next main 1.40 (colored) to selected 1.33.2.3 (colored)

Sync w/ HEAD.

Revision 1.40 / (download) - annotate - [select for diffs], Mon Nov 30 00:04:02 2020 UTC (3 years, 4 months ago) by msaitoh
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Changes since 1.39: +6 -6 lines
Diff to previous 1.39 (colored) to selected 1.33.2.3 (colored)

 Add sgx, sgx_lc, serialize and tsxldtrk.

Revision 1.15.2.11 / (download) - annotate - [select for diffs], Mon Jul 20 18:40:08 2020 UTC (3 years, 8 months ago) by martin
Branch: netbsd-8
Changes since 1.15.2.10: +3 -3 lines
Diff to previous 1.15.2.10 (colored) to branchpoint 1.15 (colored) to selected 1.33.2.3 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1581):

	sys/arch/x86/x86/procfs_machdep.c: revision 1.37
	sys/arch/x86/x86/procfs_machdep.c: revision 1.38

  Add AMD protected processor identification number (PPIN).

  Lowercase ppin.

Revision 1.33.2.3 / (download) - annotate - [selected], Fri Jul 10 10:36:56 2020 UTC (3 years, 9 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.33.2.2: +3 -3 lines
Diff to previous 1.33.2.2 (colored) to branchpoint 1.33 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #993):

	sys/arch/x86/x86/procfs_machdep.c: revision 1.37
	sys/arch/x86/x86/procfs_machdep.c: revision 1.38

  Add AMD protected processor identification number (PPIN).

  Lowercase ppin.

Revision 1.39 / (download) - annotate - [select for diffs], Sat Apr 25 15:26:18 2020 UTC (3 years, 11 months ago) by bouyer
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored) to selected 1.33.2.3 (colored)

Merge the bouyer-xenpvh branch, bringing in Xen PV drivers support under HVM
guests in GENERIC.
Xen support can be disabled at runtime with
boot -c
disable hypervisor

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Sat Apr 25 11:23:57 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored) next main 1.37 (colored) to selected 1.33.2.3 (colored)

Sync with bouyer-xenpvh-base2 (HEAD)

Revision 1.38 / (download) - annotate - [select for diffs], Fri Apr 24 07:50:24 2020 UTC (3 years, 11 months ago) by msaitoh
Branch: MAIN
CVS Tags: bouyer-xenpvh-base2
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored) to selected 1.33.2.3 (colored)

 Lowercase ppin.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Apr 24 02:27:59 2020 UTC (3 years, 11 months ago) by msaitoh
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored) to selected 1.33.2.3 (colored)

 Add AMD protected processor identification number (PPIN).

Revision 1.15.2.10 / (download) - annotate - [select for diffs], Wed Apr 15 14:25:09 2020 UTC (4 years ago) by martin
Branch: netbsd-8
Changes since 1.15.2.9: +10 -9 lines
Diff to previous 1.15.2.9 (colored) to branchpoint 1.15 (colored) to selected 1.33.2.3 (colored)

Pull up the following, requested by msaitoh in ticket #1530:

	sys/arch/x86/x86/procfs_machdep.c		1.33-1.36
	sys/arch/x86/x86/tsc.c				1.40
	sys/arch/x86/x86/specialreg.h			1.159-1.161
	usr.sbin/cpuctl/arch/i386.c			1.109-1.110 via patch

- Print avx512ifma, cqm_mbm_total, cqm_mbm_local, waitpkg, rdpru,
  Fast Short Rep Mov(fsrm), AVX512_VP2INTERSECT, SERIALIZE and
  TSXLDTRK.
- Rename CPUID Fn8000_0007 %edx bit 8 from "TSC" to "ITSC"
  (Invariant TSC) to avoid confusion.
- Print CPUID 0x80000007 %edx on both Intel and AMD.
- Remove ci_max_ext_cpuid from usr.sbin/cpuctl/arch/i386.c because it's
  the same as ci_cpuid_extlevel.
- Use unsigned to avoid undefined behavior in procfs_getonefeatreg().

Revision 1.33.2.2 / (download) - annotate - [select for diffs], Tue Apr 14 17:15:02 2020 UTC (4 years ago) by martin
Branch: netbsd-9
Changes since 1.33.2.1: +4 -4 lines
Diff to previous 1.33.2.1 (colored) to branchpoint 1.33 (colored) to selected 1.33.2.3 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #833):

	usr.sbin/cpuctl/arch/i386.c: revision 1.109
	sys/arch/x86/include/specialreg.h: revision 1.159
	usr.sbin/cpuctl/arch/i386.c: revision 1.110
	sys/arch/x86/include/specialreg.h: revision 1.160
	sys/arch/x86/include/specialreg.h: revision 1.161
	sys/arch/x86/x86/tsc.c: revision 1.40
	sys/arch/x86/x86/procfs_machdep.c: revision 1.35
	sys/arch/x86/x86/procfs_machdep.c: revision 1.36

  Add Fast Short Rep Mov(fsrm).

Add AVX512_VP2INTERSECT, SERIALIZE and TSXLDTRK(TSX suspend load addr tracking)

  CPUID Fn00000001 %edx bit 8 is printed as "TSC", so rename CPUID Fn8000_0007
%edx bit 8 from "TSC" to "ITSC" (Invariant TSC) to avoid confusion.

  Rename CPUID_APM_TSC to CPUID_APM_ITSC. No functional change.

  Remove ci_max_ext_cpuid because it's the same as ci_cpuid_extlevel.

  Print CPUID 0x80000007 %edx on both Intel and AMD.

Revision 1.23.2.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:12 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.23.2.2: +5 -4 lines
Diff to previous 1.23.2.2 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored) to selected 1.33.2.3 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.23.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:59 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.23.2.1: +4 -4 lines
Diff to previous 1.23.2.1 (colored) to branchpoint 1.23 (colored) to selected 1.33.2.3 (colored)

Merge changes from current as of 20200406

Revision 1.36 / (download) - annotate - [select for diffs], Wed Apr 1 08:21:38 2020 UTC (4 years ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base1, bouyer-xenpvh-base
Branch point for: bouyer-xenpvh
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored) to selected 1.33.2.3 (colored)

Add AVX512_VP2INTERSECT, SERIALIZE and TSXLDTRK(TSX suspend load addr tracking)

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Fri Jan 17 21:47:28 2020 UTC (4 years, 3 months ago) by ad
Branch: ad-namecache
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored) next main 1.35 (colored) to selected 1.33.2.3 (colored)

Sync with head.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Jan 17 04:48:21 2020 UTC (4 years, 3 months ago) by msaitoh
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored) to selected 1.33.2.3 (colored)

 Add Fast Short Rep Mov(fsrm).

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Thu Oct 17 18:56:25 2019 UTC (4 years, 6 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored) to selected 1.33.2.3 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #344):

	sys/arch/x86/include/specialreg.h: revision 1.154
	sys/arch/x86/include/specialreg.h: revision 1.155
	usr.sbin/cpuctl/arch/i386.c: revision 1.107
	sys/arch/x86/x86/procfs_machdep.c: revision 1.34

- Add definitions of AMD's CPUID Fn8000_001f Encrypted Memory features.
- Add definition of AMD's CPUID Fn8000_000a %edx bit 11 "GMET".
- Define CPUID_AMD_SVM_PFThreshold correctly.
- Modify comment a bit for consistency.

 Fix AMD Fn8000_0001f %eax bit 0's name.

Add rdpru.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Oct 17 06:58:48 2019 UTC (4 years, 6 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20191119, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored) to selected 1.33.2.3 (colored)

Add rdpru.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jul 24 04:58:26 2019 UTC (4 years, 8 months ago) by msaitoh
Branch: MAIN
CVS Tags: netbsd-9-base
Branch point for: netbsd-9
Changes since 1.32: +6 -5 lines
Diff to previous 1.32 (colored) to selected 1.33.2.3 (colored)

Add avx512ifma, cqm_mbm_total, cqm_mbm_local and waitpkg

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:54 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.23: +16 -15 lines
Diff to previous 1.23 (colored) to selected 1.33.2.3 (colored)

Sync with HEAD

Revision 1.15.2.9 / (download) - annotate - [select for diffs], Wed May 29 15:43:26 2019 UTC (4 years, 10 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE
Changes since 1.15.2.8: +3 -3 lines
Diff to previous 1.15.2.8 (colored) to branchpoint 1.15 (colored) to selected 1.33.2.3 (colored)

Pullup the following, requested by msaitoh in ticket #1270:

	sys/arch/x86/include/specialreg.h		1.143, 1.145 via patch
	sys/arch/x86/x86/procfs_machdep.c		1.30

Add TSX_FORCE_ABORT related definitions.
Add cpuid7 edx bit 10 "MD_CLEAR".

Revision 1.32 / (download) - annotate - [select for diffs], Tue May 28 16:43:24 2019 UTC (4 years, 10 months ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-20190609
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored) to selected 1.33.2.3 (colored)

Avoid the 1<<31 construct

Shift unsigned int rather than signed one.

Detected with kUBSan when reading /proc/cpuinfo.

Revision 1.31 / (download) - annotate - [select for diffs], Thu May 16 04:26:13 2019 UTC (4 years, 11 months ago) by msaitoh
Branch: MAIN
Changes since 1.30: +7 -5 lines
Diff to previous 1.30 (colored) to selected 1.33.2.3 (colored)

 Revert rev. 1.29. Use current cpuid 7 edx value to print.

Revision 1.30 / (download) - annotate - [select for diffs], Thu May 16 02:42:19 2019 UTC (4 years, 11 months ago) by msaitoh
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) to selected 1.33.2.3 (colored)

 Add md_clear.

Revision 1.29 / (download) - annotate - [select for diffs], Thu May 16 02:36:30 2019 UTC (4 years, 11 months ago) by msaitoh
Branch: MAIN
Changes since 1.28: +5 -7 lines
Diff to previous 1.28 (colored) to selected 1.33.2.3 (colored)

 Use ci_feat_val[7] instead of directly getting cpuid 7 edx.

Revision 1.15.2.8 / (download) - annotate - [select for diffs], Thu Mar 7 17:01:18 2019 UTC (5 years, 1 month ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-1-RC1
Changes since 1.15.2.7: +9 -9 lines
Diff to previous 1.15.2.7 (colored) to branchpoint 1.15 (colored) to selected 1.33.2.3 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1204):

	sys/arch/x86/x86/procfs_machdep.c: revision 1.28

- Add wbnoinvd, virt_ssbd, tme, cldemote, movdiri, movdir64b and pconfig.
- Move AMD 0x80000008 ebx's ibpb, ibrs and stibp to x86_features[8] linux
   mapping.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Feb 18 05:41:20 2019 UTC (5 years, 2 months ago) by msaitoh
Branch: MAIN
CVS Tags: isaki-audio2-base, isaki-audio2
Changes since 1.27: +9 -9 lines
Diff to previous 1.27 (colored) to selected 1.33.2.3 (colored)

- Add wbnoinvd, virt_ssbd, tme, cldemote, movdiri, movdir64b and pconfig.
- Move AMD 0x80000008 ebx's ibpb, ibrs and stibp to x86_features[8] linux
  mapping.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jan 6 15:37:17 2019 UTC (5 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118
Changes since 1.26: +2 -7 lines
Diff to previous 1.26 (colored) to selected 1.33.2.3 (colored)

restore original now that weak symbols are gone

Revision 1.26 / (download) - annotate - [select for diffs], Sat Jan 5 20:32:02 2019 UTC (5 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.25: +7 -2 lines
Diff to previous 1.25 (colored) to selected 1.33.2.3 (colored)

Comment out rcr0 use until the weak symbol mess is undone.

Revision 1.22.2.3 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:28 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.22.2.2: +5 -5 lines
Diff to previous 1.22.2.2 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored) to selected 1.33.2.3 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.6.4.4 / (download) - annotate - [select for diffs], Sun Nov 18 19:39:49 2018 UTC (5 years, 5 months ago) by martin
Branch: netbsd-7
Changes since 1.6.4.3: +5 -5 lines
Diff to previous 1.6.4.3 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored) to selected 1.33.2.3 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1650):

	sys/arch/x86/x86/procfs_machdep.c: revision 1.25

- I misread ci_acpiid as ci_apicid... LAPIC ID is in ci_cpuid.
   Print it correctly.

- ci_initapicid(Initial APIC ID) is uint32_t, so use %u.

Revision 1.15.2.7 / (download) - annotate - [select for diffs], Sun Nov 18 11:16:52 2018 UTC (5 years, 5 months ago) by martin
Branch: netbsd-8
Changes since 1.15.2.6: +5 -5 lines
Diff to previous 1.15.2.6 (colored) to branchpoint 1.15 (colored) to selected 1.33.2.3 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1094):

	sys/arch/x86/x86/procfs_machdep.c: revision 1.25

- I misread ci_acpiid as ci_apicid... LAPIC ID is in ci_cpuid.
   Print it correctly.

- ci_initapicid(Initial APIC ID) is uint32_t, so use %u.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Nov 15 04:53:54 2018 UTC (5 years, 5 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-compat-1226, pgoyette-compat-1126
Changes since 1.24: +5 -5 lines
Diff to previous 1.24 (colored) to selected 1.33.2.3 (colored)

- I misread ci_acpiid as ci_apicid... LAPIC ID is in ci_cpuid.
  Print it correctly.
- ci_initapicid(Initial APIC ID) is uint32_t, so use %u.

Revision 1.15.2.6 / (download) - annotate - [select for diffs], Sun Sep 23 17:35:33 2018 UTC (5 years, 6 months ago) by martin
Branch: netbsd-8
Changes since 1.15.2.5: +4 -3 lines
Diff to previous 1.15.2.5 (colored) to branchpoint 1.15 (colored) to selected 1.33.2.3 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1026):

	sys/arch/x86/x86/procfs_machdep.c: revision 1.24
	sys/arch/x86/include/specialreg.h: revision 1.130

OK'd by maxv:
- Add cpuid 7 edx L1D_FLUSH bit.
- Add IA32_ARCH_SKIP_L1DFL_VMENTRY bit.
- Add IA32_FLUSH_CMD MSR.

Revision 1.22.2.2 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:44 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.22.2.1: +4 -3 lines
Diff to previous 1.22.2.1 (colored) to branchpoint 1.22 (colored) to selected 1.33.2.3 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.24 / (download) - annotate - [select for diffs], Mon Aug 20 08:53:48 2018 UTC (5 years, 8 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.23: +4 -3 lines
Diff to previous 1.23 (colored) to selected 1.33.2.3 (colored)

OK'd by maxv:
- Add cpuid 7 edx L1D_FLUSH bit.
- Add IA32_ARCH_SKIP_L1DFL_VMENTRY bit.
- Add IA32_FLUSH_CMD MSR.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:47 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored) to selected 1.33.2.3 (colored)

Sync with HEAD

Revision 1.15.2.5 / (download) - annotate - [select for diffs], Sat Jun 9 15:14:49 2018 UTC (5 years, 10 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-0-RELEASE, netbsd-8-0-RC2
Changes since 1.15.2.4: +3 -3 lines
Diff to previous 1.15.2.4 (colored) to branchpoint 1.15 (colored) to selected 1.33.2.3 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #867):

	sys/arch/x86/x86/procfs_machdep.c: revision 1.23

Add SSBD bit for Intel.

Revision 1.23 / (download) - annotate - [select for diffs], Wed May 23 05:04:39 2018 UTC (5 years, 10 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0728, pgoyette-compat-0625
Branch point for: phil-wifi
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored) to selected 1.33.2.3 (colored)

 Add SSBD bit for Intel.

Revision 1.15.2.4 / (download) - annotate - [select for diffs], Fri Mar 16 13:08:14 2018 UTC (6 years, 1 month ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-0-RC1
Changes since 1.15.2.3: +23 -7 lines
Diff to previous 1.15.2.3 (colored) to branchpoint 1.15 (colored) to selected 1.33.2.3 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #634):
	sys/arch/x86/x86/procfs_machdep.c: revision 1.22
- Add AMD CPUID leaf 0x80000008 ebx's xsaveerptr, ibpb, ibrs, stibp.
- Add Intel CPUID leaf 7 ebx's umip, avx512_vbmi2, gfni, vaes, vpclmulqdq,
   avx512_vnni and avx512_bitalg.
- Add Intel CPUID leaf 7 edx's avx512_4vnniw, avx512_4fmaps and
   arch_capabilities.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Mar 5 04:21:36 2018 UTC (6 years, 1 month ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.21: +23 -7 lines
Diff to previous 1.21 (colored) to selected 1.33.2.3 (colored)

- Add AMD CPUID leaf 0x80000008 ebx's xsaveerptr, ibpb, ibrs, stibp.
- Add Intel CPUID leaf 7 ebx's umip, avx512_vbmi2, gfni, vaes, vpclmulqdq,
  avx512_vnni and avx512_bitalg.
- Add Intel CPUID leaf 7 edx's avx512_4vnniw, avx512_4fmaps and
  arch_capabilities.

Revision 1.15.2.3 / (download) - annotate - [select for diffs], Sat Jan 13 21:44:20 2018 UTC (6 years, 3 months ago) by snj
Branch: netbsd-8
Changes since 1.15.2.2: +4 -4 lines
Diff to previous 1.15.2.2 (colored) to branchpoint 1.15 (colored) to selected 1.33.2.3 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #492):
	sys/arch/x86/x86/procfs_machdep.c: revision 1.21
Print intel_pt in /proc/cpuinfo.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jan 10 11:46:02 2018 UTC (6 years, 3 months ago) by msaitoh
Branch: MAIN
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored) to selected 1.33.2.3 (colored)

 Print intel_pt in /proc/cpuinfo.

Revision 1.1.26.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:50 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.1.26.1: +276 -63 lines
Diff to previous 1.1.26.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.33.2.3 (colored)

update from HEAD

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Tue Nov 21 15:11:52 2017 UTC (6 years, 4 months ago) by martin
Branch: netbsd-8
Changes since 1.15.2.1: +61 -16 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored) to selected 1.33.2.3 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #367):
	sys/arch/x86/x86/procfs_machdep.c: revision 1.20
	sys/arch/x86/x86/procfs_machdep.c: revision 1.17
	sys/arch/x86/x86/procfs_machdep.c: revision 1.18
  Print the following cpuid bits:
   0x0000000d:1 eax	(xsaveopt, xsavec, xgetbv1, xsaves)
   0x0000000f:0 edx	(cqm_llc)
   0x0000000f:1 edx	(cqm_occup_llc)
   0x00000006   eax	(dtherm, ida, arat, pln, pts, hwp, hwp_notify,
			 hwp_act_window, hwp_epp, hwp_pkg_req)
- Use per cpu ci->ci_max_cupid instead of global "cpuid_level" variable.
- Print AMD specific cpuid leafs:
         0x80000008 ebx
	0x8000000a edx
	0x80000007 ebx
  Fix the location of AMD's smca(Scalable MCA) bit. Thanks Yasushi Oshima for
finding this bug.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Oct 10 03:05:29 2017 UTC (6 years, 6 months ago) by msaitoh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored) to selected 1.33.2.3 (colored)

 Fix the location of AMD's smca(Scalable MCA) bit. Thanks Yasushi Oshima for
finding this bug.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Oct 9 17:49:28 2017 UTC (6 years, 6 months ago) by maya
Branch: MAIN
Changes since 1.18: +3 -4 lines
Diff to previous 1.18 (colored) to selected 1.33.2.3 (colored)

GC i386_fpu_present. no FPU x86 is not supported.

Also delete newly unused send_sigill

Revision 1.18 / (download) - annotate - [select for diffs], Thu Oct 5 03:24:40 2017 UTC (6 years, 6 months ago) by msaitoh
Branch: MAIN
Changes since 1.17: +29 -9 lines
Diff to previous 1.17 (colored) to selected 1.33.2.3 (colored)

- Use per cpu ci->ci_max_cupid instead of global "cpuid_level" variable.
- Print AMD specific cpuid leafs:
        0x80000008 ebx
	0x8000000a edx
	0x80000007 ebx

Revision 1.17 / (download) - annotate - [select for diffs], Thu Sep 28 10:59:38 2017 UTC (6 years, 6 months ago) by msaitoh
Branch: MAIN
Changes since 1.16: +36 -11 lines
Diff to previous 1.16 (colored) to selected 1.33.2.3 (colored)

 Print the following cpuid bits:

  0x0000000d:1 eax	(xsaveopt, xsavec, xgetbv1, xsaves)
  0x0000000f:0 edx	(cqm_llc)
  0x0000000f:1 edx	(cqm_occup_llc)
  0x00000006   eax	(dtherm, ida, arat, pln, pts, hwp, hwp_notify,
			 hwp_act_window, hwp_epp, hwp_pkg_req)

Revision 1.6.4.3 / (download) - annotate - [select for diffs], Mon Sep 11 05:50:12 2017 UTC (6 years, 7 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-2-RELEASE
Changes since 1.6.4.2: +67 -7 lines
Diff to previous 1.6.4.2 (colored) to branchpoint 1.6 (colored) to selected 1.33.2.3 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1505):
	sys/arch/x86/x86/procfs_machdep.c: 1.15-1.16
- Print 0x00000007:0 ecx leaf bits.
- Don't print fdiv_bug on amd64.
- Print APIC ID, Initial APIC ID and clflush size.
--
Check buffer length correctly to not to print a garbage character.
Fixes PR#52352 reported by Yasushi Oshima.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Thu Aug 31 11:34:54 2017 UTC (6 years, 7 months ago) by martin
Branch: netbsd-8
CVS Tags: matt-nb8-mediatek-base, matt-nb8-mediatek
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored) to selected 1.33.2.3 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #247):
	sys/arch/x86/x86/procfs_machdep.c: revision 1.16
  Check buffer length correctly to not to print a garbage character.
Fixes PR#52352 reported by Yasushi Oshima.

Revision 1.6.6.6 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:56 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.6.6.5: +66 -6 lines
Diff to previous 1.6.6.5 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored) to selected 1.33.2.3 (colored)

Sync with HEAD

Revision 1.16 / (download) - annotate - [select for diffs], Mon Aug 28 07:03:47 2017 UTC (6 years, 7 months ago) by msaitoh
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored) to selected 1.33.2.3 (colored)

 Check buffer length correctly to not to print a garbage character.
Fixes PR#52352 reported by Yasushi Oshima.

Revision 1.14.6.1 / (download) - annotate - [select for diffs], Fri May 19 00:22:56 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.14: +66 -6 lines
Diff to previous 1.14 (colored) next main 1.15 (colored) to selected 1.33.2.3 (colored)

Resolve conflicts from previous merge (all resulting from $NetBSD
keywork expansion)

Revision 1.15 / (download) - annotate - [select for diffs], Mon May 15 04:21:14 2017 UTC (6 years, 11 months ago) by msaitoh
Branch: MAIN
CVS Tags: prg-localcount2-base3, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base
Branch point for: netbsd-8
Changes since 1.14: +66 -6 lines
Diff to previous 1.14 (colored) to selected 1.33.2.3 (colored)

- Print 0x00000007:0 ecx leaf bits.
- Don't print fdiv_bug on amd64.
- Print APIC ID, Initial APIC ID and clflush size.

Revision 1.6.6.5 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:23 2017 UTC (7 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.6.6.4: +4 -4 lines
Diff to previous 1.6.6.4 (colored) to branchpoint 1.6 (colored) to selected 1.33.2.3 (colored)

Sync with HEAD

Revision 1.6.4.1.2.1 / (download) - annotate - [select for diffs], Wed Jan 18 08:46:26 2017 UTC (7 years, 3 months ago) by skrll
Branch: netbsd-7-nhusb
Changes since 1.6.4.1: +15 -14 lines
Diff to previous 1.6.4.1 (colored) next main 1.6.4.2 (colored) to selected 1.33.2.3 (colored)

Sync with netbsd-5

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:28 2017 UTC (7 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored) next main 1.13 (colored) to selected 1.33.2.3 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.6.4.2 / (download) - annotate - [select for diffs], Thu Dec 8 08:06:38 2016 UTC (7 years, 4 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1
Changes since 1.6.4.1: +15 -14 lines
Diff to previous 1.6.4.1 (colored) to branchpoint 1.6 (colored) to selected 1.33.2.3 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1293):
	sys/arch/x86/x86/procfs_machdep.c: revisions 1.12-1.14
Update for x86 /proc/cpuinfo:
- Add ptsc, avx512dq, avx512bw, avx512vl and rdt_a.
- Update VIA/Cyrix/Centaur-defined bits. Part of PR#39950.
- Remove pcommit.
- Update some Linux mapping unused in /proc/cpuinfo.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Dec 8 06:28:21 2016 UTC (7 years, 4 months ago) by msaitoh
Branch: MAIN
CVS Tags: prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, nick-nhusb-base-20170204, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: prg-localcount2
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored) to selected 1.33.2.3 (colored)

- Remove "pcommit".
- Add "rdt_a".

Revision 1.6.6.4 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:37 2016 UTC (7 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.6.6.3: +7 -7 lines
Diff to previous 1.6.6.3 (colored) to branchpoint 1.6 (colored) to selected 1.33.2.3 (colored)

Sync with HEAD

Revision 1.13 / (download) - annotate - [select for diffs], Mon Aug 8 09:39:06 2016 UTC (7 years, 8 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-localcount-20161104, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914
Changes since 1.12: +6 -6 lines
Diff to previous 1.12 (colored) to selected 1.33.2.3 (colored)

- Update VIA/Cyrix/Centaur-defined bits. Part of PR#39950
- Fix comment. x86_features[4] is not 0x80000001 but 0x00000001
- Update comment

Revision 1.6.6.3 / (download) - annotate - [select for diffs], Sun May 29 08:44:19 2016 UTC (7 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.6.6.2: +9 -8 lines
Diff to previous 1.6.6.2 (colored) to branchpoint 1.6 (colored) to selected 1.33.2.3 (colored)

Sync with HEAD

Revision 1.12 / (download) - annotate - [select for diffs], Wed Apr 27 08:45:22 2016 UTC (7 years, 11 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907, nick-nhusb-base-20160529
Branch point for: pgoyette-localcount
Changes since 1.11: +9 -8 lines
Diff to previous 1.11 (colored) to selected 1.33.2.3 (colored)

Take some changes from the Linux's latest x86/include/asm/cpufeatures.h.
 - Add ptsc, avx512dq, avx512bw and avx512vl
 - Remove some Linux mappings.

Revision 1.6.6.2 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:07 2016 UTC (8 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.6.6.1: +167 -59 lines
Diff to previous 1.6.6.1 (colored) to branchpoint 1.6 (colored) to selected 1.33.2.3 (colored)

Sync with HEAD

Revision 1.6.4.1 / (download) - annotate - [select for diffs], Sun Mar 6 17:58:22 2016 UTC (8 years, 1 month ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base
Branch point for: netbsd-7-nhusb
Changes since 1.6: +167 -59 lines
Diff to previous 1.6 (colored) to selected 1.33.2.3 (colored)

Pull up the following revisions, requested by msaitoh in ticket #1119:

	sys/arch/x86/x86/procfs_machdep.c		1.7-1.11

x86's /proc/cpuinfo fixes:
- Always output 2 digits for the cpu frequency decimal part.
- Update x86's feature bits in /proc/cpuinfo (PR#49246).
- Fix a bug that /proc/cpuinfo's CPU model was incorrect on many newer
  CPUs and CPU family was incorrect on some AMD CPUs.
- Add comment. Fix comment.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Feb 12 05:32:47 2016 UTC (8 years, 2 months ago) by msaitoh
Branch: MAIN
CVS Tags: nick-nhusb-base-20160422, nick-nhusb-base-20160319
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) to selected 1.33.2.3 (colored)

Fix typo in comment.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jan 18 05:59:37 2016 UTC (8 years, 3 months ago) by msaitoh
Branch: MAIN
Changes since 1.9: +18 -10 lines
Diff to previous 1.9 (colored) to selected 1.33.2.3 (colored)

Add comments. Fix comments. No functional change.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jan 13 08:05:58 2016 UTC (8 years, 3 months ago) by msaitoh
Branch: MAIN
Changes since 1.8: +6 -5 lines
Diff to previous 1.8 (colored) to selected 1.33.2.3 (colored)

 Use CPUID_TO_*() macros. This change fix a bug that /proc/cpuinfo's CPU model
was incorrect on many newer CPUs and CPU family was incorrect on some AMD
machines.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jan 13 07:28:56 2016 UTC (8 years, 3 months ago) by msaitoh
Branch: MAIN
Changes since 1.7: +155 -56 lines
Diff to previous 1.7 (colored) to selected 1.33.2.3 (colored)

PR#49246 "x86/x86/procfs_machdep.c (/proc/cpuinfo) is very old" related change
- Decode NetBSD's ci_feat_val[0-5]. The output order of the bits is the same as
  linux. Before this commit, only ci_feat_val[0] was decoded.
- Linux defined feature words and some others are not decoded yet.
- procfs_getonecpufeatures() will be rewritten when all of linux entries are
  decoded.

Revision 1.6.6.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:04 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored) to selected 1.33.2.3 (colored)

Sync with HEAD

Revision 1.7 / (download) - annotate - [select for diffs], Thu Apr 16 15:17:17 2015 UTC (9 years ago) by njoly
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored) to selected 1.33.2.3 (colored)

Always output 2 digits for the cpu frequency decimal part.

Revision 1.1.26.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:29 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.1: +52 -59 lines
Diff to previous 1.1 (colored) to selected 1.33.2.3 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.1.16.1 / (download) - annotate - [select for diffs], Thu May 22 11:40:14 2014 UTC (9 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.1: +53 -60 lines
Diff to previous 1.1 (colored) next main 1.2 (colored) to selected 1.33.2.3 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.1.30.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:30 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.1: +53 -60 lines
Diff to previous 1.1 (colored) next main 1.2 (colored) to selected 1.33.2.3 (colored)

sync with head

Revision 1.6 / (download) - annotate - [select for diffs], Sat Apr 5 18:43:09 2014 UTC (10 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-base, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Branch point for: nick-nhusb, netbsd-7
Changes since 1.5: +51 -48 lines
Diff to previous 1.5 (colored) to selected 1.33.2.3 (colored)

make this compute the needed size instead of bailing.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Mar 27 18:22:56 2014 UTC (10 years ago) by christos
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Changes since 1.4: +10 -10 lines
Diff to previous 1.4 (colored) to selected 1.33.2.3 (colored)

correct/add protection against snprintf overflow.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Mar 24 20:06:33 2014 UTC (10 years ago) by christos
Branch: MAIN
Changes since 1.3: +2 -4 lines
Diff to previous 1.3 (colored) to selected 1.33.2.3 (colored)

use cpu_{g,s}etmodel

Revision 1.3 / (download) - annotate - [select for diffs], Wed Feb 12 23:24:09 2014 UTC (10 years, 2 months ago) by dsl
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.2: +4 -10 lines
Diff to previous 1.2 (colored) to selected 1.33.2.3 (colored)

Change i386 to use x86/fpu.c instead of i386/isa/npx.c
This changes the trap10 and trap13 code to call directly into fpu.c,
  removing all the code for T_ARITHTRAP, T_XMM and T_FPUNDA from i386/trap.c
Not all of the code thate appeared to handle fpu traps was ever called!
Most of the changes just replace the include of machine/npx.h with x86/fpu.h
  (or remove it entirely).

Revision 1.2 / (download) - annotate - [select for diffs], Sun Feb 2 22:41:20 2014 UTC (10 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.1: +4 -6 lines
Diff to previous 1.1 (colored) to selected 1.33.2.3 (colored)

Minor fpu initialisation cleanups:
Set default CR) so that the FPU is enabled (unset CR0_EM) and initialise
  i386_fpu_present to 1.
No need to call the npx trap indirectly, rename to fpunda() to match amd64.
Remove the i386_fpu_exception variable and sysctl (It used to indicate
  which irq was used for fpu exceptions, but we only support 'internal'
  now).  Hopefully no one cares.
fpuinit() now only needs to clear TS before the fninit(). Apart from the
  checks for 486SX and the 'fdiv bug' this matches the amd64 version.
Exclude fpuinit() from XEN kernels, they don't call it - which rather begs
  the question as to whether it is needed at all!

Revision 1.1.12.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:52:31 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.1.12.1: +300 -0 lines
Diff to previous 1.1.12.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.33.2.3 (colored)

sync with head

Revision 1.1.6.2 / (download) - annotate - [select for diffs], Sun Oct 24 22:48:19 2010 UTC (13 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.1.6.1: +300 -0 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.33.2.3 (colored)

Sync with HEAD

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:45:34 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.1.4.1: +300 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.33.2.3 (colored)

Sync with HEAD.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Wed Aug 11 22:52:58 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.2.1: +300 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.33.2.3 (colored)

sync with head.

Revision 1.1.12.1, Thu Jul 8 11:25:00 2010 UTC (13 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.1: +0 -300 lines
FILE REMOVED

file procfs_machdep.c was added on branch rmind-uvmplock on 2011-03-05 20:52:31 +0000

Revision 1.1.6.1, Thu Jul 8 11:25:00 2010 UTC (13 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.1: +0 -300 lines
FILE REMOVED

file procfs_machdep.c was added on branch jym-xensuspend on 2010-10-24 22:48:19 +0000

Revision 1.1.4.1, Thu Jul 8 11:25:00 2010 UTC (13 years, 9 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.1: +0 -300 lines
FILE REMOVED

file procfs_machdep.c was added on branch uebayasi-xip on 2010-08-17 06:45:34 +0000

Revision 1.1.2.1, Thu Jul 8 11:25:00 2010 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1: +0 -300 lines
FILE REMOVED

file procfs_machdep.c was added on branch yamt-nfs-mp on 2010-08-11 22:52:58 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jul 8 11:25:00 2010 UTC (13 years, 9 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, rmind-uvmplock-nbase, rmind-uvmplock-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, khorben-n900, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, yamt-nfs-mp, uebayasi-xip, tls-maxphys, rmind-uvmplock, rmind-smpnet, jym-xensuspend
Diff to selected 1.33.2.3 (colored)

Unify i386 and amd64 procfs MD code into x86.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>