]> git.hungrycats.org Git - linux/log
linux
22 years ago[ARM PATCH] 1890/2: Consolidate CPUFREQ handling in SOC PCMCIA driver
Ian Campbell [Thu, 3 Jun 2004 22:13:07 +0000 (23:13 +0100)]
[ARM PATCH] 1890/2:  Consolidate CPUFREQ handling in SOC PCMCIA driver

Patch from Ian Campbell

Rediffed against latest BK. Compiles on Assabet and my PXA255

platform. Tested on my 255 platform.

22 years ago[PATCH] ide: simplify CONFIG_IDEDMA_ONLYDISK logic a bit
Bartlomiej Zolnierkiewicz [Wed, 2 Jun 2004 16:47:52 +0000 (09:47 -0700)]
[PATCH] ide: simplify CONFIG_IDEDMA_ONLYDISK logic a bit

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: remove useless /proc/ide/siimage from siimage.c
Bartlomiej Zolnierkiewicz [Wed, 2 Jun 2004 16:47:41 +0000 (09:47 -0700)]
[PATCH] ide: remove useless /proc/ide/siimage from siimage.c

It only gives (not mapped in case of MMIO) DMA base addresses.
The same info is given during driver initialization (if BM-DMA is used)
or can be obtained from 'lspci -v' output (if MMIO-DMA is used).

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: add IDE_ARCH_OBSOLETE_DEFAULTS
Bartlomiej Zolnierkiewicz [Wed, 2 Jun 2004 16:47:30 +0000 (09:47 -0700)]
[PATCH] ide: add IDE_ARCH_OBSOLETE_DEFAULTS

per jgarzik's suggestion

Define it in <asm/ide.h> if ide_default_io_base(),
ide_default_irq() and ide_init_default_irq() are needed.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: use <asm-i386/ide.h> as <asm-x86_64/ide.h>
Bartlomiej Zolnierkiewicz [Wed, 2 Jun 2004 16:47:18 +0000 (09:47 -0700)]
[PATCH] ide: use <asm-i386/ide.h> as <asm-x86_64/ide.h>

They are identical (modulo infamous PC9800 stuff).

Acked by Andi.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: use generic ide_init_hwif_ports() on m68k
Bartlomiej Zolnierkiewicz [Wed, 2 Jun 2004 16:47:08 +0000 (09:47 -0700)]
[PATCH] ide: use generic ide_init_hwif_ports() on m68k

Also print the same warning as on m68k on other archs too.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: add new nForce IDE/SATA device IDs to amd74xx.c
Bartlomiej Zolnierkiewicz [Wed, 2 Jun 2004 16:46:57 +0000 (09:46 -0700)]
[PATCH] ide: add new nForce IDE/SATA device IDs to amd74xx.c

From: "Brian Lazara" <blazara@nvidia.com>

Add device IDs for new nForce IDE and SATA controllers.  Rename some of
the existing controller names to correctly match released product names.

Acked by Vojtech.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: merge amd74xx.h into amd74xx.c
Bartlomiej Zolnierkiewicz [Wed, 2 Jun 2004 16:46:46 +0000 (09:46 -0700)]
[PATCH] ide: merge amd74xx.h into amd74xx.c

While at it add DECLARE_AMD_DEV() and DECLARE_NV_DEV() macros
(ala piix.h:DECLARE_PIIX_DEV() added by jgarzik).

Acked by Vojtech.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: ide_pci_device_t sanitization
Bartlomiej Zolnierkiewicz [Wed, 2 Jun 2004 16:46:35 +0000 (09:46 -0700)]
[PATCH] ide: ide_pci_device_t sanitization

- convert ->isa_ports into ->flags (IDEPCI_FLAG_ISA_PORTS)
- add IDEPCI_FLAG_{OBS_FORCE_PDC,FORCE_MASTER} flags
  and use them in setup-pci.c
- use struct pci_dev ->vendor and ->device fields directly
  in generic.c and serverworks.c
- remove no longer needed debug checks (dev->device != d->device)
- remove ->vendor and ->device fields from ide_pci_device_t
- misc cleanups

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: fix for generic IDE PCI module
Bartlomiej Zolnierkiewicz [Wed, 2 Jun 2004 16:46:23 +0000 (09:46 -0700)]
[PATCH] ide: fix for generic IDE PCI module

Extracted from the Debian kernel package.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: don't put disks in standby mode on halt on Alpha
Bartlomiej Zolnierkiewicz [Wed, 2 Jun 2004 16:46:12 +0000 (09:46 -0700)]
[PATCH] ide: don't put disks in standby mode on halt on Alpha

