- 16 Mar, 2004 20 commits
-
-
Bartlomiej Zolnierkiewicz authored
ATAPI multi-lun support has been broken for a long time. It used to be that "(drive->id->last_id & 0x7) + 1" was used as shost->max_lun and the "hdXlun=" kernel parameter could be used to override this value. However it was far from optimal: - people played with "hdXlun=" and then complained about multiple instances of the same device (most ATAPI drives respond to each LUN) - probably some devices return 7 not 0 in id->last_id (=> 7 x same device) This patch from Willem Riede <wrlk@riede.org> fixes it w/o need for "hdXlun=" option. It was tested by Willem on ATAPI PD/CD drive.
-
Rusty Russell authored
wait_task_inactive is now only used in two non-time-critical places: the ptrace code to guarantee a schedule and kthread_bind so we can change the thread CPU. Unfortunately with preempt, the code as stands has a race: we might return because the thread is preempted, not because it actually reached schedule(). The ptrace code (probably) doesn't care, but the kthread code does. This patch simplifies the (now over-optimized) code, and does a yield() for the preemption case.
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/usb-2.6
-
Jeremy Katz authored
Simple obvious patch so that all calls to blkpg from the non-native environment don't get -EINVAL
-
bk://gkernel.bkbits.net/net-drivers-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
Jeff Garzik authored
into redhat.com:/spare/repo/net-drivers-2.6
-
Jeff Garzik authored
RX skbs are always considered maximally sized, until actual reception of the RX frame occurs. So, update this driver to always map and unmap a maximally sized skb. This fixes this driver on several non-x86 platforms.
-
bk://gkernel.bkbits.net/misc-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
Jeff Garzik authored
-
bk://gkernel.bkbits.net/libata-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
http://jfs.bkbits.net/linux-2.5Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
Dave Kleikamp authored
-
Linus Torvalds authored
Verified to not break anything on x86 either.
-
Greg Kroah-Hartman authored
This saves some memory and is easier to understand what is happening.
-
http://lia64.bkbits.net/to-linus-2.5Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
Bjorn Helgaas authored
We also need the following patch to build the generic_defconfig after the DMA API change: http://linux.bkbits.net:8080/linux-2.5/cset@405490e15inT3T0H2x887j9SaMkYRQ
-
Greg Kroah-Hartman authored
into kroah.com:/home/linux/BK/usb-2.6
-
bk://kernel.bkbits.net/vojtech/inputLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
bk://dtor.bkbits.net/inputVojtech Pavlik authored
-
Vojtech Pavlik authored
-
- 15 Mar, 2004 20 commits
-
-
Jens Axboe authored
This patch is from Iomega, and it allows random write opens of CDROM's that support the feature.
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> We have some versions of firmware out there that have huge OF properties. So huge that we end up overwriting our initrd. Place a 1MB limit and warn bitterly if its over this. Also fix a use of package-to-path where the variable was 64bytes but we would pass in a length of 255.
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> ppc64 defconfig update
-
Andrew Morton authored
From: Jeremy Kerr <jk@ozlabs.org> This patch fixes the sleep in spinlock hvc bug in hvc_write(). The code is a little longer, but protects against large amounts of memory being kmalloc()ed by userspace, and minimises calls to copy_from_user().
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> Clean up xmon backtrace code, it was doing all manner of scary things.
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> Cleanup ppc64 procfs code: - Use initcalls everywhere. This allowed us to remove the iseries proc callback interface. - Kill proc_pmc.c. Most of it wasnt used (and we are planning to export the PMCs via sysfs). The few things left were iseries specific so they got moved into iSeries_proc.c. - Kill pmc.c. We dont use those statistics and the ones that are left can be gained via PMCs. - Create /proc/iSeries and /proc/ppc64 very early. This means we no longer have to call proc_ppc64_init in all the drivers, we can assume its there. - Fix some error return cases in rtas-proc.c and rtas-flash - Dont even try some pseries specific drivers on pmac.
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> Add kernel version to oops.
-
Andrew Morton authored
From: John Rose <johnrose@austin.ibm.com> Fixed NULL ptr deref in RTAS syscall ppc_rtas()
-
Andrew Morton authored
From: John Rose <johnrose@austin.ibm.com> Added rtas_set_power_level()
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> Remove pci DMA exports we now access them via inline functions that operate on pci_dma_ops.
-
Andrew Morton authored
From: Stephen Rothwell <sfr@canb.auug.org.au> Dont enable interrupts during interrupt processing on iseries
-
Andrew Morton authored
From: Jake Moilanen <moilanen@austin.ibm.com> In xics_get_irq(), for a real-to-virt irq lookup, go down the slowpath by looking through the entire virt_irq_to_real_map array if take a miss on the radix tree. This is possible, when an interrupt is taken before the driver has called request_irq() (eg IDE).
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> - export find_next_bit and move the other exports here - fix a few minor style issues
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> update iseries default target
-
Andrew Morton authored
From: Stephen Rothwell <sfr@canb.auug.org.au> After this the only iSeries specific EXPORT_SYMBOLS in ppc_ksyms.c are the assembler ones ...
-
Andrew Morton authored
From: Dave Boutcher <boutcher@us.ibm.com> Add some functions to make vio.h consistant with pci_dma.h and dma_mapping.h
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> - Merge some whitespace differences with the ameslab tree - We check for CPU_MASK_ALL in xics to send irqs to all cpus. In some cases CPU_MASK_ALL is smaller than the cpumask (eg NR_CPUS == 32 and cpumask is a long), so we mask it here to be consistent.
-
Andrew Morton authored
From: Linas Vepstas <linas@austin.ibm.com> This patch fixes multiple EEH-related bugs: - Fixes the eeh_check_failure() usage in an interrupt context. This routine is now safe to use in an interrupt. The fix was to build a cache of IO addresses and check that, instead of using the pci routines. - Merges in Olof Johansson's sizeof patch when checking for failure - Adds EEH tests to array/string reads - Fixes bugs with address resolution (some i/o addresses were handled incorrectly, resulting in EEH errors slipping by undetected.) - Adds EEH support to the PCI Hotplug system (so that devices that get added/removed get properly registered with the EEH subsystem.) - Fixes improper use of /proc filesystem. - Adds some misc statistics. While merging Linas' patch I also converted the proc usage to seq_single, used per cpu variables for the stats and removed the eeh-force-off option.
-
Andrew Morton authored
From: Linda Xie <lxiep@us.ibm.com> The changes in this patch are for multifunction cards insertions/removals and bug fixes: 1. fix up new nodes' linux_phandle field. 2. new nodes' phb, devfn(and so on) need to be fixed even the nodes don't have "interrupts". 3. change of_remove_node to non-recurisve func. The recursions will be done by the caller. 4. add a new function -- of_finish_dynamic_node_interrupts()
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> Add some missing EXPORT_SYMBOLs
-