CVS commit: src/sys/arch/x86/acpi

2021-02-04 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Feb 4 23:54:48 UTC 2021 Modified Files: src/sys/arch/x86/acpi: acpi_machdep.c Log Message: Call acpi_device_register() as appropriate. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31

CVS commit: src/sys/arch/x86/acpi

2020-03-19 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Mar 19 19:55:34 UTC 2020 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: PR kern/55080: current does not boot Back out previous. To be addressed differently. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/x86/acpi

2020-03-14 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Mar 14 13:50:46 UTC 2020 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Put ACPI idle under ACPICPU_ENABLE_C3 until the wrinkles are ironed out. This seems well written and basically all good, but currently

CVS commit: src/sys/arch/x86/acpi

2019-05-01 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed May 1 07:26:28 UTC 2019 Modified Files: src/sys/arch/x86/acpi: acpi_machdep.c Log Message: Handle ISA/EISA interrupts like isa_machdep.c. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26

CVS commit: src/sys/arch/x86/acpi

2019-03-09 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Mar 9 10:04:42 UTC 2019 Modified Files: src/sys/arch/x86/acpi: acpi_machdep.c Log Message: In acpi_md_OsRemoveInterruptHandler() redir and mpflags are only relevant to the NIOAPIC > 0 case (not used without that). Rearrange

CVS commit: src/sys/arch/x86/acpi

2019-03-03 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Mar 3 17:33:33 UTC 2019 Modified Files: src/sys/arch/x86/acpi: acpi_machdep.c Log Message: Fix bug, PG_W is 'wired', not 'writable'. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23

CVS commit: src/sys/arch/x86/acpi

2018-11-22 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu Nov 22 15:06:00 UTC 2018 Modified Files: src/sys/arch/x86/acpi: acpi_machdep.c Log Message: Apply MADT interrupt source overrides to interrupts established via acpi_md_intr_establish. To generate a diff of this commit:

CVS commit: src/sys/arch/x86/acpi

2017-09-23 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Sep 23 10:38:59 UTC 2017 Modified Files: src/sys/arch/x86/acpi: acpi_wakeup.c Log Message: Initialize the errata MSRs when waking up, otherwise they are clear and we're re-enabling certain CPU bugs. To generate a diff of this

CVS commit: src/sys/arch/x86/acpi

2017-09-23 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Sep 23 10:00:00 UTC 2017 Modified Files: src/sys/arch/x86/acpi: acpi_wakeup.c Log Message: Reinitialize the PAT MSR when waking up, otherwise the write-combined pages become write-through. To generate a diff of this commit:

CVS commit: src/sys/arch/x86/acpi

2017-09-18 Thread Maya Rashish
Module Name:src Committed By: maya Date: Tue Sep 19 01:22:14 UTC 2017 Modified Files: src/sys/arch/x86/acpi: acpi_wakeup.c Log Message: Remove unused macro To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/arch/x86/acpi/acpi_wakeup.c Please note

CVS commit: src/sys/arch/x86/acpi

2017-08-10 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 10 13:13:03 UTC 2017 Modified Files: src/sys/arch/x86/acpi: acpi_wakeup.c Log Message: Save and restore xcr0 when doing ACPI sleeps. Should fix PR/49174. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46

CVS commit: src/sys/arch/x86/acpi

2016-10-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Oct 20 16:05:04 UTC 2016 Modified Files: src/sys/arch/x86/acpi: acpi_wakeup.c Log Message: There is a huge fpu synchronization issue here. When the remote CPUs receive the ACPI sleep IPI, they do not save the fpu state of the

CVS commit: src/sys/arch/x86/acpi

2016-10-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Oct 20 14:06:18 UTC 2016 Modified Files: src/sys/arch/x86/acpi: acpi_wakeup.c Log Message: Reload the MSRs on the original cpu on i386 - looks like I forgot this part in my rev1.41. Technically it does not change anything,

CVS commit: src/sys/arch/x86/acpi

2016-10-07 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Oct 7 10:58:03 UTC 2016 Modified Files: src/sys/arch/x86/acpi: acpi_wakeup.c Log Message: Don't include sys/cdefs.h and __KERNEL_RSCID twice... once is enough. To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43

CVS commit: src/sys/arch/x86/acpi

2016-09-20 Thread Maya Rashish
Module Name:src Committed By: maya Date: Tue Sep 20 08:38:55 UTC 2016 Modified Files: src/sys/arch/x86/acpi: acpi_wakeup.c Log Message: use a value of hw.acpi.sleep.vbios that might actually work for any real hardware suspend. stop dragging feet through the ground in PR

CVS commit: src/sys/arch/x86/acpi