From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Wed, 2 Jun 2004 16:42:49 +0000 (09:42 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Wed, 2 Jun 2004 16:41:55 +0000 (09:41 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://gkernel.bkbits.net/libata-2.6
Linus Torvalds [Wed, 2 Jun 2004 15:05:15 +0000 (08:05 -0700)]
Merge bk://gkernel.bkbits.net/libata-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.6
Linus Torvalds [Wed, 2 Jun 2004 15:04:21 +0000 (08:04 -0700)]
Merge bk://gkernel.bkbits.net/net-drivers-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[libata] Use standard headers from include/scsi, not drivers/scsi
Arjan van de Ven [Wed, 2 Jun 2004 13:51:11 +0000 (09:51 -0400)]
[libata] Use standard headers from include/scsi, not drivers/scsi

22 years ago[libata scsi] ack SYNCHRONIZE CACHE command
Jeff Garzik [Wed, 2 Jun 2004 13:31:53 +0000 (09:31 -0400)]
[libata scsi] ack SYNCHRONIZE CACHE command

When taskfile delivery is improved, we will actually perform
this command, instead of no-oping it.

For now, this is cosmetic except for removing an annoying message
that some users see.

22 years ago[libata promise] revert broken taskfile delivery change
Jeff Garzik [Wed, 2 Jun 2004 13:29:00 +0000 (09:29 -0400)]
[libata promise] revert broken taskfile delivery change

The ->tf_load and ->exec_command driver hooks were changed to assume
that PIO was the only type of taskfile ever delivered to these functions.
This will be true... in the future, but not today.  In other drivers
this change was not needed, but Promise executes commands differently
due to its "ATA packet" hardware features, so the Promise drivers need
this change reverted.

Diagnosis and initial fix by Brad Campbell <brad@wasp.net.au>

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/prism54
Jeff Garzik [Wed, 2 Jun 2004 13:00:10 +0000 (09:00 -0400)]
Merge redhat.com:/spare/repo/netdev-2.6/prism54
into redhat.com:/spare/repo/net-drivers-2.6

22 years ago[PATCH] 2.6 Generic HDLC update
Krzysztof Halasa [Wed, 2 Jun 2004 12:20:04 +0000 (08:20 -0400)]
[PATCH] 2.6 Generic HDLC update

The attached patch updates generic HDLC:
- fixed some carrier-related problems (Cisco HDLC and FR links could
  report valid link when no carrier was detected at startup).
- fixed kbuild problems with wanxl firmware (building kernel in separate
  tree). $(src)/wanxlfw.inc is now wanxlfw.inc_shipped.

22 years ago[PATCH] ppp ldisc close deadlock prevention
Paul Mackerras [Wed, 2 Jun 2004 12:14:29 +0000 (08:14 -0400)]
[PATCH] ppp ldisc close deadlock prevention

Jeff Garzik writes:

> So what was the resolution of this?

This patch is what we want.  We don't in fact need to do the read
lock, only the write lock, which is what the original patch did.
However, we need to do it in ppp_synctty.c as well as ppp_async.c.

Thanks to John K Luebs <jkluebs@luebsphoto.com> for pointing out the
problem.

Signed-off-by: Paul Mackerras <paulus@samba.org>
22 years agoCset exclude: jgarzik@redhat.com|ChangeSet|20040527204246|14084
Jeff Garzik [Wed, 2 Jun 2004 12:04:40 +0000 (08:04 -0400)]
Cset exclude: jgarzik@redhat.com|ChangeSet|20040527204246|14084

Revert CONFIG_NET_GIGE change.

The proper fix is _not_ NET_ETHERNET or default twiddling,
but better overall organization of the ethernet driver selection,
which would include not only CONFIG_NET_GIGE but other options as well.

Reverted back to old behavior until a full and complete solution
appears (and people like it, of course).

22 years ago[PATCH] prism54: Add avs header support
Margit Schubert-While [Wed, 2 Jun 2004 11:54:58 +0000 (07:54 -0400)]
[PATCH] prism54: Add avs header support

* islpci_eth.[c,h], islpci_dev.[c,h], isl_ioctl.[c,h] : added
  support for avs header in monitor mode. Based on the work of
  Antonio Eugenio Burriel <aeb@ryanstudios.com>. Unified packets
  header (rfmon_header and rx_annex) for iwspy.

22 years ago[PATCH] prism54: Add iwspy support
Margit Schubert-While [Wed, 2 Jun 2004 11:54:50 +0000 (07:54 -0400)]
[PATCH] prism54: Add iwspy support

        * islpci_eth.c, islpci_dev.h, isl_ioctl.c : iwspy support.

22 years ago[PATCH] prism54: Reset card on tx timeout
Margit Schubert-While [Wed, 2 Jun 2004 11:54:42 +0000 (07:54 -0400)]
[PATCH] prism54: Reset card on tx timeout

* islpci_eth.[c,h] islpci_dev.[c,h] : reset card on tx_timeout.
  Patch submited by Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua>

22 years ago[PATCH] prism54: Add new private ioctls
Margit Schubert-While [Wed, 2 Jun 2004 11:54:33 +0000 (07:54 -0400)]
[PATCH] prism54: Add new private ioctls

* oid_mgt.[c,h] : added type to oids. New functions :
  oid_cpu_to_le(), mgt_le_to_cpu() and mgt_response_to_str().

* isl_ioctl.c : use private sub-ioctls. Added a
  bunch of private sub-ioctls. Removed the le??_to_cpu and
  cpu_to_le??. Give the error code when sending wireless
  events.

22 years ago[PATCH] prism54: delete cvs tags
Margit Schubert-While [Wed, 2 Jun 2004 11:54:25 +0000 (07:54 -0400)]
[PATCH] prism54: delete cvs tags

* Remove CVS tags from source

22 years ago[PATCH] Check cmd in plip_ioctl
Herbert Xu [Wed, 2 Jun 2004 11:48:29 +0000 (07:48 -0400)]
[PATCH] Check cmd in plip_ioctl

I received a bug report that a PLIP interface was incorrectly identified
as wireless because plip_ioctl did not check what the value of cmd is
before processing the request.

This patch fixes exactly that.

22 years ago[ATM]: fore200e dma direction macro tests no longer needed.
David S. Miller [Wed, 2 Jun 2004 09:14:08 +0000 (02:14 -0700)]
[ATM]: fore200e dma direction macro tests no longer needed.

22 years ago[SBUS]: Stop using drivers/scsi/{scsi,hosts}.h in drivers.
Tom 'spot' Callaway [Wed, 2 Jun 2004 09:02:20 +0000 (02:02 -0700)]
[SBUS]: Stop using drivers/scsi/{scsi,hosts}.h in drivers.

22 years ago[SBUS]: Define dma direction bits in terms of enum dma_data_direction.
Christoph Hellwig [Wed, 2 Jun 2004 09:01:05 +0000 (02:01 -0700)]
[SBUS]: Define dma direction bits in terms of enum dma_data_direction.

22 years ago[SPARC64]: Kill _exit kernelsyscall stub from unistd.h
David S. Miller [Wed, 2 Jun 2004 08:58:19 +0000 (01:58 -0700)]
[SPARC64]: Kill _exit kernelsyscall stub from unistd.h

22 years ago[PATCH] Fix signal race during process exit
Jeremy Kerr [Wed, 2 Jun 2004 00:18:12 +0000 (17:18 -0700)]
[PATCH] Fix signal race during process exit

Fix a race identified by Jeremy Kerr <jeremy@redfishsoftware.com.au>: if
update_process_times() decides to deliver a signal due to process timer
expiry, it can race with __exit_sighand()'s freeing of task->sighand.

Fix that by clearing the per-process timer state in exit_notify(), while under
local_irq_disable() and under tasklist_lock.  tasklist_lock provides exclusion
wrt release_task()'s freeing of task->sighand and local_irq_disable() provides
exclusion wrt update_process_times()'s inspection of the per-process timer
state.

We also need to deal with the send_sig() calls in do_process_times() by
setting rlim_cur to RLIM_INFINITY.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge bk://linux-ntfs.bkbits.net/ntfs-2.6
Linus Torvalds [Wed, 2 Jun 2004 00:15:49 +0000 (17:15 -0700)]
Merge bk://linux-ntfs.bkbits.net/ntfs-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge cantab.net:/home/src/bklinux-2.6
Anton Altaparmakov [Tue, 1 Jun 2004 18:35:37 +0000 (19:35 +0100)]
Merge cantab.net:/home/src/bklinux-2.6
into cantab.net:/home/src/ntfs-2.6

22 years agoMerge bk://bk.skbuff.net:20607/linux-2.6-ipstats
David S. Miller [Tue, 1 Jun 2004 14:58:12 +0000 (07:58 -0700)]
Merge bk://bk.skbuff.net:20607/linux-2.6-ipstats
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years ago[IPV4] use ip-independent ipstats_mib to store IPv4 statistics.
Hideaki Yoshifuji [Wed, 2 Jun 2004 03:05:31 +0000 (12:05 +0900)]
[IPV4] use ip-independent ipstats_mib to store IPv4 statistics.

22 years ago[IPV6] rename snmp6_ipv6_list to snmp6_ipstats_list.
Hideaki Yoshifuji [Wed, 2 Jun 2004 01:32:35 +0000 (10:32 +0900)]
[IPV6] rename snmp6_ipv6_list to snmp6_ipstats_list.

22 years ago[IPV{4,6}] introduce ip-independent ipstats_mib based on ipv6_mib.
Hideaki Yoshifuji [Wed, 2 Jun 2004 01:22:57 +0000 (10:22 +0900)]
[IPV{4,6}] introduce ip-independent ipstats_mib based on ipv6_mib.

22 years ago[NET] Introduce and use several common stuff for snmp item list.
Hideaki Yoshifuji [Wed, 2 Jun 2004 00:51:12 +0000 (09:51 +0900)]
[NET] Introduce and use several common stuff for snmp item list.

22 years ago[IPV6] use appropriate __alignof__() for mibs.
Hideaki Yoshifuji [Wed, 2 Jun 2004 00:24:48 +0000 (09:24 +0900)]
[IPV6] use appropriate __alignof__() for mibs.

22 years ago[SPARC64]: Compat syscall overhaul.
David S. Miller [Tue, 1 Jun 2004 14:43:05 +0000 (07:43 -0700)]
[SPARC64]: Compat syscall overhaul.
1) Make syscall entry zero-extend all arguments.
2) Sign extend those needed in sys32.S
3) Kill the A() AA() macros, replace with compat_ptr() et al.

