Up to [cvs.NetBSD.org] / src / sys / arch / x86 / x86
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.32 / (download) - annotate - [select for diffs], Sat Jun 16 17:30:19 2012 UTC (11 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
tls-maxphys-nbase,
tls-maxphys-base,
tls-maxphys,
khorben-n900,
agc-symver-base,
agc-symver,
HEAD
Changes since 1.31: +5 -5
lines
Diff to previous 1.31 (colored)
rename the global variable "cpu" to "cputype" to avoid conflicting with dtrace, which wants to use "cpu" as a local variable.
Revision 1.31 / (download) - annotate - [select for diffs], Mon Apr 30 00:08:03 2012 UTC (12 months, 2 weeks ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
jmcneill-usbmp-base10
Changes since 1.30: +24 -6
lines
Diff to previous 1.30 (colored)
PR/41267: Andrius V: 5.0 RC4 does not detect second CPU in VIA. VIA Eden cpuid lies about it's ability to do cmpxchg8b. Turn the feature on using the FCR MSR. Needs pullup to both 5 and 6.
Revision 1.30 / (download) - annotate - [select for diffs], Thu Feb 23 14:45:55 2012 UTC (14 months, 3 weeks ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base4,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3
Changes since 1.29: +3 -2
lines
Diff to previous 1.29 (colored)
move XEN CPU feature masking into cpu_probe() so that it's applied to all CPUs, not just the boot CPU.
Revision 1.29 / (download) - annotate - [select for diffs], Fri Feb 3 05:06:51 2012 UTC (15 months, 2 weeks ago) by yamt
Branch: MAIN
CVS Tags: netbsd-6-base,
jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.28: +3 -3
lines
Diff to previous 1.28 (colored)
use a correct macro. releng@ ok
Revision 1.28 / (download) - annotate - [select for diffs], Fri Mar 4 04:48:39 2011 UTC (2 years, 2 months ago) by jruoho
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase
Branch point for: yamt-pagecache,
jmcneill-usbmp
Changes since 1.27: +2 -9
lines
Diff to previous 1.27 (colored)
Move INTEL_ONDEMAND_CLOCKMOD -- or odcm(4) -- to the cpufeaturebus.
Revision 1.27 / (download) - annotate - [select for diffs], Thu Feb 24 13:58:39 2011 UTC (2 years, 2 months ago) by jruoho
Branch: MAIN
Changes since 1.26: +2 -15
lines
Diff to previous 1.26 (colored)
Move VIA_C7TEMP to the cpufeaturebus.
Revision 1.26 / (download) - annotate - [select for diffs], Thu Feb 24 10:56:02 2011 UTC (2 years, 2 months ago) by jruoho
Branch: MAIN
Changes since 1.25: +2 -26
lines
Diff to previous 1.25 (colored)
Move PowerNow! to the cpufeaturebus.
Revision 1.25 / (download) - annotate - [select for diffs], Wed Feb 23 11:43:23 2011 UTC (2 years, 2 months ago) by jruoho
Branch: MAIN
Changes since 1.24: +2 -10
lines
Diff to previous 1.24 (colored)
Move ENHANCED_SPEEDSTEP, or henceforth est(4), to the cpufeaturebus.
Revision 1.24 / (download) - annotate - [select for diffs], Sun Feb 20 13:42:46 2011 UTC (2 years, 2 months ago) by jruoho
Branch: MAIN
Changes since 1.23: +2 -8
lines
Diff to previous 1.23 (colored)
Modularize coretemp(4). Ok jmcneill@.
Revision 1.23 / (download) - annotate - [select for diffs], Sat Feb 19 13:52:28 2011 UTC (2 years, 2 months ago) by jmcneill
Branch: MAIN
Changes since 1.22: +3 -3
lines
Diff to previous 1.22 (colored)
modularize VIA PadLock support - retire options VIA_PADLOCK, replace with 'padlock0 at cpu0' - driver supports attach & detach - support building as a module
Revision 1.22 / (download) - annotate - [select for diffs], Thu Jan 27 18:44:40 2011 UTC (2 years, 3 months ago) by bouyer
Branch: MAIN
CVS Tags: uebayasi-xip-base7,
bouyer-quota2-base
Changes since 1.21: +48 -3
lines
Diff to previous 1.21 (colored)
Properly identify vortex86 CPUs.
Revision 1.21 / (download) - annotate - [select for diffs], Wed Jan 19 21:39:41 2011 UTC (2 years, 3 months ago) by jmcneill
Branch: MAIN
Branch point for: bouyer-quota2
Changes since 1.20: +10 -5
lines
Diff to previous 1.20 (colored)
Print the brand string if present instead of model (model is still available via sysctl hw.model): -cpu0 at mainbus0 apid 0: IDT/VIA 686-class, 1596MHz, id 0x6d0 +cpu0 at mainbus0 apid 0: VIA C7-M Processor 1600MHz, id 0x6d0
Revision 1.20 / (download) - annotate - [select for diffs], Sun Apr 18 23:47:51 2010 UTC (3 years, 1 month ago) by jym
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base6,
uebayasi-xip-base5,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
matt-mips64-premerge-20101231,
jruoho-x86intr-base
Branch point for: jruoho-x86intr
Changes since 1.19: +44 -31
lines
Diff to previous 1.19 (colored)
This patch fixes the NX regression issue observed on amd64 kernels, where per-page execution right was disabled (therefore leading to the inability of the kernel to detect fraudulent use of memory mappings marked as not being executable). - replace cpu_feature and ci_feature_flags variables by cpu_feature and ci_feat_val arrays. This makes it cleaner and brings kernel code closer to the design of cpuctl(8). A warning will be raised for each CPU that does not expose the same features as the Boot Processor (BP). - the blacklist of CPU features is now a macro defined in the specialreg.h header, instead of hardcoding it inside MD initialization code; fix comments. - replace checks against CPUID_TSC with the cpu_hascounter() function. - clean up the code in init_x86_64(), as cpu_feature variables are set inside cpu_probe(). - use cpu_init_msrs() for i386. It will be eventually used later for NX feature under i386 PAE kernels. - remove code that checks for CPUID_NOX in amd64 mptramp.S, this is already performed by cpu_hatch() through cpu_init_msrs(). - remove cpu_signature and feature_flags members from struct mpbios_proc (they were never used). This patch was tested with i386 MONOLITHIC, XEN3PAE_DOM0 and XEN3_DOM0 under a native i386 host, and amd64 GENERIC, XEN3_DOM0 via QEMU virtual machines. XXX Should kernel rev be bumped? XXX A similar patch should be pulled-up for NetBSD-5, hopefully tomorrow.
Revision 1.19 / (download) - annotate - [select for diffs], Sun Apr 18 15:25:53 2010 UTC (3 years, 1 month ago) by jym
Branch: MAIN
Changes since 1.18: +3 -3
lines
Diff to previous 1.18 (colored)
Fix a test semantic in cpu_probe(): check that the CPU currently probed is the first one booting by comparing its struct cpu_info address with cpu_info_primary, rather than supposing that cpu_feature variables are set to 0.
Revision 1.18 / (download) - annotate - [select for diffs], Mon Jan 18 16:40:18 2010 UTC (3 years, 3 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
uebayasi-xip-base
Branch point for: uebayasi-xip,
rmind-uvmplock
Changes since 1.17: +3 -3
lines
Diff to previous 1.17 (colored)
x86_cpu_topology, not toplogy.
Revision 1.17 / (download) - annotate - [select for diffs], Fri Oct 2 18:50:03 2009 UTC (3 years, 7 months ago) by jmcneill
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.16: +15 -2
lines
Diff to previous 1.16 (colored)
Add support for VIA C7 temperature sensors (options VIA_C7TEMP)
Revision 1.16 / (download) - annotate - [select for diffs], Thu Apr 30 00:07:23 2009 UTC (4 years ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
jymxensuspend-base
Changes since 1.15: +4 -79
lines
Diff to previous 1.15 (colored)
Move x86 CPU topology detection code into the separate file (as it was originally). OK by <yamt>.
Revision 1.15 / (download) - annotate - [select for diffs], Wed Apr 1 03:56:54 2009 UTC (4 years, 1 month ago) by tls
Branch: MAIN
CVS Tags: nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base
Changes since 1.14: +57 -21
lines
Diff to previous 1.14 (colored)
Fix probe for VIA C3 and successors -- these are CPU family 6, not 5. The broken probe was causing the VIA padlock driver to never attach! Now we can see that its AES appears to be broken -- it makes FAST_IPSEC ESP not work, on systems where it works fine with cryptosoft. Rework code to detect and (if necessary) enable VIA crypto and RNG. Add RNG support to VIA padlock driver. In the process, have a quick go at debugging the AES support but no luck thus far.
Revision 1.14 / (download) - annotate - [select for diffs], Wed Mar 25 22:53:51 2009 UTC (4 years, 1 month ago) by dyoung
Branch: MAIN
Changes since 1.13: +3 -2
lines
Diff to previous 1.13 (colored)
It is only by accident that these get definitions they need from <sys/device.h>, so explicitly #include <sys/device.h>.
Revision 1.13 / (download) - annotate - [select for diffs], Fri Dec 19 15:11:55 2008 UTC (4 years, 4 months ago) by cegger
Branch: MAIN
CVS Tags: nick-hppapmap-base2,
mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.12: +4 -2
lines
Diff to previous 1.12 (colored)
x86_patch() is not available on Xen. Make Xen kernels link again.
Revision 1.12 / (download) - annotate - [select for diffs], Fri Dec 19 11:21:24 2008 UTC (4 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.11: +4 -2
lines
Diff to previous 1.11 (colored)
PR kern/40213 my i386 machine can't boot because of tsc - Patch in atomic_cas_64() twice. The first patch is early and makes it the MP-atomic version available if we have cmpxchg8b. The second patch strips the lock prefix if ncpu==1. - Fix the i486 atomic_cas_64() to not unconditionally enable interrupts.
Revision 1.11 / (download) - annotate - [select for diffs], Thu Dec 18 12:18:20 2008 UTC (4 years, 5 months ago) by cegger
Branch: MAIN
Changes since 1.10: +2 -3
lines
Diff to previous 1.10 (colored)
remove unused malloc.h
Revision 1.10 / (download) - annotate - [select for diffs], Sat Oct 18 09:08:34 2008 UTC (4 years, 7 months ago) by cegger
Branch: MAIN
CVS Tags: netbsd-5-base,
netbsd-5-0-RC1,
matt-mips64-base2,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: nick-hppapmap,
netbsd-5
Changes since 1.9: +25 -5
lines
Diff to previous 1.9 (colored)
for AMD CPUs: utilize new ci_feature4_flags field and check if SVM is present & disabled by the BIOS. If so, then print this information in the dmesg, but only once for cpu0. Don't do this check in a Xen DomU.
Revision 1.9 / (download) - annotate - [select for diffs], Mon Jun 2 14:41:41 2008 UTC (4 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl
Branch point for: wrstuden-revivesa,
haad-dm
Changes since 1.8: +2 -8
lines
Diff to previous 1.8 (colored)
- Don't bother using sse to copy/zero pages on demand. It turns out not to be worth it. - If the machine has sse, re-enable zeroing pages in the idle loop and use the sse instructions so that we don't blow out the cache.
Revision 1.8 / (download) - annotate - [select for diffs], Fri May 30 18:49:03 2008 UTC (4 years, 11 months ago) by christos
Branch: MAIN
Branch point for: mjf-devfs2
Changes since 1.7: +7 -89
lines
Diff to previous 1.7 (colored)
- fix an amd cache entry. - merge tables - support phenom from Paul Goyette
Revision 1.7 / (download) - annotate - [select for diffs], Tue May 13 11:22:15 2008 UTC (5 years ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base2,
yamt-pf42-base,
yamt-nfs-mp-base2,
hpcarm-cleanup-nbase
Branch point for: yamt-pf42,
yamt-nfs-mp
Changes since 1.6: +3 -3
lines
Diff to previous 1.6 (colored)
AMD and IDT/VIA strings were swapped.
Revision 1.6 / (download) - annotate - [select for diffs], Mon May 12 16:41:15 2008 UTC (5 years ago) by tsutsui
Branch: MAIN
Changes since 1.5: +2 -3
lines
Diff to previous 1.5 (colored)
Remove one more dup line. I should have a cup of coffee before hasty commit.. XXX maybe it's better to sort by cai_desc to sync with the Intel docs.
Revision 1.5 / (download) - annotate - [select for diffs], Mon May 12 03:58:47 2008 UTC (5 years ago) by simonb
Branch: MAIN
Changes since 1.4: +2 -7
lines
Diff to previous 1.4 (colored)
Only need to add some of the new cache descriptors once(!).
Revision 1.4 / (download) - annotate - [select for diffs], Sun May 11 21:19:18 2008 UTC (5 years ago) by cegger
Branch: MAIN
Changes since 1.3: +67 -2
lines
Diff to previous 1.3 (colored)
print L3 and TLB cache information for AMD Barcelona/Phenom
Revision 1.3 / (download) - annotate - [select for diffs], Sun May 11 18:29:42 2008 UTC (5 years ago) by tsutsui
Branch: MAIN
Changes since 1.2: +24 -4
lines
Diff to previous 1.2 (colored)
Update intel_cpuid_cache_info as per Intel's application note: "AP-485 Intel(R) Processor Identification and the CPUID Instruction" http://www.intel.com/design/processor/applnots/241618.htm XXX1: should sort by cai_index or cai_desc? XXX2: should also check L3CACHE for coloring?
Revision 1.2 / (download) - annotate - [select for diffs], Sun May 11 18:21:28 2008 UTC (5 years ago) by tsutsui
Branch: MAIN
Changes since 1.1: +3 -3
lines
Diff to previous 1.1 (colored)
Fix an indent.
Revision 1.1 / (download) - annotate - [select for diffs], Sun May 11 14:44:54 2008 UTC (5 years ago) by ad
Branch: MAIN
Simplify x86 identcpu code, and share between i386/amd64.