ChangeSet@1.1104, 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.1103, 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.1102, 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.1101, 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.1095.3.7, 2003-05-10 11:49:58-07:00, davem@nuts.ninka.net [VLAN]: vlanproc.c needs module.h ChangeSet@1.1095.3.6, 2003-05-10 11:46:48-07:00, yoshfuji@linux-ipv6.org [NET]: Set file_operations->owner as appropriate. ChangeSet@1.1095.3.5, 2003-05-10 09:08:52-07:00, chas@cmf.nrl.navy.mil [ATM]: HE and IPHASE driver fixes. ChangeSet@1.1095.3.4, 2003-05-10 06:04:15-07:00, yoshfuji@linux-ipv6.org [IPV6]: Convert /proc/net/raw6 to seq_file. ChangeSet@1.1095.3.3, 2003-05-10 05:25:47-07:00, shemminger@osdl.org [IPV4/IPV6]: inetsw using RCU. ChangeSet@1.1095.3.2, 2003-05-10 05:19:24-07:00, jgarzik@redhat.com [SCTP]: Fix missing Kconfig dependency. ChangeSet@1.1095.3.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.1095.2.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.1095.1.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.1095.1.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.1095.1.1, 2003-05-09 16:25:57-07:00, corbet@lwn.net [PATCH] cpufreq class fix ChangeSet@1.1083.2.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.1083.2.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.1083.2.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.1083.2.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.1095, 2003-05-09 14:24:06-07:00, torvalds@penguin.transmeta.com Annotate vm86_info as a pointer to user space. ChangeSet@1.1094, 2003-05-09 14:23:40-07:00, torvalds@penguin.transmeta.com Annotate IPC system calls with user pointer annotations ChangeSet@1.1093, 2003-05-09 14:22:58-07:00, torvalds@penguin.transmeta.com Fix mismatch between i387 user copy function declaration and definition. ChangeSet@1.1092, 2003-05-09 14:22:15-07:00, torvalds@penguin.transmeta.com Annotate x86 system calls with user pointer annotations. ChangeSet@1.1091, 2003-05-09 14:21:13-07:00, torvalds@penguin.transmeta.com Annotate LDT system calls with user pointer annotations. ChangeSet@1.1083.2.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.1083.2.1, 2003-05-09 13:53:57-07:00, greg@kroah.com [PATCH] i2c: add i2c_adapter class support ChangeSet@1.1083.1.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.1089, 2003-05-09 10:41:26-07:00, davem@nuts.ninka.net [XFRM]: Fix typos in xfrm_state_put() changes. ChangeSet@1.1088, 2003-05-09 09:36:06-07:00, hch@lst.de [NET]: Switch x25_asy over to initcalls. ChangeSet@1.1087, 2003-05-09 09:33:17-07:00, jmorris@intercode.com.au [XFRM]: Use xfrm_pol_hold(). ChangeSet@1.1086, 2003-05-09 09:29:54-07:00, jmorris@intercode.com.au [XFRM]: Make use of xfrm_state_hold(). ChangeSet@1.1085, 2003-05-09 09:27:47-07:00, yoshfuji@linux-ipv6.org [MAINTAINERS/CREDITS]: Add entries for USAGI hackers. ChangeSet@1.1078.2.21, 2003-05-08 18:34:06-07:00, ak@muc.de [NET]: Clean up socket filter compat handling. ChangeSet@1.1078.2.20, 2003-05-08 18:29:32-07:00, willy@debian.org [DLCI]: Use module_init and fix ioctl handling. ChangeSet@1.1078.2.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.1078.2.18, 2003-05-08 18:22:53-07:00, chas@cmf.nrl.navy.mil [ATM]: Make he driver code more palatable. ChangeSet@1.1078.2.17, 2003-05-08 18:15:49-07:00, jmorris@intercode.com.au [IPSEC]: Use xfrm_state_put in pfkey_msg2xfrm_state. ChangeSet@1.1078.2.16, 2003-05-08 17:44:22-07:00, davem@nuts.ninka.net [IPV6]: Pass route attributes all the way down. ChangeSet@1.1078.2.15, 2003-05-08 17:40:33-07:00, davem@nuts.ninka.net [SKFDDI]: Use SET_MODULE_OWNER. ChangeSet@1.1078.2.14, 2003-05-08 15:01:10-07:00, davem@nuts.ninka.net [MPLS]: Add MPLS support to PPP. ChangeSet@1.1078.2.13, 2003-05-08 14:54:53-07:00, davem@nuts.ninka.net [NETFILTER]: Fix icmp_reply_translation args. ChangeSet@1.1078.2.12, 2003-05-08 14:34:53-07:00, davem@nuts.ninka.net [MPLS]: Add ethernet protocol numbers. ChangeSet@1.1083, 2003-05-08 13:34:31-07:00, torvalds@penguin.transmeta.com Use the right CFLAGS for source checking. Fix grammar. ChangeSet@1.1078.4.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.1078.4.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.1078.4.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.1078.4.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.1078.4.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.1078.4.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.1078.4.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.1078.4.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.1078.4.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.1078.2.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.1078.2.10, 2003-05-08 10:10:50-07:00, davem@nuts.ninka.net [IPV4]: Fix expiration test in rt_check_expire. ChangeSet@1.1078.2.8, 2003-05-08 09:47:32-07:00, hch@lst.de [SLIP]: Move over to initcalls. ChangeSet@1.1078.2.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.1078.2.6, 2003-05-08 09:44:29-07:00, shemminger@osdl.org [PKTGEN]: Module and dev cleanup. ChangeSet@1.1078.2.5, 2003-05-08 09:42:02-07:00, shemminger@osdl.org [SYSKONNECT]: /proc module handling fixup. ChangeSet@1.1078.2.4, 2003-05-08 09:40:24-07:00, rddunlap@osdl.org [IPV6]: Remove incorrect comment in ip6_fib.c ChangeSet@1.1078.2.3, 2003-05-08 09:10:15-07:00, mk@linux-ipv6.org [IPSEC]: Fix ipcomp header handling in ipv4 IPCOMP. ChangeSet@1.1078.2.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.1081, 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.1080, 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.1078.1.40, 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.1078.1.39, 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.1078.1.38, 2003-05-08 01:06:32-07:00, greg@kroah.com TTY: fix up lost devfs_mk_cdev change. ChangeSet@1.1078.1.37, 2003-05-07 23:26:57-07:00, torvalds@home.transmeta.com Merge conflicting tty devfs cleanups ChangeSet@1.1078.1.36, 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.1078.1.35, 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.1078.1.34, 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.1078.1.33, 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.1078.1.32, 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.1078.1.31, 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.1078.1.30, 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.1078.1.29, 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.1078.1.28, 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.1078.1.27, 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.1078.1.26, 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.1078.1.25, 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.1078.1.24, 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.1078.1.23, 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.1078.1.22, 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.1078.1.21, 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.1078.1.20, 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.1078.1.19, 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.1078.1.18, 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.1078.1.17, 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.1078.1.16, 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.1078.1.15, 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.1078.1.14, 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.1078.1.13, 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.1078.1.12, 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.1078.1.11, 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.1078.1.10, 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.1078.1.9, 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.1078.1.8, 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.1078.1.7, 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.1078.1.6, 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.1078.1.5, 2003-05-07 22:10:56-07:00, torvalds@home.transmeta.com Allow external checkers to overrid the "cond_syscall()" macro. ChangeSet@1.1078.1.4, 2003-05-07 21:53:28-07:00, torvalds@home.transmeta.com Use "__attribute__" consistently. ChangeSet@1.1078.1.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.1078.1.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.8.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.8.27, 2003-05-07 15:51:59-07:00, greg@kroah.com TTY: changes based on tty_register_device() paramater change. ChangeSet@1.1063.8.26, 2003-05-07 15:51:02-07:00, greg@kroah.com TTY: add tty class support for all tty devices. ChangeSet@1.1063.1.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.1063.1.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.1.39, 2003-05-07 13:37:02-07:00, shemminger@osdl.org [NET]: Kill more direct references to netdev->refcnt. ChangeSet@1.1063.1.38, 2003-05-07 13:33:45-07:00, davem@nuts.ninka.net [IPV4]: Two minor errors in jiffies changes. ChangeSet@1.1063.1.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.1.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.1.35, 2003-05-07 12:35:17-07:00, chas@cmf.nrl.navy.mil [ATM]: assorted atm patches ChangeSet@1.1079, 2003-05-07 11:50:47-07:00, greg@kroah.com [PATCH] USB: update my copyrights in a few locations. ChangeSet@1.1063.6.1, 2003-05-07 10:26:33-07:00, torvalds@penguin.transmeta.com Whee. Fix ancient mailing address. ChangeSet@1.1063.3.12, 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.1.33, 2003-05-07 03:27:59-07:00, davem@nuts.ninka.net [ATM]: Fix build of HE driver. ChangeSet@1.1063.1.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.1.31, 2003-05-07 02:10:48-07:00, rddunlap@osdl.org [IPV6]: Use time_after() etc. for comparing jiffies. ChangeSet@1.1063.1.30, 2003-05-07 02:08:52-07:00, rddunlap@osdl.org [IPV6]: Fix typos in ip6_fib.c ChangeSet@1.1063.1.29, 2003-05-07 02:06:57-07:00, chas@cmf.nrl.navy.mil [ATM]: Clip locking and more atmvcc cleanup. ChangeSet@1.1063.1.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.1.27, 2003-05-07 01:47:45-07:00, chas@cmf.nrl.navy.mil [ATM]: Add Forerunner HE support. ChangeSet@1.1063.1.26, 2003-05-07 01:41:40-07:00, akpm@digeo.com [NET]: Remove duplicated alloc_skb debug check. ChangeSet@1.1063.1.25, 2003-05-07 01:38:22-07:00, shemminger@osdl.org [IPV4]: Replace explicit dev->refcount bumps with dev_hold. ChangeSet@1.1063.1.24, 2003-05-07 01:35:36-07:00, bdschuym@pandora.be [BRIDGE]: Change pkt_type to PACKET_HOST earlier. ChangeSet@1.1063.1.23, 2003-05-07 01:32:41-07:00, rddunlap@osdl.org [IPV6]: Convert /proc/net/rt6_stats to seq_file. ChangeSet@1.1063.1.22, 2003-05-07 01:27:59-07:00, rddunlap@osdl.org [NET]: Spelling/typo fixes in rtnetlink.h ChangeSet@1.1077, 2003-05-07 00:35:47-07:00, greg@kroah.com USB: converted hiddev over to new usb_register_dev() changes. ChangeSet@1.1076, 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.1075, 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.1074, 2003-05-07 00:23:06-07:00, greg@kroah.com [PATCH] USB: converted usblcd over to new usb_register_dev() changes. ChangeSet@1.1073, 2003-05-07 00:22:41-07:00, greg@kroah.com [PATCH] USB: converted rio500 over to new usb_register_dev() changes. ChangeSet@1.1072, 2003-05-07 00:22:17-07:00, greg@kroah.com [PATCH] USB: converted brlvger over to new usb_register_dev() changes. ChangeSet@1.1071, 2003-05-07 00:21:53-07:00, greg@kroah.com [PATCH] USB: converted auerswald over to new usb_register_dev() changes. ChangeSet@1.1070, 2003-05-07 00:21:28-07:00, greg@kroah.com [PATCH] USB: converted dabusb over to new usb_register_dev() changes. ChangeSet@1.1069, 2003-05-07 00:21:05-07:00, greg@kroah.com [PATCH] USB: converted scanner over to new usb_register_dev() changes. ChangeSet@1.1068, 2003-05-07 00:20:40-07:00, greg@kroah.com [PATCH] USB: converted mdc800 over to new usb_register_dev() changes. ChangeSet@1.1067, 2003-05-07 00:20:16-07:00, greg@kroah.com [PATCH] USB: converted usblp over to new usb_register_dev() changes. ChangeSet@1.1066, 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.1.21, 2003-05-06 23:56:20-07:00, davem@nuts.ninka.net [IPV4/IPV6]: Set owner field in family ops. ChangeSet@1.1063.3.11, 2003-05-06 18:15:59-07:00, paulkf@microgate.com [PATCH] n_hdlc update - Use C99 initializers ChangeSet@1.1063.3.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.5.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.3.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.3.7, 2003-05-06 17:18:27-07:00, greg@kroah.com [PATCH] i2c: fix compile error due to previous patches. ChangeSet@1.1063.3.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.3.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.3.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.101.11, 2003-05-06 16:52:20-07:00, sri@us.ibm.com Manual merge. ChangeSet@1.1063.4.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.4.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.4.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.4.4, 2003-05-06 15:35:34-07:00, greg@kroah.com [PATCH] PCI Hotplug: fix compiler warning in ibm driver. ChangeSet@1.1063.4.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.4.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.5.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.1063.3.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.1063.1.18, 2003-05-06 11:11:12-07:00, davem@nuts.ninka.net [IPV6]: Remove illogical bug check in fib6_del. ChangeSet@1.1063.1.16, 2003-05-06 07:46:54-07:00, chas@cmf.nrl.navy.mil [ATM]: Fix foul up in lec driver. ChangeSet@1.1063.2.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.1.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.1.14, 2003-05-06 06:54:39-07:00, yoshfuji@linux-ipv6.org [IPV6]: Fix offset in ICMPV6_HDR_FIELD messages. ChangeSet@1.1063.1.13, 2003-05-06 06:43:00-07:00, davem@nuts.ninka.net [BLUETOOTH]: Fix hci_usb build. ChangeSet@1.1063.1.12, 2003-05-06 06:15:55-07:00, davem@nuts.ninka.net [IPV6]: Kill spurious module_{get,put}(). ChangeSet@1.1063.1.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.1.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.1.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.1.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.1.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.1.6, 2003-05-06 00:49:29-07:00, chas@locutus.cmf.nrl.navy.mil [ATM]: svcs possible race with sigd. ChangeSet@1.1063.1.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.1.4, 2003-05-06 00:43:18-07:00, davem@nuts.ninka.net [ATM]: Fix some CPP pasting in ambassador driver. ChangeSet@1.1063.1.2, 2003-05-06 00:14:29-07:00, davem@nuts.ninka.net [IPSEC]: Fix SADB_EALG_{3,}DESCBC values. ChangeSet@1.1042.98.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.1065, 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.1042.88.6, 2003-05-05 14:38:42-07:00, philipp@void.at [PATCH] USB: unusual_devs.h patch ChangeSet@1.1042.88.5, 2003-05-05 14:31:17-07:00, davem@redhat.com [PATCH] USB speedtouch fix Missing header file. Please apply. ChangeSet@1.1042.88.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.88.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.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.102.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.98.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.98.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.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.101.10, 2003-05-04 16:48:09-07:00, torvalds@home.transmeta.com Linux 2.5.69 TAG: v2.5.69