2016-07-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Jul 27 13:04:29 UTC 2016 Modified Files: src/sys/arch/x86/acpi: acpi_wakeup.c Log Message: Call cpu_init_msrs on i386 when waking up. Currently it does not change anything, since MSR_EFER is already enabled earlier. But if we

CVS commit: src/sys/arch/x86/acpi

2016-01-28 Thread Hisashi T Fujinaka
Module Name:src Committed By: htodd Date: Thu Jan 28 23:50:04 UTC 2016 Modified Files: src/sys/arch/x86/acpi: acpi_machdep.c Log Message: Fix build break. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/x86/acpi/acpi_machdep.c Please note

CVS commit: src/sys/arch/x86/acpi

2015-10-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Oct 6 15:06:05 UTC 2015 Modified Files: src/sys/arch/x86/acpi: acpi_machdep.c Log Message: CID/1325751: Avoid possible 32 bit overflow. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/sys/arch/x86/acpi

2015-08-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Aug 18 10:42:41 UTC 2015 Modified Files: src/sys/arch/x86/acpi: acpi_wakeup.c Log Message: dup the argument of the wakeup vector. XXX: is that correct? To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39

CVS commit: src/sys/arch/x86/acpi

2014-05-12 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon May 12 11:51:34 UTC 2014 Modified Files: src/sys/arch/x86/acpi: acpi_machdep.c Log Message: acpi_md_findoverride is only used when NIOAPIC 0, so don't provide it otherwise. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/x86/acpi

2013-11-20 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Wed Nov 20 13:52:30 UTC 2013 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Allow 4-bit range for MSR_THERM_CONTROL. To generate a diff of this commit: cvs rdiff -u -r1.73 -r1.74

CVS commit: src/sys/arch/x86/acpi

2013-10-06 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Sun Oct 6 16:34:49 UTC 2013 Modified Files: src/sys/arch/x86/acpi: acpi_machdep.c Log Message: Correct acpi_md_OsWritable() logic so that it can return TRUE. From Masanori Kanaoka in PR 47571. To generate a diff of this

CVS commit: src/sys/arch/x86/acpi

2013-03-31 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Mar 31 19:34:25 UTC 2013 Modified Files: src/sys/arch/x86/acpi: acpi_machdep.c Log Message: yet more fixes for PR 47648 / PR 47016: when using a temporary mp_intr_map, initialize the flags field as well as redir since

CVS commit: src/sys/arch/x86/acpi

2012-12-05 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Dec 6 04:43:29 UTC 2012 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Disable C1E also on K8, if present. From Imre Vadasz i...@vdsz.com in PR install/47224. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/arch/x86/acpi

2012-08-25 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Sun Aug 26 01:04:03 UTC 2012 Modified Files: src/sys/arch/x86/acpi: acpi_wakeup.c Log Message: It turns out we're actually waiting for other processors to be unbusy, not busy. Unbreaks ACPI suspend on uniprocessor. Probably

CVS commit: src/sys/arch/x86/acpi

2012-02-11 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sat Feb 11 22:07:53 UTC 2012 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Add non-XPSS support for AMD family 15h a.k.a. Bulldozer. Ok releng@. To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70

CVS commit: src/sys/arch/x86/acpi

2012-02-11 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sat Feb 11 22:09:47 UTC 2012 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Fix missing case for AMD 0x15. To generate a diff of this commit: cvs rdiff -u -r1.70 -r1.71 src/sys/arch/x86/acpi/acpi_cpu_md.c

CVS commit: src/sys/arch/x86/acpi

2012-01-30 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Mon Jan 30 21:47:24 UTC 2012 Modified Files: src/sys/arch/x86/acpi: acpi_machdep.c Log Message: acpi_md_ncpus: use kcpuset_attached instead. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/arch/x86/acpi

2011-11-14 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Nov 15 07:20:31 UTC 2011 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Add support for AMD family 12h. Also revert revision 1.67, as it implies maintenance burden for limited value. XXX: Need to add family

CVS commit: src/sys/arch/x86/acpi

2011-09-24 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sat Sep 24 10:59:02 UTC 2011 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: As the detection of C1E is not entirely clear-cut, use rdmsr_safe() when reading the AMD interrupt pending and CMP-halt register. To

CVS commit: src/sys/arch/x86/acpi

2011-09-24 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sat Sep 24 11:17:26 UTC 2011 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Be more intelligent; read the MSR_CMPHALT with rdmsr_safe() and set the C1E-flag based on this. Pointed out by jmcneill@. To

CVS commit: src/sys/arch/x86/acpi

2011-09-24 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sat Sep 24 19:41:40 UTC 2011 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Try to obtain reliable MHz values for AMD familiesi 10h and 11h. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67

CVS commit: src/sys/arch/x86/acpi