22 years ago[IPV4]: Store idev in routes.
Hideaki Yoshifuji [Tue, 1 Jun 2004 13:21:09 +0000 (06:21 -0700)]
[IPV4]: Store idev in routes.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Tue, 1 Jun 2004 08:18:27 +0000 (01:18 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[ARM] asm_do_IRQ takes an unsigned IRQ number.
Russell King [Tue, 1 Jun 2004 23:37:35 +0000 (00:37 +0100)]
[ARM] asm_do_IRQ takes an unsigned IRQ number.

22 years ago[ARM PATCH] 1896/2: distinguish between memory and LCD clock on PXA
Nicolas Pitre [Tue, 1 Jun 2004 23:06:35 +0000 (00:06 +0100)]
[ARM PATCH] 1896/2: distinguish between memory and LCD clock on PXA

Patch from Nicolas Pitre

[patch rediffed]

On PXA27x the memory and LCd clocks are different.
Also clean the PXA27x clock code a bit.

22 years ago[ARM] Fix missing spinlock initialisation.
Russell King [Tue, 1 Jun 2004 21:42:35 +0000 (22:42 +0100)]
[ARM] Fix missing spinlock initialisation.

22 years ago[ARM] Update ARM memory region reservations.
Russell King [Tue, 1 Jun 2004 21:36:39 +0000 (22:36 +0100)]
[ARM] Update ARM memory region reservations.

Remove 26-bit ARM region reserves.

All region reserves start at PHYS_OFFSET, and we only ever have one,
so set res_size and reserve the region from PHYS_OFFSET size res_size.

Don't free the .init sections on Integrator/CP - they sit in the SSRAM
obscured region so we are unable to use them for DMA purposes.

22 years agoAdd comments on load balancing special cases.
Linus Torvalds [Tue, 1 Jun 2004 06:56:21 +0000 (23:56 -0700)]
Add comments on load balancing special cases.

Ingo explains:

The condition is 'impossible', but the whole balancing code is
(intentionally) a bit racy:

                cpus_and(tmp, group->cpumask, cpu_online_map);
                if (!cpus_weight(tmp))
                        goto next_group;

                for_each_cpu_mask(i, tmp) {
                        if (!idle_cpu(i))
                                goto next_group;
                        push_cpu = i;
                }

                rq = cpu_rq(push_cpu);
                double_lock_balance(busiest, rq);
                move_tasks(rq, push_cpu, busiest, 1, sd, IDLE);

in the for_each_cpu_mask() loop we specifically check for each CPU in
the target group to be idle - so push_cpu's runqueue == busiest [==
current runqueue] cannot be true because the current CPU is not idle, we
are running in the migration thread ... But this is not a real problem,
load-balancing we do in a racy way to reduce overhead [and it's all
statistics anyway so absolute accuracy is impossible], and active
balancing itself is somewhat racy due to the migration-thread wakeup
(and the active_balance flag) going outside the runqueue locks [for
similar reasons].

