- 13 Jan, 2003 25 commits
-
-
Matthew Wilcox authored
Updates for 2.5.56: - Integrate Stephen Rothwell's compat code - OProfile support for Randolph Chung - Makefile updates from Sam Ravnborg - Regenerated defconfig as requested by Rusty - Generic device model updates (James Bottomley) - And lots of general updating bugfixing, etc.
-
Dominik Brodowski authored
This patch by Hiroshi Miura adds a cpufreq driver for Cyrix MediaGX and National Semiconductor Geode processors using "Suspend Modulation". It's partly based on Zwane Mwaikambo's work.
-
Dominik Brodowski authored
This patch adds a sysfs interface to the cpufreq core, and marks the previous /proc/cpufreq interface as deprecated. As in drivers/base/cpu.c a "CPU driver" is registered, cpufreq acts as "interface" to this, offering the following files for each CPU (in /system/devices/sys/cpu.../) where CPUfreq support is present cpuinfo_min_freq (ro) - minimum frequency (in kHz) the CPU supports cpuinfo_max_freq (ro) - maximum frequency (in kHz) the CPU supports scaling_min_freq (rw) - minimum frequency (in kHz) cpufreq may scale the CPU core to scaling_max_freq (rw) - maximum frequency (in kHz) cpufreq may scale the CPU core to scaling_governor (rw) - governor == "A feedback device on a machine or engine that is used to provide automatic control, as of speed, pressure, or temperature" [1, as noted by David Kimdon]. Decides what frequency is used. Currently, only "performance" and "powersave" are supported, more may be added later. (In future, a file scaling_driver (ro) which shows what CPUfreq driver is used (arm-sa1100, gx-suspmod, speedstep, longrun, powernow-k6, ...) might be added, and this driver will be allowed to add files scaling_driver_* for driver-specific settings like "prefer fast FSB". And scaling_governor_* files might offer settings for the governor.) To implement this sysfs interface, the driver model "interface" code is used. Unfortunately, it has a non-trivial locking bug in drivers/base/intf.c: there's a down_write call for cls->subsys.rwsem in add_intf(), which then calls add(), which may call intf->add_device(), which may call interface_add_data(), which calls kobject_register(), which calls kobject_add(), which then tries to down_write cls->subsys.rwsem. Remember, that was already locked writable in add_intf(). Because of that, interface_add_data() is commented out; this means that no link in /system/class/cpu/cpufreq is added, and that the dev-removal code isn't called. This shouldn't be a problem yet, though; as no cpufreq driver I know of is capable of CPU hotplugging. Dominik [1] http://dictionary.reference.com/search?q=governor
-
Corey Minyard authored
-
Jochen Friedrich authored
When mounting a Linux partition with NFSv2, READDIR fills in the last cookie without properly byte-swapping it. The following READDIR will fail, so the NFS client sees a truncated directory. Fix it thus.
-
bk://ldm.bkbits.net/linux-2.5-coreLinus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Patrick Mochel authored
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-core
-
Patrick Mochel authored
- Remove count and off parameters from per-node meminfo show() method.
-
Patrick Mochel authored
- Remove count and off parameters from show() methods. - Remove manual handling of reading from an offset, since the sysfs core handles that now. - Remove temp. buffer.
-
Patrick Mochel authored
- Remove count and off parameters from show() methods. - Remove off parameter from store() methods. Note 1: These have not been tested, but should be obviously correct. Note 2: snprintf() was replaced with sprintf() where the filled buffer would obviously be < PAGE_SIZE. (like when printing single integer values). In places where strings were printed, PAGE_SIZE is used as the max string size.
-
Patrick Mochel authored
- Reinstate count parameter for store() methods. - Remove off parameter from st.c and osst.c sysfs methods. - Remove count parameter from st.c and osst.c show() methods.
-
Patrick Mochel authored
-
Patrick Mochel authored
- Fixup struct device_attribute. - Fix the default device attributes.
-
Patrick Mochel authored
- Fixup bus, driver, and class methods.
-
Patrick Mochel authored
- Fixup subsys_sysfs_ops along the way.
-
Patrick Mochel authored
...instead of returning the error value (which is number of bytes remaining).
-
bk://are.twiddle.net/mod-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Linus Torvalds authored
-
Jaroslav Kysela authored
- ISA PnP - removed isapnp_card_protocol reference - NE1000/2000 - fixed exit sequence and bugs in PnP code - aironet4500 - fixed exit sequence - ISDN - hisax_fcpcipnp - fixed compilation - OSS sound drivers - ad1848, cs4232 - updated to latest PnP code
-
Linus Torvalds authored
-
Richard Henderson authored
-
Robert Love authored
As you mentioned, we do not correctly identify the P4-based Celeron in the kernel configuration help. Unfortunately, Intel has called all Celeron products simply "Celeron", so we call these "P4-based Celerons".
-
Linus Torvalds authored
-
Brian Gerst authored
Check for PnP BIOS in all fault paths, not just in do_trap().
-
http://ppc.bkbits.net/for-linus-ppc64Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
- 14 Jan, 2003 6 commits
-
-
Anton Blanchard authored
-
Anton Blanchard authored
into samba.org:/scratch/anton/sfr
-
Anton Blanchard authored
into samba.org:/scratch/anton/sfr
-
Anton Blanchard authored
-
Anton Blanchard authored
into samba.org:/scratch/anton/for-alan
-
Anton Blanchard authored
into samba.org:/scratch/anton/for-alan
-
- 13 Jan, 2003 5 commits
-
-
Anton Blanchard authored
-
Anton Blanchard authored
into samba.org:/scratch/anton/for-alan
-
bk://kernel.bkbits.net/davem/net-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
bk://kernel.bkbits.net/davem/sparc-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
bk://ppc.bkbits.net/for-linus-ppcLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
- 14 Jan, 2003 2 commits
-
-
Paul Mackerras authored
A couple of occurrences of struct free_pte_ctx in include/asm-ppc/tlb.h got missed in akpm's patch - this fixes them.
-
Dale Farnsworth authored
copy_from_user is supposed to transfer as much data as is valid and then to return the number of bytes not tranferred. That's how it works on x86. On ppc it can be as much as 15 bytes short. I initially saw the problem with the mount system call. Note that the fifth argument to mount is an address 8 bytes from the end of user data space. There is a null byte at that address, since no mount options are being passed. In the kernel, sys_mount() allocates a page for the options and does copy_from_user(new_page, 0x1005eff8, PAGE_SIZE). copy_from_user should copy 8 bytes and return (PAGE_SIZE-8). Instead, on ppc it reads 8 bytes, faults, writes no bytes, and returns PAGE_SIZE, which causes the EFAULT to be erroneously reported.
-
- 13 Jan, 2003 1 commit
-
-
Paul Mackerras authored
into samba.org:/home/paulus/kernel/for-linus-ppc
-
- 12 Jan, 2003 1 commit
-
-
David S. Miller authored
-