2011-09-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Sep 15 12:32:30 UTC 2011 Modified Files: src/sys/arch/x86/acpi: Makefile.wakecode.inc Log Message: fix typo, revert to previous version To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/sys/arch/x86/acpi

2011-09-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Sep 14 13:13:21 UTC 2011 Modified Files: src/sys/arch/x86/acpi: Makefile.wakecode.inc Log Message: Don't depend on the .d file here; since this is the only rule, acpi_wakeup.d will never be build! To generate a diff of

CVS commit: src/sys/arch/x86/acpi

2011-09-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Sep 14 14:58:43 UTC 2011 Modified Files: src/sys/arch/x86/acpi: Makefile.wakecode.inc Log Message: revert previous; bug was in the position of the inclusion of the file. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/x86/acpi

2011-06-23 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Jun 23 08:10:36 UTC 2011 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Fix bug pointed out by njoly@. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/sys/arch/x86/acpi/acpi_cpu_md.c

CVS commit: src/sys/arch/x86/acpi

2011-06-06 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Mon Jun 6 07:42:33 UTC 2011 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: When getting the frequency, use APERF/MPERF as a fallback method. To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60

CVS commit: src/sys/arch/x86/acpi

2011-05-31 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue May 31 14:45:37 UTC 2011 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Remove the sanity check that tested the internal consistency of the FID/VID algorithm used by K8. Tested by cegger@. The check is

CVS commit: src/sys/arch/x86/acpi

2011-05-20 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Fri May 20 13:14:58 UTC 2011 Modified Files: src/sys/arch/x86/acpi: Makefile.wakecode.inc Log Message: LLVM's assembler parser doesn't support .code32 yet, so disable it as needed. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/x86/acpi

2011-03-24 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Mar 24 11:52:53 UTC 2011 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Reset APERF and MPERF only after interrupts have been enabled. To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57

CVS commit: src/sys/arch/x86/acpi

2011-03-04 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sat Mar 5 06:39:55 UTC 2011 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: If the P-state control mask is set, do a proper read-modify-write. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54

CVS commit: src/sys/arch/x86/acpi

2011-03-01 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Wed Mar 2 06:23:17 UTC 2011 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Adjust the detection of Turbo Boost to prevent a theoretical array OOB access. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/x86/acpi

2011-02-28 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Mar 1 05:02:16 UTC 2011 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Remove the cross-call from the APERF/MPERF -function. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50

CVS commit: src/sys/arch/x86/acpi

2011-02-27 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sun Feb 27 17:27:28 UTC 2011 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Claim to support the dependency coordination during the _PDC/_OSC query. (Although we do not actually support it.) Only after these

CVS commit: src/sys/arch/x86/acpi

2011-02-25 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Fri Feb 25 10:59:32 UTC 2011 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Add support for APERF and MPERF on AMD processors. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42

CVS commit: src/sys/arch/x86/acpi

2011-02-25 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Fri Feb 25 16:54:36 UTC 2011 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Also declare support for APERF/MPERF during the BIOS _PDC/_OSC query. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44

CVS commit: src/sys/arch/x86/acpi

2011-02-25 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Fri Feb 25 17:23:35 UTC 2011 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Fix an oversigh; the APERF and MPERF counters are per-CPU, so also reset these by broadcasting to all CPUs with x86_msr_xcall(9). To

CVS commit: src/sys/arch/x86/acpi

2011-02-24 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu Feb 24 13:19:37 UTC 2011 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: add support for Family 14h (AMD Fusion) To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40

CVS commit: src/sys/arch/x86/acpi

2011-02-16 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Wed Feb 16 18:55:50 UTC 2011 Modified Files: src/sys/arch/x86/acpi: acpi_wakeup.c Log Message: Explicitly re-enable the SCI interrupt when the wakeup starts (and before interrupts are enabled). A workaround for a BIOS bug. Fixes

CVS commit: src/sys/arch/x86/acpi

2011-02-15 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Feb 15 17:50:47 UTC 2011 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Fix and add comments. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/arch/x86/acpi/acpi_cpu_md.c Please note

CVS commit: src/sys/arch/x86/acpi

2011-01-12 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Jan 13 03:45:38 UTC 2011 Modified Files: src/sys/arch/x86/acpi: acpi_wakeup.c Log Message: Add a comment. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/arch/x86/acpi/acpi_wakeup.c Please note that

CVS commit: src/sys/arch/x86/acpi

2010-11-30 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Nov 30 18:44:07 UTC 2010 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Fix boolean brain freeze. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/arch/x86/acpi/acpi_cpu_md.c Please

CVS commit: src/sys/arch/x86/acpi