so it all looks quite plausible - the normal SMP boxes dont trigger it,
but Bjorn's 128-CPU setup with a non-trivial domain hiearachy triggers
it.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] active_load_balance() deadlock
Bjorn Helgaas [Tue, 1 Jun 2004 06:40:59 +0000 (23:40 -0700)]
[PATCH] active_load_balance() deadlock

active_load_balance() looks susceptible to deadlock when busiest==rq.
Without the following patch, my 128-way box deadlocks consistently
during boot-time driver init.

22 years agoMerge http://linux-watchdog.bkbits.net/linux-2.6-watchdog
Linus Torvalds [Tue, 1 Jun 2004 06:03:10 +0000 (23:03 -0700)]
Merge http://linux-watchdog.bkbits.net/linux-2.6-watchdog
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[WATCHDOG] v2.6.6 w83627hf_wdt.c-patch
Pádraig Brady [Tue, 1 Jun 2004 09:52:38 +0000 (11:52 +0200)]
[WATCHDOG] v2.6.6 w83627hf_wdt.c-patch

Add w83627hf_select_wd_register and w83627hf_unselect_wd_register.
Add w83627hf_init to fix initialization problem on certain motherboards.
Make ping and disable code return 0 (int) on success.
Extract set_heartbeat code to seperate function.

22 years ago[IPSEC]: Fix xfrm_tunnel leak.
Herbert Xu [Tue, 1 Jun 2004 05:35:39 +0000 (22:35 -0700)]
[IPSEC]: Fix xfrm_tunnel leak.

Turns out that the IPIP tunnel used by IPCOMP states are only freed
if the IPCOMP state is deleted by xfrm_state_delete.

This is not the case for all states.  For example, an immature IPCOMP
state that dies in add_sa will not go through xfrm_state_delete.

The following patch moves the delete_tunnel call into IPCOMP's
destructor.  I think it makes more sense there as IPCOMP is the
only user of the tunnel anyway.

