- 25 May, 2004 1 commit
-
-
Ivan Kokshaysky authored
Unlike most other alphas, ruffian uses i8253 timer instead of RTC as the system clock source. However, the PIT clock divisor (LATCH) is bogus since CLOCK_TICK_RATE has been changed to 32 KHz. Fixed using recently introduced PIT_TICK_RATE macro. Ivan.
-
- 24 May, 2004 2 commits
-
-
Paul Mackerras authored
This improves the stack traces we get on PPC64 by putting a marker in those stack frames that are created as a result of an interrupt or exception. The marker is "regshere" (0x7265677368657265). With this, stack traces show where exceptions have occurred, which can be very useful. This also improves the accuracy of the trace because the relevant return address can be in the link register at the time of the exception rather than on the stack. We now print the PC and exception type for each exception frame, and then the link register if appropriate as the next item in the trace.
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
- 25 May, 2004 1 commit
-
-
Russell King authored
-
- 24 May, 2004 15 commits
-
-
Russell King authored
- access SA1111 GPIO using sa1111_set_io functions. - access Lubbock misc register using lubbock_set_misc_wr - fix CF voltage selection. - don't fiddle with PCMCIA voltage selection when selecting CF voltage. - wait for the voltage switches to stabilise before reading the new card state.
-
Russell King authored
-
Ian Campbell authored
Patch from Ian Campbell The recent changeset "Sanitise handling of unneeded syscall stubs" missed __ARCH_WANT_SYS_PAUSE from include/asm-arm/unistd.h.
-
Russell King authored
-
Russell King authored
Disabling IRQs over context switches causes unreasonable IRQ latency on VIVT cached machines, so provide our own prepare_arch_switch(), finish_arch_switch() and task_running() implementations. We provide an optimised UP version so we don't end up needlessly incrementing and decrementing the preempt count.
-
Russell King authored
These are supposed to be ordered by option name.
-
Russell King authored
Using these old definitions on PXA will result in randomly scribbling over memory. Remove them.
-
http://linux-sound.bkbits.net/linux-soundLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
James Bottomley authored
Any architecture (like pa-risc) that makes use of the helper function flush_dcache_mmap_lock() won't compile with the new rmap due to use of the wrong "mapping". Trivial fix.
-
bk://linux-scsi.bkbits.net/scsi-for-linus-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Russell King authored
- There are only 16 entries in the pseudo palette - For dual-panel displays, we need to halve the display height - When disabling the LCD controller, use LCCR0_DIS (aka slow disable) rather than quick disable. - Clean up compiler warnings.
-
Russell King authored
Some SA1111 devices are unable to clear the PS/2 receive IRQ before it has been serviced, so we always re-enter the handler one more time than is strictly necessary. We can't clear the IRQ after servicing because that causes race conditions with other SA1111 devices, so we take the easy option and always return IRQ_HANDLED.
-
Russell King authored
- Move CKEN manipulation into power management handling (so we don't shut down the clock to the console port.) - .iotype should be using UPIO_xxx not SERIAL_IO_xxx - Remove each port when module is unloaded. - Remove needless #include. - Remove ASYNC_SKIP_TEST - we don't have any tests to skip.
-
Russell King authored
-
Russell King authored
This provides an atomic method to update the Lubbock board specific register from various drivers.
-
- 23 May, 2004 18 commits
-
-
Russell King authored
-
Russell King authored
Fix an oops caused by a missing failure return value for devices which do not require DMA bouncing.
-
bk://bk.arm.linux.org.uk/linux-2.6-pcmciaLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Jaroslav Kysela authored
PCM Midlevel,ALSA Core Added SNDRV_PCM_SYNC_PTR_APPL and SNDRV_PCM_SYNC_PTR_AVAIL_MIN extensions to SYNC_PTR ioctl for PCM API.
-
Jaroslav Kysela authored
VIA82xx driver - added the DXS entry for ECS K7VTA3 v8.0 - fixed the DXS entry for ASUS A7V8X to NO_VRA.
-
Jaroslav Kysela authored
ALSA Core added reverse selections of components to CONFIG_SND_BIT32_EMUL.
-
Jaroslav Kysela authored
PCI drivers,ICE1712 driver,ICE1724 driver - improved the description of ice1724 driver on Kconfig. - better support of VT1720 with snd-ice1724 driver. - check PCI subsystem IDs when no EEPROM is available (ice1724 only) - change the driver name string if given in the board list. - merged prodigy 7.1 support into aureon.c. they are almost identical. - allow to use PDMA4 and RMDA1 for non-SPDIF purpose if specified (ice1724 only).
-
Vadim Lobanov authored
-
http://linux-mh.bkbits.net/bluetooth-2.6David S. Miller authored
into nuts.davemloft.net:/disk1/BK/net-2.6
-
Marcel Holtmann authored
The PCMCIA devices are not devices for the kernel and the bt3c_cs driver uses a fake device for calling request_firmware(). The fake device initialization must also set .kobj.k_name to prevent an oops until PCMCIA devices are fully integrated into the driver model.
-
Marcel Holtmann authored
It is not possible to use __module_get() when adding a new RFCOMM session, because there is a case where no reference count is hold. This happens when the module is not in use right now and an incoming connection occurs.
-
Brian King authored
Bump driver version
-
Brian King authored
This patch removes all usage of anonymous unions from the ipr driver since gcc 2.95 does not support anonymous unions.
-
Brian King authored
This patch fixes an oops discovered in test which can occur on bad hardware if the ipr adapter times out coming operational.
-
Brian King authored
This patch adds additional error logging to abort, device reset, and bus reset paths to help in diagnosing scsi problems on ipr.
-
Brian King authored
This patch fixes an issue where ipr was including a kernel data structure, list_head, in a packed structure, which causes compile issues on some architectures, and is just a bad thing to do.
-
James Bottomley authored
From: Alan Cox <alan@redhat.com> Pretty minimal. queue_command is now called locked, this requires propogating some small locking changes for send_s870
-
Alexander Viro authored
This takes ncpfs ioctl handling into fs/compat_ioctl.c, removing it from ppc64 and sparc64 code. Code sanitized, switched to compat_alloc_user_space(), bunch of {k,v}malloc() killed.
-
- 22 May, 2004 3 commits
-
-
Linus Torvalds authored
-
Roland McGrath authored
There is a longstanding bug in the rt_sigreturn system call. This exists in both 2.4 and 2.6, and for almost every platform. I am referring to this code in sys_rt_sigreturn (arch/i386/kernel/signal.c): if (__copy_from_user(&st, &frame->uc.uc_stack, sizeof(st))) goto badframe; /* It is more difficult to avoid calling this function than to call it and ignore errors. */ /* * THIS CANNOT WORK! "&st" is a kernel address, and "do_sigaltstack()" * takes a user address (and verifies that it is a user address). End * result: it does exactly _nothing_. */ do_sigaltstack(&st, NULL, regs->esp); As the comment says, this is bogus. On vanilla i386 kernels, this is just harmlessly stupid--do_sigaltstack always does nothing and returns -EFAULT. However this code actually bites users on kernels using Ingo Molnar's 4G/4G address space layout changes. There some kernel stack address might very well be a lovely and readable user address as well. When that happens, we make a sigaltstack call with some random buffer, and then the fun begins. To my knowledge, this has produced trouble in the real world only for 4G i386 kernels (RHEL and Fedora "hugemem" kernels) on machines that actually have several GB of physical memory (and in programs that are actually using sigaltstack and handling a lot of signals). However, the same clearly broken code has been blindly copied to most other architecture ports, and off hand I don't know the address space details of any other well enough to know if real kernel stack addresses and real user addresses are in fact disjoint as they are on i386 when not using the nonstandard 4GB address space layout. The obvious intent of the call being there in the first place is to permit a signal handler to diddle its ucontext_t.uc_stack before returning, and have this effect a sigaltstack call on the signal handler return. This is not only an optimization vs doing the extra system call, but makes it possible to make a sigaltstack change when that handler itself was running on the signal stack. AFAICT this has never actually worked before, so certainly noone depends on it. But the code certainly suggests that someone intended at one time for that to be the behavior. Thus I am inclined to fix it so it works in that way, though it has not done so before. It would also be reasonable enough to simply rip out the bogus call and not have this functionality. From the current state of code in both 2.4 and 2.6, there is no fathoming how this broken code came about. It's actually much simpler to just make it work! I can only presume that at some point in the past the sigaltstack implementation functions were different such that this made sense. Of the few ports I've looked at briefly, only the ppc/pc64 porters (go paulus!) actually tried to understand what the i386 code was doing and implemented it correctly rather than just carefully transliterating the bug. The patch below fixes only the i386 and x86_64 versions. The x86_64 patches I have not actually tested. I think each and every arch (except ppc and ppc64) need to make the corresponding fixes as well. Note that there is a function to fix for each native arch, and then one for each emulation flavor. The details differ minutely for getting the calls right in each emulation flavor, but I think that most or all of the arch's with biarch/emulation support have similar enough code that each emulation flavor's fix will look very much like the arch/x86_64/ia32/ia32_signal.c patch here.
-
Andrew Morton authored
From: Rajesh Venkatasubramanian <vrajesh@umich.edu> This patch adds prefetches for walking a vm_set.list. Adding prefetches for prio tree traversals is tricky and may lead to cache trashing. So this patch just adds prefetches only when walking a vm_set.list. I haven't done any benchmarks to show that this patch improves performance. However, this patch should help to improve performance when vm_set.lists are long, e.g., libc. Since we only prefetch vmas that are guaranteed to be used in the near future, this patch should not result in cache trashing, theoretically. I didn't add any NULL checks before prefetching because prefetch.h clearly says prefetch(0) is okay.
-