Summary of changes from v2.6.0-test4 to v2.6.0-test5
============================================
<trini@kernel.crashing.org>
PPC32: Update the Motorola MCP(n) 765 support code.
From Mark Greer <mgreer@mvista.com>.
<sri@us.ibm.com>
[SCTP] Fix bugs in sysctl set/get of sctp rto parameters.
<trini@kernel.crashing.org>
PPC32: Cleanup arch/ppc/boot/simple/Makefile.
This is from Sam Ravnborg <sam@ravnborg.org>.
<davej@redhat.com>
[AGPGART] Fix up ATI's identity crisis.
Someone at ATI cloned the ALi GART driver, and never fixed up the references.
This meant namespace collisions if the ALI driver was compiled too.
Oops.
<davej@redhat.com>
[DRM] Update MAINTAINERS.
On request from Rik.
<trini@kernel.crashing.org>
PPC32: Fix a warning in the boot serial code.
From Scott Anderson <scott_anderson@mvista.com>.
<trini@kernel.crashing.org>
PPC32: Allow for hooks into the bootwrapper.
This allows for platform specific bi_recs to be passed in,
as well as other platform-specific fixups.
<trini@kernel.crashing.org>
PPC32: Fix udelay in the PPC boot code for non-16.6 MHz timebases.
Patch from Scott Anderson <scott_anderson@mvista.com> originally.
<trini@kernel.crashing.org>
PPC32: Minor fixups to the Motorola Sandpoint platform.
<trini@kernel.crashing.org>
PPC32: Export flush_tlb_page.
From Michel Daenzer <michel@daenzer.net>.
<trini@kernel.crashing.org>
PPC32: Fix a warning in the 'mktree' boot util.
<trini@kernel.crashing.org>
PPC32: A number of minor KGDB fixes and tweaks.
<trini@kernel.crashing.org>
PPC32: Add Magic SysRq support to the MPC8260 platforms.
From Wade Farnsworth <wfarnsworth@mvista.com>.
<paulus@samba.org>
PPC32: Define MCA_bus__is_a_macro. From Christoph Hellwig.
<arun.sharma@intel.com>
[PATCH] ia64: fix ia32 execve memory leak
The attached patch by Tony Luck fixes a memory leak in the ia32 execve code
path.
<davem@nuts.ninka.net>
[TG3]: Initial implementation of 5705 support.
<jgarzik@redhat.com>
[TG3]: Bug fixes for 5705 support.
- (major) status block DMA address wasn't being set, for 5705. whoops. :)
- (minor) pass 5705-specific RX_STD_MAX_SIZE
- (minor) don't program RCVBDI_JUMBO_THRESH reg on 5705
- (very minor) re-order *THRESH, HOSTCC* regs per bcm570x driver order
<jgarzik@redhat.com>
[TG3]: More 5705 updates.
- do not zero stats/status block on 5705, they don't exist
(in controller memory, at least)
- define TG3_MAX_MTU macro such that it takes a (tp) pointer arg,
because the value varies between 5705 and non-5705
- use the macro to simply tg3_change_mtu
<jgarzik@redhat.com>
[TG3]: More 5705 fixes.
- call set-wire-speed phy function from tg3_phy_reset, not just _phy_probe
- disable set-wire-speed usage on certain chips, per bcm5700 driver
<jgarzik@redhat.com>
[TG3]: Another 5705 fix: enable eeprom write prot as needed.
<jgarzik@redhat.com>
[TG3]: Only write the on-nic sram addr on non-5705.
<jgarzik@redhat.com>
[TG3]: Add 5782 pci id.
<davem@nuts.ninka.net>
[TG3]: Fix statistics on 5705.
<bellucda@tiscali.it>
[PATCH] USB: PATCH 1/19 Audit usb_register/usb_serial_register under divers/usb/serial
<bellucda@tiscali.it>
[PATCH] USB: PATCH 2/19 Audit usb_register/usb_serial_register under divers/usb/serial
<bellucda@tiscali.it>
[PATCH] USB: PATCH 3/19 Audit usb_register/usb_serial_register under divers/usb/serial
<bellucda@tiscali.it>
[PATCH] USB: PATCH 4/19 Audit usb_register/usb_serial_register under divers/usb/serial
<bellucda@tiscali.it>
[PATCH] USB: PATCH 5/19 Audit usb_register/usb_serial_register under divers/usb/serial
<bellucda@tiscali.it>
[PATCH] USB: PATCH 6/19 Audit usb_register/usb_serial_register under divers/usb/serial
<bellucda@tiscali.it>
[PATCH] USB: PATCH 7/19 Audit usb_register/usb_serial_register under divers/usb/serial
<bellucda@tiscali.it>
[PATCH] USB: PATCH 8/19 Audit usb_register/usb_serial_register under divers/usb/serial
<bellucda@tiscali.it>
[PATCH] USB: PATCH 9/19 Audit usb_register/usb_serial_register under divers/usb/serial
<bellucda@tiscali.it>
[PATCH] USB: PATCH 10/19 Audit usb_register/usb_serial_register under divers/usb/serial
<bellucda@tiscali.it>
[PATCH] USB: PATCH 11/19 Audit usb_register/usb_serial_register under divers/usb/serial
<bellucda@tiscali.it>
[PATCH] USB: PATCH 12/19 Audit usb_register/usb_serial_register under divers/usb/serial
<bellucda@tiscali.it>
[PATCH] USB: PATCH 13/19 Audit usb_register/usb_serial_register under divers/usb/serial
<bellucda@tiscali.it>
[PATCH] USB: PATCH 14/19 Audit usb_register/usb_serial_register under divers/usb/serial
<bellucda@tiscali.it>
[PATCH] USB: PATCH 15/19 Audit usb_register/usb_serial_register under divers/usb/serial
<bellucda@tiscali.it>
[PATCH] USB: PATCH 16/19 Audit usb_register/usb_serial_register under divers/usb/serial
<bellucda@tiscali.it>
[PATCH] USB: PATCH 17/19 Audit usb_register/usb_serial_register under divers/usb/serial
<bellucda@tiscali.it>
[PATCH] USB: PATCH 18/19 Audit usb_register/usb_serial_register under divers/usb/serial
<bellucda@tiscali.it>
[PATCH] USB: PATCH 19/19 Audit usb_register/usb_serial_register under divers/usb/serial
<greg@kroah.com>
[PATCH] USB: remove #include <linux/miscdevice.h> from some usb drivers.
It's not needed.
<greg@kroah.com>
[PATCH] USB: change pci host drivers to use PCI_DEVICE_CLASS() macro.
<greg@kroah.com>
[PATCH] USB: remove proc code from stv680 driver as it's no longer needed
<greg@kroah.com>
[PATCH] USB: convert stv680 driver to handle the driver core changes in the v4l layer
<greg@kroah.com>
[PATCH] USB: add sysfs files for stv680 driver, replacing the lost proc functionality.
<greg@kroah.com>
[PATCH] V4L: fix use after free bug in v4l core.
<greg@kroah.com>
[PATCH] V4L: add video_device_remove_file() to match video_device_create_file()
<davem@nuts.ninka.net>
[TG3]: Do not reset the RX_MAC unless PHY is Serdes.
Bug discovered by Michael Chan @ Broadcom.
<stern@rowland.harvard.edu>
[PATCH] USB: root hub polling stops after suspend
<michel@daenzer.net>
[PATCH] USB: linuxppc-2.5 fixlets for usbtest.c
fix drivers/usb/misc/usbtest.c:438: warning: passing arg 1 of
`__swab32s' from incompatible pointer type by using le16_to_cpus instead
of le32_to_cpus .
<david-b@pacbell.net>
[PATCH] USB: usb_sg_cancel() + disconnect, fewer messages
One tester reported that disconnecting in the middle of a scatterlist
operation would give a lot of confusing messages. This should improve
that situation a bunch: most of the messages were pointless. It also
resolves some related FIXMEs for both queue cleanup modes (cancelation,
and after transport fault).
- now only urbs in flight have non-null urb->dev, so we can avoid
trying to unlink unsubmitted or (common) already-completed urbs.
- it's ok to get -EBUSY unlink status, it just means the urb's
already being given back (though since it's in flight, it's
not an error to try unlinking).
Also, the relevant diagnostics now use dev_*() driver model calls,
making the kernel strings smaller and the output more useful.
<abbotti@mev.co.uk>
[PATCH] USB: ftdi_sio - fix memory leak and tidy up write bulk callback
The patch frees the bulk write urb's transfer buffer in the write
bulk callback (the buffer is allocated dynamically when the urb is
submitted). The patch also tidies up the write bulk callback
function a little bit - removing some unnecessary paranoid checks
and scheduling a soft interrupt regardless of the port's open count
(for consistency with other usb serial drivers).
<dhollis@davehollis.com>
[PATCH] USB: Add ax8817x support to usbnet
This patch adds support to usbnet for devices based on the ASIX AX88172
USB 2.0 Ethernet chipset.
<gaa@ulticom.com>
[PATCH] USB: new ids for io_ti driver
<davem@nuts.ninka.net>
[TG3]: More missing PCI IDs.
<rwhron@earthlink.net>
[PATCH] USB: version.h cleanup 1 of 4
<rwhron@earthlink.net>
[PATCH] USB: version.h cleanup 2 of 4
I used a combination of:
egrep -l 'UTS_RELEASE|LINUX_VERSION_CODE|\<KERNEL_VERSION\>'
and "grep -l linux/version.h" to find them. They compiled
as module/non-module for me. The previous patch adds
version.h, btw.
<rwhron@earthlink.net>
[PATCH] USB: version.h cleanup 3 of 4
<rwhron@earthlink.net>
[PATCH] USB: version.h cleanup 4 of 4
<quade@hsnr.de>
[PATCH] USB: writing usb driver documentation update
I noticed, that your documentation of your usb-skeleton driver
is not up to date. So I took the time to rework it slightly.
I append the patch to the version I found in kernel 2.6.0-test3.
<cat@zip.com.au>
[PATCH] USB: C99: 2.6.0-t3-bk7/Documentation
<andersen@codepoet.org>
[PATCH] Fix cdrom error handling in 2.6
In both 2.4 and in 2.6, error handling for bad cdrom media is
wrong. And it is my fault I'm afraid, since I botched an earlier
fix for the problem by putting the fix in the wrong spot.
My kids have a "Jumpstart Toddlers" cd they have long since
completely killed, which makes a great test disc. Without this
fix, the best time projection I can get for completing a dd type
sector copy is about 2 years... Most of that is spent thrashing
about in kernel space trying to re-read sectors we already know
are not correctable.... After the fix, I was able to rip a copy
the CD (or rather muddle through it getting lots of EIO errors)
in about 15 minutes.
Attached is the fix for 2.6.x,
<paulus@samba.org>
PPC32: Add the fadvise64_64 system call.
On PPC32 we reorder the arguments so they fit into 6 registers. Glibc will
need a two-line stub to change them from the standard order to the ordering
used by the system call: (fd, advice, offset, len).
<paulus@samba.org>
PPC32: Declare cpu_online_map and cpu_possible_map as cpumask_t.
<paulus@samba.org>
PPC32: Update some of the example configs
<torvalds@home.osdl.org>
Input: typo in device matching.
Too much cut-and-paste, noticed by Dmitry Torokhov <dtor_core@ameritech.net>
<vinay-rc@naturesoft.net>
[PATCH] vx_entry.c: remove release timer
sound/pcmcia/vx/vx_entry.c:
This patch removes the PCMCIA timer release functionality which is no
longer required. Without this the module does not compile.
<zecke@org.rmk.(none)>
[ARM PATCH] 1595/1: [PATCH] 1/10 Simpad changes
Patch from Holger Freyther
see content
<zecke@org.rmk.(none)>
[ARM PATCH] 1598/1: [PATCH] 4/10 Simpad changes
Patch from Holger Freyther
<zecke@org.rmk.(none)>
[ARM PATCH] 1603/1: [PATCH] 9/10 Simpad changes
Patch from Holger Freyther
<dsaxena@com.rmk.(none)>
[ARM PATCH] 1611/1: Add big-endian support to AFLAGS
Patch from Deepak Saxena
This is required for usr/initramfs_data.o to build properly when
CONFIG_CPU_BIG_ENDIAN is enabled.
<dsaxena@com.rmk.(none)>
[ARM PATCH] 1615/1: Fix IOP3xx timer interrupts
Patch from Deepak Saxena
Fix IOP321 and IQ80310 timer interrupts to return IRQ_HANDLED
<rmk@flint.arm.linux.org.uk>
[ARM] Noddy indentation fix for arch/arm/boot/Makefile.
<dsaxena@com.rmk.(none)>
[ARM PATCH] 1613/1: arch/arm/boot/Makefile fixups for IOP3xx and ADIFCC
Patch from Deepak Saxena
Small cleanups for ADIFCC and IOP3XX machine types to support
ATAG parameters. Working with Intel and ADI to get updated
bootloaders that pass the tags.
Also, all known IOP3xx boards have memory starting at 0xa0000000,
so we can remove the redundant ARCH_IQ* zreladdr values.
<dsaxena@com.rmk.(none)>
[ARM PATCH] 1616/1: Add PFN_TO_NID to IOP3xx
Patch from Deepak Saxena
<dsaxena@com.rmk.(none)>
[ARM PATCH] 1621/1: IOP3xx CPU detection (cleaned up)
Patch from Deepak Saxena
Removes extraneous bits that belong to separate IOP3xx PCI cleanup patch
Supersedes 1618/1
<dsaxena@com.rmk.(none)>
[ARM PATCH] 1623/1: Updated def-configs for IQ80310/321
Patch from Deepak Saxena
<dsaxena@com.rmk.(none)>
[ARM PATCH] 1620/1: dma_map_single/unmap_single support for ARM
Patch from Deepak Saxena
<dsaxena@com.rmk.(none)>
[ARM PATCH] 1559/1: updated include/asm-arm/checksum.h big-endian support
Patch from Deepak Saxena
This is an update to patch 1529/1 that cleans up the code so we don't need
#ifdef's for little vs. big-endian systems. Tested on both systems with
various network apps (ping, ftp, tftp, ssh, telnet, NFS root, http) with no
issues.
<fbecker@com.rmk.(none)>
[ARM PATCH] 1563/1: Update pxa-regs.h with correct gpio number for 48 MHz clock output
Patch from Frank Becker
GPIO for 48 MHz clock output is 7 not 8.
<nico@org.rmk.(none)>
[ARM PATCH] 1565/1: syscall macros clobbering returned error value
Patch from Nicolas Pitre
In both 2.5.70-rmk1 and 2.4.19-rmk7 the syscall macros are clobering
the returned error value when building library code.
Example code:
#include <linux/unistd.h>
#include <errno.h>
extern int fake_syscall(int x, int y, int z);
_syscall3(int, fake_syscall, int, x, int, y, int, z)
Current generated code:
fake_syscall:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
str lr, [sp, #-4]!
swi __NR_fake_syscall
cmn r0, #126
ldrls pc, [sp], #4
bl __errno_location
rsb r3, r0, #0
str r3, [r0, #0]
mvn r0, #0
ldr pc, [sp], #4
In the code above, whenever the return value is an error code, it
is lost due to the call to __errno_location. And because of the
asm("r0") constraint on the variable __res the compiler continues
using r0 for it even if it's now a pointer value. errno ends up with
a totally bogus value.
With the patch below the above code becomes:
fake_syscall:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
stmfd sp!, {r4, lr}
swi __NR_fake_syscall
cmn r0, #126
mov r4, r0
bls .L3
bl __errno_location
rsb r3, r4, #0
str r3, [r0, #0]
mvn r4, #0
.L3:
mov r0, r4
ldmfd sp!, {r4, pc}
which is correct.
Oh and added a small estetic change for generated code too.
<davem@nuts.ninka.net>
[TG3]: Reset PHY more reliably on 570{3,4,5} chips.
<davem@nuts.ninka.net>
[TG3]: Fix 5788/5901, update TSO code.
- Do not set RDMAC_MODE_FIFO_LONG_BURST on 5788
- Do not set WDMAC_MODE_RX_ACCEL on 5788
- Note that 5788 cannot use tagged irq status.
- 5788 cannot do TSO
- 5788 cannot do NETIF_F_HIGHDMA.
- 5901 is 10/100 only.
- Update TSO firmware, add 5705 specific TSO firmware.
- Update TSO packet handling in ->hard_start_xmit() to
match updated TSO firmware.
- TSO is still off by default until more perf analysis is done.
<davem@nuts.ninka.net>
[TG3]: Differentiate between TSO capable and TSO enabled.
<davem@nuts.ninka.net>
[ETHTOOL]: Add {G,S}TSO support to ethtool_ops.
<davem@nuts.ninka.net>
[TG3]: Add {get,set}_tso ethtool_ops support.
Also, include TSO support code when NETIF_F_TSO is available
but do not enable TSO by default even on capable cards. User
can turn it on via ethtool.
<davem@nuts.ninka.net>
[TG3]: Bump version/reldate.
<davem@nuts.ninka.net>
[TG3]: Fix tg3_phy_reset_5703_4_5 chip rev test.
<davem@nuts.ninka.net>
[TG3]: Bump version/reldate.
<davem@nuts.ninka.net>
[ETHTOOL]: Add ethtool_op_{set,get}_tso helpers.
<davem@nuts.ninka.net>
[TG3]: More fixes and enhancements.
- Use ethtool_op_{get,set}_tso().
- Avoid partial byte enables on DMA writes, this upsets several
non-x86 PCI controllers.
<benh@kernel.crashing.org>
cputable.c:
Fix CPU table, 750FX rev 1.x must not tab high BATs
<davem@nuts.ninka.net>
[SPARC64]: Add some missing PCI error reporting.
<benh@kernel.crashing.org>
Add new OF tree walking APIs
<benh@kernel.crashing.org>
Update OF platform & macio driver cores to adapt to device
model changes. Fix refcounting
<benh@kernel.crashing.org>
Update openpic to expose a sys_dev for power management, make
it more robust vs. concurrent calls by the PM system and cpufreq
<benh@kernel.crashing.org>
Update pmac PIC driver to register a sysdev for Power Management
<benh@kernel.crashing.org>
Major update via-pmu driver, hopefully last before we split it & do major cleanup.
- Adapt to new power management
- Make PM and cpufreq more robust by preventing ADB requests
from getting in after the actual freq change / sleep one
- Close a few races
- Expose some IRQ stats & fix a problem where core99 machines
were getting tons of spurrious ADB events
<shemminger@osdl.org>
[IPV4]: Route cache /proc interface cleanup.
* use proc_net_fops_create to setup
* collapse two_line setup functions into the init routine
* proc_exit routine was never called and can go.
* cleaner to refer to proc_net as base rather than net/rt_acct
<rusty@rustcorp.com.au>
[NETFILTER]: Trivial 2.6 tftp conntrack fix.
In 2.6, the TFTP conntrack helper returns -1 if the packet is too
short, but that is an invalid return code. Return NF_ACCEPT
instead.
<rmk@flint.arm.linux.org.uk>
[ARM] Fix vmlinux linker script
Since we're now 32-bit "armv" only, we don't need to select the
linker script in vmlinux.lds.S. Also, whoever moved vmlinux.lds.S
into arch/arm/kernel forgot to move the other scripts.
This cset replaces arch/arm/kernel/vmlinux.lds.S with
arch/arm/vmlinux-armv.lds.in, and deletes the obsolete scripts.
<bdschuym@pandora.be>
[BRIDGE]: Add arpreply EBTABLES target.
<shemminger@osdl.org>
[AX25]: Make sure and hold ref to dev.
The lower layers of ax25 hold a reference to the underlying device
but don't increment the ref count. This is safe because it does the
right thing when UNREGISTER notification comes in, but it is better
to do the right thing.
<shemminger@osdl.org>
[AX25]: Convert to seq_file.
<bdschuym@pandora.be>
[BRIDGING]: Update Kconfig files for bridging firewall.
<rmk@flint.arm.linux.org.uk>
[ARM] Remove reference to struct device name element.
<lists@mdiehl.de>
[IRDA]: vlsi_ir v0.5 update, 1/7.
* Kconfig: we depend on CONFIG_PCI
* update header compatibility stuff
* beautify C99-initializers for PCI IDs
* PCIDEV_NAME wrapper to abstract device name storage location
* cleanup of the pci shutdown path. Also fixing a possible NULL-pointer
dereference when the driver is rmmod with the netdev still running.
<lists@mdiehl.de>
[IRDA]: vlsi_ir v0.5 update, 2/7.
* don't fail without procfs - it's only needed for diagnostics
* get rid of printk in favour of IRDA_DEBUG and friends wherever possible
* reduce kernellog noise depending on irda debuglevel
<lists@mdiehl.de>
[IRDA]: vlsi_ir v0.5 update, 3/7.
* fix error path for ring entry alloc in case pci_map failed
* get rid of BUG() - it's mostly in interrupt and there's no need
to kill the box on such issues
* correct endianess for the hardware view of ring descriptors
<lists@mdiehl.de>
[IRDA]: vlsi_ir v0.5 update, 4/7.
* interrupt handler cleanup, focus on fast path and low latency
* rx-path cleanup
* add missing crc16 check of incoming SIR frames
<lists@mdiehl.de>
[IRDA]: vlsi_ir v0.5 update, 5/7.
* cleanup baud rate setting and mode switch
* locking and barrier review
<lists@mdiehl.de>
[IRDA]: vlsi_ir v0.5 update, 6/7.
* tx-path cleanup
* fix deadlock when setting speed in tx_interrupt, issue was introduced by
previous interrupt locking cleanup
* don't let start_xmit return NET_XMIT_DROP if we drop and free the skb.
This fixes an old bug in the error path leading to skb_slab corruption
<lists@mdiehl.de>
[IRDA]: vlsi_ir v0.5 update, 7/7.
* correct mtt bits to indicate 1msec or more
* rename IRENABLE_IREN to IRENABLE_PHYANDCLOCK
* rearrange driver metadata and header
* driver version 0.5
<vinay-rc@naturesoft.net>
[NET]: Fix 'spin_lock_irqrestore' typos in sk_mca.c
<laforge@netfilter.org>
[NETFILTER]: Fix ipt_REJECT if used on bridge.
<laforge@netfilter.org>
[NETFILTER]: Remove ipt_MIRROR target from 2.6.x
We have decided to remove the MIRROR target, since it was considered a
stupid and potentially dangeroups example code of the early netfilter
days that should never be used on the internet anyway.
<skewer@terra.com.br>
[NET]: Remove dead comment from dummy.c driver.
<laforge@netfilter.org>
[NETFILTER]: Remove ipt_unclean match from 2.6.x
We have decided to remove the unclean match, since it is considered
a potentially dangerous function of the current iptables code.
The match is used by lots of users who don't really undestand what kind
of danger they are imposing on the future-compatibility of their
networks. (just think of the ECN issue resulting from this kind of
filtering)
We'd rather keep it in patch-o-matic, where lots of other modules that
are only useful in experimental scenarios are kept.
Now that we don't have to keep it for compatibility reasons, we'd like
to remove it before 2.6.0 final is released.
<laforge@netfilter.org>
[NETFILTER]: Remove EXPERIMENTAL mark from some netfilter stuff.
<laforge@netfilter.org>
[NETFILTER]: Cosmetic netfilter patch.
- moves all MODULE_{AUTHOR,DESCRIPTION,LICENSE} statements to the same
location
- adds some missing MODULE_LICENSE(GPL) tags
- adds MODULE_DESCRIPTION and AUTHOR to all modules
<laforge@netfilter.org>
[NETFILTER]: NAT optimization.
The following patch against 2.6.0-test4 (courtesy of Patrick McHardy)
optimizes the NAT code. In the old implementation, the hash function
was passed to the LIST_DELETE macro, which resulted in it being called
two times instead of one.
<laforge@netfilter.org>
[NETFILTER]: Conntrack optimization (LIST_DELETE).
The following patch against 2.6.0-test4 (courtesy of Patrick McHardy)
optimizes the conntrack code. In the old implementation, the hash function
was passed to the LIST_DELETE macro, which resulted in it being called
two times instead of one.
<vinay-rc@naturesoft.net>
[NET]: Fix MCA device name handling in 3c509.c
<drepper@redhat.com>
[NET]: Check tgid not pid in scm_check_creds().
<rmk@flint.arm.linux.org.uk>
[ARM] Fix device suspend/resume calls.
These calls no longer take "level" arguments, so there's no need to
call them multiple times.
<rmk@flint.arm.linux.org.uk>
[ARM] Fix ecard.c manufacturer and product files.
<davem@nuts.ninka.net>
[SPARC]: Update ethtool support in Sun net drivers.
<benh@kernel.crashing.org>
Update PowerMac IDE driver. Adapt to new driver model, add proper
support for Kauai ATA/100 and add activity led code.
NOTE: The activity LED code has been left out of Kconfig until the
proper support for it in the blk & ide layers have been merged
(pending patch from Jens Axboe)
<rmk@flint.arm.linux.org.uk>
[ARM] Tweak the bridge control register for PCI and cardbus bridges.
This ensures that we release reset on devices behind a PCI bridge,
and that we have error reporting enabled behind bridges.
<benh@kernel.crashing.org>
Adapt PowerMac i2c-keywest driver to new driver model
<benh@kernel.crashing.org>
Fix PowerMac ALSA build with device model "name" field change
<benh@kernel.crashing.org>
Update PowerMac mediabay driver to new model, fix an old bug
that could prevent one of the timeouts from working, fix access
to MMIO based interface
<rmk@flint.arm.linux.org.uk>
[ARM] Remove pci_dev->dev.name in favour of pci_name()
<benh@kernel.crashing.org>
Adapt PowerMac "airport" driver to new driver model
<benh@kernel.crashing.org>
Fix build of controlfb driver
<benh@kernel.crashing.org>
Adapt PowerMac "platinum" video driver to new driver model
<rmk@flint.arm.linux.org.uk>
[ARM] Remove old binutils compatibility.
Old binutils (without .incbin) had the idea that a certain assembler
instruction was illegal. binutils has since been fixed to allow it.
<rmk@flint.arm.linux.org.uk>
[ARM] Update AMBA suspend/resume model.
The device_driver suspend/resume methods are no longer used. Instead,
the bus_type contains the suspend/resume methods. Fix the AMBA bus
support for this change.
<benh@kernel.crashing.org>
fixup xmon ADB polling so that it works before ADB core is loaded
<rmk@flint.arm.linux.org.uk>
[ARM] Update SA1111 suspend/resume model.
The device_driver suspend/resume methods are no longer used. Instead,
the bus_type contains the suspend/resume methods. Fix the SA1111 bus
support for this change.
We place the probe/remove/suspend/resume methods inside struct
sa1111_driver and call them from the SA1111 bus driver (ie, how
Pat wants this stuff done.)
We leave the parent bus device suspend/resume methods in the device
driver until power management for platform devices works again.
However, we adjust these methods so they run only once, like the
other PM methods.
<benh@kernel.crashing.org>
Add back missing fb_set_var to PowerMac platinum driver
<rmk@flint.arm.linux.org.uk>
[ARM] Fix EBSA285 CLOCK_TICK_RATE.
The timex/time code requires CLOCK_TICK_RATE to be constant. We
assume that the platform picks an appropriate clock source such
that we generate an exact HZ value, and set CLOCK_TICK_RATE to
a value where ACTHZ == HZ.
<benh@kernel.crashing.org>
Update PowerMac cpufreq driver to adapt it to some core
changes and fix a race with the PMU driver
<benh@kernel.crashing.org>
For keeping interface ordering consistent between previous kernels and
the new driver model probing mecanism, drivers/macintosh has to be
linked before ide and scsi
<benh@kernel.crashing.org>
Don't care about driver registration results for i2c-keywest
so failing one don't break the other
<benh@kernel.crashing.org>
Fix drivers/video Makefile so control & platinum drivers gets
proper depedencies on the cfb* files
<benh@kernel.crashing.org>
Add new pmac_zilog serial driver, obsolete old macserial.
The new driver is a complete rewrite based on David Miller sunzilog
adapted to PowerMac, it uses the new driver model & the serial driver
core unlike the old macserial. It doesn't support DMA yet but this is
a "feature" for now as the DMA implementation of macserial used to
exhibit memory corruption problems.
<rmk@flint.arm.linux.org.uk>
[PCMCIA] Use #define'd constants in ZV code where possible.
<rmk@flint.arm.linux.org.uk>
[PCMCIA] Clean up yenta overrides
Move the quirk selection to the main PCI ID table, and list the quirks
by type. Introduce "cardbus_type" structure to contain the quirk
information.
<rmk@flint.arm.linux.org.uk>
[PCMCIA] Move socket initialisation to the quirk table.
This removes the horrible side effect where we modify the generic
yenta_socket_operations structure (which of course other sockets
may be using.)
We move the socket init quirks into our cardbus_type quirk
structure, and call it during the generic socket initialisation.
<laforge@netfilter.org>
[NETFILTER]: New iptables modules (iprange, CLASSIFY, SAME, NETMAP).
The following patch against 2.6.0-test4 adds four more iptables modules.
They are adding the following functionality
- iprange: matching against an arbitrary contiguous range of ip addresses
- CLASSIFY: setting skb->priority from iptables (so you can skip tc filter)
- NETMAP: SNAT a whole network 1:1 to another network
- SAME: tries to keep the assigned ip per client the same within an SNAT
pool
<davem@nuts.ninka.net>
[NETFILTER]: Use correct printf format for size_t in ipt_CLASSIFY.c
<benh@kernel.crashing.org>
Update "coff" zImage wrapper so it works with larger kernel images
<benh@kernel.crashing.org>
Fix missing bit in the new .coff wrapper
<ak@muc.de>
[PATCH] IOMMU overflow handling fix for MPT fusion
Currently mpt fusion does not handle IOMMU overflow (pci_map_sg returning 0)
very gracefully. It gets not reported to the upper layers. This patch fixes this.
As a related note the fusion driver tends to trigger the NMI watchdog as soon
as it goes into any error recovery, because it busy waits for seconds with
interrupts disabled (seems to be still true with the new error handling in 2.6).
This is a big inconvenient because it leads to a forced oops.
I tried to work around it by exporting touch_nmi_watchdog and using it in
the delays, but Linus was opposed to this approach. It would be nice
if someone could fix this. Afaik in 2.6 the error recovery should mostly
run in process context, so it should be possible to use schedule_timeout()
with interrupts on for the delays.
At least on x86-64 the NMI watchdog runs by default and even on i386 it is a
very useful debugging tool.
<benh@kernel.crashing.org>
some whitespace & tab fixes
<dougg@torque.net>
[PATCH] GFDL issue in Documentation/DocBook/scsidrivers.tmpl
[Switch GFDL to GPL]
<benh@kernel.crashing.org>
Fix a bug where an ide-pmac hwif returned to the system because it's empty
would still be probed thus causing a crash on some machines. Also fix some
whitespace/tabs.
<benh@kernel.crashing.org>
Add & export some routines to access the i2c busses that hang off the PMU, not
yet linked to the linux i2c subsystem though. Fix some whitespace/tabs too.
<rddunlap@osdl.org>
[PATCH] imm driver needs scsi_unregister()
Same as the ppa driver, keeping them in sync.
patch_name: scsi_imm_unreg.patch
patch_version: 2003-08-19.21:14:54
author: Randy.Dunlap <rddunlap@osdl.org>
description: scsi imm driver needs to call scsi_unregister();
product: Linux
product_versions: 260-test3
diffstat: =
drivers/scsi/imm.c | 1 +
1 files changed, 1 insertion(+)
<randy.dunlap@verizon.net>
[PATCH] advansys build with ADVANSYS_DEBUG defined
This patch enables the advansys driver to build when
ADVANSYS_DEBUG is #defined.
patch_name: scsi_advan_260t3.patch
patch_version: 2003-08-10.22:37:15
author: Randy.Dunlap <rddunlap@osdl.org>
description: enable compile with ADVANSYS_DEBUG #defined
product: Linux
product_versions: 260-test3
URL: _
maintainer: unknown
diffstat: =
drivers/scsi/advansys.c | 13 +++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
<anton@samba.org>
[PATCH] sym2 hotplug fix
When testing sym2 hotplug I found a few places where we need to use
__devinit, not __init.
<lenehan@twibble.org>
[PATCH] dc395x [1/6] - make functions static
I forgot to make some of the new functions added during the list
cleanups static. This patch just declares those new functions static.
<lenehan@twibble.org>
[PATCH] dc395x [2/6] - cleanup devices
This cleans up the device management. It makes the init and cleanup
seperate functions that basically do the opposite type things in
reverse order. Makes it clear which functions remove a device and
which ones free a device (or devices.)
<lenehan@twibble.org>
[PATCH] dc395x [3/6] - cleanup adapter init
Cleanup of the adapter initialization sequence. Now it's clear what
is going on and what has been done at any point. It also keeps the
initialization of various things together and not spread out over a
bunch of different functions. This then made it possible to ensure
that appropriate the resources were correctly released in the event
of failure.
<lenehan@twibble.org>
[PATCH] dc395x [4/6] - cleanup adapter uninit
Clean up the initialization sequence for the adapter. Makes it easier
to follow.
<lenehan@twibble.org>
[PATCH] dc395x [5/6] - check for device
After searching for a device to free, only free it if it was found.
<lenehan@twibble.org>
[PATCH] dc395x [6/6] - use pci resource len
Instead of hard coding the number of io ports (to the wrong value no
less) use the pci_resource_length to determine the number.
<hch@lst.de>
[PATCH] make scsi_priv.h includable standalone
<trini@kernel.crashing.org>
PPC32: Change the default behavior of a kernel with KGDB.
We now don't default to an initial breakpoint, as this is how
KGDB on i386 works.
<trini@kernel.crashing.org>
PPC32: Fix KGDB and userland GDB interactions.
<sri@us.ibm.com>
[SCTP] draft07 API changes: sctp_getpaddrs(), sctp_getladdrs() now
return a packed array of sockaddr_in/sockaddr_in6 structures instead
of an array of sockaddr_storage structures.
<rddunlap@osdl.org>
[PATCH] ia64: fix printk type warning
<willy@debian.org>
[PATCH] ia64: default to building compressed
i386 defaults to building bzImage (as well as modules) if you just type
make. This patch mirrors that on ia64 by building compressed.
<mort@wildopensource.com>
[PATCH] ia64: paddr_to_nid fixup
Here is a small patch for paddr_to_nid(). This fix is already in 2.4
and is used in the case where a NUMA kernel is running on a machine
without a SRAT ACPI table. Without this patch the node info is not
correctly located.
<alex.williamson@hp.com>
[PATCH] ia64: no discontig w/o NUMA
Currently the generic kernel won't build if you turn off NUMA
support. Seems discontig support is too entangled with NUMA
support to live without it. This patch makes it behave a bit
more friendly.
<davidm@tiger.hpl.hp.com>
ia64: Manual merge with Alex's "UP cmc/cpe polling fix" patch.
<willy@debian.org>
[PATCH] ia64: ia64/lib/Makefile: use call-if-changed
- IGNORE_FLAGS_OBJS is no longer honoured (this is the only reference to
it in the tree).
- Change the .o.S rule to look the same as the one in
scripts/Makefile.build. This means we'll generate .cmd files instead
of the .d files which makes CVS happier.
<hch@lst.de>
[PATCH] make scsi logging level a sysctl
The logging level is now controlled by a
/proc/sys/dev/scsi/logging_level sysctl instead of /proc/scsi/scsi.
The format is the same as the logging_level module parameter.
<hch@lst.de>
[PATCH] make /proc/scsi/scsi/ support optional
There's no more essential functionality in it so allow the
embedded folks to configure it out.
<davidm@tiger.hpl.hp.com>
ia64: Use offset_in_page() instead of equivalent open code.
<davidm@tiger.hpl.hp.com>
ia64: Hook up fadvise64_64() system call.
<hch@lst.de>
[PATCH] don't export proc_scsi
proc_mkdir can also take absolute pathes, so we can avoid the export.
<davem@nuts.ninka.net>
[NET]: net/core/ethtool.c needs asm/uaccess.h
<hch@lst.de>
[PATCH] add a missing extern to scsi_priv.h
scsi_scan_host_selected was the only prototype without 'extern'
<hch@lst.de>
[PATCH] serialize bus scanning
Synchronize all scanning activity, this fixes long-standing races
vs /proc/scsi/scsi and sysfs addition and deletion of devices.
Note that this does not serialize removing, the lists will get
their own locking soon.
<davem@nuts.ninka.net>
[TG3]: Fix ethtool_ops/sun_5704 changes collision.
tg3_init_rings() happens in tg3_init_hw(), so zap every other
occurance.
<hch@lst.de>
[PATCH] fixup some tagged queuing mess
This is a followup to Doug's comments and older work. It kills
sdev->tagged_queue which wasn't ever set in 2.5/2.6 except through
obscure and broken ioctls (!). As a reason of that tagged queing
didn't work for a lot of drivers, so this does change behaviour.
Be careful..
James, can you review the code in 53c700.c? Calling scsi_activate_tcq
in ->queuecommand rather than ->slave_configure looks rather strange to
me..
<davem@nuts.ninka.net>
[TG3]: Protect get/set TSO support with proper ifdefs.
<hch@lst.de>
[PATCH] give scsi_allocate_request a gfp_mask
most callers really want GFP_KERNEL, not GFP_ATOMIC.
<hch@lst.de>
[PATCH] kill an unused variable in sym2
<hch@lst.de>
[PATCH] kill some dead code in sym2
No need to keep around the non-dma mapping code in 2.6
<hch@lst.de>
[PATCH] check whether a disk got writeable in sd_open
This is the 2.5 version of a 2.4 patch posted to the list long
ago, the aacraid thread reminded me of it.
The problem is that certain highend arrays allow to mark a r/o
volume writeable on the fly so we have to call check_disk_change
for write-protected devices in sd_open, too.
<benh@kernel.crashing.org>
C99 initializer fixes
<benh@kernel.crashing.org>
Remove useless junk at beginning of MachineCheck exception handler,
this actually is causing problems on some CPUs
<andmike@us.ibm.com>
[PATCH] fix Kernel Panic in scsi_host_dev_release
If a driver calls scsi_register, but then has a problem in there
detect where they need to call scsi_unregister the parent pointer of
the struct device may never be set.
drivers/scsi/hosts.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
<bunk@fs.tum.de>
[netdrvr sis190] fix build with older gcc
older gcc's do not support C99/C++ style of variable declarations.
<romieu@fr.zoreil.com>
[netdrvr sis190] pass irq argument to synchronize_irq()
Looks like this driver wasn't tested on SMP :)
<willy@debian.org>
[netdrvr 3c59x] ethtool_ops support
<jgarzik@redhat.com>
[netdrvr sis900] ethtool_ops support
<jgarzik@redhat.com>
[netdrvr 8139cp] ethtool_ops support
<jgarzik@redhat.com>
[netdrvr sis190] convert TX path to use PCI DMA API
Also, minor changes:
* mark ->hard_start_xmit ETH_ZLEN test as unlikely()
* use cpu_to_le32() and le32_to_cpu() in TX path
* fix two leak in error path, in ->hard_start_xmit
* don't test netif_queue_stopped() in TX completion path,
netif_wake_queue() already does that.
<jgarzik@redhat.com>
[netdrvr sis190] make driver depend on CONFIG_BROKEN
Until RX path is cleaned up to use PCI DMA API and
not virt_to_bus.
<jgarzik@redhat.com>
[netdrvr 3c501] ethtool_ops support
<jgarzik@redhat.com>
[netdrvr] ethtool_ops support in 3c503, 3c505, 3c507
<jgarzik@redhat.com>
[netdrvr] ethtool_ops support for 3c515, 3c523, 3c527, and dmfe
<jgarzik@redhat.com>
[netdrvr pcmcia] ethtool_ops for 3c574, 3c589, axnet
<jgarzik@redhat.com>
[netdrvr pcmcia] convert several drivers to ethtool_ops
Drivers updated: fmvj18x_cs, ibmtr_cs, nmclan_cs, pcnet_cs,
xirc2ps_cs.
<davidm@tiger.hpl.hp.com>
ia64: The second chunk of the "UP cmc/cpe polling fix" seems to have
gotten lost. Please apply the attached for the cpe side of the
fix.
<jgarzik@redhat.com>
[netdrvr xircom_cb] ethtool_ops support
Also, export PCI bus id via ETHTOOL_GDRVINFO.
<jgarzik@redhat.com>
[wireless ray_cs] ethtool_ops support
<davidm@tiger.hpl.hp.com>
ia64: Fix usage ("corrected" machine checks and platform errors,
not "correctable").
<romieu@fr.zoreil.com>
[netdrvr sis190] remove unneeded alignment code, other small fixes
Driver does not need to enforce 256 byte alignment for data returned
from pci_alloc_consistent().
- {rx/tx}_dma_aligned and {rx/td}_dma_raw are both replaced by {rx/tx}_dma;
- {rx/tx}_desc_raw is replaced by direct use of {Rx/Tx}DescArray;
- SiS190_open()
+ fixup for a lack of kmalloc() failure handling;
+ (return status) there is no need for both retval/rc: merge them;
+ anonymous printk() fixup: the name of the guilty device is printed;
- define {RX/TX}_DESC_TOTAL_SIZE because I am too lazy to read twice the
same lengthy arithmetic expression.
<jejb@raven.il.steeleye.com>
Fix typo introduced into 53c700 by tag fixup patch
<jejb@raven.il.steeleye.com>
Add extern for scsi_logging_level so scsi_sysctl.c can compile
<srompf@isg.de>
[netdrvr 8139too] use mii_check_media lib function,
instead of homebrew MII bitbanging.
<hirofumi@mail.parknet.co.jp>
[netdrvr 8139too] lwake unlock fix
<hirofumi@mail.parknet.co.jp>
[netdrvr 8139too] remove unused RxConfigMask
<hirofumi@mail.parknet.co.jp>
[netdrvr 8139too] add more h/w revision ids
<greg@kroah.com>
[netdrvr sis900] don't call pci_find_device from irq context
I realized that I've had this patch in my tree for a while, and forgot
to send it to you and lkml. The patch below fixes bug number 923:
http://bugme.osdl.org/show_bug.cgi?id=923
(basically keeps us from calling pci_find_device from interrupt
context.)
It's been tested by a few people with this device, and they say it works
just fine for them. Please forward it on up the food chain.
<javier@tudela.mad.ttd.net>
[wireless airo] add support for MIC and latest firmwares
<jgarzik@redhat.com>
[netdrvr sis190] small bug fixes
* call pci_set_dma_mask
* remove erroneous call to unregister_netdev in _init_board()
<stevef@smfhome2.austin.rr.com>
Fix scheduling while atomic problem in getting attributes of newly created file. Fix truncate of existing file when O_CREAT but not O_TRUNC specified.
<bellucda@tiscali.it>
[PATCH] USB: CREDITS file update
<bellucda@tiscali.it>
[PATCH] Audit and minor cleanups in drivers/usb/*
<bellucda@tiscali.it>
[PATCH] Audit and minor cleanups in drivers/usb/*
- audit video_register_device
- if usb_register fails report back its return code rather than -1
<bellucda@tiscali.it>
[PATCH] Audit and minor cleanups in drivers/usb/*
- if usb_register fails report back its return code rather than -1
<bellucda@tiscali.it>
[PATCH] Audit and minor cleanups in drivers/usb/*
Changes
- if usb_register fails report back its return code rather than -1
<bellucda@tiscali.it>
[PATCH] Audit and minor cleanups in drivers/usb/*
- if usb_register fails report back its return code rather than -1
- static declarations for module_init/cleanup functions
- adding missing __init/__exit for module_init/cleanup functions
<bellucda@tiscali.it>
[PATCH] Audit and minor cleanups in drivers/usb/*
- if usb_register fails report back its return code rather than -1
<bellucda@tiscali.it>
[PATCH] Audit and minor cleanups in drivers/usb/*
- if usb_register fails report back its return code rather than -1
<bellucda@tiscali.it>
[PATCH] Audit and minor cleanups in drivers/usb/*
- if usb_register fails report back its return code rather than -1
- module_init/cleanup functions declared as static
- missing __init/__exit
<bellucda@tiscali.it>
[PATCH] Audit and minor cleanups in drivers/usb/*
- if usb_register fails report back its return code rather than -1
<bellucda@tiscali.it>
[PATCH] Audit and minor cleanups in drivers/usb/*
- if usb_register fails report back its return code rather than -1
<bellucda@tiscali.it>
[PATCH] Audit and minor cleanups in drivers/usb/*
- if usb_register fails report back its return code rather than -1
- static declarations for module_init/cleanup functions
<bellucda@tiscali.it>
[PATCH] Audit and minor cleanups in drivers/usb/*
- if usb_register fails report back its return code rather than -1
<bellucda@tiscali.it>
[PATCH] Audit and minor cleanups in drivers/usb/*
- if usb_register fails report back its return code rather than 0
<greg@kroah.com>
[PATCH] USB: fix compiler warning in mdc800 driver
<davej@redhat.com>
[AGPGART] Update VIA PCI IDs.
- Add some new IDs
- Rename some older ones.
<bellucda@tiscali.it>
[PATCH] ...more usb audit
- audit hiddev_init in hid_init
- audit usb_register in hid_init
<bellucda@tiscali.it>
[PATCH] ...more usb audit
- audit usb_register in hiddev_init
<bellucda@tiscali.it>
[PATCH] Another bad usb_register audit: dvb-ttusb-budget
- if usb_register failes report back its return code rather than -1
<bellucda@tiscali.it>
[PATCH] Another bad audit in drivers/usb/*: usblp
Another better audit:
- If usb_register failes report back its return value
rather than -1
<bellucda@tiscali.it>
[PATCH] Another bad audit in drivers/usb/*: cdc-acm
Changes:
- if tty_register_driver report back its return code rather than -1
- if usb_register fails report back its return code rather than -1
<bellucda@tiscali.it>
[PATCH] Another bad audit in drivers/usb/*: usbskeleton
Another minor cleanup:
- if usb_register fails report back its return code rather than -1
<bellucda@tiscali.it>
[PATCH] Audit and minor cleanups in usbnet
<bellucda@tiscali.it>
[PATCH] Audit and minor cleanups in usbstorage
<greg@kroah.com>
[PATCH] USB: fix up a bunch of copyrights that were incorrectly declared.
It needs to be "Copyright (C)" not "Copyright (c)" according to the lawyers
who know these things...
<rmk@flint.arm.linux.org.uk>
[PCMCIA] Add generic and per-controller power management handling.
Add per-quirk power management to aid saving/restoring controller
specific state. Also, add proper pci state saving/restoring.
Note that Cardbus bridges have to save and restore at least 0x48
bytes of configuration space, not 0x40.
This replaces the rather muddy save state in early initialisation,
restore it on socket init stuff that we previously had.
<rmk@flint.arm.linux.org.uk>
[PCMCIA] Move PM restore from socket initialisation.
There is less reason for socket initialisation to vary between
controller types now. In fact, we could very well get rid of
much of the TI-specific socket initialisation quirk handling,
since TI realised that they should be more compatible with other
implementations in later versions of their bridges.
<rmk@flint.arm.linux.org.uk>
[PCMCIA] Put socket initialisation to where it should be.
Move re-initialisation from the socket init/resume paths to where it
belongs - the main initialisation path.
<rmk@flint.arm.linux.org.uk>
[PCMCIA] Move more controllers to the more advanced quirks.
Now that we clearly know what each quirk type is doing, we can think
about switching some devices to different quirks.
Looking at the various data sheets for these devices, many of them
support the MBURSTUP bit, so we can move these to the quirk which
supports setting this bit.
<daniel.ritz@ch.rmk.(none)>
[PCMCIA] Add ToPIC97 and ToPIC100 support.
Patch from Daniel Ritz.
Add zoom video support for tosiba ToPIC97 and ToPIC100 chips.
<rmk@flint.arm.linux.org.uk>
[PCMCIA] Don't add CIS cache entries on failure.
If we fail to map the CIS space, don't pollute the CIS cache with
invalid data.
<willy@debian.org>
[ethtool] fix ethtool_get_strings counting bug
<vinay-rc@naturesoft.net>
[PATCH] USB: digi_acceleport.c: typo fix
<david-b@pacbell.net>
[PATCH] USB: Add Kconfig option for building ax8817x support in usbnet
David T Hollis wrote:
> This patch adds support to Kconfig to build ax8817x support into
> usbnet. This renames the config option for the existing standalone
> ax8817x driver to CONFIG_USB_AX8817X_STANDALONE.
Please merge this version instead. It includes all of David's
patch, plus it makes the descriptive info match the updated
role of this driver. So given this, only the webpage still
needs updates; the in-tree docs are now consistent.
<david-b@pacbell.net>
[PATCH] USB: usb_new_device() shouldn't be exported
Minor cleanup. This call no longer needs exporting for root hubs,
they have their own API to use instead.
<sri@us.ibm.com>
[SCTP] SCTP_SET_PEER_PRIMARY socket option support. (Kevin Gao)
<david-b@pacbell.net>
[PATCH] USB: <linux/usb_gadget.h> minor doc updates
Small kerneldoc clarifications:
- more endpoint halt clearing info:
* some hardware can't do it; which causes problems with drivers
that want to use multiple interfaces or altsettings.
* it doesn't affect queuing of data (should help usb-storage
gadget driver, plus it's more sensible this way);
- disconnect() callback not guaranteed: some hardware can't tell
Mostly this captures answers to questions I've been asked.
<willy@debian.org>
[netdrvr 8139too] ethtool_ops support
<olh@suse.de>
[PATCH] USB: io_edgeport.o differences in 2.4 vs. 2.6
On Fri, Aug 22, Greg KH wrote:
> On Sat, Aug 16, 2003 at 01:41:01PM +0200, Olaf Hering wrote:
> >
> > I sent you a patch for 2.4 once to make that FOO_MSR_RI, it seems that
> > was not applied to 2.6
> Care to send me a patch for 2.6 then?
How about that one:
<romieu@fr.zoreil.com>
[netdrvr sis190] use PCI DMA API for RX buffers
Missing pieces for DMA-API on the Rx side:
- SiS190_init_ring: the global area for the received data is mapped.
This area is persistent during the whole driver's life.
It only needs to be unmapped in SiS190_close() as no other exit/error
path exists.
- SiS190_rx_interrupt: no map/unmap for received data buffer. A single
sync operation is done. Btw, there is no need to store the same value
in RxDescArray[cur_rx].buf_addr over and over again.
- Remove driver dependancy on CONFIG_BROKEN.
<m@mbsks.franken.de>
[PATCH] USB: Cyberjack patch
Mahlzeit
I attached you the diff for 2.6.0-test4. It does there also one program run
without any error, but not more. I hope this issue will be resolved soon,
but I do not know yet how.
<maloi@phota.to>
[PATCH] USB: Aten 4 Port USB 2.0 KVM C (ACS-1724)
<greg@kroah.com>
[PATCH] USB: hook up the USB driver core to the power management calls of the driver model.
Now it's up to the individual USB drivers to implement suspend() and
resume() if they want to.
<greg@kroah.com>
[PATCH] USB: rip out old proc code from the usbvideo driver.
This removes the compiler warning from this driver.
<greg@kroah.com>
[PATCH] USB: removed the proc code from the se401.c driver
This removes the compiler warning.
<david-b@pacbell.net>
[PATCH] USB: usbnet minor cleanup
This goes on top of Dave Hollis' patch, and makes the front matter
match the slightly revised role -- and mention that new support.
It also eliminates a potentially confusing name and corrects an
omission (Zaurus framing wasn't printed).
<david-b@pacbell.net>
[PATCH] USB: net2280 fixes: ep halt, sysfs
Small updates:
- don't try chiprev 0100 erratum 0114 workaround on
newer chips; and (mostly) revert it when clearing
endpoint halt feature. (bugfix)
- add missing define for the "force crc error" bit;
I guess those #defines were generated from old chip
specs! potentially useful with test software.
- sysfs register dump includes chiprev and decodes some
of the more interesting endpoint response bits.
- makes a sysfs "gadget" node, representing the gadget
itself. (decided against the class_device or bus_type
approaches, until their value outweighs their costs.)
<david-b@pacbell.net>
[PATCH] USB: usbnet, cdc ethernet descriptor parsing fixes
This makes the new CDC Ethernet code handle more devices:
- Uses the active config, not just the default one, if it's
coping "descriptors in wrong place" quirk. (bugfix)
- Uses usb_ifnum_to_if() to get interfaces. (bugfix)
- AMBIT USB cable modems have bogus CDC Union descriptors;
workaround by switching master and slave. (add quirk)
- To make it easier the next time we run into firmware
that violates the class spec, add debug messages saying
exactly why it's giving up on a given CDC device.
Net result, this code now handles at least one more
cable modem design.
<david-b@pacbell.net>
[PATCH] USB: ohci -- reset, fault recovery
This fixes two small and unrelated bugs in the current OHCI code:
- Certain initialization sequences had problems with IRQs.
Fixed last month in EHCI, but this ohci patch didn't seem
needed back then. OK, so now I saw the same bug in OHCI.
(I could believe UHCI needs it too, sigh.)
- When restarting endpoint i/o after a queue fault, the HC
needs to be told the control (or bulk) list filled (CLF/BLF).
Likely this wasn't common (usbtest test10 subcase7 fault
recovery reproduced it nicely).
Please merge. Lack of the first one might make trouble for
some people.
<david-b@pacbell.net>
[PATCH] USB: uhci-hcd, add uhci_reset()
This is a straightforward change matching ones sent in
for ehci (last month) and ohci (earlier this week).
It abstracts the reset operation into something that's
called before the pci glue does much to the hardware.
It also arranges to kick the BIOS off the hardware before
it resets it (not after) ... so there's no confusion at
any time about what driver "owns" that hardware. (Again
matching what ehci and ohci drivers do.)
<chas@cmf.nrl.navy.mil>
[ATM]: Clean up the code making use of sti/cli (from vinay-rc@naturesoft.net)
<chas@cmf.nrl.navy.mil>
[ATM]: In ambassador driver, use del_timer_sync instead.
<set@pobox.com>
[NET]: Fix probing messages in 3c509.c
Currently, 3c509.c prints this on detection:
eth%d: 3c5x9 at 0x280, BNC port, address 00 20 af 2f d4 81, IRQ 5.
^^
<jgarzik@redhat.com>
[TG3]: Remove pci-set-dma-mask casts.
<yoshfuji@linux-ipv6.org>
[NET]: Fix OOPS in multicast procfs usage.
Fix several refcntmistakes in seq_file handlers for
/proc/net/{igmp,igmp6,msfilter,msfilter6}
<bunk@fs.tum.de>
[NET]: Fix bpqether build with procfs disabled.
<davem@nuts.ninka.net>
[SPARC]: Add missing timer_create syscall entries.
<jakub@redhat.com>
[COMPAT]: Add missing set_fs() calls to {clock,timer}_*() handlers.
<krishnakumar@naturesoft.net>
[IPV4]: Fix creat_proc_read_entry() args.
<rob@osinvestor.com>
[SPARC]: Two build fixes.
<xose@wanadoo.es>
[TG3]: More missing PCI ids.
<zaitcev@redhat.com>
[SPARC]: Add pci_{map,unmap}_page().
<rddunlap@osdl.org>
[SCTP]: Fix printf format string.
<rddunlap@osdl.org>
[IPVS]: Fix printf format strings.
<rddunlap@osdl.org>
[HAMRADIO]: Missing return statement in yam.c driver.
<jakub@redhat.com>
[SPARC64]: Fix struct sigevent32.
<jakub@redhat.com>
[SPARC64]: sys_timer_create needs 32-bit translation.
<jakub@redhat.com>
[SPARC]: Fix typos.
<stern@rowland.harvard.edu>
[PATCH] USB: Another unusual_devs.h entry update
This information was provided by Anthony Arkles <aja042@mail.usask.ca>.
Please apply to both 2.4 and 2.6.
<david-b@pacbell.net>
[PATCH] USB: net2280, patch dma chains
One person working on a mass-storage driver (the usb protocol
side, not the block subsystem side) ran into a bug in how a
bit of net2280 dma automagic was handled.
This patch fixes it by calling existing dma chain patchup
code when the dma engine was forced to "hiccup" by having
a not-yet-valid entry in it. The hiccup is needed in this
case since the IN data stage mustn't terminate with a
short transfer (zero length packet); but the status stage
is always a short packet. The "terminate with short packet"
bit is endpoint state, not request state, so IN dma queues
sometimes need this kind of fixup.
<rddunlap@osdl.org>
[PATCH] USB: fix printk parameter types
<rddunlap@osdl.org>
[PATCH] USB: fix functions to match prototypes
<greg@kroah.com>
[PATCH] USB: add support for 2 new devices to the visor driver.
Based on the 2.4 version of the driver.
<davej@redhat.com>
[AGPGART] Numerous AMD64 gart driver cleanups.
From Andi Kleen.
- Fix the help text for the 8151 driver
- Fix the dependencies (must be compiled in when the IOMMU is in)
- Add __setup options for when the AGP driver is compiled in:
agp=off agp=try_unsupported
Currently only supported for the K8 driver, the other drivers
would need fixes in their module init functions too.
- Add try_unsupported support for the K8 driver.
- Add some aperture sanity checking to the K8 driver.
There are unfortunately still BIOS around that get it wrong.
- Also try to read the aperture from the AGP bridge if it is bogus
in the Northbridge. Windows only looks into the bridge and some BIOS only
put the aperture there.
[These two changes are only useful for 32bit kernels. The 64bit kernel
checks this in aperture.c anyways, and fixes it. The 32bit kernel
cannot fix a complety broken aperture currently, but at least it will
not crash now]
- Clean up handling for multiple northbridges. The paths are the same
now for as for a single NB.
- Some other minor cleanups.
<davej@redhat.com>
[AGPGART] Fix indentation.
<davej@redhat.com>
[AGPGART] Use generic AGP_APBASE define instead of per vendor _APBASE.
<davej@redhat.com>
[AGPGART] move NVIDIA registers to agp.h
<davem@nuts.ninka.net>
[SPARC64]: Make sure init_irqwork_curcpu() is called with PSTATE_IE off.
<davej@redhat.com>
[AGPGART] Indentation fixes
<davej@redhat.com>
[AGPGART] Fix missed AGP_APBASE conversion in VIA AGP driver.
<davej@redhat.com>
[AGPGART] Remove unneeded 8151 defines.
<davej@redhat.com>
[AGPGART] Make AMD64 GART driver marchitecture compliant.
X86_64 -> AMD64
<greg@kroah.com>
[PATCH] USB: fix usbnet for older versions of gcc
<stevef@smfhome2.austin.rr.com>
Fix oops in reconnection logic when no dentry for file being reconnected.
<stevef@smfhome2.austin.rr.com>
Match smb pid to current->tgid
<stevef@smfhome2.austin.rr.com>
update change log for 0.9.1 cifs vfs
<mochel@osdl.org>
[sysfs] Fix memory leak.
From Thomas Spatzier. First reported by Martin Schwidefsky.
Entries in the dentry_cache allocated for objects in sysfs are not freed when
the objects in sysfs are deleted. This effect is due to inconsistent reference
counting in sysfs. Furthermore, when calling sysfs_remove_dir the deleted
directory was not removed from its parent's list of children. The attached
patch should fix the problems.
<mochel@osdl.org>
[power] Turn off debugging.
<greg@kroah.com>
[PATCH] USB: fix oops in keyspan and whiteheat devices when plugged in.
Thanks to Pat Mochel for finding out where the error was for this bug.
<greg@kroah.com>
[PATCH] USB: remove usage of DEVICE_ID_SIZE from usb core as it should not be used.
<mochel@osdl.org>
[kobject] Support unlimited name lengths.
Add ->k_name pointer which points to the name for a kobject. By default, this
points to ->name (the static name array).
Users of kobjects may use the helper function kobject_set_name() (and are
encouraged to do so in all cases). This function will determined whether or
not the name is short enough to fit in ->name. If so, great.
Otherwise, a dyanamic string is allocated and the name is stored there.
->k_name will point to that, and will be freed when the kobject is released.
kobject_set_name() may take a format string, like:
kobject_set_name(kobj,"%s%d",base_name,id);
and will behave as expected (will put in ->name, unless it's too long, in
which case a new string will be allocated and it will be stored in there).
<mochel@osdl.org>
[sysfs] Use kobject_name() when creating directories for kobjects.
<mochel@osdl.org>
[driver model] Use kobject_set_name() when registering objects.
<dhollis@davehollis.com>
[PATCH] USB: Fix building of ax8817x if CONFIG_USB_AX8817X_STANDALONE
<quade@hsnr.de>
[PATCH] USB: usb-skeleton bugfix
<sri@us.ibm.com>
[SCTP] draft07 API changes: sctp_bindx() now takes a packed array of
sockaddr_in/sockaddr_in6 structures instead of an array of
sockaddr_storage structures.
<wim@iguana.be>
[WATCHDOG] advantechwdt.c - patch
small clean-up (add trivial comma)
<wim@iguana.be>
[WATCHDOG] wafer5823wdt.c - patch
general clean-up (comments, trailing spaces, ...)
Added WATCHDOG_NAME and PFX defines for easier printk's.
clean-up printk's.
<wim@iguana.be>
[WATCHDOG] wafer5823wdt.c - patch2
fix possible wafwdt_is_open race
make wdt_stop and wdt_start module params
change wd_margin to timeout and make it a module_param
make expect_close the same system as in advantechwdt.c
clean-up ioctl handling
added extra printk's to report what problem occured
add MODULE_DESCRIPTION info
<jgarzik@redhat.com>
[netdrvr 8139cp] build TX checksumming code, but default OFF
(previously it was ifdef'd)
Also, bump version to 1.0.
<shemminger@osdl.org>
[LLC]: Need to pskb_may_pull() in fix_up_incoming_skb().
<shemminger@osdl.org>
[LLC]: Missing sk_set_owner() in llc_sk_alloc.
<jgarzik@redhat.com>
[netdrvr 8139cp] support NAPI on RX path; Ditch RX frag handling.
NAPI is turned on unconditionally for the RX path. The hardware
supports interrupt mitigation, so that should be investigated too.
RX fragment handling removed. We simply ensure that we alloc
buffers large enough to hold incoming packets. Any stray RX
frags that occur (shouldn't be any) will be dropped.
<shemminger@osdl.org>
[LLC]: Set module owner on /proc/net/llc directory.
<shemminger@osdl.org>
[ECONET]: Missing sk_set_owner().
<shemminger@osdl.org>
[IPX]: Missing sk_set_owner().
<shemminger@osdl.org>
[ATM]: Missing sk_set_owner().
<jgarzik@redhat.com>
[netdrvr 8139cp] update todo list in header
<shemminger@osdl.org>
[AX25/NETROM/ROSE]: Missing sk_set_owner().
<shemminger@osdl.org>
[IRDA]: Missing sk_set_owner().
<shemminger@osdl.org>
[DDP]: Missing sk_set_owner().
<jgarzik@redhat.com>
[netdrvr 8139cp] remove mentions of RTL8169 (now handled by "r8169")
<shemminger@osdl.org>
[DDP]: Invert logic for clarity.
It is a lot clearer to invert the logic used in the destroy_socket
so that it ends up as a positive expression, rather than a double negative.
The SOCK_DEAD is redundant and can be eliminated because it is always
set in the atalk_release() the only caller.
<shemminger@osdl.org>
[ATALK]: Fix whitespace in /proc/net/atalk/interfaces header.
<shemminger@osdl.org>
[ATALK]: AARP ->last_sent field never set.
<shemminger@osdl.org>
[ATALK]: Purge AARP table on module unload.
<shemminger@osdl.org>
[ATALK]: AARP needs to use del_timer_sync().
Aarp module unload needs to use del_timer_sync to handle the
race condition where timer starts or is running during module
unload.
<shemminger@osdl.org>
[ATALK]: Convert AARP over to seq_file.
The output format is slightly changed:
- address is printed in same format as /proc/net/atalk/interface
- retry and last_sent are only shown for unresolved entries
- times shown in seconds.hundreths rather than raw jiffies
- column headers changed to same format as /proc/net/atalk/interface
<shemminger@osdl.org>
[ATALK]: Set owner on /proc/net/atalk directory.
<shemminger@osdl.org>
[DDP]: Fix obsolete comment about module handling.
<shemminger@osdl.org>
[DDP]: Fix oops in aecho socket handling.
This fixes the problem caused by interrupting aecho causing an oops.
What happened was that the sock was detached from the user process
but sk->sk_sleep was still so when write data was freed it would
do a wakeup on a poisoned data. The sk_state_change code that was
there isn't necessary, because we are in middle of release so no
user process can be waiting. sock_orphan does the right thing
and sets SOCK_DEAD.
This is similar to what some other protocols do. But some will
have the same sk->sk_sleep problem...
<shemminger@osdl.org>
[ATALK]: Move aarp procfs file into atalk subdirectory.
Move aarp /proc interface like all the others in 2.6;
the other appletalk /proc interfaces were moved to /proc/net/atalk
but aarp was overlooked.
<shemminger@osdl.org>
[DDP]: Missing netdev refcounting.
DDP holds a pointer to underlying network device, but doesn't
do the refcount bookeeping that it should.
<shemminger@osdl.org>
[DDP]: Convert to new protocol interface.
Convert ddp to the new protocol interface which means it has to
handle fragmented skb's. The only big change is in the checksum
routine which has to do more work (like skb_checksum).
Minor speedup is folding the carry to avoid a branch.
Tested against a 2.4 system and by running both code over
a range of packets.
<shemminger@osdl.org>
[BLUETOOTH]: Missing sk_set_owner().
<jgarzik@redhat.com>
[netdrvr 8139cp] small cleanups
* remove netif_queue_stopped test, netif_wake_queue already does that
* move vlan stuff to top of file
* remove __dev markers
* update todo list at top of file
* remove pci_set_dma_mask argument casts; ULL suffixes preferred.
<jgarzik@redhat.com>
[netdrvr 8139cp] fix NAPI bug; remove board_type distinction, not needed
<jgarzik@redhat.com>
[netdrvr 8139cp] bump version
<felipewd@terra.com.br>
[NETFILTER]: Remove unneeded version.h inclusion.
<felipewd@terra.com.br>
[SUNRPC]: Remove unneeded version.h inclusion.
<felipewd@terra.com.br>
[RXRPC]: Remove unneeded version.h inclusion.
<bdschuym@pandora.be>
[BRIDGE]: Add 802.3 filtering support.
<laforge@netfilter.org>
[NETFILTER]: Fix ipt_helper build problem wrt. Kconfig.
Please apply the following patch (against 2.6.0-test4). It fixes a bug
in Kconfig causing ipt_helper not to be compiled if ip_conntrack is a
module.
<laforge@netfilter.org>
[NETFILTER]: Fix email address in MODULE_AUTHOR.
<davem@nuts.ninka.net>
[IPV6]: Do not mistakedly use ndisc route for normal ipv6 output.
Based upon a patch from Kazunori Miyazawa <kazunori@miyazawa.org>
<jgarzik@redhat.com>
[netdrvr 8139cp] stats improvements and fixes
* make sure rx_frags is still accounted
* query RxMissed register, and clear, upon each get-stats func call
<davem@nuts.ninka.net>
[POSIX_TIMERS]: Do not assume timeval/timespec layout is identical.
Based upon a patch from Jakub Jelinek <jakub@redhat.com>
<davem@nuts.ninka.net>
[SPARC64]: In sysv IPC translation, mask out IPC_64 as appropriate.
Based upon a patch from Keith M Wesolowski <wesolows@foobazco.org>
<jgarzik@redhat.com>
[netdrvr 8139too] make features more persistent; fix PCI DAC mode
* only set PCIDAC (64-bit PCI) bit in hardware if
sizeof(dma_addr_t) > 32. Need a better test for whether
64-bit mode is _really_ needed.
* cache chip command register in private struct. this allows
the setting of rx-vlan, rx-csum, and other features to be
persistent across the entire lifetime of the net device.
* remove dead private struct members frag_skb, dropping_frag,
and pci_using_dac.
<jgarzik@redhat.com>
[netdrvr pcmcia] support SIOC[GS]MII{PHY,REG} ioctls
Updated drivers; 3c574_cs, axnet_cs, pcnet_cs, xirc2ps_cs
Thanks to Komuro for pointing this out.
<lethal@linux-sh.org>
[netdrvr 8139too] fix and pci ids needed for SH platform
a.k.a. Sega Broadband Adapter.
<jgarzik@redhat.com>
[netdrvr 8139too] remove useless board names
The only thing that differentiated most of the entries in the
board_info[] table and the board_t type was the vendor branding
string for the board. This table is a pain to maintain, so we
prefer to simply use "RTL8129" or "RTL8139".
<jgarzik@redhat.com>
[netdrvr 3c509] dev->name removal build fix
<purna@jcom.home.ne.jp>
[netdrvr] fix skb_padto bugs introduced when skb_padto was introduced
It seems that skb_padto security fixes in 2.4 and 2.5 trying
to fix "CAN-2003-0001:Multiple ethernet NID device drivers
do not pad frames with null bytes", do not put the skb_padto
blocks in proper places in the 3c527, eth16i, fmv18x, seeq8005,
yellowfin device drivers.
In case a driver calls skb_padto(), it is possible
that the space available in the original skb buffer tailroom is less
than the space to pad. In this case, in short, the skb_padto()
will create a new skb buffer, copy data from the original
skb buffer to a new skb buffer, free the original buffer,
and finally return the new buffer.
If this happens to the aforementioned device drivers, they come to
point to wrong data. And, for 3c527 and yellowfin, the drivers can
unexpectedly double free the original skb buffers since they still
point to the original skb buffers. The attached patch against
2.4.23pre1 fixes these issues.
<jgarzik@redhat.com>
[netdrvr 8139cp] must call NAPI-specific vlan hook
<jgarzik@redhat.com>
[netdrvr ixgb] must call NAPI-specific vlan hook
<jgarzik@redhat.com>
[netdrvr sk_mca] somebody typo'd in their cli()-to-spinlock conversion
Anybody with hardware, that can test this driver?
<jgarzik@redhat.com>
[netdrvr sk_mca] remove ancient-kernel compat code; fix bugs
* removed ancient-kernel compat code from sk_mca.h. I leave
it to janitors to remove the now-useless SKMCA_xxx wrappers.
* removed ancient-kernel compat code from sk_mca.c.
* s/SKMCA_NETDEV/net_device/
* fixed static net_device initialization (this will go away
when dynamic-alloc patches land)
<drepper@redhat.com>
[PATCH] More ->pid to ->tgid changes
One more overlooked area where the proper process ID has to be used:
SysV IPC "pid" values should use the thread group ID, not the per-thread
one.
<wim@iguana.be>
[WATCHDOG] wafer5823wdt.c - patch3
fix MODULE_PARM_DESC for timeout
add WDIOC_SETOPTIONS functionality
<wim@iguana.be>
[WATCHDOG] acquirewdt.c - patch
clean-up of comments, trailing spaces, includes, ...
removed unnecessary spinlocking
added WATCHDOG_NAME + PFX defines for easier printk's
clean-up expect_close / acq_is_open
made wdt_stop and wdt_start a module_param
clean-up ioctl handling
clean-up init and exit routines
added MODULE_AUTHOR + MODULE_DESCRIPTION info
<wim@iguana.be>
[WATCHDOG] alim1535_wdt.c
Add "ALi M1535 PMU Watchdog Timer" driver
<B.Zolnierkiewicz@elka.pw.edu.pl>
[PATCH] cable detection fixes for HPT37x controllers
From Duncan Laurie <duncan@sun.com>
This same patch made its way into 2.4 via the -ac tree but hasn't
been put in 2.6 yet.
It fixes some cable detect issues that stem from the fact that the
cable detect pins are also used as address/data lines, so they need
to first be configured as inputs to read valid cable detect state.
<B.Zolnierkiewicz@elka.pw.edu.pl>
[PATCH] fix PowerMac driver breakage caused by recent dynamic queue change
From Mikael Pettersson <mikpe@csd.uu.se>.
<B.Zolnierkiewicz@elka.pw.edu.pl>
[PATCH] fix ide.c warning when compiling IDE for non-PCI systems
From Stephane Ouellette <ouellettes@videotron.ca>.
<B.Zolnierkiewicz@elka.pw.edu.pl>
[PATCH] fix ide-lib.c warning when compiling IDE without DMA support
From Mikael Pettersson <mikpe@csd.uu.se>.
<B.Zolnierkiewicz@elka.pw.edu.pl>
[PATCH] allow drivers (ie. mediabay) to set hwif->gendev.parent
From Benjamin Herrenschmidt <benh@kernel.crashing.org>.
<B.Zolnierkiewicz@elka.pw.edu.pl>
[PATCH] kill ide_modes.h
<B.Zolnierkiewicz@elka.pw.edu.pl>
[PATCH] do not set drive->dn twice in probe_hwif()
<B.Zolnierkiewicz@elka.pw.edu.pl>
[PATCH] kill ide_init_drive() in ide-probe.c
also fix comment in init_irq()
<B.Zolnierkiewicz@elka.pw.edu.pl>
[PATCH] remove unused exports from ide-probe.c
export_ide_init_queue() and export_probe_for_drive()
<B.Zolnierkiewicz@elka.pw.edu.pl>
[PATCH] remove unused ide_chipsets and IDE_CHIPSET_MODULE
<B.Zolnierkiewicz@elka.pw.edu.pl>
[PATCH] kill ide_module_t
<B.Zolnierkiewicz@elka.pw.edu.pl>
[PATCH] kill ide_register()
<ak@muc.de>
[PATCH] Make ACPI_SLEEP select SOFTWARE_SUSPEND
CONFIG_ACPI_SLEEP doesn't compile without SOFTWARE_SUSPEND.
Make it select it automagically.
This fixes some bugzilla bug whose number I forgot.
<ak@muc.de>
[PATCH] Do 32bit addresses in /proc/self/maps if possible
As discussed earlier. This implements Linus' idea of printing
the addresses in /proc/<pid>/maps as 32bit if possible.
This works around some broken 32bit programs that cannot parse
64bit addresses as generated by x86-64 kernels.
Also simplifies the code slightly.
<romieu@fr.zoreil.com>
[PATCH] sis190 driver fix
synchronize_irq() requires an argument when built with CONFIG_SMP.
<ak@muc.de>
[PATCH] x86-64 update
Make everything compile and boot again.
- Update defconfig
- Some minor cleanup
- Introduce physid_t for APIC masks (fixes UP kernels)
- Add bandaid for CardBus bridges and broken BIOS (Vojtech)
- Add bandaid for unsynchronized TSCs (Vojtech)
- Fix ffs(0) return value (fixes XFS)
- Fix compilation with software suspend
<hirofumi@mail.parknet.co.jp>
[netdrvr 8139too] remove driver-based poisoning of net_device
Harmless in 2.4, but causes oopses on rmmod in 2.6.
slab poisoning can take care of this for us, anyway.
<hirofumi@mail.parknet.co.jp>
[netdrvr 8139too] don't start thread when it's not needed
The thread for was unneeded on chips other than CH_8139_K/8129. So,
this patch doesn't create the thread on chips other than
CH_8139_K/8129.
<axboe@suse.de>
[PATCH] cciss init problem
This assigns the queue properly.
<willy@debian.org>
[PATCH] bio.c: reduce verbosity at boot
The queue init is really far too verbose at boot time. I don't think
these messages add anything to either the end user experience or debug
ability.
Acked by Jens
<neilb@cse.unsw.edu.au>
[PATCH] Fix module ref counting for md.
We don't need to explicitly count references as:
- refcounting already happens for opens of /dev/md?
- when an array is active, a daughter module is loaded which
locks "md" in.
We just need to make sure we clean up properly on unload. (export_array)
Also, xor needs a null module_exit so that it can be unloaded.
<neilb@cse.unsw.edu.au>
[PATCH] Honour the read-ahead for for reads in raid5.
If we get a failure trying to allocate a stripe_head for a read-ahead
request (the only time we can get a failure), we skip the rest of the
request and fail the whole bio.
<neilb@cse.unsw.edu.au>
[PATCH] Set max_sectors for raid0 only, not for all raid levels.
raid1 and multipath have not concept of a chunksize, so basing
max_sectors on it is obviously wrong.
Similary 'linear' has a very different concept of chunksize and
max_sectors doesn't apply.
raid5 does have relevant chunk_size concept, but it has code to
effectively handle any chunksize.
So we only need to set max_sectors based on chunk_size in raid0.
<neilb@cse.unsw.edu.au>
[PATCH] Fix md superblock incompatabilities with 2.4 kernels.
2.4 kernels are very fussy about some values in the superblock, and
2.6 got them wrong. This fixes it.
<neilb@cse.unsw.edu.au>
[PATCH] Track nfsv4 open files by "struct inode" rather than dev/ino/generation
<neilb@cse.unsw.edu.au>
[PATCH] fix in NFSv4 server for bad sequence id errors
From: "William A.(Andy) Adamson" <andros@citi.umich.edu>
this patch fixes the share state sequenceid bookeeping.
- increment the sequence id on an open that is confirmed
- increment the sequence id on close
<gerg@snapgear.com>
[PATCH] use irqreturn_t in m68knommu/5206 config.c
<gerg@snapgear.com>
[PATCH] use irqreturn_t in m68knommu/5206e config.c
Fix up interrupt handler type to be irqreturn_t.
<gerg@snapgear.com>
[PATCH] use irqreturn_t in m68knommu/5249 config.c
Fix up interrupt handler type to be irqreturn_t.
<gerg@snapgear.com>
[PATCH] use irqreturn_t in m68knommu/5272 config.c
Fix up interrupt handler type to be irqreturn_t.
<viro@www.linux.org.uk>
[PATCH] dev_t handling cleanups (1/12)
removed unused kdev_t stuff, fixed a typo left from the
console->device() conversion.
<viro@www.linux.org.uk>
[PATCH] dev_t handling cleanups (2/12)
tty_paranoia_check() switched from kdev_t to struct inode.
<viro@www.linux.org.uk>
[PATCH] dev_t handling cleanups (3/12)
killed gratitious uses of kdev_t in tpqic02
<viro@www.linux.org.uk>
[PATCH] dev_t handling cleanups (4/12)
jffs used to put kdev_t values on disk - blind copy of in-core
representation.
Switched to explicit use of u16 (which is what kdev_t currently is),
with appropriate conversion
<viro@www.linux.org.uk>
[PATCH] dev_t handling cleanups (5/12)
removed bogus uses of ->i_sb->s_dev in intermezzo (comparizons can and
should simply compare ->i_sb, printks should use ->s_id).
<viro@www.linux.org.uk>
[PATCH] dev_t handling cleanups (6/12)
- hpfs_unlink() should not try to truncate the victim unless it's a
regular file; truncate will not help for anything else and it will
screw the page cache if victim happens to be a block device.
- network filesystems should *not* invalidate page cache of block
device node when inode gets invalidated; fixed, added a new helper -
invalidate_remote_inode().
- nfs setattr syncs the file before sending SETATTR to server; that
makes a lot of sense for regular files, but not for anything else.
Fixed.
<viro@www.linux.org.uk>
[PATCH] dev_t handling cleanups (7/12)
removed dead code from sparc64 hugetlbpage.c
<viro@www.linux.org.uk>
[PATCH] dev_t handling cleanups (8/12)
Now that floppy_open() stores bdev in opened_bdevs[drive], we can remove
crap from floppy_read_block_0() and have it use that bdev instead of
messing with bdget_disk()/setting ->bd_disk by hand/bdput().
<viro@www.linux.org.uk>
[PATCH] dev_t handling cleanups (9/12)
struct block_device made the private part of bdevfs inodes; bd_count
is gone, we use ->i_count of inode now; separate hash is also gone and we
are using iget5_locked()/igrab()/iput() instead.
<viro@www.linux.org.uk>
[PATCH] dev_t handling cleanups (10/12)
new helper - iminor(inode); defined as minor(inode->i_rdev); lots and
lots of places in drivers had been switched to it.
<viro@www.linux.org.uk>
[PATCH] dev_t handling cleanups (11/12)
new helper - imajor(inode)
<viro@www.linux.org.uk>
[PATCH] dev_t handling cleanups (12/12)
added the exclusion between ADD_PARTITION/DELETE_PARTITION/open() (BLKPG
ioctls didn't grab ->bd_sem when they should have).
added bdev->bd_part; it is set at open() to point to the hd_struct of
partition in question, reset on final close.
blk_partition_remap() uses ->bd_part instead of the current mess
->bd_offset is gone, we use ->bd_part->start_sect instead
added missing ->release() to hd_struct kobject, moved kfree() into it
->bd_part cotributes to refcount of hd_struct - we bump it when
->bd_part is set and drop when it's reset.
<geert@linux-m68k.org>
[PATCH] vmlinux-*.lds (was: Re: Linux 2.6.0-test4)
Kai Germaschewski:
> o kbuild: Move generation of vmlinux.lds.s into arch/.../kernel
This forgot to move two files:
mv arch/m68k/vmlinux-std.lds arch/m68k/kernel
mv arch/m68k/vmlinux-sun3.lds arch/m68k/kernel
<geert@linux-m68k.org>
[PATCH] macide (was: Re: Linux 2.6.0-test4)
Bartlomiej Zolnierkiewicz:
> o ide: disk geometry/capacity cleanups
> o ide: always store disk capacity in u64
Forgot to update the Macintosh IDE driver:
<geert@linux-m68k.org>
[PATCH] m68k asm/sections.h
M68k: asm/sections.h just includes the generic version (from Roman Zippel)
<geert@linux-m68k.org>
[PATCH] m68k asm/local.h
M68k: asm/local.h just includes the generic version (from Roman Zippel)
<geert@linux-m68k.org>
[PATCH] Amiga z2ram
Amiga z2ram: Add missing includes and remove some unnecessary includes
<geert@linux-m68k.org>
[PATCH] Amiga floppy
Amiga floppy: Add missing includes and remove some unnecessary includes (from
Roman Zippel)
<geert@linux-m68k.org>
[PATCH] M68k switch_to
M68k: Set last in switch_to(), fix asm constraints (from Andreas Schwab)
<geert@linux-m68k.org>
[PATCH] Atari floppy
Atari floppy: Add missing includes and remove some unnecessary includes
<stelian@popies.net>
[PATCH] sonypi driver update
This updates the sonypi driver to the latest version:
* document the fact that FX501/FX702 laptops are not supported
* add battery insert/remove events (thanks to Daniel K.)
* improve the event detection using a different port offset
on 'type2' models (thanks to Daniel K.)
<stelian@popies.net>
[PATCH] meye driver update
In order to bring the 2.4 and 2.6 versions in sync, here is the
missing bit for the meye driver :)
<ysato@users.sourceforge.jp>
[PATCH] h8300 interrupt problem fix
typo fixed.
<ysato@users.sourceforge.jp>
[PATCH] h8300 include update
o driver support headers update
o fix warnings
<miles@lsi.nec.co.jp>
[PATCH] Give v850 its own version of the vmlinux.lds.h RODATA macro
While it would be nice to keep using the generic version of RODATA, the
v850's linker-script structure is sufficiently different from that of
typical archs that it's not possible to use RODATA as it's currently
defined. I earlier suggested splitting the generic definition of RODATA
into `RODATA_CONTENTS' and `RODATA' (a wrapper around RODATA_CONTENTS)
where most archs would use RODATA, and the v850 would use
RODATA_CONTENTS, however Kai didn't like that idea.
It _may_ be possible to rewrite the v850's linker scripts into something
more typical (using lots of individual output sections), but it doesn't
seem at all straightforward, so I don't have the time to do it right
now.
Anyway, this is the short-term work-around so that Linus's kernel works
on the v850.
<miles@lsi.nec.co.jp>
[PATCH] Properly export symbols that depend on CONFIG_MMU
<levon@movementarian.org>
[PATCH] OProfile: correct CPU type for x86-64
Enable the Hammer specific events by giving the correct cpu string.
From, and tested by, Will Cohen.
<vinay-rc@naturesoft.net>
[PATCH] pcmciamtd.c: remove release timer
This patch removes the PCMCIA timer release functionality which is no
longer required (or supported).
<acme@conectiva.com.br>
[PATCH] cyc2x: sanitize ioremap usage & more
I wrote this driver a long time ago, and now, playing with my
brand new PARISC machine I found these problems, could you please apply
this patch?
Ah, the "& more" refers to some alignment problems also solved
in this patch.
<krishnakumar@naturesoft.net>
[PATCH] Remaining task queue to work queue conversion.
Somewhere in the transition of task queue to the work queue, in
stallion.c, some of the schedule_task were left out from being converted
to schedule_work. This fixes it.
<guillaume@morinfr.org>
[PATCH] fix cu3088 group write
The current cu3088 ccwgroup write code overwrite the last char of the
given arguments. This fixes the problem. It is been tested and applies
on latest bk.
<herbert@gondor.apana.org.au>
[PATCH] free_netdev typo
The free_netdev fixes in 2.6.0-test4 broke drivers/net/wan/cosa.c.
This fixes it.
<davej@redhat.com>
[AGPGART] Various renames for AMD64 GART driver.
- Remove references to 8151, as its not specific to this driver
- K8 & x86-64 is deprecated in favour of amd64
<jgarzik@redhat.com>
[netdrvr 8139cp] PCI MWI cleanup; remove unneeded workaround
* The PCI layer now handles incorrect cacheline size settings,
as it should. Remove our own workarounds.
* Move pci_set_mwi up much earlier in the probe process,
and check its return value.
* Call pci_clear_mwi() in ->probe error handling
* Call pci_clear_mwi() in ->remove
<neilb@cse.unsw.edu.au>
[PATCH] Fix compile errors in NFSv4 server
<akpm@osdl.org>
[PATCH] .config checks updated
From: Sam Ravnborg <sam@ravnborg.org>
When building a kernel right after 'make mrproper' resulted in a very short
run, and no sign that .config was missing. This has been fixed by adding a
new rule for .config in the top-level Makefile, and a new target
'silentoldconfig' in scripts/kconfig/Makefile.
Cleaned up a bit in scripts/kconfig/Makefile
<akpm@osdl.org>
[PATCH] random: SMP locking
From: Oliver Xymoron <oxymoron@waste.org>
This patch adds locking for SMP. Apparently Willy never managed to
revive his laptop with his version so I revived mine.
The batch pool is copied as a block to avoid long lock hold times
while mixing it into the primary pool.
Two locks are added:
gobal batch_lock
batch_entropy_store can be called from any context, and typically from
interrupts -> spin_lock_irqsave
batch_entropy_process is called called via schedule_delayed_work and
runs in process context -> spin_lock_irq
entropy_store.lock
the mixing process is too expensive to be called from an interrupt
context and the basic worker function extract_entropy can sleep, so
all this stuff can be under a normal spin_lock
<akpm@osdl.org>
[PATCH] random: accounting and sleeping fixes
From: Oliver Xymoron <oxymoron@waste.org>
This fixes several calculation errors and races in entropy accounting
that would allow /dev/random output to greatly exceed the measured
entropy collection. This doesn't include any of my more controversial
hardening, it just makes it behave as intended.
It also corrects the operation of the 'catastrophic reseeding' feature
so that it will actually prevent the state extension attack it's meant
to guard against.
And finally, it also fixes a couple missed wake-up and accidental
sleep bugs uncovered by the above fixes.
Debug instrumentation has been improved to help verify correctness.
<akpm@osdl.org>
[PATCH] disable prefetch on athlons
K7's (at least) are faulting in the prefetch instruction. The AMD
engineers have said they will be getting back to us on it, and the fix is
looking complex, and nobody seems to be standing up to work on it.
So hum. The usual manifestation is an oops in hlist_for_each(), down in
the VFS inode lookup code. Disrupting our testers in this way is very bad,
so this patch just disables prefetch on all AMD parts in a rather stupid
way.
<akpm@osdl.org>
[PATCH] fix /proc/pid/fd ownership across setuid()
From: "B. D. Elliott" <bde@nwlink.com>
There's a bug:
- Someone reads a (say) root-owned process's /proc/pid/fd directory
The inodes are instantiated owned by root.
- That process does a setuid
- The /proc/pid/* files still have the old ownerships.
This happened because we are now caching the proc entries.
The patch rewrites the ownership of the inodes under /proc/pid in the
d_revalidate() handler.
<akpm@osdl.org>
[PATCH] Call security hook from pid*_revalidate
From: Stephen Smalley <sds@epoch.ncsc.mil>
This patch against 2.6.0-test3-mm3 adds calls to the security_task_to_inode
hook to the pid*_revalidate functions to ensure that the inode security field
is also updated appropriately for /proc/pid inodes. This corresponds with
the uid/gid update performed by the proc-pid-setuid-ownership-fix.patch that
is already in -mm3.
<akpm@osdl.org>
[PATCH] move DAC960 GAM IOCTLs into a new device
From: Dave Olien <dmo@osdl.org>
The DAC960 driver uses an ugly overloading of the O_NONBLOCK flag to
support the controller's RAID configuration features.
Opening "/dev/rd/c0d0" with the O_NONBLOCK flag set returns a file
descriptor that can be used to do RAID control operations using ioctl().
The normal ioctl operations are not availabe with that file descriptor.
This patch removes that O_NONBLOCK overloading from DAC960_open() and
DAC960_ioctl() functions. It introduces a new "miscellaneous" device
named /dev/dac960_gam. It uses minor device number 252 of the miscellaneous
character devices.
The currently distrubted "Global Array Manager" server distrubted by
LSIlogic on their web page page works only on RH7.3 or earlier. It doesn't
work under RH9. There are probably some library incompatabilities.
So, I don't view this patch as breaking anything that currently works.
If this software package is ever brought up to date (which I doubt),
then it can be modified to use this new device at that time.
<akpm@osdl.org>
[PATCH] Add the kernel janitors to MAINTAINERS
From: "Randy.Dunlap" <rddunlap@osdl.org>
Add the Kernel Janitors project to MAINTAINERS.
Probably the trivial patch monkey should be there too.
<akpm@osdl.org>
[PATCH] Update ide.txt documentation to current ide.c
From: Maciej Soltysiak <solt@dns.toxicfilms.tv>
this patches updates Documentation/ide.txt to reflect more options that
really are supported by the IDE driver (drivers/ide.c)
<akpm@osdl.org>
[PATCH] v4l use-after-free fix
From: Greg KH <greg@kroah.com>
When working on converting the usb v4l drivers to the new v4l class
changes, I ran into this nasty bug. Seems that the core was using a
structure after it had been freed. The patch below fixes it.
<akpm@osdl.org>
[PATCH] ikconfig - Makefile update
From: "Randy.Dunlap" <rddunlap@osdl.org>
Please merge this makefile update from Sam.
From: Sam Ravnborg <sam@ravnborg.org>
Remark, I removed dependencies for configs.o - the are generated by kbuild
anyway. Only generated files needs explicit dependencies.
<akpm@osdl.org>
[PATCH] Fix ftape warning
From: Chris Heath <chris@heathens.co.nz>
Here's a patch which fixes this warning:
drivers/char/ftape/lowlevel/fdc-io.c: In function `ftape_interrupt':
drivers/char/ftape/lowlevel/fdc-io.c:1299: warning: unused variable `_tracing'
<akpm@osdl.org>
[PATCH] jffs aops return type fix
From: "Randy.Dunlap" <rddunlap@osdl.org>
prepare_write() and commit_write() return `int'.
Fixes an ia64 compile warning.
<akpm@osdl.org>
[PATCH] Add 3GB personality
From: Andi Kleen <ak@muc.de>
Another a bit ugly but necessary patch for 32bit emulation.
Some applications including some versions of java break when the stack is
beyond the i386 standard 3GB boundary. For these add a 3GB personality
that moves the stack to 3GB and fixes the beginning of the mmap area. It's
a bit ugly, but better than not running these applications at all (e.g.
the Oracle installer depends on such a buggy java :-(). It's also not only
Java, but some other programs as well.
<akpm@osdl.org>
[PATCH] zeromap_pmd_range bugfix
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
The patch below fixes a 2.6 mm problem. Without this patch, zeromapped
pages are not flushed properly when they are swapped out.
What happens is that the page->index field is zero for page table pages
corresponding to the zeromapped range. This causes ptep_to_address() to
return an incorrect virtual address with the result that PTEs are never
invalidated at swap-out...
The fix below mirrors the remap_pmd_range() case.
<akpm@osdl.org>
[PATCH] don't report async write errors on close() after all
I had second thoughts on this.
Reporting background writeout errors via close() only really makes sense if
allthe IO has completed anyway: ie, the app has had the fd open without
writing to it for many tens of seconds.
It would be OK if it was harmless, but it is not. Changes are, applications
ignore errors from close(). So if an application does a fork/exit and the
child correctly does an fsync() of the fd, the close-on-exit will have wiped
out any accumulated EIO/ENOSPC errors.
Or if someone does dup()/close()/fsync(), the fsync() could fail to detect
earlier errors, thanks to the close.
So. The clear-and-report of errors on close() makes the reporting of errors
on fsync/msync/fdatasync less reliable.
<akpm@osdl.org>
[PATCH] remove add_wait_queue_cond()
It has no callers, is using the non-existent spin_lock_irqrestore(), and is
obviously very untested. Kill.
<akpm@osdl.org>
[PATCH] spin_lock_irqrestore() typo fixes
From: Vinay K Nallamothu <vinay-rc@naturesoft.net>
s/spin_lock_irqrestore/spin_unlock_irqrestore/
<akpm@osdl.org>
[PATCH] zoran: memleak fixes
From: Ronald Bultje <rbultje@ronald.bitfreak.net>
This patch fixes several memleaks in error cases when the setup of i2c
client drivers for video encoders/decoders fails. We forgot to free some
memory in various places. This was noticed by Francois Romieu.
<akpm@osdl.org>
[PATCH] zoran: debug->zr_debug
From: Ronald Bultje <rbultje@ronald.bitfreak.net>
This patch renames the debug symbol to zr_debug because debug is already
defined somewhere else. Without it, it will cause a symbol conflict when
compiling this driver statically into the kernel. This was noticed by
several people, including Linus himself.
<akpm@osdl.org>
[PATCH] zoran: add release callback
From: Ronald Bultje <rbultje@ronald.bitfreak.net>
This patch adds a release callback which frees the video_device struct.
This is needed to prevent freeing memory before it's not in use anymore,
as described in http://lwn.net/Articles/36850/. Without this, the driver
will give a warning when loaded. It might crash when unloading (see
article), too. The video4linux patch (by Gerd Knorr) was accepted a week
(or 2?) ago, but I forgot to adapt my driver to it.
<akpm@osdl.org>
[PATCH] zoran: add pci_disable_device() call
From: Ronald Bultje <rbultje@ronald.bitfreak.net>
This patch adds pci_disable_device() to the card release function; we
already used pci_enable_device() in the card detection function. This was
noticed by Francois Romieu.
<akpm@osdl.org>
[PATCH] zoran: cleanups
From: Ronald Bultje <rbultje@ronald.bitfreak.net>
This patch changes some funky coding style (a.k.a. indent artifact) in
the function zoran_irq() to a somewhat more conservative coding style.
It was noticed by Francois Romieu.
<akpm@osdl.org>
[PATCH] zoran: more cleanups
From: Ronald Bultje <rbultje@ronald.bitfreak.net>
This patch adds some newlines between variable declarations and function
bodies. This was done on request by Francois Romieu.
<akpm@osdl.org>
[PATCH] zoran: correct name field breakage
From: Ronald Bultje <rbultje@ronald.bitfreak.net>
I suddenly noticed that 2.6.0-test4 seems to have removed the struct
device->name field, apparently for memory consumption reasons. Linus
changed this to pci_name((zr)->pci_dev) in my driver, and that's almost
correct, except that it is the PCI device ID, and I'm not supposed to
touch it. Also, since it's only 4 bytes, all my device names now show
like 'DC1' (this should be 'DC10plus') and alike.
The attached patch fixes this by going back to the behaviour that we
used in 2.4.x: we use a separate name field in our private driver
struct.
<akpm@osdl.org>
[PATCH] airo CONFIG_PCI=n build fix
From: Geert Uytterhoeven <geert@linux-m68k.org>
On Fri, 22 Aug 2003, Linus Torvalds wrote:
> Javier Achirica:
> o [wireless airo] Fix PCI unregister code
This patch causes a regression: if CONFIG_PCI is not set, it doesn't compile
anymore. Here's a fix. I also killed a dead variable and its corresponding
warning:
<akpm@osdl.org>
[PATCH] drivers/char/pcxx.c warning fix
From: "Krishnakumar. R" <krishnakumar@naturesoft.net>
This patch removes the warning:
drivers/char/pcxx.c:124:8: warning: extra tokens at end of #endif directive
<akpm@osdl.org>
[PATCH] pcnet32 needs unregister_pci
From: Domen Puncer <domen@coderock.org>
The problem in pcnet32 is, that it doesn't unregister pci, if there's no
hardware.
This patch solves the problem.
<akpm@osdl.org>
[PATCH] c99 struct initialiser conversions
From: CaT <cat@zip.com.au>
Convert a whole bunch of struct initialisers into c99 format.
<akpm@osdl.org>
[PATCH] Fix 'pci=noacpi' with buggy ACPI BIOSes
From: Thomas Schlichter <schlicht@uni-mannheim.de>
Make the `pci=noacpi' command line option work correctly. It fixes
interrupt routing probems for (at least 3) people with broken ACPI BIOSes.
<akpm@osdl.org>
[PATCH] /proc/kallsym caching fix
From: Rusty Russell <rusty@rustcorp.com.au>
Out by one error broke caching of results in /proc/kallsyms, slowing
reading to a crawl.
<akpm@osdl.org>
[PATCH] Fix permissions on /proc/kallsyms
From: Rusty Russell <rusty@rustcorp.com.au>
Change the permissions on /proc/kallsyms. As David M-T points out,
it's nice for analysis tools not to need root. Place
cond_resched() to avoid starvation problems on non-preempt.
<akpm@osdl.org>
[PATCH] Kobject doc addition
From: <ffrederick@prov-liege.be>
Here's an _important_ kobject doc patch.
<akpm@osdl.org>
[PATCH] vm_enough_memory microoptimisation
From: <ffrederick@prov-liege.be>
The expected case is (sysctl_overcommit_memory == 0), so put that first.
<akpm@osdl.org>
[PATCH] abi doc update
From: <ffrederick@prov-liege.be>
Update the abi sysctl documentation.
<akpm@osdl.org>
[PATCH] ni5010.c: remove cli/sti
From: Vinay K Nallamothu <vinay-rc@naturesoft.net>
drivers/net/ni5010.c:
This patch replaces cli/sti with spinlocks. Compiles fine though
untested.
<akpm@osdl.org>
[PATCH] do_no_page() fix
From: David Mosberger <davidm@napali.hpl.hp.com>,
"Sharma, Arun" <arun.sharma@intel.com>
The truncate race fix assumed that a non-zero vma->vm_ops->nopage implies a
non-zero vma->vm_file.
The ia64 x86 emulation code breaks this assumption, so teach do_no_page() to
handle it.
<akpm@osdl.org>
[PATCH] parport_pc rmmod oops fix
The `user_specified' variable is used in cleanup_module() and hence cannot be
dropped from memory after module initialisation.
<akpm@osdl.org>
[PATCH] reiserfs writepage-versus-truncate fix
From: Oleg Drokin <green@namesys.com>
The conversion of reiserfs to not return errors from
writepage-outside-i_size was incorrect. Fix.
<akpm@osdl.org>
[PATCH] visws: fix 2.6.0-test4 breakage
From: Andrey Panin <pazke@donpac.ru>
attached trivial patch fixes visws subarch kernel build. It was broken by
2.6.0-test4 cpumask_t changes.
<akpm@osdl.org>
[PATCH] Fix ext3 htree corruption on big-endian platforms
From: Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
current bk 2.6.0 corrupts my ext3 filesystems, usually in the RESYNC dir
during a bk pull. Checking the recent changes I noticed that the one in
fs/ext3/namei.c misses an endian conversion. The attached patch fixes that
and works fine for me since 2 days now on PPC.
<akpm@osdl.org>
[PATCH] Fix selinux_file_fcntl
From: Stephen Smalley <sds@epoch.ncsc.mil>, James Morris <jmorris@redhat.com>
This patch adds the appropriate #if around the F_*64 commands in the
selinux_file_fcntl hook function.
<akpm@osdl.org>
[PATCH] Fix SELinux avtab
From: Stephen Smalley <sds@epoch.ncsc.mil>, Arnd Bergmann <arnd@arndb.de>
This patch changes the SELinux avtab to use vmalloc/vfree; the table is too
large for kmalloc on s390.
<akpm@osdl.org>
[PATCH] Fix SELinux format specifiers
From: Stephen Smalley <sds@epoch.ncsc.mil>, James Morris <jmorris@redhat.com>
This patch corrects several format specifiers in the SELinux security server
code.
<akpm@osdl.org>
[PATCH] Rework SELinux binprm hooks
From: Stephen Smalley <sds@epoch.ncsc.mil>
This patch reworks the SELinux binprm hook functions to use a security
structure for the linux_binprm rather than directly stuffing the security
identifier into the void* security field. It also performs some cleanup of
the SELinux binprm hook functions, and one miscellaneous fix.
<akpm@osdl.org>
[PATCH] Fix typo in #ifdef for ext2 xattr support
From: Stephen Smalley <sds@epoch.ncsc.mil>
This patch corrects a typo in an ifdef that enables xattr operations for
special files in the ext2 code; otherwise, extended attributes cannot be
obtained or set on such inodes.
<akpm@osdl.org>
[PATCH] Add more bad_inode operations
From: <ffrederick@prov-liege.be>
Flesh out the bad_inode file and inode operations tables with new
additions.
<akpm@osdl.org>
[PATCH] Fix build with CONFIG_KCORE_AOUT
We get a linkage error with CONFIG_KCORE_AOUT because there is no
implementation of kclist_add() and kclist_del().
Also fix a warning in the a.out version of read_kcore().
Maybe we should just remove kcore a.out support. m68knommu and h8300 are
setting CONFIG_KCORE_AOUT in their defconfigs though.
<akpm@osdl.org>
[PATCH] kill CONFIG_KCORE_AOUT
From: Adrian Bunk <bunk@fs.tum.de>
Remove CONFIG_KCORE_AOUT: the ability to present /proc/kcore in a.out
format.
I've checked with various arch maintainers. It won't be missed.
<akpm@osdl.org>
[PATCH] knfsd nfs4 warning fixes
<akpm@osdl.org>
[PATCH] Fix bluetooth compile warnings
<akpm@osdl.org>
[PATCH] do_no_page() rss accounting fix
From: Jaroslav Kysela <perex@suse.cz>
The do_no_page() function in mm/memory.c does accounting for reserved pages
(++mm->rss), but in zap_pte_range() we don't decrement rss if the page was
reserved.
So don't account for PageReserved pages in the rss. (Maybe it would be
better to fix zap_pte_range in the opposite direction..)
<akpm@osdl.org>
[PATCH] jbd: remove uninformative printk
This printk doesn't impart any information.
<akpm@osdl.org>
[PATCH] acpi pci_link fix
From: Christophe Saout <christophe@saout.de>
- acpi_pci_link_get_irq() returns 0 on error, not -ENODEV.
- Fix mpparse.c tpyo.
<akpm@osdl.org>
[PATCH] add context switch counters
From: Peter Chubb <peterc@gelato.unsw.edu.au>
Currently, the context switch counters reported by getrusage() are
always zero. The appended patch adds fields to struct task_struct to
count context switches, and adds code to do the counting.
The patch adds 4 longs to struct task struct, and a single addition to
the fast path in schedule().
<akpm@osdl.org>
[PATCH] remove size_t-based printk warnings
From: "Randy.Dunlap" <rddunlap@osdl.org>
This patch removes warnings on non-matching parameter types to printk
and incorrect function types (n_hdlc).
<akpm@osdl.org>
[PATCH] large dev_t 12/12 oops fix
From: viro@parcelfarce.linux.theplanet.co.uk
On Wed, Aug 27, 2003 at 01:46:37AM -0700, Andrew Morton wrote:
>
> LILO seems to be oopsing in HDIO_GETGEO ioctl for some reason, in
> generic_ide_ioctl().
>
> I'm not sure quite why though. Could one of your patches affected this
> area?
The last one (fix for hd_struct handling). The fix follows:
<akpm@osdl.org>
[PATCH] evdev_ioctl does not report EV_MSC capabilities
From: Dmitry Torokhov <dtor_core@ameritech.net>
While working on my GPM patches found out that EV_MSC was forgotten...
<akpm@osdl.org>
[PATCH] AS: don't anticipate against a task's initial I/O
From: Nick Piggin <piggin@cyberone.com.au>
In the anticipatory scheduler, don't anticipate against the very first IO
request which a process issues.
This solves a very specific problem wherein a process starts, submits a
single IO then exits.
<akpm@osdl.org>
[PATCH] hch has moved
From: Christoph Hellwig <hch@lst.de>
I moved a while ago and I'm also not at SGI anymore.
<akpm@osdl.org>
[PATCH] Cyclades ISA serial driver fix
From: "John Stoffel" <stoffel@lucent.com>
Quick patch to get my 8 port Cyclades Cyclom-Y ISA card to work.
(It doesn't look to be very SMP-robust, but then the 2.4 dirver probably
isn't either).
<akpm@osdl.org>
[PATCH] kbuild: warn if the user has old modutils
From: Valdis.Kletnieks@vt.edu, Sam Ravnborg <sam@ravnborg.org>
Adds an explicit check for the new modutils in the build system.
Generally we should avoid these sorts of hardwired checks for the right
versions of things, but we are still getting a significant number of problem
reports due to people not having the new tools. Let's help them out.
<akpm@osdl.org>
[PATCH] fix arcnet printk parameter types
From: "Randy.Dunlap" <rddunlap@osdl.org>
fix arcnet printk parameter types
<akpm@osdl.org>
[PATCH] floppy driver cleanup
From: "Randy.Dunlap" <rddunlap@osdl.org>
- use kernel.h min() and max();
- C99 initializers;
- Tidy up the scheule_work() callbacks (none of them take an arg)
<akpm@osdl.org>
[PATCH] Use tgid rather than pid in dnotify
From: Ulrich Drepper <drepper@redhat.com>
I'm not entirely sure about this change. But it seems to be necessary.
The dnotify code stores the PID in the file structure. The entire process
shares the file and any signal (is it used for that?) should be sent to the
process (thread group), not the individual thread. Also keep in mind that
threads can go away while the process (and therefore file descriptor)
remain. And the ID of the thread can be reused.
Somebody who knows this code should take a good look.
(Looks right to me...)
<akpm@osdl.org>
[PATCH] Fix a few declarations
extern decls in .c files are evil. Put the send_sigio(), fcntl_setlease()
and fcntl_getlease() into fs.h.
<akpm@osdl.org>
[PATCH] make voyager work again after the cpumask_t changes
From: James Bottomley <James.Bottomley@SteelEye.com>
Most is just simple fixes; however, the needless change from atomic to
non-atomic operations in smp_invalidate_interrupt() caused me a lot of
pain to track down since it introduced some very subtle bugs.
I've also taken phys_cpu_present_map out of smp.h. Since it
physid_mask_t is defined in mpspec.h anyway, and contains a duplicate
definition, I don't believe it can hurt anything.
<akpm@osdl.org>
[PATCH] mtrr cleanups
- Remove duplicated implementation of attrib_to_str()
- Make mtrr_strings[] static to if.c
<akpm@osdl.org>
[PATCH] compat ioctl_table fix
The arch ioctl tables are doing this:
struct foo ioctl_start[] = {
...
};
struct foo ioctl_end[0];
and fs/compat.c expects that the table lies between &ioctl_end and
&ioctl_start.
Problem is, gcc-3.3 puts ioctl_end into bss, even if it is initialised. It
doesn't work.
So we do away with the ioctl_end thing and add
int ioctl_table_length = ARRAY_SIZE(ioctl_start);
to each architecture.
<akpm@osdl.org>
[PATCH] raw driver oops fix
From: Dave Olien <dmo@osdl.org>
The raw.c character device Oopses dereferencing a NULL pointer in
bd_claim() This problem occurred after bd_claim() in block_dev.c was
modified to "claim the whole device when a partition is claimed".
raw_open() made the mistake of calling bd_claim BEFORE calling blkdev_get().
At that time, the bdev->bd_contains field has not yet been initialized.
Switching the order allows blkdev_get() to initialize those fields before
calling bd_claim().
Also fixed up some error return paths:
igrab() should never fail under these circumstances since the caller
already has a reference to that inode through the bdev at that time.
In the event of blkdev_get() failure or set_blocksize() failure, not all
the work to unwind from the error was done.
<akpm@osdl.org>
[PATCH] ipc_init() uses vmalloc too early
From: Andrea Arcangeli <andrea@suse.de>
aka: "vmalloc allocations in ipc needs smp initialized (and vm must be
allowed to schedule in 2.6)"
In short if you change SEMMNI to 8192 the kernel will crash at boot, beause
it tries to call vmalloc before the smp is initialized. The reason is that
vmalloc calls into the pte alloc code, and the fast pte alloc is tried
first, but that reads into the pte_quicklist, that requires the cpu_data to
be initialized (and that happens in smp_init()).
the patch is obviously safe, since no piece of kernel (especially the code
in the check_bugs and smp_init paths ;) calls into the ipc subsystem.
The reason this started to trigger wasn't really that we increased SEMMNI,
but what happend is that some IPC data structure grown, and for some reason
the corruption due the uninitalized pte_quicklist triggers only for smp
boxes with less than 1G (not very common anymore ;). So it wasn't
immediatly reproducible on all setups.
2.6 doesn't suffer from the same problem, simply because 2.6 isn't using
the quicklist anymore, but I think it would be much more correct to make
the same change in 2.6 too, since whatever cond_resched() in the vm paths
(and they're definitely allowed to call it), will lead to a crash since the
init task isn't initialized and the scheduler can't be invoked yet. (and
2.6 already has the bigger data structures that should trigger the vmalloc
all the time on all setups)
<akpm@osdl.org>
[PATCH] vmscan: zone pressure calculation fix
Off-by-one in balance_pgdat(): `priority' can never go negative. It causes
the scanning priority thresholds to be quite wrong and kswapd tends to go
berzerk when there is a lot of mapped memory around.
<akpm@osdl.org>
[PATCH] vmscan: zone pressure simplification and fix
The zone->pressure field is supposed to record the amount of reclaim pressure
which this zone is under. We need this info so we know whether to unmap
pages from pagetables right from the outset of a balance_pgdat() or
try_to_free_pages() invokation.
The problem with the current code is that the exponential average gets tugged
around too much: as we perform the increasing-priority scan, the pressure
metric is made artificially low by the early part of the scan.
So instead what we do here is to record within the zone the scanning priority
from the zone's previous scan. It is defined as the priority at which the
zone achieved the "enough pages free" state. This prev_priority is used on
the next scan for the do-we-need-to-be-unmapping-pages decision.
<akpm@osdl.org>
[PATCH] Remove SSE2 bugs.h check
From: Andi Kleen <ak@muc.de>
Remove some dead code.
CONFIG_SSE2 hasn't been defined for some time, because everything
SSE related is handled at runtime based on cpuid.
<akpm@osdl.org>
[PATCH] HPET 1/6: Support for HPET based timer
From: "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>
High Precision Event Timer (HPET) is next generation timer
hardware and has various advantages over legacy 8254
(PIT) timer, like:
- Associated registers are mapped to memory space. So, we no
longer require in and out on legacy ioports
- Memory map address is reported by ACPI (and are not
hard-coded)
- Each timer can be configured to generate separate interrupts,
even sharing lines with PCI devices
- HPET has a minimum period of 100 nanosecs and is not fixed.
Giving a flexibility of increasing the resolution in future.
- Most current implementations has 3 counters, but in future,
we can have as many as 32 timers per block, and 8
HPET timer blocks (total 256 timers)
- Can support 32bit and 64bit counting
(Refer to http://www.intel.com/labs/platcomp/hpet/hpetspec.htm
for complete specs)
The patchset that follow adds support for High Precision Event
Timer (HPET) based timer in kernel. This uses the HPET in
LegacyReplacement mode (so that counter 0 will be tied to IRQ0,
and counter 1 will be tied to IRQ 8). In this mode, HPET overrides
PIT and RTC interrupt lines. The patch will enable HPET by default,
on systems where ACPI tables reports this feature. The patch will
have no impact on systems that do not support this feature.
A major change from previous version is elimination of fixmap for HPET.
Based on Andrew Morton's suggestion, we have a new hook in init/main.c for
late_time_init(), at which time we can use ioremap, in place of fixmap.
Impact on other archs: Calibrate_delay() (and hence loops_per_jiffy
calculation) has moved down in main.c, from after time_init() to after
kmem_cache_init().
1/6 - hpet1.patch - main.c change to introduce late_time_init()
<akpm@osdl.org>
[PATCH] HPET 3/6: makefile and config changes
From: "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>
Miscallaneous makefile and config changes
<akpm@osdl.org>
[PATCH] HPET 4/6: Core
From: "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>
All the changes required to use HPET in place of PIT as the kernel base-timer
at IRQ 0.
<akpm@osdl.org>
[PATCH] HPET 5/6: timer services
From: "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>
All changes required to support timer services (gettimeofday) with HPET.
<akpm@osdl.org>
[PATCH] HPET 6/6: rtc emulation
From: "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>
This can be a standalone patch. With this patch we basically try to emulate
RTC interrupt functions in software using HPET counter 1.
<akpm@osdl.org>
[PATCH] HPET 2/6: boot parsing
From: "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>
acpi boot time parsing changes to look for HPET
<akpm@osdl.org>
[PATCH] fix advansys.c if !CONFIG_PROC_FS
From: Adrian Bunk <bunk@fs.tum.de>
The patch below fixes a compile error in drivers/scsi/advansys.c if
!CONFIG_PROC_FS.
<akpm@osdl.org>
[PATCH] handle setup_swap_extents() error in swapon.
From: Hugh Dickins <hugh@veritas.com>
It's good that swapon fails on a tmpfs file ("swapfile has holes"), but not
good that it then hangs up: note error from setup_swap_extents.
<akpm@osdl.org>
[PATCH] scsi_unregister() oops fix
Some drivers such as aha1542 and aic7xxx_old will call scsi_register() and
then, if some succeeding operations fails they will call scsi_unregister(),
without an intervening scsi_set_host().
This causes an oops in scsi_put_device(), because kobj->parent is NULL.
In other words, scsi_register() immediately followed by scsi_unregister()
is guaranteed to oops.
The patch makes scsi_host_dev_release() more robust against this usage
pattern.
<akpm@osdl.org>
[PATCH] tty oops fix
Ancient bug, reported by Hiroshi Inoue <inoueh@uranus.dti.ne.jp>:
1. login to tty2 (not tty1)
2. start kon (Kanji cONsole emulator, console which support
Japanese characters)
3. exit kon
4. logout
It oopses in the debugging function check_tty_count(), walking a list_head
which has been list_del()'d. Call trace is:
#0 check_tty_count (tty=0x10d42000, routine=0xc817b00 ".paths") at include/asm/processor.h:583
#1 0x022c6c00 in do_tty_hangup (data=0x10d42000) at drivers/char/tty_io.c:426
#2 0x022c6f60 in tty_vhangup (tty=0xc817b00) at drivers/char/tty_io.c:536
#3 0x022c6fcc in disassociate_ctty (on_exit=1) at drivers/char/tty_io.c:574
#4 0x02127aee in do_exit (code=0) at kernel/exit.c:718
#5 0x02127caa in do_group_exit (exit_code=0) at kernel/exit.c:796
#6 0x02127cbc in sys_exit_group (error_code=0) at kernel/exit.c:807
The tty refcount is zero, so everything seems consistent and sensible. The
fix just uses list_del_init() on that list_head.
Heaven knows what the locking for tty->count is though. Some bizarre mixture
of BKL, tty_sem and nothing at all.
<akpm@osdl.org>
[PATCH] ext3_setxattr() oops fix
If journal_start() fails it returns an ERR_PTR. Best not pass that into
journal_stop().
<akpm@osdl.org>
[PATCH] Add documentation for /proc/stat
From: "Bryan O'Sullivan" <bos@serpentine.com>
This patch adds documentation for the contents of the /proc/stat file.
<davem@nuts.ninka.net>
[SPARC]: Mark get_rtc_time() static in SBUS rtc driver.
<xose@wanadoo.es>
[TG3]: ICH2 needs MBOX write reorder bug workaround too.
<herbert@gondor.apana.org.au>
[NET]: Add MODULE_LICENSE to xfrm_user.c
<hch@lst.de>
[IPV6]: Use per-cpu data for icmp sockets.
<hch@lst.de>
[NET]: Convert netdev_rx_stat to per-cpu data.
<davem@nuts.ninka.net>
[IPV6]: Do not BUG() on icmp6 socket contention, just drop.
<davem@nuts.ninka.net>
[IPV6]: Fix typo in icmp BUG() fix.
<bdschuym@pandora.be>
[BRIDGE]: Create CONFIG_BRIDGE_NETFILTER and use it instead of messy tests.
<vnuorval@tcs.hut.fi>
[IPV6]: Fix two bugs in ip6_tunnel.c ICMP error handling.
Fix byte order of info parameter in ip6ip6_err().
<vnuorval@tcs.hut.fi>
[IPV6]: Use free_netdev as ip6_tunnel device destructor.
<vnuorval@tcs.hut.fi>
[IPV6]: Set dev->{dev_addr,broadcast} in ip6_tnls.
<vnuorval@tcs.hut.fi>
[IPV6]: Remove sockets from ip6_tunnel.c
<hch@lst.de>
[NET]: Remove reference to CONFIG_IA64_SGI_SN1, it is gone.
<stevef@steveft21.ltcsamba>
Return error correctly on revalidate so dentry will be dropped.
<vinay-rc@naturesoft.net>
[IPV6]: Fix timer handling in ip6_flowlabel.c
- Use time_{before,after}() macros.
- Use mod_timer instead of del_timer/add_timer
- Properly synchronize timer resetting using ip6_fl_lock.
<davem@nuts.ninka.net>
[IPV6]: Fix types in fl6_renew().
<davem@nuts.ninka.net>
[IPV6]: linger member of ip6_flowlabel needs to be a long.
<davem@nuts.ninka.net>
[IPV6]: Fix printf format in ip6fl_fl_seq_show.
<jgarzik@redhat.com>
[netdrvr de2104x] ethtool_ops support
<jgarzik@redhat.com>
[PCI] Remove cases where PCI_CACHE_LINE_SIZE is hardcoded.
Modifies drivers atm/eni.c, ide/pci/cmd64x.c, and
ide/pci/ns87415.c. Ack'd by DaveM.
<jgarzik@redhat.com>
[tokenring lanstreamer] clean up MWI / PCI_CACHE_LINE_SIZE usage
* remove PCI_CACHE_LINE_SIZE workaround, PCI core already does
this for us. (main change)
* propagate pci_set_dma_mask return value
* add 'ULL' suffix to pci_set_dma_mask arg
* propagate pci_enable_device return value
* call pci_set_mwi, check and propagate its return value
* call pci_clear_mwi and pci_disable_device on close, and probe error
* call iounmap when cleaning up
<jgarzik@redhat.com>
[video planb] don't hardware pci command/cacheline/latency values,
use the PCI layer instead to provide those for us.
<jgarzik@redhat.com>
[netdrvr 8390] new function alloc_ei_netdev()
(preferred over alloc_etherdev + 8390-specific ethdev_init)
<jgarzik@redhat.com>
[netdrvr ne2k-pci] allocate netdev+8390 struct using new alloc_ei_netdev()
Also, call pci_disable_device() in PCI ->remove handler,
to match pci_enable_device() in PCI ->probe handler.
<jgarzik@redhat.com>
[netdrvr ne2k-pci] ethtool_ops support
<axboe@suse.de>
[PATCH] software hd led support
This adds support for software controlled hard drive LED activity.
This is really nice on such machines as Apple Powerbooks, where there is
no such LED in the first place and the sleep/suspend LED isn't used for
anything when the machine is running.
<stelian@popies.net>
[PATCH] reenable CAPTURE button in sonypi
This reenables the CAPTURE button events in the sonypi driver, which
were lost with the latest patch...
<stelian@popies.net>
[PATCH] meye driver update
This implements the needed 'release' callback in order to make
videodev/sysfs happy again.
<hirofumi@mail.parknet.co.jp>
[PATCH] vfat_valid_longname() cleanup
From René Scharfe <l.s.r@web.de>
As a result the size of vfat.o drops by 384 bytes in my build.
<axboe@suse.de>
[PATCH] IO scheduler, not elevator
I've been trying to remove these, but apparently new ones crop up. Lets
just call it io scheduler, none of the ones in the kernel are using the
classic elevator algorithm.
<jgarzik@redhat.com>
[NET] move netif_* helpers from tg3 driver to linux/netdevice.h
Helpers moved:
netif_poll_{enable,disable}, __netif_rx_complete, netif_tx_disable
Use the helpers in net/core/dev.c.
<acme@allegro.kerneljanitors.org>
o scsi: remove include procfs_h from hosts.h
<torvalds@home.osdl.org>
Don't claim exclusive ownership of the device when doing
the SG_IO and SCSI_IOCTL_SEND_COMMAND ioctl's. That just
screws things up when the drive is mounted.
If somebody wants exclusive access, he should indicate that
at open time.
<jgarzik@redhat.com>
[netdrvr] ethtool_ops for epic100, fealnx, winbond-840, via-rhine
<jgarzik@redhat.com>
[netdrvr fealnx] merge typo build fix (non-x86) from 2.4
<jgarzik@redhat.com>
[NET] move ethtool_op_set_tx_csum from 8139cp drvr to net/core/ethtool.c,
where it belongs.
<mdharm-scsi@one-eyed-alien.net>
[PATCH] sr.c should issue TEST_UNIT_READY
The linux/drivers/scsi/sr.c code will issue a MODE_SENSE[_10] command to
a device as the first command sent to the device. If the device has
just come out of reset, it will likely respond with a UNIT_ATTENTION /
NOT_READY status, which causes the MODE_SENSE to fail. In fact, the
device may have several UNIT_ATTENTION conditions queued up (power-up
reset, media change, etc.)
This results in the mode page 0x2a data not being properly read and
interpreted. As an end-effect, things like packet-writing don't work
(because the writeable bit is not set).
The solution to this is to issue one or more TEST_UNIT_READY commands to
the device to clear any pending UNIT_ATTENTION conditions. This is the
technique used by sd.c -- in fact, this code was lifted directly from
sd.c
At some point in the future, abstraction of this initial TEST_UNIT_READY
code between all high-level SCSI drivers may be apropriate. For now,
this patch makes sr.c issue TEST_UNIT_READY to clear the UNIT_ATTENTION,
thus allowing the mode page 0x2a code to work properly. Given the
approaching 2.6.0-final release, I urge that this patch be accepted.
<gerg@snapgear.com>
[PATCH] irqreturn_t fixes for m68knommu irq.h
<gerg@snapgear.com>
[PATCH] create an m68knommu local.h
This patch creates a local.h for the m68knommu arhcitecture. Like
most others architectures it is just an include of the generic one.
<gerg@snapgear.com>
[PATCH] create an m68knommu sections.h
This patch creates a sections.h for the m68knommu architecture.
Nothing special needed, just an include of the generic code.
<jgarzik@redhat.com>
[PCI, ia32] don't assume "c->x86 > 6" applies to non-Intel CPUs
when programming PCI cache line size.
Just to be on the safe side. Suggested by Ingo Oeser.
<bcollins@debian.org>
[PATCH] Update IEEE1394 (r1047)
subsys : - Added hpsb_make_streampacket() helper
- Fix re-probe of bus after reset, when node's generation
changes
- Missing spinlock.h include for csr.c
general : - Fix a few warnings from size mismatches in printk's
raw1394 : - Added RAW1394_REQ_ASYNC_STREAM
- Use vmalloc/vfree for larger buffer support
ohci1394 : - Fix a few endianess bugs in ISO routines
eth1394 : - Fix cleanup of failed packets
<torvalds@home.osdl.org>
Fix del_timer_sync() SMP memory ordering (from Tejun Huh <tejun@aratech.co.kr>)
From Tejun's posting:
>
> This patch fixes a race between del_timer_sync and recursive timers.
> Current implementation allows the value of timer->base that is used
> for timer_pending test to be fetched before finishing running_timer
> test, so it's possible for a recursive time to be pending after
> del_timer_sync. Adding smp_rmb before timer_pending removes the race.
<torvalds@home.osdl.org>
Be a lot more careful about TS_USEDFPU and preemption
We had some races where we testecd (or set) TS_USEDFPU together
with sequences that depended on the setting (like clearing or
setting the TS flag in %cr0) and we could be preempted in between,
which screws up the FPU state, since preemption will itself change
USEDFPU and the TS flag.
This makes it a lot more explicit: the "internal" low-level FPU
functions ("__xxxx_fpu()") all require preemption to be disabled,
and the exported "real" functions will make sure that is the case.
One case - in __switch_to() - was switched to the non-preempt-safe
internal version, since the scheduler itself has already disabled
preemption.
<jgarzik@redhat.com>
[SUNHME]: Fix non-sbus build.
<rusty@rustcorp.com.au>
[NET]: Use MODULE_ALIAS() in network families.
Previously, default aliases were hardwired into modutils. Now they
should be inside the modules, using MODULE_ALIAS() (they will be overridden
by any user alias).
<davem@nuts.ninka.net>
[BLUETOOTH]: Fix typo in module alias changes.
<acme@conectiva.com.br>
[PATCH] scsi cleanups
o scsi/imm.h: use c99 style initialization
As far as I verified this also fixes a bu