Home | History | Annotate | Download | only in man4.x86
History log of /src/share/man/man4/man4.x86/Makefile
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.

RSS XML Feed