aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/cpufreq
Commit message (Collapse)AuthorAgeFilesLines
* hwpstate{_amd,intel}(4): Move common knobs to a separate fileOlivier Certner12 hours1-1/+2
| | | | | | | | | | | | | | | | | | | Reason for doing this right now is to resolve the conflict on 'machdep.hwpstate_pkg_ctrl' between the Intel and AMD drivers, even though I expect to remove it for hwpstate_amd(4) at some point. More generally, this is going to be useful for some future code factorization. Also, the 'debug.hwpstate_verbose' knob was moved there, as we'll likely want to use it for the Intel driver as well (which is currently not the case). Note for MFC: Will be partial, since `hwpstate_amd(4)` does not support CPPC in stable/15 nor stable/14. Reviewed by: emaste Fixes: 3e6e4e4a0d42 ("hwpstate: add CPPC support for pstate driver on AMD") MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D54528
* Remove residual blank line at start of MakefileWarner Losh2024-07-151-1/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* sys: Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* cpufreq(4): Add support for Intel Speed ShiftConrad Meyer2020-01-221-1/+1
| | | | | | | | | | | | | | | | | | Intel Speed Shift is Intel's technology to control frequency in hardware, with hints from software. Let's get a working version of this in the tree and we can refine it from here. Submitted by: bwidawsk, scottph Reviewed by: bcr (manpages), myself Discussed with: jhb, kib (earlier versions) With feedback from: Greg V, gallatin, freebsdnewbie AT freenet.de Relnotes: yes Differential Revision: https://reviews.freebsd.org/D18028 Notes: svn path=/head/; revision=357002
* sys/modules: normalize .CURDIR-relative paths to SRCTOPEnji Cooper2017-03-041-4/+4
| | | | | | | | | | | This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314651
* MFtbemd:Warner Losh2010-08-231-1/+1
| | | | | | | | | | | | Use MACHINE_CPUARCH in preference to MACHINE_ARCH. The former is the source code location of the machine, the latter the binary output. In general, we want to use MACHINE_CPUARCH instead of MACHINE_ARCH unless we're tesitng for a specific target. The isn't even moot for i386/amd64 where there's momemntum towards a MACHINE_CPUARCH == x86, although a specific cleanup for that likely would be needed... Notes: svn path=/head/; revision=211690
* Introduce the new kernel sub-tree x86 which should contain all the codeAttilio Rao2010-02-251-1/+1
| | | | | | | | | | | | | | | | | shared and generalized between our current amd64, i386 and pc98. This is just an initial step that should lead to a more complete effort. For the moment, a very simple porting of cpufreq modules, BIOS calls and the whole MD specific ISA bus part is added to the sub-tree but ideally a lot of code might be added and more shared support should grow. Sponsored by: Sandvine Incorporated Reviewed by: emaste, kib, jhb, imp Discussed on: arch MFC: 3 weeks Notes: svn path=/head/; revision=204309
* Import ACPICA 20090521.Jung-uk Kim2009-06-051-1/+0
| | | | Notes: svn path=/head/; revision=193530
* Introduce support for cpufreq on PowerPC with the dynamic frequencyNathan Whitehorn2009-05-311-0/+5
| | | | | | | switching capabilities of the MPC7447A and MPC7448. Notes: svn path=/head/; revision=193156
* Add support for Phenom (Family 10h) to cpufreq.Michael Reifenberger2009-03-281-1/+1
| | | | | | | | | | Its a newer version provided by the author than in the PR. PR: kern/128575 Submitted by: Gen Otsuji annona2 [at] gmail.com Notes: svn path=/head/; revision=190501
* Dike out WARNS from kernel module makefiles. Kernels and modulesRuslan Ermilov2006-05-301-1/+0
| | | | | | | | | | use a different mechanism for setting warning flags, and using WARNS here only has null or negative effects. Submitted by: bde (I think it means "submitted") Notes: svn path=/head/; revision=159066
* Add a driver for SMI-based SpeedStep. The hardware supports two frequencyNate Lawson2005-04-191-0/+4
| | | | | | | | | | | | | settings and is an older version of the same design used for ICH SpeedStep. It is only known to be available on PIIX4 chipsets. Many thanks to Bruno Ducrot for writing the driver and Jon Noack for testing. Submitted by: Bruno Ducrot Notes: svn path=/head/; revision=145287
* Add support for _PDC/_OSC by advertising that we support direct access toNate Lawson2005-04-041-6/+5
| | | | | | | | the PERF_CTL/STS MSRs via the new acpi_get_features() method. This should allow newer systems to use SpeedStep. Notes: svn path=/head/; revision=144630
* Additions to .PATH are cumulative so referencing $.PATH is not helpful.Nate Lawson2005-03-311-1/+1
| | | | | | | Informed by: ru Notes: svn path=/head/; revision=144412
* Fix module build on amd64. There may be a cleaner way to do the .PATHNate Lawson2005-03-281-0/+1
| | | | Notes: svn path=/head/; revision=144199
* Hook powernow up to the build for i386 and amd64.Nate Lawson2005-03-271-1/+5
| | | | Notes: svn path=/head/; revision=144195
* Hook p4tcc up to the module build.Nate Lawson2005-02-231-1/+1
| | | | Notes: svn path=/head/; revision=142310
* Hook EST up to the build.Nate Lawson2005-02-201-1/+6
| | | | Notes: svn path=/head/; revision=142141
* Hook up the cpufreq framework, acpi_perf(4), and cpufreq(4) drivers.Nate Lawson2005-02-041-0/+10
Notes: svn path=/head/; revision=141243