ChangeSet@1.1113.1.24, 2003-05-14 20:45:28-07:00, davej@codemonkey.org.uk [PATCH] shrink zonelists. Originally from Matt Dobson. I've been running with this for a while in -dj, with no noticable side-effects. Matt: node_zonelists looks like it should really be declared of size MAX_NR_ZONES, not GFP_ZONEMASK. GFP_ZONEMASK is currently 15, making node_zonelists an array of 16 elements. The extra zonelists are all just duplicates of the *real* zonelists, namely the first 3 entries. Again, if anyone can explain to me why I'm wrong in my thinking, I'd love to know. There's certainly no way you could bitwise-and something with any combination of the GFP_DMA and GFP_HIGHMEM flags to refer to the 12th zonelist or some such! Or am I crazy? ChangeSet@1.1113.1.23, 2003-05-14 20:45:20-07:00, davej@codemonkey.org.uk [PATCH] i810 no codec fix. Syncs up with 2.4 ChangeSet@1.1113.1.22, 2003-05-14 20:45:11-07:00, davej@codemonkey.org.uk [PATCH] shorten rclan debug output From 2.4 long long ago. ChangeSet@1.1113.1.21, 2003-05-14 20:45:03-07:00, davej@codemonkey.org.uk [PATCH] byte counters for mkiss From 2.4 from way back 13 months ago.. ChangeSet@1.1113.1.20, 2003-05-14 20:44:53-07:00, davej@codemonkey.org.uk [PATCH] Shorten rcu_check_quiescent_state. Single spin_unlock path cuts this down a little.. ChangeSet@1.1113.1.19, 2003-05-14 20:44:45-07:00, davej@codemonkey.org.uk [PATCH] fix module-init-tools ver_linux problem. Patch from Steven Cole to fix up ver_linux output on a system with no module-init-tools, just modutils. As noted in bugzilla #267 and at http://marc.theaimsgroup.com/?l=linux-kernel&m=104492524815220&w=2 ChangeSet@1.1113.1.18, 2003-05-14 20:44:37-07:00, davej@codemonkey.org.uk [PATCH] copy_to_user check for sgiserial ChangeSet@1.1113.1.17, 2003-05-14 20:44:28-07:00, davej@codemonkey.org.uk [PATCH] Fix pnpbios switch Erk, that's a really funny looking switch. Every case fell through.. ChangeSet@1.1113.1.16, 2003-05-14 20:44:18-07:00, davej@codemonkey.org.uk [PATCH] typo ChangeSet@1.1113.1.15, 2003-05-14 20:44:10-07:00, davej@codemonkey.org.uk [PATCH] ASUS P4B SMBus quirks. From Dominik Brodowski, comments says it all.. ChangeSet@1.1113.1.14, 2003-05-14 20:44:02-07:00, davej@codemonkey.org.uk [PATCH] iphase fix. This went into 2.4 nearly a year back with the wonderfully descriptive "Fix from maintainer" comment. ChangeSet@1.1113.1.13, 2003-05-14 20:43:53-07:00, davej@codemonkey.org.uk [PATCH] pcwatchdog firmware memory leak ChangeSet@1.1113.1.12, 2003-05-14 20:43:45-07:00, davej@codemonkey.org.uk [PATCH] Fix standards compliance bugs in the tty layer This went into 2.4 back last August with the comment in $subject. ChangeSet@1.1113.1.11, 2003-05-14 20:43:37-07:00, davej@codemonkey.org.uk [PATCH] Fix ISDN return types. ChangeSet@1.1113.1.10, 2003-05-14 20:43:28-07:00, davej@codemonkey.org.uk [PATCH] sx memleak. ChangeSet@1.1113.1.9, 2003-05-14 20:43:20-07:00, davej@codemonkey.org.uk [PATCH] i8253 locking. There are still a few places where we play with the RTC directly, with no locking. This catches some of them. ChangeSet@1.1113.1.8, 2003-05-14 20:43:11-07:00, davej@codemonkey.org.uk [PATCH] Avoid ide-scsi from starting DMA too soon This went into 2.4 with the following comments.. ide-scsi driver starts DMA as soon as it writes the ATAPI PACKET command in command register and before sending the ATAPI command. This will cause problems on many drives. Right way to do it is to start DMA after sending the ATAPI command. I am attaching a patch that fixes this. This patch will allow many more CD-RW drives to work reliably in DMA mode than do today Alan's comment to this diff previously.. "Thats the least of the 2.5 ide-scsi problems, but yes its probably one to add" ChangeSet@1.1113.1.7, 2003-05-14 20:43:03-07:00, davej@codemonkey.org.uk [PATCH] Preemption fixes for x86 MSR driver. wrmsr is ok, but needs cleans up, second part (rdmsr) is currently broken. ChangeSet@1.1113.1.6, 2003-05-14 20:42:55-07:00, davej@codemonkey.org.uk [PATCH] Fix types on inflate.c constants This patch from Alan went into 2.4 last august with the comment "get the types right on the lib/inflate.c constants" ChangeSet@1.1126, 2003-05-14 20:40:13-07:00, davej@codemonkey.org.uk [NETROM]: Fix netdevice leak, from 2.4.x ChangeSet@1.1125, 2003-05-14 20:37:27-07:00, davem@nuts.ninka.net [AF_UNIX]: extern inline --> static inline ChangeSet@1.1124, 2003-05-14 20:36:26-07:00, davem@nuts.ninka.net [PKT_SCHED]: extern inline --> static inline ChangeSet@1.1123, 2003-05-14 20:33:35-07:00, davem@nuts.ninka.net [APPLETALK]: extern inline --> static inline. ChangeSet@1.1122, 2003-05-14 20:30:38-07:00, davem@nuts.ninka.net [NET]: dev_load extern inline --> static inline. ChangeSet@1.1121, 2003-05-14 20:25:14-07:00, davem@nuts.ninka.net [AX25]: extern inline --> static inline. ChangeSet@1.1120, 2003-05-14 20:24:06-07:00, davem@nuts.ninka.net [IPV4]: Fix ip_finish_output extern decl. ChangeSet@1.1119, 2003-05-14 20:22:11-07:00, davem@nuts.ninka.net [IPV6]: extern __inline__ --> static inline. ChangeSet@1.1118, 2003-05-14 20:17:16-07:00, davem@nuts.ninka.net [TCP]: extern __inline__ --> static inline where appropriate. ChangeSet@1.1117, 2003-05-14 20:07:49-07:00, davem@nuts.ninka.net [RTNETLINK]: extern __inline__ --> static inline. ChangeSet@1.1114.1.1, 2003-05-14 23:19:24-03:00, acme@conectiva.com.br o af_netlink: netlink_proto_init has to be core_initcall As it has to happen before pktsched_init, that is called from net_dev_init that is a subsys_initcall, making it the same init level as netlink_proto_init, that ends up being called _after_ net_dev_init, so when pktsched_init is called it finds rtnetlink_links[PF_UNSPEC] as null and therefore not sets the ->dumpit entry for RTM_GETQDISC (and the others too): b00m, rtnetlink_rcv sends a failure message to tc. ChangeSet@1.1113.4.3, 2003-05-14 18:48:22-07:00, akpm@digeo.com [NET]: Fix sb1000.c build. ChangeSet@1.1113.4.2, 2003-05-14 13:59:34-07:00, kaber@trash.net [NET]: Fix two bogus kfree(skb). ChangeSet@1.1113.4.1, 2003-05-14 13:16:23-07:00, davem@nuts.ninka.net [AF_KEY]: Force km.state to XFRM_STATE_DEAD in pfkey_msg2xfrm_state. ChangeSet@1.1093.2.11, 2003-05-14 11:54:15-07:00, akpm@digeo.com [PATCH] USB: net2280 writel fix This driver is doing a writel to some random u32, rather than to a device register. ChangeSet@1.1113.1.4, 2003-05-14 11:14:10-07:00, axboe@suse.de [PATCH] ide tcq fixes This fixes a few problems with ide tcq, I don't know of any other known ones (and it is solid here, survives ours of beating on it). Basically: - Don't enable tcq if the drive isn't alone on the channel. This raises all sorts of fun that really requires hardware support (auto poll), or it's going to _suck_. I never wanted to do that, and no hardware I know of supports auto-poll. - Introduce a drive blacklist so we don't enable tcq on known broken drives. Or enable with restrictions on some models. - Add a check for pdc4030, apparently tcq doesn't work there (hell knows who would be crazy enough to pull such a stunt). ChangeSet@1.1113.2.4, 2003-05-14 11:04:01-07:00, axboe@suse.de [PATCH] Fix scsi_ioctl command direction bits With the dynamic request allocation, we get the direction bits set for us. This breaks the scsi_ioctl stuff, since we always pass in WRITE there. So actually pass in the right direction instead. ChangeSet@1.1113.2.3, 2003-05-14 11:03:49-07:00, axboe@suse.de [PATCH] remove ide-cd chatty errors Quiet down the TEST_UNIT_READY commands, we know these may fail (that's the whole purpose of the command :-). ChangeSet@1.1113.2.2, 2003-05-14 11:03:38-07:00, axboe@suse.de [PATCH] ide minimum 48-bit support This is the small patch that we all agreed on. With this patch, we do nice big writes/reads on ide disks that support 48-bit lba. ChangeSet@1.1113.2.1, 2003-05-14 11:03:29-07:00, axboe@suse.de [PATCH] bio walking code Add bio traversal functionality. This is a prereq for doing ide multiwrites safely and sanely. Patch was originally done by Suparna, Bartlomiej picked it up and changed the design somewhat. From Bart: Main idea is now reversed - instead of introducing rq->hard_bio as pointer for bio to be completed and using rq->bio as pointer for bio to be submitted, rq->cbio is introduced for submissions and rq->bio is used for completions This minimizes changes to block layer and assures that all existing block users are not affected by this patch. ChangeSet@1.1113.1.2, 2003-05-14 11:00:19-07:00, torvalds@penguin.transmeta.com Merge bk://bk.arm.linux.org.uk/linux-2.5-rmk into penguin.transmeta.com:/home/torvalds/v2.5/linux ChangeSet@1.1114, 2003-05-14 01:26:18-03:00, acme@conectiva.com.br o ipv4/ipv6: call tcp_timewait_kill in tcp_tw_deschedule After all calls to tcp_tw_deschedule we had a call to tcp_timewait_kill, move it to the end of tcp_tw_deschedule and unexport tcp_timewait_kill, making it static. ChangeSet@1.1113, 2003-05-13 19:56:10-07:00, jsimmons@infradead.org [PATCH] Framebuffer console fix This fixes a oops that happens when we map a framebuffer device to a non-existant console. set_con2fb_map wasn't testing to see the VC we where mapping to actually exist. Now it does. I also added code to fbcon_cursor to reset the hotspot if it was changed by userland. ChangeSet@1.1112, 2003-05-13 19:56:01-07:00, jsimmons@infradead.org [PATCH] Riva Framebuffer update. This kills off warnings about unused variables. ChangeSet@1.1111, 2003-05-13 19:55:53-07:00, jsimmons@infradead.org [PATCH] Remove EDID parsing This removes EDID support for VESA. The EDID code needs more developement which can be done on the side. The results where mixed. It worked for some but not for others. ChangeSet@1.1110, 2003-05-13 19:55:44-07:00, jsimmons@infradead.org [PATCH] Console font size fix The font size needs to be set for all terminals. This was the bug that was causing dual head (vga and mda) to lock up. ChangeSet@1.1093.5.1, 2003-05-14 03:21:30+01:00, davej@codemonkey.org.uk [CPUFREQ] missing export compile fix for powernow-k7 ChangeSet@1.1104, 2003-05-13 17:22:58-07:00, davem@nuts.ninka.net [SPARC64]: Update defconfig. ChangeSet@1.1103, 2003-05-13 17:11:34-07:00, akpm@digeo.com [ATM]: Fix macro pasting in HE driver. ChangeSet@1.1102, 2003-05-13 17:10:29-07:00, akpm@digeo.com [NET]: netif_receive_skb() warning fix. ChangeSet@1.1101, 2003-05-13 17:05:41-07:00, chas@cmf.nrl.navy.mil [ATM]: Make clip modular. ChangeSet@1.1100, 2003-05-13 16:59:24-07:00, daniel@osdl.org [IPV6]: Missing kmem_cache_destroy calls. ChangeSet@1.1093.2.10, 2003-05-13 16:57:17-07:00, vojtech@suse.cz [PATCH] USB: Fix Kconfig for usb printers On Sun, May 11, 2003 at 09:55:04PM +0200, Kronos wrote: > Hi, > the USB printer module is 'usblp', not 'printer': > ChangeSet@1.1093.1.4, 2003-05-13 14:58:11-07:00, torvalds@penguin.transmeta.com Add a few initial user pointer annotations to sound driver. Quite a few suspicious places here that pass kernel pointers to the internal ioctl engine. ChangeSet@1.1093.1.3, 2003-05-13 14:32:33-07:00, torvalds@penguin.transmeta.com Make x86 user-copy have user pointer annotations to match declarations. ChangeSet@1.1099, 2003-05-13 14:14:01-07:00, davem@nuts.ninka.net [IPV6]: Fix ipv6_addr_copy warning in ah6.c. ChangeSet@1.1098, 2003-05-13 14:11:24-07:00, davem@nuts.ninka.net [AIC7XXX]: Only build in biosparam function if actually used. ChangeSet@1.1097, 2003-05-13 13:45:50-07:00, davem@nuts.ninka.net [IPV6]: Check output fragmentation using dst_pmtu not dev->mtu. ChangeSet@1.1093.1.2, 2003-05-13 13:42:31-07:00, torvalds@penguin.transmeta.com Add user pointer annotations to core filesystem routines. ChangeSet@1.1093.2.9, 2003-05-13 13:27:34-07:00, bcollins@debian.org [PATCH] USB: Happ UGCI added as BADPAD for workaround Greg, I sent these patches to Vojtech, and haven't heard anything back, but they are straight forward. One simply backports the BADPAD handling to 2.4, and both patches add Happ UGCI joysticks under the BADPAD workaround. ChangeSet@1.1096, 2003-05-13 13:27:20-07:00, davem@nuts.ninka.net [NETFILTER]: Teach ip_fw_compat and modules to handle non-linear SKBs. Much help provided by Rusty Russell in fixing device leak and TOS modification handling bugs. ChangeSet@1.1093.2.8, 2003-05-13 13:17:32-07:00, greg@kroah.com [PATCH] USB: fix break control for pl2303 driver Thanks to Martin Evans for pointing this out. ChangeSet@1.1093.2.7, 2003-05-13 13:07:53-07:00, david-b@pacbell.net [PATCH] USB: net2280, PPC fixes Minutes after I sent the previous patch, Gordon Strachan sent me some big-endian fixes (for PPC). ChangeSet@1.1093.2.6, 2003-05-13 13:07:43-07:00, david-b@pacbell.net [PATCH] USB: net2280 minor updates This patch: - Lets cleanup happen after devices disconnect - Creates/uses a module "fifo_mode" option - Handles the fifo_status request a bit better ChangeSet@1.1093.2.5, 2003-05-13 13:07:32-07:00, david-b@pacbell.net [PATCH] USB: fix for multiple definition of `usb_gadget_get_string' ChangeSet@1.1093.2.4, 2003-05-13 13:07:23-07:00, smb@smbnet.de [PATCH] USB: another usb storage addition ChangeSet@1.1093.2.3, 2003-05-13 13:07:12-07:00, david-b@pacbell.net [PATCH] USB: rm debug printks in ehci and ohci These two debug messages weren't supposed to be left in, they're just noise. ChangeSet@1.1093.2.2, 2003-05-13 13:07:01-07:00, romieu@fr.zoreil.com [PATCH] USB: patch to fix up coding style violations ChangeSet@1.1093.2.1, 2003-05-13 12:35:44-07:00, greg@kroah.com [PATCH] USB: fix jiffies warning in uss720.c ChangeSet@1.1063.29.12, 2003-05-13 19:53:49+01:00, rmk@flint.arm.linux.org.uk [ARM] Convert more structure initialisers to C99 syntax. ChangeSet@1.1093.1.1, 2003-05-13 11:45:44-07:00, torvalds@penguin.transmeta.com Don't make the intel-AGP driver require a AGP capabilities pointer. The integrated graphics AGP things don't have one. ChangeSet@1.1063.29.11, 2003-05-13 18:58:01+01:00, rmk@flint.arm.linux.org.uk [ARM] switch ptrace to use an undefined instruction This avoids a problem with the original ptrace code using a system call (SWI) to implement single stepping; programs such as ltrace do not expect to receive system call trace traps when breakpoints are hit. ChangeSet@1.1063.29.10, 2003-05-13 17:31:33+01:00, rmk@flint.arm.linux.org.uk [ARM] Remove static mappings for Integrator PS/2 ports. Request the memory region used for the keyboard and mouse ports, and ioremap. ChangeSet@1.1063.29.9, 2003-05-13 17:12:08+01:00, rmk@flint.arm.linux.org.uk [ARM] Fix test_bit to return 0 or 1. ChangeSet@1.1063.29.8, 2003-05-13 16:54:45+01:00, rmk@flint.arm.linux.org.uk [ARM] Add prefetch support for ARMv5. ChangeSet@1.1063.29.7, 2003-05-13 16:21:54+01:00, rmk@flint.arm.linux.org.uk [ARM] Fix timer interrupts to use irqreturn_t Also remove uninitialised variable warning and update mach-types. ChangeSet@1.1063.29.6, 2003-05-13 15:46:08+01:00, nico@org.rmk.(none) [ARM PATCH] 1531/1: optimized ffs/ffz/fls for ARMv5 Patch from Nicolas Pitre ChangeSet@1.1063.29.5, 2003-05-13 15:40:41+01:00, rmk@flint.arm.linux.org.uk [ARM PATCH] 1530/1: PXA2xx IRQ handling updates From: Nicolas Pitre. (manual entry since bk openlogging crapped out again) ChangeSet@1.1063.29.4, 2003-05-13 14:54:22+01:00, nico@org.rmk.(none) [ARM PATCH] 1533/1: fix count when no preload support in copy_page Patch from Nicolas Pitre Of course, the PLD macro is always defined even if it's empty. Without this fix anything below ARMv5 is broken. ChangeSet@1.1063.29.3, 2003-05-13 14:50:07+01:00, rmk@flint.arm.linux.org.uk [ARM] Allow CONFIG_PM to be enabled on all ARM platforms ChangeSet@1.1094, 2003-05-13 09:55:08-03:00, acme@conectiva.com.br o ipv4/ipv6: use ipv6_addr_copy where appropriate ChangeSet@1.1093, 2003-05-12 23:20:05-07:00, torvalds@home.transmeta.com Merge http://linux-scsi.bkbits.net/scsi-for-linus-2.5 into home.transmeta.com:/home/torvalds/v2.5/linux ChangeSet@1.1063.1.73, 2003-05-12 23:13:27-07:00, akpm@digeo.com [PATCH] ext3: htree memory leak fix From Alex Tomas We started using ext3_dx_readdir() for all dir_index filesystems, because we want to return entries in hash order always, so that readdir with a partial read + new entry added before next readdir won't be crazy. So we now need to free the structure at filp->pricate_data even against non-indexed directories. ChangeSet@1.1063.1.72, 2003-05-12 23:13:18-07:00, akpm@digeo.com [PATCH] htree nfs fix Patch from "Theodore Ts'o" We now use 0x7ffffff as the EOF cookie, because Linux NFS stupidly interprets the cookie (which is supposed to be a bag of bits without necessarily any semantic value) as a signed 64 bit integer, and then converts it to a unsigned integer, and then blows up if it cannot be expressed be expressed as a 32-bit value!! In order to do this, we have to fold the hash value 0x7ffffff into the hash value 0x7ffffffe. This is relatively safe; the only time we will lose if the directory contains filenames that hash to both 0x7ffffffe and 0x7fffffff (under the original hash), and the last directory entry which hashes to 0x7ffffffe is at the end of a leaf block, and the first directory entry which hashes to 0x7fffffff is at the beginning of a leaf block. ChangeSet@1.1063.1.71, 2003-05-12 23:13:10-07:00, akpm@digeo.com [PATCH] Fix ext3 htree / NFS compatibility problems Patch from "Theodore Ts'o" The following patch should (in theory) fix the htree/NFS readdir problems that people have reported. Specifically, it should fix the NFS looping on EOF problem with readdir, as well as the problems caused by coverting a directory to HTREE while an NFS readdir is in progress problem. I'd appreciate it if people who can easily replicate these NFS/htree problems could give this patch (against BK-recent / 2.5.63) a whirl. Thanks!! ChangeSet@1.1063.1.70, 2003-05-12 23:13:01-07:00, akpm@digeo.com [PATCH] Fix arch/i386/oprofile/init.c build error From: John M Flinchbaugh this patch makes arch/i386/oprofile/init.c build. ChangeSet@1.1063.1.69, 2003-05-12 23:12:52-07:00, akpm@digeo.com [PATCH] Reserve the ext2/ext3 EAs for the Lustre filesystem From: Andreas Dilger Below are the patches which reserve the Lustre EA index. The rest of the code is part of the Lustre tree, which isn't working with 2.5 yet. ChangeSet@1.1063.1.68, 2003-05-12 23:12:43-07:00, akpm@digeo.com [PATCH] vmalloc race fix From: William Lee Irwin III The new vmalloc() semantics from 2.5.32 had a race window. As things stand, the presence of a vm_area in the vmlist protects from allocators other than the owner examining the ptes in that area. This puts an ordering constraint on unmapping, so that allocators are required to unmap areas before removing them from the list or otherwise dropping the lock. Currently, unmap_vm_area() is done outside the lock and after the area is removed, which as we've seen from Felix von Leitner's test is oopsable. The following patch folds calls to unmap_vm_area() into remove_vm_area() to reinstate what are essentially the 2.4.x semantics of vfree(). This renders a number of unmap_vm_area() calls unnecessary (and in fact oopsable since they wipe ptes from later allocations). It's an open question as to whether this is sufficiently performant, but it is the minimally invasive approach. The more performant alternative is to provide the right API hooks to wipe the vmalloc() area clean before removing them from the list, using the ownership of the area to eliminate holding the vmlist_lock for the duration of the unmapping. If it proves to be necessary wli is on standby to implement it. ChangeSet@1.1063.1.67, 2003-05-12 23:12:34-07:00, akpm@digeo.com [PATCH] de_thread memory corruption fix From: Manfred Spraul de_thread calls list_del(¤t->tasks), but current->tasks was never added to the task list. The structure contains stale values from the parent. switch_exec_pid() transforms a normal thread to a thread group leader. Thread group leaders are included in the init_task.tasks linked list, non-leaders are not in that list. The patch adds the new thread group leader to the linked list, otherwise de_thread corrupts the task list. ChangeSet@1.1063.1.66, 2003-05-12 23:12:26-07:00, akpm@digeo.com [PATCH] copy_process return value fix Rather than assuming that all the things which copy_process() calls want to return -ENOMEM, correctly propagate the return values. This turns out to be a no-op at present. ChangeSet@1.1063.1.65, 2003-05-12 23:12:17-07:00, akpm@digeo.com [PATCH] provide user feedback for emergency sync and remount People like to see when the emergency sync and emergency remount operations have completed. ChangeSet@1.1063.1.64, 2003-05-12 23:12:07-07:00, akpm@digeo.com [PATCH] fix for clusterd io_apics From: Keith Mannthey The following is a patch to fix inconsistent use of the function set_ioapic_affinity. In the current kernel it is unclear as to weather the value being passed to the function is a cpu mask or valid apic id. In irq_affinity_write_proc the kernel passes on a cpu mask but the kirqd thread passes on logical apic ids. In flat apic mode this is not an issue because a cpu mask represents the apic value. However in clustered apic mode the cpu mask is very different from the logical apic id. This is an attempt to do the right thing for clustered apics. I clarify that the value being passed to set_ioapic_affinity is a cpu mask not a apicid. Set_ioapic_affinity will do the conversion to logical apic ids. Since many cpu masks don't map to valid apicids in clustered apic mode TARGET_CPUS is used as a default value when such a situation occurs. I think this is a good step in making irq_affinity clustered apic safe. ChangeSet@1.1063.1.63, 2003-05-12 23:11:57-07:00, akpm@digeo.com [PATCH] visws: fix penguin with sgi logo From: Andrey Panin attached patch fixes penguin with sgi framebuffer logo for visws subarch. It was broken in 2.5.68 IIRC. ChangeSet@1.1063.1.62, 2003-05-12 23:11:50-07:00, akpm@digeo.com [PATCH] semop race fix From: Mingming Cao Basically, freeary() is called with the spinlock for that semaphore set hold. But after the semaphore set is removed from the ID array by calling sem_rmid(), there is no lock to protect the waiting queue for that semaphore set. So, if a waiter is woken up by a signal (not by the wakeup from freeary()), it will check the q->status and q->prev fields. At that moment, freeary() may not have a chance to update those fields yet. static void freeary (int id) { ....... sma = sem_rmid(id); ...... /* Wake up all pending processes and let them fail with EIDRM.*/ for (q = sma->sem_pending; q; q = q->next) { q->status = -EIDRM; q->prev = NULL; wake_up_process(q->sleeper); /* doesn't sleep */ } sem_unlock(sma); ...... } So I propose move sem_rmid() after the loop of waking up every waiters. That could gurantee that when the waiters are woke up, the updates for q->status and q->prev have already done. Similar thing in message queue case. The patch is attached below. Comments are very welcomed. I have tested this patch on 2.5.68 kernel with LTP tests, seems fine to me. Paul, could you test this on DOTS test again? Thanks! ChangeSet@1.1063.1.61, 2003-05-12 23:11:41-07:00, akpm@digeo.com [PATCH] exit_mmap() TASK_SIZE fix exit_mmap() currently assumes that the exitting task used virtual address span TASK_SIZE. But on some platforms, TASK_SIZE is variable, based on current->mm. But exit_mmap() can be called from (say) procfs's call to mmput. In which case current->mm has nothing to do with the mm which is being put in mmput(). So rather than assuming that the mm which is being put is current->mm, we need to calculate the virtual span of the mm. Add a new per-arch macro MM_VM_SIZE() for that. Some platforms can currently go BUG over this (where?). sparc64 is safe because our TASK_SIZE is constant. Platforms such as ia64 should stick the VM extent inside of mm_struct, I'd suggest adding it to mm_context_t. 1) TASK_SIZE means what is valid for mmap()'s in the processes address space 2) MM_VM_SIZE means where things might be mapped for a MM, including private implementation-specific areas created by the kernel which the user cannot access ChangeSet@1.1063.1.60, 2003-05-12 23:11:32-07:00, akpm@digeo.com [PATCH] Bump module ref during init. From: Rusty Russell __module_get is theoretically allowed on module inside init, since we already hold an implicit reference. Currently this BUG()s: make the reference count explicit, which also simplifies delete path. Also cleans up unload path, such that it only drops semaphore when it's actually sleeping for rmmod --wait. ChangeSet@1.1063.1.59, 2003-05-12 23:11:23-07:00, akpm@digeo.com [PATCH] dquot_transfer() fix From: Jan Kara I'm sending a fix which fixes potential problems (dropping references which were not acquired) when dquot_transfer() fails. ChangeSet@1.1063.1.58, 2003-05-12 23:11:15-07:00, akpm@digeo.com [PATCH] Quota write transaction size fix From: Jan Kara I'm sending a patch which changes numbers of blocks reserved for quota writes to more appropriate values (with current values ext3 asserts can be triggered). ChangeSet@1.1063.1.57, 2003-05-12 23:11:06-07:00, akpm@digeo.com [PATCH] export cpufreq_driver to fix oops in proc interface From: Zwane Mwaikambo The proc interface has no way of telling wether there is an active cpufreq driver or not. This means that if you don't have a cpufreq supported processor, this will oops in various possible places. ChangeSet@1.1063.1.56, 2003-05-12 23:10:56-07:00, akpm@digeo.com [PATCH] small cleanup for __rmqueue From: Zwane Mwaikambo Removes an extra initialisation and general nitpicking. ChangeSet@1.1063.1.55, 2003-05-12 23:10:47-07:00, akpm@digeo.com [PATCH] Commented out printk causes change in program flow in From: Zwane Mwaikambo Commented out printk causes change in program flow in cpufreq/p4-clockmod.c ChangeSet@1.1063.1.54, 2003-05-12 23:10:39-07:00, akpm@digeo.com [PATCH] Fix for vma merging refcounting bug From: "Stephen C. Tweedie" When a new vma can be merged simultaneously with its two immediate neighbours in both directions, vma_merge() extends the predecessor vma and deletes the successor. However, if the vma maps a file, it fails to fput() when doing the delete, leaving the file's refcount inconsistent. ChangeSet@1.1063.1.53, 2003-05-12 23:10:30-07:00, akpm@digeo.com [PATCH] fat cluster search speedup From: Bjorn Stenberg OGAWA Hirofumi This simple patch makes the linux fat filesystem driver use the next_cluster field in the fat_boot_fsinfo structure. This field is a hint where to start looking for free clusters. Using this field makes a big difference for disks connected over slow links such as USB 1.1. Finding the first free cluster on a 40gig fat-formatted usb disk can today take several minutes. This patch cuts it down to a fraction of a second. Also, commit the next_cluster search hint toand from the superblock in write_super/fill_super. ChangeSet@1.1063.1.52, 2003-05-12 23:10:22-07:00, akpm@digeo.com [PATCH] fix pnp_test_handler return It looks like I guessed wrong on this one. ChangeSet@1.1063.1.51, 2003-05-12 23:10:13-07:00, akpm@digeo.com [PATCH] remove devfs_register From: Christoph Hellwig Whee! devfs_register isn't used anymore in the whole tree and with it some other devfs crap. Kill it for good. ChangeSet@1.1063.1.50, 2003-05-12 23:10:05-07:00, akpm@digeo.com [PATCH] implement module_arch_cleanup() in all architectures From: Rusty Russell , David Mosberger The patch below updates the other platforms with module_arch_cleanup(). Also, I added more debug output to kernel/module.c since I found it useful to be able to see the final section layout. ChangeSet@1.1063.1.49, 2003-05-12 23:09:56-07:00, akpm@digeo.com [PATCH] hrtimers: fix timer_create(2) && SIGEV_NONE From: george anzinger - Fix the sig_notify filtering code for the timer_create system call to properly check for the signal number being small enought, but only if SIG_NONE is not specified. - Eliminate useless test of sig_notify. ChangeSet@1.1063.1.48, 2003-05-12 23:09:47-07:00, akpm@digeo.com [PATCH] Remove __verify_write leftovers From: Taral Looks like the recent access_ok fixes broke building of i386. __verify_write is still referenced in a couple places. ChangeSet@1.1063.1.47, 2003-05-12 23:09:38-07:00, akpm@digeo.com [PATCH] enable slab debugging for larger objects Some of the fancier slab debugging options are disabled for caches whose objects are larger than PAGE_SIZE/8, for speed/fragmentation reasons. But this patch turns up bugs in the size-2048 slab, so it was a bad idea. Enable the debugging for slabs up to 4096 bytes. ChangeSet@1.1063.39.3, 2003-05-12 21:43:28-07:00, torvalds@home.transmeta.com Fix broken aic7xxx preprocessor conditional (that's not how C preprocessor expressions work, guys!) ChangeSet@1.1063.39.2, 2003-05-12 21:41:55-07:00, torvalds@home.transmeta.com Remove extraneous NO_MATCH ChangeSet@1.1063.39.1, 2003-05-12 21:31:01-07:00, elenstev@mesatop.com [PATCH] more potentially undefined preprocessor symbols Here are three more fixes which I missed in the previous patch. ChangeSet@1.1063.1.45, 2003-05-12 21:20:00-07:00, kaber@trash.net [XFRM]: Fix typo in __xfrm4_find_acq. ChangeSet@1.1063.1.44, 2003-05-12 21:18:16-07:00, acme@conectiva.com.br [IPV4/IPV6]: Consolidate saddr resetting into inet_reset_saddr(). ChangeSet@1.1063.1.43, 2003-05-12 21:16:02-07:00, yoshfuji@linux-ipv6.org [NET]: nonet.c needs module.h ChangeSet@1.1063.38.2, 2003-05-12 21:12:41-07:00, chris@wirex.com [RXRPC]: Put file_operations THIS_OWNER in correct place. ChangeSet@1.1092, 2003-05-12 22:53:28-05:00, jejb@raven.il.steeleye.com Merge raven.il.steeleye.com:/home/jejb/BK/scsi-misc-2.5 into raven.il.steeleye.com:/home/jejb/BK/scsi-for-linus-2.5 ChangeSet@1.1063.38.1, 2003-05-12 19:56:54-07:00, elenstev@mesatop.com [PATCH] Use '#ifdef' to test for CONFIG_xxx variables Don't depend on undefined preprocessor symbols evaluating to zero. ChangeSet@1.1063.1.41, 2003-05-12 23:19:52-03:00, acme@conectiva.com.br o wanrouter: add missing include module.h ChangeSet@1.1063.37.4, 2003-05-12 16:42:15-07:00, torvalds@home.transmeta.com Don't use undefined preprocessor symbols in expressions. ChangeSet@1.1063.37.3, 2003-05-12 16:41:49-07:00, torvalds@home.transmeta.com Make sys_open() declaration match definition. ChangeSet@1.1063.37.2, 2003-05-12 16:41:21-07:00, torvalds@home.transmeta.com Fix do_utimes() user pointer annotations. ChangeSet@1.1063.37.1, 2003-05-12 16:40:53-07:00, torvalds@home.transmeta.com Add user pointer annotations to mtrr driver. ChangeSet@1.1063.29.2, 2003-05-13 00:22:25+01:00, rmk@flint.arm.linux.org.uk [ARM] Update a variety of ARM drivers to use irqreturn_t. ChangeSet@1.1091, 2003-05-12 17:51:03-05:00, jejb@raven.il.steeleye.com Fix use after free in scsi_host_put put_device will call release and free the host structure (which contains both the generic device and the host class). We must do the class_device_put() *before* the put_device(). ChangeSet@1.1090, 2003-05-12 17:43:59-05:00, andmike@us.ibm.com [PATCH] scsi_host sysfs updates fix release behaviour Fix scsi sysfs init so that a scsi_unregister can be called anytime after a scsi_register. - Create scsi_sysfs_init_host function and call from scsi_register. drivers/scsi/hosts.c | 4 ++-- drivers/scsi/scsi_priv.h | 1 + drivers/scsi/scsi_sysfs.c | 25 ++++++++++++++++--------- 3 files changed, 19 insertions(+), 11 deletions(-) ChangeSet@1.1063.35.1, 2003-05-12 23:41:59+01:00, rmk@flint.arm.linux.org.uk [PCMCIA] Add per-socket thread to process socket events. Add a per-socket kernel thread, which is responsible for processing insertion, removal, battery status and ready status changes. We also add a semaphore to prevent multiple threads trying to change the socket suspend/present state. This will allows us to eliminate the per-socket work queues, and will allow us to handle the card insertion without resources cleanly. ChangeSet@1.1063.34.13, 2003-05-12 15:38:43-07:00, davem@nuts.ninka.net [PKT_SCHED]: sch_ingress.c does not need to linearize SKBs. ChangeSet@1.1063.34.12, 2003-05-12 15:36:10-07:00, davem@nuts.ninka.net [NETFILTER]: ip_ct_gather_frags no longer needs to linearize. ChangeSet@1.1063.34.11, 2003-05-12 15:17:20-07:00, bunk@fs.tum.de [NET]: wireless.c needs module.h ChangeSet@1.1063.34.10, 2003-05-12 14:44:36-07:00, davem@nuts.ninka.net [IPV6]: Fix two bugs in ip6_append_data changes. - Export ip_generic_getfrag - In udp6 increment v6 udp statistics not v4 one ChangeSet@1.1063.1.38, 2003-05-12 14:41:05-07:00, davidm@napali.hpl.hp.com [PATCH] Add ia64 relocation types to elf.h and clean up There is a _lot_ of stuff in linux/elf.h that shouldn't be there. This moves the arch-specific stuff in linux/elf.h into the corresponding asm header files. ChangeSet@1.1063.1.37, 2003-05-12 14:35:23-07:00, torvalds@penguin.transmeta.com Add user pointer annotations to socket, file IO and signal handling. This pointed out a bug in x86 sys_rt_sigreturn(), btw. ChangeSet@1.1063.34.9, 2003-05-12 14:21:19-07:00, kazunori@miyazawa.org [IPV4]: Introduce ip6_append_data. ChangeSet@1.1063.34.8, 2003-05-12 14:05:46-07:00, jmorris@intercode.com.au [CRYPTO]: Fix config dependencies. ChangeSet@1.1063.34.7, 2003-05-12 13:58:16-07:00, jmorris@intercode.com.au [IPSEC]: Implement proper IPIP tunnel handling for IPcomp. ChangeSet@1.1063.34.6, 2003-05-12 13:29:33-07:00, davem@nuts.ninka.net [BRLOCK]: Kill stray brlock.h references in sparc/sparc64 headers. ChangeSet@1.1063.34.5, 2003-05-12 13:26:05-07:00, shemminger@osdl.org [IPV4/IPV6]: synchronize_kernel --> synchronize_net. ChangeSet@1.1063.34.4, 2003-05-12 13:20:48-07:00, shemminger@osdl.org [BRLOCK]: Kill big reader locks, no longer used. ChangeSet@1.1063.34.3, 2003-05-12 13:17:18-07:00, shemminger@osdl.org [NET]: Network packet type using RCU. * packet type converted from linked list to list_macro * writer lock replaced with spin lock, readers use RCU * add __dev_remove_pack for callers that cant sleep. * af_packet changes to handle and sleeping requirements, and possible races that could cause. ChangeSet@1.1063.34.2, 2003-05-12 13:14:11-07:00, shemminger@osdl.org [BRIDGE]: Bridge timer performance enhancement. ChangeSet@1.1063.33.1, 2003-05-12 12:47:35-07:00, maxk@qualcomm.com Merge bk://linux.bkbits.net/linux-2.5 into qualcomm.com:/home/kernel/bt-2.5 ChangeSet@1.1063.1.36, 2003-05-12 11:25:53-07:00, torvalds@penguin.transmeta.com Add user pointer annotations to core sysctl files. ChangeSet@1.1063.1.35, 2003-05-12 11:11:41-07:00, torvalds@penguin.transmeta.com Use '#ifdef' to test for CONFIG_xxx variables, instead of depending on undefined preprocessor symbols evaluating to zero. Make panic.c use proper function prototypes. ChangeSet@1.1063.1.34, 2003-05-12 11:10:13-07:00, torvalds@penguin.transmeta.com Add user pointer annotations. ChangeSet@1.1063.1.33, 2003-05-12 11:09:25-07:00, torvalds@penguin.transmeta.com Use '#ifdef' to test for CONFIG_xxx variables, instead of depending on undefined preprocessor symbols evaluating to zero. Make smpboot.c look like ANSI C with proper function declarations. ChangeSet@1.1063.28.2, 2003-05-12 18:46:42+01:00, davej@codemonkey.org.uk [DRM] Intel i8xx DRM modules are dependant on their AGP counterparts. Closes bugzilla #646 ChangeSet@1.1063.1.32, 2003-05-12 08:55:44-07:00, bgerst@didntduck.org [PATCH] Fix ioperm bitmap This makes sure that the ioperm bitmap in the TSS is correctly set up during the first ioperm() call. Without this the TSS bitmap contains random garbage until the next context switch. ChangeSet@1.1089, 2003-05-12 10:45:33-05:00, hch@lst.de [PATCH] two more templates in headers I missed aic7xxx_old and cciss_scsi. For the first it's the trivial move, for the second it's the patch to move to scsi_add_host & friend as already ACKed by Steve when he still was cciss maintainer. ChangeSet@1.1063.31.3, 2003-05-11 22:20:37-07:00, zaitcev@redhat.com [SPARC]: New compact show_regs format. ChangeSet@1.1063.31.2, 2003-05-11 22:19:28-07:00, zaitcev@redhat.com [SPARC]: Allow esp to use highmem_io on sparc32. ChangeSet@1.1063.31.1, 2003-05-11 22:18:16-07:00, zaitcev@redhat.com [SPARC]: Fix shadowing of global max_pfn, kill BOOTMEM_DEBUG. ChangeSet@1.1063.30.1, 2003-05-11 22:16:29-07:00, rusty@rustcorp.com.au [NETFILTER]: Move ip_fw declarations into header file. ChangeSet@1.1063.1.31, 2003-05-11 19:28:43-07:00, david-b@pacbell.net [PATCH] Fix big-endian USB gadget build Initializers must be constant expressions, and thus we can't use the complex expression "cpu_to_le*()" - the end result of which may have a constant _value_ but the expression itself isn't a constant expression. So use the explicitly constant "__constant_cpu_to_*()" expression instead. ChangeSet@1.1063.1.30, 2003-05-11 19:28:34-07:00, david-b@pacbell.net [PATCH] more kbuild tweaks] This fixes a typo reported by Geert, and more significantly fixes static linking so that it works even when only the device side of USB is enabled, and the host side (CONFIG_USB) isn't. ChangeSet@1.1063.1.29, 2003-05-11 19:18:24-07:00, torvalds@home.transmeta.com Merge http://lia64.bkbits.net/to-linus-2.5 into home.transmeta.com:/home/torvalds/v2.5/linux ChangeSet@1.1063.1.27, 2003-05-11 17:09:50-07:00, torvalds@home.transmeta.com Bartlomiej says: 'Please revert this patch, it is unfinished.' We'll do it *after* IDE taskfile IO is done Cset exclude: axboe@suse.de|ChangeSet|20030511184946|49736 ChangeSet@1.1063.27.3, 2003-05-11 16:04:47-07:00, davem@nuts.ninka.net [IPV6]: Missing sk->family check in UDPv6 multicast handling. ChangeSet@1.1042.114.26, 2003-05-11 23:06:20+01:00, davej@codemonkey.org.uk [AGPGART] add checks to agp_copy_info() before dereferencing. Spotted by Andi Kleen with AGPless IOMMU setup. ChangeSet@1.1063.27.2, 2003-05-11 15:05:09-07:00, davem@nuts.ninka.net [NETFILTER]: Fix stale skb data pointer usage in ipv4 NAT. ChangeSet@1.1063.27.1, 2003-05-11 13:56:01-07:00, davem@nuts.ninka.net [IPV4/IPV6]; Missing schedule_net() in inet{,6}_del_protocol. ChangeSet@1.1063.26.1, 2003-05-11 13:04:41-07:00, rth@kanga.twiddle.net [ALPHA] Fix titan_intr_nop for 2.5 irq api changes. ChangeSet@1.1088, 2003-05-11 14:26:23-05:00, jejb@raven.il.steeleye.com Fix thinko introduced into include/scsi/scsi.h SAM_STAT_* are return codes, not bitmaps ChangeSet@1.1063.1.24, 2003-05-11 12:06:03-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] fix lost IDE interrupt problem Alan and I were investigating this, but we don't know why the problem occurs. This reverts the previous handling of masked_irq, and fixes the problem. ChangeSet@1.1063.19.34, 2003-05-11 11:58:48-07:00, mikpe@csd.uu.se [PATCH] restore sysenter MSRs at APM resume This changes apm.c to invoke suspend.c's save and restore processor state procedures around suspends, which fixes the SYSENTER MSR problem. The patch also decouples sysenter.c from SOFTWARE_SUSPEND: the variables used (only!) in suspend_asm.S are moved there, and the include file now declares the procedures called from apm.c (previously they were only called from suspend_asm.S). ChangeSet@1.1063.19.30, 2003-05-11 11:49:46-07:00, axboe@suse.de [PATCH] Proper 48-bit lba support ChangeSet@1.1063.25.1, 2003-05-11 14:45:52-04:00, jgarzik@redhat.com [bk] add useful tip to bk kernel howto Kudos to Wayne Scott @ BitMover for this. ChangeSet@1.1063.19.29, 2003-05-11 14:25:07-04:00, mzyngier@freesurf.fr [PATCH] depca update (was Re: [Patch] DMA mapping API for Alpha) this patch has been sleeping in Alan tree for quite some time. It updates the depca driver to the EISA/sysfs API, gets rid of check_region, and properly reserve memory region. Patch is against latest BK. ChangeSet@1.1063.19.28, 2003-05-11 14:24:44-04:00, dean@arctic.org [PATCH] better ali1563 integrated ethernet support it turns out the tulip driver is a much better driver for the integrated ali1563 ethernet than the dmfe driver... the dmfe driver gets tx timeouts every ~15s and can't receive over 5MB/s. but with the small tulip patch below i'm seeing 11MB/s+ in both directions without problems. ChangeSet@1.1063.19.27, 2003-05-11 14:24:21-04:00, paulus@samba.org [PATCH] Update mac ethernet drivers This patch updates the bmac and mace ethernet drivers so that their interrupt routines return an irqreturn_t, and updates the bmac driver to use a spinlock rather than global cli/sti. ChangeSet@1.1063.19.26, 2003-05-11 14:23:59-04:00, jt@bougret.hpl.hp.com [PATCH] WE-16 for Wavelan Pcmcia driver This patch update the Wavelan Pcmcia driver for Wireless Extensions 16, and also remove all the backward compatibility cruft that is broken anyway. ChangeSet@1.1063.19.25, 2003-05-11 14:23:35-04:00, jt@bougret.hpl.hp.com [PATCH] WE-16 for Wavelan ISA driver This update the Wavelan ISA driver for Wireless Extension 16 (going with my previous patch). ChangeSet@1.1063.19.24, 2003-05-11 14:23:12-04:00, jt@bougret.hpl.hp.com [PATCH] Wireless Extension 16 This patch for 2.5.68-bk11 will update Wireless Extension to version 16 : o increase bitrate and frequency number for 802.11g/802.11a o enhanced iwspy support o minor tweaks and cleanups This patch is only for the core of WE. The patches for the individual drivers have been sent to their respective maintainers. Compared to the previous version I sent you a few weeks ago, I've just updated to the latest kernel. ChangeSet@1.1063.19.23, 2003-05-11 14:22:49-04:00, jt@bougret.hpl.hp.com [PATCH] irq fixes for wavelan_cs/netwave_cs This patch for 2.5.68-bk11 will fix the irq handler of some obsolete wireless drivers (wavelan, wavelan_cs and netwave_cs) plus assorted fixes. All those drivers have been tested on a SMP box. ChangeSet@1.1063.19.22, 2003-05-11 14:22:26-04:00, hch@lst.de [PATCH] switch sb1000 to new style net init & pnp This cleans up the driver big time and gets rid of a big ugly wart in setup.c. Note that I don't have the hardware so this is only compile-tested. ChangeSet@1.1087, 2003-05-11 10:06:40-05:00, James.Bottomley@steeleye.com [PATCH] Correct typo in linux/scsi/scsi.h and introduce new I notice we seem to have a typo in the SAM_ status codes (they say IMMEDIATE where they mean INTERMEDIATE). I've also introduced a new macro who's job is to return true if any of the possible good return codes is found. This means SAM_STAT_GOOD SAM_STAT_INTERMEDIATE SAM_STAT_INTERMEDIATE_CONDITION_MET and for now SAM_STAT_COMMAND_TERMINATED By and large, this is currently irrelevant to us, since we don't use linked commands and I've never met a device using COMMAND TERMINATED, but it may help us in the future. ChangeSet@1.1063.19.21, 2003-05-10 22:05:58-07:00, axboe@suse.de [PATCH] dynamic request allocation This patch adds dynamic allocation of request structures. Right now we are reserving 256 requests per initialized queue, which adds up to quite a lot of memory for even a modest number of queues. For the quoted 4000 disk systems, it's a disaster. Instead, we mempool 4 requests per queue and put an upper limit on the number of requests that we will put in-flight as well. I've kept the 128 read/write max in-flight limit for now. It is trivial to experiement with larger queue sizes now, but I want to change one thing at the time (the truncate scenario doesn't look all that good with a huge number of requests, for instance). Patch has been in -mm for a while, I'm running it here against stock 2.5 as well. Additionally, it actually kills quite a bit of code as well ChangeSet@1.1063.19.20, 2003-05-10 22:05:49-07:00, axboe@suse.de [PATCH] shrink deadline hash size Limit deadline hash to 32 entries instead of 1024. This has been benched and profiled extensively and shows no increased system time. Also, move "hot" entries to the front of the list. ChangeSet@1.1063.19.19, 2003-05-10 22:05:40-07:00, axboe@suse.de [PATCH] make MO drive work with ide-floppy/ide-cd Resend of the ide-cd buggy debug check removal. From der.eremit@email.de. ChangeSet@1.1063.19.18, 2003-05-10 22:05:32-07:00, axboe@suse.de [PATCH] bio_endio() increments bio->bi_sector increment bi_sector in bio_endio() so make_request_fn drivers don't have to do this accounting themselves. ChangeSet@1.1063.24.7, 2003-05-10 11:49:58-07:00, davem@nuts.ninka.net [VLAN]: vlanproc.c needs module.h ChangeSet@1.1063.24.6, 2003-05-10 11:46:48-07:00, yoshfuji@linux-ipv6.org [NET]: Set file_operations->owner as appropriate. ChangeSet@1.1063.24.5, 2003-05-10 09:08:52-07:00, chas@cmf.nrl.navy.mil [ATM]: HE and IPHASE driver fixes. ChangeSet@1.1086, 2003-05-10 10:08:46-04:00, hch@lst.de [PATCH] consolidate devlist handling in a single file Currently it's spread all over the scsi midlayer but having this nicely separate out to a file of it's own without exposing the data structures sounds like a good idea. ChangeSet@1.1085, 2003-05-10 10:06:43-04:00, andmike@us.ibm.com [PATCH] scsi_host sysfs updates scsi-misc-2.5 [2/2] Here is an update of the patch with the externs in scsi_priv.h -andmike -- Michael Anderson andmike@us.ibm.com DESC scsi shost sysfs cleanups for scsi-misc-2.5 - Add LLDD short name to scsi_host struct device. - scsi_host_release now calls scsi_free_shost. - Switched from device_register / device_unregister and class_register / class_register to initialize, add, del, put pairs. - Moved some function from scsi_register and scsi_unregister. - Filled in scsi_host_put and scsi_host_get. Rev 2 move externs to scsi_priv.h EDESC drivers/scsi/hosts.c | 33 ++++++++++++++++++++++++++++----- drivers/scsi/scsi_priv.h | 2 ++ drivers/scsi/scsi_sysfs.c | 19 +++++++++++-------- 3 files changed, 41 insertions(+), 13 deletions(-) ChangeSet@1.1084, 2003-05-10 10:05:53-04:00, andmike@us.ibm.com [PATCH] scsi_host sysfs updates scsi-misc-2.5 [1/2] -andmike -- Michael Anderson andmike@us.ibm.com DESC scsi_debug cleanups for scsi-misc-2.5 - Remove release function. - Remove scsi_debug wrapper driver register / unregister functions. - Douglas's target == this_id fix. - Remove some old cleanups that where incorrect. - Move code back into sdebug_driver_remove. EDESC drivers/scsi/scsi_debug.c | 78 ++++++++++++++-------------------------------- drivers/scsi/scsi_debug.h | 1 2 files changed, 25 insertions(+), 54 deletions(-) ChangeSet@1.1083, 2003-05-10 09:58:35-04:00, hch@lst.de [PATCH] scsi_report_device_reset aic7xxx/79xx wants a variant of scsi_report_bus_reset that operates only on a single device. Implement it to get rid of shost->my_devices traversals in drivers. (and move both to scsi_error.c) ChangeSet@1.1082, 2003-05-10 09:57:56-04:00, hch@lst.de [PATCH] fix the aacraid merge a bit more ChangeSet@1.1081, 2003-05-10 09:57:35-04:00, hch@lst.de [PATCH] some warning fixes ChangeSet@1.1080, 2003-05-10 09:53:17-04:00, James.Bottomley@steeleye.com [PATCH] sd.c spinup code can go into a wild loop This problem was reported against 2.4 by Eddie.Williams@SteelEye.com There's a problem in the sd spinup code in that if the unit returns NOT READY, we begin to spin it up, but thereafter if it returns anything other than NOT READY or success, the while loop in the spinup code will be executed *without* the 1s delay that's in the NOT READY case. The problem was seen with a real device: Compaq multi-path storage arrays return NOT READY to probes down inactive paths, but when the start unit is sent to activate the path, they can then respond back with error conditions. The fix is to terminate the while loop for any unexpected return. ChangeSet@1.1042.114.25, 2003-05-10 14:35:12+01:00, davej@codemonkey.org.uk [AGPGART] Make the agp 3.5 use the agp3 code for enabling, leaving just the isoch stuff in isoch.c ChangeSet@1.1063.24.4, 2003-05-10 06:04:15-07:00, yoshfuji@linux-ipv6.org [IPV6]: Convert /proc/net/raw6 to seq_file. ChangeSet@1.1063.24.3, 2003-05-10 05:25:47-07:00, shemminger@osdl.org [IPV4/IPV6]: inetsw using RCU. ChangeSet@1.1063.24.2, 2003-05-10 05:19:24-07:00, jgarzik@redhat.com [SCTP]: Fix missing Kconfig dependency. ChangeSet@1.1063.24.1, 2003-05-10 04:23:07-07:00, davem@nuts.ninka.net [TCP]: NULL out newsk->owner in tcp_create_openreq_child(). ChangeSet@1.1063.7.7, 2003-05-10 03:13:52-07:00, davidm@tiger.hpl.hp.com ia64: Patch by John Marvin: Add virtual mem-map support. ChangeSet@1.1063.7.6, 2003-05-10 02:28:55-07:00, davidm@tiger.hpl.hp.com ia64: Prepare for GCC v3.4. Sync with 2.5.69. ChangeSet@1.1042.114.24, 2003-05-10 10:03:51+01:00, davej@codemonkey.org.uk [AGPGART] CodingStyle nitpicks for isoch.c ChangeSet@1.1042.114.23, 2003-05-10 09:41:28+01:00, davej@codemonkey.org.uk [AGPGART] Use symbolic defines for isoch registers in isoch code. ChangeSet@1.1042.114.22, 2003-05-10 09:25:16+01:00, davej@codemonkey.org.uk [AGPGART] Add missing #defines from last checkin. ChangeSet@1.1042.114.21, 2003-05-10 09:22:49+01:00, davej@codemonkey.org.uk [AGPGART] Make sure we don't poke reserved bits when enabling agp v3 ChangeSet@1.1042.114.20, 2003-05-10 09:13:50+01:00, davej@codemonkey.org.uk [AGPGART] Add proper AGP3 initialisation routine. ChangeSet@1.1042.114.19, 2003-05-10 08:15:16+01:00, davej@codemonkey.org.uk [AGPGART] death of generic-3.0.c = folded into generic.c ChangeSet@1.1063.18.5, 2003-05-09 21:43:10-07:00, maxk@qualcomm.com [Bluetooth] RFCOMM must wait for MSC exchange to complete before sending data. ChangeSet@1.1063.18.4, 2003-05-09 21:20:38-07:00, maxk@qualcomm.com Merge bk://linux-bt.bkbits.net/marcel-2.5 into qualcomm.com:/home/kernel/bt-2.5 ChangeSet@1.1063.23.1, 2003-05-09 19:07:44-07:00, vandrove@vc.cvut.cz [PATCH] Fix potential runqueue deadlock send_sig_info() has been broken since 2.5.60. The function can be invoked from a the time interrupt (timer_interrpt -> do_timer -> update_process_times -> -> update_one_process -> ( do_process_times, do_it_prof, do_it_virt ) -> -> send_sig -> send_sig_info) but it uses spin_unlock_irq instead of the correct spin_unlock_irqrestore. This enables interrupts, and later scheduler_tick() locks runqueue (without disabling interrupts). And if we are unlucky, a new interrupt comes at this point. And if this interrupt tries to do wake_up() (like RTC interrupt does), we will deadlock on runqueue lock :-( The bug was introduced by signal-fixes-2.5.59-A4, which split the original send_sig_info into two functions, and in one branch it started using these unsafe spinlock variants (while the "group" variant uses irqsave/restore correctly). ChangeSet@1.1063.18.3, 2003-05-09 16:47:56-07:00, maxk@qualcomm.com [Bluetooth] Detect and log error condition when first L2CAP fragment is too long. ChangeSet@1.1063.22.3, 2003-05-09 16:26:48-07:00, greg@kroah.com [PATCH] driver core: remove unneeded line in class code. Thanks to Jonathan Corbet for pointing this out. ChangeSet@1.1063.22.2, 2003-05-09 16:26:28-07:00, greg@kroah.com [PATCH] driver core: Add driver symlink to class devices in sysfs. Thanks to Mike Anderson for the idea for this. ChangeSet@1.1063.22.1, 2003-05-09 16:25:57-07:00, corbet@lwn.net [PATCH] cpufreq class fix ChangeSet@1.1063.7.5, 2003-05-09 16:25:07-07:00, rohit.seth@intel.com [PATCH] ia64: enable 1G hugepage size for Mckinley ChangeSet@1.1063.21.6, 2003-05-09 16:12:53-07:00, greg@kroah.com [PATCH] i2c: register the i2c_adapter_driver so things link up properly in sysfs ChangeSet@1.1063.21.5, 2003-05-09 14:54:25-07:00, warp@mercury.d2dc.net [PATCH] I2C: And another it87 patch. Don't provide min/max for in8, which allowed one to scribble on registers one should not be messing with. (My fault, oops.) The setting of the temp high/low registers was off by one, not mine this time. While I was at it, I reordered a few other register accesses to be base 0 instead of base 1. The temp interface was slightly incorrect, degrees * 100 instead of degrees * 1000, also fixed. And lastly, when changing the fan count divisor, fix up the min setting to still be roughly the same. (Previously the meaning of the value in the register changed, but not the value itself, resulting in, undesired surprises.) ChangeSet@1.1063.21.4, 2003-05-09 14:54:15-07:00, warp@mercury.d2dc.net [PATCH] I2C: Yet another it87 patch. Ok, after writing up something in the way of a perl script to make some sense of the data for voltages, and finding that there is no sense to make, I took a longer look at things. The it87 driver in 2.5.x is doing some, down right /odd/ math on the numbers for the in_input* readings, and the 2.4.x driver is doing something quite different. And while it might be possible to get sane numbers out of the 2.5.x driver, people /expect/ to get the numbers that they were getting from 2.4.x. So this patch puts things back to the simpler calculations done by the 2.4.x lm-sensors drivers, and my script confirms that the numbers come out right. ChangeSet@1.1063.21.3, 2003-05-09 14:54:04-07:00, warp@mercury.d2dc.net [PATCH] I2C: Another it87 patch. This is against my last. While the old code most definitely did /something/ to the register for setting the fan div, the 'what' is a more interesting question. To be honest I could not figure out what it was trying to do, because the way it was inserting values disagreed with not only the data sheet, but how it parsed the very same register. This corrects the issue, and allows one to properly control the divisor on all 3 fans, including the (much more limited) 3rd fan. ChangeSet@1.1063.19.12, 2003-05-09 14:24:06-07:00, torvalds@penguin.transmeta.com Annotate vm86_info as a pointer to user space. ChangeSet@1.1063.19.11, 2003-05-09 14:23:40-07:00, torvalds@penguin.transmeta.com Annotate IPC system calls with user pointer annotations ChangeSet@1.1063.19.10, 2003-05-09 14:22:58-07:00, torvalds@penguin.transmeta.com Fix mismatch between i387 user copy function declaration and definition. ChangeSet@1.1063.19.9, 2003-05-09 14:22:15-07:00, torvalds@penguin.transmeta.com Annotate x86 system calls with user pointer annotations. ChangeSet@1.1063.19.8, 2003-05-09 14:21:13-07:00, torvalds@penguin.transmeta.com Annotate LDT system calls with user pointer annotations. ChangeSet@1.1063.21.2, 2003-05-09 13:58:10-07:00, mark@alpha.dyndns.org [PATCH] I2C: add more classes Add I2C classes for analog and digital cameras, and fix a typo. ChangeSet@1.1063.21.1, 2003-05-09 13:53:57-07:00, greg@kroah.com [PATCH] i2c: add i2c_adapter class support ChangeSet@1.1063.18.2, 2003-05-09 12:01:26-07:00, maxk@qualcomm.com [Bluetooth] L2CAP config req/rsp fixes. We have to set continuation flag in config rsp if it was set in req. ChangeSet@1.1063.20.1, 2003-05-09 11:35:53-07:00, torvalds@home.transmeta.com Make aic7xxx driver use ANSI prototypes. My checker tool refuses to touch K&R C. ChangeSet@1.1042.45.5, 2003-05-09 19:58:47+02:00, marcel@holtmann.org [Bluetooth] Handle priority bits in parameter negotiation The PN response have to return the same value for the priority bits as in the request. The priority value is now also stored in the rfcomm_dlc structure and the default value is 7. ChangeSet@1.1042.45.4, 2003-05-09 19:57:20+02:00, marcel@holtmann.org [Bluetooth] Send the correct values in RPN response This patch fixes a bug in rfcomm_recv_rpn(), which do not set the correct values for xon_char, xoff_char and flow_ctrl. ChangeSet@1.1063.19.6, 2003-05-09 10:41:26-07:00, davem@nuts.ninka.net [XFRM]: Fix typos in xfrm_state_put() changes. ChangeSet@1.1063.19.5, 2003-05-09 09:36:06-07:00, hch@lst.de [NET]: Switch x25_asy over to initcalls. ChangeSet@1.1063.19.4, 2003-05-09 09:33:17-07:00, jmorris@intercode.com.au [XFRM]: Use xfrm_pol_hold(). ChangeSet@1.1063.19.3, 2003-05-09 09:29:54-07:00, jmorris@intercode.com.au [XFRM]: Make use of xfrm_state_hold(). ChangeSet@1.1063.19.2, 2003-05-09 09:27:47-07:00, yoshfuji@linux-ipv6.org [MAINTAINERS/CREDITS]: Add entries for USAGI hackers. ChangeSet@1.1042.114.18, 2003-05-09 12:31:04+01:00, davej@codemonkey.org.uk [AGPGART] Remove duplicate copying of ->chipset in agp_copy_info() ChangeSet@1.1063.1.21, 2003-05-09 02:51:18-07:00, nfsclient.adm@hostme.bitkeeper.com Merge bk://linux.bkbits.net/linux-2.5 into hostme.bitkeeper.com:/ua/repos/n/nfsclient/linux-2.5 ChangeSet@1.1063.14.21, 2003-05-08 18:34:06-07:00, ak@muc.de [NET]: Clean up socket filter compat handling. ChangeSet@1.1063.14.20, 2003-05-08 18:29:32-07:00, willy@debian.org [DLCI]: Use module_init and fix ioctl handling. ChangeSet@1.1063.14.19, 2003-05-08 18:24:28-07:00, davem@nuts.ninka.net [NETFILTER]: Fix ip_nat_core.c:manip_pkt return value checks. ChangeSet@1.1063.14.18, 2003-05-08 18:22:53-07:00, chas@cmf.nrl.navy.mil [ATM]: Make he driver code more palatable. ChangeSet@1.1063.14.17, 2003-05-08 18:15:49-07:00, jmorris@intercode.com.au [IPSEC]: Use xfrm_state_put in pfkey_msg2xfrm_state. ChangeSet@1.1063.7.4, 2003-05-08 18:15:33-07:00, davidm@tiger.hpl.hp.com ia64: Patch from Asit K. Mallick: fix a few places where last_fph_cpu wasn't updated and one place in the sigreturn path where the fph-owner wasn't set. ChangeSet@1.1063.14.16, 2003-05-08 17:44:22-07:00, davem@nuts.ninka.net [IPV6]: Pass route attributes all the way down. ChangeSet@1.1063.14.15, 2003-05-08 17:40:33-07:00, davem@nuts.ninka.net [SKFDDI]: Use SET_MODULE_OWNER. ChangeSet@1.1063.11.5, 2003-05-08 16:38:41-07:00, maxk@qualcomm.com [Bluetooth] Add required infrastructure for socket module refcounting. Initialize ->owner fields in Bluetooth protocols and drivers. ChangeSet@1.1063.14.14, 2003-05-08 15:01:10-07:00, davem@nuts.ninka.net [MPLS]: Add MPLS support to PPP. ChangeSet@1.1063.14.13, 2003-05-08 14:54:53-07:00, davem@nuts.ninka.net [NETFILTER]: Fix icmp_reply_translation args. ChangeSet@1.1063.14.12, 2003-05-08 14:34:53-07:00, davem@nuts.ninka.net [MPLS]: Add ethernet protocol numbers. ChangeSet@1.1063.1.20, 2003-05-08 13:34:31-07:00, torvalds@penguin.transmeta.com Use the right CFLAGS for source checking. Fix grammar. ChangeSet@1.1063.16.9, 2003-05-08 11:36:11-07:00, david-b@pacbell.net [PATCH] USB gadget: net2280: dmachain off, zlp pio ok This patch has two small fixes for issues that people reported to me yesterday: - One of the out-of-tree drivers sees odd things happening when dma chaining is enabled. (The in-tree drivers seem fine with it.) So disable for now; it's easily enabled if needed. - Zero Length Packets (ZLPs): * Should now read/write ok with PIO. * On DMA endpoints, explicit ZLPs need PIO. Until they do, don't allow queuing zero length buffers onto DMA endpoints. ChangeSet@1.1063.16.8, 2003-05-08 11:35:48-07:00, david-b@pacbell.net [PATCH] USB: gadget zero, loopback config fix If the host writes OUT packets using URB_ZERO_PACKET (or its analogue on other USB host systems), then the loopback configuration should set req->zero, to use that same transfer termination policy when it writes the response back IN to the host. ChangeSet@1.1063.16.7, 2003-05-08 11:35:20-07:00, david-b@pacbell.net [PATCH] USB: gadget cleanup of #ifdefs > can you get rid of all of the #ifdef HAVE_DRIVER_MODEL stuff? Done. Now this code "knows" it's running in a 2.5 environment, and needs modifications to run on 2.4. I also changed the file modes in the module_parm() calls so the parameters will be writable when they eventually show up in sysfs; and fixed a typo. Compile-tested with and without DEBUG enabled. ChangeSet@1.1063.16.6, 2003-05-08 11:34:56-07:00, david-b@pacbell.net [PATCH] kbuild/kbuild for USB Gadgets (6/6) This patch adds kconfig/kbuild support for the preceding code, so that an EXPERIMENTAL option appears in the USB part of the config menus. Once a USB device controller driver is configured (which just now means net2280, but sa11x0 and pxa25x options are just waiting for updates!), gadget driver options are also available. ChangeSet@1.1063.16.5, 2003-05-08 11:34:30-07:00, david-b@pacbell.net [PATCH] USB Gadget string utility (5/6) This adds utility code that gadget drivers can use to manage string descriptors (drivers/usb/gadget/usbstring.c) in the common case that the ISO-8859/1 character set is in use. Both "Gadget Zero" and the Ethernet gadget code use this. ChangeSet@1.1063.16.4, 2003-05-08 11:34:06-07:00, david-b@pacbell.net [PATCH] USB Ethernet Gadget (4/6) This patch adds an "Ethernet Gadget" driver, implementing the CDC Ethernet model (drivers/usb/gadget/ether.c). It interops with the current CDC Ether drivers on Linux, both 2.4 (CDCEther, using Marcelo's latest) and 2.5 (cdc-ether with recent patches, or on 2.5.68 "usbnet") On a net2280, this has successfully streamed dozens of megabytes per second using "ttcp" (high speed, and using "usbnet" on the host side), for days at a time. And no problems using SSH/NFS/etc in lighter duty testing. It's possible this will need tweaking to cope with UDC bugs on Intel's pxa25x controllers, presenting itself as a non-CDC device. (I'm told altsettings are even more broken than originally specified to be.) ChangeSet@1.1063.16.3, 2003-05-08 11:33:41-07:00, david-b@pacbell.net [PATCH] USB "Gadget Zero" driver (3/6) This patch adds "Gadget Zero" (drivers/usb/gadget/zero.c). Gadget Zero is a simple gadget driver that's useful for testing controller drivers, and as an example to be used for clone/modify style development. This driver implements two configurations, and needs only two bulk endpoints (in addition to ep0) ... so pretty much any USB device controller should be usable with it in one configuration or another. It (optionally) supports high speed devices, and has passed the USB-IF "chapter 9" device model conformance tests. It's worth noticing the kinds of hardware differences that gadget drivers need to cope with. Endpoints differ, in ways that must be reflected various ways in descriptors. And sometimes chip errata cause interoperability problems; for example, an sa1100 can't change configurations after enumerating. ChangeSet@1.1063.16.2, 2003-05-08 11:33:15-07:00, david-b@pacbell.net [PATCH] Net2280 driver (2/6) This patch creates drivers/usb/gadget/net2280.[hc], providing a driver for NetChip's "Net2280 PCI USB 2.0 High Speed Peripheral Controller". It implements the API included in the first patch. The driver has behaved well with chiprev 0100 under stress tests with Gadget Zero and the ethernet model driver, and has passed sanity tests for chiprev 0110. ChangeSet@1.1063.16.1, 2003-05-08 11:32:50-07:00, david-b@pacbell.net [PATCH] USB Gadget API (1/6) This patch createss , the gadget API and inlined implementation. There's additional kerneldoc, which I won't submit at this time, available. ChangeSet@1.1063.14.11, 2003-05-08 11:28:18-07:00, rusty@rustcorp.com.au [NETFILTER]: Fix skb_checksum args in ip_nat_core.c ChangeSet@1.1063.14.10, 2003-05-08 10:10:50-07:00, davem@nuts.ninka.net [IPV4]: Fix expiration test in rt_check_expire. ChangeSet@1.1063.14.8, 2003-05-08 09:47:32-07:00, hch@lst.de [SLIP]: Move over to initcalls. ChangeSet@1.1063.14.7, 2003-05-08 09:46:23-07:00, steve@gw.chygwyn.com [DECNET]: Decnet not obeying netdev locking (from shemminger@osdl.org). ChangeSet@1.1063.14.6, 2003-05-08 09:44:29-07:00, shemminger@osdl.org [PKTGEN]: Module and dev cleanup. ChangeSet@1.1063.14.5, 2003-05-08 09:42:02-07:00, shemminger@osdl.org [SYSKONNECT]: /proc module handling fixup. ChangeSet@1.1063.14.4, 2003-05-08 09:40:24-07:00, rddunlap@osdl.org [IPV6]: Remove incorrect comment in ip6_fib.c ChangeSet@1.1079, 2003-05-08 12:24:16-04:00, hch@lst.de [PATCH] rationalize scsi_queue_next & friends (1) second arg to scsi_queue_next_request() is only ever non-NULL inside scsi_lib.c and only used in the first conditional inside that function - ripped out of scsi_queue_next_request() and put into a new helper scsi_requeue_command(). (2) Most remaining callers of are in the form scsi_put_command(cmd); scsi_queue_next_request(q, NULL); add a new helper, scsi_next_command() for them. (2b) many callers of that still contain a repeated codepath, namely everything from scsi_release_request except the final kfree. New helper __scsi_release_request() for those. (3) All remaining callers loop over the devices of a host and call scsi_queue_next_request() on them - new helper scsi_run_host_queues(). (4) scsi_queue_next_request() renamed to scsi_run_queue(), second arg is gone and it's static to scsi_lib.c now. ChangeSet@1.1063.14.3, 2003-05-08 09:10:15-07:00, mk@linux-ipv6.org [IPSEC]: Fix ipcomp header handling in ipv4 IPCOMP. ChangeSet@1.1063.14.2, 2003-05-08 06:03:51-07:00, chas@locutus.cmf.nrl.navy.mil [ATM]: Kill stray ATM_PDU_OVHD reference in lec.c ChangeSet@1.1063.1.18, 2003-05-08 01:32:35-07:00, greg@kroah.com TTY: add lock to tty_dev_list, and handle tty names with more than one '/' Thanks to Al Viro for pointing out these problems. ChangeSet@1.1063.1.17, 2003-05-08 01:10:22-07:00, greg@kroah.com Merge gregkh@kernel.bkbits.net:/home/gregkh/linux/linus-2.5 into kroah.com:/home/linux/linux/BK/gregkh-2.5 ChangeSet@1.1063.13.37, 2003-05-08 01:08:24-07:00, greg@kroah.com USB: fix up compile error in tiglusb driver due to devfs_mk_cdev() changes. ChangeSet@1.1063.13.36, 2003-05-08 01:07:28-07:00, greg@kroah.com USB: change core to use devfs_mk_cdev() instead of devfs_register() ChangeSet@1.1063.13.35, 2003-05-08 01:06:32-07:00, greg@kroah.com TTY: fix up lost devfs_mk_cdev change. ChangeSet@1.1063.13.34, 2003-05-07 23:26:57-07:00, torvalds@home.transmeta.com Merge conflicting tty devfs cleanups ChangeSet@1.1063.13.33, 2003-05-07 22:21:03-07:00, akpm@digeo.com [PATCH] Work around include/linux/sunrpc/svc.h compilation From: Grzegorz Jaskiewicz gcc-2.94 fails to compile this code, alleging an invalid lvalue. An equivalent transformation fixes it up. ChangeSet@1.1063.13.32, 2003-05-07 22:20:52-07:00, akpm@digeo.com [PATCH] Change LSM hooks in setxattr From: Stephen Smalley This patch against 2.5.69 adds a security_inode_post_setxattr hook so that security modules can update the inode security structure after a successful setxattr, and it moves the existing security_inode_setxattr hook call after the taking the inode semaphore so that atomicity is provided for the security check and the update to the inode security structure. ChangeSet@1.1063.13.31, 2003-05-07 22:20:42-07:00, akpm@digeo.com [PATCH] ext2 xattr handler for security modules From: Stephen Smalley This patch against 2.5.68 implements an xattr handler for ext2 to support the use of extended attributes by security modules for storing file security labels. As per the earlier discussion of extended attributes for security modules, this handler uses a "security." prefix and allows for per-module attribute names. Security checking on userspace access to these attributes can be performed by the security module using the LSM hooks in fs/xattr.c, and the security module is free to internally use the inode operations without restriction for managing its security labels. Unlike the trusted namespace, these labels are used internally for access control purposes by the security module, and controls over userspace access to them require finer granularity than capable() supports. ChangeSet@1.1063.13.30, 2003-05-07 22:20:32-07:00, akpm@digeo.com [PATCH] ext3 xattr handler for security modules From: Stephen Smalley This patch against 2.5.68 implements an xattr handler for ext3 to support the use of extended attributes by security modules for storing file security labels. As per the earlier discussion of extended attributes for security modules, this handler uses a "security." prefix and allows for per-module attribute names. Security checking for userspace access to these attributes can be performed by the security module using the LSM hooks in fs/xattr.c, and the security module is free to internally use the inode operations without restriction for managing its security labels. Unlike the trusted namespace, these labels are used internally for access control purposes by the security modules, and controls over userspace access to them require finer granularity than capable() supports. ChangeSet@1.1063.13.29, 2003-05-07 22:20:22-07:00, akpm@digeo.com [PATCH] Move security_d_instantiate hook calls From: Stephen Smalley This patch moves the security_d_instantiate hook calls in d_instantiate and d_splice_alias after the inode has been attached to the dentry. This change is necessary so that security modules can internally call the getxattr inode operation (which takes a dentry parameter) from this hook to obtain the inode security label. ChangeSet@1.1063.13.28, 2003-05-07 22:20:13-07:00, akpm@digeo.com [PATCH] select() speedup From: Christoph Hellwig Originally by David Mosberger, testing by Roger Luethi. From the ia64 tree. Basically, it avoids going to memory all the time. What this does is make life a lot easier for gcc, so it can actually do a decent amount of optimization. The restructuring clearly is less important for out-of-order CPUs, but even there it gives some benefits. More specifically, the loop is now structured to operate one "unsigned long" at a time, rather than one bit at a time. Of course, you still need to process all the bits, but most of the relevant state in the inner loop can be kept in registers. Roger Luethi measured the routine on a bunch of different machines (mostly x86, IIRC: P5, P6, Crusoe, Athlons) and performance improved there, too (and it should definitely improve performance on any RISC-like architecture). Roger's benchmarking results (vs number of fd's): File TCP Numbfer of fd's: 10 250 500 10 250 500 UP, Pentium MMX 233MHz original 8.2 108.5 212.8 11.0 180.0 356.5 UP, Pentium MMX 233MHz w/patch 7.4 87.6 171.1 10.4 163.6 323.4 MP, Pentium MMX 233MHz original 15.7 283.8 562.8 18.9 354.4 705.5 MP, Pentium MMX 233MHz w/patch 14.6 255.6 506.5 17.8 332.8 664.1 UP, Athlon 1394 MHz original 1.3 13.4 26.1 1.9 24.7 48.6 UP, Athlon 1394 MHz w/patch 1.2 11.0 21.5 1.6 22.3 43.8 MP, Athlon 1394 MHz original 1.6 22.4 44.6 1.9 30.9 60.5 MP, Athlon 1394 MHz w/patch 1.5 21.2 41.7 1.9 30.2 59.6 ChangeSet@1.1063.13.27, 2003-05-07 22:20:03-07:00, akpm@digeo.com [PATCH] allow i8042 interrupt sharing Ed Tomlinson has a machine on which some other device grabs IRQ12 first, and the 8042 doesn't work. Enabling shared iRQs in the 8042 driver fixes it up. Alan has confirmed that this is OK. ChangeSet@1.1063.13.26, 2003-05-07 22:19:50-07:00, akpm@digeo.com [PATCH] reduced overheads in fget/fput From: Dipankar Sarma fget() shows up on profiles, especially on SMP. Dipankar's patch special-cases the situation wherein there are no sharers of current->files. In this situation we know that no other process can close this file, so it is not necessary to increment the file's refcount. It's ugly as sin, but makes a substantial difference. The test is dd if=/dev/zero of=foo bs=1 count=1M On 4CPU P3 xeon with 1MB L2 cache and 512MB ram: kernel sys time std-dev ------------ -------- ------- UP - vanilla 2.104 0.028 UP - file 1.867 0.019 SMP - vanilla 2.976 0.023 SMP - file 2.719 0.026 ChangeSet@1.1063.13.25, 2003-05-07 22:19:40-07:00, akpm@digeo.com [PATCH] slab: additional debug checks From: Manfred Spraul below is the promised patch for better slab debugging, against 2.5.68-mm4: Changes: - enable redzoning and last user accounting even for large objects, if that doesn't waste too much memory - document why FORCED_DEBUG doesn't enable redzoning&last user accounting for some caches. - check the validity of the bufctl chains in a slab in __free_blocks. This detects double-free error for the caches without redzoning. ChangeSet@1.1063.13.24, 2003-05-07 22:19:30-07:00, akpm@digeo.com [PATCH] account for slab reclaim in try_to_free_pages() try_to_free_pages() currently fails to notice that it successfully freed slab pages via shrink_slab(). So it can keep looping and eventually call out_of_memory(), even though there's a lot of memory now free. And even if it doesn't do that, it can free too much memory. The patch changes try_to_free_pages() so that it will notice freed slab pages and will return when enough memory has been freed via shrink_slab(). Many options were considered, but must of them were unacceptably inaccurate, intrusive or sleazy. I ended up putting the accounting into a stack-local structure which is pointed to by current->reclaim_state. One reason for this is that we can cleanly resurrect the current->local_pages pool by putting it into struct reclaim_state. (current->local_pages was removed because the per-cpu page pools in the page allocator largely duplicate its function. But it is still possible for interrupt-time allocations to steal just-freed pages, so we might want to put it back some time.) ChangeSet@1.1063.13.23, 2003-05-07 22:19:20-07:00, akpm@digeo.com [PATCH] remove unnecessary PAE pgd set From: Dave Hansen , Bill Irwin With PAE on, there are only 4 PGD entries. The kernel ones never change, so there is no need to copy them when a vmalloc fault occurs. This was this was causing problems with the split pmd patches, but it is still correct for mainline. Tested with and without PAE. I ran it in a loop turning on and off 10 swap partitions, which is what excited the original bug. http://bugme.osdl.org/show_bug.cgi?id=640 ChangeSet@1.1063.13.22, 2003-05-07 22:19:11-07:00, akpm@digeo.com [PATCH] hold i_sem on swapfiles If a swapfile is ftruncated while in use, subsequent swapout will scribble on the filesystem. This is a case of root-shoot-foot, but wrecking the fs is a fairly rude response. And it's easy to fix: hold i_sem across the life of the swapon. ChangeSet@1.1063.13.21, 2003-05-07 22:19:00-07:00, akpm@digeo.com [PATCH] access_ok() race fix for 80386. From: Manfred Spraul Real 80386 cpus ignore the write protected bit in the page tables when running in supervisory mode. Thus the write protected bit must be checked by software. The current implementation does that check during access_ok(). This can result in data corruptions, if kswapd starts a swap-out between the access_ok and the actual write operation. To fix this, the patch moves the check from access_ok() into __copy_to_user_ll(), and redirects all user space writes into __copy_to_user_ll(). The patch only affects kernels build for 80386 cpus. Additionally, the patch removes the dead prototypes for __put_user_{1,2,4,8}. Due to the uninlining of access_ok, the .text segment is now ~ 8 kB shorter. ChangeSet@1.1063.13.20, 2003-05-07 22:18:48-07:00, akpm@digeo.com [PATCH] dvbdev fixes From: Monchi Abbad I found a mistake in the dvbdev.c file when creating the dvb /devfs files, it created /dev/dvb/adapter0device0 instead of /dev/dvb/adapter0/device0. But here is a simple fix. ChangeSet@1.1063.13.19, 2003-05-07 22:18:31-07:00, akpm@digeo.com [PATCH] switch most remaining drivers over to devfs_mk_bdev From: Christoph Hellwig This is a pretty huge patch, but splitting it doesn't make a lot of sense.. (USB may still need work) ChangeSet@1.1063.13.18, 2003-05-07 22:17:47-07:00, akpm@digeo.com [PATCH] remove partition_name() From: Christoph Hellwig partition_name() is a variant of __bdevname() that caches results and returns a pointrer to kmalloc()ed data instead of printing into a buffer. Due to it's caching it gets utterly confused when the name for a dev_t changes (can happen easily now with device mapper and probably in the future with dynamic dev_t users). It's only used by the raid code and most calls are through a wrapper, bdev_partition_name() which takes a struct block_device * that maybe be NULL. The patch below changes the bdev_partition_name() to call bdevname() if possible and the other calls where we really have nothing more than a dev_t to __bdevname. Btw, it would be nice if someone who knows the md code a bit better than me could remove bdev_partition_name() in favour of direct calls to bdevname() where possible - that would also get rid of the returns pointer to string on stack issue that this patch can't fix yet. ChangeSet@1.1063.13.17, 2003-05-07 22:17:28-07:00, akpm@digeo.com [PATCH] devfs: API changes From: Christoph Hellwig Some people may already have noticed that I've been revamping the devfs API recently. The worst offender still left is devfs_register, it's prototype is: devfs_handle_t devfs_register(devfs_handle_t dir, const char *name, unsigned int flags, unsigned int major, unsigned int minor, umode_t mode, void *ops, void *info) Of these: - dir and flags are always zero - the return value is never used - info is only used in one driver which doesn't even need it for operation - umode_t always describes a character device - name very often comes from a stack buffer we sprintf'ed into so obviously we really want a much simpler API instead. My first draft for this was: int devfs_mk_cdev(dev_t dev, umode_t mode, struct file_operations *fops, void *info, const char *fmt, ...) this removes the unused argumens, switches to a proper dev_t for the device number and allows to directly use a printf-like expression as name, getting rid of the temporary buffers. Now Al has reappeared and put the first steps of his CIDR for charater device on public ftp and we'll soon have a similar lookup object + fops mechanism in generic code as we already habe for blockdevices, i.e. the devfs code to assign fops from an entry will become superflous as generic code already does it. That means the fops and info arguments are obsolete before they were introduced, so I'd like to propose the following API instead: int devfs_mk_cdev(dev_t dev, umode_t mode, const char *fmt, ...) which is much nicer anyway. The educated reader will notice that this is exactly the same prototype devfs_mk_bdev has so I'll probably get suggestions to merge those two into some kind of devfs_mk_node soon. Personally I don't like that as character and blockdevices are two really separate entinities and I'll like to keep them as separate as possible. Example patch that introduces the API and converts drivers/input attached. Every driver which calls devfs_mk_cdev (about 50) needs conversion. Note that the transition can happen in pieces - devfs_register continues to work after this patch, it's just the plan to get rid of it in the end. ChangeSet@1.1063.13.16, 2003-05-07 22:17:05-07:00, akpm@digeo.com [PATCH] Don't use devfs names in disk_name() From: Christoph Hellwig disk_name() (and hence bdevname()) are now returning devfs-style device names when devfs is enabled. This is nice, but these names are very long, and they overflow the 32-char buffers which these functions use. The choices are: a) Use a bigger buffer (increase BDEVNAME_SIZE). This might be practical. But how big? b) return the name in kmalloced memory, make caller free it up. Yuk. c) Add a print_bdevname() thing and intersperse that amongst the printk's. This would work. d) Just print the non-devfs device name. That's what this patch does. ChangeSet@1.1063.13.15, 2003-05-07 22:16:46-07:00, akpm@digeo.com [PATCH] keyboard.c Fix CONFIG_MAGIC_SYSRQ+PrintScreen From: Chris Heath This patch fixes the PrintScreen key when CONFIG_MAGIC_SYSRQ is enabled. It allows you to use that key normally when Alt is not being pressed. Patch is against kernel 2.5.68. ChangeSet@1.1063.13.14, 2003-05-07 22:16:27-07:00, akpm@digeo.com [PATCH] irqreturn_t for drivers/net/pcmcia From: Zwane Mwaikambo update pcmcia drivers for new IRQ API ChangeSet@1.1063.13.13, 2003-05-07 22:16:05-07:00, akpm@digeo.com [PATCH] s/UPDATE_ATIME/update_atime/ cleanup From: Stewart Smith Remove the UPDATE_ATIME() macro, use update_atime() directly. ChangeSet@1.1063.13.12, 2003-05-07 22:15:36-07:00, akpm@digeo.com [PATCH] sysrq-S, sysrq-U cleanups From: Christoph Hellwig Change sysrq sync/remount from a magic bdflush hook to proper pdflush operations. The sync operation reuses most of the regular sys_sync path now instead of implementing it's own superblock walking and (broken) local disk detection, the remount implementation has been moved to super.c, cleaned up and updated for the last two years locking changes. It also shares some code with the regular remount path now. ChangeSet@1.1063.13.11, 2003-05-07 22:15:13-07:00, akpm@digeo.com [PATCH] slab: initialisation cleanup and oops fix From: Manfred Spraul attached is the promised cleanup/bugfix patch for the slab bootstrap: - kmem_cache_init & kmem_cache_sizes_init merged into one function, called after mem_init(). It's impossible to bring slab to an operational state without working gfp, thus the early partial initialization is not necessary. - g_cpucache_up set to FULL at the end of kmem_cache_init instead of the module init call. This is a bugfix: slab was completely initialized, just the update of the state was missing. - some documentation for the bootstrap added. The minimal fix for the bug is a two-liner: move g_cpucache_up=FULL from cpucache_init to kmem_cache_sizes_init, but I want to get rid of kmem_cache_sizes_init, too. ChangeSet@1.1063.13.10, 2003-05-07 22:14:54-07:00, akpm@digeo.com [PATCH] drm timer initialisation fix The timer is being initialised too late (in ->open()). If modprobe fails we get an uninitialised timer warning. ChangeSet@1.1063.13.9, 2003-05-07 22:14:35-07:00, akpm@digeo.com [PATCH] mwave build fix From: Michael Buesch and Paul Schroeder. mwavedd.h needs and smapi.h ChangeSet@1.1063.13.8, 2003-05-07 22:14:18-07:00, akpm@digeo.com [PATCH] misc fixes - ifdef fix in kmap_types.h (Oleg Drokin) - remove redundant ext3 inclusions (Burton Windle) - Fix misidentified warning printk in vmalloc.c - radeon_cp printk warning fix (Randy Dunlap) - Update minimum binutils version for the ".incbin" thing in vsyscall.S - update raw driver to recent module API. - update my email address ChangeSet@1.1063.13.7, 2003-05-07 22:13:58-07:00, akpm@digeo.com [PATCH] fix OSS opl3sa2 compilation From: Zwane Mwaikambo There was a 2.4 merge from Alan Cox, but a few #ifdef's got shuffled around in the process, resulting in a broken build for !CONFIG_PM ChangeSet@1.1063.13.6, 2003-05-07 22:13:42-07:00, akpm@digeo.com [PATCH] cpia driver __exit fix From: Andi Kleen This driver was bogusly relying on the dropping of the __exit section at link time. cpia_exit() is calling proc_cpia_destroy(), which doesn't even exist if !CONFIG_MODULE. ChangeSet@1.1063.13.5, 2003-05-07 22:13:32-07:00, akpm@digeo.com [PATCH] Fix .altinstructions linking failures From: Andi Kleen Some configs didn't link anymore because they got references from .altinstructions to __exit functions. Fixing it at the linker level is not easily possible. This patch just discards .text.exit at runtime instead of link time to avoid this. It will also fix a related problem with .eh_frame in modern gcc (so far only observed on x86-64, but could happen on i386 too) ChangeSet@1.1063.13.4, 2003-05-07 22:13:20-07:00, akpm@digeo.com [PATCH] generic subarchitecture for ia32 From: Andi Kleen This patch adds an generic x86 subarchitecture. It is intended to provide an dynamic interface for APIC drivers. There are already three subarchitectures (bigsmp, summit, default) that only differ in how they drive the local APIC. A fourth - Unisys ES7000 - is scheduled to be merged soon. The subarchitecture concept separated this nicely, but it has the big drawback that they are compile time options. A Linux vendor cannot ship own binary kernel rpms for all of these machines. Runtime probing is needed instead. This patch adds a new "generic" subarchitecture that just acts as a dynamic switching layer for APIC drivers. It only tries to virtualize the APICs, no attempt is made to cover further incompatiblities. This means machines like the Visual Workstation, pc9800 or Voyager are not covered; but these are unlikely to be supported by binary distributions anyways. The generic arch reuses the existing interface in mach_ipi / mach_mpparse.h / mach_apic.h and just pulls it using some macros into an "struct genapic" object. The main APIC code does not recognize it, it is all hidden in the mach-generic include files. Auto detection of APIC types is supported in the usual way used by existing ports like Summit - checking ACPI or mptables for specific signatures - or it can be specified by the user using a new "apic=" boot option. I also moved the DMI scan to before the generic subarchitecture probe, so DMI could be used in future too to probe specific machines. Some minor hacks were needed to avoid circular declaration of a few symbols, but overall it's fairly clean. The patch has been tested on a Summit machine, an generic 4 virtual CPUs Xeon and on an ES7000. ChangeSet@1.1063.13.3, 2003-05-07 22:12:58-07:00, torvalds@home.transmeta.com Support a "checking" mode for kernel builds, that runs a user-supplied source checker on all C files before compiling them. I'll release the actual checker once I've cleaned it up a bit more (yay, all the copyright paperwork completed!) ChangeSet@1.1063.13.2, 2003-05-07 22:10:56-07:00, torvalds@home.transmeta.com Allow external checkers to overrid the "cond_syscall()" macro. ChangeSet@1.1063.13.1, 2003-05-07 21:53:28-07:00, torvalds@home.transmeta.com Use "__attribute__" consistently. ChangeSet@1.1063.11.4, 2003-05-07 21:06:37-07:00, maxk@qualcomm.com Merge bk://linux-bt.bkbits.net/marcel-2.5 into qualcomm.com:/home/kernel/bt-2.5 ChangeSet@1.1078, 2003-05-07 22:19:35-04:00, markh@osdl.org [PATCH] New aacraid driver fixed. I have the new aacraid driver working on my system now. The patch is against the 2.5.66 updates that you gave me. I made the following changes: aachba.c aac_scsi_cmd() There was a race accessing the scsicmd pointer accessing the host_lock. I made a local pointer to the Scsi_Host so the spin_lock_irq after aac_read wouldn't panic. I think that sometimes the I/O would be done and the memory freed before returning invalidating the scsicmd pointer. I made the same change in aac_io_done in case scsi_done had freed the scsicmd memory before returning. comminit.c aac_alloc_comm() AdapterFibsVirtualAddress was set to the virtual address of base. I changed it to set it to the phys address. I compared this to code pointed to by matt domsch on the aacraid devel list on the 5th. Its aac_alloc_comm sets this variable to the phys address. This fixed the probelem where the entry->addr was bad. Another was to fix it I guess would be to leave this change alone and not try to convert the address in aac_command_normal. dpcsup.c aac_response_normal() Changed the bus_to_virt to the calculation we talked about last month. dpcsup.c aac_command_normal() Changed the bus_to_virt to the calculation. ChangeSet@1.1077, 2003-05-07 22:18:50-04:00, jejb@mulgrave.(none) Update aacraid from 2.4->2.5 semantics - stanford checker fixes (randy.dunlap) - updated io_request_lock to correct 2.5 lock - spelling fixes - torvalds daemonize changes - updated templates etc - update scsicmd-> to scsicmd->device-> for new command alloc code - update biosparam and add slave_configure - gendisk name changes - fix compile warnings ChangeSet@1.1076, 2003-05-07 22:08:47-04:00, jejb@mulgrave.(none) Update aacraid to last drop on 2.4 from Alan Cox ChangeSet@1.1063.11.3, 2003-05-07 18:05:50-07:00, torvalds@home.transmeta.com Avoid using undefined preprocessor symbols: check CONFIG_MK7 with "defined()" rather than using it as a value. ChangeSet@1.1063.11.2, 2003-05-07 18:04:47-07:00, torvalds@home.transmeta.com Make lib/inflate.c look remotely like ANSI C, so that it can be properly checked with the rest of the kernel. ChangeSet@1.1063.12.28, 2003-05-07 15:52:51-07:00, greg@kroah.com TTY: remove usb-serial sysfs dev file as it is now redundant. ChangeSet@1.1063.12.27, 2003-05-07 15:51:59-07:00, greg@kroah.com TTY: changes based on tty_register_device() paramater change. ChangeSet@1.1063.12.26, 2003-05-07 15:51:02-07:00, greg@kroah.com TTY: add tty class support for all tty devices. ChangeSet@1.1063.2.42, 2003-05-07 15:26:50-07:00, davem@nuts.ninka.net [PKT_SCHED]: Kill iovcnt reference from sch_atm.c ChangeSet@1.1063.12.25, 2003-05-07 15:02:12-07:00, hannal@us.ibm.com [PATCH] vme_scc tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT ChangeSet@1.1063.12.24, 2003-05-07 15:02:02-07:00, hannal@us.ibm.com [PATCH] isdn/capi tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT ChangeSet@1.1063.12.23, 2003-05-07 15:01:52-07:00, hannal@us.ibm.com [PATCH] macintosh/macserial tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT ChangeSet@1.1063.12.22, 2003-05-07 15:01:42-07:00, hannal@us.ibm.com [PATCH] amiserial tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT ChangeSet@1.1063.12.21, 2003-05-07 15:01:32-07:00, hannal@us.ibm.com [PATCH] cyclades tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT ChangeSet@1.1063.12.20, 2003-05-07 15:01:22-07:00, hannal@us.ibm.com [PATCH] dz tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT ChangeSet@1.1063.12.19, 2003-05-07 15:01:12-07:00, hannal@us.ibm.com [PATCH] hvc_console tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT ChangeSet@1.1063.12.18, 2003-05-07 15:01:02-07:00, hannal@us.ibm.com [PATCH] esp tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT ChangeSet@1.1063.12.17, 2003-05-07 15:00:52-07:00, hannal@us.ibm.com [PATCH] isicom tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT ChangeSet@1.1063.12.16, 2003-05-07 15:00:42-07:00, hannal@us.ibm.com [PATCH] ip2main tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT ChangeSet@1.1063.12.15, 2003-05-07 15:00:32-07:00, hannal@us.ibm.com [PATCH] moxa tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT ChangeSet@1.1063.12.14, 2003-05-07 15:00:22-07:00, hannal@us.ibm.com [PATCH] istallion tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT ChangeSet@1.1063.12.13, 2003-05-07 15:00:12-07:00, hannal@us.ibm.com [PATCH] mxser tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT ChangeSet@1.1063.12.12, 2003-05-07 15:00:03-07:00, hannal@us.ibm.com [PATCH] pcxx tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT ChangeSet@1.1063.12.11, 2003-05-07 14:59:52-07:00, hannal@us.ibm.com [PATCH] riscom8 tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT ChangeSet@1.1063.12.10, 2003-05-07 14:59:42-07:00, hannal@us.ibm.com [PATCH] rio tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT ChangeSet@1.1063.12.9, 2003-05-07 14:59:32-07:00, hannal@us.ibm.com [PATCH] sgi/char/sgiserial tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT ChangeSet@1.1063.12.8, 2003-05-07 14:59:22-07:00, hannal@us.ibm.com [PATCH] rocket tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT ChangeSet@1.1063.12.7, 2003-05-07 14:59:12-07:00, hannal@us.ibm.com [PATCH] serial167 tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT ChangeSet@1.1063.12.6, 2003-05-07 14:59:02-07:00, hannal@us.ibm.com [PATCH] ser_a2232 tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT ChangeSet@1.1063.12.5, 2003-05-07 14:58:52-07:00, hannal@us.ibm.com [PATCH] sh-sci tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT ChangeSet@1.1063.12.4, 2003-05-07 14:58:42-07:00, hannal@us.ibm.com [PATCH] serial_tx3912 tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT ChangeSet@1.1063.12.3, 2003-05-07 14:58:32-07:00, hannal@us.ibm.com [PATCH] stallion tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT ChangeSet@1.1063.12.2, 2003-05-07 14:58:22-07:00, hannal@us.ibm.com [PATCH] specialix tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT ChangeSet@1.1063.12.1, 2003-05-07 14:58:12-07:00, hannal@us.ibm.com [PATCH] tc_zs tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT ChangeSet@1.1075, 2003-05-07 17:02:24-04:00, hch@lst.de [PATCH] first batch of shost sysfs fixes (a) scsi_check_device_busy() is unused now, kill it. Btw, although I love to see this this really means we need to imply a scsi_set_device_offline (or even better scsi_set_host_offline) in scsi_remove_host now.. (b) make shost_class static to scsi_sysfs.c, with the new device model changes no LLDD needs this anymore (c) move private prototypes where they belong. BTW, Mike, did I miss something or will your changes make every driver converted to scsi_add_host & co OOPS on removal now? ChangeSet@1.1074, 2003-05-07 17:02:04-04:00, hch@lst.de [PATCH] remove scsi_slave_attach/scsi_slave_detach I added those two to factor out common code from the upper drivers a long time ago, but after Doug & Lubens nice work there's nothing left but incrementing/decrementing a counter in struct scsi_device that's never used except in the case were we not it must be NULL because we just walked the chain of drivers to detach every single one.. ChangeSet@1.1073, 2003-05-07 16:52:33-04:00, David_Jeffery@adaptec.com [PATCH] ips 2.5 driver update [4/4]: use dev_printk Use the new dev_printk. Thanks go to Mike Christie who originally created this patch. ips.c | 135 +++++++++++++++++++++++++++--------------------------------------- ips.h | 5 ++ 2 files changed, 62 insertions(+), 78 deletions(-) ChangeSet@1.1072, 2003-05-07 16:52:17-04:00, David_Jeffery@adaptec.com [PATCH] ips 2.5 driver update [3/4]: misc cleanups This patch checks the return code of pci_set_dma_mask for a 32bit mask, adds a break to quiet some compilers, and adds some 2.4 compat. code. ips.c | 8 ++++++-- ips.h | 4 +++- 2 files changed, 9 insertions(+), 3 deletions(-) ChangeSet@1.1071, 2003-05-07 16:52:02-04:00, David_Jeffery@adaptec.com [PATCH] ips 2.5 driver update [2/4] missing kfree and static init s This patch adds a missing kfree on an error path and removes some cases where static variables were being explicitly initiated to 0. ips.c | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) ChangeSet@1.1070, 2003-05-07 16:48:41-04:00, David_Jeffery@adaptec.com [PATCH] ips 2.5 driver update [1/4] irq return update This is the proper way to report if the interrupt was from a serveraid or not. David Jeffery ips.c | 29 ++++++++++++++++------------- ips.h | 6 +++++- 2 files changed, 21 insertions(+), 14 deletions(-) ChangeSet@1.1063.2.40, 2003-05-07 13:42:58-07:00, kuznet@ms2.inr.ac.ru [ACENIC]: Comment out netif_wake_queue from acenic watchdog. ChangeSet@1.1063.2.39, 2003-05-07 13:37:02-07:00, shemminger@osdl.org [NET]: Kill more direct references to netdev->refcnt. ChangeSet@1.1063.2.38, 2003-05-07 13:33:45-07:00, davem@nuts.ninka.net [IPV4]: Two minor errors in jiffies changes. ChangeSet@1.1063.2.37, 2003-05-07 12:50:22-07:00, davem@nuts.ninka.net [IPV4]: Use time_{before,after}() and proper jiffies types in route.c ChangeSet@1.1063.2.36, 2003-05-07 12:48:41-07:00, chas@cmf.nrl.navy.mil [ATM] remove iovcnt from atm_skb skbs has (and has had for a while) scatter/gather support making the scatter gather in atm redundant. the current iovcnt schme really isnt being used anyway typically. the atm layer will need a little more work in the future to take advantage of the skb scatter/gather support. this patch removes the iovcnt dependencies and gets the check for non linear skbs right. ChangeSet@1.1063.2.35, 2003-05-07 12:35:17-07:00, chas@cmf.nrl.navy.mil [ATM]: assorted atm patches ChangeSet@1.1063.1.16, 2003-05-07 11:50:47-07:00, greg@kroah.com [PATCH] USB: update my copyrights in a few locations. ChangeSet@1.1063.9.1, 2003-05-07 10:26:33-07:00, torvalds@penguin.transmeta.com Whee. Fix ancient mailing address. ChangeSet@1.1063.8.1, 2003-05-07 12:59:47-03:00, acme@conectiva.com.br o ipx: ipx_interfaces outlives struct sock/socket And thus have to do module refcounting... ChangeSet@1.1063.4.20, 2003-05-07 13:07:37+02:00, trond.myklebust@fys.uio.no UDP and TCP zero copy code for the NFS client. The main interest of this patch is to eliminate the use of xdr_kmap() and xdr_unmap() by replacing them with MSG_MORE. xdr_kmap() is deadlock-prone due to the fact that it has to kmap() several pages at the same time. ChangeSet@1.1063.4.19, 2003-05-07 13:03:15+02:00, trond.myklebust@fys.uio.no Ensure that Lockd and the NSM (statd) clients always use privileged ports. Remove the existing code to temporarily raise privileges in fs/lockd/host.c, and use the new code in net/sunrpc/xprt.c There should no longer be a need to temporarily change the fsuid. Remove this feature. ChangeSet@1.1063.4.18, 2003-05-07 12:59:46+02:00, cel@citi.umich.edu the recently-applied patch to fix the rpc_show_tasks() Oops is incomplete. this applies over 2.5.68 and should address all of the issues in rpc_show_tasks(). ChangeSet@1.1063.4.17, 2003-05-07 12:54:44+02:00, trond.myklebust@fys.uio.no Add the sk->callback_lock spinlocks to the RPC socket callbacks in order to protect the socket from being released by one CPU while the other is in a soft interrupt. ChangeSet@1.1063.4.16, 2003-05-07 12:51:44+02:00, trond.myklebust@fys.uio.no Ensure that if we need to reconnect the socket, we also resend the entire RPC message Assorted TCP reconnection fixes. Temporarily raise the necessary CAP_NET_BIND_SERVICE capability if we need to bind the socket to a reserved port during a TCP reconnection. Check for CAP_NET_BIND_SERVICE at mount time. ChangeSet@1.1063.4.15, 2003-05-07 12:43:53+02:00, trond.myklebust@fys.uio.no Don't use an RPC child process when reconnecting to a TCP server. This is more efficient, and also fixes an existing deadlock situation in which the child could be waiting for an xprt_write_lock that was being held by the parent. ChangeSet@1.1063.4.14, 2003-05-07 12:38:21+02:00, trond.myklebust@fys.uio.no Fix a TCP race: check whether or not the socket has been disconnected before we allow an RPC request to wait on a reply. ChangeSet@1.1063.4.13, 2003-05-07 12:34:46+02:00, trond.myklebust@fys.uio.no Fix typos in close-to-open cache consistency checking. ChangeSet@1.1063.4.12, 2003-05-07 12:31:23+02:00, trond.myklebust@fys.uio.no Decrement the nr_unstable page state after the COMMIT RPC call completes instead of before. This ensures that writeback WB_SYNC_ALL does wait on completion. Don't overreport the number of pages we wrote out. It is safer to underreport. Fix missing NFSv3 unstable write accounting in fs/fs-writeback.c and mm/page-writeback.c ChangeSet@1.1063.2.33, 2003-05-07 03:27:59-07:00, davem@nuts.ninka.net [ATM]: Fix build of HE driver. ChangeSet@1.1063.2.32, 2003-05-07 02:26:49-07:00, olof@austin.ibm.com [TCP]: tcp_twkill leaves death row list in inconsistent state over tcp_timewait_kill. ChangeSet@1.1063.2.31, 2003-05-07 02:10:48-07:00, rddunlap@osdl.org [IPV6]: Use time_after() etc. for comparing jiffies. ChangeSet@1.1063.2.30, 2003-05-07 02:08:52-07:00, rddunlap@osdl.org [IPV6]: Fix typos in ip6_fib.c ChangeSet@1.1063.2.29, 2003-05-07 02:06:57-07:00, chas@cmf.nrl.navy.mil [ATM]: Clip locking and more atmvcc cleanup. ChangeSet@1.1063.2.28, 2003-05-07 02:01:17-07:00, chas@cmf.nrl.navy.mil [ATM]: Forward port br2864 to 2.5.x ChangeSet@1.1063.2.27, 2003-05-07 01:47:45-07:00, chas@cmf.nrl.navy.mil [ATM]: Add Forerunner HE support. ChangeSet@1.1063.2.26, 2003-05-07 01:41:40-07:00, akpm@digeo.com [NET]: Remove duplicated alloc_skb debug check. ChangeSet@1.1063.2.25, 2003-05-07 01:38:22-07:00, shemminger@osdl.org [IPV4]: Replace explicit dev->refcount bumps with dev_hold. ChangeSet@1.1063.2.24, 2003-05-07 01:35:36-07:00, bdschuym@pandora.be [BRIDGE]: Change pkt_type to PACKET_HOST earlier. ChangeSet@1.1063.2.23, 2003-05-07 01:32:41-07:00, rddunlap@osdl.org [IPV6]: Convert /proc/net/rt6_stats to seq_file. ChangeSet@1.1063.2.22, 2003-05-07 01:27:59-07:00, rddunlap@osdl.org [NET]: Spelling/typo fixes in rtnetlink.h ChangeSet@1.1063.1.14, 2003-05-07 00:35:47-07:00, greg@kroah.com USB: converted hiddev over to new usb_register_dev() changes. ChangeSet@1.1063.1.13, 2003-05-07 00:23:54-07:00, greg@kroah.com [PATCH] USB: remove #include from some drivers that do not need it. ChangeSet@1.1063.1.12, 2003-05-07 00:23:31-07:00, greg@kroah.com [PATCH] USB: converted usb-skeleton over to new usb_register_dev() changes. ChangeSet@1.1063.1.11, 2003-05-07 00:23:06-07:00, greg@kroah.com [PATCH] USB: converted usblcd over to new usb_register_dev() changes. ChangeSet@1.1063.1.10, 2003-05-07 00:22:41-07:00, greg@kroah.com [PATCH] USB: converted rio500 over to new usb_register_dev() changes. ChangeSet@1.1063.1.9, 2003-05-07 00:22:17-07:00, greg@kroah.com [PATCH] USB: converted brlvger over to new usb_register_dev() changes. ChangeSet@1.1063.1.8, 2003-05-07 00:21:53-07:00, greg@kroah.com [PATCH] USB: converted auerswald over to new usb_register_dev() changes. ChangeSet@1.1063.1.7, 2003-05-07 00:21:28-07:00, greg@kroah.com [PATCH] USB: converted dabusb over to new usb_register_dev() changes. ChangeSet@1.1063.1.6, 2003-05-07 00:21:05-07:00, greg@kroah.com [PATCH] USB: converted scanner over to new usb_register_dev() changes. ChangeSet@1.1063.1.5, 2003-05-07 00:20:40-07:00, greg@kroah.com [PATCH] USB: converted mdc800 over to new usb_register_dev() changes. ChangeSet@1.1063.1.4, 2003-05-07 00:20:16-07:00, greg@kroah.com [PATCH] USB: converted usblp over to new usb_register_dev() changes. ChangeSet@1.1063.1.3, 2003-05-07 00:19:52-07:00, greg@kroah.com [PATCH] USB: add usb class support for usb drivers that use the USB major This also consolodates the devfs calls for the USB drivers. ChangeSet@1.1063.2.21, 2003-05-06 23:56:20-07:00, davem@nuts.ninka.net [IPV4/IPV6]: Set owner field in family ops. ChangeSet@1.1063.7.3, 2003-05-06 18:54:38-07:00, arun.sharma@intel.com [PATCH] ia64: fix sys32_select() ChangeSet@1.1063.4.11, 2003-05-06 18:15:59-07:00, paulkf@microgate.com [PATCH] n_hdlc update - Use C99 initializers ChangeSet@1.1063.4.10, 2003-05-06 18:15:51-07:00, paulkf@microgate.com [PATCH] synclink update - Add support for hardware version 2 (universal PCI) of synclink adapter - Use mod_timer() function ChangeSet@1.1063.6.2, 2003-05-06 21:50:40-03:00, sri@us.ibm.com o net/socket: fix bug in sys_accept module_put() gets called twice on error. Once via the explicit module_put and the second via sock_release(). Also i think we should do a __module_get() with newsock's owner(although same as the original listening sock). ChangeSet@1.1063.4.8, 2003-05-06 17:20:04-07:00, warp@mercury.d2dc.net [PATCH] i2c: it87 patch. More or less straight forward patch. Fix a typo in the comments at the top. Show all 9 voltage inputs. Show all 3 fan inputs. Allow you to select the temp sensor type from the sysfs interface, instead of just with the temp_type module option. (1 = diode, 2 = thermistor, 0 = disabled). I'm still trying to figure out the registers for PWM fan controller support. ChangeSet@1.1063.4.7, 2003-05-06 17:18:27-07:00, greg@kroah.com [PATCH] i2c: fix compile error due to previous patches. ChangeSet@1.1063.4.6, 2003-05-06 17:16:36-07:00, kraxel@bytesex.org [PATCH] i2c #3/3: add class field to i2c_adapter This is the last of three patches for i2c. It introduces a new field to i2c_adapter which classifies the kind of hardware a i2c adapter belongs to (analog tv card / dvb card / smbus / gfx card ...). i2c chip drivers can use this infomation to decide whenever they want to look for hardware on that adapter or not. It doesn't make sense to probe for a tv tuner on a smbus for example ... ChangeSet@1.1063.4.5, 2003-05-06 17:16:26-07:00, kraxel@bytesex.org [PATCH] i2c #2/3: add i2c_clients_command Changes: * adds a i2c_clients_command() function to i2c-core which calls the ->command() callback of all clients attached to a adapter. * make bttv + saa7134 drivers use that function instead of mucking with the i2c_adapter struct themself. ChangeSet@1.1063.4.4, 2003-05-06 17:16:15-07:00, kraxel@bytesex.org [PATCH] i2c #1/3: listify i2c core This is the first of tree patches for i2c. Trying to get the i2c cleanups finshed before 2.6.x, so we (hopefully) don't have a ever-changing i2c subsystem in 2.7.x again (which is very annonying for driver maintainance). Changes: * listify i2c-core, i.e. make it use instead of statically-sized arrays, removed lots of ugly code :) * added i2c_(get|put)_adapter, changed i2c-dev.c to use these functions instead maintaining is own adapter list. * killed the I2C_DF_DUMMY flag which had the strange semantics to make the i2c subsystem call driver->attach_adapter on detaches. Added a detach_adapter() callback instead. * some other minor cleanups along the way ... ChangeSet@1.1042.117.1, 2003-05-06 16:52:20-07:00, sri@us.ibm.com Manual merge. ChangeSet@1.1063.7.2, 2003-05-06 16:38:13-07:00, davidm@tiger.hpl.hp.com mca.c: (show_min_state): Fix typo r11 -> r12. ChangeSet@1.1063.5.7, 2003-05-06 15:51:03-07:00, greg@kroah.com PCI Hotplug: export the acpi_resource_to_address64 function, as the acpi pci hotplug driver needs it. ChangeSet@1.1063.5.6, 2003-05-06 15:43:13-07:00, greg@kroah.com [PATCH] PCI Hotplug: fix dependancies for CONFIG_HOTPLUG_PCI_ACPI Thanks to Adrian Bunk for pointing this out. ChangeSet@1.1063.5.5, 2003-05-06 15:35:45-07:00, greg@kroah.com [PATCH] PCI Hotplug: fix up the acpi driver to work properly again. ChangeSet@1.1063.5.4, 2003-05-06 15:35:34-07:00, greg@kroah.com [PATCH] PCI Hotplug: fix compiler warning in ibm driver. ChangeSet@1.1063.5.3, 2003-05-06 15:35:23-07:00, greg@kroah.com [PATCH] PCI Hotplug: fix up the ibm driver to work properly again. ChangeSet@1.1063.5.2, 2003-05-06 15:34:00-07:00, greg@kroah.com [PATCH] PCI Hotplug: fix up the compaq driver to work properly again. ChangeSet@1.1063.7.1, 2003-05-06 13:42:23-07:00, davidm@tiger.hpl.hp.com Merge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5 into tiger.hpl.hp.com:/data1/bk/lia64/to-linus-2.5 ChangeSet@1.1063.6.1, 2003-05-06 13:35:35-07:00, roland@frob.com [PATCH] core dump psinfo.pr_sname letter fix This patch makes the state letter in the pr_sname field in core dumps correct for stopped and zombie threads. The order needed to be changed when the TASK_* values changed. This matches the letters used in sched.c:show_task. ChangeSet@1.1067.1.3, 2003-05-06 15:16:54-05:00, jejb@raven.il.steeleye.com add missing asm/io.h to scsi/dc395x.c ChangeSet@1.1067.1.2, 2003-05-06 14:56:24-05:00, jejb@raven.il.steeleye.com fix missed conversion of to_scsi_host -> dev_to_shost in sim710 ChangeSet@1.1067.1.1, 2003-05-06 14:54:54-05:00, jejb@raven.il.steeleye.com fix syntax error in ncr53c8xx from hch conversion ChangeSet@1.971.102.36, 2003-05-06 12:30:05-07:00, davidm@tiger.hpl.hp.com ia64: Manual merge of Bjorn Helgaas' sba_iommu patch to make it use seq_file. ChangeSet@1.971.102.35, 2003-05-06 12:21:15-07:00, petrides@redhat.com [PATCH] ia64: fixes for semtimedop() ia32-compat handling Here are two fixes for the ia32-compatibility mode handling for the new semtimedop() system call for the ia64 architecture. The first problem was that treatment of user-mode calls to semtimedop() with a NULL 4th (struct timespec *) parameter was inconsistent with the behavior of the same executable on i386 and also with a natively compiled ia64 binary. A NULL 4th arg to semtimedop() should result in no timeout being used (like a straight semop() call) rather than in an EFAULT error. The second problem was that a legitimate semtimedop() with a timeout was also resulting in an EFAULT because the fetch of the internal timespec strucure by sys_semtimedop() from semtimedop32()'s kernel stack was treated as an invalid user-data reference. This requires temporarily switching the addressing limit with set_fs(), further requiring that appropriate parameter checking by performed prior to the switch. The const qualifier was removed from the (struct compat_timespec *) arg to semtimedop32() so that the call to get_compat_timespec() wouldn't generate a compilation warning. ChangeSet@1.971.102.34, 2003-05-06 12:18:02-07:00, bjorn_helgaas@hp.com [PATCH] ia64: vendor-specific ACPI resource cleanup This is to - handle _CRS with multiple vendor-specific resources - use acpi_walk_resources() instead of doing it by hand - make lookup of vendor resource by GUID generic - cleanup now-unused helper functions (This depends on the previous IO port space patches, because they removed the last of acpi_get_addr_space()). My hope is that acpi_vendor_resource_match() and acpi_find_vendor_resource() can someday move into ACPI, but that probably depends on getting the idea of labelling vendor resources with a GUID into the spec. HP does this and I think is working on putting it in the spec. ChangeSet@1.971.102.33, 2003-05-06 12:15:44-07:00, bjorn_helgaas@hp.com [PATCH] ia64: new IOC recognition This is a trivial patch that makes sba_iommu recognize a new IOC. Only change is that it will print IOC: sx1000 0.1 HPA 0xf8120002000 IOVA space 1024Mb at 0x80000000 instead of IOC: Unknown (103c:127c) 0.1 HPA 0xf8120002000 IOVA space 1024Mb at 0x80000000 ChangeSet@1.971.102.32, 2003-05-06 12:14:18-07:00, bjorn_helgaas@hp.com [PATCH] ia64: multi-ioport space support (part 3 of 4) trivial (whitespace, copyright, and move pcibios_fixup_device_resources closer to related code) ChangeSet@1.971.102.31, 2003-05-06 12:12:59-07:00, bjorn_helgaas@hp.com [PATCH] ia64: multi-ioport space support (part 3 of 4) add support for /proc/iomem and /proc/ioports ChangeSet@1.971.102.30, 2003-05-06 12:11:33-07:00, bjorn_helgaas@hp.com [PATCH] ia64: multi-ioport space support (part 2 of 4) enhance pcibios_scan_root to get multiple mem & io windows from ACPI _CRS, and fixup all the resources ChangeSet@1.971.102.29, 2003-05-06 12:08:06-07:00, bjorn_helgaas@hp.com [PATCH] ia64: multi-ioport space support This has been in my 2.4 BK tree for a while, but I should have posted it in case there's feedback from other people working on large machines. So here it is, in four parts: 1 enhance __ia64_mk_io_addr(port) 2 enhance pcibios_scan_root to get multiple mem & io windows from ACPI _CRS, and fixup all the resources 3 add support for /proc/iomem and /proc/ioports 4 trivial (whitespace, copyright, and move pcibios_fixup_device_resources closer to related code) The current scheme is that IO ports are 64 bits, with the low 24 bits being the port number within an IO port space, and the upper bits identifying the space. There is currently a limit of 16 spaces. ChangeSet@1.971.102.28, 2003-05-06 12:04:18-07:00, alex_williamson@hp.com [PATCH] ia64: interrupt fixes/cleanup Here's some cleanups/fixes/changes for interrupts on 2.5.67 + ia64. Specifically: - Cleanup some ugliness with polarity/trigger setup. - Add iosapic_enable_intr() to set_rte on an interupt when the device is enabled. IMHO, we really only want to unmask RTEs for PRTs we might actually use. This moves the interrupt distribution here too. - When changing a vector from edge to level, call register_intr() to do it so all the data structures get set correctly. If we have to guess how to setup an interupt and get it wrong, this should close some holes in changing it back to the correct type. - Register the HCDP interrupt in 8250_hcdp - this is where we have to guess the polarity/trigger. The real handler will get fixed up via PCI setup or ACPI namespace serial support, this gets it associated w/ the port at setup. This should allow interrupts to work when using builtin UARTs as console on HP Itanium2 boxes. ChangeSet@1.1063.4.2, 2003-05-06 11:58:43-07:00, greg@kroah.com Merge gregkh@kernel.bkbits.net:/home/gregkh/linux/i2c-2.5 into kroah.com:/home/greg/linux/BK/i2c-2.5 ChangeSet@1.971.102.27, 2003-05-06 11:58:10-07:00, alex_williamson@hp.com [PATCH] ia64: fix timer interrupts getting lost This patch fixes the issue of some CPUs not showing timer interrupts going off. Seems during the process of sync'ing the itc, we jumped over the next timer value. This patch is against 2.5.67 + ia64. I haven't seen the problem on 2.4, but a quick looks seems like it's potentially an issue there too. ChangeSet@1.971.102.26, 2003-05-06 11:55:18-07:00, davidm@tiger.hpl.hp.com ia64: Manual merge of Steve's spelling fixes. ChangeSet@1.971.102.25, 2003-05-06 11:53:21-07:00, elenstev@mesatop.com [PATCH] ia64: spelling fixes ChangeSet@1.971.102.24, 2003-05-06 11:46:50-07:00, eranian@hpl.hp.com [PATCH] ia64: perfmon update Please apply the following patch on top of 2.5.6x. This patch does the following: - repair broken system-wide overflow notification - repair broken per-process notification - fix a problem in the resrved bitmask for opcode matcher8,9 for McKinley as reported by UIUC. - forcing of bit2 for pmc8/pmc9 now part of reserved bitmask - add the unsecure option to perfmon - update to perfmon 1.4 (similar to 2.4) ChangeSet@1.971.102.23, 2003-05-06 11:42:13-07:00, arun.sharma@intel.com [PATCH] ia64: fix ia32 emulation of rlimit et al ChangeSet@1.1068, 2003-05-06 13:28:12-05:00, jejb@raven.il.steeleye.com Fix aic merge error ChangeSet@1.1042.114.17, 2003-05-06 19:24:37+01:00, davej@codemonkey.org.uk [AGPGART] Remove unneeded exports. These functions should only be called indirectly from agp_generic_enable() ChangeSet@1.1042.114.16, 2003-05-06 19:20:21+01:00, davej@codemonkey.org.uk [AGPGART] Only enable isochronous transfers on AGP3.5 chipsets. The standard says that 3.0 chipsets don't support these extensions. Move the isoch stuff out into isoch.c leaving behind a shell for basic AGP3.0 enabling (to be written). ChangeSet@1.1063.2.18, 2003-05-06 11:11:12-07:00, davem@nuts.ninka.net [IPV6]: Remove illogical bug check in fib6_del. ChangeSet@1.1067, 2003-05-06 12:59:11-05:00, jejb@raven.il.steeleye.com Add .release template method to scsi_debug.c Lost in the hch/andmike merge ChangeSet@1.971.102.22, 2003-05-06 10:57:08-07:00, davidm@tiger.hpl.hp.com ia64: Improve spinlock code to handle contention in shared routine called with a special convention. Various minor fixes for gcc-pre3.4. ChangeSet@1.1066, 2003-05-06 12:53:17-05:00, jejb@raven.il.steeleye.com Merge hch/andmike changes ChangeSet@1.1063.2.16, 2003-05-06 07:46:54-07:00, chas@cmf.nrl.navy.mil [ATM]: Fix foul up in lec driver. ChangeSet@1.1063.3.1, 2003-05-06 07:34:39-07:00, davem@nuts.ninka.net [SPARC64]: Only use power interrupt when button property exists. ChangeSet@1.1063.2.15, 2003-05-06 06:57:16-07:00, yoshfuji@linux-ipv6.org [IPV^]: Use correct icmp6 type in ip6_pkt_discard. ChangeSet@1.1063.2.14, 2003-05-06 06:54:39-07:00, yoshfuji@linux-ipv6.org [IPV6]: Fix offset in ICMPV6_HDR_FIELD messages. ChangeSet@1.1063.2.13, 2003-05-06 06:43:00-07:00, davem@nuts.ninka.net [BLUETOOTH]: Fix hci_usb build. ChangeSet@1.1063.2.12, 2003-05-06 06:15:55-07:00, davem@nuts.ninka.net [IPV6]: Kill spurious module_{get,put}(). ChangeSet@1.1063.2.11, 2003-05-06 02:06:22-07:00, davem@nuts.ninka.net [NETFILTER]: ip_nat_proto_{icmp,udp}.c need ip_nat_core.h ChangeSet@1.1063.2.10, 2003-05-06 01:04:26-07:00, rusty@rustcorp.com.au [NETFILTER]: Make NAT code handle non-linear skbs. Makes the NAT code and all NAT helpers handle non-linear skbs. Main trick is to introduce skb_ip_make_writable which handles all the decloning, linearizing, etc. ChangeSet@1.1063.2.9, 2003-05-06 01:02:29-07:00, rusty@rustcorp.com.au [NETFILTER]: Fix Module Usage in ipchains and ipfwadm. Gets rid of some warnings. Manipulating our own module count inside the sockopt is safe, because unregistering that sockopt will block. ChangeSet@1.1063.2.8, 2003-05-06 00:59:10-07:00, steve@gw.chygwyn.com [DECNET]: seq file conversions and fixes. o Removed blksize from decnet device parameters - use the device mtu like we ought to. o Removed /proc/net/decnet_route file - I don't think anybody ever used it and it was lacking a full enough description of the routes to be useful. ip -D route list is much better :-) o Added rt_local_src entry to decnet routes so that we get the local source address right when forwarding. o Added correct proto argument to struct flowi for routing o MSG_MORE in sendmsg (ignored, but accepted whereas before we'd error) o /proc/net/decnet converted to seq_file o /proc/net/decnet_dev converted to seq_file o /proc/net/decnet_cache converted to seq_file o Use pskb_may_pull() and add code to linearize skbs on the input path except for those containing data. o Fixed returned packet code (mostly - some left to do) o update_pmtu() method for decnet dst entries (ip_gre device assumes this method exists - well I think it does :-) o Fixed bug in forwarding to get IE bit set correctly o Fixed compile bugs with CONFIG_DECNET_ROUTE_FWMARK pointed out by Adrian Bunk o Fixed zero dest code to grab an address from loopback o Fixed local routes in dn_route_output_slow() o Fixed error case in dn_route_input/output_slow() pointed out by Rusty ChangeSet@1.1063.2.7, 2003-05-06 00:52:42-07:00, steve@gw.chygwyn.com [FS]: Add seq_release_private and proc_net_fops_create helpers. ChangeSet@1.1063.2.6, 2003-05-06 00:49:29-07:00, chas@locutus.cmf.nrl.navy.mil [ATM]: svcs possible race with sigd. ChangeSet@1.1063.2.5, 2003-05-06 00:45:16-07:00, chas@locutus.cmf.nrl.navy.mil [ATM]: Fix excessive stack usage in iphase driver. ChangeSet@1.1063.2.4, 2003-05-06 00:43:18-07:00, davem@nuts.ninka.net [ATM]: Fix some CPP pasting in ambassador driver. ChangeSet@1.1063.2.2, 2003-05-06 00:14:29-07:00, davem@nuts.ninka.net [IPSEC]: Fix SADB_EALG_{3,}DESCBC values. ChangeSet@1.1042.111.4, 2003-05-05 20:18:41-03:00, acme@conectiva.com.br o ipx: convert ipx_route to use list_head ChangeSet@1.1042.23.18, 2003-05-05 17:42:48-05:00, jgrimm@touki.austin.ibm.com [SCTP] Support SCTP ECN on ipv6. ChangeSet@1.1064.1.4, 2003-05-05 17:27:43-05:00, andmike@us.ibm.com [PATCH] scsi host sysfs support again [4/4] -andmike -- Michael Anderson andmike@us.ibm.com DESC Change scsi sysfs to support scsi host class device and call release functions when ref count goes to zero. EDESC drivers/scsi/scsi_sysfs.c | 111 +++++++++++++++++++++++++++++++++++++++------- 1 files changed, 96 insertions(+), 15 deletions(-) ChangeSet@1.1064.1.3, 2003-05-05 17:27:04-05:00, andmike@us.ibm.com [PATCH] scsi host sysfs support again [3/4] -andmike -- Michael Anderson andmike@us.ibm.com DESC Change scsi host to class device model. Change scsi host and scsi device to release when ref count goes to zero. EDESC drivers/scsi/hosts.c | 23 +++++------------------ drivers/scsi/hosts.h | 20 ++++++++++++++------ drivers/scsi/scsi_scan.c | 4 +--- 3 files changed, 20 insertions(+), 27 deletions(-) ChangeSet@1.1064.1.2, 2003-05-05 17:26:25-05:00, andmike@us.ibm.com [PATCH] scsi host sysfs support again [2/4] -andmike -- Michael Anderson andmike@us.ibm.com DESC This patch changes the structure of sdebug_host_info and changes the method / order of driver model cleanup. EDESC drivers/scsi/scsi_debug.c | 215 ++++++++++++++++++++++++---------------------- drivers/scsi/scsi_debug.h | 2 2 files changed, 115 insertions(+), 102 deletions(-) ChangeSet@1.1064.1.1, 2003-05-05 17:25:46-05:00, andmike@us.ibm.com [PATCH] scsi host sysfs support again [1/4] -andmike -- Michael Anderson andmike@us.ibm.com DESC This patch removes the shost_devclass device class support that was previously added, but incomplete. EDESC drivers/acorn/scsi/acornscsi.c | 1 - drivers/acorn/scsi/arxescsi.c | 1 - drivers/acorn/scsi/cumana_1.c | 1 - drivers/acorn/scsi/cumana_2.c | 1 - drivers/acorn/scsi/eesox.c | 1 - drivers/acorn/scsi/oak.c | 1 - drivers/acorn/scsi/powertec.c | 1 - drivers/scsi/scsi_sysfs.c | 23 ----------------------- 8 files changed, 30 deletions(-) ChangeSet@1.1063.1.2, 2003-05-05 15:18:15-07:00, nicolas@dupeux.net [PATCH] USB: UNUSUAL_DEV for aiptek pocketcam Here is the unusual_dev entry i'm using to get my digital camera. diff -cr linux/drivers/usb/storage/unusual_devs.h linux_vaxvms/drivers/usb/storage/unusual_devs.h *** linux/drivers/usb/storage/unusual_devs.h 2003-03-14 21:32:46.000000000 +0100 ChangeSet@1.1065, 2003-05-05 17:01:02-05:00, hch@lst.de [PATCH] move all host templates into .c files Oookay - I really got upset by that tmeplates in headers crap when grepping for certain methods. The patch below moves all templates from the headers into the actual implementation files and removes the ifdef mess for unmaintained drivers - for maintained support gazillion kernel releases drivers like gdth I've kept them. This means a driver works fine without any problems for all modular builds and builtin kernel >= 2.4.0. If you want certain drivers to work with 2.0/2.2 statyic builds too I can hack something up for you, but I'd prefer not supporting stuff like that anymore. Tested by compiling all drivers with make -k and not getting more warnings than before :) ChangeSet@1.1042.100.6, 2003-05-05 14:38:42-07:00, philipp@void.at [PATCH] USB: unusual_devs.h patch ChangeSet@1.1042.100.5, 2003-05-05 14:31:17-07:00, davem@redhat.com [PATCH] USB speedtouch fix Missing header file. Please apply. ChangeSet@1.1042.100.4, 2003-05-05 14:30:57-07:00, geert@linux-m68k.org [PATCH] USB: Big endian RTL8150 The RTL8150 USB Ethernet driver doesn't work on big endian machines. Here are patches (for both 2.4.x and 2.5.x) to fix that. The fix was tested on the 2.4.20 and 2.4.21-rc1 version of the driver on big endian MIPS. Changes: - Fix endianness of rx_creg (from Dimitri Torfs ) - Kill unused last parameter of async_set_registers() ChangeSet@1.1042.100.3, 2003-05-05 14:24:39-07:00, bunk@fs.tum.de [PATCH] USB: kill the last occurances of usb_serial_get_by_minor I got an error at the final linking of 2.5.68-bk11. It seems the patch below is needed. ChangeSet@1.1042.114.15, 2003-05-05 21:39:31+01:00, davej@codemonkey.org.uk [AGPGART] Work around AMD 8151 errata. Some revisions incorrectly report they support v3.5 of the AGP spec, when they are actually only 3.0 compliant. ChangeSet@1.1042.114.14, 2003-05-05 21:37:30+01:00, davej@codemonkey.org.uk [AGPGART] Store agp revision in agp_bridge struct. There are a few places we do spec revision compliance checks, this cset generalises that function, and removes some duplicated functionality. ChangeSet@1.1042.23.17, 2003-05-05 09:21:58-05:00, jgrimm@touki.austin.ibm.com Merge http://linux-lksctp.bkbits.net/lksctp-2.5.work into touki.austin.ibm.com:/home/jgrimm/bk/lksctp-2.5.work ChangeSet@1.1042.114.13, 2003-05-05 15:16:17+01:00, davej@codemonkey.org.uk [AGPGART] Skip devices with no AGP headers sooner. ChangeSet@1.1042.116.1, 2003-05-05 09:10:00-05:00, jgrimm@touki.austin.ibm.com [SCTP] Use put_user() in get_peer_addr_params (reported by yjf@standford.edu) Standford Checker reported direct touch of user space. ChangeSet@1.1042.111.3, 2003-05-05 01:30:29-03:00, acme@conectiva.com.br o ipx: convert ipx_interface handling to use list_head ChangeSet@1.1042.111.2, 2003-05-05 00:57:30-03:00, acme@conectiva.com.br o list.h: implement list_for_each_entry_safe ChangeSet@1.1042.114.12, 2003-05-05 02:37:40+01:00, davej@codemonkey.org.uk [AGPGART] Disable debugging printk's again. With the 'AGP bug' solved, we don't need this noise for a while... ChangeSet@1.1042.114.11, 2003-05-05 02:28:24+01:00, davej@tetrachloride.(none) Merge tetrachloride.(none):/mnt/raid/src/kernel/2.5/bk-linus into tetrachloride.(none):/mnt/raid/src/kernel/2.5/agpgart ChangeSet@1.1042.1.184, 2003-05-04 18:18:59-07:00, davem@nuts.ninka.net [NETFILTER IPV6]: Fix warnings. ChangeSet@1.1042.1.183, 2003-05-04 18:00:58-07:00, davem@nuts.ninka.net [ATM]: mpc.c warning fixes. ChangeSet@1.1042.114.10, 2003-05-04 16:48:09-07:00, torvalds@home.transmeta.com Linux 2.5.69 TAG: v2.5.69