ChangeSet@1.1204, 2003-08-16 18:36:27-07:00, torvalds@home.osdl.org Fix "no_idt" usage in reboot code, noticed by better asm typechecking in gcc-3.3.1. ChangeSet@1.1202, 2003-08-16 17:52:45-07:00, ambx1@neo.rr.com [PATCH] Remove remaining usage of device.name in PnP This removes three remaining instances of device.name. 1.) the isapnp driver 2.) the protocol management code 3.) the pnp serial driver A name field has been introduced to pnp_dev and pnp_card to store human readable names reported by pnp. ChangeSet@1.1201, 2003-08-16 13:32:58-07:00, torvalds@home.osdl.org Merge bk://kernel.bkbits.net/davem/offset_in_page-2.5 into home.osdl.org:/home/torvalds/v2.5/linux ChangeSet@1.1123.24.1, 2003-08-16 21:24:12+01:00, hch@de.rmk.(none) [PCMCIA] kill remaining pcmcia release timers The scsi ones are already gone in jejb's tree, I'll post a patch to kill the struct fields once the scsi tree and this patch end up merged in mainline. ChangeSet@1.1193.4.3, 2003-08-16 12:46:50-07:00, benh@kernel.crashing.org [PATCH] Fix incorrect pci_ids.h for Radeon A recent patch from James had incorrect PCI IDs for a few Radeon chips (the Radeon M9 chips Ld,Le,Lf and Lg, he used the IDs of the Id,Ie,If and Ig instead). This fixes that and group the properly by family (those got a bit shuffled around lately). ChangeSet@1.1193.4.2, 2003-08-16 12:46:41-07:00, benh@kernel.crashing.org [PATCH] PowerMac: Update for removal of device->name This fixes the build of PowerMac driver core with the removal of struct device "name" field. ChangeSet@1.1193.4.1, 2003-08-16 12:46:33-07:00, benh@kernel.crashing.org [PATCH] Fix ide-scsi build with driver model change This fixes build of ide-scsi after removal of struct device.name ChangeSet@1.1193.3.2, 2003-08-16 11:49:09-07:00, davem@kernel.bkbits.net [MM]: Add and use offset_in_page() convenience macro. Based upon patches from Yoshfuji Hideaki ChangeSet@1.1193.3.1, 2003-08-16 12:24:34-07:00, greg@kroah.com [PATCH] Fix Driver Core fixes Firewire Damm, I keep forgetting about firewire, sorry. This should fix the ieee1394 code for the device.name removal, and for the i2c structure changes that happened in 2.6.0-test3. ChangeSet@1.1193.2.16, 2003-08-16 08:12:42-07:00, shemminger@osdl.org [IRDA]: irlap hashbin can be private irlap hashbin is only used in one file, so make it private not global. ChangeSet@1.1193.2.15, 2003-08-16 08:10:57-07:00, shemminger@osdl.org [IRDA]: irlap_open should take const string. irlap_open should take a constant string because it copies its argument. Therefore, irtty_net_open doesn't have to make a copy! ChangeSet@1.1193.2.14, 2003-08-16 08:09:42-07:00, shemminger@osdl.org [IRDA]: irda_device_setup should match ether_setup. irda_device_setup signature should match ether_setup so it can be used with alloc_netdev. No caller was checking the return value anyway. ChangeSet@1.1193.2.13, 2003-08-16 08:08:31-07:00, shemminger@osdl.org [IRDA]: Fix irtty line disc and module semantics. The irda tty line discipline does not handle the new module paradigm well. This patch fixes that: - initialize line discipline as data, not with code - set module owner - make prototype for irtty_ioctl match expected arguments from tty discipline - get rid of explicit MOD_INC/MOD_DEC ChangeSet@1.1193.2.12, 2003-08-16 08:07:14-07:00, shemminger@osdl.org [IRDA]: Get rid of useless hashbin in irtty. Working on converting IRDA to new netdevice semantics, this is the first of some of the small things I found. The irtty hashbin is created, maintained and never used. Motivation for removing is that the hashbin locking has problems with the locking assumptions in on network device removal. ChangeSet@1.1193.2.11, 2003-08-16 08:02:12-07:00, shemminger@osdl.org [NET]: Add wireless statistics to sysfs. Add wireless statistics to /net/class/ethXX/wireless. ChangeSet@1.1193.2.10, 2003-08-16 08:01:13-07:00, shemminger@osdl.org [NET]: Move code inline if short and used once. Now that unregister_sysfs got smaller, just eliminate it and call class_device_unregister directly. netdev_finish_unregister is called one place, therefore it is easier to understand if we just put those few lines into wait_allrefs state machine. ChangeSet@1.1193.2.9, 2003-08-16 07:59:33-07:00, shemminger@osdl.org [NET]: net-sysfs - use attribute group instead of kobject for statistics. Net statistics were in a kobject only because there was no better way to create a directory. Latest 2.6.0-test3 bk tree, has merged in Pat's change to provide 'attribute groups'. This patch converts netdevice's from a statistic's kobject to attribute group. This is cleaner and fixes some shutdown unload issues as well. Ps. it gets rid of of the object ChangeSet@1.1193.2.8, 2003-08-16 07:56:51-07:00, shemminger@osdl.org [NET]: net-sysfs misc fixes. - define format strings once rather than N times - add GNU license that I forgot in original code - move read_lock out from format_address to show_address so device is alive test is inside of lock. ChangeSet@1.1193.2.7, 2003-08-16 07:54:31-07:00, shemminger@osdl.org [IPV6]: Fix build with CONFIG_XFRM disabled. ChangeSet@1.1193.2.6, 2003-08-16 07:53:13-07:00, yoshfuji@linux-ipv6.org [SCTP]: Fix typo in Kconfig. ChangeSet@1.1193.2.5, 2003-08-16 07:52:06-07:00, shemminger@osdl.org [IPV6]: Set owner on /proc/net/rt6_stats. ChangeSet@1.1193.2.4, 2003-08-16 07:46:04-07:00, kartik_me@hotmail.com [CRYPTO]: Add CAST6 (CAST-256) algorithm. ChangeSet@1.1193.2.3, 2003-08-16 07:43:55-07:00, shemminger@osdl.org [NET]: Network device renaming sysfs fix. ChangeSet@1.1193.2.2, 2003-08-16 07:41:54-07:00, shemminger@osdl.org [NET]: ibmtr - get rid of MOD_INC/DEC. With the new module system MOD_INC/MOD_DEC are no longer necessary. Also changed to new module init/exit macros for function setup. The module exit code can sleep, so calling schedule_timeout is better than spinning. ChangeSet@1.1193.2.1, 2003-08-16 07:36:53-07:00, kyle@debian.org [IPSEC]: Add support for Twofish and Serpent. This patch adds support for the use of twofish and serpent as ESP algorithms. The ESP index numbers given are in accordance with RFC2407, draft-ietf-ipsec-ciph-aes-cbc-00 (before Rijndael was selected), and KAME which assigns 253 to twofishcbc. Support for using twofish was requested on linux-kernel, and since I noticed serpent was missing too, included that as well. ChangeSet@1.1199, 2003-08-16 07:10:10-07:00, davem@nuts.ninka.net [SPARC]: Add sys_fadvise64{,_64} syscall entries. ChangeSet@1.1198, 2003-08-16 07:08:56-07:00, davem@nuts.ninka.net [SPARC64]: Use pci_name() in sparc64 PCI layer. ChangeSet@1.1123.23.1, 2003-08-16 15:06:42+01:00, davej@redhat.com [CPUFREQ] Fix up dumb thinko in powernow-k7 From John Clemens ChangeSet@1.1197, 2003-08-16 07:01:49-07:00, davem@nuts.ninka.net [SCSI]: Use pci_name() in eata_pio.c ChangeSet@1.1196, 2003-08-16 06:44:41-07:00, davem@nuts.ninka.net [INPUT]: Use pci_name() in pcips2 driver. ChangeSet@1.1195, 2003-08-16 06:38:43-07:00, davem@nuts.ninka.net [IDE]: Use pci_name() in amd74xx driver. ChangeSet@1.1194, 2003-08-16 06:36:08-07:00, davem@nuts.ninka.net [IDE]: Fix alim15x3 build after ATI PCI ID changes. ChangeSet@1.1123.22.4, 2003-08-15 18:32:05-07:00, davidm@tiger.hpl.hp.com Move patch from linux-ia64-2.5 to to-linus-2.5 repository. ChangeSet@1.1123.22.3, 2003-08-15 18:03:01-07:00, davidm@tiger.hpl.hp.com ia64: Make things compile with gcc-pre3.4 and work on the simulator. ChangeSet@1.1123.22.2, 2003-08-15 17:42:24-07:00, davidm@tiger.hpl.hp.com entry.S: ia64: Fix prologue directives for sys_clone() and sys_clone2() ChangeSet@1.1189.2.1, 2003-08-15 11:11:01-07:00, greg@kroah.com Merge kroah.com:/home/greg/linux/BK/bleed-2.5 into kroah.com:/home/greg/linux/BK/i2c-2.6 ChangeSet@1.1123.18.8, 2003-08-15 11:06:52-07:00, greg@kroah.com I2C: add adapter and client name files as the driver core no longer provides them. ChangeSet@1.1189.1.1, 2003-08-15 10:33:02-07:00, greg@kroah.com merge ChangeSet@1.1190, 2003-08-15 10:14:29-07:00, greg@kroah.com Merge kroah.com:/home/greg/linux/BK/bleed-2.5 into kroah.com:/home/greg/linux/BK/gregkh-2.6 ChangeSet@1.1152.2.7, 2003-08-15 10:12:59-07:00, greg@kroah.com Driver Core: add warnings if .release functions are not set for objects. This has been in the -mm tree for a while and has helped a lot in finding lots of improper users of the driver core. It also moves the driver core code up quite a few levels on the "Rusty's guide to kernel APIs". ChangeSet@1.1152.2.6, 2003-08-15 10:08:00-07:00, greg@kroah.com Remove usage of struct device.name from scsi core ChangeSet@1.1123.19.22, 2003-08-15 10:05:45-07:00, dhollis@davehollis.com [PATCH] USB: usbnet.c - trailing 'else' that probably breaks net1080 A trailing else in the #ifdef CONFIG_USB_NET1080 block that would prevent it from properly filling the bulk URB. ChangeSet@1.1123.19.21, 2003-08-15 10:01:55-07:00, david-b@pacbell.net [PATCH] USB: usb_start_wait_urb() rewrite The code that manges the synchronous control/bulk calls has been a mess for ages. This patch rewrites it using: - "struct completion" instead of a usb-internal clone therof, - prepare_to_wait()/finish_wait() instead of the tangled mess it now uses (or a new wait_event_timeout call, as in previous versions of this patch). It's a net code shrink and simplification. ChangeSet@1.1188, 2003-08-15 15:34:28+01:00, davej@redhat.com [AGPGART] Kconfig updates for the ATI GART ChangeSet@1.1177.1.1, 2003-08-15 07:29:32-07:00, hirofumi@mail.parknet.co.jp [PATCH] thread coredump oops fix If ->group_leader of current thread already was exiting, group_leader's ->mm is NULL in fill_psinfo(). Then I got Oops. This uses current->mm instead of ->group_leader->mm to dump args. ChangeSet@1.1187, 2003-08-15 15:27:43+01:00, davej@redhat.com [AGPGART] Another missing ioremap() failure check. Again, from Randy Dunlap ChangeSet@1.1186, 2003-08-15 15:22:55+01:00, davej@redhat.com [AGPGART] Remove duplicate agpgart: from printk's. ChangeSet@1.1185, 2003-08-15 15:19:20+01:00, davej@redhat.com [AGPGART] Check ioremap for failure in Serverworks GART driver. Based on patch from Randy Dunlap. ChangeSet@1.1184, 2003-08-15 15:14:02+01:00, davej@redhat.com [AGPGART] Fix compiler warning. Need cacheflush.h for change_page_attr() ChangeSet@1.1183, 2003-08-15 15:10:28+01:00, davej@redhat.com [AGPGART] Kill compiler warnings for ATI GART driver. ChangeSet@1.1182, 2003-08-15 15:03:01+01:00, davej@redhat.com [AGPGART] Plug memory leak in failure path of ATI GATT allocator. ChangeSet@1.1181, 2003-08-15 14:52:38+01:00, davej@redhat.com [AGPGART] Masks cleanup for ATI GART ChangeSet@1.1180, 2003-08-15 14:37:20+01:00, davej@redhat.com [AGPGART] Kill off agp_try_unsupported for ATI. ChangeSet@1.1179, 2003-08-15 14:31:32+01:00, davej@redhat.com [AGPGART] Move ATI PCI IDs to pci_ids.h - sort some of the ATI entries. (note, there are dupes in there that could be fixed up at some point). - Rename PCI_DEVICE_ID_RADEON_IGP to ATI_RS100. RadeonIGP is the family, not the specific chip. ChangeSet@1.1178, 2003-08-15 14:19:16+01:00, davej@redhat.com [AGPGART] Merge ATI IGP GART driver. ChangeSet@1.1177, 2003-08-15 01:31:12-07:00, akpm@osdl.org [PATCH] AS: update as_requeue_request() - Ensure that arq->state is always set (ie. even if io context allocation failed). - Call as_antic_stop() unconditionally - which checks for the same condition. There are other callers which make the same check and should be changed too... ChangeSet@1.1176, 2003-08-15 01:28:43-07:00, rddunlap@osdl.org [PATCH] janitor: use request_module() From: Domen Puncer ChangeSet@1.1175, 2003-08-15 01:28:33-07:00, rddunlap@osdl.org [PATCH] janitor: floppy: use register_blkdev return value From: Daniele Bellucci On failure register_blkdev doesn't necessarly return -ENODEV .. it can return -ENOMEM too. This patch add a little better audit of register_blkdev. ChangeSet@1.1174, 2003-08-15 01:28:26-07:00, rddunlap@osdl.org [PATCH] janitor: dvb: return register_chrdev value From: Daniele Bellucci ChangeSet@1.1173, 2003-08-15 01:28:18-07:00, rddunlap@osdl.org [PATCH] janitor: audit RTC From: Daniele Bellucci Audit create_proc_read_entry in rtc_init and fix coding style too. ChangeSet@1.1172, 2003-08-15 01:28:10-07:00, rddunlap@osdl.org [PATCH] janitor: add static/exit to some modules From: Domen Puncer (2 statics added by rddunlap) ChangeSet@1.1171, 2003-08-15 01:28:02-07:00, rddunlap@osdl.org [PATCH] janitor: handle locking in joydump same as in tmdc From: Domen Puncer Did it the way it is in drivers/input/joystick/tmdc.c ChangeSet@1.1170, 2003-08-15 01:27:54-07:00, rddunlap@osdl.org [PATCH] janitor: input/evdev fix copy_user fault From: Daniele Bellucci ChangeSet@1.1169, 2003-08-15 01:27:47-07:00, rddunlap@osdl.org [PATCH] janitor: input cleanups From: Daniele Bellucci ChangeSet@1.1168, 2003-08-15 01:27:39-07:00, rddunlap@osdl.org [PATCH] janitor: es1370: pci_alloc_consistent error handling From: Leann Ogasawara ChangeSet@1.1167, 2003-08-15 01:27:31-07:00, rddunlap@osdl.org [PATCH] janitor: i810_audio: balance pci_alloc/free_consistent From: Leann Ogasawara ChangeSet@1.1166, 2003-08-15 01:27:23-07:00, rddunlap@osdl.org [PATCH] janitor: use pci_name in emu10k1 From: Eugene Teo Converted code to use pci_name instead of accessing slot_name directly. ChangeSet@1.1165, 2003-08-15 01:27:16-07:00, rddunlap@osdl.org [PATCH] janitor: ite8172: don't init statics to 0 From: Eugene Teo Removed initialisation to zero on static variables. ChangeSet@1.1164, 2003-08-15 01:27:08-07:00, rddunlap@osdl.org [PATCH] janitor: ad1816: don't init statics to 0 From: Eugene Teo Removed initialisation to zero on static variables in sound/oss/ad1816.c. ChangeSet@1.1163, 2003-08-15 01:27:00-07:00, rddunlap@osdl.org [PATCH] janitor: remove bogus locking From: Domen Puncer Matthew Wilcox wrote: > > This routine looks to be bogus to begin with. i'd just remove the > save_flags, cli and restore_flags calls entirely. ChangeSet@1.1162, 2003-08-15 01:26:52-07:00, rddunlap@osdl.org [PATCH] janitor: [sound] don't init statics to 0 From: Leann Ogasawara Uninitialize static variables initialized to 0 so they are pushed to the .bss instead of .data. ChangeSet@1.1161, 2003-08-15 01:26:43-07:00, rddunlap@osdl.org [PATCH] janitor: use -Evalues in cpufreq/speedstep From: Maximilian Attems ChangeSet@1.1160, 2003-08-15 01:26:35-07:00, rddunlap@osdl.org [PATCH] janitor: scsi ioctl error handling From: Daniele Bellucci ChangeSet@1.1159, 2003-08-15 01:26:27-07:00, rddunlap@osdl.org [PATCH] janitor: scsi/qlogicfc error handling From: Leann Ogasawara ChangeSet@1.1158, 2003-08-15 01:26:19-07:00, rddunlap@osdl.org [PATCH] janitor: scsi/gdth error handling From: Daniele Bellucci ChangeSet@1.1157, 2003-08-15 01:26:03-07:00, mingo@elte.hu [PATCH] More timer race fixes Patch from Julie DeWandel. This patch has solved the crashes observed during TPC-C runs on the 16-way box. (I'm confident it will fix the other reported cases as well.) The race is the setting of timer->base to NULL, by del_timer() or __run_timers(). If new_base == old_base in __mod_timer() then we do not re-check timer->base after getting the lock. (the only case where we do not have to re-check the base is in the !old_base case, but the else branch also includes the old_base==new_base case.) The __run_timers() case made the lock_timer() patch not work fully - we cannot use lock_timer() in __run_timers() due to lock ordering. ChangeSet@1.1156, 2003-08-15 01:15:27-07:00, torvalds@home.osdl.org Don't add noisy "deprecated" things to PM. ChangeSet@1.1155, 2003-08-15 00:52:23-07:00, torvalds@home.osdl.org Merge bk://kernel.bkbits.net//home/mochel/linux-2.5-power into home.osdl.org:/home/torvalds/v2.5/linux ChangeSet@1.1152.3.3, 2003-08-15 00:41:46-07:00, torvalds@home.osdl.org Merge bk://kernel.bkbits.net/davem/net-2.5 into home.osdl.org:/home/torvalds/v2.5/linux ChangeSet@1.1152.5.54, 2003-08-15 00:25:36-07:00, akpm@osdl.org [PATCH] Add SELinux entry to MAINTAINERS From: Stephen Smalley This patch adds a SELINUX entry to the MAINTAINERS file. ChangeSet@1.1152.5.53, 2003-08-15 00:25:29-07:00, akpm@osdl.org [PATCH] SELinux inode security init From: Stephen Smalley This patch reworks the SELinux module code that handles inodes initialized before the policy is initially loaded to also cover the case where a pseudo filesystem such as selinuxfs or nfsd directly populate themselves. The list of inode security structures is split into per-superblock lists associated with each superblock security structure, and the initialization is performed by superblock_doinit. ChangeSet@1.1152.5.52, 2003-08-15 00:25:21-07:00, akpm@osdl.org [PATCH] opl3 use-after-free fix From: Shawn Starr opl3 use-after-free fix ChangeSet@1.1152.5.51, 2003-08-15 00:25:14-07:00, akpm@osdl.org [PATCH] Docbook: Make mandocs output more terse From: Michael Still This patch takes into account requests from various LKML members for the mandocs output to be more terse. Information about the copyright, and formatting of the man page is moved into a comment at the start of the groff output. Sample output can be found at: http://www.stillhq.com/linux/mandocs/2.6.0-test3-bk1/ ChangeSet@1.1152.5.50, 2003-08-15 00:25:07-07:00, akpm@osdl.org [PATCH] uinput oops and panic fix From: Aristeu Sergio Rozanski Filho verify maximum number of bits before using set_bit ChangeSet@1.1152.5.49, 2003-08-15 00:24:59-07:00, akpm@osdl.org [PATCH] Use mark_page_accessed() in follow_page() Touching a page via follow_page() counts as a reference so we should be either setting the referenced bit in the pte or running mark_page_accessed(). Altering the pte is tricky because we haven't implemented an atomic pte_mkyoung(). And mark_page_accessed() is better anyway because it has more aging state: it can move the page onto the active list. ChangeSet@1.1152.5.48, 2003-08-15 00:24:51-07:00, akpm@osdl.org [PATCH] access_process_vm() needs to dirty the page If POKETEXT modifies the page it needs to tell the VM about it. ChangeSet@1.1152.5.47, 2003-08-15 00:24:43-07:00, akpm@osdl.org [PATCH] dnotify documentation update From: Stephen Rothwell Fix the dnotify documentation and code example to reflect reality. ChangeSet@1.1152.5.46, 2003-08-15 00:24:35-07:00, akpm@osdl.org [PATCH] bugfix for initialization bug in adm1021 driver From: Rusty Lynch While initializing the adm1021 device, the driver is performing a conversion from fixed point to Celcius on values that were declaired as Celcius. On my Dell Precision 220 this results in a shutdown after a couple of minutes running. The latch simply removes the conversion. ChangeSet@1.1152.5.45, 2003-08-15 00:24:28-07:00, akpm@osdl.org [PATCH] Better argument size tracking in fs/exec.c From: Matthew Wilcox Introduce a new variable "arg_size" and set it appropriately in each arm of the CONFIG_STACK_GROWSUP. This patch fixes a bug for PA-RISC and makes the code cleaner for everyone. ChangeSet@1.1152.5.44, 2003-08-15 00:24:21-07:00, akpm@osdl.org [PATCH] Fix DAC960 oops From: Dave Olien The dynamic queue allocation appears to have exposed a long-standing bug. ChangeSet@1.1152.5.43, 2003-08-15 00:24:13-07:00, akpm@osdl.org [PATCH] nls Makefile fix From: Todor Todorov A missig line fs/nls/Makefile prevents codepage 1250 from compiling and installing whatever the .config value. ChangeSet@1.1152.5.42, 2003-08-15 00:24:05-07:00, akpm@osdl.org [PATCH] Fix strncpy off-by-one error From: Yoshinori Sato It writes one too many zeroes when nulling out the destination. ChangeSet@1.1152.5.41, 2003-08-15 00:23:58-07:00, akpm@osdl.org [PATCH] Make 16-way x440's boot From: Matthew Dobson 16 proc x440 boxen aren't booting mainline kernels right now for many valid configs. This patch makes sure NUMA codepaths aren't executed for SMP configs. It also adds some sane error messages to the code, and cleans up some #ifdefs. ChangeSet@1.1152.5.40, 2003-08-15 00:23:51-07:00, akpm@osdl.org [PATCH] jffs statfs fix From: Josh Boyer jffs was missed in the statfs64 conversions. ChangeSet@1.1152.5.39, 2003-08-15 00:23:44-07:00, akpm@osdl.org [PATCH] state request_firmware() maintainership. From: Manuel Estrada Sainz Add Manuel to MAINTAINERS for request_firmware(). ChangeSet@1.1152.5.38, 2003-08-15 00:23:36-07:00, akpm@osdl.org [PATCH] more documentation for request_firmware() From: Manuel Estrada Sainz Add some higher level docs to Documentation/firmware_class/README. ChangeSet@1.1152.5.37, 2003-08-15 00:23:29-07:00, akpm@osdl.org [PATCH] hugetlbfs - 'recovering' too many blocks on failure From: Zwane Mwaikambo The code appears to be able to add too many blocks back to sbinfo->free_blocks in the failure path. We first do; len = vma->vm_end - vma->vm_start; sbinfo->free_blocks -= len; but then later do; len = (vma->vm_end - vma->vma_start) + (vma->vm_pgoff << HPAGE_SHIFT) error: sbinfo->free_blocks += len; ChangeSet@1.1152.5.36, 2003-08-15 00:23:22-07:00, akpm@osdl.org [PATCH] ipmi_kcs_intf.c compile warning From: Zwane Mwaikambo drivers/char/ipmi/ipmi_kcs_intf.c: In function `acpi_find_bmc': drivers/char/ipmi/ipmi_kcs_intf.c:1088: warning: long unsigned int format, different type arg (arg 2) drivers/char/ipmi/ipmi_kcs_intf.c:1088: warning: long unsigned int format, different type arg (arg 2) ChangeSet@1.1152.5.35, 2003-08-15 00:23:15-07:00, akpm@osdl.org [PATCH] fix [un]likely(), add ptr support From: Albert Cahalan 1. allows likely() and unlikely() to work for pointers 2. fixes likely() (in C, any non-zero value is true) ChangeSet@1.1152.5.34, 2003-08-15 00:23:06-07:00, akpm@osdl.org [PATCH] keyboard.c warning fix drivers/char/keyboard.c: In function `k_fn': drivers/char/keyboard.c:665: warning: comparison is always true due to limited range of data type I didn't want to just delete the code because one day the size of func_table may get smaller, or the type of `value' may get larger. When that happens, the test becomes valid again. ChangeSet@1.1152.5.33, 2003-08-15 00:22:59-07:00, akpm@osdl.org [PATCH] kill warning in jbd/revoke.c From: Peter Chubb If you need a long long format, then cast to long long, not u64. u64 is long on 64-bit architectures. ChangeSet@1.1152.5.32, 2003-08-15 00:22:52-07:00, akpm@osdl.org [PATCH] Kill warning in drivers/input/misc/uinput.c on IA64 From: Peter Chubb Attached patch kills a warning when compiling on a 64-bit architecture (ssize_t is long, not int) ChangeSet@1.1152.5.31, 2003-08-15 00:22:44-07:00, akpm@osdl.org [PATCH] request_firmware fix From: Manuel Estrada Sainz - undo recent change, made in the believe that "buffer" was the size of the whole file, it is just PAGE_SIZE in size. This was causing kernel memory corruption. - Since files are allowed to have unknown sizes, by setting their size to 0, we can't preallocate a buffer of their size on open. - Adapt request_firmware() to the sysfs change. - Adapt drivers/pci/pci-sysfs.c to the sysfs change. ChangeSet@1.1152.5.30, 2003-08-15 00:22:37-07:00, akpm@osdl.org [PATCH] loop oops fix loop-on-file oopses during unmount. This is because lo_queue is now freed during lo_ioctl(LOOP_CLR_FD). I think the scenario is: 1: umount(8) opens /dev/loop0 2: umount(8) runs lo_ioctl(LOOP_CLR_FD) (this frees the queue) 3: umount(8) closes the /dev/loop0 handle. The blockdev layer syncs the blockdev, but its mapping->backing_dev_info now points into la-la-land. We shouldn't be freeing the queue until all refs to it have gone away. This patch gives the queue the same lifetime as the controlling loop_device itself. It also makes the loop driver's queue appear in sysfs again. It would be better to free the queue when the device is not in use, but I'm not sure how we can hook into the blockdev layer to do that. ChangeSet@1.1152.5.29, 2003-08-15 00:22:29-07:00, akpm@osdl.org [PATCH] Kill warning in minix filesystem on 64-bit archs From: Peter Chubb On 64-bit architectures, ino_t is int, not long, so the attached patch is needed to prevent a warning. ChangeSet@1.1152.5.28, 2003-08-15 00:22:18-07:00, akpm@osdl.org [PATCH] fix hugetlbfs slab corruption on umount From: Zwane Mwaikambo hugetlbfs was accessing super_block->s_fs_info after free'ing it. This was because it was being free'd prematurely. I have deferred free until ->put_super(). I have also removed hugetlbfs_kill_super since it now is simply a kill_litter_super. ChangeSet@1.1152.5.27, 2003-08-15 00:22:03-07:00, akpm@osdl.org [PATCH] fix typo in hd.c From: Adrian Bunk hd.c contains a typo ChangeSet@1.1152.5.26, 2003-08-15 00:21:45-07:00, akpm@osdl.org [PATCH] Make MTRR init conform with recommended procedure From: Zwane Mwaikambo This is a patch to make the MTRR initialisation more conformant with what is stated in volume 3 of (10-36 Memory Cache Control). The most notable change is entering the no-fill cache mode before clearing the PGE bit in cr4. Intel also states that we should do the cache flush via the cr3 register shuffle. If there is a problem with the patch please don't hesitate to beat me vigorously with a clue-by-four. It has been tested on a 3x Pentium 133, 8x PIII Xeon 700, 1x Celeron 550 and 32x PIII 500 NUMAQ (hardware courtesy of OSDL) ChangeSet@1.1152.5.25, 2003-08-15 00:21:28-07:00, akpm@osdl.org [PATCH] floppy_init fix From: Andrey Borzenkov The floppy driver doesn't remove /dev/floppy when floppy_init fails. ChangeSet@1.1152.5.24, 2003-08-15 00:21:10-07:00, akpm@osdl.org [PATCH] _devfs_walk_path fix From: Andrey Borzenkov _devfs_walk_path does not check if de it is about to scan is a directory. Next step is spinlock on non-spinlock memory. It requires either artificial setup or really broken driver but fairly easy to reproduce once you know how. It is likely to exist in 2.4 as well. ChangeSet@1.1152.5.23, 2003-08-15 00:20:48-07:00, akpm@osdl.org [PATCH] devfs_mk_dir fix From: Andrey Borzenkov devfs_mk_dir freed wrong de and incorrectly passed to devfsd already freed de. Besides it did not even check if entry found was actually directory. ChangeSet@1.1152.5.22, 2003-08-15 00:20:11-07:00, akpm@osdl.org [PATCH] firmware loader requires hotplug From: Ramn Rey Vicente Fix the config issue with the hotplug firmware loader. The firmware loader use hotplug, so this must be included as a dependency. ChangeSet@1.1152.5.21, 2003-08-15 00:19:32-07:00, akpm@osdl.org [PATCH] handle old-style "root=" arguments When we changed try_name() to handle new-style printable dev_t formatting we broke lots of people's setups. Lilo, grub, etc. Fix that by trying new-style formatting first, then fall back to old-style. People should generally use new-style %u:%u major:minor formatting in the future. ChangeSet@1.1152.5.20, 2003-08-15 00:18:53-07:00, akpm@osdl.org [PATCH] BUG fix for drivers/bluetooth/hci_usb.c From: Vinay K Nallamothu The patch below fixes two pointer reference bugs (shows up as compile time warnings given below) which wrongly take the address of "struct usb_interface*". drivers/bluetooth/hci_usb.c: In function `hci_usb_probe': drivers/bluetooth/hci_usb.c:786: warning: assignment from incompatible pointer type drivers/bluetooth/hci_usb.c:810: warning: assignment from incompatible pointer type ChangeSet@1.1152.5.19, 2003-08-15 00:18:13-07:00, akpm@osdl.org [PATCH] fix ide-scsi for ide_drive_t->queue change From: Mikael Pettersson This patch fixes ide-scsi.c for the ide_drive_t->queue type change in 2.6.0-test3. Without the patch you'll get these new warnings in -test3: drivers/scsi/ide-scsi.c: In function `idescsi_abort': drivers/scsi/ide-scsi.c:875: warning: passing arg 1 of `elv_queue_empty' from incompatible pointer type drivers/scsi/ide-scsi.c: In function `idescsi_reset': drivers/scsi/ide-scsi.c:902: warning: passing arg 1 of `elv_next_request' from incompatible pointer type ChangeSet@1.1152.5.18, 2003-08-15 00:17:34-07:00, akpm@osdl.org [PATCH] probe UDF after reiserfs Bug 1065 (http://bugme.osdl.org/show_bug.cgi?id=1065) points out that there is a risk that UDF will accidentally mount a reiserfs partition, which would prevent a successful boot. Andries points out that probing is unreliable and that users/admins should always specify the root filesystem type on the kernel boot command line with "rootfstype=resierfs". But nobody does that, so we should be trying reiserfs before UDF. ChangeSet@1.1152.5.17, 2003-08-15 00:16:41-07:00, akpm@osdl.org [PATCH] fix task struct refcount bug From: Manfred Spraul (We think this might be the mystery bug which has been hanging about for months) We found a [the?] task struct refcount error: A task that dies sets tsk->state to TASK_ZOMBIE. The next scheduled task checks prev->state, and if it's ZOMBIE, then it decrements the reference count of prev. The prev->state & _ZOMBIE test is not atomic with schedule, thus if prev is scheduled again and dies between dropping the runqueue lock and checking prev->state, then the reference it dropped twice. This is possible with either preemption [schedule_tail is called by ret_from_fork with preemption count 1, finish_arch_switch drops it to 0] or profiling [profile_exit_mmap can sleep on profile_rwsem, called by mmdrop()] enabled. ChangeSet@1.1152.5.16, 2003-08-15 00:15:53-07:00, akpm@osdl.org [PATCH] vt_ioctl warning fixes Several comparisons which can never be true because they're comparing u8's with numbers which are greater than 255. ChangeSet@1.1152.5.15, 2003-08-15 00:15:00-07:00, akpm@osdl.org [PATCH] /proc/net/pnp oops fix ic_servaddr is accessible after boot via /proc/net/pnp. So it cannot be __initdata. davej says that other varibles there are treated the same way, so move them all into the regular data section. ChangeSet@1.1152.5.14, 2003-08-15 00:14:02-07:00, akpm@osdl.org [PATCH] nbd: fix send/receive/shutdown/disconnect races From: Paul Clements Here's the updated patch to fix several race conditions in nbd. It requires reverting the already included (but incomplete) nbd-race-fix.patch that's in -mm5. This patch fixes the following race conditions: 1) adds an increment of req->ref_count to eliminate races between do_nbd_request and nbd_end_request, which resulted in the freeing of in-use requests -- there were races between send/receive, send/shutdown (killall -9 nbd-client), and send/disconnect (nbd-client -d), which are now all fixed 2) adds locking and properly orders the code in NBD_CLEAR_SOCK to eliminate races with other code 3) adds an lo->sock check to nbd_clear_que to eliminate races between do_nbd_request and nbd_clear_que, which resulted in the dequeuing of active requests 4) adds an lo->sock check to NBD_DO_IT to eliminate races with NBD_CLEAR_SOCK, which caused an Oops when "nbd-client -d" was called ChangeSet@1.1152.5.13, 2003-08-15 00:13:03-07:00, akpm@osdl.org [PATCH] Set up P4 thermal interrupt vector on UP From: Zwane Mwaikambo The P4 thermal interrupt vector was only getting set on SMP builds. ChangeSet@1.1152.5.12, 2003-08-15 00:11:42-07:00, akpm@osdl.org [PATCH] reiserfs: Fix handling of some extended inode From: Oleg Drokin This patch fixes a problem in reiserfs' handling of immutable attribute, where every user (not just root) can unset it. Also it adds "append-only" attribute "support" (all the support is in VFS anyway, we only recognise the bit now). Also misleading comment in reiserfs_fs.h is removed. ChangeSet@1.1152.5.11, 2003-08-15 00:10:37-07:00, akpm@osdl.org [PATCH] reiserfs: remove unneeded kunmap From: Oleg Drokin There is a leftover kunmap in reiserfs_unprepare_pages() which was not deleted after conversion to kmap_atomic. This path is virtually never executed, that's why it was not caught earlier. Please apply. ChangeSet@1.1152.5.10, 2003-08-15 00:09:58-07:00, akpm@osdl.org [PATCH] pipe.c: don't write to readonly filesystems The pipe code's mtime and ctime updates are causing writes to read-only mounted filesystems. Fix that up by teaching inode_update_time() to honour readonly mounts, and call it from the pipe code. ChangeSet@1.1152.5.9, 2003-08-15 00:09:14-07:00, akpm@osdl.org [PATCH] standalone elevator noop From: Nick Piggin Following patch seperates elevator noop, and allows it to be treated like the other schedulers. ChangeSet@1.1152.5.8, 2003-08-15 00:08:33-07:00, akpm@osdl.org [PATCH] AS requeue implementation From: Mark Haverkamp Properly implement elevator_t..elevator_requeue_req_fn for the anticipatory scheduler. This fixes some rarely-occurring oops in the IO scheduler. ChangeSet@1.1152.5.7, 2003-08-15 00:07:57-07:00, akpm@osdl.org [PATCH] AS: no trinary states From: Nick Piggin Gets rid of the silly (and undocumented) trinary stateness of ad->changed_batch. Kernel style flags field could now save 20 bytes per asd (request queue) and 4 per arq. But I figure that change can wait until I do autotuning... ChangeSet@1.1152.5.6, 2003-08-15 00:07:26-07:00, akpm@osdl.org [PATCH] AS: remove hash valid stuff From: Nick Piggin The crazy HASH_VALID stuff now makes no difference now. It was there to try to enforce no merging over a barrier, but it turned out that requests can just be reordered. Jens picked this up a a while ago and fixed deadline (and I AS) by simply dispatching all reqs on the queue on encountering a barrier. The hash valid stuff didn't get cleaned up. ChangeSet@1.1152.5.5, 2003-08-15 00:07:00-07:00, akpm@osdl.org [PATCH] timer race fixes From: Ingo Molnar It unifies the functionality of add_timer() and mod_timer(), and makes any combination of the timer API calls completely SMP-safe. del_timer() is still not using the timer lock. this patch fixes the only timer bug in 2.6 i'm aware of: the del_timer_sync() + add_timer() combination in kernel/itimer.c is buggy. This was correct code in 2.4, because there it was safe to do an add_timer() from the timer handler itself, parallel to a del_timer_sync(). If we want to make this safe in 2.6 too (which i think we want to) then we have to make add_timer() almost equivalent to mod_timer(), locking-wise. And once we are at this point i think it's much cleaner to actually make add_timer() a variant of mod_timer(). (There's no locking cost for add_timer(), only the cost of an extra branch. And we've removed another commonly used function from the icache.) ChangeSet@1.1152.5.4, 2003-08-15 00:06:36-07:00, akpm@osdl.org [PATCH] missing #if for 1000 HZ From: Albert Cahalan This should improve timekeeping a bit @ 1000 HZ. ChangeSet@1.1152.5.3, 2003-08-15 00:06:18-07:00, akpm@osdl.org [PATCH] Fix raid "bio too big" failures From: Neil Brown Fix "bio too big" problem with md Whenever a device is attached to an md device, we make sure the sector limits of the md device do not exceed those of the added device. ChangeSet@1.1152.5.2, 2003-08-15 00:06:03-07:00, akpm@osdl.org [PATCH] sys_fadvise64_64 Alas, both POSIX and I got the fadvise() interface wrong. It needs to take a 64-bit length, not a 32-bit one. Because fadvise(POSIX_FADV_DONTNEED) on a 4TB file will require 1000 syscalls. Silly. There are glibc's in the wild which use the existing syscall, so we must make a new one. ChangeSet@1.1152.5.1, 2003-08-15 00:05:55-07:00, akpm@osdl.org [PATCH] fadvise(POSIX_FADV_DONTNEED) fix invalidate_mapping_pages() takes start/end, but fadvise is currently passing it start/len. ChangeSet@1.1152.4.15, 2003-08-14 21:26:37-07:00, shemminger@osdl.org [NET]: Convert YAM driver to seq_file. ChangeSet@1.1152.4.14, 2003-08-14 21:25:53-07:00, shemminger@osdl.org [NET]: Convert YAM driver to dynamic net_device. ChangeSet@1.1152.4.13, 2003-08-14 21:17:14-07:00, shemminger@osdl.org [NETROM]: Fix use after free in socket close. netrom would oops if one did: modprobe netrom ifconfig -a because the code in destroy was freeing the socket then release_sock was called. ChangeSet@1.1152.4.12, 2003-08-14 21:15:59-07:00, shemminger@osdl.org [NETROM]: Convert /proc interface to seq_file. ChangeSet@1.1152.4.11, 2003-08-14 21:15:18-07:00, shemminger@osdl.org [NETROM]: Convert to alloc_netdev(). Convert net_device's from array of structures to an array of pointers, so they can be freed individually on module exit. The net_device_stats are stored at dev->priv. ChangeSet@1.1152.4.10, 2003-08-14 21:13:55-07:00, shemminger@osdl.org [NETROM]: Make lists and locks static since they are only used in one file. ChangeSet@1.1152.4.9, 2003-08-14 21:12:29-07:00, pe1rxq@amsat.org [NETROM]: Use hlist for the routing table information. Note: there is a call to ax25_cb_put commented out, that can be added back when ax25 refcount patches go in. ChangeSet@1.1152.4.8, 2003-08-14 21:11:38-07:00, pe1rxq@amsat.org [NETROM]: Better control over the AX25 devices. ChangeSet@1.1152.4.7, 2003-08-14 21:10:20-07:00, pe1rxq@amsat.org [NETROM]: Lock sockets while doing protocol processing. ChangeSet@1.1152.4.6, 2003-08-14 21:08:53-07:00, pe1rxq@amsat.org [NETROM]: Reserve space in socket header for AX25 header. ChangeSet@1.1152.4.5, 2003-08-14 21:07:25-07:00, pe1rxq@amsat.org [NETROM]: Free buffers in write queue on socket destroy. ChangeSet@1.1152.4.4, 2003-08-14 21:06:09-07:00, pe1rxq@amsat.org [NETROM]: Expire sockets faster on close. ChangeSet@1.1152.4.3, 2003-08-14 21:03:57-07:00, pe1rxq@amsat.org [NETROM]: Fix sysctl initializers. ChangeSet@1.1152.4.2, 2003-08-14 20:59:09-07:00, rddunlap@osdl.org [NET]: Fixing kfree() in SLIP driver. ChangeSet@1.1152.1.2, 2003-08-14 19:31:17-07:00, mochel@osdl.org [power] Register PM subsystem, and create power/ directory in sysfs. - Add file 'state' which provides single point of entry for all PM transitions. File accepts a string specifying what state to enter, which is one of: "standby": Power-on Suspend (aka S1) "suspend": Suspend-to-RAM (aka S3) "hibernate": Suspend-to-disk (aka S4) The names do suck, because they are lifted from the ACPI spec. Better naming suggestions are welcome, though these names are relatively well- known. - Handler for file does little now, but will validate the passed string and call the appropriate functions. - Needs to be integrated with swsusp and ACPI S3 code. ChangeSet@1.1152.2.5, 2003-08-14 16:55:36-07:00, greg@kroah.com Remove usage of struct device.name from bttv driver I missed this on the i2c series of patches. ChangeSet@1.1152.2.4, 2003-08-14 16:53:55-07:00, greg@kroah.com Remove usage of struct device.name from pcmcia layer ChangeSet@1.1152.2.3, 2003-08-14 16:52:13-07:00, greg@kroah.com Remove usage of struct device.name from ide core ChangeSet@1.1152.2.2, 2003-08-14 16:51:20-07:00, greg@kroah.com Remove .name usage from floppy driver. ChangeSet@1.1152.2.1, 2003-08-14 16:31:09-07:00, greg@kroah.com Driver Core: remove struct device.name as it is not needed If a specific driver subsystem needs a name field, they should implement it for just that subsystem. ChangeSet@1.1123.19.20, 2003-08-14 16:22:22-07:00, bellucda@tiscali.it [PATCH] USB: usbvideo cleanup on error ChangeSet@1.1123.19.19, 2003-08-14 15:51:32-07:00, greg@kroah.com USB: handle overloading of usb-serial functions in a much cleaner manner. ChangeSet@1.1123.18.7, 2003-08-14 14:46:08-07:00, greg@kroah.com [PATCH] I2C: fix up the wording for the pii4x bugfix. ChangeSet@1.1152.1.1, 2003-08-14 14:40:55-07:00, mochel@osdl.org Hand Merge ChangeSet@1.1123.18.6, 2003-08-14 14:31:21-07:00, rusty@linux.co.intel.com [PATCH] I2C: bugfix for initialization bug in adm1021 driver While initializing the adm1021 device, the driver is performing a conversion from fixed point to Celcius on values that were declaired as Celcius. On my Dell Precision 220 this results in a shutdown after a couple of minutes running. This is a very simple patch against the 2.6.0-test3 tree that just removes the conversion. ChangeSet@1.1123.18.5, 2003-08-14 14:13:01-07:00, mhoffman@lightlink.com [PATCH] I2C: i2c nforce2.c fixes This patch restores a line that was wrongly removed. There are also some trivial cleanups. It applies & compiles vs. 2.6.0-test3. It's untested (no hardware here). ChangeSet@1.1152, 2003-08-14 12:58:18-07:00, torvalds@home.osdl.org DRI CVS update: bump i810 driver to 1.4. This fixes the DMA interface to be backwards compatible with older XFree86 versions, by looking at the I810_INIT_DMA parameters and figuring out old version semantics. ChangeSet@1.1151, 2003-08-14 12:55:39-07:00, torvalds@home.osdl.org DRI CVS update: document r128 and radeon version numbers ChangeSet@1.1123.1.16, 2003-08-14 12:41:10-07:00, mochel@osdl.org [driver model] Remove 'power' file in favor of 'power' directory. - Only present when CONFIG_PM=y. - Contains 'state' file for controlling power state with new PM infrastructure. ChangeSet@1.1123.1.15, 2003-08-14 12:34:30-07:00, mochel@osdl.org [driver model] Allow per-device shutdown or suspend on driver detach. - Add struct device::detach_state, which tells the core what state to put the device in when it's detached from its driver (on module removal). This is a value in the range of 0-4, with 0 being On and meaning 'Do Nothing', 4 being Off, meaing calling ->shutdown() for the device, and 1-3 being low-power states, meaning call ->suspend() for the device. - Add per-device sysfs file 'detach_state' to control the value of the field. - Add device_device_shutdown() function, and call it from bus.c:: device_detach_driver(). ChangeSet@1.1150, 2003-08-14 11:11:39-07:00, torvalds@home.osdl.org Mark CLONE_DETACHED as being irrelevant: it must match CLONE_THREAD. CLONE_THREAD without CLONE_DETACHED will now return -EINVAL, and for a while we will warn about anything that uses it (there are no known users, but this will help pinpoint any problems if somebody used to care about the invalid combination). ChangeSet@1.1149, 2003-08-14 10:44:14-07:00, christophe@saout.de [PATCH] Fix /sys///dev format: %04x -> %u:%u A part of the 64 bit kdev_t patch already got merged, and it changes the format of /sys/block//dev from %02x%02x to %u:%u. The partition could must also be changed. e.g. cat /sys/block/hda/hda5/dev should return 3:5 instead of 0305 ChangeSet@1.1148, 2003-08-14 09:50:23-07:00, clemens-dated-1061728015.bf63@endorphin.org [PATCH] Fix cryptoloop disk corruption under CBC mode It was caused by improper IV calculation in loop.c ChangeSet@1.1147, 2003-08-14 09:50:15-07:00, clemens-dated-1061728015.bf63@endorphin.org [PATCH] Fix cryptoloop ECB mode cryptoloop won't oops anymore if ECB mode is requested. ChangeSet@1.1146, 2003-08-14 09:25:39-07:00, ak@suse.de [PATCH] Make x86-64 use new compat support code Just call them from the x86-64 entry code. Also implement the x86-64 specific sys32_timer_create. ChangeSet@1.1145, 2003-08-14 09:25:30-07:00, ak@suse.de [PATCH] add posix timer compat functions Add 32bit->64bit conversion functions for POSIX timers. I kept timer_create architecture specific, because it does signal specific stuff which is not portable enough for generic compat. ChangeSet@1.1144, 2003-08-14 09:25:22-07:00, ak@suse.de [PATCH] add compat_utimes Add compat_sys_utimes for 32bit->64bit utimes conversion ChangeSet@1.1143, 2003-08-14 09:25:15-07:00, ak@suse.de [PATCH] add compat_statfs64 Add compat_* functions for statfs64. The 32bit layout unfortunately does not match x86-64. ChangeSet@1.1142, 2003-08-14 09:21:40-07:00, rmk@arm.linux.org.uk [PATCH] Make modules work on ARM This patch allows modules to work for ARM, and is the one thing which prevents the standard tree from building for any ARM machine. After reviewing the /proc/kcore and kclist issues, I've decided that I'm no longer prepared to even _think_ about supporting /proc/kcore on ARM - it just gets too ugly, and adds too much code to make it worth the effort, the time or the energy to implement a solution to that problem. /proc/kcore should probably go away, but in the meantime this just allows ARM to ignore the issues. ChangeSet@1.1141, 2003-08-14 09:16:31-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide: some CodingStyle fixes from 2.4.x for ide-tape.c makes 2.4->2.6 diff noticeable smaller ChangeSet@1.1140, 2003-08-14 09:16:23-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide: remove bogus bh->bio conversion from ide-tape.c and add stripped down buffer_head variant (struct idetape_bh). ide-tape is accessed by a char device (not a block one!), it uses block layer only to queue requests. ChangeSet@1.1139, 2003-08-14 09:16:15-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide: build fixes for ide-tape.c also add missing Kconfig help entry from 2.4.x ChangeSet@1.1138, 2003-08-14 09:16:08-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide: more ide_unregister() fixes - more locking fixes - preserve gendev.parent of the old hwif in the new one ChangeSet@1.1137, 2003-08-14 09:15:59-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide: limit drive capacity to 137GB if host doesn't support LBA48 Noticed by Andries.Brouwer@cwi.nl. Also: - kill probe_lba_addressing() wrapper - rename hwif->addressing to hwif->no_lba48 ChangeSet@1.1136, 2003-08-14 09:15:51-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide: always store disk capacity in u64 From Andries.Brouwer@cwi.nl. - always use drive->capacity48 and kill drive->capacity I've changed drive->capacity48 to drive->capacity64 to avoid confusion. ChangeSet@1.1135, 2003-08-14 09:15:43-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide: disk geometry/capacity cleanups From Andries.Brouwer@cwi.nl. - kill redundant, never executed code in lba_capacity_is_ok() - add idedisk_supports_{hpa,lba48}() helpers - don't recalculate drive->cyl for drives using LBA addressing, we never fall-back to CHS, so its useless and confusing - remove wrong drive->head and drive->sect assignments for LBA-48 - don't overwrite id->lba_capacity and id->lba_capacity_2 ChangeSet@1.1134, 2003-08-14 09:15:35-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] kill HDIO_GETGEO_BIG_RAW ioctl HDIO_GETGEO_BIG_RAW is an ide specific hack introduced in 2.3.99-pre3. There are no known programs using this ioctl. Its aim was to provide current CHS translation to the user-space, but very often it provides what driver thinks is a current translation (drive with LBA have to support only one physical translation, also drive may not support chosen translation and there is no return value check). hdparm -I can be used instead, it provides correct information (and bogus data is still accessible through /proc/ide/hdX/geometry). ChangeSet@1.1132, 2003-08-14 08:56:53-07:00, lkml@mathfillsmewithgreatjoy.com [PATCH] Correct DEVPTS config help The help for CONFIG_DEVPTS_FS claims that devfs "is a more general facility". But that apparently hasn't been true since 2.5.68. This patch removes that claim, and adds a warning to the DEVFS_FS help. ChangeSet@1.1131, 2003-08-14 08:46:09-07:00, torvalds@home.osdl.org Merge http://linux-acpi.bkbits.net/linux-acpi into home.osdl.org:/home/torvalds/v2.5/linux ChangeSet@1.1123.17.5, 2003-08-14 08:45:48-05:00, nathans@sgi.com [XFS] Fix a race condition in async pagebuf IO completion, by moving blk queue manipulation down into pagebuf. Fix some busted comments in page_buf.h, use a more descriptive name for __pagebuf_iorequest. SGI Modid: 2.5.x-xfs:slinx:155788a ChangeSet@1.1123.3.86, 2003-08-13 23:47:49-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] Fix pd.c for new queue allocation From A1tmblwd@netscape.net ChangeSet@1.1123.3.85, 2003-08-13 23:47:41-07:00, Kai.Makisara@kolumbus.fi [PATCH] Email address update This updates my email address. ChangeSet@1.1123.3.84, 2003-08-13 23:47:33-07:00, Kai.Makisara@kolumbus.fi [PATCH] SCSI tape fix for oops in read with wrong block size This corrects the following problem: - release user buffer mapping early in read path (prevent oops in some HBA drivers) ChangeSet@1.1123.3.83, 2003-08-13 23:47:25-07:00, levon@movementarian.org [PATCH] Document mounting of binfmt_misc Patch by Ivan Gyurdiev. ChangeSet@1.1123.3.82, 2003-08-13 23:47:17-07:00, cminyard@mvista.com [PATCH] IPMI updates for 2.6.0-test3 Here are some minor updates to the IPMI driver. They fix the following: * A missing check for copy_to_user() in the watchdog driver. * Removal of unnecessary check_region() calls. * Fixes for the ACPI configuration. The previous one would only work with memory addresses, this will work with memory addresses, ports, and hadle checking that the type is correct. ChangeSet@1.1123.3.81, 2003-08-13 23:38:33-07:00, Andries.Brouwer@cwi.nl [PATCH] hpt366 fix The HPT366 code is broken - it tries to set the interface to too high a speed, which leads to error messages at boot time and/or to data corruption. The typical effect at boot time is hde: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error } hde: set_drive_speed_status: error=0x04 { DriveStatusError } Fixed thus. ChangeSet@1.1123.3.80, 2003-08-13 23:38:25-07:00, neilb@cse.unsw.edu.au [PATCH] Fix bug in sunrpc/server code. When a socket has a request ready it notifies a server thread. When the thread has 'received' the request it calls svc_sock_received to confirm the fact. In some cases, svc_sock_received would be called an extra time and this could lead to linked-list corruption and bad problems. ChangeSet@1.1123.3.79, 2003-08-13 23:38:17-07:00, neilb@cse.unsw.edu.au [PATCH] Disable buggy raid5 handling of read-ahead raid5 tries to honour RWA_MASK, but messes it up and can return bad data. Just ignore RAW_MASK for now. ChangeSet@1.1123.3.78, 2003-08-13 23:38:10-07:00, ak@suse.de [PATCH] x86-64 merge for 2.6.0test3 Without these changes an x86-64 NUMA kernel won't boot in many configurations. The main change is the improved IOMMU code which supports merging of mappings and has various bugfixes. - Update defconfig - Use argument ptregs in 32bit elf_core_copy_task_fpregs - Harden aperture fixup code: read aperture from the AGP bridge if needed, better error checking. - Support nmi_watchdog=panic to panic on watchdog trigger - IOMMU: Support panic on IOMMU overflow (iommu=panic) - IOMMU: Force SAC for mappings >40bits when iommu=force is active (this can potentially give better performance) - IOMMU: Cache northbridges for faster TLB flush - IOMMU: Fix SMP race in TLB flush - IOMMU: Merge pci_alloc_consistent and pci_map_single - IOMMU: Clean up leak tracing - IOMMU: Rewrite pci_map_sg, support merging of mappings On overflow fall back to piece-by-piece mapping. - IOMMU: Tell block layer to assume merging when iommu force is active (this gives better performance with MTP fusion, drawback is that the overflow/fragmentation handling of the IOMMU area is still a big dubious with that) - Fix/clean up per cpu data - Add 64bit clean time(2) - Export cpu_callout_map for IPv6 - Handle nodes with no own memory in NUMA discovery. This fixes boot on various newer Opteron motherboards where the memory is only connected to a single CPU. - Fix fallback path for failed NUMA discovery. numnodes has to be reset. - Check for enabled nodes in NUMA discovery (Eric Biederman) - Remove NUMA emunodes support. Has badly bitrotted. - Add __clear_bit_string for IOMMU code - Add new 32bit system calls to ia32_unistd.h - Remove duplicate default_do_nmi prototype - Make PCI_DMA_BUS_IS_PHYS dependent on no_iommu - Fix padding length of siginfo_t to match glibc - More pci direct access functions. ChangeSet@1.1123.3.77, 2003-08-13 23:38:01-07:00, geert@linux-m68k.org [PATCH] Make SELinux security module compile on m68k ChangeSet@1.1123.3.76, 2003-08-13 23:37:54-07:00, mulix@mulix.org [PATCH] fix trident.c lockup on module load 2.6.0-test2 This patch fixes a kernel lockup with 2.6.0-test2 when the trident.c OSS driver is loaded and the driver attempts to initialize the card. The problem is that in ali_ac97_get() we lock the card->lock spinlock, but never release it on the good path, only on the error path. This patch adds the missing spin_unlock_irqrestore(). This bug snuck in in a 2.4 sync from Alan, and 2.4 appears to suffer from the same problem. A patch for that will be send to Marcelo momentarily. ChangeSet@1.1123.3.75, 2003-08-13 23:37:46-07:00, jamie@shareable.org [PATCH] Fix protocol bugs with NFS and nanoseconds NFS with 2.5.75 as both client and server is broken with GNU Make. The nanosecond field of timestamps of newly touched files is often negative on the client, which is probably why Make fails. The value also bears no relation to the file's nanosecond field on the server. The culprit is htons() used where htonl() should be: - *p++ = htonl((u32) time->tv_sec); *p++ = htons(time->tv_nsec); + *p++ = htonl((u32) time->tv_sec); *p++ = htonl(time->tv_nsec); The rest of this patch corrects nfsd to use microseconds in NFSv2, not nanoseconds. (The client already gets this right, but I have optimised it slightly to avoid division when possible). ChangeSet@1.1123.3.74, 2003-08-13 23:37:38-07:00, msw@redhat.com [PATCH] zap_other_threads() detaches thread group leader The change to detach the threads in zap_other_threads() broke the case where the non-thread-group-leader is the cause of de_thread(). In this case the group leader will be detached and freed before switch_exec_pids() is complete and invalid data will be used. This is a patch that makes sure that the group leader does not get detached and reaped. ChangeSet@1.1123.3.70, 2003-08-13 23:23:58-07:00, romieu@fr.zoreil.com [PATCH] Clean up missing spin_unlock_irqrestore from rrunner driver This is a cleaner fix that avoids having two separate unlock operations. ChangeSet@1.1123.3.69, 2003-08-13 23:13:54-07:00, mikpe@csd.uu.se [PATCH] Disable APIC on reboot This disables the local APIC before reboot. This fixes BIOS reboot problems reported by a few people. disable_local_APIC() now checks if detect_init_APIC() enabled the local APIC via the APIC_BASE MSR, and if so it now disables APIC_BASE. Previously we would leave APIC_BASE enabled, and that made some BIOSen unhappy. The SMP reboot code calls disable_local_APIC(). On SMP HW there is no change since detect_init_APIC() isn't called and APIC_BASE isn't enabled by us. An SMP kernel on UP HW behaves just like an UP_APIC kernel, so it disables APIC_BASE if we enabled it at boot. The UP_APIC disable-before-suspend code is simplified since the existing code to disable APIC_BASE is moved into disable_local_APIC(). (Felix Kühling originally reported the BIOS reboot problem. This is a fixed-up version of his preliminary patch.) ChangeSet@1.1123.3.68, 2003-08-13 23:13:46-07:00, davej@redhat.com [PATCH] logic error in gus_wave driver ChangeSet@1.1123.3.67, 2003-08-13 23:13:38-07:00, davej@redhat.com [PATCH] sparse annotations for ipc/sem ChangeSet@1.1123.3.66, 2003-08-13 23:13:31-07:00, davej@redhat.com [PATCH] sparse annotations for page_alloc Again, more work to do here.. ChangeSet@1.1123.3.65, 2003-08-13 23:13:23-07:00, davej@redhat.com [PATCH] AD1848 claims a card it shouldn't. ChangeSet@1.1123.3.64, 2003-08-13 23:13:15-07:00, davej@redhat.com [PATCH] Remove useless assertions from reiserfs ChangeSet@1.1123.3.63, 2003-08-13 23:13:07-07:00, davej@redhat.com [PATCH] correct tlb_remove_page comment. Remove prototype. It was wrong anyway. ChangeSet@1.1123.3.62, 2003-08-13 23:12:59-07:00, davej@redhat.com [PATCH] LDM 64bit fixup ChangeSet@1.1123.3.61, 2003-08-13 23:12:51-07:00, davej@redhat.com [PATCH] sparse annotations for page-writeback More to do, but its a beginning. ChangeSet@1.1123.3.60, 2003-08-13 23:12:43-07:00, davej@redhat.com [PATCH] EFI 64bit fixup ChangeSet@1.1123.3.59, 2003-08-13 23:12:36-07:00, davej@redhat.com [PATCH] BEFS 64bit fixup ChangeSet@1.1123.3.58, 2003-08-13 23:12:28-07:00, davej@redhat.com [PATCH] sync iocb wakeup if ki_users = 1, we don't do the wakeup, which seems wrong. ChangeSet@1.1123.3.57, 2003-08-13 23:12:20-07:00, davej@redhat.com [PATCH] missing copy_from_user check in mixcom driver. ChangeSet@1.1123.3.56, 2003-08-13 23:12:12-07:00, davej@redhat.com [PATCH] missing copy_from_user check in munich driver ChangeSet@1.1123.3.55, 2003-08-13 23:12:05-07:00, davej@redhat.com [PATCH] Missing spin_unlock_irqrestore from rrunner driver. ChangeSet@1.1123.3.54, 2003-08-13 23:11:57-07:00, davej@redhat.com [PATCH] missing copy_*_user checks in sbni wan driver ChangeSet@1.1123.3.53, 2003-08-13 23:11:49-07:00, davej@redhat.com [PATCH] missing copy_from_user check in comx-proto-fr driver ChangeSet@1.1123.3.52, 2003-08-13 23:11:42-07:00, davej@redhat.com [PATCH] missing copy_to_user check in pc300 wan driver ChangeSet@1.1123.3.51, 2003-08-13 23:11:34-07:00, davej@redhat.com [PATCH] missing copy_from_user check in comx_proto_lapb driver ChangeSet@1.1123.3.50, 2003-08-13 23:11:26-07:00, davej@redhat.com [PATCH] Missing copy_from_user check in comx driver ChangeSet@1.1123.3.49, 2003-08-13 23:11:18-07:00, davej@redhat.com [PATCH] missing copy_to_user check in tun driver. ChangeSet@1.1123.3.48, 2003-08-13 23:11:10-07:00, davej@redhat.com [PATCH] PCMCIA copy_*_user fixes. These copies already did a verify_area above. ChangeSet@1.1123.3.47, 2003-08-13 23:11:03-07:00, davej@redhat.com [PATCH] sparse annotations for MSR driver ChangeSet@1.1123.3.46, 2003-08-13 23:10:55-07:00, davej@redhat.com [PATCH] c99 for blkmtd ChangeSet@1.1123.3.45, 2003-08-13 23:10:47-07:00, davej@redhat.com [PATCH] c99 initiliasers for bttv (2) ChangeSet@1.1123.3.44, 2003-08-13 23:10:39-07:00, davej@redhat.com [PATCH] CodingStyle fixes for drm_agpsupport ChangeSet@1.1123.3.43, 2003-08-13 23:10:31-07:00, davej@redhat.com [PATCH] boolean logic error in fpu emulation. ChangeSet@1.1123.3.42, 2003-08-13 23:10:24-07:00, davej@redhat.com [PATCH] c99 struct initialisers for AMD8111e driver. ChangeSet@1.1123.3.41, 2003-08-13 23:10:16-07:00, davej@redhat.com [PATCH] arcnet indentation fixup ChangeSet@1.1123.3.40, 2003-08-13 23:10:08-07:00, davej@redhat.com [PATCH] FusionMPT 64bit fixup ChangeSet@1.1123.3.39, 2003-08-13 23:10:00-07:00, davej@redhat.com [PATCH] c99 initialisers for bttv ChangeSet@1.1123.3.38, 2003-08-13 23:09:52-07:00, davej@redhat.com [PATCH] misc 3c505 bits - Remove unneeded breaks - Fix double spin_unlock_irqrestore problem ChangeSet@1.1123.3.37, 2003-08-13 23:09:45-07:00, davej@redhat.com [PATCH] remove version.h from bttv ChangeSet@1.1123.3.36, 2003-08-13 23:09:37-07:00, davej@redhat.com [PATCH] Remove unneeded ; from macros in i8042 ChangeSet@1.1123.3.35, 2003-08-13 23:09:29-07:00, davej@redhat.com [PATCH] c99 initialisers for random.c ChangeSet@1.1123.3.34, 2003-08-13 23:09:21-07:00, davej@redhat.com [PATCH] cpu_relax whilst in busy-wait loops. ChangeSet@1.1123.3.33, 2003-08-13 23:09:14-07:00, davej@redhat.com [PATCH] CCISS 64bit fixup. ChangeSet@1.1123.3.32, 2003-08-13 23:09:06-07:00, davej@redhat.com [PATCH] DAC960 64bit fixup ChangeSet@1.1123.3.31, 2003-08-13 23:08:58-07:00, davej@redhat.com [PATCH] Remove duplicate ; at end of macro definitions ChangeSet@1.1123.3.30, 2003-08-13 23:08:50-07:00, davej@redhat.com [PATCH] document easier bitkeeper option. Achieves the same result. From Lenz Grimmer at Mysql AG ChangeSet@1.1123.3.29, 2003-08-13 23:08:42-07:00, davej@redhat.com [PATCH] microcode driver sparse __user annotations. Plus with a little codeshuffling, we can do away with the prototypes. ChangeSet@1.1123.3.28, 2003-08-13 23:08:35-07:00, davej@redhat.com [PATCH] Fix x87 FPU exception status check From Dave Richards (drichards@mahinetworks.com) "While diagnosing an MMX/FPU problem I found a minor problem in the code which diagnoses and generates signals for FPU exceptions. On x86 Stack Fault Exception are a subclass of Invalid Operation. Thus, the FPU status register will have both the SF and IF bits set when a stack fault occurs. The code which turns FPU exceptions into signals was assuming IF would be clear". ChangeSet@1.1123.3.27, 2003-08-13 23:08:27-07:00, davej@redhat.com [PATCH] winchip3d can use same -march as winchip2 ChangeSet@1.1123.3.26, 2003-08-13 23:08:19-07:00, davej@redhat.com [PATCH] Don't refer to devel kernel in Kconfig option ChangeSet@1.1123.3.25, 2003-08-13 23:08:11-07:00, davej@redhat.com [PATCH] Enable OOSTORE on Geode. From Hiroshi Miura ChangeSet@1.1046.567.24, 2003-08-13 16:24:23-07:00, bjorn.helgaas@hp.com [PATCH] ia64: export EFI systab I know this probably needs to get exported somewhere other than /proc, but the rest of efivars is still in /proc and if somebody does convert efivars, they might as well do this systab bit at the same time. ChangeSet@1.1046.567.23, 2003-08-13 16:23:21-07:00, bjorn.helgaas@hp.com [PATCH] ia64: Trivial 2.5 efivars.c whitespace cleanup Convert leading spaces to tabs. ChangeSet@1.1046.567.22, 2003-08-13 16:07:56-07:00, peterc@gelato.unsw.edu.au [PATCH] ia64: Kill warnings in sys_ia32.c This patch kills compilation warnings in sys_ia32.c. ChangeSet@1.1046.567.21, 2003-08-13 16:05:55-07:00, davidm@tiger.hpl.hp.com ia64: Patch by Peter Chubb: Kill _syscallX macros that generate lots of warnings, in favour of inline syscalls for clone() and execve(), and direct calling of kernel functions for other system calls. ChangeSet@1.1046.567.20, 2003-08-13 15:54:24-07:00, jbarnes@sgi.com [PATCH] ia64: is_headless_node fix Fix is_headless_node() macro to use node_to_cpumask(). ChangeSet@1.1123.1.13, 2003-08-13 15:21:18-07:00, mochel@osdl.org [power] Make sure CONFIG_ACPI_SLEEP depends on CONFIG_PM ChangeSet@1.1123.2.4, 2003-08-13 15:21:14-07:00, mochel@osdl.org Merge bk://kernel.bkbits.net//home/mochel/linux-2.5-core into osdl.org:/home/mochel/src/kernel/linux-2.5-core ChangeSet@1.1123.19.18, 2003-08-13 15:15:48-07:00, kevino@asti-usa.com [PATCH] USB: bug in EHCI device reset through transaction This supports another special case: devices can revert to the "default" (address zero) state temporarily in usb_reset_device(). This is the quick fix; 2.6 could get rid of these special cases in ep0 hcd logic by disabling ep0, but 2.4 can't. ChangeSet@1.1123.19.17, 2003-08-13 15:15:35-07:00, davej@redhat.com [PATCH] USB: Add Minolta Dimage F300 to unusual_devs ChangeSet@1.1123.2.3, 2003-08-13 15:10:21-07:00, mochel@osdl.org [sysfs] Don't add ->d_fsdata until dentrys are created. - For both files and directories, we were leaving ->d_fsdata set even when file and directory creation failed. This patch sets the field only after we've successfully created the dentry. ChangeSet@1.1123.19.16, 2003-08-13 14:39:23-07:00, david-b@pacbell.net [PATCH] usb hc cleanup-after-death, oops fix Recently we've seen some oopses reported in code that cleaned up HCs after they died ... like pci-pm not letting ohci-hcd suspend until after the hardware was partly disabled, or users removing a Cardbus adapter with ehci-hcd. One root cause was that the cleanup called hcd->stop() too many times. This patch just does the cleanup that's reasonable to do before the (dead) root hub is cleaned up: it disconnects the other devices. And based on a suggestion from Pavel, a diagnostic always appears -- avoiding mystery. ChangeSet@1.1123.19.15, 2003-08-13 14:39:09-07:00, david-b@pacbell.net [PATCH] USB: usb hcd-pci suspend/resume updates This patch has some updates to the hcd pci power management glue: - removes now-obsolete comments (driver model now exists) - better state transitions: * suspending "dead" controllers needn't oops * multi-resume case (pm bug) simplified * multi-suspend case likewise (not always a bug) * should handle transitions other than D0->D3{hot,cold} - prepares for usb remote wake up support, which will be wanting the driver model suspend/resume code to be ready. ChangeSet@1.1123.19.14, 2003-08-13 14:27:46-07:00, mark@alpha.dyndns.org [PATCH] USB: ov511 sysfs conversion (3/3) This patch adds some read-only files to ov511's sysfs directory. The read/write attributes will be added in a future patch. For now, the read/write-related code is #if'd out to prevent warnings. ChangeSet@1.1123.19.13, 2003-08-13 14:26:55-07:00, mark@alpha.dyndns.org [PATCH] USB: ov511 sysfs conversion (2/3) This patch converts ov511 to dynamically allocate struct video_device, using the new interfaces in videodev.[ch]. This is required to safely support sysfs without races. ChangeSet@1.1123.19.12, 2003-08-13 14:24:25-07:00, mark@alpha.dyndns.org [PATCH] USB: ov511 sysfs conversion (1/3) This is the first in a series of three patches to convert the ov511 driver's /proc/video interface to sysfs. All V4L drivers must undergo this conversion now that /proc/video has been removed from the core. This patch removes ov511's /proc/video support, which allows it to compile again. ChangeSet@1.1123.19.11, 2003-08-13 13:36:06-07:00, greg@kroah.com [PATCH] USB: fix usb class device sysfs representation. Again, I messed up the usage, now we are safe from devices being removed. This fixes a number of error reports from users. ChangeSet@1.1123.1.11, 2003-08-13 11:59:26-07:00, mochel@osdl.org [power] Various swsusp cleanups. - Move SMP check to software_suspend() (from software_resume()), so we will not even attempt to sleep with it enabled. - Make software_resume() a late initcall, removing the explicit call from prepare_namespace(). - Initialize software_suspend_enabled to 1, instead of doing it manually in software_resume(). - Don't explicitly initialzie resume_file. - Remove resume_status variable, as we can simply check for (non-) NULL resume_file string. - "noresume" setup function changed to simply zero first byte of resume_file string, simplifying logic. - Don't attempt to reset swap signature if noresume is specified. - Downstream function (bdev_write_page() wasn't implemented anyway, so we can just remove that also). If noresume is specified, there will still be a suspend image left on the swap partition. It may behoove us to never reset the swap signature, and always leave the image intact on the disk, since it is a valid snapshot that we can resume from at anytime. This unconditional behavior would force the user to add 'mkswap ' to their init scripts to reset the partition to swap use. IMO, this is better anyway. ChangeSet@1.1123.1.10, 2003-08-13 10:55:13-07:00, mochel@osdl.org [swsusp] Remove two panic()s. - Make software_suspend() return an int, so caller can tell what happened. - Do check for HIGHMEM and DISCONTIGMEM early in software_suspend() and fail gracefully, instead of checking far down the call chain and having to call panic(). ChangeSet@1.1123.13.4, 2003-08-13 18:22:20+01:00, davej@redhat.com [AGPGART] Fix overflow on machines with >4GB From Marcelo E Magallon. ChangeSet@1.1130, 2003-08-13 10:11:07-07:00, agrover@groveronline.com ACPI: Update version so we can keep bugreports straight ChangeSet@1.1123.19.10, 2003-08-13 10:09:36-07:00, greg@kroah.com [PATCH] USB: fix up usb-serial drivers now that port[] is an array of pointers. ChangeSet@1.1123.19.9, 2003-08-13 10:08:22-07:00, greg@kroah.com [PATCH] USB: fix usb serial port release problem by untieing it from the usb_serial structure. This fixes the kobject messages when disconnecting a usb serial device that people have been complaining about. ChangeSet@1.1123.1.9, 2003-08-13 10:04:08-07:00, mochel@osdl.org [power] Minor cleanups. From Pavel Machek. ChangeSet@1.1129, 2003-08-13 10:03:58-07:00, agrover@groveronline.com ACPI: Fix ACPI for IA64 on Big Sur machines (HJ Lu) ChangeSet@1.1123.1.8, 2003-08-13 10:03:47-07:00, mochel@osdl.org [power] Check device_suspend() return value in swsusp. From Pavel Machek. ChangeSet@1.1123.9.13, 2003-08-13 04:01:29-07:00, shemminger@osdl.org [NET]: Make lapbether work on 2.6.0-test3. - unneeded include (no proc here) - redundant fields in local device structure + convert to dynamic network device allocation - refcounts on local data are redundant, it is really part of network_device - excessive __inline__ + correctly manage references to underlying network device + cascade unregister + use RCU and RTNL to avoid deadlock + account for bytes as well as packets ChangeSet@1.1123.9.12, 2003-08-13 04:00:11-07:00, shemminger@osdl.org [NET]: Add missing rcu_read_lock to bpqether. ChangeSet@1.1123.9.11, 2003-08-13 03:52:59-07:00, chas@cmf.nrl.navy.mil [ATM]: Cleanup/minor fixes to interrupt handler of LANAI driver (from mitch@sfgoth.com). ChangeSet@1.1123.9.10, 2003-08-13 03:52:02-07:00, chas@cmf.nrl.navy.mil [ATM]: Use likely()/unlikely() in many potential hot-paths of LANAI driver (from mitch@sfgoth.com). ChangeSet@1.1123.9.9, 2003-08-13 03:48:32-07:00, chas@cmf.nrl.navy.mil [ATM]: Fix printk() warnings in LANAI driver (from mitch@sfgoth.com). ChangeSet@1.1123.9.8, 2003-08-13 03:41:23-07:00, klassert@mathematik.ru-chemnitz.de [BRIDGE]: Fix kfree(skb). ChangeSet@1.1123.13.3, 2003-08-13 09:44:22+01:00, davej@redhat.com [AGPGART] VIA AGP3 fixups. From folks at VIA. ChangeSet@1.1123.13.2, 2003-08-13 09:38:51+01:00, davej@redhat.com [AGPGART] Disable calibration cycle when not in AGP3 mode of operation on AGP3 chipset. ChangeSet@1.1128, 2003-08-12 22:45:03-04:00, len.brown@intel.com ACPI dmi_scan.c: delete some incomplete code that broke !SMP + APIC build; add ACPI blacklist comment, move __i386__ out of do_mounts.c and into create mount_root_failed_msg() ChangeSet@1.1123.15.2, 2003-08-12 14:58:03-07:00, trini@kernel.crashing.org PPC32: Restrict when we enable IBM405_ERR{77,51}. Newer IBM40x cores have these problems fixed. ChangeSet@1.1123.1.7, 2003-08-12 09:47:08-07:00, mochel@osdl.org [power] Begin to add sysfs files for controlling device power states. - Moves sysfs controls to drivers/base/power/sysfs.c - Creates dpm_sysfs_{add,remove} to add/remove sysfs attribute group. - Creates 'state' file in 'pm' directory that properly controls device power state at runtime. ChangeSet@1.1127, 2003-08-12 12:46:47-04:00, len.brown@intel.com ACPI: merge andy-2.6 into lenb-2.6 ChangeSet@1.1126, 2003-08-12 12:41:46-04:00, len.brown@intel.com ACPI: merge andy-2.6 into lenb-2.6 ChangeSet@1.1123.1.6, 2003-08-12 09:34:49-07:00, mochel@osdl.org Merge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-core into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-power ChangeSet@1.1123.1.5, 2003-08-12 09:25:20-07:00, mochel@osdl.org [power] Add hooks for runtime device power control. dpm_runtime_{suspend,resume} control the power state of a single device while the system is running. dpm_runtime_suspend() will save state of the device, then attempt to power it down. This happens with interrupts enabled, so if the device does not support that, the device's state is restored, and we continue on our merry way. dpm_runtime_resume() powers the device back on, then restores state of the device. dpm_set_power_state() simply notifies the core of the power state the device is in. Drivers can use this, since they are the only ones that can really tell. ChangeSet@1.1123.14.5, 2003-08-12 09:15:14-07:00, mochel@osdl.org [driver model] Check for probing errors in drivers/base/bus.c From Janice Girouard. Currently if an error is detected when probing a device, this error is not reported. Generally, an error value from errno.h will be returned when the driver->probe function fails. However, these errors are not logged, and the device fails silently. ChangeSet@1.1123.14.4, 2003-08-12 09:07:16-07:00, mochel@osdl.org [driver model] Change class functions to const arguments. From Stephen Hemminger: Several of the class_device functions don't modify their arguments and can take const pointers. ChangeSet@1.1123.14.3, 2003-08-12 08:53:53-07:00, mochel@osdl.org [sysfs] Mark some arguments const. From Stephen Hemminger ChangeSet@1.1123.17.4, 2003-08-12 06:49:01-05:00, nathans@sgi.com [XFS] Fix up the default ACL inherit case, in the presence of failure during applying the default ACL (eg. from ENOSPC). SGI Modid: 2.5.x-xfs:slinx:155553a ChangeSet@1.1123.17.3, 2003-08-12 06:25:53-05:00, nathans@sgi.com [XFS] Use xfs_dev_t size rather than dev_t size in xfs_attr_fork initialization SGI Modid: 2.5.x-xfs:slinx:155551a ChangeSet@1.1123.9.7, 2003-08-11 22:51:09-07:00, shemminger@osdl.org [NET]: Update bpqether for 2.6 This patch fixes several issues with drivers/net/hamradio/bpqether.c in 2.6.0-test3. 1. Fix encapsulation of net_device structure relative to private data (bpqdev) 2. Convert from single-linked list to the list macros. 3. Convert to using seq_file for the /proc interface 4. Fix up locking by switching to RCU and the rtnl semaphore supplied by the network layer. 5. Fix removal cases of ethernet device and bpqether device to work without deadlock. 6. Get rid of MOD_INC/MOD_DEC 7. Get rid of bogus check_devices method of cleanup, just cleanup correctly when device changes state. ChangeSet@1.1123.9.6, 2003-08-11 22:47:11-07:00, rusty@rustcorp.com.au [NETFILTER]: Fix masquerade routing check. Alexey says: Unrelated: giving out->ifindex is a bug, by the way. It can screw up the things a lot. In this context, if you want to be sure that packet will go out expected interface you do plain lookup and drop packet if it gave you some strange route. ChangeSet@1.1123.9.5, 2003-08-11 22:34:01-07:00, davej@redhat.com [SUNRPC]: Remove duplicate access_ok(). ChangeSet@1.1123.9.4, 2003-08-11 22:32:14-07:00, davej@redhat.com [IPV4]: /proc/net/pnp dumps items marked initdata. ChangeSet@1.1123.9.3, 2003-08-11 22:29:07-07:00, davej@redhat.com [IPV6]: Missing break in switch statement of rawv6_getsockopt(). ChangeSet@1.1123.9.2, 2003-08-11 22:15:50-07:00, kartik_me@hotmail.com [CRYPTO]: Add cast5, integration by jmorris@intercode.com.au ChangeSet@1.1123.19.8, 2003-08-11 16:20:45-07:00, david-b@pacbell.net [PATCH] add usb_reset_configuration() Unfortunately, usb_set_configuration() is widely mis-used as a lightweight device reset. That's trouble because setting a configuration must sometimes involve things that don't relate at all to a light reset, and can't be done in contexts like driver probe() calls. This patch updates most usb_set_configuration() users to use a call that provides more appropriate functionality: - Adds a new usb_reset_configuration() call, which never needs to change very much usbcore state. - Uses it to replace most usb_set_configuration() calls, in many serial drivers, hisax, dvb, irda, and so on. - Modifies usb_reset_device() so it issues the control request directly. It's both more of a reset (hides a USB reset) and less of one (altsettings are unchanged). - Makes usbfs return the error code instead of discarding it. Once this goes in, then usb_set_configuration() can be made to work properly (including from sysfs). ChangeSet@1.1123.19.7, 2003-08-11 16:20:15-07:00, david-b@pacbell.net [PATCH] USB: dabusb doesn't claim every ez-usb an21xx device This resolves the annoyance that dabusb claims devices it shouldn't (and hotplugs for them), because of wrongly including the device IDs used by an21xx devices that don't have an ID prom. Mostly affects developers. Deti OK'd such a patch ages ago. ChangeSet@1.1123.18.4, 2003-08-11 15:22:22-07:00, greg@kroah.com i2c: move w83481d to top of link order due to chip address takeover ability. Fixes http://bugme.osdl.org/show_bug.cgi?id=1066 ChangeSet@1.1123.19.6, 2003-08-11 15:12:40-07:00, oliver@neukum.org [PATCH] USB: genelink_tx_fixup fails to check for memory allocation failure this can oops. - check for mem alloc failure ChangeSet@1.1123.19.5, 2003-08-11 15:12:27-07:00, oliver@neukum.org [PATCH] USB: error check for claiming second interface in usbnet - fail if second interface is already claimed ChangeSet@1.1123.19.4, 2003-08-11 15:12:13-07:00, oliver@neukum.org [PATCH] USB: correct error handling in usb_driver_claim_interface() - comment - update commentary ChangeSet@1.1123.19.3, 2003-08-11 15:12:01-07:00, oliver@neukum.org [PATCH] USB: correct error handling in usb_driver_claim_interface() this function races with itself, doesn't return errors and races with releasing interfaces. This patch fixes it by changing the function prototype, introducing locking and having a correct order in releasing interfaces. - API change to check errors in usb_driver_claim_interface and fix a race condition between releasing and reclaiming an interface ChangeSet@1.1123.19.2, 2003-08-11 15:11:46-07:00, oliver@neukum.org [PATCH] USB: return to old timeout handling it seems that I've broken usblp. This reverts to the old behaviour. Please apply. - revert to old timeout handling ChangeSet@1.1123.19.1, 2003-08-11 15:11:02-07:00, oliver@neukum.org [PATCH] USB: ttusb_dec.c: another case of GFP_KERNEL in interrupt - in interrupt usb_submit_urb must use GFP_ATOMIC ChangeSet@1.1123.18.3, 2003-08-11 14:36:57-07:00, greg@kroah.com [PATCH] i2c: fix up "raw" printk() call. ChangeSet@1.1123.18.2, 2003-08-11 14:36:29-07:00, khali@linux-fr.org [PATCH] i2c: user/kernel bug and memory leak in i2c-dev ChangeSet@1.1123.18.1, 2003-08-11 14:36:10-07:00, trini@kernel.crashing.org [PATCH] I2C: Fix for i2c-piix4 with on some boards Hello all. On some boards with an Intel PIIX4 the BIOS (such as the one found on a Force CPCI-735) will incorrectly configure the chipset, and leaves a register in an undefined state causing i2c to behave strangley. The following patches (first vs lm_sensors-2.8.0 and then vs 2.6.0-test3) fixes the issue. ChangeSet@1.1123.17.2, 2003-08-11 15:51:08-05:00, lord@sgi.com [XFS] remove an impossible code path from mkdir and link paths, spotted by Al Viro. SGI Modid: 2.5.x-xfs:slinx:155518a ChangeSet@1.1123.16.1, 2003-08-11 00:11:43-05:00, jejb@raven.il.steeleye.com Merge ssh://mulgrave-w/BK/scsi-misc-2.5 into raven.il.steeleye.com:/home/jejb/BK/scsi-for-linus-2.6 ChangeSet@1.1123.15.1, 2003-08-11 09:30:39+10:00, paulus@samba.org PPC32: Fix compile error on SMP - asm-ppc/smp.h needs linux/threads.h. ChangeSet@1.1123.14.2, 2003-08-10 12:41:18-07:00, mochel@osdl.org [sysfs] Convert struct attribute_group to take array of pointers. From Stephen Hemminger. Needed to use attribute groups effectively. ChangeSet@1.1123.14.1, 2003-08-10 12:12:20-07:00, mochel@osdl.org Merge bk://kernel.bkbits.net//home/mochel/linux-2.5-core into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-core ChangeSet@1.1123.1.4, 2003-08-10 11:58:35-07:00, mochel@osdl.org [power] Add PM usage counting - Add ->pm_users and ->pm_parent fields to struct dev_pm_info. - Add function device_pm_set_parent() The default power parent for a device is the device's physical parent, but a driver may change it to represent a tranversal power dependency. Though it's not incorporated into the suspend/resume sequences yet, the core will respect the power tree, rather than the physical/electrical one. Also added is a power usage count for devices, which indicates how many devices are dependent on that one for power (how many children it has in the power tree). The core will use this count to determine whether or not a device can be put into a low power state or not. ChangeSet@1.1046.591.7, 2003-08-10 10:31:44-05:00, hch@lst.de [PATCH] make sym2 scan devices again It needs a call to scsi_scan_host to find devices. Also remove the superflous scsi_set_device call - scsi_add_host does that for us. ChangeSet@1.1123.12.2, 2003-08-10 06:26:18-07:00, davem@nuts.ninka.net [SPARC]: Fix typos in leo/cg14 fixes. ChangeSet@1.1123.12.1, 2003-08-10 06:16:34-07:00, davem@nuts.ninka.net [SPARC]: Handle switches out of graphics mode properly in sbusfb drivers. ChangeSet@1.1123.11.4, 2003-08-10 14:38:37+02:00, wim@iguana.be [WATCHDOG] alim7101_wdt.c patch3 added WDIOC_SETTIMEOUT and WDIOC_GETTIMEOUT ioctls made timeout (the emulated heartbeat) a module_param made the keepalive ping an internal subroutine ChangeSet@1.1123.11.3, 2003-08-10 14:28:43+02:00, wim@iguana.be [WATCHDOG] alim7101_wdt.c patch2 changed watchdog_info to correctly reflect what the driver offers added WDIOC_GETSTATUS, WDIOC_GETBOOTSTATUS and WDIOC_SETOPTIONS ioctls ChangeSet@1.1123.11.2, 2003-08-10 14:17:40+02:00, wim@iguana.be [WATCHDOG] alim7101_wdt.c patch cleanup comments and trailing spaces added extra printk's to report what problem occured added MODULE_DESCRIPTION ChangeSet@1.1123.10.3, 2003-08-10 12:05:46+02:00, wim@iguana.be [WATCHDOG] sc520_wdt.c patch3 added WDIOC_SETTIMEOUT and WDIOC_GETTIMEOUT ioctls made timeout (the emulated heartbeat) a module_param made the keepalive ping an internal subroutine ChangeSet@1.1123.10.2, 2003-08-10 11:51:23+02:00, wim@iguana.be [WATCHDOG] sc520_wdt.c patch2 changed watchdog_info to correctly reflect what the driver offers added WDIOC_GETSTATUS, WDIOC_GETBOOTSTATUS and WDIOC_SETOPTIONS ioctls ChangeSet@1.1123.10.1, 2003-08-10 11:33:46+02:00, wim@iguana.be [WATCHDOG] sc520_wdt.c patch cleanup comments and trailing spaces add KERN_* tags to printks added extra printk's to report what problem occured ChangeSet@1.1046.1.429, 2003-08-10 01:25:47-04:00, len.brown@intel.com ACPI -- CONFIG_ACPI_HT -- this delta should have been in previous cset ChangeSet@1.1046.1.428, 2003-08-10 01:14:41-04:00, len.brown@intel.com ACPI -- CONFIG_ACPI_HT ChangeSet@1.1046.1.427, 2003-08-10 00:12:08-04:00, len.brown@intel.com ACPI: this delta should have been included in previous cset ChangeSet@1.1123.9.1, 2003-08-09 20:47:38-07:00, jan.oravec@6com.sk [NET]: Set NLM_F_MULTI in answer of RTM_GETADDR dump answer. ChangeSet@1.1046.1.426, 2003-08-09 23:00:59-04:00, len.brown@intel.com ACPI from 2.4: build: add ACPI_HT, delete ACPI_HT_ONLY boot: add acpi={force, off, ht}; delete "noht", "acpismp=" add DMI blacklist from UnitedLinux ChangeSet@1.1123.3.21, 2003-08-09 14:48:24-07:00, bunk@fs.tum.de [NET]: Kill EXPORT_NO_SYMBOLS from meth.c ChangeSet@1.1123.3.20, 2003-08-09 14:47:05-07:00, yoshfuji@linux-ipv6.org [IPV6]: strategy handler for net.ipv6.conf.* forwarding. ChangeSet@1.1123.3.19, 2003-08-09 14:45:29-07:00, wensong@linux-vs.org [IPV4] IPVS: fix the dependence of IP_VS_FTP in Kconfig ChangeSet@1.1123.8.14, 2003-08-09 09:40:17-07:00, tmolina@cablespeed.com [PATCH] Re: Linux 2.6.0-test3: logo patch The following patch has been floating around forever. It is required for several ARM framebuffer drivers, and several other drivers. James has indicated that this is the correct fix back in May. ChangeSet@1.1123.8.13, 2003-08-09 09:40:09-07:00, benh@kernel.crashing.org [PATCH] PowerMac: Ground work for new driver model This provides the necessary infrastructure for PowerMac specific drivers (and actually some Open Firmware platform drivers on non-PowerMacs as well provided somebody port them) to be properly probed & referenced via the new driver model and be part of sysfs. As-is, this patch doesn't break anything nor change any driver. I'll send you individual driver patches as I clean them up & get them tested on as many machines as possible, though I don't expect much problems. ChangeSet@1.1123.8.12, 2003-08-09 09:39:26-07:00, jgarzik@pobox.com [PATCH] PATCH 2.6: fix X86_VENDOR_ID offset in head.S While reviewing my 2.4 backport of the 2.6 cpu capabilities (including the Via RNG support), Mikael Pettersson noticed a bug in both my backport, and 2.6: when NCAPINTS (x86_capability array size) is increased, one must adjust the offset in arch/i386/kernel/head.S also. Contributed by Mikael Pettersson. ChangeSet@1.1123.8.11, 2003-08-09 09:39:19-07:00, herbert@gondor.apana.org.au [PATCH] Fix usb interface change in hisax st5481_* This makes the HISAX ST5481 driver build again with 2.6.0-test3 where the usb_host_config structure has changed. ChangeSet@1.1123.8.10, 2003-08-09 18:31:48+02:00, wim@iguana.be [WATCHDOG] sbc60xxwdt.c patch6 some small clean-ups: do correct errorhandling ChangeSet@1.1123.8.9, 2003-08-09 18:29:13+02:00, wim@iguana.be [WATCHDOG] w83877f_wdt.c patch3 (add timeout features) added WDIOC_SETTIMEOUT and WDIOC_GETTIMEOUT ioctls made timeout (the emulated heartbeat) a module_param made the keepalive ping an internal subroutine ChangeSet@1.1123.8.8, 2003-08-09 18:18:18+02:00, wim@iguana.be [WATCHDOG] w83877f_wdt.c patch2 add CONFIG_WATCHDOG_NOWAYOUT support changed watchdog_info to correctly reflect what the driver offers added WDIOC_GETSTATUS, WDIOC_GETBOOTSTATUS and WDIOC_SETOPTIONS ioctls use module_param ChangeSet@1.1123.8.7, 2003-08-09 17:39:41+02:00, wim@iguana.be [WATCHDOG] w83877f_wdt patch cleanup comments and trailing spaces eliminate extra spin_unlock add KERN_* tags to printks added extra printk's to report what problem occured ChangeSet@1.1123.8.6, 2003-08-09 16:00:53+02:00, wim@iguana.be [WATCHDOG] advantechwdt.c patch2 some small clean-ups (use PFX + report default timeout as it's value in the MODULE_PARM_DESC) ChangeSet@1.1123.8.5, 2003-08-09 15:50:46+02:00, wim@iguana.be [WATCHDOG] sbc60xxwdt.c patch5 some last clean-ups ChangeSet@1.1123.8.4, 2003-08-09 15:44:14+02:00, wim@iguana.be [WATCHDOG] sbc60xxwdt patch4 added extra printk's to report what problem occured ChangeSet@1.1123.8.3, 2003-08-09 15:32:42+02:00, wim@iguana.be [WATCHDOG] sbc60xxwdt patch3 make wdt_stop and wdt_start module params ChangeSet@1.1123.8.2, 2003-08-09 15:10:23+02:00, wim@iguana.be [WATCHDOG] sbc60xxwdt patch2 report default timeout as a number ChangeSet@1.1123.8.1, 2003-08-09 14:34:52+02:00, wim@iguana.be [WATCHDOG] sbc60xxwdt.c patch general cleanup of trailing spaces and comments fix possible wdt_is_open race add KERN_* to printk's changed watchdog_info to correctly reflect what the driver offers added WDIOC_GETSTATUS, WDIOC_GETBOOTSTATUS, WDIOC_SETTIMEOUT, WDIOC_GETTIMEOUT, and WDIOC_SETOPTIONS ioctls made timeout (the emulated heartbeat) a module_param made the keepalive ping an internal subroutine added MODULE_AUTHOR and MODULE_DESCRIPTION info ChangeSet@1.1123.3.18, 2003-08-09 02:35:33-07:00, yoshfuji@linux-ipv6.org [IPV4]: Fix IPVS build with IP_VS_PROTO_TCP disabled. ChangeSet@1.1123.3.17, 2003-08-09 02:15:23-07:00, ak@muc.de [NET]: Allow XFRM subsystem to be optional. ChangeSet@1.1123.7.1, 2003-08-09 02:13:10-07:00, rob@osinvestor.com [SPARC64]: Delete fop->read stub in riowatchdog driver. ChangeSet@1.1123.3.16, 2003-08-09 01:19:29-07:00, shemminger@osdl.org [NET]: Fix tun driver to use private linked lists. ChangeSet@1.1123.3.15, 2003-08-09 01:12:53-07:00, yoshfuji@linux-ipv6.org [IPV6]: Fix typo in linux/ipv6.h ChangeSet@1.1123.3.14, 2003-08-09 01:02:07-07:00, davem@nuts.ninka.net [IPV4]: Fix setting net.ipv4.conf.all.forwarding via sysctl() system call. ChangeSet@1.1123.3.12, 2003-08-08 21:09:36-07:00, torvalds@home.osdl.org Linux 2.6.0-test3 TAG: v2.6.0-test3