ChangeSet@1.1638, 2004-02-05 20:36:49-08:00, torvalds@home.osdl.org Merge PPC update ChangeSet@1.1609.2.3, 2004-02-05 17:28:51-05:00, jgarzik@redhat.com [hamradio mkiss] correctly use spinlocks Somebody didn't build this on SMP ChangeSet@1.1635, 2004-02-05 13:40:40-08:00, ak@muc.de [PATCH] put "kernel_thread_helper" in right linker segment This fixes the "kernel_thread_helper" function so that it is in the right segment (.text) regardless of any other code movement by the compiler (eg "-funit-at-a-time"). ChangeSet@1.1634, 2004-02-05 13:20:42-08:00, akpm@osdl.org [PATCH] ppc64: sysrq helpers should have their active character capitalized From: Anton Blanchard sysrq helpers should have their active character capitalized ChangeSet@1.1633, 2004-02-05 13:20:33-08:00, akpm@osdl.org [PATCH] ppc64: cpus_in_xmon needs to be a cpumask_t, from Milton Miller From: Anton Blanchard Also add cpu_relax() to several spinloops in xmon which wait for other cpus. ChangeSet@1.1632, 2004-02-05 13:20:24-08:00, akpm@osdl.org [PATCH] ppc64: Remove pvr from the paca From: Anton Blanchard Slowly removing non essential things from the paca ChangeSet@1.1631, 2004-02-05 13:20:15-08:00, akpm@osdl.org [PATCH] ppc64: use smp_processor_id everywhere From: anton@samba.org use smp_processor_id everywhere ChangeSet@1.1630, 2004-02-05 13:20:06-08:00, akpm@osdl.org [PATCH] ppc64: Fix another numa bug From: anton@samba.org In some cases we can merge reserved regions with the next node. There was a bug in the way we calculated the overlapping region which caused us to fail during boot. ChangeSet@1.1629, 2004-02-05 13:19:57-08:00, akpm@osdl.org [PATCH] ppc64: use drivers/Kconfig From: anton@samba.org use drivers/Kconfig ChangeSet@1.1628, 2004-02-05 13:19:48-08:00, akpm@osdl.org [PATCH] ppc64: Fix pcibios_scan_all_fns on iSeries, from Jake Moilanen From: anton@samba.org Fix pcibios_scan_all_fns on iSeries, from Jake Moilanen ChangeSet@1.1627, 2004-02-05 13:19:39-08:00, akpm@osdl.org [PATCH] ppc64: Added definition of viomajortype_scsi, from Dave Boutcher From: anton@samba.org Added definition of viomajortype_scsi so drivers/scsi/iSeries_vscsi will compile ChangeSet@1.1626, 2004-02-05 13:19:30-08:00, akpm@osdl.org [PATCH] ppc64: integrate vio.c with 2.6 driver model From: anton@samba.org From: Hollis Blanchard integrate vio.c with 2.6 driver model ChangeSet@1.1625, 2004-02-05 13:19:20-08:00, akpm@osdl.org [PATCH] ppc64: Fixes for OF device tree update code, from Nathan Lynch From: anton@samba.org Fixes for OF device tree update code, from Nathan Lynch ChangeSet@1.1624, 2004-02-05 13:19:11-08:00, akpm@osdl.org [PATCH] ppc64: Fix compiler warnings, from Olof Johansson From: anton@samba.org Fix compiler warnings, from Olof Johansson ChangeSet@1.1623, 2004-02-05 13:19:02-08:00, akpm@osdl.org [PATCH] ppc64: change HSC -> HVSC From: anton@samba.org change HSC -> HVSC ChangeSet@1.1622, 2004-02-05 13:18:53-08:00, akpm@osdl.org [PATCH] ppc64: Fix up iseries updatepp, from Ben Herrenschmidt From: anton@samba.org Fix up iseries updatepp, from Ben Herrenschmidt ChangeSet@1.1621, 2004-02-05 13:18:44-08:00, akpm@osdl.org [PATCH] ppc64: fix up hvc console dev/devfs name, from Milton Miller From: anton@samba.org fix up hvc console dev/devfs name, from Milton Miller ChangeSet@1.1620, 2004-02-05 13:18:34-08:00, akpm@osdl.org [PATCH] ppc64: move hypervisor console code into its own file From: anton@samba.org From: Hollis Blanchard move hypervisor console code into its own file ChangeSet@1.1609.2.2, 2004-02-05 16:12:43-05:00, davem@redhat.com [PATCH] atmel_pci build fix The usual linux/init.h missing include. ChangeSet@1.1619, 2004-02-05 13:07:47-08:00, torvalds@home.osdl.org Merge bk://gkernel.bkbits.net/net-drivers-2.5 into home.osdl.org:/home/torvalds/v2.5/linux ChangeSet@1.1618, 2004-02-05 12:39:37-08:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] remove ide_dma_queued_* ops from ide_hwif_t TCQ code is host independent so remove redundant ide_dma_queued_* ops from ide_hwif_t. If we ever decide to bring back TCQ support this will fix OOPS in ide-disk driver with CONFIG_BLK_DEV_IDE_TCQ_DEFAULT=y and icside/sgiioc4 host drivers (it will also enable TCQ support for these host drivers). Acked by Jens. ChangeSet@1.1617, 2004-02-05 12:39:28-08:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] remove unused __ide_dma_retune() and ide_hwif_t->ide_dma_retune First introduced in kernel 2.3.99-pre3 (added to ide_dmaproc) and never used. ChangeSet@1.1616, 2004-02-05 12:39:18-08:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide-io.c: remove unused unplugged iops Introduced in kernel 2.5.63 and never used. ChangeSet@1.1615, 2004-02-05 12:39:11-08:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] remove unused ide_devices_t from ide.c and ide.h Introduced in kernel 2.5.35 and never used. ChangeSet@1.1614, 2004-02-05 12:39:00-08:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] remove CONFIG_IDEDMA_PCI_WIP Fix CONFIG_HPT34X_AUTODMA to depend directly on CONFIG_EXPERIMENTAL and finally remove CONFIG_IDEDMA_PCI_WIP. ChangeSet@1.1613, 2004-02-05 12:38:50-08:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] remove dead CONFIG_IDEDMA_NEW_DRIVE_LISTINGS Leftover after switch to IDE DMA Model-Firmware blacklist in kernel 2.5.63. ChangeSet@1.1612, 2004-02-05 12:38:40-08:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] fix 'cat /proc/ide//identify' hang (CONFIG_IDE_TASKFILE=y) Some devices need more time to become non-busy after command completion, so use the same timeout in wait_drive_not_busy() (called from task_in_intr() if CONFIG_IDE_TASKFILE_IO=y) as in drive_cmd_intr(). Thanks to Mark Haverkamp for help in fixing this. ChangeSet@1.1609.2.1, 2004-02-05 15:21:49-05:00, jgarzik@redhat.com Merge redhat.com:/spare/repo/netdev-2.6/netdev-alloc-3 into redhat.com:/spare/repo/net-drivers-2.5 ChangeSet@1.1609, 2004-02-05 09:47:48-08:00, viro@www.linux.org.uk [PATCH] scsi/ppa.c cleanup and fixes (9/9) * don't take the unnecessary ->host_lock around ->scsi_done() call. ChangeSet@1.1608, 2004-02-05 09:47:39-08:00, viro@www.linux.org.uk [PATCH] scsi/ppa.c cleanup and fixes (8/9) * switched to proper parport_driver. ChangeSet@1.1607, 2004-02-05 09:47:30-08:00, viro@www.linux.org.uk [PATCH] scsi/ppa.c cleanup and fixes (7/9) * switched to use ->hostdata to get ppa_struct from Scsi_Host, end of messing with ppa_hosts[] ChangeSet@1.1606, 2004-02-05 09:47:21-08:00, viro@www.linux.org.uk [PATCH] scsi/ppa.c cleanup and fixes (6/9) * fixed missing wakeups in ppa_pb_claim()/ppa_wakeup() - if the former had been called just as current holder of port was giving it up, we could set "I'm waiting" flag too late. Cleaned up the timeout logics. ChangeSet@1.1605, 2004-02-05 09:47:09-08:00, viro@www.linux.org.uk [PATCH] scsi/ppa.c cleanup and fixes (5/9) * starting to kill ppa_detect - we move the "probe a single port" logics into a separate function and shift scanning into ppa_driver_init(). Later that will give us a parport_driver ->attach(). ChangeSet@1.1604, 2004-02-05 09:46:34-08:00, viro@www.linux.org.uk [PATCH] scsi/ppa.c cleanup and fixes (4/9) * killed include of scsi_module.h and switched from scsi_register() to scsi_alloc_host(). We still keep the old detect logics at that point, it will be gone later. ChangeSet@1.1603, 2004-02-05 09:45:53-08:00, viro@www.linux.org.uk [PATCH] scsi/ppa.c cleanup and fixes (3/9) * killed ppa_pb_claim() call in ppa_init() ChangeSet@1.1602, 2004-02-05 09:45:08-08:00, viro@www.linux.org.uk [PATCH] scsi/ppa.c cleanup and fixes (2/9) * switched ppa to passing around references to ppa_struct instead of host numbers. ChangeSet@1.1601, 2004-02-05 09:44:13-08:00, viro@www.linux.org.uk [PATCH] scsi/ppa.c cleanup and fixes (1/9) * ppa.c fed through Lindent, functions unused elsewhere (by now - all of them) made static. ChangeSet@1.1600, 2004-02-05 09:43:11-08:00, viro@www.linux.org.uk [PATCH] scsi/imm.c cleanup and fixes (8/8) * switched to proper parport_driver. ChangeSet@1.1599, 2004-02-05 09:41:59-08:00, viro@www.linux.org.uk [PATCH] scsi/imm.c cleanup and fixes (7/8) * switched to use ->hostdata to get imm_struct from Scsi_Host, end of messing with imm_hosts[] ChangeSet@1.1598, 2004-02-05 09:40:55-08:00, viro@www.linux.org.uk [PATCH] scsi/imm.c cleanup and fixes (6/8) * fixed missing wakeups in imm_pb_claim()/imm_wakeup() - if the former had been called just as current holder of port was giving it up, we could set "I'm waiting" flag too late. Cleaned up the timeout logics. ChangeSet@1.1597, 2004-02-05 09:39:40-08:00, viro@www.linux.org.uk [PATCH] scsi/imm.c cleanup and fixes (5/8) * starting to kill imm_detect - we move the "probe a single port" logics into a separate function and shift scanning into imm_driver_init(). Later that will give us a parport_driver ->attach(). ChangeSet@1.1596, 2004-02-05 09:38:20-08:00, viro@www.linux.org.uk [PATCH] scsi/imm.c cleanup and fixes (4/8) * killed include of scsi_module.h and switched from scsi_register() to scsi_alloc_host(). We still keep the old detect logics at that point, it will be gone later. ChangeSet@1.1595, 2004-02-05 09:36:55-08:00, viro@www.linux.org.uk [PATCH] scsi/imm.c cleanup and fixes (3/8) * killed imm_pb_claim() call in imm_init() ChangeSet@1.1594, 2004-02-05 09:35:29-08:00, viro@www.linux.org.uk [PATCH] scsi/imm.c cleanup and fixes (2/8) * switched imm to passing around references to imm_struct instead of host numbers. ChangeSet@1.1593, 2004-02-05 09:34:01-08:00, viro@www.linux.org.uk [PATCH] scsi/imm.c cleanup and fixes (1/8) * imm.c fed through Lindent, functions unused elsewhere (by now - all of them) made static. ChangeSet@1.1592, 2004-02-05 09:32:24-08:00, viro@www.linux.org.uk [PATCH] paride cleanup and fixes (25/25) paride has a ->private field for use by low-level drivers. It's not 64bit-clean - it's int, but is used to store a pointer (bpck6). Fix: replace with unsigned long, update typecasts in users. ChangeSet@1.1591, 2004-02-05 09:30:46-08:00, viro@www.linux.org.uk [PATCH] paride cleanup and fixes (24/25) pd_identify() converted to pd_special_command(). ChangeSet@1.1590, 2004-02-05 09:28:59-08:00, viro@www.linux.org.uk [PATCH] paride cleanup and fixes (23/25) pd_init_units() merged into pd_detect(), pd_drive_count made local to pd_detect(). ChangeSet@1.1589, 2004-02-05 09:27:09-08:00, viro@www.linux.org.uk [PATCH] paride cleanup and fixes (22/25) Now disk->present is not needed - we can always check for disk->gd. Field removed, pd_probe_drive() became void(struct pd_unit *), pd_detect() cleaned up, ChangeSet@1.1588, 2004-02-05 09:25:22-08:00, viro@www.linux.org.uk [PATCH] paride cleanup and fixes (21/25) Moved allocation and setup (but not adding) of gendisk into pd_probe_drive(). ChangeSet@1.1587, 2004-02-05 09:23:39-08:00, viro@www.linux.org.uk [PATCH] paride cleanup and fixes (20/25) Switched everything except pd_identify() to use of special requests. New helper: pd_special_command() - builds special request, feeds it into queue and waits for completion. Moved pi_connect()/pi_disconnect() to the beginning/end of pi_identify. ChangeSet@1.1586, 2004-02-05 09:22:02-08:00, viro@www.linux.org.uk [PATCH] paride cleanup and fixes (19/25) Reordered stuff made pd_ready() inlined renamed ps_timeout to pd_timeout renamed ps_tq to fsm_tq renamed ps_set_intr to fsm_schedule removed unused pd_wait_open. ChangeSet@1.1585, 2004-02-05 09:20:20-08:00, viro@www.linux.org.uk [PATCH] paride cleanup and fixes (18/25) Moved calls of ->connect and ->disconnect into run_fsm(). The only change is that now do_pd_start_io() is ran when we are connected. ChangeSet@1.1584, 2004-02-05 09:18:42-08:00, viro@www.linux.org.uk [PATCH] paride cleanup and fixes (17/25) Equivalent transformation: now that all phase functions are called claimed, we can simplify the logics around claiming - new variable (pd_claimed) keeps track of claim/unclaim we'd done. We check it in the beginning of the loop and do claiming if it's not set. ChangeSet@1.1583, 2004-02-05 09:16:58-08:00, viro@www.linux.org.uk [PATCH] paride cleanup and fixes (16/25) Equivalent transformation: * phase = do_pd_io replaced with phase = NULL, corresponding check + open-coded equivalent added in run_fsm loop. * do_pd_io() is gone. ChangeSet@1.1582, 2004-02-05 09:15:22-08:00, viro@www.linux.org.uk [PATCH] paride cleanup and fixes (15/25) Equivalent transformation: next_request() call expanded. ChangeSet@1.1581, 2004-02-05 09:14:00-08:00, viro@www.linux.org.uk [PATCH] paride cleanup and fixes (14/25) Equivalent transformation: call of pi_do_claimed() in run_fsm() expanded; recursive call of run_fsm() replaced with loop. ChangeSet@1.1580, 2004-02-05 09:12:32-08:00, viro@www.linux.org.uk [PATCH] paride cleanup and fixes (13/25) Equivalent transformation: pi_unclaim() moved from phase functions to run_fsm(). ChangeSet@1.1579, 2004-02-05 09:11:09-08:00, viro@www.linux.org.uk [PATCH] paride cleanup and fixes (12/25) Equivalent transformation: * calls of pi_disconnect() in phase functions expanded. * since both do_pd_read_start() and do_pd_write_start() are always called claimed (as the matter of fact, all phase functions except do_pd_io() are), we can replace call of pi_connect() with direct method call - pi_claim() is no-op there. ChangeSet@1.1578, 2004-02-05 09:09:53-08:00, viro@www.linux.org.uk [PATCH] paride cleanup and fixes (11/25) Equivalent transformation: * new type - enum action. phase functions return it now. run_fsm() looks at the result of phase() and does the corresponding action - next_request(), pi_do_claimed() or ps_set_intr(). ChangeSet@1.1577, 2004-02-05 09:08:47-08:00, viro@www.linux.org.uk [PATCH] paride cleanup and fixes (10/25) Equivalent transformation: * ps_continuation renamed - it's "phase" now. * run_fsm() does what ps_tq_int() used to do * calls of pi_do_claimed(..., func) replaced with phase = func; pi_do_claimed(..., run_fsm); Now all phase functions are called from run_fsm() and we can start pulling the common code into it. ChangeSet@1.1576, 2004-02-05 09:07:39-08:00, viro@www.linux.org.uk [PATCH] paride cleanup and fixes (9/25) Equivalent transformation: do_pd_reqeust1() calls lambda-expanded, function killed. resulting call of ps_set_intr() in next_request() has been moved past dropping pd_lock. ChangeSet@1.1575, 2004-02-05 09:06:25-08:00, viro@www.linux.org.uk [PATCH] paride cleanup and fixes (8/25) Equivalent transformation: instead of having do_pd_request1() calling do_pd_io() via pi_do_claimed() and do_pd_io() calling do_pd_io_start() via ps_set_intr(), do it the other way round. ChangeSet@1.1574, 2004-02-05 09:05:25-08:00, viro@www.linux.org.uk [PATCH] paride cleanup and fixes (7/25) Equivalent transformation: Handling of bogus requests taken into do_pd_io_start() - we call next_request(0) as we would for any other error. We need to call pi_unclaim() before that - on other paths that would happen as a side effect of pi_disconnect(). Setting variables moved into do_pd_io_start() - they don't need pd_lock being held, so we can shift that outside. ChangeSet@1.1573, 2004-02-05 09:04:29-08:00, viro@www.linux.org.uk [PATCH] paride cleanup and fixes (6/25) Equivalent transformation: * new function: do_pd_io_start(). Checks pd_cmd and calls do_pd_read_start() or do_pd_write_start(). * do_pd_read() and do_pd_write() merged into do_pd_io(), which schedules execution of do_pd_io_start(). ChangeSet@1.1572, 2004-02-05 09:03:38-08:00, viro@www.linux.org.uk [PATCH] paride cleanup and fixes (5/25) pd_busy gone - we can check for pd_req != NULL instead. ChangeSet@1.1571, 2004-02-05 09:02:45-08:00, viro@www.linux.org.uk [PATCH] paride cleanup and fixes (4/25) Logics around "if not ready, schedule the same step again" taken out of ps_tq_intr() and into the steps that need it. ChangeSet@1.1570, 2004-02-05 09:02:01-08:00, viro@www.linux.org.uk [PATCH] paride cleanup and fixes (3/25) Removed junk (see the analysis in the previous patch), removed ps_set_intr() arguments. ChangeSet@1.1569, 2004-02-05 09:01:27-08:00, viro@www.linux.org.uk [PATCH] paride cleanup and fixes (2/25) Preparation to crapectomy - expanded include of pseudo.h, split the part of pd_do_request() into pd_do_request1(), leaving in pd_do_request() only the check that FSM is not running and call of pd_do_request1(). Added locking analysis - it's in drivers/block/paride/Transition-notes and it will be used on the next step. Even though the subsequent steps are small, they rely on properties of the damn thing and proof of these properties is hairy. Amazing perversions people manage to produce when writing a trivial FSM - the code is very convoluted for no good reason... ChangeSet@1.1568, 2004-02-05 09:00:52-08:00, viro@www.linux.org.uk [PATCH] paride cleanup and fixes (1/25) * new helper: pi_schedule_claimed() - pi_do_claimed() sans the call of continuation if we don't have to wait; returns 1 if we don't have to wait and 0 otherwise. ChangeSet@1.1567, 2004-02-05 09:00:21-08:00, viro@www.linux.org.uk [PATCH] parport fixes (6/6) daisy.c used to access the topology list with no locking whatsoever. Protected by spinlock, fixed numerous bugs in handling of the single-linked list (I'm not kidding - just take a look at the old parport_daisy_fini() and weep; it is supposed to go through a simple list and remove all entries that satisfy a condition). ChangeSet@1.1566, 2004-02-05 08:59:52-08:00, viro@www.linux.org.uk [PATCH] parport fixes (5/6) bw-qcam.c turned into proper parport driver. Instead of (racy) scanning the list of ports we use ->attach() and ->detach(). ChangeSet@1.1565, 2004-02-05 08:59:29-08:00, viro@www.linux.org.uk [PATCH] parport fixes (4/6) parport_gsc.c turned into proper parisc driver; instead of scanning the list of ports upon rmmod in search of ones that had been created by us, we do cleanup where it belongs - in parisc driver ->remove(). ChangeSet@1.1564, 2004-02-05 08:59:07-08:00, viro@www.linux.org.uk [PATCH] parport fixes (3/6) A bunch of parport_enumerate() users was duplicating parport_find_...() without proper locking. Replaced with use of appropriate helpers, races closed. ChangeSet@1.1563, 2004-02-05 08:58:49-08:00, viro@www.linux.org.uk [PATCH] parport fixes (2/6) We use a new mutex to protect all additions/removals of drivers and ports. That cures a lot of insanity: * driver removals can't hit us in the middle of attach_driver_chain(). Old code simply dies on that. * port removals can't hit us in the middle of driver registration. Again, old code dies on that. * driver ->detach() is allowed to block now. * we are guaranteed that by the time when parport_unregister_driver() returns, all ->detach() calls are finished. Old code did _not_ guarantee that (read: was inherently racy since rmmod of driver could race with port removal and get driver->detach(port) called after the module was gone). * we are guaranteed that driver->attach(port) won't be called more than once. With the old code that was a matter of luck. * removed piles and piles of braindead code. ChangeSet@1.1562, 2004-02-05 08:58:34-08:00, viro@www.linux.org.uk [PATCH] parport fixes (1/6) Current tree has all allocated ports on portlist. However, most of the portlist users assume that we only have announced ports there and break badly if they happen to see the list after port driver has created a port (parport_register_port()) but before it finishes the setup (and calls parport_announce_port()). The only place that wants to see all allocated port is parport_register_port() itself and only to pick the first unused port number. We add a new list (all_ports) and put ports there when allocated; that list is kept ordered by port->number. Ports are placed on portlist only by parport_announce_port(). Gobs of shite in parport_register_port() removed, pile of races closed... ChangeSet@1.1559, 2004-02-05 05:04:45-05:00, simon@thekelleys.org.uk [wireless atmel] update Add PCI device support - there are atmel_pci.ko and atmel_cs.ko modules and a library module called atmel.ko Tweak the PCMCIA card -> firmware table for new cards. Fix workarounds for uniquely broken 3com cards, which were rendered unuable by the 0.9 changes. Bump version to 0.91 ChangeSet@1.1558, 2004-02-05 04:54:45-05:00, willy@debian.org [PATCH] Handle an old acenic card Hi Jes. I really do have a Rev. 5 card, and it works much better treated as a Tigon I than as a Tigon II. ChangeSet@1.1557, 2004-02-05 04:54:37-05:00, achirica@telefonica.net [wireless airo] Add support for mini-pci based cards ChangeSet@1.1556, 2004-02-05 04:48:25-05:00, pe1rxq@amsat.org [PATCH] hamradio driver fixes I send these a while ago but didn't get a reply. Can you apply these patches for the hamradio drivers? details: + scc.c usage of rtnl lock and register_netdev. + scc.c properly initialize timers. + remove cli() call in 6pack.c + fix init of reused devices and remove cli() + scc.c statistics ChangeSet@1.1555, 2004-02-05 04:48:16-05:00, benh@kernel.crashing.org [PATCH] bmac network driver update Hi ! I didn't include that with the bitkeeper based PowerMac updates so Jeff can assume his role as maintainer/filter of network driver updates :) Here's my latest update to this pmac-only driver, please apply if you are ok with it. The driver now uses the macio infrastructure for detection & power management notifications, getting into sysfs at the same time. Ben. # This is a BitKeeper generated diff -Nru style patch. # # ChangeSet # 2004/01/23 09:38:35+11:00 benh@kernel.crashing.org # Update PowerMac "bmac" driver to the "macio" device so it fits in sysfs # and gets proper power management ordering # # drivers/net/bmac.c # 2004/01/23 09:38:22+11:00 benh@kernel.crashing.org +185 -203 # Update PowerMac "bmac" driver to the "macio" device so it fits in sysfs # and gets proper power management ordering # ChangeSet@1.1554, 2004-02-05 04:48:08-05:00, c-d.hailfinger.kernel.2004@gmx.net [PATCH] [2.6] Update forcedeth to 0.23 This is a multi-part message in MIME format. ChangeSet@1.1551.2.5, 2004-02-04 23:20:26-08:00, chas@cmf.nrl.navy.mil [ATM]: [clip] check return code from kmem_cache_create (by "Randy.Dunlap" ) ChangeSet@1.1551.2.4, 2004-02-04 23:18:35-08:00, chas@cmf.nrl.navy.mil [ATM]: [idt77252] fix dma_addr_t type error with CONFIG_HIGHMEM64G=y (by "Randy.Dunlap" ) ChangeSet@1.1551.2.3, 2004-02-04 23:16:56-08:00, yoshfuji@linux-ipv6.org [IPV6]: Make note in headers about shared socket option numbers. ChangeSet@1.1551.2.2, 2004-02-04 23:10:56-08:00, krkumar@us.ibm.com [XFRM]: Do not schedule() when MSG_DONTWAIT. ChangeSet@1.1551.1.41, 2004-02-05 17:24:04+11:00, benh@kernel.crashing.org ppc32: Add thermal management drivers Adds thermal management drivers for desktop G5, Windtunnel G4s, and recent laptops (iBook G4, aluminium 15" and 17" powerbooks) ChangeSet@1.1551.1.40, 2004-02-05 17:17:59+11:00, benh@kernel.crashing.org ppc32: Fix the mac mouse button emulation code Move the call to mac_hid_mouse_emulate_buttongs to the right function so it works again in console mode ChangeSet@1.1551.1.39, 2004-02-05 17:16:06+11:00, benh@kernel.crashing.org ppc32: Update PowerMac cpufreq driver Add support for Apple latest laptops, add a warning when building an SMP kernel (the core cpufreq doesn't scale loops_per_jiffies properly on SMP kernels), cleanup some code. ChangeSet@1.1551.1.38, 2004-02-05 17:14:13+11:00, benh@kernel.crashing.org ppc32: Bring back PowerMac swim3 floppy driver into working state Forward port Paul's latest fixes from 2.4. This driver still need significant work to fit into the "macio" model properly, among others. ChangeSet@1.1551.1.37, 2004-02-05 17:12:24+11:00, benh@kernel.crashing.org ppc32: Use drivers/Kconfig and move some Mac stuffs to drivers/macintosh/Kconfig ChangeSet@1.1551.1.36, 2004-02-05 16:59:34+11:00, benh@kernel.crashing.org ppc32: Update PowerMac laptop backlight control core ChangeSet@1.1551.1.35, 2004-02-05 16:58:36+11:00, benh@kernel.crashing.org ppc32: Update PowerMac via-pmu driver Add support for G5s, add an option for controlling the server mode setting on core99 machines and later. Most of the /proc stuff still need to be moved to sysfs ChangeSet@1.1551.1.34, 2004-02-05 16:56:45+11:00, benh@kernel.crashing.org ppc32: Update PowerMac mediabay driver Fix timings with HZ != 100, fix resource management ChangeSet@1.1551.1.33, 2004-02-05 16:54:22+11:00, benh@kernel.crashing.org ppc32: Update the PowerMac adbhid driver (ADB & laptop mouse/trackpad/keyboard) Fix emulation of some special keys, fix a few problem with laptop keyboards. Finally, fn-backspace works as forward-delete like in Darwin :) ChangeSet@1.1551.1.32, 2004-02-05 16:52:16+11:00, benh@kernel.crashing.org ADB: Minor fix, autopoll list could be lost on a failed bus reset ChangeSet@1.1551.1.31, 2004-02-05 16:51:23+11:00, benh@kernel.crashing.org ppc32: Update the PowerMac "macio" IDE driver Add support for recent chipsets (including G5 ATA/100), update resource management. ChangeSet@1.1551.1.30, 2004-02-05 16:49:40+11:00, benh@kernel.crashing.org ppc32: Update resource management of the PowerMac SCC driver ChangeSet@1.1551.1.29, 2004-02-05 16:47:41+11:00, benh@kernel.crashing.org ppc32: Update PowerMac "mesh" driver. Adapt to "macio" driver infrastructure, cleanup power management, make some functions static, fix IO accessors, remove local list of commands/directions, etc... This driver could use more work & study of the interesting ASIC bugs documented in Apple source code... Note that I'm removing support for the CHRP machines using the MESH as part of the "Hydra" ASIC. Nobody sane really uses that, but if one of the 3 remaining Longtrail users want to fix that, then move Hydra to use the "macio" model... ChangeSet@1.1551.1.28, 2004-02-05 16:44:47+11:00, benh@kernel.crashing.org ppc32: Update the PowerMac 53c94 SCSI driver Adapt to the "macio" driver infrastructure, cleanup IO accessors, remove local list of command/directions, uses infos provided by the SCSI layer. This driver certainly could use some more work. ChangeSet@1.1551.1.27, 2004-02-05 16:38:55+11:00, benh@kernel.crashing.org ppc32: Update macio_asic, add some resource management ChangeSet@1.1551.1.26, 2004-02-05 16:37:52+11:00, benh@kernel.crashing.org ppc32: Add some PowerMac specific PCI IDs ChangeSet@1.1551.1.25, 2004-02-05 16:36:42+11:00, benh@kernel.crashing.org ppc32: Fix a warning with some usages of udelay ChangeSet@1.1551.1.24, 2004-02-05 16:35:38+11:00, benh@kernel.crashing.org ppc32: refcounting fix for of_device.c ChangeSet@1.1551.1.23, 2004-02-05 16:34:35+11:00, benh@kernel.crashing.org ppc32: PowerMac G5 interrupt management The cascaded northbridge MPIC is currently dealt with a special modified version of open_pic.c (open_pic2.c). A better mecanism will have to be found for 2.7 ChangeSet@1.1551.1.22, 2004-02-05 16:32:38+11:00, benh@kernel.crashing.org ppc32: Fix time calibration on some G4 models ChangeSet@1.1551.1.21, 2004-02-05 16:31:37+11:00, benh@kernel.crashing.org ppc32: Fix PowerMac SMP to work with G5s ChangeSet@1.1551.1.20, 2004-02-05 16:30:42+11:00, benh@kernel.crashing.org ppc32: Add support for PowerMac G5 HT/PCI & AGP busses ChangeSet@1.1551.1.19, 2004-02-05 16:29:33+11:00, benh@kernel.crashing.org ppc32: Update PowerMac i2c management Create a low-level synchronous implementation suitable for use by the early boot platform code or other places where the asynchronous driver isn't useable. This also exports the locks used by the real driver to avoid collisions. Use this new implementation to properly setup the clock chip at boot on Apple latest laptops ChangeSet@1.1551.1.18, 2004-02-05 16:22:25+11:00, benh@kernel.crashing.org ppc32: Update PowerMac motherboard support add support for newer laptops and G5 desktops ChangeSet@1.1551.1.17, 2004-02-05 16:20:56+11:00, benh@kernel.crashing.org ppc32: Rework nvram management move drivers/macintosh/nvram.c to drivers/char/generic_nvram.c, update platform hooks, fix powermac nvram driver for newer machines ChangeSet@1.1551.1.16, 2004-02-05 16:15:35+11:00, benh@kernel.crashing.org ppc32: Fix PCI<->OF linkage for G5s AGP bus ChangeSet@1.1551.1.15, 2004-02-05 16:14:19+11:00, benh@kernel.crashing.org ppc32: Update register definitions for Apple chipsets ChangeSet@1.1551.1.14, 2004-02-05 16:13:27+11:00, benh@kernel.crashing.org ppc32: Fix parsing of Open Firmware interrupt tree on G5 ChangeSet@1.1551.1.13, 2004-02-05 16:12:02+11:00, benh@kernel.crashing.org ppc32: Fix initialisation of the POWER4 / G5 MMU Hash table especially related to the use of the btext early debug text engine ChangeSet@1.1551.1.12, 2004-02-05 16:02:48+11:00, benh@kernel.crashing.org ppc32: Fix release_OF_resource() function. It would fail to properly release the resource if taken over by the macio device resource hierarchy. This could still use some locking, but the io resource lock isn't exported ChangeSet@1.1551.1.11, 2004-02-05 16:00:29+11:00, benh@kernel.crashing.org ppc32: Flush the Hash PTE in ptep_test_and_clear_young() Without this, page aging is broken on ppc32 ChangeSet@1.1551.1.10, 2004-02-05 15:58:23+11:00, benh@kernel.crashing.org ppc32: fix a possible race in pte_free() Another processor could be walking the page table in the middle of the PTE page to be freeded. Synchronize with hash_page using the lock. ChangeSet@1.1551.1.9, 2004-02-05 15:56:50+11:00, benh@kernel.crashing.org ppc32: Fix smp_message_pass macro, turn into an inline function ChangeSet@1.1551.1.8, 2004-02-05 15:55:08+11:00, benh@kernel.crashing.org ppc32: Cleanup PowerMac SMP support Add a fix fox machines that don't have HW timebase sync facility ChangeSet@1.1551.1.7, 2004-02-05 15:51:37+11:00, benh@kernel.crashing.org Add Samuel Rydth improved software CPU timebase synchronisation used on machines that don't have a HW facility (or we don't drive it yet like G5s) ChangeSet@1.1551.1.6, 2004-02-05 15:44:29+11:00, benh@kernel.crashing.org ppc32: export clear_user_page, some video-for-linux drivers need it ChangeSet@1.1551.1.5, 2004-02-05 15:35:14+11:00, benh@kernel.crashing.org On G5 machines, we remap the AGP port to bus number 0xf0. XFree contains a hack that is unfixable at the moment for getting the IO base which is hard coded to bus number 0 (AGP on earlier machines). We work around this by passing the IO base of bus 0xf0 when asked for bus 0 in pciconfig_iobase on those machines. Bus 0 is the HT root and has no IOs, so that is safe. ChangeSet@1.1551.1.4, 2004-02-05 15:32:24+11:00, benh@kernel.crashing.org Fix processing of Open Firmware PCI host bridge "ranges" property. We no longer modify the device tree, we use an initdata static array instead. ChangeSet@1.1551.1.3, 2004-02-05 15:29:11+11:00, benh@kernel.crashing.org Move pmac-specific PCI quirks to pmac_pci.c, update cardbus one for new TI controller, add some for fixing up ATA & SATA controllers (switch normal ATA to fully native mode and disable unused function on G5 K2 SATA) ChangeSet@1.1551.1.2, 2004-02-05 15:24:53+11:00, benh@kernel.crashing.org Save and restore HID2 on 750FX CPUs when sleeping/resuming ChangeSet@1.1551.1.1, 2004-02-05 14:47:11+11:00, benh@kernel.crashing.org ppc32: Update/cleanup low level POWER4 & G5 CPU support ChangeSet@1.1552, 2004-02-04 20:41:32-05:00, jgarzik@redhat.com Merge redhat.com:/spare/repo/netdev-2.6/8139too into redhat.com:/spare/repo/net-drivers-2.5 ChangeSet@1.1551, 2004-02-04 13:51:43-08:00, James.Bottomley@SteelEye.com [PATCH] use cramfs as an initrd Now that Al Viro fixed cramfs, it works beautifully as an initrd filesystem. So finally plumb it in. ChangeSet@1.1549.1.1, 2004-02-04 12:48:53-08:00, davem@nuts.davemloft.net Merge nuts.davemloft.net:/disk1/BK/network-2.6 into nuts.davemloft.net:/disk1/BK/net-2.6 ChangeSet@1.1532.10.1, 2004-02-04 11:33:43-08:00, davem@nuts.davemloft.net [SPARC64}: Fix ultra-III and later support of new-style SILO booting. ChangeSet@1.1549, 2004-02-04 11:24:21-08:00, ysato@users.sourceforge.jp [PATCH] H8/300 support update (3/3): bitops o Cleanup reduced and faster code ChangeSet@1.1548, 2004-02-04 11:24:09-08:00, ysato@users.sourceforge.jp [PATCH] H8/300 support update (2/3): compiler warnings o gcc-3.4 warning fix. ChangeSet@1.1547, 2004-02-04 11:23:57-08:00, ysato@users.sourceforge.jp [PATCH] H8/300 support update (1/3): obsolete header o Deleted obsolute header include ChangeSet@1.1546, 2004-02-04 11:20:10-08:00, torvalds@home.osdl.org Merge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6 into home.osdl.org:/home/torvalds/v2.5/linux ChangeSet@1.1532.9.161, 2004-02-04 10:57:45-08:00, sct@redhat.com [PATCH] Fix block device inode list corruptions I've been chasing a weird SELinux bug which shows up mostly when doing installs of a dev-* rpm (ie. creating and overwriting lots of block device inodes), but which I've also seen when doing mkinitrd. It turned out not to be an SELinux problem at all, but a core VFS S_ISBLK bug. It seems that SELinux simply widens the race window. The code at fault is fs/fs-writeback.c:__mark_inode_dirty(): /* * Only add valid (hashed) inodes to the superblock's * dirty list. Add blockdev inodes as well. */ if (!S_ISBLK(inode->i_mode)) { if (hlist_unhashed(&inode->i_hash)) goto out; if (inode->i_state & (I_FREEING|I_CLEAR)) goto out; } The "I_FREEING|I_CLEAR" condition was added after the ISBLK/unhashed tests were already in the source, but I can't see any reason why we'd want the I_FREEING test not to apply to block devices. And indeed, this results in all sorts of inode list corruptions. Simply moving the I_FREEING|I_CLEAR test out of the protection of the S_ISBLK() condition fixes things entirely. The existing 2.6 kernel will reliably fail on me in about 2 seconds once "rpm -Uvh --force dev*.rpm" starts its actual installation of the new inodes. With the patch below I can't reproduce it at all. ChangeSet@1.1532.9.160, 2004-02-04 10:54:15-08:00, akpm@osdl.org [PATCH] Fix ptrace in the vsyscall dso area From: Roland McGrath The #include is the part of this patch that matters, so the #ifdef below works. The rest of the patch removes gratuitous duplication due to some strange aversion to concision in the presence of #ifdef, the kind that is all too common, utterly pointless, and error prone. ChangeSet@1.1532.9.159, 2004-02-04 10:54:06-08:00, akpm@osdl.org [PATCH] Altix update: pci_bus_cvlink.c fixes From: Pat Gefre rch/ia64/sn/io/machvec/pci_bus_cvlink.c Some pretty-print mods Use pin instead of slot for dma_flush init ChangeSet@1.1532.9.158, 2004-02-04 10:53:57-08:00, akpm@osdl.org [PATCH] Altix update: pci_bus_cvlink.c fixes From: Pat Gefre arch/ia64/sn/io/machvec/pci_bus_cvlink.c Couple of checks for kmalloc <= 0 were fixed Some __init and static fixes ChangeSet@1.1532.9.157, 2004-02-04 10:53:48-08:00, akpm@osdl.org [PATCH] Altix update: irq fixes From: Pat Gefre arch/ia64/sn/kernel/irq.c Need to get the cpu from the passed in pcibr struct Made the interrupt list static and gave it a better name - credit jes Some lindent'isms Took out some code that isn't used ..... yet ChangeSet@1.1532.9.156, 2004-02-04 10:53:39-08:00, akpm@osdl.org [PATCH] Altix update: remove pcibr_intr_func() From: Pat Gefre arch/ia64/sn/io/sn2/pcibr/pcibr_intr.c Kill pcibr_intr_func() ChangeSet@1.1532.9.155, 2004-02-04 10:53:30-08:00, akpm@osdl.org [PATCH] Altix update: VGA, keyboard, other changes From: Pat Gefre arch/ia64/sn/kernel/setup.c If generic enabled legacy VGA or kbd - disable them Slightly different check for work arounds and only do it once If there is no klconfig info and we are in the simulator - ignore it Update the pxm_to_nasid() routine. It failed for SP configurations and some SMP configurations where M-bricks used pxm numbers lower that the first c-brick. If we don't find the cpu for pxm, search the memblks for it. ChangeSet@1.1532.9.154, 2004-02-04 10:53:22-08:00, akpm@osdl.org [PATCH] Altix update: early_probe_for_widget() improvement From: Pat Gefre arch/ia64/sn/io/sn2/ml_iograph.c Better code for early_probe_for_widget() ChangeSet@1.1532.9.153, 2004-02-04 10:53:13-08:00, akpm@osdl.org [PATCH] Altix update: pcibr_invalidate_ate check From: Pat Gefre arch/ia64/sn/io/sn2/pcibr/pcibr_ate.c check for pcibr_invalidate_ate 0 used for debugging ChangeSet@1.1532.9.152, 2004-02-04 10:53:04-08:00, akpm@osdl.org [PATCH] Altix update: io changes From: Pat Gefre arch/ia64/sn/io/platform_init/sgi_io_init.c use numionodes instead of numnodes arch/ia64/sn/io/sn2/klconflib.c find_lboard changes - generalized a number of the interface funcs arch/ia64/sn/io/sn2/klgraph.c call the more general find_lboard funcs arch/ia64/sn/io/sn2/ml_iograph.c call the more general lboard funcs arch/ia64/sn/io/sn2/module.c lboard changes mod for headless/memless nodes arch/ia64/sn/io/sn2/pcibr/pcibr_dvr.c isIO9 mod arch/ia64/sn/kernel/setup.c headless/memless mod include/asm-ia64/sn/klconfig.h generalized find_lboard funs ChangeSet@1.1532.9.151, 2004-02-04 10:52:55-08:00, akpm@osdl.org [PATCH] Altix update: add MINIMAL_ATE_FLAG From: Pat Gefre arch/ia64/sn/io/machvec/pci_dma.c Add MINIMAL_ATE_FLAGS() macro usage include/asm-ia64/sn/pci/pcibr.h Add MINIMAL_ATE_FLAG() macro ChangeSet@1.1532.9.150, 2004-02-04 10:52:46-08:00, akpm@osdl.org [PATCH] Altix update: misc changes From: Pat Gefre arch/ia64/sn/io/sn2/pcibr/pcibr_dvr.c extern for pcibr_rrb_alloc_more() include/asm-ia64/sn/pci/pcibr_private.h more unsigned to unsigned int ChangeSet@1.1532.9.149, 2004-02-04 10:52:37-08:00, akpm@osdl.org [PATCH] Altix update: small cleanups From: Pat Gefre arch/ia64/sn/io/io.c@1.12 misc code cleanup no parens on returns remove __psunsigned_t arch/ia64/sn/io/sn2/ml_iograph.c@1.18 no parens on returns arch/ia64/sn/io/sn2/pcibr/pcibr_dvr.c@1.25 no parens on returns use -errno arch/ia64/sn/io/sn2/pcibr/pcibr_hints.c@1.8 no parens on returns arch/ia64/sn/io/sn2/pcibr/pcibr_intr.c@1.15 no parens on returns unsigned to unsigned int arch/ia64/sn/io/sn2/pcibr/pcibr_rrb.c@1.13 no parens on returns use -errno arch/ia64/sn/io/sn2/pcibr/pcibr_slot.c@1.18 no parens on returns use -errno arch/ia64/sn/io/sn2/pciio.c@1.14 oom handling removed ASSERT and funcs not needed arch/ia64/sn/io/sn2/pic.c@1.13 use -errno arch/ia64/sn/io/sn2/shuberror.c@1.12 add delay.h arch/ia64/sn/io/sn2/xbow.c@1.10 include file clean up arch/ia64/sn/io/sn2/xtalk.c@1.9 misc code cleanup no parens on returns arch/ia64/sn/io/xswitch.c@1.11 misc code cleanup arch/ia64/sn/kernel/bte.c@1.5 include file clean up arch/ia64/sn/kernel/mca.c@1.8 include file clean up arch/ia64/sn/kernel/probe.c@1.5 include file clean up arch/ia64/sn/kernel/sn2/prominfo_proc.c@1.3 include file clean up arch/ia64/sn/kernel/sn2/sn2_smp.c@1.9 include file clean up arch/ia64/sn/kernel/sn2/sn_proc_fs.c@1.4 include file clean up drivers/char/sn_serial.c@1.3 include file clean up include/asm-ia64/sn/addrs.h@1.8 include file clean up remove __psunsigned_t include/asm-ia64/sn/alenlist.h@1.8 unsigned to unsigned int include/asm-ia64/sn/arch.h@1.7 include file clean up include/asm-ia64/sn/bte.h@1.6 include file clean up include/asm-ia64/sn/clksupport.h@1.8 include file clean up include/asm-ia64/sn/driver.h@1.5 remove __psunsigned_t include/asm-ia64/sn/hcl.h@1.13 include file clean up include/asm-ia64/sn/hcl_util.h@1.7 include file clean up include/asm-ia64/sn/hwgfs.h@1.5 include file clean up include/asm-ia64/sn/iograph.h@1.9 include file clean up include/asm-ia64/sn/klconfig.h@1.14 remove __psunsigned_t include/asm-ia64/sn/kldir.h@1.5 remove __psunsigned_t include file clean up include/asm-ia64/sn/module.h@1.12 include file clean up include/asm-ia64/sn/nodepda.h@1.14 include file clean up include/asm-ia64/sn/pci/bridge.h@1.13 uchar_t to unsigned char include/asm-ia64/sn/pci/pcibr_private.h@1.20 move PVnnnnnn's include/asm-ia64/sn/pci/pciio.h@1.14 unsigned to unsigned int include/asm-ia64/sn/pci/pciio_private.h@1.10 unsigned to unsigned int include/asm-ia64/sn/pda.h@1.9 include file clean up include/asm-ia64/sn/pio.h@1.7 include file clean up ulong to unsigned long include/asm-ia64/sn/sgi.h@1.11 include file clean up move PVnnnnnn's to here include/asm-ia64/sn/sn2/arch.h@1.6 include file clean up include/asm-ia64/sn/sn2/sn_private.h@1.12 include file clean up remove __psunsigned_t include/asm-ia64/sn/sn_cpuid.h@1.8 include file clean up include/asm-ia64/sn/sn_private.h@1.6 include file clean up include/asm-ia64/sn/types.h@1.6 include file clean up remove __psunsigned_t include/asm-ia64/sn/vector.h@1.6 include file clean up include/asm-ia64/sn/xtalk/xbow.h@1.9 include file clean up misc code cleanup include/asm-ia64/sn/xtalk/xtalk.h@1.12 unsigned to unsigned int include/asm-ia64/sn/xtalk/xwidget.h@1.8 unsigned to unsigned int ChangeSet@1.1532.9.148, 2004-02-04 10:52:26-08:00, akpm@osdl.org [PATCH] Altix update: various, mainly cleanups From: Pat Gefre arch/ia64/sn/io/machvec/pci_bus_cvlink.c Changes for new pcireg_ interfaces pcibr reorg Some code cleanup/reorg arch/ia64/sn/io/machvec/pci_dma.c IS_PCIA64() not needed arch/ia64/sn/io/sn2/ml_iograph.c new pcireg_ interface arch/ia64/sn/io/sn2/pcibr/pcibr_ate.c code reorg/clean up arch/ia64/sn/io/sn2/pcibr/pcibr_config.c code reorg/cleanup arch/ia64/sn/io/sn2/pcibr/pcibr_dvr.c reorg/cleanup arch/ia64/sn/io/sn2/pcibr/pcibr_error.c reorg/cleanup arch/ia64/sn/io/sn2/pcibr/pcibr_intr.c reorg/cleanup arch/ia64/sn/io/sn2/pcibr/pcibr_reg.c Fixed the interface to these functions - one call/data type arch/ia64/sn/io/sn2/pcibr/pcibr_rrb.c reorg/cleanup arch/ia64/sn/io/sn2/pcibr/pcibr_slot.c reorg/cleanup arch/ia64/sn/io/sn2/pciio.c removed unused functions arch/ia64/sn/io/sn2/pic.c reorg/cleanup arch/ia64/sn/kernel/irq.c IS_PIC_SOFT not needed mod for new pcireg_ interfaces include/asm-ia64/sn/module.h nodes/geoid[] -> MAX_SLABS include/asm-ia64/sn/pci/bridge.h IS_[X]BRIDGE not needed include/asm-ia64/sn/pci/pci_bus_cvlink.h SET_PCIA64 and IS_PCIA64 not needed isa64, dma_buf_sync, xbow_buf_sync gone include/asm-ia64/sn/pci/pcibr.h mostly cleanup some reorg mods include/asm-ia64/sn/pci/pcibr_private.h some reorg code protos for new pcireg_ interfaces include/asm-ia64/sn/pci/pciio.h cleanup include/asm-ia64/sn/pci/pic.h cleanup include/asm-ia64/sn/sn2/intr.h changed IA64_SN2_FIRST_DEVICE_VECTOR and IA64_SN2_LAST_DEVICE_VECTOR ChangeSet@1.1532.9.147, 2004-02-04 10:52:16-08:00, akpm@osdl.org [PATCH] Fix x86-64 boot problem From: Andi Kleen Fix a bug introduced with the last merge that prevented booting with CONFIG_DEBUG_INFO on on x86-64. It would corrupt registers in interrupts. This has hit a few people, so I would consider it as a critical fix. ChangeSet@1.1532.9.146, 2004-02-04 10:52:07-08:00, akpm@osdl.org [PATCH] fix memory leak while coredumping From: IWAMOTO Toshihiro This patch fixes a memory leak that happens when a core file hits the process's resource limit. ChangeSet@1.1532.9.145, 2004-02-04 10:51:58-08:00, akpm@osdl.org [PATCH] SElinux compile fix From: Geert Uytterhoeven Spinlock code needs ChangeSet@1.1532.9.144, 2004-02-04 10:51:49-08:00, akpm@osdl.org [PATCH] DVB compile fix From: Geert Uytterhoeven Never include directly ChangeSet@1.1532.9.143, 2004-02-04 10:51:40-08:00, akpm@osdl.org [PATCH] Hisax compile fix From: Geert Uytterhoeven Never include directly ChangeSet@1.1532.9.142, 2004-02-04 10:51:31-08:00, akpm@osdl.org [PATCH] Specialix compile fix From: Geert Uytterhoeven Compile fix: add missing #include ChangeSet@1.1532.9.141, 2004-02-04 10:51:22-08:00, akpm@osdl.org [PATCH] Moxa serial compile fixes From: Geert Uytterhoeven Compile fixes for the Moxa serial drivers: - Add missing #include - Kill warning if CONFIG_PCI is not set ChangeSet@1.1532.9.140, 2004-02-04 10:51:13-08:00, akpm@osdl.org [PATCH] istallion compile fix From: Geert Uytterhoeven Fix compilation if CONFIG_PCI is not set ChangeSet@1.1532.9.139, 2004-02-04 10:51:04-08:00, akpm@osdl.org [PATCH] fix compilation warnings in neofb.c From: Junio C Hamano Compiling neofb.c without MTRR results in two "unused variable" warnings. ChangeSet@1.1532.9.138, 2004-02-04 10:50:55-08:00, akpm@osdl.org [PATCH] ppp: try harder to allocate the deflate buffer We're using a 4-order allocation in there and it can fail. Change it to just keep reclaiming memory until something gives. ChangeSet@1.1532.9.137, 2004-02-04 10:50:46-08:00, akpm@osdl.org [PATCH] Remove the unused kmalloc_percpu_init() From: Martin Hicks This patch removes kmalloc_percpu_init() from include/linux/percpu.h It is unused and doesn't seem to be required. ChangeSet@1.1532.9.136, 2004-02-04 10:50:37-08:00, akpm@osdl.org [PATCH] missing export of cpu_2_node From: Patrick Mansfield On NUMAQ, any module which calls __alloc_pages() needs cpu_2_node() (via cpu_to_node()). This patch exports cpu_2_node. ChangeSet@1.1532.9.135, 2004-02-04 10:50:28-08:00, akpm@osdl.org [PATCH] Remove uneeded dentry assignment From: James Morris It seems to me that this dentry assignment in open_namei is not needed per the patch below. On this path, dentry is not referenced. ChangeSet@1.1532.9.134, 2004-02-04 10:50:19-08:00, akpm@osdl.org [PATCH] CDROMREADAUDIO frames From: Jens Axboe 2.6 imposes a 64 frame limit where 2.4 does not (just relies on kmalloc() failing and limiting frames from that). That breaks at least on guys app. With MSF adressing, it's much simpler to be able to ask for a full second at the time, so I think we should just allow that. So bump the limit from 64 to CD_FRAMES (which is 75). ChangeSet@1.1532.9.133, 2004-02-04 10:50:09-08:00, akpm@osdl.org [PATCH] PCI Scan all functions From: Jake Moilanen On a ppc64 logically partitioned system, there can be a setup where function 0 of a PCI-PCI bridge is assigned to one partition and (for example) function 2 is assigned to a second partition. On the second partition, it would appear that function 0 does not exist, but function 2 does. If all the functions are not scanned, everything under function 2 would not be detected. This patch allows devices that don't respond to function 0, but do respond to other functions to be marked with a quirk and have all of their functions scanned. ChangeSet@1.1532.9.132, 2004-02-04 10:49:59-08:00, akpm@osdl.org [PATCH] Move cpu_vm_mask to be closer to mmu_context_t in struct mm From: Jack Steiner The cpu_vm_mask use to be close to the mmu_context_t field in the mm struct. Recently some large members were added between "cpu_vm_mask" and "context". I suspect that was an oversight. Here is a patch that puts the fields close together. This makes it likely that both fields are in the same cache line. Since both fields are likely to be updated at the same time, this may improve performance. ChangeSet@1.1532.9.131, 2004-02-04 10:49:50-08:00, akpm@osdl.org [PATCH] Lindent fixed to match reality From: Matt Mackall I've been fiddling with cleaning up some old code here and suggest the following to make Lindent match actual practice more closely. This does: a) (no -psl) void *foo(void) { instead of void * foo(void) { b) (no -bs) "sizeof(foo)" rather than "sizeof (foo)" c) (-ncs) "(void *)foo" rather than "(void *) foo" ChangeSet@1.1532.9.130, 2004-02-04 10:49:41-08:00, akpm@osdl.org [PATCH] enable fast symbol lookup via an inverted index in cscope From: Louis Zhuang enable fast symbol lookup via an inverted index. ChangeSet@1.1532.9.129, 2004-02-04 10:49:32-08:00, akpm@osdl.org [PATCH] as-iosched.txt update From: Dave Olien acked by npiggin. ChangeSet@1.1532.9.128, 2004-02-04 10:49:23-08:00, akpm@osdl.org [PATCH] shrink_list(): check PageSwapCache() after add_to_swap() From: Nikita Danilov shrink_list() checks PageSwapCache() before calling add_to_swap(), this means that anonymous page that is going to be added to the swap right now these checks return false and: (*) it will be unaccounted for in nr_mapped, and (*) it won't be written to the swap if gfp_flags include __GFP_IO but not __GFP_FS. (Both will happen only on the next round of scanning.) Patch below just moves may_enter_fs initialization down. I am not sure about (*nr_mapped) increase though. ChangeSet@1.1532.9.127, 2004-02-04 10:49:14-08:00, akpm@osdl.org [PATCH] Use address hint in mmap for search From: Andi Kleen When the user gave an address hint in mmap use it as starting point for the search for !MAP_FIXED. Currently it is only checked directly and when already used the free area cache is used as starting point. With this change you can use mmap(4096, ....) to e.g. get the lowest free address in your address space, which is sometimes useful. For example on x86-64 glibc wants to preferably allocate thread local data in the first 4GB but use higher addresses when this is not possible. This can be a bit more costly in CPU time because it may have to skip over more VMAs, but gives better semantics for most cases. Most programs pass NULL as hint anyways so it won't make any difference for them. I did it for the generic mmap and for x86-64 for now. Also minor white space fixes for x86-64. ChangeSet@1.1532.9.126, 2004-02-04 10:49:05-08:00, akpm@osdl.org [PATCH] rate limit nr_free_pages From: Jes Sorensen nr_free_pages() is expensive, especially on large SMP machines. The patch changes the memory overcommit code so that it only calls nr_free_pages() is we're about to fail the allocation attempt. ChangeSet@1.1532.9.125, 2004-02-04 10:48:56-08:00, akpm@osdl.org [PATCH] ide-cd mo write protect From: Jens Axboe It's from Pascal Schmidt and adds write protect handling to ide-cd along with support for non-2kb block sizes. ChangeSet@1.1532.9.124, 2004-02-04 10:48:48-08:00, akpm@osdl.org [PATCH] proc_check_root() locking fix From: Maneesh Soni The patch fixes locking in proc_check_root(). It brings is_subdir() call under vfsmount_lock. Holding vfsmount_lock will ensure mnt_mountpoint dentry is intact and the dentry does not go away while it is being checked in is_subdir(). ChangeSet@1.1532.9.123, 2004-02-04 10:48:39-08:00, akpm@osdl.org [PATCH] is_subdir locking fix From: Maneesh Soni o The following patch fixes is_subdir() races with d_move. Due to concurrent d_move, in is_subdir() we can end up accessing freed d_parent pointer in case of pre-emptible kernel. To avoid this we can use rcu_read_lock() and rcu_read_unlock(). o This also fixes the seqlock uses in is_subdir() as we need to restart the the inner loop with the origianl new_dentry passed to the routine in case of any rename occured while we are traversing d_parent links. ChangeSet@1.1532.9.122, 2004-02-04 10:48:30-08:00, akpm@osdl.org [PATCH] ac97 OSS driver removal fix From: Andrew Zabolotny ac97_unregister_driver() is nulling out the ->driver field for all codecs. It should only null the codecs which are using this driver. ChangeSet@1.1532.9.121, 2004-02-04 10:48:21-08:00, akpm@osdl.org [PATCH] u_int32_t causes cross-compile problems From: Pratik Solanki I came across this C standards issue while cross-compiling the Linux kernel with gcc on Solaris. The file gen_crc32table.c uses the non-standard type u_int32_t. It's possible that the host machine's sys/types.h does not define u_int32_t. The attached patch replaces u_int32_t with the POSIX standard uint32_t and includes POSIX inttypes.h instead of sys/types.h. ChangeSet@1.1532.9.120, 2004-02-04 10:48:12-08:00, akpm@osdl.org [PATCH] fix menuconfig choice item help display From: Bjorn Helgaas Anders Gustafsson Roman Zippel This patch fixes menuconfig so it can display help text for individual choice group config entries. Previously it would only display the help text attached to the "choice" item. There was no way to display the help attached to individual config entries inside the choice group. Typically, the "choice" item has no help text, and all the useful help is attached to the individual entries, so this was a bit of a problem. ChangeSet@1.1532.9.119, 2004-02-04 10:48:03-08:00, akpm@osdl.org [PATCH] /proc/stat:btime fix From: George Anzinger , Petri Kaukasoina btime in /proc/stat does not stay constant but decreases at a rate of 15 secs/day, because we're assuming that HZ is exactly 100. Use the correct adjustments to fix that up. ChangeSet@1.1532.9.118, 2004-02-04 10:47:54-08:00, akpm@osdl.org [PATCH] Fine tune the time conversion to eliminate conversion errors. From: George Anzinger The time conversion code is erroring on the side of a bit too small. The attached patch forces any error to be on the high side. The current code will convert 1 nanosecond to zero jiffies (standard says that should be 1). It also is around 1 nanosecond late on each roll to the next jiffie. I have done some error checks with this patch applied and get the following errors in PPB ( Parts Per Billion): HZ nano sec conversion microsecond conversion 1000 315 45 1024 227 40 100 28 317 In all cases the error is on the high side, which means that the final shift will, most likely, eliminate the error bits. ChangeSet@1.1532.9.117, 2004-02-04 10:47:44-08:00, akpm@osdl.org [PATCH] UFS: honour `silent' parameter. From: GOTO Masanori Teach ufs_fill_super() to honour the `silent' parameter. ChangeSet@1.1532.9.116, 2004-02-04 10:47:35-08:00, akpm@osdl.org [PATCH] try reiserfs before other filesystems reiserfs places its superblock in weird places which can result in false positives and various printks when other filesystems probe a resierfs filesystem. ChangeSet@1.1532.9.115, 2004-02-04 10:47:27-08:00, akpm@osdl.org [PATCH] namei.c: take vfsmount_lock From: Mike Waychison The attached patch ensures that we grab vfsmount_lock when grabbing a reference to mnt_parent in follow_up and follow_dotdot. We also don't need to access ->mnt_parent in follow_mount and __follow_down to mntput because we already the parent pointer on the stack. ChangeSet@1.1532.9.114, 2004-02-04 10:47:18-08:00, akpm@osdl.org [PATCH] __d_path needs vfsmount_lock From: Mike Waychison - protect vfsmount->mnt_parent by taking vfsmount_lock in __d_path ChangeSet@1.1532.9.113, 2004-02-04 10:47:09-08:00, akpm@osdl.org [PATCH] [janitor] vga16fb: add missing iounmap() From: "Randy.Dunlap" Leann Ogasawara Patch inserts missing iounmap() on error. ChangeSet@1.1532.9.112, 2004-02-04 10:47:00-08:00, akpm@osdl.org [PATCH] janitor: vgastate: cleanup iounmap() usage From: "Randy.Dunlap" From: Leann Ogasawara Patch inserts missing iounmap's on error and also removes unnecessary iounmap's. ChangeSet@1.1532.9.111, 2004-02-04 10:46:51-08:00, akpm@osdl.org [PATCH] copy_namespace ENOMEM fix From: Marcus Alanen The copy_tree() function can return NULL, so this checks for it. ChangeSet@1.1532.9.110, 2004-02-04 10:46:42-08:00, akpm@osdl.org [PATCH] oprofile, typo in alpha driver From: Philippe Elie Unless I miss something this look like a typo, one user reported to get error from the daemon: 'Unknown event for counter 1' (alpha ev6) and the behavior was better but not completly sane after trying this patch: he get spurious event for counter 1 when enabling only counter 0 but rarely now. No alpha box to test this. ChangeSet@1.1532.9.109, 2004-02-04 10:46:33-08:00, akpm@osdl.org [PATCH] oprofile per-cpu buffer overrun From: Philippe Elie In a ring buffer controlled by a read and write positions we can't use buffer_size but only buffer_size - 1 entry, the last free entry act as a guard to avoid write pos overrun. This bug was hidden because the writer, oprofile_add_sample(), request one more entry than really needed. ChangeSet@1.1532.9.108, 2004-02-04 10:46:26-08:00, akpm@osdl.org [PATCH] console cleanup From: Sam Ravnborg , Ben Collins Fix up the console makefiles and logo generation. 1) To make output look like the rest of the kernel build. 2) To avoid make utilising chained rules, and therefore issuing a 'rm drivers/video/logo/linux_logo.c ...' during the build. I have previously submitted a few patches for logo/Makefile, but this is the first one that actually address the problems I have seen in a proper way. And no, I did not like such a simple thing to look that complicated, the other option was to list too many files or to use other types of kbuild/make magic. ChangeSet@1.1532.9.107, 2004-02-04 10:46:18-08:00, akpm@osdl.org [PATCH] janitor: sound/oss: use C99 inits. From: "Randy.Dunlap" , "Maciej Soltysiak" C99 initializers for linux/sound. ChangeSet@1.1532.9.106, 2004-02-04 10:46:09-08:00, akpm@osdl.org [PATCH] janitor: dz: verify_area() removal From: "Randy.Dunlap" , Domen Puncer ChangeSet@1.1532.9.105, 2004-02-04 10:46:00-08:00, akpm@osdl.org [PATCH] janitor: change a few SYSRQ to MAGIC_SYSRQ From: "Randy.Dunlap" , Domen Puncer Noone tested that code to see if it really works? ChangeSet@1.1532.9.104, 2004-02-04 10:45:51-08:00, akpm@osdl.org [PATCH] futex: remove redundant test From: Jamie Lokier One of the tests in unqueue_me() is redundant. If we acquire the spinlock, the futex must be queued. ChangeSet@1.1532.9.103, 2004-02-04 10:45:42-08:00, akpm@osdl.org [PATCH] Zero last byte of mount option page. From: James Morris Here's a patch which zeroes the last byte of the mount option data copied from userspace during mount(2). For filesystems which parse mount options as strings (the majority), lack of a zero terminator could cause the page to be overrun. The source code comments specify that the maximum size of the mount data is PAGE_SIZE-1, so this patch will not affect any valid binary-formatted mount data. ChangeSet@1.1532.9.102, 2004-02-04 10:45:33-08:00, akpm@osdl.org [PATCH] posix_timers fixes From: George Anzinger - Removes C++ comment in favor of C style. - Removes the special treatment for MIPS SIGEV values. We only require (and error if this fails) that the SIGEV_THREAD_ID value not share bits with the other SIGEV values. Note that mips has yet to define this value so when they do... - Corrects the check for the signal range to be from 1 to SIGRTMAX inclusive. - Adds a check to verify that kmem_cache_alloc() actually returned a timer, error if not. - Fixes a bug in timer_gettime() where the incorrect value was returned if a signal was pending on the timer OR the timer was a SIGEV_NONE timer. ChangeSet@1.1532.9.101, 2004-02-04 10:45:24-08:00, akpm@osdl.org [PATCH] Better "Losing Ticks" Error Message From: timothy parkinson Seems like a lot of people see the below error message, but aren't quite sure why it happens or how to fix it. I sure didn't. Here's my attempt at remedying that. ChangeSet@1.1532.9.100, 2004-02-04 10:45:15-08:00, akpm@osdl.org [PATCH] Clean up raid6 kbuild output From: Sam Ravnborg During raid6 compilation with KBUILD_VERBOSE unset we see invokations of perl commands which should not have been displayed. ChangeSet@1.1532.9.99, 2004-02-04 10:45:06-08:00, akpm@osdl.org [PATCH] Remove memblks from the kernel From: "Martin J. Bligh" This patch removes memblks from the kernel ... we don't use them, and the NUMA API that was planning to use them when they were originally designed isn't going to use them anymore. They're just unnecessary added complexity now ... time for them to go. There's a slight complication in that ia64 uses something with a similar name for part of its memory layout, but Jes Sorensen kindly untangled them from each other for us. The patch with his modifications is below. Jes tested it on ia64, and I testbuilt it with every config in my arsenal. ChangeSet@1.1532.9.98, 2004-02-04 10:44:56-08:00, akpm@osdl.org [PATCH] remove SIIG combo cards PCI ids from parport_pc From: Andrey Panin support for SIIG made serial/parallel conbo cards was moved to parport_serial driver some months ago, but their PCI ids still remain in parport_pc PCI device table. Attached patch removes them. ChangeSet@1.1532.9.97, 2004-02-04 10:44:47-08:00, akpm@osdl.org [PATCH] /proc/paritions: omit removable media From: Neil Brown If programs like mount use /proc/partitions to find filesystems based on labels, then surely we want md devices in there as they often contain filesystems. If the problem is that mount-by-label takes forever with removable media then surely the "right" approch is the following patch, and then actually set this flag on the "floppy.c" device. (It is already set for ide-floppy and sd devices). ChangeSet@1.1532.9.96, 2004-02-04 10:44:38-08:00, akpm@osdl.org [PATCH] md: Change the way the name of an md device is printed in error messages. From: NeilBrown Instead of using ("md%d", mdidx(mddev)), we now use ("%s", mdname(mddev)) where mdname is the disk_name field in the associated gendisk structure. This allows future flexability in naming. ChangeSet@1.1532.9.95, 2004-02-04 10:44:29-08:00, akpm@osdl.org [PATCH] md: Collect device IO statistics for MD personalities. From: NeilBrown Update {read,write}{s,_sectors} on each request to an MD array. ChangeSet@1.1532.9.94, 2004-02-04 10:44:20-08:00, akpm@osdl.org [PATCH] md: Fixes to make debuging output nicer. From: NeilBrown This patch thanks to Paul Clements and only has effect if md is compiled with #define DEBUG 1 ChangeSet@1.1532.9.93, 2004-02-04 10:44:11-08:00, akpm@osdl.org [PATCH] md: Move the test in preferred_minor to where it is used. From: NeilBrown A RAID superblock can indicate which minor number the array should be assembled under. As this is only meaningful when doing auto-start, we move the test for it being in the valid range to the place where auto-start happens. When an array is started any other way, it doesn't matter what value is here. ChangeSet@1.1532.9.92, 2004-02-04 10:44:02-08:00, akpm@osdl.org [PATCH] remove_suid() fix From: viro@parcelfarce.linux.theplanet.co.uk bernhard_heibler@gmx.de has discovered that NFS is very slow when writing to a file which has execute permissions. See http://bugme.osdl.org/show_bug.cgi?id=1936 This patch fixes remove_suid() to not try to modify the inode mode on every write to such a file. ChangeSet@1.1532.9.91, 2004-02-04 10:43:53-08:00, akpm@osdl.org [PATCH] Fix deep stack usage in ncpfs From: Petr Vandrovec Arjan van de Ven pointed out to me there are no checks on name component lengths in ncpfs, so potentially 4KB regions could be allocated on stack, leading to the user controlled stack overflow. It was using variable-sized arrays, so this snuck past the static stack-usage checking tools. As NCP is limited to 255 bytes on components, we can simple limit these local variables to 256 bytes, and after this stack usage looks more acceptable. Length checking occurs inside ncp_vol2io, during iocharset->codepage conversion. As a side effect support for multibyte codepages now works as it should, instead of returning -EINVAL whenever filename in 'codepage' encoding was longer than in 'iocharset'. Other part fixes typo where atime change updated ctime and not atime field. ChangeSet@1.1532.9.90, 2004-02-04 10:43:44-08:00, akpm@osdl.org [PATCH] deprecate the raw driver Fat chance, but we should try. ChangeSet@1.1532.9.89, 2004-02-04 10:43:35-08:00, akpm@osdl.org [PATCH] initialise cpu_vm_mask in init_mm From: Anton Blanchard Some architectures use cpu_vm_mask to optimise TLB flushes. On ppc64 we are now using a common flush infrastructure that handles both userspace and kernelspace (vmalloc) pages. In order to avoid triggering this optimisation we need to mark the init mm as having scheduled on all cpus. Things currently work by luck (we check for the cpu only having run on the local cpu, and the field is initialised to 0), but it would be safer to initialise it CPU_MASK_ALL. ChangeSet@1.1532.9.88, 2004-02-04 10:43:27-08:00, akpm@osdl.org [PATCH] osst.c: suppress page allocation failure warnings This driver is trying an order-9 allocation and if that fails, order 8, etc. Crufty, but we do expect failures, so suppress the warnings. ChangeSet@1.1532.9.87, 2004-02-04 10:43:18-08:00, akpm@osdl.org [PATCH] remove valid_addr_bitmap From: William Lee Irwin III ->valid_addr_bitmap is initialized nowhere. Any kern_addr_valid() testing it returns 0 unconditionally. This patch converts kern_addr_valid() implementations using it to return 0 as per the above and removes it from structures and zone initialization. Untested (not even compiletested), though a similar patch also nuking d_validate() was in use in -wli for several months. ChangeSet@1.1532.9.86, 2004-02-04 10:43:09-08:00, akpm@osdl.org [PATCH] console: support for > 127 chars From: Nigel Cunningham Change the console code to support up to 256 (maybe 255?) columns. ChangeSet@1.1532.9.85, 2004-02-04 10:43:00-08:00, akpm@osdl.org [PATCH] fix blockdev --getro for sr, sd, ide-floppy From: John McKell This 2.6.1 patch works by setting gendisk->policy to the correct value during initialization as the various drivers decide whether or not the disk is writeable. This patch persuades "blockdev --getro ..." to correctly report the read-only state of a newly inserted disk. This patch applies to sr.c, sd.c and ide-floppy.c. ide-cd.c already has this functionality built into it. Using an Iomega Zip drive as the test case... Without the patch, I always see: $ sudo blockdev --getro /dev/sda 0 $ That's only correct for writeable disks though. Only when the patch is applied do I see a write-protected disk described correctly: $ sudo blockdev --getro /dev/sda 1 $ ChangeSet@1.1532.9.84, 2004-02-04 10:42:51-08:00, akpm@osdl.org [PATCH] ppc32: Set HZ to 1000 on ppc32 From: Benjamin Herrenschmidt This patch has been in my tree for monthes and Paulus agrees that it should be made generic, so here we go, PPC32 is now proud to run at 1000HZ :) ChangeSet@1.1532.9.83, 2004-02-04 10:42:42-08:00, akpm@osdl.org [PATCH] Make naming of parititions in sysfs match /proc/partitions. From: Neil Brown In fs/partitions/check.c there are two pieces of code that add a partition number to a block-device name: - the 'disk_name' function - a snprintf in add_partitions. 'disk_name' inserts a 'p' before the partition number if the device name ends with a digit. The snprintf in add_partitions doesn't. This patch rectifies this anomoly so that names in sysfs can be parsed more reliably. This has been extensively discussed. It will probably break the external `iostat' tool. But only for disks whose name ends in a digit, which appears to be only DAC960. ChangeSet@1.1532.9.82, 2004-02-04 10:42:35-08:00, akpm@osdl.org [PATCH] missing `console_driver' with CONFIG_VT && !CONFIG_VT_CONSOLE From: Jun Sun 'console_driver' is defined only when CONFIG_VT_CONSOLE is set. However it is used by vty_init() which is outside the scope of CONFIG_VT_CONSOLE. ChangeSet@1.1532.9.81, 2004-02-04 10:42:26-08:00, akpm@osdl.org [PATCH] check do_munmap() failure From: Andrea Arcangeli Return the proper error code ChangeSet@1.1532.9.80, 2004-02-04 10:42:17-08:00, akpm@osdl.org [PATCH] hugetlbfs cleanup From: Anton Blanchard Remove some duplicated hugetlbfs code. ChangeSet@1.1532.9.79, 2004-02-04 10:42:08-08:00, akpm@osdl.org [PATCH] libfs mtime/ctime updates From: Anton Blanchard Update ctime/mtime in libfs where appropriate. ChangeSet@1.1532.9.78, 2004-02-04 10:41:59-08:00, akpm@osdl.org [PATCH] hugetlbfs directory entry cleanup From: Anton Blanchard hugetlbfs is doing strange things with directory sizes. Al says there is no semantics for reported size of directories so we can remove this code. ChangeSet@1.1532.9.77, 2004-02-04 10:41:50-08:00, akpm@osdl.org [PATCH] vmalloc address offset fix From: Anton Blanchard Paul wrote a patch to use some of the rmap infrastructure to flush TLB entries on ppc64. When testing it we found a problem in vmalloc where it sets up the pte -> address mapping incorrectly. We clear the top bits of the address but then forget to pass in the full address to pte_alloc_kernel. The end result is the address in page->index is truncated. I fixed it in a similar way to how zeromap_pmd_range etc does it. I'm guessing no one uses the rmap hooks on vmalloc pages yet, so havent seen this problem. ChangeSet@1.1532.9.76, 2004-02-04 10:41:41-08:00, akpm@osdl.org [PATCH] Allow software_suspend to fail From: Pavel Machek software_suspend() can fail for quite a lot of reasons (for example not enough swapspace). However current interface returned void, so you could not propagate error back to userland. This fixes it. Plus __read_suspend_image() is only done during init time, so we might as well mark it __init. ChangeSet@1.1532.9.75, 2004-02-04 10:41:31-08:00, akpm@osdl.org [PATCH] Trivial cleanups for swsusp From: Pavel Machek This kills unused part of struct and fixes spelling. It also fixes codingstyle a bit, converts "can not happen" panic into BUG_ON (fill_suspend_header() allocates no memory so panic is meaningless) and adds check for sizeof (struct link) [if that is not PAGE_SIZE, we have *bad* problem, better check early]. ChangeSet@1.1532.9.74, 2004-02-04 10:41:21-08:00, akpm@osdl.org [PATCH] swsusp does not stop DMA properly during resume From: Pavel Machek To correctly stop all DMA activity, make the boot kernel put all devices into suspend state before entering the resume kernel image. ChangeSet@1.1532.9.73, 2004-02-04 10:41:10-08:00, akpm@osdl.org [PATCH] EDD: read disk80 MBR signature, export through edd module From: Matt Domsch There are 4 bytes in the MSDOS master boot record, at offset 0x1b8, which may contain a per-system-unique signature. By first writing a unique signature to each disk in the system, then rebooting, and then reading the MBR to get the signature for the boot disk (int13 dev 80h), userspace may use it to compare against disks it knows as named /dev/[hs]d[a-z], and thus determine which disk is the BIOS boot disk, thus where the /boot, / and boot loaders should be placed. This is useful in the case where the BIOS is not EDD3.0 compliant, thus doesn't provide the PCI bus/dev/fn and IDE/SCSI location of the boot disk, yet you need to know which disk is the boot disk. It's most useful in OS installers. This patch retrieves the signature from the disk in setup.S, stores it in a space reserved in the empty_zero_page, copies it somewhere safe in setup.c, and exports it via /sys/firmware/edd/int13_disk80/mbr_signature in edd.c. Code is covered under CONFIG_EDD=[ym]. ChangeSet@1.1532.9.72, 2004-02-04 10:41:01-08:00, akpm@osdl.org [PATCH] use __attribute_const__ everywhere From: Nikita Danilov Replace all existing usages of __attribute__((const)) with __attribute_const__. ChangeSet@1.1532.9.71, 2004-02-04 10:40:51-08:00, akpm@osdl.org [PATCH] kconfig/wireless: Replace enable with select From: Sam Ravnborg 'enable' is not documented in Documentation/kbuild/kconfig-language.txt So remove usage in the only Kconfig file in the kernel tree where it was used. ChangeSet@1.1532.9.70, 2004-02-04 10:40:42-08:00, akpm@osdl.org [PATCH] Kconfig: use select statements From: Sam Ravnborg - Use keyword select in relevant warning - Include more information in warnings related to select - Move part of error-checking to a sepearate function - Added helpers used when issuing warnings - makes code simpler - Wrapped most edited lines at column 80 ChangeSet@1.1532.9.69, 2004-02-04 10:40:32-08:00, akpm@osdl.org [PATCH] add readX_relaxed() interface From: jbarnes@sgi.com (Jesse Barnes) Here's the patch to add the new _relaxed variants for PIO read accesses. It's been ack'd by gregkh and Grant Grundler, and I think it's ready to go. PCI ordering rules also guarantee that PIO read responses arrive after any outstanding DMA writes on that bus, since for some devices the result of a readb() call may signal to the driver that a DMA transaction is complete. In many cases, however, the driver may want to indicate that the next readb() call has no relation to any previous DMA writes performed by the device. The driver can use the readb_relaxed() for these cases, although only some platforms will honor the relaxed semantics. ChangeSet@1.1532.9.68, 2004-02-04 10:40:22-08:00, akpm@osdl.org [PATCH] printk_ratelimit() tweaks From: Anton Blanchard I made a few changes, basically the burst parameter is now in units of messages, makes much more sense than the old net ratelimit one. I also screwed up adding a sysctl_jiffies strategy for the burst parameter. ChangeSet@1.1532.9.67, 2004-02-04 10:40:13-08:00, akpm@osdl.org [PATCH] i387: handle copy_from_user() error From: "Randy.Dunlap" Eugene TEO ChangeSet@1.1532.9.66, 2004-02-04 10:40:05-08:00, akpm@osdl.org [PATCH] bitmap parsing/printing routines, version 4 From: Joe Korty 1) the version in 2.6.1 is broken, doesn't work on 64bit big endian machines at all. This needed fixing. I thought it best to fix by rewriting the printer/parser with an algorithm that is naturally endian & sizeof(long) resistant. 2) I wanted all digits to print, eg, 0000ffff,00000004 not ffff,4. 3) I wanted exactly NR_CPUS bits to print (or whatever the bitmap size is in bits, and not have what is displayed rounded up to the nearest full byte, as the current version did. 4) The bitmap printer and parser should be part of bitmap.[ch] with syntax and semantics to match. The original lib/mask.c versions did not recognize this commonality. ChangeSet@1.1532.9.65, 2004-02-04 10:39:56-08:00, akpm@osdl.org [PATCH] x86-64 fixes for gcc 3.5 From: Andi Kleen Fix all the x86-64 warnings with gcc 3.5 and make it compile again. ChangeSet@1.1532.9.64, 2004-02-04 10:39:47-08:00, akpm@osdl.org [PATCH] gcc-3.5: arch/i386/kernel/traps.c ++nmi_count(cpu); arch/i386/kernel/traps.c: In function `do_nmi': arch/i386/kernel/traps.c:552: error: invalid lvalue in increment and include/linux/netdevice.h: In function `__netif_rx_schedule': include/linux/netdevice.h:818: error: invalid lvalue in assignment include/linux/netdevice.h: In function `netif_rx_reschedule': include/linux/netdevice.h:842: error: invalid lvalue in assignment This fix will probably reintroduce unused variable warnings... ChangeSet@1.1532.9.63, 2004-02-04 10:39:38-08:00, akpm@osdl.org [PATCH] gcc-3.5: drivers/video/vgastate.c drivers/video/vgastate.c: In function `save_vga': drivers/video/vgastate.c:368: error: invalid lvalue in assignment ChangeSet@1.1532.9.62, 2004-02-04 10:39:30-08:00, akpm@osdl.org [PATCH] gcc-3.5: drivers/video/cfbimgblt.c drivers/video/cfbimgblt.c: In function `color_imageblit': drivers/video/cfbimgblt.c:140: error: invalid lvalue in assignment drivers/video/cfbimgblt.c: In function `slow_imageblit': drivers/video/cfbimgblt.c:206: error: invalid lvalue in assignment ChangeSet@1.1532.9.61, 2004-02-04 10:39:20-08:00, akpm@osdl.org [PATCH] gcc-3.5: drivers/video/riva/fbdev.c drivers/video/riva/fbdev.c: In function `rivafb_load_cursor_image': drivers/video/riva/fbdev.c:498: error: invalid lvalue in increment drivers/video/riva/fbdev.c:499: error: invalid lvalue in increment drivers/video/riva/fbdev.c: In function `rivafb_imageblit': drivers/video/riva/fbdev.c:1440: error: invalid lvalue in increment drivers/video/riva/fbdev.c:1449: error: invalid lvalue in increment ChangeSet@1.1532.9.60, 2004-02-04 10:39:11-08:00, akpm@osdl.org [PATCH] gcc-3.5: fbcon.c drivers/video/console/fbcon.c: In function `fbcon_set_font': drivers/video/console/fbcon.c:2000: error: invalid lvalue in decrement ChangeSet@1.1532.9.59, 2004-02-04 10:39:03-08:00, akpm@osdl.org [PATCH] gcc-3.5: gdth.c drivers/scsi/gdth.c:267:10: warning: extra tokens at end of #ident directive ChangeSet@1.1532.9.58, 2004-02-04 10:38:54-08:00, akpm@osdl.org [PATCH] gcc-3.5: atp870u.c drivers/scsi/atp870u.c: In function `send_s870': drivers/scsi/atp870u.c:706: error: invalid lvalue in assignment drivers/scsi/atp870u.c:707: error: invalid lvalue in assignment drivers/scsi/atp870u.c:708: error: invalid lvalue in assignment drivers/scsi/atp870u.c:713: error: invalid lvalue in assignment drivers/scsi/atp870u.c:714: error: invalid lvalue in assignment drivers/scsi/atp870u.c:715: error: invalid lvalue in assignment drivers/scsi/atp870u.c:718: error: invalid lvalue in assignment drivers/scsi/atp870u.c:727: error: invalid lvalue in assignment drivers/scsi/atp870u.c:728: error: invalid lvalue in assignment drivers/scsi/atp870u.c:729: error: invalid lvalue in assignment drivers/scsi/atp870u.c:734: error: invalid lvalue in assignment drivers/scsi/atp870u.c:735: error: invalid lvalue in assignment drivers/scsi/atp870u.c:736: error: invalid lvalue in assignment ChangeSet@1.1532.9.57, 2004-02-04 10:38:45-08:00, akpm@osdl.org [PATCH] gcc-3.5: advansys.c drivers/scsi/advansys.c: In function `advansys_reset': drivers/scsi/advansys.c:6022: error: invalid lvalue in assignment drivers/scsi/advansys.c:6045: error: invalid lvalue in assignment drivers/scsi/advansys.c: In function `advansys_interrupt': drivers/scsi/advansys.c:6314: error: invalid lvalue in assignment drivers/scsi/advansys.c: In function `asc_scsi_done_list': drivers/scsi/advansys.c:6386: error: invalid lvalue in assignment drivers/scsi/advansys.c: In function `asc_enqueue': drivers/scsi/advansys.c:7437: error: invalid lvalue in assignment drivers/scsi/advansys.c:7445: error: invalid lvalue in assignment drivers/scsi/advansys.c:7448: error: invalid lvalue in assignment drivers/scsi/advansys.c: In function `asc_dequeue_list': drivers/scsi/advansys.c:7569: error: invalid lvalue in assignment drivers/scsi/advansys.c: In function `asc_rmqueue': drivers/scsi/advansys.c:7647: error: invalid lvalue in assignment drivers/scsi/advansys.c:7648: error: invalid lvalue in assignment ChangeSet@1.1532.9.56, 2004-02-04 10:38:36-08:00, akpm@osdl.org [PATCH] gcc-3.5: drivers/scsi/53c700 In file included from drivers/scsi/53c700.c:140: drivers/scsi/53c700.h: In function `NCR_700_set_SXFER': drivers/scsi/53c700.h:106: error: invalid lvalue in assignment drivers/scsi/53c700.h:107: error: invalid lvalue in assignment drivers/scsi/53c700.h: In function `NCR_700_set_depth': drivers/scsi/53c700.h:116: error: invalid lvalue in assignment drivers/scsi/53c700.h:117: error: invalid lvalue in assignment drivers/scsi/53c700.h: In function `NCR_700_set_flag': drivers/scsi/53c700.h:137: error: invalid lvalue in assignment drivers/scsi/53c700.h: In function `NCR_700_clear_flag': drivers/scsi/53c700.h:142: error: invalid lvalue in assignment ChangeSet@1.1532.9.55, 2004-02-04 10:38:27-08:00, akpm@osdl.org [PATCH] gcc-3.5: pnpbios drivers/pnp/pnpbios/core.c:438: warning: use of cast expressions as lvalues is deprecated ChangeSet@1.1532.9.54, 2004-02-04 10:38:18-08:00, akpm@osdl.org [PATCH] gcc-3.5: video drivers/media/video/mxb.c: In function `mxb_probe': drivers/media/video/mxb.c:264: error: invalid lvalue in assignment ChangeSet@1.1532.9.53, 2004-02-04 10:38:09-08:00, akpm@osdl.org [PATCH] gcc-3.5: PCMCIA include/pcmcia/mem_op.h: In function `copy_from_pc': include/pcmcia/mem_op.h:85: error: invalid lvalue in assignment include/pcmcia/mem_op.h:85: error: invalid lvalue in assignment include/pcmcia/mem_op.h: In function `copy_to_pc': include/pcmcia/mem_op.h:97: error: invalid lvalue in assignment include/pcmcia/mem_op.h:97: error: invalid lvalue in assignment include/pcmcia/mem_op.h: In function `copy_pc_to_user': include/pcmcia/mem_op.h:109: error: invalid lvalue in assignment include/pcmcia/mem_op.h:109: error: invalid lvalue in assignment include/pcmcia/mem_op.h: In function `copy_user_to_pc': include/pcmcia/mem_op.h:124: error: invalid lvalue in assignment include/pcmcia/mem_op.h:124: error: invalid lvalue in assignment ChangeSet@1.1532.9.52, 2004-02-04 10:38:01-08:00, akpm@osdl.org [PATCH] gcc-3.5: DVB drivers/media/dvb/frontends/ves1820.c: In function `ves1820_setup_reg0': drivers/media/dvb/frontends/ves1820.c:244: error: invalid lvalue in assignment drivers/media/dvb/frontends/ves1820.c:244: error: invalid lvalue in assignment drivers/media/dvb/frontends/ves1820.c: In function `ves1820_attach': drivers/media/dvb/frontends/ves1820.c:541: error: invalid lvalue in assignment drivers/media/dvb/frontends/ves1820.c:541: error: invalid lvalue in assignment drivers/media/dvb/frontends/ves1820.c:544: error: invalid lvalue in assignment drivers/media/dvb/frontends/ves1820.c:544: error: invalid lvalue in assignment drivers/media/dvb/frontends/ves1820.c:545: error: invalid lvalue in assignment drivers/media/dvb/frontends/ves1820.c:545: error: invalid lvalue in assignment drivers/media/dvb/frontends/ves1820.c:546: error: invalid lvalue in assignment drivers/media/dvb/frontends/ves1820.c:546: error: invalid lvalue in assignment drivers/media/dvb/frontends/ves1820.c:547: error: invalid lvalue in assignment drivers/media/dvb/frontends/ves1820.c:547: error: invalid lvalue in assignment ChangeSet@1.1532.9.51, 2004-02-04 10:37:52-08:00, akpm@osdl.org [PATCH] gcc-3.5: mtd drivers/mtd/chips/cfi_cmdset_0020.c:545: error: invalid lvalue in increment drivers/mtd/chips/cfi_cmdset_0020.c:547: error: invalid lvalue in increment drivers/mtd/chips/cfi_cmdset_0020.c:549: error: invalid lvalue in increment ChangeSet@1.1532.9.50, 2004-02-04 10:37:43-08:00, akpm@osdl.org [PATCH] gcc-3.5: raid6 drivers/md/raid6x86.h:1:10: warning: extra tokens at end of #ident directive ChangeSet@1.1532.9.49, 2004-02-04 10:37:34-08:00, akpm@osdl.org [PATCH] gcc-3.5: drivers/ide/pci/sc1200.c drivers/ide/pci/sc1200.c: In function `sc1200_suspend': drivers/ide/pci/sc1200.c:423: error: invalid lvalue in assignment ChangeSet@1.1532.9.48, 2004-02-04 10:37:25-08:00, akpm@osdl.org [PATCH] gcc-3.5: radeon drivers/char/drm/radeon_state.c: In function `radeon_cp_dispatch_texture': drivers/char/drm/radeon_state.c:1411: error: invalid lvalue in assignment ChangeSet@1.1532.9.47, 2004-02-04 10:37:16-08:00, akpm@osdl.org [PATCH] gcc-3.5: drivers/i2c/chips/it87.c drivers/i2c/chips/it87.c:130: warning: conflicting types for built-in function 'log2' ChangeSet@1.1532.9.46, 2004-02-04 10:37:07-08:00, akpm@osdl.org [PATCH] gcc-3.5: net/atm/common.c net/atm/common.c: In function `vcc_create': net/atm/common.c:151: error: invalid lvalue in assignment ChangeSet@1.1532.9.45, 2004-02-04 10:36:59-08:00, akpm@osdl.org [PATCH] gcc-3.5: drivers/atm/he.c drivers/atm/he.c: In function `he_init_one': drivers/atm/he.c:383: error: invalid lvalue in assignment drivers/atm/he.c: In function `he_open': drivers/atm/he.c:2364: error: invalid lvalue in assignment ChangeSet@1.1532.9.44, 2004-02-04 10:36:50-08:00, akpm@osdl.org [PATCH] gcc-3.5: drivers/atm/idt77105.c drivers/atm/idt77105.c: In function `idt77105_start': drivers/atm/idt77105.c:268: error: invalid lvalue in assignment drivers/atm/idt77105.c: In function `idt77105_stop': drivers/atm/idt77105.c:346: error: invalid lvalue in assignment ChangeSet@1.1532.9.43, 2004-02-04 10:36:41-08:00, akpm@osdl.org [PATCH] gcc-3.5: drivers/atm/eni.c drivers/atm/eni.c: In function `eni_close': drivers/atm/eni.c:1878: error: invalid lvalue in assignment drivers/atm/eni.c: In function `eni_open': drivers/atm/eni.c:1894: error: invalid lvalue in assignment drivers/atm/eni.c:1905: error: invalid lvalue in assignment drivers/atm/eni.c: In function `eni_init_one': drivers/atm/eni.c:2233: error: invalid lvalue in assignment ChangeSet@1.1532.9.42, 2004-02-04 10:36:32-08:00, akpm@osdl.org [PATCH] gcc-3.5: ncpfs fs/ncpfs/ncplib_kernel.h:164: sorry, unimplemented: inlining failed in call to 'ncp_strnicmp': function body not available ChangeSet@1.1532.9.41, 2004-02-04 10:36:23-08:00, akpm@osdl.org [PATCH] gcc-3.5: drivers/atm/fore200e.c drivers/atm/fore200e.c: In function `fore200e_open': drivers/atm/fore200e.c:1420: error: invalid lvalue in assignment drivers/atm/fore200e.c: In function `fore200e_register': drivers/atm/fore200e.c:2485: error: invalid lvalue in assignment ChangeSet@1.1532.9.40, 2004-02-04 10:36:14-08:00, akpm@osdl.org [PATCH] gcc-3.5: suni.c drivers/atm/suni.c: In function `suni_start': drivers/atm/suni.c:233: error: invalid lvalue in assignment ChangeSet@1.1532.9.39, 2004-02-04 10:36:05-08:00, akpm@osdl.org [PATCH] gcc-3.5: iphase.c drivers/atm/iphase.c: In function `open_tx': drivers/atm/iphase.c:1757: error: invalid lvalue in assignment drivers/atm/iphase.c: In function `ia_close': drivers/atm/iphase.c:2674: error: invalid lvalue in assignment drivers/atm/iphase.c: In function `ia_open': drivers/atm/iphase.c:2687: error: invalid lvalue in assignment drivers/atm/iphase.c:2703: error: invalid lvalue in assignment drivers/atm/iphase.c: In function `ia_init_one': drivers/atm/iphase.c:3199: error: invalid lvalue in assignment ChangeSet@1.1532.9.38, 2004-02-04 10:35:56-08:00, akpm@osdl.org [PATCH] gcc-3.5: intermezzo fs/intermezzo/dir.c: In function `presto_prep': fs/intermezzo/intermezzo_fs.h:414: sorry, unimplemented: inlining failed in call to 'presto_is_read_only': function body not available fs/intermezzo/presto.c: In function `izo_mark_cache': fs/intermezzo/presto.c:341: error: invalid lvalue in assignment fs/intermezzo/presto.c:342: error: invalid lvalue in assignment ChangeSet@1.1532.9.37, 2004-02-04 10:35:47-08:00, akpm@osdl.org [PATCH] gcc-3.5: drivers/atm/uPD98402.c drivers/atm/uPD98402.c: In function `uPD98402_start': drivers/atm/uPD98402.c:214: error: invalid lvalue in assignment ChangeSet@1.1532.9.36, 2004-02-04 10:35:38-08:00, akpm@osdl.org [PATCH] gcc-3.5: hfs fixes fs/hfs/file_hdr.c: In function `dup_layout': fs/hfs/file_hdr.c:246: error: invalid lvalue in assignment ChangeSet@1.1532.9.35, 2004-02-04 10:35:28-08:00, akpm@osdl.org [PATCH] gcc-3.5: vxfs fixes fs/freevxfs/vxfs.h:33:10: warning: extra tokens at end of #ident directive fs/freevxfs/vxfs_extern.h:75: sorry, unimplemented: inlining failed in call to 'vxfs_put_page': function body not available ChangeSet@1.1532.9.34, 2004-02-04 10:35:18-08:00, akpm@osdl.org [PATCH] gcc-3.5: zatm.c fix drivers/atm/zatm.c: In function `zatm_close': drivers/atm/zatm.c:1371: error: invalid lvalue in assignment drivers/atm/zatm.c: In function `zatm_open': drivers/atm/zatm.c:1386: error: invalid lvalue in assignment drivers/atm/zatm.c:1398: error: invalid lvalue in assignment drivers/atm/zatm.c: In function `zatm_module_init': drivers/atm/zatm.c:1600: error: invalid lvalue in assignment ChangeSet@1.1532.9.33, 2004-02-04 10:35:09-08:00, akpm@osdl.org [PATCH] gcc-3.5: fsfilter.h, ntfs.h From: Tim Cambrant Fix inline decls in fsfilter.h, ntfs.h ChangeSet@1.1532.9.32, 2004-02-04 10:35:00-08:00, akpm@osdl.org [PATCH] gcc-3.5: misc.c warning fix arch/i386/boot/compressed/misc.c:107: warning: conflicting types for built-in function 'puts' ChangeSet@1.1532.9.31, 2004-02-04 10:34:51-08:00, akpm@osdl.org [PATCH] gcc-3.5: i810_accel fix drivers/video/i810/i810_accel.c: In function `i810fb_init_ringbuffer': drivers/video/i810/i810_accel.c:30: sorry, unimplemented: inlining failed in call to 'flush_cache': function body not available ChangeSet@1.1532.9.30, 2004-02-04 10:34:42-08:00, akpm@osdl.org [PATCH] gcc-3.5: parport warnings drivers/pnp/pnpbios/core.c: In function `pnpbios_probe_system': drivers/pnp/pnpbios/core.c:438: warning: use of cast expressions as lvalues is deprecated ChangeSet@1.1532.9.29, 2004-02-04 10:34:33-08:00, akpm@osdl.org [PATCH] gcc-3.5: sound/core/seq/seq_clientmgr.c sound/core/seq/seq_clientmgr.c: In function `snd_seq_open': sound/core/seq/seq_clientmgr.c:331: warning: use of cast expressions as lvalues is deprecated ChangeSet@1.1532.9.28, 2004-02-04 10:34:24-08:00, akpm@osdl.org [PATCH] More 3.4 compilation fixes From: Jan Hubicka GCC now converts sprintf (a,"%s",b) to strcpy. This lose on kernel as strcpy is not inlined and not present in library, so one gets linker failure. It seems to make sense to apply this optimization by hand. ChangeSet@1.1532.9.27, 2004-02-04 10:34:15-08:00, akpm@osdl.org [PATCH] Fix inlining failure (all GCCs) in parport From: Jan Hubicka GCC never inline extern inline function redefined by new body (because it is not clear what body one should choose) parport contains such duplicated functions for apparently no good reasons. Both copies differ slightly, not sure whether it is intentional or just garbage. ChangeSet@1.1532.9.26, 2004-02-04 10:34:06-08:00, akpm@osdl.org [PATCH] gcc-3.5: _exit fix include/asm/unistd.h:397: warning: conflicting types for built-in function '_exit' Just remove the dang thing - nobody uses _exit(). Except for the vmware stub, which breaks. So I kindly exported do_exit() to kernel modules, just for vmware... ChangeSet@1.1532.9.25, 2004-02-04 10:33:57-08:00, akpm@osdl.org [PATCH] gcc-3.5: keyboard.c fixes drivers/char/keyboard.c:205: warning: use of conditional expressions as lvalues is deprecated ChangeSet@1.1532.9.24, 2004-02-04 10:33:48-08:00, akpm@osdl.org [PATCH] gcc-3.5: elevator.h fixes include/linux/elevator.h:106: sorry, unimplemented: inlining failed in call to 'elv_try_last_merge': function body not available ChangeSet@1.1532.9.23, 2004-02-04 10:33:39-08:00, akpm@osdl.org [PATCH] gcc-3.5: ide.h fixes include/linux/ide.h:1424: sorry, unimplemented: inlining failed in call to 'SELECT_MASK': function body not available ChangeSet@1.1532.9.22, 2004-02-04 10:33:30-08:00, akpm@osdl.org [PATCH] gcc-3.5: reiserfs fixes include/linux/reiserfs_fs.h:1837: sorry, unimplemented: inlining failed in call to 'decrement_bcount': function body not available ChangeSet@1.1532.9.21, 2004-02-04 10:33:21-08:00, akpm@osdl.org [PATCH] gcc-3.5: fix pcm_plugin warnings ChangeSet@1.1532.9.20, 2004-02-04 10:33:12-08:00, akpm@osdl.org [PATCH] gcc-3.5: pcm_misc.c warnings sound/core/pcm_misc.c:557: warning: use of cast expressions as lvalues is deprecated sound/core/pcm_misc.c:568: warning: use of cast expressions as lvalues is deprecated sound/core/pcm_misc.c:569: warning: use of cast expressions as lvalues is deprecated sound/core/pcm_misc.c:570: warning: use of cast expressions as lvalues is deprecated sound/core/pcm_misc.c:586: warning: use of cast expressions as lvalues is deprecated sound/core/pcm_misc.c:596: warning: use of cast expressions as lvalues is deprecated ChangeSet@1.1532.9.19, 2004-02-04 10:33:03-08:00, akpm@osdl.org [PATCH] gcc-3.5: binfmt_elf warning fix fs/binfmt_elf.c:171: warning: use of cast expressions as lvalues is deprecated ChangeSet@1.1532.9.18, 2004-02-04 10:32:55-08:00, akpm@osdl.org [PATCH] gcc-3.5: #ident fixes arch/i386/kernel/msr.c:1:10: warning: extra tokens at end of #ident directive arch/i386/kernel/cpuid.c:1:10: warning: extra tokens at end of #ident directive ChangeSet@1.1532.9.17, 2004-02-04 10:32:45-08:00, akpm@osdl.org [PATCH] gcc-3.5: fix extern inline decls include/linux/bio.h:234: sorry, unimplemented: inlining failed in call to 'bio_phys_segments': function body not available ChangeSet@1.1532.9.16, 2004-02-04 10:32:36-08:00, akpm@osdl.org [PATCH] string fixes for gcc 3.4 From: Andi Kleen gcc 3.4 optimizes sprintf(foo,"%s",string) into strcpy. Unfortunately that isn't seen by the inliner and linux/i386 has no out-of-line strcpy so you end up with a linker error. This patch adds out of line copies for most string functions to avoid this. Actually it doesn't export them to modules yet, that would be the next step. BTW In my opinion we shouldn't use inline string functions at all. The __builtin_str* in modern gcc are better (I used them very successfully on x86-64) and for the bigger functions like strrchr,strtok et.al. it just doesn't make any sense to inline them or even code them in assembler. Also fix the bcopy prototype gcc was complaining about. ChangeSet@1.1532.9.15, 2004-02-04 10:32:27-08:00, akpm@osdl.org [PATCH] Fix more gcc 3.4 warnings From: Andi Kleen Just many more warning fixes for a gcc 3.4 snapshot. It warns for a lot of things now, e.g. for ?: and ({ ... }) and casts as lvalues. And for functions marked inline in headers, but no body. Actually there are more warnings, i stopped fixing at some point. Some of the warnings seem to be dubious (e.g. the binfmt_elf.c one, which looks more like a compiler bug to me) I also fixed the _exit() prototype to be void because gcc was complaining about this. ChangeSet@1.1532.9.14, 2004-02-04 10:32:18-08:00, akpm@osdl.org [PATCH] sisfb update From: Thomas Winischhofer sisfb is simply broken in current 2.6.x. This patch updates sisfb to the current development version which no less than 11 months ahead of the version in the kernel. Updated includes - many fixes (duh) - support for new chipsets (661, 741, 760) - support for new video bridges (301C, 302ELV) - removal of all offending fp code (as discussed earlier this month) - a lot of code clean-up (which is the main reason for its size) ChangeSet@1.1532.9.13, 2004-02-04 10:32:08-08:00, akpm@osdl.org [PATCH] kbuild: Unmangle include options for gcc From: Sam Ravnborg When utilising the make O=... option the include options for gcc were mangled even when absolute paths was used. Also remove duplication of CPPFLAGS. They were assigned twice. [It is still possible for architectures to modify CPPFLAGS]. This patch allows xconfig to be build with make O=... xconfig.It will also help development of external modules with absolute paths for their -I options. Note: As a side effect a full recompile of the kernel takes place due to changes in number of gcc options. ChangeSet@1.1532.9.12, 2004-02-04 10:31:59-08:00, akpm@osdl.org [PATCH] ia32 MSI vector handling fix From: "Nakajima, Jun" To get the vector-based interrupt handling work, we need to give the vector number to device drivers instead of the IRQ if IRQ < 16. It was not happening for SCI, and the patch fixes it. In many cases, the IRQ for SCI is 9, and the problem was not detected, but one particular machine exposed the bug. ChangeSet@1.1532.9.11, 2004-02-04 10:31:50-08:00, akpm@osdl.org [PATCH] lock_cpu_hotplug only if CONFIG_CPU_HOTPLUG From: Rusty Russell The cpucontrol mutex is not required when no cpus can go up and down. Andrew wrote a wrapper for it to avoid #ifdefs, this expands that to only be defined for CONFIG_HOTPLUG_CPU, and uses it everywhere. The only downside is that the cpucontrol lock was overloaded by my recent patch to net/core/flow.c to protect it from reentrance, so this reintroduces the local flow_flush_sem. This code isn't speed critical, so taking two locks when CONFIG_HOTPLUG_CPU=y is not really an issue. ChangeSet@1.1532.9.10, 2004-02-04 10:31:40-08:00, akpm@osdl.org [PATCH] VT locking fixes From: Benjamin Herrenschmidt - Make sure that all console operations are approriately protected under console_sem. - Adds checks to make sure that people are taking console_sem when it is expected to be held. ChangeSet@1.1532.9.9, 2004-02-04 10:31:31-08:00, akpm@osdl.org [PATCH] quiet down SMP boot messages From: Jes Sorensen I'd like to propose the following for 2.6.1-mm/2.6.2. On systems with a large number of CPUs the number of printk's flowing by for each CPU booting starts becoming a real console hog. The following patch eliminates a couple of them (already sent a patch to David for the ia64 specific ones) as well as changes the "Building zonelist : X" in "Built Y zonelists". IMHO it doesn't make any sense to print for each zonelist since it's run in a for loop running from 0 to Y-1 anyway. The patch nukes a few new printk's that were introduced with the scheduler changes to the NUMA code in -mm3, if these are still needed then I won't fight for that part of the patch. ChangeSet@1.1532.9.8, 2004-02-04 10:31:19-08:00, akpm@osdl.org [PATCH] Allow PCI BARs that start at 0 From: Anton Blanchard We have IO BARs on ppc64 machines that begin at address 0. The current pci probe code will ignore anything that starts at 0. Remove these checks. ChangeSet@1.1532.9.7, 2004-02-04 10:31:09-08:00, akpm@osdl.org [PATCH] Remove useless argument from __ste_allocate() From: David Gibson In the current ppc64 code the function __ste_allocate() in arch/ppc64/mm/stab.c takes a context parameter which is never used. This patch removes it. ChangeSet@1.1532.9.6, 2004-02-04 10:30:59-08:00, akpm@osdl.org [PATCH] Make PPC601_SYNC_FIX depend on pmac||prep From: Tom Rini The following has been approved by Paul, FWIW. The following patch makes PPC601_SYNC_FIX depend on PPC_PMAC || PPC_PREP. It used to depend on ALL_PPC I believe, but this was (at least semi-intentionally I gather) backed out. The last time this was discussed, the only platforms old enough to have a 601 to support were pmacs and preps, so it makes some sense to only ask for these machines. ChangeSet@1.1532.9.5, 2004-02-04 10:30:50-08:00, akpm@osdl.org [PATCH] Fixes / Enhancements for PPC_GEN550 From: Tom Rini Various fixes for the PPC_GEN550 backend. - Move PPC_GEN550 bool into a more appropriate spot. - Add PPC_GEN550 support to the MCPN765 platform. - Allow for SERIAL_TEXT_DEBUG on PPC_GEN550. - Add missing headers to arch/ppc/syslib/gen550_dbg.c - Clean-up the KGDB interface such that we allow for a kgdb_map_scc call, but do not require one. - Add gen550 prototypes to - PPC_GEN550 backend code doesn't depend on 8250_SERIAL. ChangeSet@1.1532.9.4, 2004-02-04 10:30:41-08:00, akpm@osdl.org [PATCH] sn2: set iommu bounce limit From: Jes Sorensen The following patch sets the IOMMU bounce limit on the SN2 which is require to avoid some ISA checks in ll_rw_blk.c causing a BUG_ON(). ChangeSet@1.1532.9.3, 2004-02-04 10:30:32-08:00, akpm@osdl.org [PATCH] Eicon isdn driver flush_scheduled_work() fix From: Armin flush_scheduled_work() may not be called from irq-context and it is not necessary for the diva_os_cancel_soft_isr() function anyway. ChangeSet@1.1532.9.2, 2004-02-04 10:30:23-08:00, akpm@osdl.org [PATCH] Fix race in sched_exit() From: Martin Schwidefsky Fix a race on sleep_avg in sched_exit(). The symptom I saw on 64-bit s390 has been a fixpoint divide exception because sleep_avg had a value > NS_MAX_SLEEP_AVG. I tracked it down and the problem is sched_exit which recalculates the parents sleep average without taking the runqueue lock. schedule() subtracts run_time from sleep_avg of the previous process. This can turn out negative and is corrected shortly after the subtraction but that is already too late. sched_exit() already read the negative value an miscalculated the parents sleep_avg -> bang. I fixed this by adding task_rq_lock/task_rq_unlock to sched_exit(). ChangeSet@1.1544, 2004-02-04 03:06:25-05:00, scott.feldman@intel.com [netdrvr e1000] 82547 interrupt assert/de-assert re-ordering * 82547 needs interrupt disable/enable to keep interrupt assertion state synced between 82547 and APIC. 82547 will re-order assert and de-assert messages if hub link bus is busy (heavy traffic). Disabling interrupt on device works around re- order issue. Note: this is a re-patch. We backed out the patch because of a report on a system with a 8086:1019 device would lock up with this patch. Turns out that system was a pre-production sample. ChangeSet@1.1543, 2004-02-04 03:06:18-05:00, scott.feldman@intel.com [netdrvr e1000] on-demand stats support * Provide updated stats when requested via ->get_stats or ethtool. Previously, driver would only update stats every 2 seconds, which would cause some monitoring apps to show zero change from one second to the next. ChangeSet@1.1542, 2004-02-04 03:06:11-05:00, scott.feldman@intel.com [netdrvr e1000] Misc - copyright, changelog spelling * Misc - copyright update, changelog, spelling fixes. ChangeSet@1.1541, 2004-02-04 03:06:04-05:00, scott.feldman@intel.com [netdrvr e1000] Allow 1000/Full setting for Autoneg param * Allow 1000/Full setting for AutoNeg param for Fiber connections. Jon D Mason [jonmason@us.ibm.com]. ChangeSet@1.1540, 2004-02-04 03:05:56-05:00, scott.feldman@intel.com [netdrvr e1000] tx_lock * Fix race in Tx performance path with tx_lock. Between checking if we're out of resources and stopping the queue, we can get a hard interrupt which will clean up all Tx work, and wake the queue. Coming out of hard interrupt context, we stop the queue even though no work was queued, and all work completed has been cleaned up. Scenario requires ring to be completely filled, which is more likely to happen with TSO, since each TSO send consumes multiple ring entries. ChangeSet@1.1539, 2004-02-04 03:05:49-05:00, scott.feldman@intel.com [netdrvr e1000] Serial-over-LAN (SoL) fix * Set VLAN filtering to IEEE 802.1Q after reset so we don't break Serial-over-LAN (SoL) connections that use VLANs. ChangeSet@1.1538, 2004-02-04 03:05:42-05:00, rddunlap@osdl.org [PATCH] sundance: correct printk of dma_addr_t fix dma_addr_t type error with CONFIG_HIGHMEM64G=y; ChangeSet@1.1537, 2004-02-04 03:05:35-05:00, rddunlap@osdl.org [PATCH] yellowfin: correct printk of dma_addr_t fix dma_addr_t type error with CONFIG_HIGHMEM64G=y; ChangeSet@1.1532.9.1, 2004-02-03 19:36:36-08:00, torvalds@home.osdl.org Linux 2.6.2 aka "Feisty Dunnart" See http://www.cse.unsw.edu.au/~gernot/persona/hobbies/dunnart.html for more information about Dunnarts, in case you've never heard of them before. Courtesy of Gernot Heiser. TAG: v2.6.2