22 years ago[IPV6]: ndisc_dst_alloc can never get a NULL dev.
David S. Miller [Tue, 1 Jun 2004 05:29:20 +0000 (22:29 -0700)]
[IPV6]: ndisc_dst_alloc can never get a NULL dev.

22 years ago[IPV6]: Store idev in routes.
Hideaki Yoshifuji [Tue, 1 Jun 2004 05:27:14 +0000 (22:27 -0700)]
[IPV6]: Store idev in routes.

22 years agoStart documenting the sign-off procedure in SubmittingPatches
Linus Torvalds [Tue, 1 Jun 2004 05:13:52 +0000 (22:13 -0700)]
Start documenting the sign-off procedure in SubmittingPatches

We already have over 200 sign-off lines in the kernel, so
let's document the thing, even if discussion may still be
on-going.

22 years agoMerge bk://linux-dj.bkbits.net/agpgart
Linus Torvalds [Tue, 1 Jun 2004 04:36:29 +0000 (21:36 -0700)]
Merge bk://linux-dj.bkbits.net/agpgart
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge delerium.codemonkey.org.uk:/mnt/nfs/neologic/bar/src/kernel/2.6/trees/bk-linus
Dave Jones [Tue, 1 Jun 2004 19:10:55 +0000 (20:10 +0100)]
Merge delerium.codemonkey.org.uk:/mnt/nfs/neologic/bar/src/kernel/2.6/trees/bk-linus
into delerium.codemonkey.org.uk:/mnt/nfs/neologic/bar/src/kernel/2.6/trees/agpgart

22 years ago[AGPGART] intel-agp: skip non-AGP devices
Dave Jones [Tue, 1 Jun 2004 18:39:56 +0000 (19:39 +0100)]
[AGPGART] intel-agp: skip non-AGP devices
From: Matt Domsch.
The E7205 doesn't have an AGP header, so printing this message is
pretty much useless.  Also make it KERN_WARNING as well, as it's
not really worthy of a KERN_ERR

22 years agoCset exclude: davej@redhat.com|ChangeSet|20040523113850|65135
Dave Jones [Tue, 1 Jun 2004 18:34:01 +0000 (19:34 +0100)]
Cset exclude: davej@redhat.com|ChangeSet|20040523113850|65135

22 years ago[AGPGART] Improve the resume functions for Intel AGP bridges by restoring config...
Dave Jones [Tue, 1 Jun 2004 11:35:02 +0000 (12:35 +0100)]
[AGPGART] Improve the resume functions for Intel AGP bridges by restoring config space
(the bios might not have done that).

From: Arjan van de Ven

22 years ago[AGPGART] Make agp=off work again.
Dave Jones [Tue, 1 Jun 2004 10:00:11 +0000 (11:00 +0100)]
[AGPGART] Make agp=off work again.
This option only worked for the amd64 driver.
On every other driver, the only thing it did was
make it not printk the banner on startup.

22 years ago[AGPGART] Fix broken serverworks tlb flush routine.
Dave Jones [Tue, 1 Jun 2004 09:50:18 +0000 (10:50 +0100)]
[AGPGART] Fix broken serverworks tlb flush routine.
This is horribly broken due to a jiffy wrap bug, we never get out of
the while loop, preventing booting on a kernel with this driver
compiled in. (See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=124495)

The warning message there has never been reported in any bug report
that google can find, so I'm of the opinion that this driver is trying
to be too clever for its own good.  Rip out the jiffies logic completely,
it should be totally unnecessary.

22 years agoMerge bk://linux-dj.bkbits.net/cpufreq
Linus Torvalds [Tue, 1 Jun 2004 04:34:45 +0000 (21:34 -0700)]
Merge bk://linux-dj.bkbits.net/cpufreq
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[CPUFREQ] Fix build of longhaul.
Dave Jones [Tue, 1 Jun 2004 14:49:42 +0000 (15:49 +0100)]
[CPUFREQ] Fix build of longhaul.
Arjan noted that in some cases, the build fails.
This should fix it up.

22 years ago[PATCH] radeonfb powerdown doesn't work
Andrew Morton [Tue, 1 Jun 2004 01:52:40 +0000 (18:52 -0700)]
[PATCH] radeonfb powerdown doesn't work

From: <fxkuehl@gmx.de>

When I switch the computer to standby with echo -n standby >
/sys/power/state the radeonfb driver tells me its suspending to state 1 but
the display does not get turned off.  It turns out to be a small typo in
drivers/video/aty/radeon_pm.c.

(from http://bugme.osdl.org/show_bug.cgi?id=2758)

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] CRIS architecture update
Andrew Morton [Tue, 1 Jun 2004 01:52:29 +0000 (18:52 -0700)]
[PATCH] CRIS architecture update

From: "Mikael Starvik" <mikael.starvik@axis.com>

- Lots of fixes from 2.4.

- Updated for 2.6.6.

- Added IDE driver

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] correct use_mm()/unuse_mm() to use task_lock() to protect ->mm
Andrew Morton [Tue, 1 Jun 2004 01:52:01 +0000 (18:52 -0700)]
[PATCH] correct use_mm()/unuse_mm() to use task_lock() to protect ->mm