2010-08-24 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Aug 24 10:29:53 UTC 2010 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: As all reported P-state failures so far have centered around the status- check (today it was christos@' laptop), follow Linux and

CVS commit: src/sys/arch/x86/acpi

2010-08-21 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sat Aug 21 07:18:34 UTC 2010 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Add a comment. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/arch/x86/acpi/acpi_cpu_md.c Please note that

CVS commit: src/sys/arch/x86/acpi

2010-08-21 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sat Aug 21 09:16:28 UTC 2010 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Use an inverse logic when filling the (X)PSS structures -- if we know the addresses, we trust ourselves more than a random BIOS in the

CVS commit: src/sys/arch/x86/acpi

2010-08-21 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sat Aug 21 15:37:35 UTC 2010 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: When we do the sanity check that a P- or T-state transition was successful, compare also against the control-field. There appears to

CVS commit: src/sys/arch/x86/acpi

2010-08-21 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sun Aug 22 04:42:57 UTC 2010 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Still DELAY(9) a little even when we do not do the status-check. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30

CVS commit: src/sys/arch/x86/acpi

2010-08-20 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Fri Aug 20 07:00:17 UTC 2010 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Check if SpeedStep is enabled. If it is disabled, try to enable it. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

CVS commit: src/sys/arch/x86/acpi

2010-08-20 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sat Aug 21 02:47:38 UTC 2010 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Properly detect AMD hardware P-state support. Also detect core boost (only present in some models of family 10h). To generate a diff

CVS commit: src/sys/arch/x86/acpi

2010-08-20 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sat Aug 21 04:36:29 UTC 2010 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Detect Intel's Turbo Boost and presence of IA32_APERF/IA32_MPERF. The former is required for a quirk, and the latter is needed for

CVS commit: src/sys/arch/x86/acpi

2010-08-20 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sat Aug 21 05:10:43 UTC 2010 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Add a quirk for Turbo Boost. It was observed that at least Sverre Froyen's ThinkPad T500 reports values that do not match readings

CVS commit: src/sys/arch/x86/acpi

2010-08-19 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu Aug 19 11:08:33 UTC 2010 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: VIA CPUs can have EST as well, so treat them the same as Intel To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

CVS commit: src/sys/arch/x86/acpi

2010-08-19 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Aug 19 18:30:24 UTC 2010 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Add native P-state support for AMD family 10h and 11h processors. Both are supported irrespective of XPSS. Family 10h tested by

CVS commit: src/sys/arch/x86/acpi

2010-08-19 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Aug 19 21:40:45 UTC 2010 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Properly calculate the AMD CPU family. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

CVS commit: src/sys/arch/x86/acpi

2010-08-18 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Wed Aug 18 16:08:50 UTC 2010 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Check the status of P- and T-state transformations on all CPUs. This is still not ideal, as ACPI gives us information about cross

CVS commit: src/sys/arch/x86/acpi

2010-08-17 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Wed Aug 18 04:12:29 UTC 2010 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Add MD support for the vendor-independent extended PSS. Some conforming AMD systems are known to work. Alas, not all of them. We still

CVS commit: src/sys/arch/x86/acpi

2010-08-04 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Wed Aug 4 16:16:55 UTC 2010 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c Log Message: Run a xcall(9) to ensure that all CPUs are out from the ACPI idle-loop before detachment. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/x86/acpi

2010-07-29 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Jul 29 11:40:08 UTC 2010 Modified Files: src/sys/arch/x86/acpi: acpi_wakeup.c Log Message: Remove the custom acpi_md_s4bios(). Use ACPICA's native AcpiEnterSleepStateS4bios() instead. Minimum functional change. ok jmcneill@

CVS commit: src/sys/arch/x86/acpi

2010-07-28 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Wed Jul 28 18:10:32 UTC 2010 Modified Files: src/sys/arch/x86/acpi: acpi_wakeup.c Log Message: Use acpi_eval_set_integer(), KNF. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24

CVS commit: src/sys/arch/x86/acpi

2010-04-11 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sun Apr 11 09:52:10 UTC 2010 Modified Files: src/sys/arch/x86/acpi: acpi_wakeup.c Log Message: Use CTLTYPE_BOOL. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/arch/x86/acpi/acpi_wakeup.c Please note

CVS commit: src/sys/arch/x86/acpi

2009-09-02 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Wed Sep 2 15:25:07 UTC 2009 Modified Files: src/sys/arch/x86/acpi: acpi_wakeup.c Log Message: Don't allow machdep.acpi_vbios_reset=2 if option VGA_POST is missing. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17

CVS commit: src/sys/arch/x86/acpi

2009-09-02 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Wed Sep 2 15:42:31 UTC 2009 Modified Files: src/sys/arch/x86/acpi: acpi_wakeup.c Log Message: Be a bit more noisy by telling the user VGA_POST is missing in the kernel config when trying machdep.acpi_vbios_reset=2. To generate