- 21 Nov, 2003 3 commits
-
-
David Mosberger authored
for 2.6.0. The proper fix is to replace ia64_ni_syscall with sys_ni_syscall, but that would make the patch quite large, so we defer that till 2.6.1.
-
David Mosberger authored
restore_sigcontext(). Also update ia32 subsystem accordingly.
-
David Mosberger authored
in practice, but it's clearly wrong and just waiting there to get triggered...
-
- 15 Nov, 2003 1 commit
-
-
David Mosberger authored
-
- 13 Nov, 2003 1 commit
-
-
Arun Sharma authored
The #ifdef CONFIG_SMP around the call to schedule_tail was removed a long time ago for native ia64, but ia32 emulation continues to have a #ifdef. We saw a bunch of weird behavior with respect to getpid() on multithreaded programs (they behave ok on SMP, but break on UP).
-
- 11 Nov, 2003 2 commits
-
-
David Mosberger authored
signal handler. Otherwise, a restarted system call that gets interrupted before the restart has taken effect by _another_ signal will potentially restart the wrong system call.
-
Jack Steiner authored
Without this patch, SN machines which have nodes that contain memory only (no CPUs will hang.
-
- 10 Nov, 2003 3 commits
-
-
David Mosberger authored
-
Paul Jackson authored
Display of cpumask for /proc/irq/prof_cpu_mask has a botch in the print loop - should consume 2 bytes per loop.
-
David Mosberger authored
Found by Russell King.
-
- 03 Nov, 2003 2 commits
-
-
Kochi Takayoshi authored
This patch prevents a crash that happens when per-CPU data is allocated only for CPUs that are online.
-
Alan Mayer authored
If sg->dma_address is set, we try to do a __pa() on a dma_address, then, later, create a dma_addresss from a munged dma_address. When this bogus dma_address is used by the card, it results in MCAs.
-
- 27 Oct, 2003 3 commits
-
-
Stéphane Eranian authored
Here is the minimal patch that fixes things that do not work and that can be noticed fairly easily: - remove a typo in pfm_check_task_state() which causes PFM_READ_PMDS to fail when context is in PFM_MASKED state. - fix a typo in perfmon_mcklinley.h when checking the value combinations for when writing to PMC14. This could reject a valid request to program PMC14.
-
David Mosberger authored
into tiger.hpl.hp.com:/data1/bk/lia64/to-linus-2.5
-
Stéphane Eranian authored
-
- 25 Oct, 2003 2 commits
-
-
Linus Torvalds authored
-
http://lia64.bkbits.net/to-linus-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
- 24 Oct, 2003 2 commits
-
-
David Mosberger authored
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
- 25 Oct, 2003 1 commit
-
-
Russell King authored
-
- 24 Oct, 2003 5 commits
-
-
Knut Petersen authored
This is a bugfix for setkeycode() in /drivers/char/keyboard.c. If we change a keycode the corresponding bit should be cleared if and only if this keycode is not defined any longer. I believe that this also was intended with the original code, but the implementation is faulty. First off all the first three changed lines are obviously erroneus: oldkey == truekey is false or true, you do not need to inclose this in a for(). I believe the author intended INPUT_KEYCODE(dev,i) == oldkey. But fixing this alone is not enough. If somebody wants to interchange the definition of two keys A and B, the normal way is to use two setkeycode calls: setkeycode (scancode A, keycode B); setkeycode (scancode B, keycode A); The old code does a clearbit(oldkey ..) call even in situations where two keys have the same definition, and this situation arises commonly in the situation mentioned above. Both errors are fixed with this patch.
-
Knut Petersen authored
If somebody uses keyboard scancode set 3 it is necessary to explicitly program the keyboard to send make/break codes for all keys and to set autorepeat for all keys. This is critical for some people. One example is the LK461/46W series of keyboards from Digital Equipment Corporations. These are VMS keyboards that are also usable on a normal PC. These keyboards support Scancode Set 2, but for some keys this support is screwed up -- some function keys (e.g. F18/F20) report the same scancode sequence combined with both alt and shift keys. Scancode Set 3 works perfectly if all keys are programmed to give make/break codes. A lot of keyboards manufactured by Cherry only make/break for some (not all!) modifyer keys in scancode set 3 without this fix.
-
bk://kernel.bkbits.net/gregkh/linux/usb-2.6Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
bk://kernel.bkbits.net/davem/sparc-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
This fixes resource conflicts due to IO decode that doesn't show up with a normal PCI probe (we do similar quirks for most other chipsets). Without it, the kernel doesn't know about some magic IO decodes for the chips.
-
- 23 Oct, 2003 15 commits
-
-
David S. Miller authored
into nuts.ninka.net:/disk1/davem/BK/sparc-2.5
-
David S. Miller authored
-
David Brownell authored
This resolves a bug that was recently reported to me by someone enumerating a USB 1.1 modem through a high speed hub. I'm a bit surprised we never saw it before; I think cache/dma timings must usually be strongly in our favor. The problem was that the HC was still using the old ep0 maxpacket value, so when it received an 18 byte device descriptor it would report a packet overrun and enumeration would fail. The fix is straightforward: invalidate the HC's old endpoint state when we change the full speed maxpacket size. (And eventually, we can remove EHCI and OHCI code coping with usbcore not doing this.)
-
Stéphane Eranian authored
This patch fixes the following issues: - fix a nasty corner case by which a task could inherit psr.pp/psr.up that could be stale by the time it runs. psr.pp/psr.up bits must be cleared on fork and inherited on execve(). Test case provided by John Levon. - mask interrupts when locking the pfm stat structure. We don't want to take PMU interrupts in the middle of this kind of critical section. - fix a bug in pfm_close() for context which use asynchronous notifications. You cannot call fasync_helper() with interrupts disabled because it reenables them. There was no real danger of moving the call outside our critical section. - fix a bug in in pfm_flush_pmds() where you can leave the freeze bit set in the pmc saved state. - updated dump_pmu_state() - cleanup the BUG_ON() usage
-
Arun Sharma authored
his seems to be broken for ia32 on ia64 and possibly other emulation architectures as well. The problem comes from fs/namei.c:set_fs_altroot() using path_lookup() instead of a path_walk() relative to "/" (which is the case for 2.4).
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/usb-2.6
-
David Brownell authored
This fixes a problem that showed in usb-storage (osdl bugme 1310) and could have shown in other drivers that used usb_reset_device() when they already held dev->serialize: a self-deadlock with some devices. There are some drivers that should likely change so that they grab this lock themselves, since they don't call this during probe() when the lock is already held. The lock protects against config changes by other tasks, which is currently quite rate.
-
Alan Stern authored
An earlier patch caused trouble because it effectively removed the US_FL_FIX_INQUIRY flag for devices with release number higher than 0x5009. This one might cause problems because it explicitly goes against the immediately preceding comment in unusual_devs.h. That comment says that these Casio digital cameras claim to use the CBI transport when in fact they only use CB. However, there have been two reports in the last few weeks from people getting the "unneeded SubClass and Protocol" log messages. One of them was using a device with release number 0x1000, right at the start of the range. The other had a device with release number 0x5010, just beyond the end of the current range. Maybe Casio is marketing two different devices with different behaviors but having the same Vendor, Product, and Release values -- I don't know.
-
Carsten Busse authored
its for the Jenoptik JD 5200 z3 Digicam, to enable it to work as a simple storage device more or less i took the values for the 0x0d96 vendor in the 2.6.0-test7 usb-storage and mixed them with my device id, which seems to work quite well tested with 2.4.22 kernel
-
Ian Abbott authored
Patch by me (Ian Abbott). Removed aliases of FTDI_VID define for consistency. Renamed FTDI_PERLE_PID to FTDI_PERLE_ULTRAPORT_PID. Removed Matrix Orbital and Perle Systems devices from the 8U232AM device table (but left them in the FT232BM device table) as they are known to be FT232BM devices.
-
Ian Abbott authored
Scott Allen's patch to add vid/pid support for Perle Systems UltraPort USB serial converter, merged up with minor whitespace changes by myself (Ian Abbott).
-
David Brownell authored
Please merge this patch. I've had two success reports from it. Putback comment can be: Fixes some long-standing cdc-acm bugs including: - Oopsing - Probe messages not so excessive - Makes /proc/bus/usb/devices show both interface claims - Now cdc_acm won't hotplug for Ethernet devices (or RNDIS)
-
David T. Hollis authored
* ax8817x_set_multicast - use address of dev->data, not contents * ax8817x_write_async_cmd - free request and urb if submit fails
-
Arnaldo Carvalho de Melo authored
I'm doing an audit wrt copy_to_user leaking info to userspace, started with drivers/usb, please apply.
-
David Mosberger authored
-