From: William Lee Irwin III <wli@holomorphy.com>

Split off from suparna's patches:

Correct use_mm()/unuse_mm() to use task_lock() to protect task->mm.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] use aio workqueue in fs/aio.c
Andrew Morton [Tue, 1 Jun 2004 01:51:50 +0000 (18:51 -0700)]
[PATCH] use aio workqueue in fs/aio.c

From: William Lee Irwin III <wli@holomorphy.com>

Minor aio correction split off from suparna's patches:

Use the dedicated aio workqueue, not keventd, in order to isolate the rest
of the system from aio's demands.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cpqarray.c: seed the random number pool
Andrew Morton [Tue, 1 Jun 2004 01:51:39 +0000 (18:51 -0700)]
[PATCH] cpqarray.c: seed the random number pool

From: George France <france@handhelds.org>

Teach cpqarray.c to do the add_disk_randomness() thing.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] sched: remove noinline workaround
Andrew Morton [Tue, 1 Jun 2004 01:51:28 +0000 (18:51 -0700)]
[PATCH] sched: remove noinline workaround

From: Ingo Molnar <mingo@elte.hu>

Now the x86_64 bitop memory clobber problem has been fixed we can remove
this.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] i386: add missing bitop.h memory clobbers
Andrew Morton [Tue, 1 Jun 2004 01:51:17 +0000 (18:51 -0700)]
[PATCH] i386: add missing bitop.h memory clobbers

From: Andi Kleen <ak@muc.de>

Add missing memory clobbers to find_first_bit() and find_first_zero_bit().

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Fix readahead handling in knfsd
Andrew Morton [Tue, 1 Jun 2004 01:51:07 +0000 (18:51 -0700)]
[PATCH] Fix readahead handling in knfsd

From: NeilBrown <neilb@cse.unsw.edu.au>

The read-ahead structures were not being initialised properly, and were not
having the use-count decremented after use, making them fairly useless
(since Apr 2002!).

From: Colin Gibbs <colin@gibbsonline.net>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix mca procfs stub
Andrew Morton [Tue, 1 Jun 2004 01:50:56 +0000 (18:50 -0700)]
[PATCH] fix mca procfs stub

From: Christoph Hellwig <hch@lst.de>

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] linux/timer.h needs linux/stddef.h
Andrew Morton [Tue, 1 Jun 2004 01:50:45 +0000 (18:50 -0700)]
[PATCH] linux/timer.h needs linux/stddef.h

From: Christoph Hellwig <hch@lst.de>

timer.h is using NULL and thus needs stddef.h, without it some drivers
break on alpha.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] s/tkill/tgkill/ in /** documentation */
Andrew Morton [Tue, 1 Jun 2004 01:50:34 +0000 (18:50 -0700)]
[PATCH] s/tkill/tgkill/ in /** documentation */

From: bert hubert <ahu@ds9a.nl>

Documentation is in fact for tgkill and not for tkill

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] vesafb: vram boot option the same as 2.4.x
Andrew Morton [Tue, 1 Jun 2004 01:50:23 +0000 (18:50 -0700)]
[PATCH] vesafb: vram boot option the same as 2.4.x

From: Marc-Christian Petersen <m.c.p@kernel.linux-systeme.com>

