Home | History | Annotate | only in /src/share/man/man4/man4.x86
History log of /src/share/man/man4/man4.x86
RevisionDateAuthorComments
 1.24 30-Apr-2024  andvar viac7temp(4): rewrite temperature sensor to read value from MSR instead of using
documented cpuid instruction and eax register.

This approach is adapted from linux via-cputemp.c, no official documentation is
currently available. However, msr value seems to work on all tested CPUs while
documented cpuid instruction typically reports 0, even for my C7-D CPU.
msr value seems to have temperature in Celsius in lower 24-bits without fraction
(thus "msr & 0xffffff;" is used).

Tested on my personal systems based on CPUs below (i386 and amd64):
C7-D 1.6GHz (i386 only), Nano X2 L4350E, Nano X2 U4300, U2300 Nano, KX-U6580.
Also got one response via email which was based on Nano X2 L4050 (VE-900).
Nano reports independent values for each core.
KX-U6580 seems to show the same value for all cores but more testing is needed.

Since it works on amd64 capable CPUs, adding driver to GENERIC kernel config.
Also moving viac7temp man page to x86 instead of i386 (with updates).
In theory the change should add support for all VIA Nano CPUs and Zhaoxin CPUs
at least up to KX-6000(G) series.

In the future I may need to introduce amd64 kernel module as well.

Plan to pullup to at least netbsd-10.

Patch mainly reviewed by riastradh.
 1.23 25-Jul-2021  nia branches: 1.23.2;
Add a man page for amdccp(4)
 1.22 03-Jun-2021  wiz Remove i386/autoconf(4) and i386/console(4) to x86/autoconf(4) and x86/console(4)

Part of PR 36350.
 1.21 27-Oct-2020  ryo branches: 1.21.4;
move vmt(4) from MD to MI, and add support vmt on aarch64. tested on ESXi-Arm Fling

- move from sys/arch/x86/x86/{vmt.c,vmtreg.h,vmtvar.h} to sys/dev/vmt/{vmt_subr.c,vmtreg.h,vmtvar.h},
and split the attach part of the cpufeaturebus and fdt
- add aarch64 vmware backdoor op
- add include guard to vmt{reg,var}.h
- Yet there is still some little-endian dependency. it needs to be fixed in order to work properly on aarch64eb
 1.20 14-Oct-2020  ryo vmx(4) should be MI. moved to sys/dev/pci from sys/arch/x86/pci
 1.19 21-Jul-2018  kre branches: 1.19.2;

When files are deleted, they need to be removed from the Makefile
as well ... does none of this ever get tested before it is committed?
 1.18 25-Feb-2018  pgoyette branches: 1.18.2; 1.18.4;
Add the man page for new imcsmb driver
 1.17 25-Jan-2018  christos man pages for amdsmn and amdzentemp
 1.16 04-May-2015  pgoyette branches: 1.16.8;
Add new man page for tco(4), and update ichlpcib(4) man page.
 1.15 10-Jun-2014  hikaru Add VMware VMXNET3 ethernet driver from OpenBSD, vmx(4).
 1.14 10-Jun-2013  kardel branches: 1.14.4;
adjust soekrisgpio driver to NetBSD
 1.13 04-Jan-2012  yamt branches: 1.13.6;
install tprof related commands and man pages.
 1.12 18-Oct-2011  wiz branches: 1.12.2;
Move vmt(4) to x86 subdir.
No obsolete entries added for set lists since original import was just an
hour ago.
 1.11 23-Sep-2011  jruoho Move i386/fdc(4), i386/lpt(4), and i386/mem(4) to man4.x86.

Part of PR port-amd64/36350.
 1.10 06-Jun-2011  jruoho Instead of ioapic(4), make MLINKS { lapic(4), ioapic(4) } to apic(4).
 1.9 04-Mar-2011  jruoho branches: 1.9.2;
Add odcm(4).
 1.8 24-Feb-2011  jruoho Add powernow(4).
 1.7 23-Feb-2011  jruoho Add est(4).
 1.6 23-Feb-2011  jruoho Move coretemp(4) to man4.x86.
 1.5 13-Jan-2011  jruoho branches: 1.5.2;
Add ioapic(4). XXX: Needs some work; I'll try to revisit this later.
 1.4 06-Aug-2010  jruoho branches: 1.4.2;
