- 07 Jun, 2003 1 commit
-
-
Dave Jones authored
powernow-k7 needs dmi_broken
-
- 05 Jun, 2003 5 commits
-
-
Dave Jones authored
from Dmitry Torokhov. I have the following problems with ACPI P-States driver: - It crashes because it tries to switch CPU speed without registering cpufreq driver first but acpi_processor_set_performance calls cpufreq_notify_transition. - When testing for capable CPUs it skips all online ones so for my single CPU notebook it can't activate at all. - If a processor does not support throttling then it will say that "limit" interface is not supported even after activating performance control. The patch below should fix these issues. It also adds some info messages since /proc/acpi/processor/*/performance interface is marked obsolete but i still would like to see if P-states were recognized during boot.
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
From Dominik Brodowski. This removes the special export of cpufreq_driver for proc_intf.c. Instead, the behaviour of /proc/cpufreq previous of Greg's class re-write is back: the check whether cpufreq_driver is loaded is done within cpufreq_cpu_get
-
Dave Jones authored
When scaling upwards, we need to change the voltage before the frequency. When scaling downwards, the opposite. This may fix some of the hangs people have been seeing when jumping from a low frequency to a very high frequency.
-
- 04 Jun, 2003 24 commits
-
-
Roman Zippel authored
A few choice handling fixes: - only visible choice values define the new state of the complete choice - improve handling of choices without visible value - two new warnings
-
Neil Brown authored
If /proc/mdstat is large, or reads are for a small size, then the last line of /proc/mdstat is repeated infinitely. This patch will fix it.
-
Neil Brown authored
Some paths free things twice, others free un-initialised values :-( Not any more.
-
Neil Brown authored
When raid1 writes, it needs to schedule writes to some number of devices, and when all writes have completed, the r1_bio structure that holds it all together must be freed. However we must make sure not to free it before all devices have been considered for submitting writes to. This happens in two places: when submitting a normal write request and when submiting a write as part of resync. This patch makes both these places: the same simpler more correct.
-
Neil Brown authored
-
David Mosberger authored
This re-organizes the thread info allocations a bit, so that architectures like ia64 that want to allocate the thread_info structure as part of the task structure allocation can do so. The bulk of the patch is adding the "tsk" information to the thread info allocator (ignored by all non-ia64 architectures), and switching the order of the allocators to make this all possible.
-
Andrew Morton authored
From: Mark Fasheh <mark.fasheh@oracle.com> journal_create() is called under down_write(s_umount) on the mount path. But it calls fsync_bdev(), which wants down_write(s_umount). Change journal_create() to run sync_blockdev() instead. Just to write out the new journal's blocks.
-
Andrew Morton authored
From Jens: It fixes the occasional BUG_ON(list_empty(&req->queuelist)); which people have been hitting in include/linux/blkdev.h: blkdev_dequeue_request()
-
Andrew Morton authored
From: "Seth, Rohit" <rohit.seth@intel.com> This patch enables system administrators to more flexibly assign read/write permissions to files in hugetlbfs. Mount options are added which will specify the uid, gid and mode of the filesystem's root directory. This patch also enables super users to do chown/chgrp on files in hugetlbfs. Also included in this patch is the support for uid, gid and mode command line options for mount command for hugetlbfs. The following mount options are added to hugetlbfs: uid=value gid=value mode=value The values may be specified in hex (0xNNN), decimal or octal (0NNN).
-
Andrew Morton authored
From: Oleg Drokin <green@namesys.com> This patch allows reiserfs to support blocksizes from 1024 bytes and up to PAGE_CACHE_SIZE. Also it fixes two glitches that prevent reiserfs from working correctly in case if PAGE_CACHE_SIZE is bigger than blocksize. Originally this patch was created by Edward Shushkin and Vladimir Saveliev, and then it was adapted to modern 2.4 and 2.5 by me. Also people should be aware that 1024 bytes blocksize is not very good thing as tree grows very fast. mkreiserfs is able to create filesystems with different blocksizes for quite a while already (-b switch).
-
Andrew Morton authored
From: Oleg Drokin <green@namesys.com> This patch adds support for remounting taking into account all extra options you may want to pass it. (by Jeff Mahooney). Also it reworks the parser to correctly deal with mutually exclusive options. Now whatever option was specified last will take an effect. - If you pass more than one jdev= option, the error will be reported and mount/remount refused. - If you pass incorrect alloc= suboptions, the mount/remount will fail. (it did not before). - nolargeio now actually looks at its argument. Argument is expected to be numeric. If it is zero, default io size is set to 128k (default setting), if it is non-zero, default io size is set to PAGE_SIZE.
-
Andrew Morton authored
From: "Milton D. Miller II" <miltonm@realtime.net> The code at present has a small problem: when a fault is encountered we will run commit_write() to cover the amount of data which was successfully copied in from userspace. But filemap_copy_from_user() may have zeroed out some more of the page. So pagecache now has zeroes and the buffer_head which represents those zeroes is not dirtied. So a subsequent eviction and re-read of the file in the window beyond the faulting offset will return the file's old contents and not the zeroes. So we change filemap_copy_from_user_iovec() to have the same behaviour as the non-iovec filemap_copy_from_user(), and ensure that the commit_write() covers the parts of the page which copy_from_user() zeroed out.
-
Andrew Morton authored
From: Pavel Roskin <proski@gnu.org>, via Christoph Hellwig <hch@infradead.org> It's already the second time that I encounter a kernel panic in the same place. When devfs_remove() is called on a non-existent file entry, the kernel panics and I have to reboot the system. First time it was unregistering of pseudoterminals. This time it's ide-floppy module that doesn't register devfs entries if the media is absent but still tries to unregister them. The bug in ide-floppy will be reported separately. The point of this message is that the failure in devfs_remove() is possible, especially with rarely used drivers. Secondly, is not fatal enough to justify an immediate panic and reboot. Thirdly, devfs misses a chance to tell the user what's going wrong.
-
Andrew Morton authored
From: Hollis Blanchard <hollisb@us.ibm.com> Like radio-cadet.c, bw-qcam.c is calling copy_to_user() where it shouldn't. The user buffer is copied to/from kernel space by drivers/media/video/videodev.c:video_usercopy().
-
Andrew Morton authored
From: Hollis Blanchard <hollisb@us.ibm.com> Another simple case of a memcpy that should be copy_from_user... Also fix some error-path memory leaks.
-
Andrew Morton authored
From: Hugh Dickins <hugh@veritas.com> PageDirty BUG_ON in __remove_inode_page is, and always has been, unsafe for SMP or preemption: truncation may be racing against unmapping's set_page_dirty in zap_pte_range (amongst a few other possibilities). !PageUptodate error in __set_page_dirty_buffers is unsafe then too.
-
Andrew Morton authored
From: Hollis Blanchard <hollisb@us.ibm.com> Fix a direct userspace access, found by the Stanford checker.
-
Andrew Morton authored
From: Hollis Blanchard <hollisb@us.ibm.com> Fix a direct userspace access, found by the Stanford checker.
-
Andrew Morton authored
From: Hollis Blanchard <hollisb@us.ibm.com> As pointed out by the Stanford checker, 'v' is not tainted. The driver shouldn't be using copy_to_user() in cadet_do_ioctl() at all: cadet_do_ioctl() is being called by drivers/media/video/videodev.c: video_usercopy(), which has already copied the buffer 'arg' (aka 'v') into kernel space, and will copy it back after cadet_do_ioctl() returns. So all the direct 'v' accesses are correct.
-
Andrew Morton authored
From: Christoph Hellwig <hch@lst.de> - don't add one level of indentation when taking a lock - remove useless ti_global struct
-
Andrew Morton authored
- comment fixes - duplicated assignments - Remove a prototype which is in aio.h already - Some __user annotation - use the existing symbolic names, not magic numbers.
-
Andrew Morton authored
Fix broken "cleanup"
-
bk://kernel.bkbits.net/gregkh/linux/pci-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
bk://bk.arm.linux.org.uk/linux-2.5-rmkLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
- 05 Jun, 2003 2 commits
-
-
Russell King authored
This merges arch.c, irq.c and mm.c into one core file for this platform; it's pointless keeping these separate.
-
Russell King authored
Since struct platform_device now has the ability to pass resources, defined by the platform to the device driver, we can now use this to handle platform specific devices. One such instance is the StrongARM SA1111 companion chip, which can appear in various address spaces, and connected to different IRQ lines depending on how many cups of coffee the hardware designer had, the direction of the wind outside the designers office that day. We also convert some of the other StrongARM peripheral on-chip devices to use struct platform_device. ARM also provides a platform_add_devices() function which can be used by platform code to bulk-register a tabular set of platform devices.
-
- 04 Jun, 2003 8 commits
-
-
Russell King authored
-
Russell King authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-