Give the vesafb `vram' boot option the same (silly) syntax as 2.4 and
document it.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Document checkstacks
Andrew Morton [Tue, 1 Jun 2004 01:50:12 +0000 (18:50 -0700)]
[PATCH] Document checkstacks

From: Diego Calleja =?ISO-8859-15?Q?Garc=EDa?= <diegocg@teleline.es>

It'll be much better if the world can know about the existence of
checkstacks.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] pnpbios only makes sense for X86
Andrew Morton [Tue, 1 Jun 2004 01:50:02 +0000 (18:50 -0700)]
[PATCH] pnpbios only makes sense for X86

From: Christoph Hellwig <hch@lst.de>

Extracted from the Debian kernel package

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] SECURITY_SELINUX depends on NET
Andrew Morton [Tue, 1 Jun 2004 01:49:51 +0000 (18:49 -0700)]
[PATCH] SECURITY_SELINUX depends on NET

From: Adrian Bunk <bunk@fs.tum.de>

  LD      .tmp_vmlinux1
security/built-in.o(.text+0x97e4): In function `selnl_notify':
: undefined reference to `alloc_skb'
security/built-in.o(.text+0x988a): In function `selnl_notify':
: undefined reference to `netlink_broadcast'

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] POSIX_MQUEUE depends on NET
Andrew Morton [Tue, 1 Jun 2004 01:49:40 +0000 (18:49 -0700)]
[PATCH] POSIX_MQUEUE depends on NET

From: Adrian Bunk <bunk@fs.tum.de>

POSIX_MQUEUE requires netlink.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] md.c message during quiet boot
Andrew Morton [Tue, 1 Jun 2004 01:49:31 +0000 (18:49 -0700)]
[PATCH] md.c message during quiet boot

From: Ingo Molnar <mingo@elte.hu>

the patch below gets rid of a message that gets printed during FC2's quiet
bootup.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Missing pop-off in arch/i386/kernel/acpi/wakeup.S
Andrew Morton [Tue, 1 Jun 2004 01:49:20 +0000 (18:49 -0700)]
[PATCH] Missing pop-off in arch/i386/kernel/acpi/wakeup.S

From: <gniibe@m17n.org>

There is a missing pop-off after call of acpi_enter_sleep_state.  On
success, acpi_enter_sleep_state never returns, but on failure, it will
cause kernel OOPS.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Support for SC1100
Andrew Morton [Tue, 1 Jun 2004 01:49:10 +0000 (18:49 -0700)]
[PATCH] Support for SC1100

From: David Goodenough <david.goodenough@btconnect.com>

Add PCI device supoprt for the Geode SC1100-based Microtik Routerboard 230.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Mark cache_names __initdata
Andrew Morton [Tue, 1 Jun 2004 01:48:58 +0000 (18:48 -0700)]
[PATCH] Mark cache_names __initdata

From: Brian Gerst <bgerst@didntduck.org>

We don't need to keep the pointer array around after the caches are
initialized.  This doesn't affect the actual strings.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Add FUTEX_CMP_REQUEUE futex op
Andrew Morton [Tue, 1 Jun 2004 01:48:47 +0000 (18:48 -0700)]
[PATCH] Add FUTEX_CMP_REQUEUE futex op

From: Jakub Jelinek <jakub@redhat.com>

FUTEX_REQUEUE operation has been added to the kernel mainly to improve
pthread_cond_broadcast which previously used FUTEX_WAKE INT_MAX op.
pthread_cond_broadcast releases internal condvar mutex before FUTEX_REQUEUE
operation, as otherwise the woken up thread most likely immediately sleeps
again on the internal condvar mutex until the broadcasting thread releases it.

Unfortunately this is racy and causes e.g.
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nptl/tst-cond16.c?rev=1.1&content-type=text/x-cvsweb-markup&cvsroot=glibc
to hang on SMP.

http://listman.redhat.com/archives/phil-list/2004-May/msg00023.html contains
analysis how the hang happens, the problem is if any thread does
pthread_cond_*wait in between releasing of the internal condvar mutex and
FUTEX_REQUEUE operation, a wrong thread might be awaken (and immediately go to
sleep again because it doesn't satisfy conditions for returning from
pthread_cond_*wait) while the right thread requeued on the associated mutex
and there would be nobody to wake that thread up.

The patch below extends FUTEX_REQUEUE operation with something FUTEX_WAIT
already uses:

FUTEX_CMP_REQUEUE is passed an additional argument which is the expected value
of *futex.  Kernel then while holding the futex locks checks if *futex !=
expected and returns -EAGAIN in that case, while if it is equal, continues
with a normal FUTEX_REQUEUE operation.  If the syscall returns -EAGAIN, NPTL
can fall back to FUTEX_WAKE INT_MAX operation which doesn't have this problem,
but is less efficient, while in the likely case that nobody hit the (small)
window the efficient FUTEX_REQUEUE operation is used.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Add watchdog timer to iseries_veth driver
Andrew Morton [Tue, 1 Jun 2004 01:48:36 +0000 (18:48 -0700)]
[PATCH] Add watchdog timer to iseries_veth driver

From: David Gibson <david@gibson.dropbear.id.au>

Currently the iSeries virtual ethernet driver has no Tx watchdog timer.
This makes it vulnerable to clagging up if the other end of connection is
misbehaving - in particular if it is not giving timely hypervisor level
acks to our data frams.

This patch adds a watchdog timer which resets the connection to any lpar we
seem to be having trouble sending to.  With any luck the other end might
behave better after the reset.  If not, this will at least unclag the queue
for a while so we can keep talking to the lpars which are behaving
correctly.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: iseries bolted SLB fix
Andrew Morton [Tue, 1 Jun 2004 01:48:25 +0000 (18:48 -0700)]
[PATCH] ppc64: iseries bolted SLB fix

From: Anton Blanchard <anton@samba.org>

Legacy iseries has problems with the bolted vmalloc patch.  This patch
disables the optimisation on iseries and creates a slb_add_bolted helper
function.

Also, while we require all SLB entries to be context switched, we werent
informing the iseries hypervisor.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: SLB accounting fix
Andrew Morton [Tue, 1 Jun 2004 01:48:14 +0000 (18:48 -0700)]
[PATCH] ppc64: SLB accounting fix

From: Anton Blanchard <anton@samba.org>

Even though we have a variable containing the number of entries in the SLB,
we hardwire the value at boot.  We also dont use the variable in the head.S
fastpath handler.

This patch removes it.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: bolt first vmalloc segment into SLB
Andrew Morton [Tue, 1 Jun 2004 01:48:03 +0000 (18:48 -0700)]
[PATCH] ppc64: bolt first vmalloc segment into SLB

From: Anton Blanchard <anton@samba.org>

Based on some profiles we noticed the first vmalloc region was being
continually cast out and replaced.  All modules end up there so it is one
of our hottest segments.

This patch bolts the vmalloc region into the second segment.  SLB misses on
an NFS benchmark were reduced by about 10% with this patch.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: reset iseries progress indicator on boot
Andrew Morton [Tue, 1 Jun 2004 01:47:52 +0000 (18:47 -0700)]
[PATCH] ppc64: reset iseries progress indicator on boot

From: Anton Blanchard <anton@samba.org>

Reset the progress indicator on iseries after boot.

Signed-off-by: John Engel <engel@us.ibm.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: add eeh_add_device_early/late
Andrew Morton [Tue, 1 Jun 2004 01:47:41 +0000 (18:47 -0700)]
[PATCH] ppc64: add eeh_add_device_early/late

From: Anton Blanchard <anton@samba.org>

Implement eeh_add_device_early and eeh_add_device_late, required for
the ppc64 PCI hotplug code.

Signed-off-by: Linas Vepstas <linas@us.ibm.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: iSeries fix virtual ethernet transmit block
Andrew Morton [Tue, 1 Jun 2004 01:47:31 +0000 (18:47 -0700)]
[PATCH] ppc64: iSeries fix virtual ethernet transmit block

From: Stephen Rothwell <sfr@canb.auug.org.au>

This patch fixes the virtual ethernet driver so that it will not block the
transmit queue indefinitely.  This patch appplies on top of the previous
patch from Rusty that removed skb_clone.  There is one white space fix in
hte middle of this - I hope that doesn't offend :-).

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: iSeries virtual ethernet minor optimisation
Andrew Morton [Tue, 1 Jun 2004 01:47:20 +0000 (18:47 -0700)]
[PATCH] ppc64: iSeries virtual ethernet minor optimisation

From: Stephen Rothwell <sfr@canb.auug.org.au>

This has only been adjusted by me to apply after David Gibson's patch to
add a watchdog timer.

The iseries_veth driver does skb_clone, it should only need to skb_get,
which is cheaper.  Should help performance a little.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: iSeries default config update
Andrew Morton [Tue, 1 Jun 2004 01:47:09 +0000 (18:47 -0700)]
[PATCH] ppc64: iSeries default config update

From: Stephen Rothwell <sfr@canb.auug.org.au>

This patch brings the iSeries default config up to date and changes some of
the options to what I use.  These are more sensible options (at least in my
opinion :-)).  Please apply.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] radeonfb fix (non-8bpp clear doesn't use palette)
Andrew Morton [Tue, 1 Jun 2004 01:46:58 +0000 (18:46 -0700)]
[PATCH] radeonfb fix (non-8bpp clear doesn't use palette)

From: Jurriaan <thunder7@xs4all.nl>

I've used this patch since 2.6.5, and other users have confirmed it
solves their problems.

Basically, when not in 8bpp mode, radeonfb should use the palette when
clearing a region on screen.  This is how it's done in 2.4 and xfree, also.

Signed-off-by: Jurriaan Kalkman <thunder7@xs4all.nl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: fix missing RELOCs, add linux,phandle property
Paul Mackerras [Tue, 1 Jun 2004 01:36:07 +0000 (18:36 -0700)]
[PATCH] ppc64: fix missing RELOCs, add linux,phandle property

This fixes a couple of bugs in arch/ppc64/kernel/prom.c.  We were
missing a couple of places where we needed to use RELOC().  I added the
RELOC in one case, and in the other, moved the variable that we were
accessing onto the stack (and reduced its size).  (We use the variable
to get a property value, but we aren't interested in the value, just in
whether the property exists or not.  Since we pass the size of the
variable to the OF getprop call, it won't overflow.) The effect of
missing the RELOCs would be that random memory locations get used on IBM
pSeries systems (possibly causing random boot failures).

The other thing that this does is add a linux,phandle property to each
node, containing the phandle for the node, which is the token that OF
uses to identify the node.  Some nodes reference other nodes by means
of their phandle.  Without the linux,phandle property, userspace code
looking at the OF device-tree image in /proc/device-tree has no way of
knowing which other node is being referenced.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Export kthread primitives
Rusty Russell [Tue, 1 Jun 2004 01:35:56 +0000 (18:35 -0700)]
[PATCH] Export kthread primitives

kthreads are not just for breakfast anymore.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (creator)
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Fix x86-64 compilation without CONFIG_NUMA
Andi Kleen [Tue, 1 Jun 2004 01:35:45 +0000 (18:35 -0700)]
[PATCH] Fix x86-64 compilation without CONFIG_NUMA

This fixes compilation of x86-64 without CONFIG_NUMA again (got broken
by the previous patchkit)

22 years agosparse: use new generic __chk_user_ptr() macro in x86/ppc64/sparc*
Linus Torvalds [Tue, 1 Jun 2004 01:33:51 +0000 (18:33 -0700)]
sparse: use new generic __chk_user_ptr() macro in x86/ppc64/sparc*

Older versions of gcc were unhappy with our previous trick, and
just separating out the __CHECKER__ case made it much simpler.