Move fwhrng(4) and ichlpcib(4) to the right category.
 1.3 06-Aug-2010  jruoho Add hpet(4).
 1.2 05-Aug-2010  jruoho Add amdpcib(4). Ok njoly@.
 1.1 08-Jul-2010  christos man page for balloon driver from Cherry
 1.4.2.2 17-Aug-2010  uebayasi Sync with HEAD.
 1.4.2.1 06-Aug-2010  uebayasi file Makefile was added on branch uebayasi-xip on 2010-08-17 06:40:03 +0000
 1.5.2.1 05-Mar-2011  bouyer Sync with HEAD
 1.9.2.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.12.2.2 22-May-2014  yamt 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")
 1.12.2.1 17-Apr-2012  yamt sync with head
 1.13.6.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.13.6.1 23-Jun-2013  tls resync from head
 1.14.4.1 10-Aug-2014  tls Rebase.
 1.16.8.1 05-Feb-2018  martin Pull up following revision(s) (requested by pgoyette in ticket #524):

distrib/sets/lists/man/mi 1.1574
distrib/sets/lists/modules/md.amd64 1.73
distrib/sets/lists/modules/md.i386 1.76
share/man/man4/amdtemp.4 1.11
share/man/man4/man4.x86/Makefile 1.17
share/man/man4/man4.x86/amdsmn.4 1.1-1.3
share/man/man4/man4.x86/amdzentemp.4 1.1-1.6
sys/arch/amd64/conf/ALL 1.79,1.80
sys/arch/amd64/conf/GENERIC 1.482,1.484
sys/arch/amd64/conf/XEN3_DOM0 1.146,1.147
sys/arch/x86/pci/amdsmn.c 1.1-1.2
sys/arch/x86/pci/amdsmn.h 1.1
sys/arch/x86/pci/amdzentemp.c 1.1-1.7
sys/arch/x86/pci/files.pci 1.22,1.23
sys/modules/amdzentemp/amdzentemp.ioconf 1.2


Add amdzentemp from FreeBSD via Ian Clark.

man pages for amdsmn and amdzentemp.

Some clean-up on the HISTORY and AUTHORS sections, and addition of a BUGS
section to document the fact that we don't yet handle the required temp
offset, nor do we expose the available thermal-trip value.

Add missing article 'a'

KNF: Put back the blank line following the empty variable declarations
Put back the variable declaration, too, and mark it __diagused
Otherwise a DIAGNOSTIC kernel will complain about the variable being
undeclared.

Correct placement of __diagused attribute.

Modularize the amdsmn(4) driver, and update dependency for amdzentemp(4),
Create amdsmn(4) amd amdzentemp(4) modules for X86.
 1.18.4.1 10-Jun-2019  christos Sync with HEAD
 1.18.2.1 28-Jul-2018  pgoyette Sync with HEAD
 1.19.2.1 03-Aug-2021  snj Pull up following revision(s) (requested by nia in ticket #1326):
distrib/sets/lists/man/mi: revision 1.1724
share/man/man4/man4.x86/amdccp.4: revision 1.1
share/man/man4/man4.x86/Makefile: revision 1.23 via patch
Add a man page for amdccp(4)
 1.21.4.1 06-Jun-2021  cjep sync with head
 1.23.2.1 20-Jun-2024  martin Pull up following revision(s) (requested by andvar in ticket #700):

sys/arch/i386/conf/GENERIC: revision 1.1256
share/man/man4/man4.x86/viac7temp.4: revision 1.1
sys/arch/x86/x86/viac7temp.c: revision 1.11
share/man/man4/man4.x86/Makefile: revision 1.24
share/man/man4/man4.i386/viac7temp.4: file removal
share/man/man4/man4.i386/Makefile: revision 1.81
distrib/sets/lists/man/mi: revision 1.1773
sys/arch/amd64/conf/GENERIC: revision 1.612
sys/arch/amd64/conf/ALL: revision 1.188
sys/arch/i386/conf/ALL: revision 1.519

viac7temp(4): rewrite temperature sensor to read value from MSR instead of using
documented cpuid instruction and eax register.

This approach is adapted from linux via-cputemp.c, no official documentation is
currently available. However, msr value seems to work on all tested CPUs while
documented cpuid instruction typically reports 0, even for my C7-D CPU.
msr value seems to have temperature in Celsius in lower 24-bits without fraction
(thus "msr & 0xffffff;" is used).

Tested on my personal systems based on CPUs below (i386 and amd64):
C7-D 1.6GHz (i386 only), Nano X2 L4350E, Nano X2 U4300, U2300 Nano, KX-U6580.
Also got one response via email which was based on Nano X2 L4050 (VE-900).

Nano reports independent values for each core.

KX-U6580 seems to show the same value for all cores but more testing is needed.

Since it works on amd64 capable CPUs, adding driver to GENERIC kernel config.

Also moving viac7temp man page to x86 instead of i386 (with updates).

In theory the change should add support for all VIA Nano CPUs and Zhaoxin CPUs
at least up to KX-6000(G) series.

In the future I may need to introduce amd64 kernel module as well.

Patch mainly reviewed by riastradh.
 1.1 25-Jul-2021  nia branches: 1.1.2;
Add a man page for amdccp(4)
 1.1.2.2 03-Aug-2021  snj Pull up following revision(s) (requested by nia in ticket #1326):
distrib/sets/lists/man/mi: revision 1.1724
share/man/man4/man4.x86/amdccp.4: revision 1.1
share/man/man4/man4.x86/Makefile: revision 1.23 via patch
Add a man page for amdccp(4)
 1.1.2.1 25-Jul-2021  snj file amdccp.4 was added on branch netbsd-9 on 2021-08-03 16:10:24 +0000
 1.4 18-Feb-2017  wiz Fix xrefs, sort.
 1.3 17-Feb-2017  christos Fix .Xr
 1.2 06-Aug-2010  jruoho branches: 1.2.2; 1.2.30; 1.2.34;
Reference hpet(4).
 1.1 05-Aug-2010  jruoho Add amdpcib(4). Ok njoly@.
 1.2.34.1 21-Apr-2017  bouyer Sync with HEAD
 1.2.30.1 20-Mar-2017  pgoyette Sync with HEAD
 1.2.2.2 17-Aug-2010  uebayasi Sync with HEAD.
 1.2.2.1 06-Aug-2010  uebayasi file amdpcib.4 was added on branch uebayasi-xip on 2010-08-17 06:40:03 +0000
 1.5 02-Oct-2022  msaitoh amdsmn.4: Now support AMD Family 19h processors.
 1.4 20-Apr-2020  simonb Note that these drivers are present on some newer AMD Family 15h
processors.
 1.3 26-Jan-2018  wiz branches: 1.3.2; 1.3.6; 1.3.8;
Remove Tn. Mention first NetBSD release.
 1.2 25-Jan-2018  uwe Xref the right driver. .An -nosplit Delint.
 1.1 25-Jan-2018  christos man pages for amdsmn and amdzentemp
 1.3.8.2 11-Oct-2022  martin Pull up following revision(s) (requested by msaitoh in ticket #1539):

share/man/man4/man4.x86/amdsmn.4: revision 1.5
sys/arch/x86/pci/amdsmn.c: revision 1.14
sys/arch/x86/pci/amdzentemp.c: revision 1.12-1.15

amdzentemp(4): Add Zen 3 support.

amdzentemp(4): Add support for per CCD temperature sensor from FreeBSD.

Fix build failure on i386.

amdsmn(4),amdzentemp(4): Add support for 17h/6xh and 19h/6xh.

amdsmn.4: Now support AMD Family 19h processors.
 1.3.8.1 24-Apr-2020  martin Pull up following revision(s) (requested by simonb in ticket #851):

share/man/man4/man4.x86/amdzentemp.4: revision 1.7
share/man/man4/man4.x86/amdsmn.4: revision 1.4
sys/arch/x86/pci/amdsmn.c: revision 1.7
sys/arch/x86/pci/amdsmn.c: revision 1.8
sys/arch/x86/pci/amdsmn.c: revision 1.9
sys/arch/x86/pci/amdzentemp.c: revision 1.10

Update to support Family 15h Model 60 temperature sensors.

Changes based on FreeBSD amdtemp driver changes by Conrad Meyer.
XXX: Some code duplication between this driver and amdtemp as
parts of the 15h refresh code share more in common with
older CPUs while accessing the device more like 17h.
--
Note that these drivers are present on some newer AMD Family 15h
processors.
--
Don't mix sign and unsigned operands. Just use size_t for the loop.
--
Apply previous change ("Don't mix sign and unsigned operands. Just use
size_t for the loop.") to another loop variable.
--
 1.3.6.1 21-Apr-2020  martin Sync with HEAD
 1.3.2.3 11-Oct-2022  martin Pull up following revision(s) (requested by msaitoh in ticket #1773):

share/man/man4/man4.x86/amdsmn.4 1.4,1.5
share/man/man4/man4.x86/amdzentemp.4 1.7
sys/arch/x86/pci/amdsmn.c 1.7-1.9,1.13,1.14
sys/arch/x86/pci/amdzentemp.c 1.8-1.10,1.12-1.15

adjust for possible 49K offset

presence of this offset is indicated by a set 19th bit which is shifted away
this brings the temperature to "normal" levels on my ryzen 2700
(I assumed the same 49K offset as the k10temp project)

correct for known temperature bias values.

Update to support Family 15h Model 60 temperature sensors.

Changes based on FreeBSD amdtemp driver changes by Conrad Meyer.

XXX: Some code duplication between this driver and amdtemp as
parts of the 15h refresh code share more in common with
older CPUs while accessing the device more like 17h.

Don't mix sign and unsigned operands. Just use size_t for the loop.

Apply previous change ("Don't mix sign and unsigned operands. Just use
size_t for the loop.") to another loop variable.

amdzentemp(4): Add Zen 3 support.

amdzentemp(4): Add support for per CCD temperature sensor from FreeBSD.

Fix build failure on i386.

Rename for AMD F15/6X device. No functional change.
amdsmn(4),amdzentemp(4): Add support for 17h/6xh and 19h/6xh.

Note that these drivers are present on some newer AMD Family 15h
processors.

amdsmn.4: Now support AMD Family 19h processors.
 1.3.2.2 05-Feb-2018  martin Pull up following revision(s) (requested by pgoyette in ticket #524):

distrib/sets/lists/man/mi 1.1574
distrib/sets/lists/modules/md.amd64 1.73
distrib/sets/lists/modules/md.i386 1.76
share/man/man4/amdtemp.4 1.11
share/man/man4/man4.x86/Makefile 1.17
share/man/man4/man4.x86/amdsmn.4 1.1-1.3
share/man/man4/man4.x86/amdzentemp.4 1.1-1.6
sys/arch/amd64/conf/ALL 1.79,1.80
sys/arch/amd64/conf/GENERIC 1.482,1.484
sys/arch/amd64/conf/XEN3_DOM0 1.146,1.147
sys/arch/x86/pci/amdsmn.c 1.1-1.2
sys/arch/x86/pci/amdsmn.h 1.1
sys/arch/x86/pci/amdzentemp.c 1.1-1.7
sys/arch/x86/pci/files.pci 1.22,1.23
sys/modules/amdzentemp/amdzentemp.ioconf 1.2


Add amdzentemp from FreeBSD via Ian Clark.

man pages for amdsmn and amdzentemp.

Some clean-up on the HISTORY and AUTHORS sections, and addition of a BUGS
section to document the fact that we don't yet handle the required temp
offset, nor do we expose the available thermal-trip value.

Add missing article 'a'

KNF: Put back the blank line following the empty variable declarations
Put back the variable declaration, too, and mark it __diagused
Otherwise a DIAGNOSTIC kernel will complain about the variable being
undeclared.

Correct placement of __diagused attribute.

Modularize the amdsmn(4) driver, and update dependency for amdzentemp(4),
Create amdsmn(4) amd amdzentemp(4) modules for X86.
 1.3.2.1 26-Jan-2018  martin file amdsmn.4 was added on branch netbsd-8 on 2018-02-05 13:06:55 +0000
 1.7 20-Apr-2020  simonb Note that these drivers are present on some newer AMD Family 15h
processors.
 1.6 27-Jan-2018  pgoyette branches: 1.6.2; 1.6.6; 1.6.8;
Update attachment details for amdzentemp - it attaches to amdsmnbus? now.
 1.5 25-Jan-2018  uwe New sentence - new line. Sort sections. Use .Xr to refer to amdtemp(4).
 1.4 25-Jan-2018  pgoyette Add missing article 'a'
 1.3 25-Jan-2018  uwe Fix .Dt name. Formatting fixes.
 1.2 25-Jan-2018  pgoyette Some clean-up on the HISTORY and AUTHORS sections, and addition of a BUGS
section to document the fact that we don't yet handle the required temp
offset, nor do we expose the available thermal-trip value.
 1.1 25-Jan-2018  christos man pages for amdsmn and amdzentemp
 1.6.8.1 24-Apr-2020  martin Pull up following revision(s) (requested by simonb in ticket #851):

share/man/man4/man4.x86/amdzentemp.4: revision 1.7
share/man/man4/man4.x86/amdsmn.4: revision 1.4
sys/arch/x86/pci/amdsmn.c: revision 1.7
sys/arch/x86/pci/amdsmn.c: revision 1.8
sys/arch/x86/pci/amdsmn.c: revision 1.9
sys/arch/x86/pci/amdzentemp.c: revision 1.10

Update to support Family 15h Model 60 temperature sensors.

Changes based on FreeBSD amdtemp driver changes by Conrad Meyer.
XXX: Some code duplication between this driver and amdtemp as
parts of the 15h refresh code share more in common with
older CPUs while accessing the device more like 17h.
--
Note that these drivers are present on some newer AMD Family 15h
processors.
--
Don't mix sign and unsigned operands. Just use size_t for the loop.
--
Apply previous change ("Don't mix sign and unsigned operands. Just use
size_t for the loop.") to another loop variable.
--
 1.6.6.1 21-Apr-2020  martin Sync with HEAD
 1.6.2.3 11-Oct-2022  martin Pull up following revision(s) (requested by msaitoh in ticket #1773):

share/man/man4/man4.x86/amdsmn.4 1.4,1.5
share/man/man4/man4.x86/amdzentemp.4 1.7
sys/arch/x86/pci/amdsmn.c 1.7-1.9,1.13,1.14
sys/arch/x86/pci/amdzentemp.c 1.8-1.10,1.12-1.15

adjust for possible 49K offset

presence of this offset is indicated by a set 19th bit which is shifted away
this brings the temperature to "normal" levels on my ryzen 2700
(I assumed the same 49K offset as the k10temp project)

correct for known temperature bias values.

Update to support Family 15h Model 60 temperature sensors.

Changes based on FreeBSD amdtemp driver changes by Conrad Meyer.

XXX: Some code duplication between this driver and amdtemp as
parts of the 15h refresh code share more in common with
older CPUs while accessing the device more like 17h.

Don't mix sign and unsigned operands. Just use size_t for the loop.

Apply previous change ("Don't mix sign and unsigned operands. Just use
size_t for the loop.") to another loop variable.

amdzentemp(4): Add Zen 3 support.

amdzentemp(4): Add support for per CCD temperature sensor from FreeBSD.

Fix build failure on i386.

Rename for AMD F15/6X device. No functional change.
amdsmn(4),amdzentemp(4): Add support for 17h/6xh and 19h/6xh.

Note that these drivers are present on some newer AMD Family 15h
processors.

amdsmn.4: Now support AMD Family 19h processors.
 1.6.2.2 05-Feb-2018  martin Pull up following revision(s) (requested by pgoyette in ticket #524):

distrib/sets/lists/man/mi 1.1574
distrib/sets/lists/modules/md.amd64 1.73
distrib/sets/lists/modules/md.i386 1.76
share/man/man4/amdtemp.4 1.11
share/man/man4/man4.x86/Makefile 1.17
share/man/man4/man4.x86/amdsmn.4 1.1-1.3
share/man/man4/man4.x86/amdzentemp.4 1.1-1.6
sys/arch/amd64/conf/ALL 1.79,1.80
sys/arch/amd64/conf/GENERIC 1.482,1.484
sys/arch/amd64/conf/XEN3_DOM0 1.146,1.147
sys/arch/x86/pci/amdsmn.c 1.1-1.2
sys/arch/x86/pci/amdsmn.h 1.1
sys/arch/x86/pci/amdzentemp.c 1.1-1.7
sys/arch/x86/pci/files.pci 1.22,1.23
sys/modules/amdzentemp/amdzentemp.ioconf 1.2


Add amdzentemp from FreeBSD via Ian Clark.

man pages for amdsmn and amdzentemp.

Some clean-up on the HISTORY and AUTHORS sections, and addition of a BUGS
section to document the fact that we don't yet handle the required temp
offset, nor do we expose the available thermal-trip value.

Add missing article 'a'

KNF: Put back the blank line following the empty variable declarations
Put back the variable declaration, too, and mark it __diagused
Otherwise a DIAGNOSTIC kernel will complain about the variable being
undeclared.

Correct placement of __diagused attribute.

Modularize the amdsmn(4) driver, and update dependency for amdzentemp(4),
Create amdsmn(4) amd amdzentemp(4) modules for X86.
 1.6.2.1 27-Jan-2018  martin file amdzentemp.4 was added on branch netbsd-8 on 2018-02-05 13:06:55 +0000
 1.3 18-Feb-2017  wiz Fix xrefs, sort.
 1.2 17-Feb-2017  christos Fix .Xr
 1.1 06-Jun-2011  jruoho branches: 1.1.2; 1.1.26; 1.1.30;
Instead of ioapic(4), make MLINKS { lapic(4), ioapic(4) } to apic(4).
 1.1.30.1 21-Apr-2017  bouyer Sync with HEAD
 1.1.26.1 20-Mar-2017  pgoyette Sync with HEAD
 1.1.2.2 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.1.2.1 06-Jun-2011  cherry file apic.4 was added on branch cherry-xenmp on 2011-06-23 14:18:45 +0000
 1.2 07-Sep-2024  rillig man: use https URLs for www.NetBSD.org
 1.1 03-Jun-2021  wiz branches: 1.1.2; 1.1.6;
Remove i386/autoconf(4) and i386/console(4) to x86/autoconf(4) and x86/console(4)

Part of PR 36350.
 1.1.6.1 02-Aug-2025  perseant Sync with HEAD
 1.1.2.2 06-Jun-2021  cjep sync with head
 1.1.2.1 03-Jun-2021  cjep file autoconf.4 was added on branch cjep_sun2x on 2021-06-06 20:30:48 +0000
 1.11 18-Mar-2014  riastradh Merge riastradh-drm2 to HEAD.
 1.10 20-Jul-2013  wiz Use Mt for email addresses.
 1.9 17-Jan-2012  njoly branches: 1.9.6; 1.9.10;
Remove bad indent keyword.
 1.8 02-Aug-2011  wiz branches: 1.8.2;
Bump date for previous.
 1.7 30-Jul-2011  jym Reflect my change for Xen sysctl(7) nodes:
kern.xen.balloon -> machdep.xen.balloon.
 1.6 20-Apr-2011  wiz Spelling, sort sections.
 1.5 20-Apr-2011  jym So, hi again, balloon(4). Merge with the current version:
- driver attaches to xenbus(4) (no compile time option anymore)
- max reservation hypercall is fixed
- sysctl(7) entries are now in KiB (like Xentools) rather than in number
of pages
- some more explanations.
 1.4 14-Jan-2011  jruoho Xref xenbus(4).
 1.3 04-Aug-2010  jruoho branches: 1.3.2;
Rework the semantics in the reference.
 1.2 08-Jul-2010  wiz New sentence, new line. Remove trailing whitespace. Other minor fixes.
 1.1 08-Jul-2010  christos man page for balloon driver from Cherry
 1.3.2.2 17-Aug-2010  uebayasi Sync with HEAD.
 1.3.2.1 04-Aug-2010  uebayasi file balloon.4 was added on branch uebayasi-xip on 2010-08-17 06:40:03 +0000
 1.8.2.2 22-May-2014  yamt 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")
 1.8.2.1 17-Apr-2012  yamt sync with head
 1.9.10.1 23-Jul-2013  riastradh sync with HEAD
 1.9.6.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1 03-Jun-2021  wiz branches: 1.1.2;
Remove i386/autoconf(4) and i386/console(4) to x86/autoconf(4) and x86/console(4)

Part of PR 36350.
 1.1.2.2 06-Jun-2021  cjep sync with head
 1.1.2.1 03-Jun-2021  cjep file console.4 was added on branch cjep_sun2x on 2021-06-06 20:30:48 +0000
 1.5 14-Nov-2020  wiz Add "x86" to Dt
 1.4 18-Mar-2014  riastradh Merge riastradh-drm2 to HEAD.
 1.3 20-Jul-2013  wiz Use Mt for email addresses.
 1.2 15-Mar-2013  njoly branches: 1.2.4;
Fix a few file system paths to use Pa macro.
 1.1 23-Feb-2011  jruoho branches: 1.1.2; 1.1.6; 1.1.12;
Move coretemp(4) to man4.x86.
 1.1.12.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.12.1 23-Jun-2013  tls resync from head
 1.1.6.1 22-May-2014  yamt 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")
 1.1.2.2 05-Mar-2011  bouyer Sync with HEAD
 1.1.2.1 23-Feb-2011  bouyer file coretemp.4 was added on branch bouyer-quota2 on 2011-03-05 15:09:26 +0000
 1.2.4.1 23-Jul-2013  riastradh sync with HEAD
 1.7 14-Nov-2020  wiz Add "x86" to Dt
 1.6 25-Oct-2020  nia Normalize some machine dependent CPU frequenct sysctl variables.

This moves machdep.*.frequency.* to machdep.cpu.frequency.*.

This was proposed on tech-kern some time ago. The intention is to allow
third-party tools such as estd and conky to more easily and reliably
fetch or modify the current CPU frequency without iterating through
various machine-dependent variables to check their presence.
 1.5 17-Feb-2017  christos Fix .Xr
 1.4 20-Oct-2011  jruoho branches: 1.4.24; 1.4.28;
Add the relevant datasheets to SEE ALSO.
 1.3 04-Mar-2011  jruoho branches: 1.3.2;
Xref odcm(4).
 1.2 24-Feb-2011  jruoho Xref powernow(4).
 1.1 23-Feb-2011  jruoho Add est(4).
 1.3.2.2 05-Mar-2011  bouyer Sync with HEAD
 1.3.2.1 04-Mar-2011  bouyer file est.4 was added on branch bouyer-quota2 on 2011-03-05 15:09:26 +0000
 1.4.28.1 21-Apr-2017  bouyer Sync with HEAD
 1.4.24.1 20-Mar-2017  pgoyette Sync with HEAD
 1.1 23-Sep-2011  jruoho Move i386/fdc(4), i386/lpt(4), and i386/mem(4) to man4.x86.

Part of PR port-amd64/36350.
 1.3 18-Feb-2017  wiz Fix xrefs, sort.
 1.2 17-Feb-2017  christos Fix .Xr
 1.1 06-Aug-2010  jruoho branches: 1.1.2; 1.1.30; 1.1.34;
Move fwhrng(4) and ichlpcib(4) to the right category.
 1.1.34.1 21-Apr-2017  bouyer Sync with HEAD
 1.1.30.1 20-Mar-2017  pgoyette Sync with HEAD
 1.1.2.2 17-Aug-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Aug-2010  uebayasi file fwhrng.4 was added on branch uebayasi-xip on 2010-08-17 06:40:03 +0000
 1.3 14-Jun-2011  jruoho Try to attach hpet(4) also via a specific HPET table. Fixes PR kern/43702.
 1.2 13-Mar-2011  jruoho branches: 1.2.2;
Xref tsc(9).
 1.1 06-Aug-2010  jruoho branches: 1.1.2;
Add hpet(4).
 1.1.2.2 17-Aug-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Aug-2010  uebayasi file hpet.4 was added on branch uebayasi-xip on 2010-08-17 06:40:03 +0000
 1.2.2.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.12 18-Feb-2017  wiz Fix xrefs, sort.
 1.11 17-Feb-2017  christos Fix .Xr
 1.10 04-May-2015  wiz branches: 1.10.2; 1.10.4;
Sort SEE ALSO.
 1.9 04-May-2015  pgoyette Fix some more cross-refs to point at the x86-specific subdir
 1.8 04-May-2015  wiz Sort SEE ALSO, fix xref.
 1.7 04-May-2015  pgoyette Update the min and max interval values for the watchdog. The previous
numbers were correct, but the units for those numbers was ticks, not
seconds! (One tco watchdog tick is approximately 0.6 seconds.)
 1.6 04-May-2015  pgoyette Add new man page for tco(4), and update ichlpcib(4) man page.
 1.5 18-Mar-2011  jruoho Add some datasheets to SEE ALSO.
 1.4 01-Mar-2011  jruoho Xref est(4).
 1.3 20-Jan-2011  jruoho Note in SYNOPSIS that fwhrng(4) attachs to ichlpcib(4).
 1.2 14-Jan-2011  jruoho branches: 1.2.2;
Xref ioapic(4).
 1.1 06-Aug-2010  jruoho branches: 1.1.2;
Move fwhrng(4) and ichlpcib(4) to the right category.
 1.1.2.2 17-Aug-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Aug-2010  uebayasi file ichlpcib.4 was added on branch uebayasi-xip on 2010-08-17 06:40:03 +0000
 1.2.2.2 05-Mar-2011  bouyer Sync with HEAD
 1.2.2.1 08-Feb-2011  bouyer Sync with HEAD
 1.10.4.1 21-Apr-2017  bouyer Sync with HEAD
 1.10.2.1 20-Mar-2017  pgoyette Sync with HEAD
 1.10 14-Nov-2020  wiz Add "x86" to Dt
 1.9 16-Apr-2020  pgoyette Put the spaces back (they're part of the config(1) syntax) but quote
them to avoid formatting errors
 1.8 16-Apr-2020  pgoyette Remove extraneous spaces
 1.7 28-Feb-2018  pgoyette branches: 1.7.4;
Note that the imc driver works on at least one ASUS motherboard, the
X99-E.
 1.6 25-Feb-2018  uwe Use .Dl instead of .Bd -literal, fix vertical spacing.
 1.5 25-Feb-2018  uwe .Po/.Pc are not appropriate for enclosing sentences.
 1.4 25-Feb-2018  uwe Fix a typo.
 1.3 25-Feb-2018  wiz Fix xrefs, remove empty lines, fix RCS Id.
 1.2 25-Feb-2018  pgoyette Ooops - forgot to add NetBSD License
 1.1 25-Feb-2018  pgoyette Add the man page for new imcsmb driver
 1.7.4.1 21-Apr-2020  martin Sync with HEAD
 1.5 06-Jun-2011  jruoho Instead of ioapic(4), make MLINKS { lapic(4), ioapic(4) } to apic(4).
 1.4 17-Jan-2011  jruoho branches: 1.4.4;
Add two more references.
 1.3 14-Jan-2011  jruoho Add AUTHORS. XXX: If you feel that you are missing, please add yourself.
 1.2 13-Jan-2011  wiz Sort SEE ALSO.
 1.1 13-Jan-2011  jruoho Add ioapic(4). XXX: Needs some work; I'll try to revisit this later.
 1.4.4.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.2 07-Sep-2024  rillig man: use https URLs for www.NetBSD.org
 1.1 23-Sep-2011  jruoho branches: 1.1.54;
Move i386/fdc(4), i386/lpt(4), and i386/mem(4) to man4.x86.

Part of PR port-amd64/36350.
 1.1.54.1 02-Aug-2025  perseant Sync with HEAD
 1.1 23-Sep-2011  jruoho Move i386/fdc(4), i386/lpt(4), and i386/mem(4) to man4.x86.

Part of PR port-amd64/36350.
 1.6 14-Nov-2020  wiz Add "x86" to Dt
 1.5 17-Feb-2017  christos Fix .Xr
 1.4 04-Mar-2011  wiz branches: 1.4.2; 1.4.28; 1.4.32;
Improve wording (errata is already plural).
 1.3 04-Mar-2011  jruoho From mrg@: note that the states may be limited on some CPUs due erratas.
 1.2 04-Mar-2011  jruoho Fix wrong lower bound.
 1.1 04-Mar-2011  jruoho Add odcm(4).
 1.4.32.1 21-Apr-2017  bouyer Sync with HEAD
 1.4.28.1 20-Mar-2017  pgoyette Sync with HEAD
 1.4.2.2 05-Mar-2011  bouyer Sync with HEAD
 1.4.2.1 04-Mar-2011  bouyer file odcm.4 was added on branch bouyer-quota2 on 2011-03-05 15:09:26 +0000
 1.5 14-Nov-2020  wiz Add "x86" to Dt
 1.4 25-Oct-2020  nia Normalize some machine dependent CPU frequenct sysctl variables.

This moves machdep.*.frequency.* to machdep.cpu.frequency.*.

This was proposed on tech-kern some time ago. The intention is to allow
third-party tools such as estd and conky to more easily and reliably
fetch or modify the current CPU frequency without iterating through
various machine-dependent variables to check their presence.
 1.3 17-Feb-2017  christos Fix .Xr
 1.2 04-Mar-2011  jruoho branches: 1.2.2; 1.2.28; 1.2.32;
Xref odcm(4).
 1.1 24-Feb-2011  jruoho Add powernow(4).
 1.2.32.1 21-Apr-2017  bouyer Sync with HEAD
 1.2.28.1 20-Mar-2017  pgoyette Sync with HEAD
 1.2.2.2 05-Mar-2011  bouyer Sync with HEAD
 1.2.2.1 04-Mar-2011  bouyer file powernow.4 was added on branch bouyer-quota2 on 2011-03-05 15:09:26 +0000
 1.5 18-Mar-2014  riastradh branches: 1.5.4;
Merge riastradh-drm2 to HEAD.
 1.4 20-Jul-2013  wiz Use Mt for email addresses.
 1.3 10-Jun-2013  wiz branches: 1.3.2; 1.3.4;
Fix date, sort SEE ALSO, more and better macro use.
 1.2 10-Jun-2013  kardel adjust soekrisgpio driver to NetBSD
 1.1 10-Jun-2013  kardel branches: 1.1.1;
Initial revision
 1.1.1.1 10-Jun-2013  kardel Import of proposed patch to OpenBSD for supporting GPIO and status
leds on a Soekris net6501

patch posted on 2013-01-14 17:11:00 at
http://permalink.gmane.org/gmane.os.openbsd.tech/31317
 1.3.4.1 23-Jul-2013  riastradh sync with HEAD
 1.3.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.2.2 23-Jun-2013  tls resync from head
 1.3.2.1 10-Jun-2013  tls file soekrisgpio.4 was added on branch tls-maxphys on 2013-06-23 06:28:54 +0000
 1.5.4.2 22-May-2014  yamt 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")
 1.5.4.1 18-Mar-2014  yamt file soekrisgpio.4 was added on branch yamt-pagecache on 2014-05-22 11:37:51 +0000
 1.5 04-May-2015  pgoyette Update the Dt macro to include the x86 subdir.
 1.4 04-May-2015  pgoyette Fix some more cross-refs to point at the x86-specific subdir
 1.3 04-May-2015  wiz Add .An -nosplit.
 1.2 04-May-2015  pgoyette Remove extraneous blank line.
 1.1 04-May-2015  pgoyette Add new man page for tco(4), and update ichlpcib(4) man page.
 1.3 21-Jul-2018  maxv Remove the tprof_amdpmi.4 and tprof_pmi.4 man pages.
 1.2 02-Dec-2011  wiz branches: 1.2.4; 1.2.40; 1.2.42;
Wording improvements.
 1.1 02-Dec-2011  yamt some man pages
 1.2.42.1 10-Jun-2019  christos Sync with HEAD
 1.2.40.1 28-Jul-2018  pgoyette Sync with HEAD
 1.2.4.2 17-Apr-2012  yamt sync with head
 1.2.4.1 02-Dec-2011  yamt file tprof_amdpmi.4 was added on branch yamt-pagecache on 2012-04-17 00:05:47 +0000
 1.3 21-Jul-2018  maxv Remove the tprof_amdpmi.4 and tprof_pmi.4 man pages.
 1.2 02-Dec-2011  wiz branches: 1.2.4; 1.2.40; 1.2.42;
Wording improvements.
 1.1 02-Dec-2011  yamt some man pages
 1.2.42.1 10-Jun-2019  christos Sync with HEAD
 1.2.40.1 28-Jul-2018  pgoyette Sync with HEAD
 1.2.4.2 17-Apr-2012  yamt sync with head
 1.2.4.1 02-Dec-2011  yamt file tprof_pmi.4 was added on branch yamt-pagecache on 2012-04-17 00:05:47 +0000
 1.1 30-Apr-2024  andvar branches: 1.1.2;
viac7temp(4): rewrite temperature sensor to read value from MSR instead of using
documented cpuid instruction and eax register.

This approach is adapted from linux via-cputemp.c, no official documentation is
currently available. However, msr value seems to work on all tested CPUs while
documented cpuid instruction typically reports 0, even for my C7-D CPU.
msr value seems to have temperature in Celsius in lower 24-bits without fraction
(thus "msr & 0xffffff;" is used).

Tested on my personal systems based on CPUs below (i386 and amd64):
C7-D 1.6GHz (i386 only), Nano X2 L4350E, Nano X2 U4300, U2300 Nano, KX-U6580.
Also got one response via email which was based on Nano X2 L4050 (VE-900).
Nano reports independent values for each core.
KX-U6580 seems to show the same value for all cores but more testing is needed.

Since it works on amd64 capable CPUs, adding driver to GENERIC kernel config.
Also moving viac7temp man page to x86 instead of i386 (with updates).
In theory the change should add support for all VIA Nano CPUs and Zhaoxin CPUs
at least up to KX-6000(G) series.

In the future I may need to introduce amd64 kernel module as well.

Plan to pullup to at least netbsd-10.

Patch mainly reviewed by riastradh.
 1.1.2.2 20-Jun-2024  martin Pull up following revision(s) (requested by andvar in ticket #700):

sys/arch/i386/conf/GENERIC: revision 1.1256
share/man/man4/man4.x86/viac7temp.4: revision 1.1
sys/arch/x86/x86/viac7temp.c: revision 1.11
share/man/man4/man4.x86/Makefile: revision 1.24
share/man/man4/man4.i386/viac7temp.4: file removal
share/man/man4/man4.i386/Makefile: revision 1.81
distrib/sets/lists/man/mi: revision 1.1773
sys/arch/amd64/conf/GENERIC: revision 1.612
sys/arch/amd64/conf/ALL: revision 1.188
sys/arch/i386/conf/ALL: revision 1.519

viac7temp(4): rewrite temperature sensor to read value from MSR instead of using
documented cpuid instruction and eax register.

This approach is adapted from linux via-cputemp.c, no official documentation is
currently available. However, msr value seems to work on all tested CPUs while
documented cpuid instruction typically reports 0, even for my C7-D CPU.
msr value seems to have temperature in Celsius in lower 24-bits without fraction
(thus "msr & 0xffffff;" is used).

Tested on my personal systems based on CPUs below (i386 and amd64):
C7-D 1.6GHz (i386 only), Nano X2 L4350E, Nano X2 U4300, U2300 Nano, KX-U6580.
Also got one response via email which was based on Nano X2 L4050 (VE-900).

Nano reports independent values for each core.

KX-U6580 seems to show the same value for all cores but more testing is needed.

Since it works on amd64 capable CPUs, adding driver to GENERIC kernel config.

Also moving viac7temp man page to x86 instead of i386 (with updates).

In theory the change should add support for all VIA Nano CPUs and Zhaoxin CPUs
at least up to KX-6000(G) series.

In the future I may need to introduce amd64 kernel module as well.

Patch mainly reviewed by riastradh.
 1.1.2.1 30-Apr-2024  martin file viac7temp.4 was added on branch netbsd-10 on 2024-06-20 11:00:06 +0000
 1.7 27-Oct-2020  ryo move vmt(4) from MD to MI, and add support vmt on aarch64. tested on ESXi-Arm Fling

- move from sys/arch/x86/x86/{vmt.c,vmtreg.h,vmtvar.h} to sys/dev/vmt/{vmt_subr.c,vmtreg.h,vmtvar.h},
and split the attach part of the cpufeaturebus and fdt
- add aarch64 vmware backdoor op
- add include guard to vmt{reg,var}.h
- Yet there is still some little-endian dependency. it needs to be fixed in order to work properly on aarch64eb
 1.6 07-Oct-2013  dholland Update SYNOPSIS; PR 48080. Bump date.
 1.5 20-Jul-2013  wiz Use Mt for email addresses.
 1.4 16-Mar-2013  jmmv branches: 1.4.4;
Synchronize the clock periodically in vmt(4).

Add periodic clock synchronization to vmt(4) so that the guest clock
remains synchronized even when the host is suspended (which is a very
typical situation in a laptop).

Do this by default once per minute, but provide a sysctl to tune this
value (machdep.vmt0.clock_sync.period).

Sent to tech-kern@ for review and addressed a couple of issues.
 1.3 18-Oct-2011  wiz branches: 1.3.2; 1.3.4; 1.3.8;
Fix xref; comment out cpu(4) reference, does not exist.
 1.2 18-Oct-2011  jmcneill update vmt man page with netbsd changes
 1.1 18-Oct-2011  wiz Move vmt(4) to x86 subdir.
No obsolete entries added for set lists since original import was just an
hour ago.
 1.3.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.8.1 23-Jun-2013  tls resync from head
 1.3.4.1 20-Oct-2013  bouyer Pull up following revision(s) (requested by pettai in ticket #965):
sys/arch/x86/x86/vmt.c: revision 1.8
share/man/man4/man4.x86/vmt.4: revision 1.4
Synchronize the clock periodically in vmt(4).
Add periodic clock synchronization to vmt(4) so that the guest clock
remains synchronized even when the host is suspended (which is a very
typical situation in a laptop).
Do this by default once per minute, but provide a sysctl to tune this
value (machdep.vmt0.clock_sync.period).
Sent to tech-kern@ for review and addressed a couple of issues.
 1.3.2.1 22-May-2014  yamt 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")
 1.4.4.1 23-Jul-2013  riastradh sync with HEAD
 1.3 14-Oct-2020  ryo vmx(4) should be MI. moved to sys/dev/pci from sys/arch/x86/pci
 1.2 10-Jun-2014  wiz branches: 1.2.2; 1.2.6;
Sort SEE ALSO, add NetBSD-specific history.
 1.1 10-Jun-2014  hikaru Add VMware VMXNET3 ethernet driver from OpenBSD, vmx(4).
 1.2.6.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.6.1 10-Jun-2014  tls file vmx.4 was added on branch tls-maxphys on 2014-08-20 00:02:36 +0000
 1.2.2.2 10-Aug-2014  tls Rebase.
 1.2.2.1 10-Jun-2014  tls file vmx.4 was added on branch tls-earlyentropy on 2014-08-10 06:53:25 +0000

RSS XML Feed