#
272461 |
|
02-Oct-2014 |
gjb |
Copy stable/10@r272459 to releng/10.1 as part of the 10.1-RELEASE process.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
266160 |
|
15-May-2014 |
ian |
MFC r261423, r261424, r261516, r261513, r261562, r261563, r261564, r261565, r261596, r261606
Add the imx sdhci controller.
Move Open Firmware device root on PowerPC, ARM, and MIPS systems to a sub-node of nexus (ofwbus) rather than direct attach under nexus. This fixes FDT on x86 and will make coexistence with ACPI on ARM systems easier. SPARC is unchanged.
Add the missing ')' at end of sentence. Reword it to use a more common idiom.
Pass the kernel physical address to initarm through the boot param struct.
Make functions only used in vfp.c static, and remove vfp_enable.
Fix __syscall on armeb EABI. As it returns a 64-bit value it needs to place 32-bit data in r1, not r0. 64-bit data is already packed correctly.
Use abp_physaddr for the physical address over KERNPHYSADDR. This helps us remove the need to load the kernel at a fixed address.
Remove references to PHYSADDR where it's used only in debugging output.
Dynamically generate the page table. This will allow us to detect the physical address we are loaded at to change the mapping.
|
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
250290 |
|
05-May-2013 |
nwhitehorn |
Only check fan type once. Not only is continuously rechecking pointless, a single random failure can reprogram what control mechanism we try to use.
MFC after: 2 weeks
|
#
232482 |
|
04-Mar-2012 |
andreast |
Add support for PWM controlled fans. I found these fans on my PowerMac9,1. These fans are not located under the same node as the the RPM controlled ones, So I had to adapt the current source to parse and fill the properties correctly. To control the fans we can set the PWM ratio via sysctl between 20 and 100%.
Tested by: nwhitehorn MFC after: 3 weeks
|
#
227293 |
|
07-Nov-2011 |
ed |
Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs.
This means that their use is restricted to a single C file.
|
#
222462 |
|
29-May-2011 |
nwhitehorn |
Add the next digit of precision to temperatures, which I missed when converting the reporting format from degrees C to 0.1 degree K.
|
#
222430 |
|
28-May-2011 |
nwhitehorn |
Require an error instead of a timeout to decide the new-style fan commands won't work. This prevents a busy system from making smu(4) suddenly decide its fans use the old-style command set.
MFC after: 3 days
|
#
222429 |
|
28-May-2011 |
nwhitehorn |
Factor out the SMU fan management code into a new module (powermac_thermal) that will connect all of the various sensors and fan control modules on Apple hardware with software-controlled fans (e.g. all G5 systems).
MFC after: 1 month
|
#
219624 |
|
13-Mar-2011 |
nwhitehorn |
Don't sleep while setting the clock. This can cause panics when periodic_resettodr() calls CLOCK_SETTIME() and smu tries to sleep while running from a callout.
Reported by: Torfinn Ingolfsen
|
#
215100 |
|
10-Nov-2010 |
nwhitehorn |
Disabling CPU NAP modes during SMU commands is a hack needed only on U3 systems. Don't use it on non-U3 systems to allow cpu_idle() to work correctly.
|
#
212054 |
|
31-Aug-2010 |
nwhitehorn |
Restructure how reset and poweroff are handled on PowerPC systems, since the existing code was very platform specific, and broken for SMP systems trying to reboot from KDB.
- Add a new PLATFORM_RESET() method to the platform KOBJ interface, and migrate existing reset functions into platform modules. - Modify the OF_reboot() routine to submit the request by hand to avoid the IPIs involved in the regular openfirmware() routine. This fixes reboot from KDB on SMP machines. - Move non-KDB reset and poweroff functions on the Powermac platform into the relevant power control drivers (cuda, pmu, smu), instead of using them through the Open Firmware backdoor. - Rename platform_chrp to platform_powermac since it has become increasingly Powermac specific. When we gain support for IBM systems, we will grow a new platform_chrp.
|
#
208841 |
|
05-Jun-2010 |
nwhitehorn |
Add support for the I2C busses hanging off Apple system management chips.
|
#
208167 |
|
16-May-2010 |
nwhitehorn |
Enable smu(4) to report fan speeds on late-model Powermac G5s.
|
#
205506 |
|
23-Mar-2010 |
nwhitehorn |
Get nexus(4) out of the RTC business. The interface used by nexus(4) in Open Firmware was Apple-specific, and we have complete coverage of Apple system controllers, so move RTC responsibilities into the system controller drivers. This avoids interesting problems from manipulating these devices through Open Firmware behind the backs of their drivers.
Obtained from: NetBSD MFC after: 2 weeks
|
#
204692 |
|
04-Mar-2010 |
nwhitehorn |
Rework smu(4) to be asynchronous. It turns out that the combination of the automatic fan management and the polling in smu_run_cmd() was putting my system interrupt load at 20%. This change reduces that to 0.4%.
|
#
204270 |
|
23-Feb-2010 |
nwhitehorn |
Add the ability to set SMU-based machines to restart automatically after power loss.
|
#
204218 |
|
22-Feb-2010 |
nwhitehorn |
Provide a new useless feature: an led(4) interface for the system's sleep LED.
|
#
204180 |
|
21-Feb-2010 |
nwhitehorn |
Add a simple fan management callout to the SMU driver. This is designed such that a fancier thermal management algorithm can be run from user space, but the kernel will at least ensure your machine does not either sound like a wind tunnel or catch fire.
|
#
204179 |
|
21-Feb-2010 |
nwhitehorn |
Fix several mistakes in this file, in order to allow individual fan speeds to be read and set correctly.
|
#
204082 |
|
19-Feb-2010 |
nwhitehorn |
Allow the SMU driver to read a variety of hardware sensors (possible questions on the thermal calibration), and to read and set fan RPMs from software. While here, fix a number of bugs.
Calibration code from: OpenBSD MFC after: 2 weeks
|
#
194679 |
|
23-Jun-2009 |
nwhitehorn |
Add cpufreq support on the PowerPC G5, along with a skeleton SMU driver in order to slew CPU voltage during frequency changes. The OpenBSD SMU driver was an extremely helpful reference for this.
|