ChangeSet@1.1534, 2003-07-19 08:37:17-07:00, rddunlap@osdl.org [PATCH] janitor: mem leak and copy_from_user in wan/comx driver author: Daniele Bellucci Fix a memory leak and checks a copy_from_user in wan/comx driver. ChangeSet@1.1533, 2003-07-19 08:36:30-07:00, rddunlap@osdl.org [PATCH] janitor: unchecked copy_from_user in parisc/led.c author: Daniele Bellucci ChangeSet@1.1532, 2003-07-19 08:35:58-07:00, rddunlap@osdl.org [PATCH] janitor: unchecked copy_from_user in ieee1394/amdtp author: Daniele Bellucci Fix an unchecked copy_from_user in ieee1394/amdtp. ChangeSet@1.1531, 2003-07-19 08:35:23-07:00, rddunlap@osdl.org [PATCH] janitor: unchecked copy_to_user in drivers/sbus/char/envctrl author: Daniele Bellucci Fix several unchecked copy_to_user()s in sbus/char/envctrl ChangeSet@1.1530, 2003-07-19 08:34:53-07:00, rddunlap@osdl.org [PATCH] janitor: unchecked copy/put_user in umsdos ioctl author: Daniele Bellucci Fix a series of unchecked copy/put_user()s in umsdos ioctl. ChangeSet@1.1529, 2003-07-19 08:34:28-07:00, rddunlap@osdl.org [PATCH] janitor: copy_to_user in wireless/ray_cs ioctl From: Daniele Bellucci Fix an unchecked copy_to_user in ray_cs ioctl. ChangeSet@1.1528, 2003-07-19 08:33:59-07:00, randy.dunlap@verizon.net [PATCH] janitor: copy_to_user in net/irda/vlsi_ir From: Matthew Wilcox and Daniele Bellucci Fix an unchecked copy_to_user() in net/irda/vlsi_ir.c. ChangeSet@1.1527, 2003-07-19 08:33:39-07:00, randy.dunlap@verizon.net [PATCH] janitor: copy_to_user in media/video/pms From: Daniele Bellucci Add a status check to copy_to_user() in a media/video driver. ChangeSet@1.1526, 2003-07-19 08:33:23-07:00, randy.dunlap@verizon.net [PATCH] janitor: audit misc_register in wdt977 From: Daniele Bellucci Add a check to misc_register() in the wdt977 driver. ChangeSet@1.1525, 2003-07-19 08:33:14-07:00, rddunlap@osdl.org [PATCH] janitor: drivers/telephony/ixj From: Daniele Bellucci This is an audit (copy_*_user), cleanup, and coding-style fix for this driver. ChangeSet@1.1524, 2003-07-18 20:00:06-07:00, hch@infradead.org [PATCH] Use before initialisation in devfs_mk_cdev() As noted by Gergely Nagy: "devfs_mk_cdev() first checks the mode passed to it, and if it thinks it is not a char device, it prints a warning and aborts. Now, this printing involves the local variable `buf' (char buf[64]), which is not initialised at that point." The same problem also affects devfs_mk_bdev. Fixed thus. ChangeSet@1.1523, 2003-07-18 19:23:55-07:00, rusty@rustcorp.com.au [PATCH] Make percpu_modcopy a macro davidm@hpl.hp.com writes: "I'm working on updating the ia64 tree with local_t etc. One thing that would really help me: could you make asm-generic/percpu_modcopy() a macro? The routine depends on cpu_possible(), but I can't including smp.h in percpu.h since that would lead to recusive header-file dependencies (and in my opinion, percpu.h should be more "primitive" than smp.h, so that it can be included virtually everywhere)." ChangeSet@1.1522, 2003-07-18 19:23:46-07:00, rusty@rustcorp.com.au [PATCH] Delete init/cleanup_module prototypes in obscure places. A few places pre-declare "int module_init(void);" and "void module_cleanup(void);". Other than being obsolete, this is unneccessary (it's in init.h anyway). There are still about 100 places which still use the obsolete-since-2.2 "a function named module_init() magically gets called": this change frees us up implement that via a macro. ChangeSet@1.1521, 2003-07-18 19:23:37-07:00, rusty@rustcorp.com.au [PATCH] module_put_and_exit Author: Neil Brown Define module_put_and_exit() and use it for nfsd/lockd Both nfsd and lockd have threads which expect to hold a reference to the module while the thread is running. In order for the thread to be able to put_module() the module before exiting, the put_module code must be call from outside the module. This patch provides module_put_and_exit in non-modular code which a thread-in-a-module can call. It also gets nfsd and lockd to use it as appropriate. Note that in lockd, we can __get_module in the thread itself as the creator of the thread is waiting for the thread to startup. In nfsd and for the 'reclaimer' threaded started by locked, we __get_module first and put_module if the thread failed to start. ChangeSet@1.1520, 2003-07-18 19:23:29-07:00, rusty@rustcorp.com.au [PATCH] Make rmmod -f taint kernel. Somehow, the code which taints the kernel when rmmod -f is used got lost. Restore it. ChangeSet@1.1519, 2003-07-18 19:23:22-07:00, rusty@rustcorp.com.au [PATCH] Sparc64 local_t support These are the local_t bits for sparc64. Other platforms such as PPC64 and Alpha (and in fact any "load locked/ store conditional" like platform other than IA64), probably want to do something similar. ChangeSet@1.1518, 2003-07-18 19:23:14-07:00, rusty@rustcorp.com.au [PATCH] Resolve module local_t conflict Uses local_t for module reference counts. ChangeSet@1.1517, 2003-07-18 19:23:07-07:00, rusty@rustcorp.com.au [PATCH] introduce "local_t" - cpu-local atomic variables Introduces local_t, a type which is like atomic_t, but the operations are only atomic from a single CPU's point of view (ie. atomic against interrupts and softirqs). Some architectures (eg. i386) can implement these very efficiently. There are special operations for the case of a local operation on a per-cpu variable (which is common), which some architectures can implement efficiently (eg. IA64 keeps all per-cpu variables mapped at the same address, so no address arithmetic is needed). The generic implementation given here simply uses atomics on 32-bit archs, three variables on others. x86 is already implemented specially. ChangeSet@1.1516, 2003-07-18 19:22:58-07:00, rusty@rustcorp.com.au [PATCH] Centralize Linker Symbols Richard Henderson point out a while back that linker generated symbols should be declared as: "char _text[]" so that the compiler can't make assumptions about them sitting in small sections, etc. Centralize these defintions in asm/sections.h (where some already are on x86). ChangeSet@1.1515, 2003-07-18 19:22:50-07:00, rusty@rustcorp.com.au [PATCH] Allow struct members inside percpu macros The current percpu macros do not allow __get_cpu_var(foo.val1) which makes building macros on top of them really difficult. The reason for this is the __per_cpu postfix appended to per-cpu variables, designed to catch direct uses. Prepend it instead. ChangeSet@1.1514, 2003-07-18 18:50:01-07:00, torvalds@home.osdl.org Fix vfat shortname character logic that had wrong signedness tests. From Dennis Vshivkov: "whenever I was trying to create a file using only national characters for its name, it was always created with an uppercased shortname (provided that the name was not too long for 8.3, of course). Everything was fine with latin filenames, though." The bug is that we check "buf[0]" as an unsigned character, but "buf" is just "char *", which (depending on architecture and compiler options) tends to be signed. ChangeSet@1.1513, 2003-07-18 17:15:43-07:00, romieu@fr.zoreil.com [PATCH] add new sound drivers to Makefile/Kconfig Adds kahlua, harmony and hal2 drivers to the build options. ChangeSet@1.1512, 2003-07-18 17:15:35-07:00, romieu@fr.zoreil.com [PATCH] Unchecked copy_to_user disturb harmony Fix an assortment of unchecked copy_to_user(). ChangeSet@1.1511, 2003-07-18 17:15:26-07:00, romieu@fr.zoreil.com [PATCH] Fix error path in kahlua driver Memory leak fix: hw_config is allocated before the call to sb_dsp_detect. ChangeSet@1.1509, 2003-07-18 14:26:27-05:00, jejb@jet.(none) Put the requeue hack back into as-iosched.c ChangeSet@1.1508, 2003-07-18 12:28:54-05:00, jejb@jet.(none) back out akpm's "fix" for AS ChangeSet@1.1506.1.39, 2003-07-18 10:12:49-07:00, miles@lsi.nec.co.jp [PATCH] On v850, use a long jump to start_kernel This allows the low-level start code to be located far away from the rest of the kernel, which is sometimes necessary. ChangeSet@1.1506.1.38, 2003-07-18 10:12:41-07:00, miles@lsi.nec.co.jp [PATCH] Update AS85EP1 port on v850 ChangeSet@1.1506.1.37, 2003-07-18 10:12:33-07:00, miles@lsi.nec.co.jp [PATCH] Rename config option CONFIG_V850E_MA1_HIGHRES_TIMER on v850 This feature is not actually MA1-specific, so get rid of the `MA1' in the name. ChangeSet@1.1506.1.36, 2003-07-18 10:12:25-07:00, miles@lsi.nec.co.jp [PATCH] v850 miscellanea Some updated copyright noticed and an unnecessary variable deleted. ChangeSet@1.1506.1.35, 2003-07-18 10:12:17-07:00, miles@lsi.nec.co.jp [PATCH] Update v850 config/makefile This updates the v850 Kconfig and kernel/Makefile to reflect preceding changes. ChangeSet@1.1506.1.34, 2003-07-18 10:12:08-07:00, miles@lsi.nec.co.jp [PATCH] Add v850 `sim85e2s' port, and cleanup v850e2 code This patch adds support for the `sim85e2s' simulation of the NA85E2S processor implementation. As part of this, cache-flushing support for the common v850e2 cache implementation is added. It also cleans up a bunch of code that was duplicated between different v850e2 processors. ChangeSet@1.1506.1.33, 2003-07-18 10:11:24-07:00, miles@lsi.nec.co.jp [PATCH] Add v850 RTE-V850E/ME2-CB port This adds a port to the V850E/ME2 processor, and the `SolutionGear mini' RTE-V850E/ME2-CB evaluation board. ChangeSet@1.1506.1.32, 2003-07-18 10:11:15-07:00, miles@lsi.nec.co.jp [PATCH] Add another layer of indirection for irq numbering with v850 `gbus' irqs This allows ports that support the v850 RTE-CB `GBUS' interrupts to use both them and processor-board-specific interrupts at the same time. ChangeSet@1.1506.1.31, 2003-07-18 10:11:09-07:00, miles@lsi.nec.co.jp [PATCH] Cleanup v850 cache-flushing code a bit (1) Add support for the V850E/ME2 processor (2) Clean up the cache-flushing function naming a bit (3) Similar to previous patches, rename everything from `nb85e' to `v850e'. This patch renames some files, and so contains a number of whole-file add/removes. ChangeSet@1.1506.1.30, 2003-07-18 10:10:48-07:00, miles@lsi.nec.co.jp [PATCH] Refactor v850 UART driver The v850 family contains several related-but-not-identical on-chip UARTs. This patch factors out the common code and uses it to implement both types (only one was supported before). Also, this patch changes the way the v850 UART is initialized, to use the same method as other linux serial drivers. This patch renames the UART code to be `v850e_uart' rather than `nb85e_uart', as the former is more correct. As this change renames some files too, the patch contains a number of whole-file add/removes. ChangeSet@1.1506.1.29, 2003-07-18 10:10:05-07:00, miles@lsi.nec.co.jp [PATCH] Rename `nb85e' to `v850e' on v850 The term `nb85e' is incorrect (caused by my confusion when starting the v850 port), so this renames all occurances to `v850e'. Because this change renames some files too, it contains a number of whole-file add/removes. ChangeSet@1.1506.1.28, 2003-07-18 09:56:15-07:00, torvalds@home.osdl.org Manual merge ChangeSet@1.1455.12.43, 2003-07-18 09:47:42-07:00, alan@lxorguk.ukuu.org.uk [PATCH] Makefile bits for audio resync ChangeSet@1.1455.12.42, 2003-07-18 09:47:35-07:00, alan@lxorguk.ukuu.org.uk [PATCH] Kahlua audio driver ChangeSet@1.1455.12.41, 2003-07-18 09:47:29-07:00, alan@lxorguk.ukuu.org.uk [PATCH] Add Harmony OSS driver (Jean-Christoph Vaugeois, Matthieu Delahaye,Helge Deller, Alex deVries) ChangeSet@1.1455.12.40, 2003-07-18 09:47:22-07:00, alan@lxorguk.ukuu.org.uk [PATCH] Add HAL2 driver (Ladislav Michl) ChangeSet@1.1455.12.39, 2003-07-18 09:47:14-07:00, alan@lxorguk.ukuu.org.uk [PATCH] emu10k further updates/bug fixes ChangeSet@1.1455.12.38, 2003-07-18 09:47:07-07:00, alan@lxorguk.ukuu.org.uk [PATCH] illegal->invalid for dmasound ChangeSet@1.1455.12.37, 2003-07-18 09:47:00-07:00, alan@lxorguk.ukuu.org.uk [PATCH] btaudio uses memset so should be strlcpy (I've got a patch pending from someone to redo the lot using memset so its safe from padding suprises) ChangeSet@1.1455.12.36, 2003-07-18 09:46:53-07:00, alan@lxorguk.ukuu.org.uk [PATCH] fix unused symbol in ad1889 (Francois Romieu) ChangeSet@1.1455.12.35, 2003-07-18 09:46:45-07:00, alan@lxorguk.ukuu.org.uk [PATCH] fix ver_linux for 2.6 (Steven Cole) ChangeSet@1.1455.12.34, 2003-07-18 09:46:39-07:00, alan@lxorguk.ukuu.org.uk [PATCH] fix make rpm versioning ChangeSet@1.1455.12.33, 2003-07-18 09:46:32-07:00, alan@lxorguk.ukuu.org.uk [PATCH] correct author of ad1980 plugin (Overzealous C&P of Red Hat license template 8)) ChangeSet@1.1455.12.32, 2003-07-18 09:46:25-07:00, alan@lxorguk.ukuu.org.uk [PATCH] fix failed sethostname corrupting the data (Stephan Maciej) ChangeSet@1.1455.12.31, 2003-07-18 09:46:18-07:00, alan@lxorguk.ukuu.org.uk [PATCH] fix a copy_user return ChangeSet@1.1455.12.30, 2003-07-18 09:46:11-07:00, alan@lxorguk.ukuu.org.uk [PATCH] remove a now false comment (Frank Cusack) ChangeSet@1.1455.12.29, 2003-07-18 09:46:05-07:00, alan@lxorguk.ukuu.org.uk [PATCH] fix a doc error and misleading printk ChangeSet@1.1455.12.28, 2003-07-18 09:45:57-07:00, alan@lxorguk.ukuu.org.uk [PATCH] fix jffs2 build (Jamie Hicks) ChangeSet@1.1455.12.27, 2003-07-18 09:45:48-07:00, alan@lxorguk.ukuu.org.uk [PATCH] restore console log level when jbd raises it (Vita Samel) maybe the set function should return the old value instead ? ChangeSet@1.1455.12.26, 2003-07-18 09:45:40-07:00, alan@lxorguk.ukuu.org.uk [PATCH] xjack pcmcia needs .. pcmcia (Taral) ChangeSet@1.1455.12.25, 2003-07-18 09:45:33-07:00, alan@lxorguk.ukuu.org.uk [PATCH] serial proc gives info on keycounts which can sometiems be abused For 2.4.x we made the file r-------- but for 2.6 we can do a nicer job ChangeSet@1.1455.12.24, 2003-07-18 09:45:25-07:00, alan@lxorguk.ukuu.org.uk [PATCH] sym53c8xxx wasnt updated to new irq code etc ChangeSet@1.1455.12.23, 2003-07-18 09:45:19-07:00, alan@lxorguk.ukuu.org.uk [PATCH] undefined shifts in qla1280 C doesn't define >> by 32 for 32bit systems, and on some gcc leaves you with the original value... ChangeSet@1.1455.12.22, 2003-07-18 09:45:12-07:00, alan@lxorguk.ukuu.org.uk [PATCH] fix qlogicfas build warning ChangeSet@1.1455.12.21, 2003-07-18 09:45:05-07:00, alan@lxorguk.ukuu.org.uk [PATCH] pas16 build fix ChangeSet@1.1455.12.20, 2003-07-18 09:44:57-07:00, alan@lxorguk.ukuu.org.uk [PATCH] function is long gone, kill prototype ChangeSet@1.1455.12.19, 2003-07-18 09:44:50-07:00, alan@lxorguk.ukuu.org.uk [PATCH] make isapnp request its port properly ChangeSet@1.1455.12.18, 2003-07-18 09:44:45-07:00, alan@lxorguk.ukuu.org.uk [PATCH] forward port 2.4 Zoom video support Also apply the right fix to the yenta hang problem ChangeSet@1.1455.12.17, 2003-07-18 09:44:37-07:00, alan@lxorguk.ukuu.org.uk [PATCH] re-enable seq8005 ChangeSet@1.1455.12.16, 2003-07-18 09:44:31-07:00, alan@lxorguk.ukuu.org.uk [PATCH] use cpu_relax in seq8005 ChangeSet@1.1455.12.15, 2003-07-18 09:44:23-07:00, alan@lxorguk.ukuu.org.uk [PATCH] clarify AXNET kconfig as per 2.4 ChangeSet@1.1455.12.14, 2003-07-18 09:44:16-07:00, alan@lxorguk.ukuu.org.uk [PATCH] convert ewrk3 for new locking etc ChangeSet@1.1455.12.13, 2003-07-18 09:44:09-07:00, alan@lxorguk.ukuu.org.uk [PATCH] fix all the paths in ide Kconfig docs (Helge Hafting) ChangeSet@1.1455.12.12, 2003-07-18 09:44:03-07:00, alan@lxorguk.ukuu.org.uk [PATCH] move watchdogs to __module_get now it exists (Jan Dittmer) Also add the 82801EB/ER (Wim Van Sebroeck) ChangeSet@1.1455.12.11, 2003-07-18 09:43:55-07:00, alan@lxorguk.ukuu.org.uk [PATCH] clean up ip2 glue (not yet ported tho) (Adriank Bunk) ChangeSet@1.1455.12.10, 2003-07-18 09:43:49-07:00, alan@lxorguk.ukuu.org.uk [PATCH] first cut ftape conversion (Paulo Andre) ChangeSet@1.1455.12.9, 2003-07-18 09:43:42-07:00, alan@lxorguk.ukuu.org.uk [PATCH] pnp layer seems to document wrong file name (Jochen Hein) ChangeSet@1.1455.12.8, 2003-07-18 09:43:35-07:00, alan@lxorguk.ukuu.org.uk [PATCH] updated magic number tables (Fabian Frederick) ChangeSet@1.1455.12.7, 2003-07-18 09:43:28-07:00, alan@lxorguk.ukuu.org.uk [PATCH] head -n 2 for ppc64 ChangeSet@1.1455.12.6, 2003-07-18 09:43:21-07:00, alan@lxorguk.ukuu.org.uk [PATCH] POSIX doesnt guarantee head -2, only head -n 2 (and some build environments are set up to be poxixly correct) (Teemu Tervo) ChangeSet@1.1455.12.5, 2003-07-18 09:43:14-07:00, alan@lxorguk.ukuu.org.uk [PATCH] another batch of "invalid" not "illegal" fixes (Steven Cole) ChangeSet@1.1455.12.4, 2003-07-18 09:43:07-07:00, alan@lxorguk.ukuu.org.uk [PATCH] fix visws pci (visws specific code) (Andrey Panin) ChangeSet@1.1455.12.3, 2003-07-18 09:43:00-07:00, alan@lxorguk.ukuu.org.uk [PATCH] mtrr fixes Fix cyrix mtrr ((Zoltán Böszörményi) Back port 2.4 handling for the Intel bug Add printk levels ChangeSet@1.1455.12.2, 2003-07-18 09:42:53-07:00, alan@lxorguk.ukuu.org.uk [PATCH] mtrr printk levels ChangeSet@1.1455.12.1, 2003-07-18 09:42:47-07:00, alan@lxorguk.ukuu.org.uk [PATCH] alpha illegal->invalid ChangeSet@1.1506.1.27, 2003-07-18 09:28:24-07:00, akpm@osdl.org [PATCH] "Fix" AS i/o hang with aacraid driver From: Mark Haverkamp Mark says: "Daniel McNeil and I have been debugging a hang with the aacraid driver using the as I/O scheduler." We found that scsi_request_fn would de-queue a request and later re-queued it. This left the as_data->nr_dispatched variable in an inconsistent state (it was never being decremented back to zero). We added a call to elv_completed_request to clean up the state before re-adding the request. This has fixed our hang problem." It affects other SCSI drivers, but less frequently. We're assuming this is the cause of several "everything got stuck in D state" reports. A very long design discussion has ensued. We don't have a suitably tested fix ready so I think it is best to put Mark's one-liner in there for now, fix it for real when everyone gets back from OLS. ChangeSet@1.1506.1.26, 2003-07-18 09:28:16-07:00, akpm@osdl.org [PATCH] fix as-iosched do_div() For CONFIG_LBD=n case it was passing a u32 into do_div(). ChangeSet@1.1506.1.25, 2003-07-18 09:28:09-07:00, akpm@osdl.org [PATCH] Update Documentation/magic-numbers.txt From: Update Documentation/magic-numbers.txt ChangeSet@1.1506.1.24, 2003-07-18 09:28:01-07:00, akpm@osdl.org [PATCH] fix bootmem allocator on machines with holes in From: Anton Blanchard If the memory we are trying to allocate is too large to fit in the current region, we should skip to the end. We currently search the available bitmap, find the area is too small, increment the start by incr and try again. This resulted in an apparent lockup on a 64GB machine that had a 3GB IO hole starting at 1GB (and the mem_map array would not fit in the first region). Also use ALIGN macro instead of an open coded version. ChangeSet@1.1506.1.23, 2003-07-18 09:27:54-07:00, akpm@osdl.org [PATCH] dm: v4 ioctl interface From: Joe Thornber v4 of the ioctl interface. Note there never was a v2 or a v3 except in an unofficial EVMS way. This works correctly with the 64-bit dev_t patches in -mm kernels. There is now a config option to allow the user to select v1 or v4, it defaults to v1. dm-ioctl.[hc] just #includes dm-ioctl-v[14].[hc] depending on the config option. If you want to use v4 you will have to update your tools (libdevmapper/lvm). The latest tools at the time of writing are: dmsetup + libdevmapper + replacement kernel patches for 2.4.20 & 2.4.21: ftp://ftp.sistina.com/pub/LVM2/device-mapper/device-mapper-testing-new-version4-interface.tgz Updated LVM2 tools to work with the above: ftp://ftp.sistina.com/pub/LVM2/tools/LVM2.0-testing.tgz ChangeSet@1.1506.1.22, 2003-07-18 09:27:46-07:00, akpm@osdl.org [PATCH] dm: 'wait for event' race From: Joe Thornber There was a race associated with the 'wait for a significant event' functionality. Basically userland could read the status table, then wait for another event, but the event it was waiting for could have occurred in the gap between reading and waiting. To solve this we assign identifiers to events, in order to successfully wait for an event both userland and the kernel driver must be in agreement about what the last event identifier was. If they don't agree the wait call will return immediately, allowing userland to re-read the status and see what it missed. The new ioctl interface will use this properly. ChangeSet@1.1506.1.21, 2003-07-18 09:27:39-07:00, akpm@osdl.org [PATCH] CLONE_STOPPED From: Ulrich Drepper CLONE_STOPPED: start a thread in a stopped state. Required for NTPL. ChangeSet@1.1506.1.20, 2003-07-18 09:27:31-07:00, akpm@osdl.org [PATCH] watchdog: i810-tco support From: Wim Van Sebroeck Adds support for the 82801EB and 82801ER I/O Controller Hub's (ICH5 & ICH5R). This will add watchdog support for the i865 and i875 motherboard chipsets. It also removes some extra trailing spaces in the source files. ChangeSet@1.1506.1.19, 2003-07-18 09:27:23-07:00, akpm@osdl.org [PATCH] vesafb fix From: Gerd Knorr The patch below fixes some vesafb issues. Changes: * fixed struct screen_info in tty.h to use portable types. "unsigned long" for 32bit values doesn't work on hammer machines ... * limited the framebuffer memory used by vesafb to 16 MB. This avoids that vesafb's ioremap() eats plenty of kernel address space for no real benefit if the gfx card has very much memory (some have 128 MB or more, ia32 has 128 MB address space for vmalloc and ioremap ...). * mtrr is enabled by default. That should improve the vesafb performance a lot. Also added a option to disable mtrr. ChangeSet@1.1506.1.18, 2003-07-18 09:27:16-07:00, akpm@osdl.org [PATCH] visws: fix PCI breakage From: Andrey Panin This fixes Visws PCI code which was broken since 2.5.73. ChangeSet@1.1506.1.17, 2003-07-18 09:27:04-07:00, akpm@osdl.org [PATCH] settimeofday() fixes From: davem - sys_stime() takes an int*, but it should be a time_t*: they have different sizes on (for example) sparc64. - sys_settimeofday() is confusing timevals with timespecs. They have different sizes on sparc64 and the time keeps on getting set to epoch. ChangeSet@1.1506.1.16, 2003-07-18 09:26:56-07:00, akpm@osdl.org [PATCH] slab: print stuff when the wrong cache is used From: Manfred Spraul Some extra diagnostics when someone passes the wrong object type into kmem_cache_free(). To help some bug which Manfred is chasing. ChangeSet@1.1506.1.15, 2003-07-18 09:26:48-07:00, akpm@osdl.org [PATCH] CONFIG_BLK_DEV_CRYPTOLOOP needs CONFIG_CRYPTO From: Brett CONFIG_BLK_DEV_CRYPTOLOOP needs CONFIG_CRYPTO ChangeSet@1.1506.1.14, 2003-07-18 09:26:41-07:00, akpm@osdl.org [PATCH] unline most of put_namespace() It has five callsites, and is big. ChangeSet@1.1506.1.13, 2003-07-18 09:26:32-07:00, akpm@osdl.org [PATCH] Fix two bugs with process limits (RLIMIT_NPROC) From: Neil Brown 1/ If a setuid process swaps it's real and effective uids and then forks, the fork fails if the new realuid has more processes than the original process was limited to. This is particularly a problem if a user with a process limit (e.g. 256) runs a setuid-root program which does setuid() + fork() (e.g. lprng) while root already has more than 256 process (which is quite possible). The root problem here is that a limit which should be a per-user limit is being implemented as a per-process limit with per-process (e.g. CAP_SYS_RESOURCE) controls. Being a per-user limit, it should be that the root-user can over-ride it, not just some process with CAP_SYS_RESOURCE. This patch adds a test to ignore process limits if the real user is root. 2/ When a root-owned process (e.g. cgiwrap) sets up process limits and then calls setuid, the setuid should fail if the user would then be running more than rlim_cur[RLIMIT_NPROC] processes, but it doesn't. This patch adds an appropriate test. With this patch, and per-user process limit imposed in cgiwrap really works. ChangeSet@1.1506.1.12, 2003-07-18 09:26:24-07:00, akpm@osdl.org [PATCH] fix return of compat_sys_sched_getaffinity From: Anton Blanchard On success getaffinity should return the size of mask. It looks like Randy's patch (which fixed a bogus return) missed this bit. In reality I'm not sure if we care, and with cpu bitmasks this stuff is going to break. ChangeSet@1.1506.1.11, 2003-07-18 09:26:16-07:00, akpm@osdl.org [PATCH] fix removable partitioned media with devfs From: Andrey Borzenkov Current 2.5 does not register any device node in devfs for empty media (capacity == 0) case. This makes removables unusable with devfs. Partition rescan is done only on bdev open, but without any device node for device it is impossible to open it. In 2.4 it was finally solved by always registering .../disc node as representation for "whole" disk and using devfsd action to force partition rescan on access to (non-existing) partition name. For primary names it was handled internally by devfs - it kept track of removable devices in directory and initiated partition rescan when name was not found. Both are obviously broken now. You can't do partition rescan because no node is registered at all and internal handling was removed. Very nice. The attached patch makes resgister_disk always register at least disc node. This now works for old and new compat names as per devfsd configuration; canonical names are still broken: {pts/3}% ll /dev/scsi/host1/bus0/target4/lun0/part4 ls: /dev/scsi/host1/bus0/target4/lun0/part4: No such file or directory but it can be fixed using the same technique as above so I won't push it. ChangeSet@1.1506.1.10, 2003-07-18 09:26:08-07:00, akpm@osdl.org [PATCH] use kmalloc for ia32 stacks From: William Lee Irwin III I've been slab allocating the stack on i386 for some time, and it has gone without incident in pgcl, -wli, -mjb (?), and so on. kmalloc() is fine; there isn't any particularly compelling reason for a dedicated slab as there's no preconstruction to do, though it can be arranged. Basically, it works, there's no obvious reason not to, and (even better) it's not totally invisible to the VM and even makes overhead reportable. ChangeSet@1.1506.1.9, 2003-07-18 09:26:01-07:00, akpm@osdl.org [PATCH] remove task_cache entirely From: Manfred Spraul kernel/fork.c contains a disabled cache for task stuctures. task structures are placed into the task cache only if "tsk==current", and "tsk==current" is impossible. There is even a WARN_ON against that in __put_task_struct(). So remove it entirely - it's dead code. One problem is that order-1 allocations are not cached per-cpu - we can use kmalloc for the stack. ChangeSet@1.1506.1.8, 2003-07-18 09:25:55-07:00, akpm@osdl.org [PATCH] is_devfsd_or_child() deadlock fix From: Andrey Borzenkov The code that did proper check existed in 2.4 and was removed in 2.5 for whatever reason. The patch restores it slightly modified as below. 2.4 code looks somewhat unclean in that - it traverses task list without lock. - it starts from current->real_parent but nothing prevents current be init_task itself. This hung for me on 2.5 during boot. May be 2.4 does something differently. ChangeSet@1.1506.1.7, 2003-07-18 09:25:46-07:00, akpm@osdl.org [PATCH] pass regs into dump_fpu() in elf coredump From: Pete Zaitcev sparc32 needs the registers passed into dump_fpu(). ChangeSet@1.1506.1.6, 2003-07-18 09:25:39-07:00, akpm@osdl.org [PATCH] ioctl(BLKBSZSET) fix and cleanup From: Lou Langholtz - set_blocksize() already does those size checks. - test the set_blocksize() return value: it can fail if the requested blocksize is less that the hard sector size. ChangeSet@1.1506.1.5, 2003-07-18 09:25:31-07:00, akpm@osdl.org [PATCH] Ext3 xattr credits fix for quotas From: Andreas Gruenbacher The xattr and acl code are not properly reserving credits for quotas. EXT3_DATA_TRANS_BLOCKS is an overestimate of the credits required including quotas. Make it a little more tight, and use it in the xattr and acl code to be quota safe. ChangeSet@1.1506.1.4, 2003-07-18 09:25:23-07:00, akpm@osdl.org [PATCH] ext3 extended attribute fixes From: Andreas Gruenbacher - Fix transaction credit exhaustion BUG. - ext3_journal_get_write_access_credits failures break out of the loop in 1058, so is not released properly. - must be reset after journal_release_buffer() in line 1072. ChangeSet@1.1506.1.3, 2003-07-18 09:25:16-07:00, akpm@osdl.org [PATCH] parport_pc.c compile warning From: Shane Shrybman This fixes the following warning: drivers/parport/parport_pc.c:98: warning: `verbose_probing' defined but not used ChangeSet@1.1506.1.2, 2003-07-18 09:25:07-07:00, akpm@osdl.org [PATCH] misc fixes - i460-agp linkage fix ("Luck, Tony" ) - Don't reimplement offsetof() in hfs - NBD warning fix - Remove unneeded null-pointer test in journal_stop (Andreas Gruenbacher) - remove debug stuff in journal_dirty_metadata() - slab.c typo fixes (Lev Makhlis ) - In devfs_mk_cdev() error path, don't print `buf' until we've written something into it. (Reported by Gergely Nagy ) - Two ISA sound drivers had their kmalloc() args reversed (Spotted by Steve French) ChangeSet@1.1506.1.1, 2003-07-18 09:25:00-07:00, akpm@osdl.org [PATCH] Allow LBD on architectures that support it From: Milton Miller Enable the CONFIG_LBD option for the architectures which appear to support it. It is not actually tested for those architectures, but it's not likely to be unless we do this... ChangeSet@1.1507, 2003-07-18 09:43:28-05:00, jejb@jet.(none) Merge jet.(none):/home1/jejb/BK/scsi-misc-2.5 into jet.(none):/home1/jejb/BK/scsi-for-linus-2.5 ChangeSet@1.1506, 2003-07-17 15:58:33-07:00, greg@kroah.com Merge kroah.com:/home/greg/linux/BK/bleed-2.5 into kroah.com:/home/greg/linux/BK/gregkh-2.5 ChangeSet@1.1455.1.43, 2003-07-17 15:45:30-07:00, david-b@pacbell.net [PATCH] USB: better locking in hcd_endpoint_disable() You'll recall there was a change to the locking in that code after it was submitted. This is a better fix to that issue. "Obviously correct", though I've not run with this in ages. ChangeSet@1.1455.1.42, 2003-07-17 14:47:19-07:00, oliver@neukum.org [PATCH] USB: fix race between probe and open in dabusb the driver is registering the device too early, so that open may see a partially initialised device. ChangeSet@1.1455.1.41, 2003-07-17 14:46:56-07:00, henning@meier-geinitz.de [PATCH] USB: unlink interrupt URBs in scanner driver Clean up irq urb when not enough memory is available. ChangeSet@1.1455.1.40, 2003-07-17 14:46:26-07:00, stern@rowland.harvard.edu [PATCH] USB: Handle over current inputs on all Intel controllers This patch for the UHCI driver changes the test for over current inputs, which can cause false Resume indications with some of Intel's USB controllers. Previously the code only checked for one specific controller chip, but now another one has turned up that exhibits the same flaw. It seems best just to check for Intel being the manufacturer, especially since it doesn't hurt to check for the condition when it isn't present or is only temporary. ChangeSet@1.1505, 2003-07-17 12:10:40-07:00, jasper@vs19.net [PATCH] Fix up unattended nfs3/krb5 mounts The patch from Frank was missing the auth flavor argument to nfs_sb_init(). Trivial fix follows. [ Side note: the code mixes the spellings 'flavor' and 'flavour', which is somewhat confusing. That should probably be fixed to avoid confusion. ] ChangeSet@1.1503, 2003-07-17 10:48:44-07:00, linux@thorsten-knabe.de [PATCH] sound/oss/ad1816.c update This fixes various problems with the AD1816 sound driver: - Compilation errors with CONFIG_PNP enabled fixed. - PNP specific code rewritten. - SMP fixes. - DMA resource handling fixes. - Other minor code cleanup. ChangeSet@1.1502, 2003-07-17 10:43:53-07:00, bunk@fs.tum.de [PATCH] remove all #include 's This causes blk.h to print a warning and removes all uses of blk.h. I've tested the compilation in 2.6.0-test1 with a .config that tries to compile as many drivers as possible. ChangeSet@1.1501, 2003-07-17 10:34:59-07:00, schwidefsky@de.ibm.com [PATCH] s390: siginfo_t for s390x. Correct size of siginfo_t for s390x (from 136 to 128). ChangeSet@1.1500, 2003-07-17 10:34:52-07:00, schwidefsky@de.ibm.com [PATCH] s390: qeth network driver. - Reset netdevice to defaults in offline processing. - Fix checksumming. - Fix routing status display. - Get rid of _ccw_device_get_device_number in qeth. - Inline some functions to save stack space. ChangeSet@1.1499, 2003-07-17 10:34:44-07:00, schwidefsky@de.ibm.com [PATCH] s390: common i/o layer. - Fix two memory leaks. - Clear pending status in cio_enable_subchannel. - Don't call device_unregister from interrupt context. - Fix refcounting problems on static device structures for the ccw console. - Delete timeouts for qdio after successful startup. ChangeSet@1.1498, 2003-07-17 10:34:35-07:00, schwidefsky@de.ibm.com [PATCH] s390: dasd driver. Remove put_disk from dasd_destroy_partitions. This is done in dasd_free_device. ChangeSet@1.1497, 2003-07-17 10:34:28-07:00, schwidefsky@de.ibm.com [PATCH] s390: irq stats. Enable irq statistics for s390*. We defined NR_IRQS to 2, one for all i/o interrupts and one for all external interrupts. ChangeSet@1.1496, 2003-07-17 10:34:19-07:00, schwidefsky@de.ibm.com [PATCH] s390: arch update - New default configuration. - Fix get_tv32/put_tv32. - Replace generic dma-mapping file with empty one. - Remove wrong comment from dma.h. ChangeSet@1.1495, 2003-07-17 10:28:19-07:00, fcusack@fcusack.com [PATCH] Allow unattended nfs3/krb5 mounts The comment in nfs_get_root() basically describes the patch: Some authentication types (gss/krb5, most notably) are such that root won't be able to present a credential for GETATTR (ie, getroot()). An easy way (ie, without this patch) to have unattended mounts is to have a root/host@REALM (or similar) principal stashed in a keytab, which root (rather, gssd) can use. However, this might not be desirable for many sites. In any case, RFC2623 specifically describes the problem addressed here. Notes: - Root inode gets inum of 1. This doesn't seem to matter, but may be aesthetically unpleasing. I wanted to choose an inum unlikely to conflict with an existing inum (although NFS has specific support for that). It looks like more work than it's worth to change the inum after the info is available. AFAICT it's not critical info. - Solaris has this "wierd" (but understandable) behavior that after mounting without a credential, the mount point is not visible at all until an access is attempted with a credential. This now-you-see-it- now-you-don't behavior doesn't seem worthwhile to reproduce here. - Unfortunately, MOUNT_VERSION must go to 5. Some kernels with ver 4 do not understand pseudoflavor. Keeping it at 4 means that the userland mount can't know for sure whether the kernel accepted the option or not. (Unless I'm missing some hack that could be done.) It works in my environment, against a netapp server (with the rpcsec_gss patch I provided earlier). ChangeSet@1.1494, 2003-07-17 10:28:11-07:00, fcusack@fcusack.com [PATCH] Fix rpc_setbufsize() usage - fix null dereference on xprt->inet if (!connected), which happens if a rpc cred wasn't available (root+auth_gss case) - set bufsize on reconnect ChangeSet@1.1493, 2003-07-17 10:28:03-07:00, fcusack@fcusack.com [PATCH] rpcsec_gss compatibility start gss seq no at 1; netapp doesn't accept seq no 0. Just as a data point, Solaris 9 client uses initial seq. no. 2. ChangeSet@1.1490, 2003-07-17 10:10:19-07:00, hunold@convergence.de [PATCH] Update Technisat Skystar2 DVB driver This is a follow-up patch to my latest patch series. It fixes the problems and flaws Greg KH pointed out. There was a typo in the Makefile, so the driver was never compiled. But I assumed that it built without errors. Doh! - update the Technisat Skystar2 driver: - follow kernel coding rules, change comments - change function return values from u32 to int where possible - make all functions static - comment out unused functions - fix return values of functions to follow kernel rules - removed bogus delay, read and write functions ChangeSet@1.1489, 2003-07-17 10:10:12-07:00, hunold@convergence.de [PATCH] Add two drivers for USB based DVB-T adapters - add two new usb dvb drivers: o dvb-ttusb-budget.c for Technotrend/Hauppauge Nova-USB devices (Thanks to Holger Waechtler and elix Domke ) o dvb-ttusb-dec.c for Technotrend/Hauppauge USB DEC2000-T devices (Thanks to Alex Woods ) ChangeSet@1.1488, 2003-07-17 10:10:04-07:00, hunold@convergence.de [PATCH] Update the av7110 DVB driver - fix DMX_GET_STC to get the msb right - follow changes in saa7146 driver core, separate some data for DVB-C and DVB-S cards ChangeSet@1.1487, 2003-07-17 10:09:55-07:00, hunold@convergence.de [PATCH] Update various other frontend drivers - In alps_tdlb7.c read SP8870 status reg to clear pending irqs in FE_SET_FRONTEND, as suggested by Ragnar Sundblad to avoid frontend hang-ups. - the vp310 support in mt312.c support should be configured to 90Mhz, too. skystar2 driver with bugfixed master_xfer() should probably work now. ChangeSet@1.1486, 2003-07-17 10:09:47-07:00, hunold@convergence.de [PATCH] Add TDA14500x DVB-T frontend driver - tda1004x DVB-T driver contributed by Andrew de Quincy and Robert Schlalach ChangeSet@1.1485, 2003-07-17 10:09:40-07:00, hunold@convergence.de [PATCH] More updates for the dvb core ChangeSet@1.1484, 2003-07-17 10:09:33-07:00, hunold@convergence.de [PATCH] Add two drivers for Hexium frame grabber cards - add drivers for the Orion and Gemini frame grabber cards, based on the saa7146. For details, see http://www.hexium.hu/. Thanks to Michael Hunold . ChangeSet@1.1483, 2003-07-17 10:09:24-07:00, hunold@convergence.de [PATCH] Add a driver for the Technisat Skystar2 DVB card - add DVB driver for Technisat Skystar2 card, which is based on the FlexCop2 chipset by B2C2 ChangeSet@1.1482, 2003-07-17 10:09:14-07:00, hunold@convergence.de [PATCH] Various kconfig and Makefile updates ChangeSet@1.1481, 2003-07-17 10:09:07-07:00, hunold@convergence.de [PATCH] More saa7146 driver core updates - separate all EXPORT_SYMBOL stuff to saa7146_ksyms.c - properly stop capturing when no more buffers are available (missing register upload) - make extension data a per-device member, not a per-extension member, so that every device can have it's own private data (necessary for DVB drivers which handle more than one device) - implement field based capturing, ie. capturing fields to different capture buffers - change default old of capture fields for ALTERNATE mode (comply with bttv) - follow these changes in various analog saa7146 based cards drivers (mxb.c and dpc7146.c) - follow these changes in various saa7146 based budget card drivers ChangeSet@1.1480, 2003-07-17 10:08:58-07:00, hunold@convergence.de [PATCH] Update the DVB av7110 driver - Fix to 'Sharing SDRAM between TT re-insertion and OSD...' - OSD didn't get the maximum available memory in one piece; needs new firmware version 0x2616 - Improved performance when setting palette with full 256 color OSD - read MAC from EEPROM if available, contributed by Michael Glaum - add some MODULE_PARM_DESC for modinfo - add support for the "analog module" available for DVB-C cards: the saa7113 is initialized and some more v4l2 ioctls are available. you can use "xawtv" now to switch between "dvb" and "analog" input. when you are one the "analog" input, you can tune in analog channels. ChangeSet@1.1479, 2003-07-17 10:08:49-07:00, hunold@convergence.de [PATCH] Update the DVB budget drivers - follow changes in dvb_net, use new eeprom parse code to properly detect the mac - add new subvendor/subystem id pair ChangeSet@1.1478, 2003-07-17 10:08:40-07:00, hunold@convergence.de [PATCH] Add Zarlink MT312 DVB-T frontend driver - Zarlink MT312 satellite channel decoder driver contributed by Andreas Oberritter ChangeSet@1.1477, 2003-07-17 10:08:31-07:00, hunold@convergence.de [PATCH] Update dvb frontend drivers - grundig_29504-401.c: fix charge pump and band switch setting bug, caught by Robert Schlabbach - grundig_29504-401.c: pass apply_frontend_param() return value to upper layers - grundig_29504-401.c: try to make a more specific detection mechanism - grundig_29504-491.c:remove bogus out-of-range check, FEC table index is limited to 0...7 due to &= ~0x03 anyway... - nxt6000.c: Patch by Paul Andreassen: Add Support for Comtech DVBT-6k07 (PLL IC: SP5730) - ves1820.c: use Robert Schlabbach's suggestions for CLKCONF (0x03) and CARCONF (0x04) - alps_bsrv2.c: don't enable voltage on init + inversion bugfix ChangeSet@1.1476, 2003-07-17 10:08:25-07:00, hunold@convergence.de [PATCH] Major dvb net code cleanup, many fixes - code review and fix the old race condition in dev->set_multicast_list - use tq_schedule instead of tq_immediate - remove card_num and dev_num from struct dvb_net (now obsolete) - prevent interface from being removed while it is in use - allow add/remove only for the superuser - set check-CRC flag on section filter to drop broken packets - some more debug printfs in filter handling code - cleaned up and commented packet reception handler - fix formatting ChangeSet@1.1475, 2003-07-17 10:08:16-07:00, hunold@convergence.de [PATCH] Various small fixes in dvb-core - indentation fixes in dvb_demux.c - include cleanup in various files - simplify dvb/ttpci/Makefile ChangeSet@1.1474, 2003-07-17 10:08:09-07:00, hunold@convergence.de [PATCH] Update the saa7146 driver core - fix WRITE_RPS0 and WRITE_RPS1 inlines, fix usage in mxb and budget drivers - export "saa7146_start_preview" and "saa7146_stop_preview" to allow drivers to start and stop video overlay (necessary for analog module support in the av7110 driver) - fix i2c implementation: some frontend drivers transfer a huge amount of firmware data (> 30kB), speed up the transmission by busy waiting between byte transfers for bigger transmissions - change ioctl function in various driver to accept a saa7146 filehandle instead of a saa714 device structure ChangeSet@1.1473, 2003-07-17 09:56:07-07:00, petero2@telia.com [PATCH] Incorrect timeout in CDROM_SEND_PACKET ioctl The CDROM_SEND_PACKET ioctl passes a struct cdrom_generic_command from user space, which contains a timeout field. The timeout is measured in jiffies, but the conversion from user to kernel jiffies is missing, which makes the timeout 10 times shorter than it should be in 2.5 kernels on x86. This causes CDRW formatting with cdrwtool to fail. The following patch fixes this problem. ChangeSet@1.1472, 2003-07-17 09:55:59-07:00, mikpe@csd.uu.se [PATCH] make clean should remove usr/initramfs_data.S The kernel build leaves a temp file in linux/usr/ that make clean doesn't remove. Fixed in the patch below. ChangeSet@1.1471, 2003-07-17 09:54:52-07:00, torvalds@home.osdl.org Add "clock_t_to_jiffies()" conversion function with some rather minimal overflow protection. ChangeSet@1.1468, 2003-07-17 09:05:48-07:00, thomr9am@ss1000.ms.mff.cuni.cz [PATCH] fix emu10k1 removal oops All of the cleanup functions in sound/oss/emu10k1/main.c were incorrectly marked as __devinit. This little one fixes it, so that the module no longer oopses when being removed. ChangeSet@1.1467, 2003-07-17 09:04:51-07:00, torvalds@home.osdl.org Merge bk://kernel.bkbits.net/gregkh/linux/pci-2.5 into home.osdl.org:/home/torvalds/v2.5/linux ChangeSet@1.1466, 2003-07-17 09:03:48-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] Fix dma timeout bugs From Alexander Atanasov Fix DMA I/O and state machine fixes, error recovery ChangeSet@1.1465, 2003-07-17 08:59:19-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] fix IDE irq disable logic Since the IO-APIC irq disable fix went in we can now enable the proper IRQ disabling in the IDE driver again. That had been disabled due to the problems with UP IO-APIC. ChangeSet@1.1455.11.1, 2003-07-17 08:47:27-07:00, torvalds@home.osdl.org Revert PCI bus number size increase - it isn't even needed on 2.5+, since ppc64 can (and does) use the PCI domain numbers for this instead. The PCI domain support should be back-ported to 2.4.x rather than having bigger PCI bus numbers. Cset exclude: jgarzik@pobox.com|ChangeSet|20030714162217|61624 ChangeSet@1.1358.11.11, 2003-07-17 10:01:19-04:00, axboe@suse.de [PATCH] Consolidate SCSI requeueing and add blk elevator hook This patch removes the scsi mid layer dependency on __elv_add_request and introduces a new blk_requeue_request() function so the block layer specificially knows a requeue is in progress. It also adds an elevator hook for elevators like AS which need to hook into the requeue for correct adjustment of internal counters. ChangeSet@1.1358.11.10, 2003-07-17 09:41:10-04:00, anton@samba.org [PATCH] sym2 error handler sleeps with irqs off The scsi error handler calls driver error handlers with the host_lock taken. We need to drop it before calling down() in the sym2 driver. ChangeSet@1.1455.7.9, 2003-07-17 13:43:31+10:00, paulus@samba.org PPC32: Change mm_segment_t definitions to simplify the code. ChangeSet@1.1455.7.8, 2003-07-17 13:41:17+10:00, paulus@samba.org PPC32: Make FP exceptions enabled by default. ChangeSet@1.1455.7.7, 2003-07-17 13:39:45+10:00, paulus@samba.org PPC32: PCI mapping fixes for non-cache-coherent PPC machines. ChangeSet@1.1455.7.6, 2003-07-17 13:34:47+10:00, paulus@samba.org PPC32: Remove unused fields from irq_cpustat_t. ChangeSet@1.1455.5.10, 2003-07-16 19:44:13-07:00, davidm@tiger.hpl.hp.com ia64: If the compiler supports it, use attribute (model (small)) to tell the compiler that per-CPU variables can be addressed with "addl". On the simulator kernel, this saves about 2776 bytes in the kernel image. On a zx1 kernel, it saves about 5593 bytes. As per-CPU variables are used more, these savings will increase, of course. ChangeSet@1.1444.8.1, 2003-07-16 20:36:51-05:00, stevef@steveft21.ltcsamba Fix inverted kmalloc parm ordering (noticed by Zwane) that caused oops on mounts of long server names (reported on bugzilla). Fix multiuser mount option. ChangeSet@1.1455.5.9, 2003-07-16 16:14:46-07:00, jbarnes@sgi.com [PATCH] ia64: fix GENERIC compile This will fix the generic compile by removing sn2 from the list of targets, since it depends on the new discontig code, which hasn't gone in yet. ChangeSet@1.1455.1.39, 2003-07-16 10:16:36-07:00, stern@rowland.harvard.edu [PATCH] USB: Make sddr55 use proper I/O buffering This patch makes the sddr55 subdriver use proper DMA I/O buffering. ChangeSet@1.1455.1.38, 2003-07-16 10:16:22-07:00, stern@rowland.harvard.edu [PATCH] USB: I/O buffering for sddr09 This patch makes the sddr09 subdriver use proper DMA I/O buffering. ChangeSet@1.1455.1.37, 2003-07-16 10:15:18-07:00, oliver@neukum.org [PATCH] USB: usblcd: race between open and read/write usblcd registers a device before all buffers are allocated leading to a race resulting in NULL pointers being followed. This fixes it. ChangeSet@1.1455.1.36, 2003-07-16 10:12:14-07:00, david-b@pacbell.net [PATCH] USB: ethernet gadget, another pxa update - #ifdefs out some code that never runs on the pxa - catches "alloc_etherdev Jihad" changes I somehow missed ChangeSet@1.1455.1.35, 2003-07-16 10:12:00-07:00, oliver@neukum.org [PATCH] USB: fix race between probe and open in skeleton registering a device only partially initialised is quite bad an idea. ChangeSet@1.1455.1.34, 2003-07-16 10:11:48-07:00, oliver@neukum.org [PATCH] USB: fix irq urb in hpusbscsi this fixes the completion handler for the interrupt urb in hpusbscsi. ChangeSet@1.1455.6.17, 2003-07-16 06:32:36-07:00, wensong@linux-vs.org [IPV4]: Do not use proto for route output in IPVS. ChangeSet@1.1455.6.16, 2003-07-16 06:31:22-07:00, wensong@linux-vs.org [IPV4]: Remove the unnecessay del_timer_sync call in IPVS connection expire. ChangeSet@1.1455.6.15, 2003-07-16 06:29:20-07:00, wensong@linux-vs.org [IPV4]: Add the defense timer for IPVS. ChangeSet@1.1455.6.14, 2003-07-16 05:44:00-07:00, yoshfuji@linux-ipv6.org [IPV6]: Get reference to neigh/dev when building ndisc DST. ChangeSet@1.1455.8.3, 2003-07-16 03:08:17-07:00, davem@nuts.ninka.net [SPARC64]: Fix assumptions about data section ordering and objects ending up in .data vs .bss ChangeSet@1.1455.9.1, 2003-07-16 01:19:19-07:00, davem@cheetah.ninka.net [SPARC64]: Fix pbus->sysdata interpretation in pci_domain_nr(). ChangeSet@1.1455.5.8, 2003-07-16 00:34:08-07:00, davidm@tiger.hpl.hp.com ia64: Put per-CPU data into .data.percpu section both for UP and MP. This ensures that per-CPU data is "addl"-addressable even on UP. ChangeSet@1.1455.8.2, 2003-07-15 23:40:57-07:00, jfbeam@bluetronic.net [SUNKBD]: Mark reset/layout as volatile. ChangeSet@1.1455.8.1, 2003-07-15 23:25:30-07:00, rob@osinvestor.com [SERIAL]: Do not use serio->private to track serio open status in sun drivers. Issue discovered by Ricky Beam (jfbeam@bluetronic.net). ChangeSet@1.1455.1.33, 2003-07-15 22:33:17-07:00, greg@kroah.com [PATCH] USB: fix memory leak in the visor driver. ChangeSet@1.1455.6.13, 2003-07-15 22:00:26-07:00, chas@cmf.nrl.navy.mil [ATM]: Replace vcc->reply with sk->sk_err; implement sk_write_space. ChangeSet@1.1455.6.12, 2003-07-15 21:59:32-07:00, chas@cmf.nrl.navy.mil [ATM]: Use sk_data_ready and sk_change_state instead of wake_up. ChangeSet@1.1455.6.11, 2003-07-15 21:58:36-07:00, chas@cmf.nrl.navy.mil [ATM]: Eliminate vcc->sleep in favor of sk->sk_sleep. ChangeSet@1.1455.6.10, 2003-07-15 21:57:44-07:00, chas@cmf.nrl.navy.mil [ATM]: Use sk_state_change() and eliminate vcc->callback(). ChangeSet@1.1455.6.9, 2003-07-15 21:50:57-07:00, shemminger@osdl.org [NET]: Dynamic net_device for serial eql balancer. ChangeSet@1.1455.6.8, 2003-07-15 21:46:53-07:00, ja@ssi.bg [IPV4/IPV6]: Fix use-after-free bugs in tunneling drivers. ChangeSet@1.1455.6.7, 2003-07-15 21:38:13-07:00, kuznet@ms2.inr.ac.ru [TCP/IPV6]: Another anycast check. ChangeSet@1.1455.5.7, 2003-07-15 16:40:35-07:00, davidm@wailua.hpl.hp.com ia64: Patch by Arun Sharma: Make execve()ing of ia32 tasks work again. The impact on native ia64 fork+execve performance as measured by LMbench is in the noise range (plus or minus 0.1%). The first two hunks in the patch are not together because we wanted to hide the memory latency. ChangeSet@1.1455.1.32, 2003-07-15 16:20:24-07:00, greg@kroah.com [PATCH] USB: fix a nasty use-after-free bug in the usb-serial core. ChangeSet@1.1455.1.31, 2003-07-15 15:04:44-07:00, stern@rowland.harvard.edu [PATCH] USB: More unusual_devs.h entry updates Here are more user-reported updates for unusual_devs.h. ChangeSet@1.1455.1.30, 2003-07-15 14:59:38-07:00, oliver@neukum.org [PATCH] USB: fix layering violation in usblp writing urb->status is a no go area for drivers. ChangeSet@1.1455.1.29, 2003-07-15 14:59:26-07:00, oliver@neukum.org [PATCH] USB: fix race between open() and probe() registering the device before setting the interface data can lead to a null pointer being followed in open(). This patch fixes that. ChangeSet@1.1455.5.6, 2003-07-15 14:58:18-07:00, davidm@tiger.hpl.hp.com Fix patch breakage. ChangeSet@1.1455.1.28, 2003-07-15 14:55:44-07:00, henning@meier-geinitz.de [PATCH] USB: New vendor/product ids for scanner driver this patch adds new vendor/product ids for Avision, Canon, HP, Microtek and Relisys scanners. ChangeSet@1.1455.1.27, 2003-07-15 14:55:31-07:00, henning@meier-geinitz.de [PATCH] USB: fix open/probe race in scanner driver This patch from Oliver Neukum fixes a race between open and probe. ChangeSet@1.1455.1.26, 2003-07-15 14:54:08-07:00, david-b@pacbell.net [PATCH] USB: gadget zero learns about pxa2xx udc The original code needed some updates to work properly with the USB Device Controller found in Intel's PXA 2xx processors. - SET_INTERFACE and SET_CONFIGURATION involve hardware automagic: all endpoints get reset. This is a PITA, and will likely get more work. (Seems like the reset is only partial, hosts need to CLEAR_HALT themselves...) What this does is to handle -ECONNABORTED notifications from pxa2xx_udc, in those cases. In general, gadget drivers need to reset endpoints themselves, since the lower levels (hardware!) won't know how the endpoints are allocated between interfaces and altsettings. - The config symbol will be CONFIG_USB_PXA2XX, since the same controller (modulo errata) is in several processors other than the "older" pxa250. - This also adds an "i/o pattern" parameter, so that it can continue to use the "all zeroes" pattern or switch to something else. The initial "something else" is an easily predicted "mod63" pattern. ChangeSet@1.1455.1.25, 2003-07-15 14:53:55-07:00, david-b@pacbell.net [PATCH] USB: usbtest, autoconfigure from descriptors Not all gadget controllers support ep2in-bulk and ep2out-bulk, unlike the EZ-USB (non-FX2) devices or the net2280. So this patch teaches "usbtest" how to look at the descriptors it's given, and use the appropriate endpoints. This helps support Linux test devices using hardware like the pxa2xx UDC, and other controllers. ChangeSet@1.1455.1.24, 2003-07-15 14:53:43-07:00, david-b@pacbell.net [PATCH] USB: ethernet gadget learns about pxa2xx udc The original code needed some updates to work properly with the USB Device Controller found in Intel's PXA 2xx processors. - SET_INTERFACE is effectively unusable. So the driver now has a "minimalist" mode, with none of the bells and whistles of CDC. - The config symbol will be CONFIG_USB_PXA2XX, since the same controller (modulo errata) is in several processors other than the "older" pxa250. For the record, that "minimalist" mode was the original idea behind this driver ... implementing CDC was a win for interop since most non-MSFT host operating systems support it already, without needing a new driver. There were also a few other minor updates: - Net2280: queue depth shrank a bit, don't use the same endpoint numbers for the IN and OUT sides. (CATC doesn't let filters consider direction, just numbers.) - Join the Jihad! Abolish register_netdev()!! This just nests the gadget-private data structures inside the netdev data structure, instead of the other way around. - Minor cleanups. ChangeSet@1.1455.1.23, 2003-07-15 14:53:33-07:00, david-b@pacbell.net [PATCH] USB: usb net drivers SET_NETDEV_DEV I noticed that Viro's "use alloc_etherdev" patch left a small problem: only "usbnet" did SET_NETDEV_DEV, and that used the wrong driver model device. This has all the usb network drivers use SET_NETDEV_DEV, so the /sys/class/net/*/{device,driver} files link to the relevant usb interface and to its device driver. ChangeSet@1.1455.1.22, 2003-07-15 14:53:20-07:00, david-b@pacbell.net [PATCH] USB: ohci minor tweaks Two small updates: - Report short control reads correctly in an exotic case that our regression tests cover. (Haven't run them with ohci for a long time, it seems...) - IRQ non-delivery bugs (ACPI, APIC, etc) can prevent urbs from unlinking. This prints a warning when that sort of non-USB bug is biting. ChangeSet@1.1455.5.5, 2003-07-15 14:39:40-07:00, davidm@tiger.hpl.hp.com ia64: Change per-CPU implementation so that __get_cpu_var() returns the canonical address (l-value). To get the virtually mapped alias (which is more efficient), use __ia64_per_cpu_var(). The latter is safe only if the address of the l-value is never passed to another CPU (i.e., not stored in any global place). For extremely efficient, portable per-CPU variables, there is now a new API local.h which was introduced by Rusty Russell. To use this, declare a variable of type local_t as a per-CPU variable and then use {__,}cpu_local_FOO() to manipulate such variables. This patch also updated the atomic interface with a 64-bit counter. ChangeSet@1.1455.1.21, 2003-07-15 14:33:37-07:00, greg@kroah.com [PATCH] USB: fix up cdc-acm driver's tty and devfs names. ChangeSet@1.1455.1.20, 2003-07-15 14:33:02-07:00, greg@kroah.com [PATCH] USB: fix up bluetty driver's tty and devfs names. ChangeSet@1.1455.1.19, 2003-07-15 14:32:34-07:00, greg@kroah.com [PATCH] USB: flush all in-flight urbs _before_ disconnect() is called. This solves the module unload problem for some usb-serial drivers (like visor.c and ftdi_sio.c), and makes usb drivers much simpler. ChangeSet@1.1455.1.18, 2003-07-15 14:32:18-07:00, greg@kroah.com [PATCH] USB: remove some warnings when building the documentation. ChangeSet@1.1455.4.2, 2003-07-15 10:53:31-07:00, greg@kroah.com [PATCH] PCI: fix problem with pci remove functions not being built if CONFIG_HOTPLUG was not set This fixes a build problem on sparc, and hopefully will prevent this from happening in the future... ChangeSet@1.1455.7.5, 2003-07-15 22:05:16+10:00, paulus@samba.org PPC32: Fix compilation of powermac CPU frequency switching support. ChangeSet@1.1455.7.4, 2003-07-15 21:54:50+10:00, paulus@samba.org PPC32: Eliminate duplicate variable declarations in arch/ppc/kernel/time.c ChangeSet@1.1455.7.3, 2003-07-15 21:49:57+10:00, paulus@samba.org PPC32: Add SEMTIMEDOP. Patch from Anton Blanchard. ChangeSet@1.1455.7.2, 2003-07-15 21:47:27+10:00, paulus@samba.org PPC32: Add some more system calls - tgkill, utimes, [f]statfs64. Patch from Anton Blanchard. Also reserves a syscall for swapcontext and updates the _syscallN macros. ChangeSet@1.1455.6.6, 2003-07-15 01:29:49-07:00, davem@nuts.ninka.net [TCP/IPV6]: Check for anycast where we check for multicast. ChangeSet@1.1455.5.4, 2003-07-14 22:51:09-07:00, davidm@tiger.hpl.hp.com ia64: Small fixes for 2.6.0-test1 merge. ChangeSet@1.1455.5.3, 2003-07-14 22:46:16-07:00, davidm@tiger.hpl.hp.com ia64: Set the PRT entry's irq member in iosapic_parse_prt(). ChangeSet@1.1455.5.2, 2003-07-14 18:15:00-07:00, willy@debian.org [PATCH] ia64: use has_8259 in acpi_register_irq() acpi_madt is marked as __initdata, so an attempt to use acpi_register_irq() after we discarded init sections would cause us to dereference a random location. Everywhere else uses has_8259 anyway. ChangeSet@1.1455.6.5, 2003-07-14 17:22:42-07:00, kunihiro@ipinfusion.com [IPSEC/IPV6]: Add missing email address to my copyrights. ChangeSet@1.1455.6.4, 2003-07-14 17:18:34-07:00, chas@cmf.nrl.navy.mil [ATM]: Cleanup br2684_ioctl_hook. ChangeSet@1.1455.6.3, 2003-07-14 17:17:59-07:00, chas@cmf.nrl.navy.mil [ATM]: Cleanup pppoatm_ioctl_hook. ChangeSet@1.1455.6.2, 2003-07-14 17:16:07-07:00, ak@muc.de [NET]: Turn softnet_data into per-cpu data. ChangeSet@1.1455.6.1, 2003-07-14 17:11:11-07:00, albertogli@telpin.com.ar [IPVS]: Fix typo in Kconfig file. ChangeSet@1.1455.1.17, 2003-07-14 16:54:25-07:00, mdharm-usb@one-eyed-alien.net [PATCH] USB: remove now-dead mode-translation code This patch removes all of the mode-translation logic. It's no longer needed, as the upper-level drivers now all issue the proper 10-byte commands. This is a large patch, but what it's doing is removing a great deal of unneeded code -- about 650+ lines removed, according to diffstat. Those of you who are having some trouble getting your DVD-RAMs detected properly should have all your problems solved by an upcoming patch from the SCSI folks. It may look like that problem is related to this patch, but it isn't -- it's a side-effect of another SCSI patch to consolidate code. Special thanks to James Bottomley for being patient enough to work with me on these issues on the SCSI layer. This, BTW, makes US_FL_MODE_XLATE a NOP. The symbol is kept for the purpose of allowing unusual_devs.h to be consistent between 2.4 and 2.5 There are still a few places where more code could (potentially) be removed. I need to mull over the UFI specification to be sure, tho. ChangeSet@1.1455.1.16, 2003-07-14 16:54:12-07:00, mdharm-usb@one-eyed-alien.net [PATCH] USB: convert ISD200 and Jumpshot to DMA-safe buffer This patch converts the ISD200 and Jumpshot drivers to use the new DMA-safe buffer. I'd also like to take a moment to thank Alan Stern, who writes many of these patches. Without his help, many of the improvements everyone has seen over the 2.5.x series would not have been possible. ChangeSet@1.1455.5.1, 2003-07-14 16:52: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.1455.4.1, 2003-07-14 16:39:02-07:00, greg@kroah.com Merge kroah.com:/home/greg/linux/BK/bleed-2.5 into kroah.com:/home/greg/linux/BK/pci-2.5 ChangeSet@1.1455.3.5, 2003-07-14 16:33:18-07:00, greg@kroah.com [PATCH] PCI: remove usages of pci slot_name from acpi pci hotplug driver ChangeSet@1.1455.3.4, 2003-07-14 16:33:07-07:00, greg@kroah.com [PATCH] PCI: remove usages of pci slot_name from the pci core code. ChangeSet@1.1388.5.3, 2003-07-14 16:10:24-07:00, willy@debian.org [PATCH] ia64: Add some devinits to pci.c These functions can all be devinit as they're all called from functions which are themselves devinit. ChangeSet@1.1455.2.8, 2003-07-14 16:08:00-07:00, greg@kroah.com [PATCH] USB: fixed up pci slot_name accesses in usb gadget code ChangeSet@1.1455.2.7, 2003-07-14 16:07:51-07:00, greg@kroah.com [PATCH] USB: fixed up pci slot_name accesses in usb code ChangeSet@1.1463, 2003-07-14 13:13:10-07:00, agrover@groveronline.com ACPI: Update version, and other trivialities ChangeSet@1.1461, 2003-07-14 12:50:26-07:00, agrover@groveronline.com ACPI: Dynamically allocate SDT list (suggested by Andi Kleen) ChangeSet@1.1455.1.14, 2003-07-14 09:30:01-07:00, lethal@linux-sh.org [PATCH] shwdt update This patch includes quite a few changes and updates for the shwdt driver (which brings it in sync with LinuxSH CVS HEAD). This fixes up support for the SH-2, and also fixes up some timer brain-damage. ChangeSet@1.1455.1.13, 2003-07-14 09:29:53-07:00, lethal@linux-sh.org [PATCH] PCMCIA: Update hd64465 driver This patch updates the sh-specific hd64465 pcmcia driver for the new API, as well as fixing up some other issues (such as remap_page_range() abuse -- we remap through P3 area instead) which caused it not to compile. Changes by Dominik Brodowski and myself. ChangeSet@1.1455.1.12, 2003-07-14 09:29:46-07:00, lethal@linux-sh.org [PATCH] pvr2fb update Here's an update for pvr2fb (with a patch this time), which makes it compile again. ChangeSet@1.1455.1.11, 2003-07-14 09:22:17-07:00, jgarzik@pobox.com [PATCH] Large PCI bus numbers ppc64 machines can have PCI bus numbers larger than 8 bits, but it looks like pci_device_to_OF_node already handles this case, in both 2.4 and 2.5. We just need the space to store them. ChangeSet@1.1455.1.10, 2003-07-14 09:16:49-07:00, chyang@clusterfs.com [PATCH] unresolved symbol with moduled intermezzo This solves the unresolved symbol problem with modular intermezzo. Also update the MAINTAINERS entry. ChangeSet@1.1455.1.9, 2003-07-14 08:54:57-07:00, alex@ssi.bg [PATCH] Fix irq handling of IO-APIC edge IRQs on UP send_IPI_self is needed to resend irqs with IRQ_PENDING status when enabled. Checked with Ingo, and it's in 2.4-ac for some time. This should fix ide lost interrupts on UP with IO-APIC Ide trigers it this way: - disable_irq - do stuff that triggers IRQ. - irq is IRQ_PENDING - enable_irq - IRQ is lost, needs to be resend. I'll send the patch to fixup IDE disable_irq logic to Bart. ChangeSet@1.1455.1.8, 2003-07-14 08:49:38-07:00, randy.dunlap@verizon.net [PATCH] busmouse: fix memory leak and misc_register failure From Flavio B. Leitner. Fix a memory leak and an unchecked return code in the busmouse driver. ChangeSet@1.1455.1.7, 2003-07-14 08:49:30-07:00, randy.dunlap@verizon.net [PATCH] unchecked return code of copy_to_user in read_profile From Daniele Bellucci . Check the copy_to_user() return code in read_profile(). ChangeSet@1.1455.1.6, 2003-07-14 08:49:23-07:00, randy.dunlap@verizon.net [PATCH] reduce stack usage in wanrouter From Jorn Engel and Randy Dunlap. It reduces stack usage in the WAN router by about 0x500 bytes (from 0x520 to 0x24 when I did it in April). ChangeSet@1.1455.1.5, 2003-07-14 08:49:17-07:00, randy.dunlap@verizon.net [PATCH] syncppp: incomplete function prototype This fixes this warning: syncppp.c:165: warning: function declaration isn't a prototype by adding "void" as the function parameter list. ChangeSet@1.1455.1.4, 2003-07-14 08:49:09-07:00, maneesh@in.ibm.com [PATCH] vfsmount_lock-fix This fixes one place where I missed the replacing dcache_lock with vfsmount_lock in put_namespace(). Tested with CLONE_NEWNS flag also. ChangeSet@1.1455.3.3, 2003-07-13 23:07:27-07:00, greg@kroah.com PCI: fix up error for when CONFIG_PCI=n and scsi.h is included. ChangeSet@1.1455.3.2, 2003-07-13 22:53:19-07:00, nkiesel@tbdnetworks.com [PATCH] PCI: fixup for compile error in pci/legacy.c the last patch forgot to fix the debug code. ChangeSet@1.1455.2.6, 2003-07-13 22:41:37-07:00, ganesh@vxindia.veritas.com [PATCH] USB: more ids for ipaq 3 more device ids added to ipaq.c/ipaq.h Added ids for the Rover P5, Toshiba E310 and E335. Thanks to Matthijs van der Molen, Pavel Stoliarov, Tod B. Schmidt and Matt Hartley. ChangeSet@1.1455.2.5, 2003-07-13 21:44:11-07:00, david@csse.uwa.edu.au [PATCH] USB: Adding DSS-20 SyncStation to ftdi_sio Patch for 2.4.22 ftdi_sio to add DSS-20 SyncStation to ftdi_sio - the SyncStation is the usb cradle for the Sony Ericsson P800 phone. ChangeSet@1.1455.2.4, 2003-07-13 20:24:29-07:00, torvalds@home.osdl.org Linux 2.6.0-test1 First "test" kernel. Same naming we used for 2.4.0 - there it took from May to December to get to the real version. Let's see if we can do it faster this time. TAG: v2.6.0-test1