Nathan Scott [Wed, 26 Mar 2003 20:25:17 +0000 (21:25 +0100)]
[XFS] Add back the pagebuf flag for scheduling on the data daemon. Moving
this into just a pagebuf_iodone parameter was broken as we don't have
sufficient state in all the places we need it to make the decision.
[XFS] Separate the quota source into its own subdirectory ala dmapi.
Push a bunch of quota- and dmapi-specific code down into these
subdirs which previously was compiled into the core XFS code,
and don't descend into these subdirs if options config'd off.
Russell King [Wed, 26 Mar 2003 14:58:05 +0000 (14:58 +0000)]
[ARM] Update Cyber2000fb driver for new fbcon API
This cset updates cyber2000fb (used on NetWinders) to the new
fbcon API, and adds cfbfillrect, cfbcopyarea and cfbimgblt
objects when building cyber2000fb.
Russell King [Wed, 26 Mar 2003 01:11:28 +0000 (01:11 +0000)]
[ARM] Fix ARM do_div() implementation
The ARM do_div() implementation was rather lax in that it only
performed a 32-bit divide. This cset fixes this oversight by
providing a 64-bit by 32-bit division in asm.
This is necessary for posix-timers to function correctly.
Nathan Scott [Tue, 25 Mar 2003 23:39:41 +0000 (00:39 +0100)]
[XFS] Next step in bhv code cleanup - this is a start on moving quota and dmapi
into behavior layers, purging several points where these sit slap bang in
the middle of XFS code (esp. read_super). Also removes numerous #ifdef's
and a bunch of unused #define's from all over the place. More to come.
Matthew Dharm [Tue, 25 Mar 2003 05:49:07 +0000 (21:49 -0800)]
[PATCH] usb-storage: cleanup
This patch changes some debugging output to be a bit more clear, and
removes some un-needed code -- it's no longer possible for us to have
active URBs in the disconnect path.
Matthew Dharm [Tue, 25 Mar 2003 05:45:59 +0000 (21:45 -0800)]
[PATCH] usb-storage: initialize urb status
This patch initializes the URB status before it's used. While not
technically required, it's good programming practice (and a similar bug
just bit us on 2.4 with UHCI).
Matthew Dharm [Tue, 25 Mar 2003 05:45:34 +0000 (21:45 -0800)]
[PATCH] usb-storage: LUN and isd200
This patch (developed with assistance from Jan Harkes
<jaharkes@cs.cmu.edu>) makes the LUN field of a bulk-only transport come
from a known-good source, rather than the likely-good command-byte. It
also updates the ISD200 driver to work with this change.
Oliver Neukum [Tue, 25 Mar 2003 05:29:44 +0000 (21:29 -0800)]
[PATCH] USB: storage device reset cleanup
> In the absence of far-reaching changes to the API, my suggestion is to
> have the emulated SCSI bus reset code in usb-storage do nothing but log an
> error message and return an error code. For the time being, considering
> how infrequently these resets occur, we can simply rely on the user
> unplugging the USB cable and putting it back in or cycling the power to
> the drive. (Yes, there are situations where these resets crop up
> regularly -- but they are the result of some other incompatibility that a
> device reset won't fix anyway.)
OK, as the consensus seems to be that in the short run changing things
for a full reset implementation is not worth it, here's an implementation
that does the best we can do without.
It issues a reset only if we can be sure that there are no other users
of the device in question.
As the version currently in the storage driver is broken anyway,
this is a definite improvement. And it addresses the need of exporting
the probe/remove functions for storage's sake.
Andi Kleen [Tue, 25 Mar 2003 03:54:54 +0000 (19:54 -0800)]
[PATCH] x86-64 updates
Lots of x86-64 updates. Merge with 2.4 and NUMA works now. Also reenabled
the preemptive kernel. And some other bug fixes.
IOMMU disabled by default now because it has problems.
- Add more CONFIG options for device driver debugging and iommu
force/debug. (don't enable iommu force currently)
- Some S3/ACPI fixes/cleanups from Pavel.
- Set MSG_COMPAT_* in msg_flags for networking 32bit emulation.
This unfortunately still doesn't fix the fd passing problems.
- Sync PCI IOMMU code with 2.4 (minor fixes, flush less often)
- Really fix UP compilation (Pavel)
- Reenable preempt
- Fix CONFIG_DISCONTIGMEM bootup and enable. Still needs more tuning.
- Fix some bugs in topology discovery and clean code up.
- Don't put unwind tables into object files
- Some kernel debugging hooks
- Move CPU detection into early real mode code to better interact with
vesafb consoles
- Initialize mode in real mode character output
- New 32bit FPU signal save/restore
- Various fixes in FPU handling in ptrace
- Fix security holes in ptrace (32bit and 64bit)
- Fix serial ioctl (including security hole)
- Add bluetooth ioctls to 32bit emu (from sparc64)
- Correctly enable si_val in queued signals in 32bit emulation
- Rework SEM_STAT emulation. LTP still fails unfortunately.
- Fix error case in msg* emulation
- Fix debug register access from ptrace (Michal Ludvig, me)
- Fix handling of NULL arguments in 32bit execve
- Fix some error cases for 32bit readv/writev (LTP still complains)
- Remove rate control from unimplemented syscall warnings
- Fix error message for missing aperture
- Turn some APIC printks into Dprintk to make the bootup more quiet
- Some fixes for no APIC (probably still broken), add disableapic
option (untested)
- Sync K8 MCE handler with 2.4. Should work a lot better now.
- Remove never used KDB hooks
- Fix buffer overflow in command line copying
- Merge from i386: use separate status word for lazy FPU state
- Don't force the IOMMU for dma masks < 4GB.
- Print backtrace in Sysrq-T (from Andrea)
- Merge from i386: fix FPU race in fork.
- Disable NX mode by default for now
- Rewrite dump_pagetable
- Fix off by one bug in ioremap (i386 merge)
- Merge from i386: handle VIA pci bridge bugs
- Disable NUMA ACPI support (no SRAT support yet)
- Fix aio 32bit emulation
- Increase 32bit address space to nearly 4GB
- Add exit_group syscall
- Fix TLS setting in clone (Ulrich Drepper)
Duncan Sands [Tue, 25 Mar 2003 03:34:04 +0000 (19:34 -0800)]
[PATCH] USB speedtouch: per vcc data cleanups
Use struct list_head rather than a singly linked list in udsl_vcc_data. Reject
attempts to open multiple vccs with the same vpi/vci pair. Some cleanups too.
David S. Miller [Mon, 24 Mar 2003 14:47:20 +0000 (06:47 -0800)]
[TCP]: Forward port of 2.4.x bugfix, noticed as missing by davej@codemonkey.org.uk.
In tcp_sendmsg, make sure we jump to the out label
when seglen is decremented to zero and no more iovecs remain.
This matches the do_tcp_sendpages logic and makes sure that
PSH is set correctly at the end of a write even if the write length
equals the current mss.