]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] ppc64: RTAS error logs can appear twice in dmesg
Anton Blanchard [Tue, 14 Sep 2004 00:41:15 +0000 (17:41 -0700)]
[PATCH] ppc64: RTAS error logs can appear twice in dmesg

I've started seeing rtas errors printed twice.  Remove the second call to
printk_log_rtas.

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: remove SPINLINE config option
Anton Blanchard [Tue, 14 Sep 2004 00:41:03 +0000 (17:41 -0700)]
[PATCH] ppc64: remove SPINLINE config option

After the spinlock rework, CONFIG_SPINLINE doesnt work and causes a compile
error.  Remove it for now.

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: lparcfg whitespace and wordwrap cleanup.
Will Schmidt [Tue, 14 Sep 2004 00:40:51 +0000 (17:40 -0700)]
[PATCH] ppc64: lparcfg whitespace and wordwrap cleanup.

This patch is the result of running Lindent against
arch/ppc64/kernel/lparcfg.c.

This cleans up an assortment of whitespace and wordwrap inconsistencies.

Signed-off-by: Will Schmidt <willschm@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: lparcfg fixes for processor counts
Will Schmidt [Tue, 14 Sep 2004 00:40:39 +0000 (17:40 -0700)]
[PATCH] ppc64: lparcfg fixes for processor counts

This patch corrects how the lparcfg interface was presenting the number of
active and potential processors.  (As reported in LTC bugzilla number 10889).

- Correct output for partition_potential_processors and
  system_active_processors.
- suppress pool related values in scenarios where they do not make
  sense. (non-shared processor configurations)
- Display pool_capacity as a percentage, to match the behavior from
  iSeries code.

Signed-off-by: Will Schmidt <willschm@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Pointer dereference before NULL check in ACPI thermal driver
Dave Jones [Tue, 14 Sep 2004 00:40:27 +0000 (17:40 -0700)]
[PATCH] Pointer dereference before NULL check in ACPI thermal driver

Again, found with coverity's checker.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ES7000 subarch update
Jason Davis [Tue, 14 Sep 2004 00:40:15 +0000 (17:40 -0700)]
[PATCH] ES7000 subarch update

The patch below implements an algorithm to determine an unique GSI override
for mapping GSIs to IO-APIC pins correctly.  GSI overrides are required in
order for ES7000 machines to function properly since IRQ to pin mappings
are NOT all one-to-one.  This patch applies only to the Unisys specific
ES7000 machines and has been tested thoroughly on several models of the
ES7000 line.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix schedstats null deref in sched_exec
Nathan Lynch [Tue, 14 Sep 2004 00:40:03 +0000 (17:40 -0700)]
[PATCH] fix schedstats null deref in sched_exec

In sched_exec, schedstat_inc will dereference a null pointer if no domain
is found with the SD_BALANCE_EXEC flag set.  This was exposed during
testing of the previous patches where cpus are temporarily attached to a
dummy domain without SD_BALANCE_EXEC set.

Signed-off-by: Nathan Lynch <nathanl@austin.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Mon, 13 Sep 2004 09:09:54 +0000 (02:09 -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 PATCH] 2093/1: S3C2410 - remove un-necessary resource from NAND
Ben Dooks [Tue, 14 Sep 2004 00:52:16 +0000 (01:52 +0100)]
[ARM PATCH] 2093/1: S3C2410 - remove un-necessary resource from NAND

Patch from Ben Dooks

Removed resource description left by copying error

Thanks to Klaus Fetscher for pointing this out.

Signed-off-by: Ben Dooks
22 years ago[ARM PATCH] 2092/1: S3C2410 - gpio bugfix and additions
Ben Dooks [Tue, 14 Sep 2004 00:47:50 +0000 (01:47 +0100)]
[ARM PATCH] 2092/1: S3C2410 - gpio bugfix and additions

Patch from Ben Dooks

Fix inverted mask in s3c2410_gpio_setpin() function,
add s3c2410_modify_misccr() for shared register, and
add s3c2410_gpio_getpin()

Signed-off-by: Ben Dooks
22 years ago[ARM PATCH] 2091/1: S3C2410 - change id of s3c2410-ohci
Ben Dooks [Tue, 14 Sep 2004 00:43:25 +0000 (01:43 +0100)]
[ARM PATCH] 2091/1: S3C2410 - change id of s3c2410-ohci

Patch from Ben Dooks

Fix missed ID change on s3c2410-usb

Signed-off-by: Ben DOoks
22 years ago[ARM PATCH] 2090/2: S3C2410 - usb gadged (udc) include
Ben Dooks [Tue, 14 Sep 2004 00:39:13 +0000 (01:39 +0100)]
[ARM PATCH] 2090/2: S3C2410 - usb gadged (udc) include

Patch from Ben Dooks

Header file for USB gadget controller (udc) for the
Samsung S3C2410 SoC

Signed-off-by: Herbert Poetzl
Signed-off-by: Ben Dooks
22 years ago[ARM] Revive kapmd and provide apm_queue_event()
Russell King [Tue, 14 Sep 2004 00:33:33 +0000 (01:33 +0100)]
[ARM] Revive kapmd and provide apm_queue_event()

Add kapmd thread to provide a process context to handle "APM"
events submitted via apm_queue_event().

Add apm_queue_event(), which can be called from hardware
interrupt handlers and the like, typically to fire off a
suspend.

22 years ago[ARM] Update APM state definitions
Russell King [Tue, 14 Sep 2004 00:28:34 +0000 (01:28 +0100)]
[ARM] Update APM state definitions

Move existing APM state definitions into struct apm_power_info,
and add further definitions describing other fields.

22 years ago[ARM] Keep APM threads frozen
Russell King [Tue, 14 Sep 2004 00:22:23 +0000 (01:22 +0100)]
[ARM] Keep APM threads frozen

Ensure threads waiting for suspend to occur in apm_ioctl are
not woken by the pm_suspend thread freezing - they're already
frozen.

22 years ago[ARM] No point having "nonblock" local variable - kill it.
Russell King [Tue, 14 Sep 2004 00:18:17 +0000 (01:18 +0100)]
[ARM] No point having "nonblock" local variable - kill it.

22 years ago[ARM] Convert suspend to a state machine.
Russell King [Tue, 14 Sep 2004 00:13:03 +0000 (01:13 +0100)]
[ARM] Convert suspend to a state machine.

The original version had issues when two suspend events came
in at around the same time, causing APM to get confused:
threads became stuck in APM_IOC_SUSPEND and suspends_pending
incremented on each apm --suspend call.

Now, we only add a suspend event to a users queue and increment
suspends_pending if the user isn't already in the middle of
handling a suspend event.

22 years ago[ARM] Remove APM standby support - it's unused.
Russell King [Tue, 14 Sep 2004 00:04:59 +0000 (01:04 +0100)]
[ARM] Remove APM standby support - it's unused.

22 years ago[ARM] APM: "Battery life" needs to be a signed integer.
Russell King [Mon, 13 Sep 2004 23:59:57 +0000 (00:59 +0100)]
[ARM] APM: "Battery life" needs to be a signed integer.

22 years ago[ARM] Convert APM user list lock to r/w sem
Russell King [Mon, 13 Sep 2004 23:52:50 +0000 (00:52 +0100)]
[ARM] Convert APM user list lock to r/w sem

Convert user_list_lock spinlock to a read/write semaphore;
the spinlock was affording us very little protection.

22 years ago[ARM] Abstract APM circular queue object.
Russell King [Mon, 13 Sep 2004 23:43:47 +0000 (00:43 +0100)]
[ARM] Abstract APM circular queue object.

22 years ago[ARM] Convert list_for_each()/list_entry() to list_for_each_entry()
Russell King [Mon, 13 Sep 2004 23:38:26 +0000 (00:38 +0100)]
[ARM] Convert list_for_each()/list_entry() to list_for_each_entry()

22 years ago[ARM] Remove the hh.org H3600 "example" code.
Russell King [Mon, 13 Sep 2004 23:34:49 +0000 (00:34 +0100)]
[ARM] Remove the hh.org H3600 "example" code.

22 years ago[ARM] Fix ARM APM emulation sparse errors
Russell King [Mon, 13 Sep 2004 23:28:23 +0000 (00:28 +0100)]
[ARM] Fix ARM APM emulation sparse errors

arch/arm/kernel/apm.c:57:16: warning: dubious one-bit signed bitfield
arch/arm/kernel/apm.c:58:17: warning: dubious one-bit signed bitfield
arch/arm/kernel/apm.c:59:17: warning: dubious one-bit signed bitfield
arch/arm/kernel/apm.c:60:23: warning: dubious one-bit signed bitfield

22 years ago[PATCH] linux/dma-mapping.h needs linux/device.h
Nicolas Pitre [Mon, 13 Sep 2004 08:11:27 +0000 (01:11 -0700)]
[PATCH] linux/dma-mapping.h needs linux/device.h

It seems that most architectures already include linux/device.h in their
own asm/dma-mapping.h.  Most but not all, and some drivers fail to
compile on those architectures that don't.  Since everybody needs it
let's include device.h from one place only and fix compilation for
everybody.

22 years ago[PATCH] isofs buffer management fix
Andrew Morton [Mon, 13 Sep 2004 07:05:42 +0000 (00:05 -0700)]
[PATCH] isofs buffer management fix

There's a double-free in the isofs filesystem.

Invalidate this pointer so it doesn't get freed twice.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Backward compatibility for compat sched_getaffinity
Anton Blanchard [Mon, 13 Sep 2004 07:05:30 +0000 (00:05 -0700)]
[PATCH] Backward compatibility for compat sched_getaffinity

The follow patch special cases the NR_CPUS <= BITS_PER_COMPAT_LONG case.
Without this patch, a 32bit task would be required to have a 64bit
cpumask no matter what value of NR_CPUS are used.

With this patch a compat long sized bitmask is allowed if NR_CPUS is
small enough to fit within it.

Of course applications should be using the glibc wrappers that use an
opaque cpu_mask_t type, but there could be older applications using the
syscalls directly.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Clean up compat sched affinity syscalls
Anton Blanchard [Mon, 13 Sep 2004 07:05:18 +0000 (00:05 -0700)]
[PATCH] Clean up compat sched affinity syscalls

Remove the set_fs hack in the compat affinity calls. Create
sched_getaffinity and sched_setaffinity helper functions that both the
native and compat affinity syscalls use.

Also make the compat functions match what the native ones are doing now,
setaffinity calls succeed no matter what length the bitmask is, but
getaffinity calls must pass in bitmasks at least as long as the kernel
type.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge http://lia64.bkbits.net/linux-ia64-release-2.6.9
Linus Torvalds [Mon, 13 Sep 2004 06:56:28 +0000 (23:56 -0700)]
Merge http://lia64.bkbits.net/linux-ia64-release-2.6.9
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge agluck-lia64.sc.intel.com:/data/home/aegl/BK/work/stephane
Tony Luck [Mon, 13 Sep 2004 18:55:39 +0000 (18:55 +0000)]
Merge agluck-lia64.sc.intel.com:/data/home/aegl/BK/work/stephane
into agluck-lia64.sc.intel.com:/data/home/aegl/BK/linux-ia64-release-2.6.9

22 years agoMerge agluck-lia64.sc.intel.com:/data/home/aegl/BK/Linus
Tony Luck [Mon, 13 Sep 2004 18:53:43 +0000 (18:53 +0000)]
Merge agluck-lia64.sc.intel.com:/data/home/aegl/BK/Linus
into agluck-lia64.sc.intel.com:/data/home/aegl/BK/linux-ia64-release-2.6.9

22 years ago[IA64] Makefile: fix for the PTRACE_SYSCALL corruption bug
Stéphane Eranian [Mon, 13 Sep 2004 18:48:29 +0000 (18:48 +0000)]
[IA64] Makefile: fix for the PTRACE_SYSCALL corruption bug

Thanks to David for his help in tracking it down.

  compile the kernel with sibling call optimization
  turned off. There is a problem with all functions
  using the optimization and the asmlinkage attribute.
  The compiler should not perform the optimization on
  these functions because it cannot preserve the syscall
  parameters in the callee. This caused SIGSEGV on programs
  traced with PTRACE_SYSCALL, for instance.

signed-off-by: stephane eranian <eranian@hpl.hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
22 years agoExport new PCI iomem access interfaces to modules too.
Linus Torvalds [Mon, 13 Sep 2004 06:47:41 +0000 (23:47 -0700)]
Export new PCI iomem access interfaces to modules too.

22 years agoAdd skeleton "generic IO mapping" infrastructure.
Linus Torvalds [Mon, 13 Sep 2004 04:32:00 +0000 (21:32 -0700)]
Add skeleton "generic IO mapping" infrastructure.

Jeff wants to use this to clean up SATA and some network drivers.

22 years ago[PATCH] ide: small cleanup for sis5513
Bartlomiej Zolnierkiewicz [Mon, 13 Sep 2004 02:41:04 +0000 (19:41 -0700)]
[PATCH] ide: small cleanup for sis5513

Sigh, Thomas Gleixner pointed out that his
sis5518 fix didn't need forward porting.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoLinux 2.6.9-rc2 v2.6.9-rc2
Linus Torvalds [Sun, 12 Sep 2004 15:08:55 +0000 (08:08 -0700)]
Linux 2.6.9-rc2

22 years ago[PATCH] fbdev/radeonfb: Remove bugus radeonfb_read/write
Benjamin Herrenschmidt [Sun, 12 Sep 2004 15:08:19 +0000 (08:08 -0700)]
[PATCH] fbdev/radeonfb: Remove bugus radeonfb_read/write

This patch kills the bogus radeonfb_read/write routines. In order to do so,
it adds a new member to fb_info, along with screen_base, which is screen_size,
indicating the mapped area. The default fb_read/write will now use that instead
of fix->smem_len if it is non-0, and radeonfb now sets it to the mapped size
of the framebuffer.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64:Fix missing register in altivec context switch
Benjamin Herrenschmidt [Sun, 12 Sep 2004 15:08:08 +0000 (08:08 -0700)]
[PATCH] ppc64:Fix missing register in altivec context switch

This is a resend of a patch sent in July and that got lost somewhat,
the "VSCR" register wasn't restored properly from the context on
load_up_altivec (typo), please apply the fix:

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Sun, 12 Sep 2004 12:36:16 +0000 (05:36 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Sun, 12 Sep 2004 18:42:11 +0000 (11:42 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
David S. Miller [Sun, 12 Sep 2004 16:21:10 +0000 (09:21 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
into kernel.bkbits.net:/home/davem/sparc-2.6

22 years ago[TCP]: Fix fack_count handling in tcp_sacktag_write_queue().
David S. Miller [Sun, 12 Sep 2004 10:31:20 +0000 (03:31 -0700)]
[TCP]: Fix fack_count handling in tcp_sacktag_write_queue().

22 years ago[SK98LIN]: Kill dangling netdev->last_stats reference.
David S. Miller [Sun, 12 Sep 2004 10:28:24 +0000 (03:28 -0700)]
[SK98LIN]: Kill dangling netdev->last_stats reference.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[NET]: Fix notification on address change via rtnetlink.
Thomas Graf [Sun, 12 Sep 2004 10:03:26 +0000 (03:03 -0700)]
[NET]: Fix notification on address change via rtnetlink.

Only send NETDEV_CHANGEADDR notifies for address and broadcast changes.
Notify is also sent out if only one of the 2 changes is successful.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[NETFILTER]: Fix conntrack seq_file handling.
Rusty Russell [Sun, 12 Sep 2004 10:00:47 +0000 (03:00 -0700)]
[NETFILTER]: Fix conntrack seq_file handling.

Am travelling, but this passed simple tests here.  If this isn't going
in, the current seqfile stuff should be ripped out; it's a mess.

/proc/net/ip_conntrack was changed over to seq_file.  However,
seq_file isn't a great fit (a linked list which is changing is not a
good candidate for seq file), and the conversion was done badly.

1) Don't do allocation: simply hand the pointer head of the correct chain.
2) Actually output the original tuple.
3) Lock only when actually traversing hash chain.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[NET]: Improve netdev->hard_start_xmit() documentation.
Andi Kleen [Sun, 12 Sep 2004 09:55:52 +0000 (02:55 -0700)]
[NET]: Improve netdev->hard_start_xmit() documentation.

With improvements by Francois Romieu and David
S. Miller.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[NET]: Use NETDEV_TX_* macros instead of magic numbers.
Jamal Hadi Salim [Sun, 12 Sep 2004 09:53:16 +0000 (02:53 -0700)]
[NET]: Use NETDEV_TX_* macros instead of magic numbers.

Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years agoMerge conflicts with Linus's sparse ioremap() work.
David S. Miller [Sun, 12 Sep 2004 09:37:10 +0000 (02:37 -0700)]
Merge conflicts with Linus's sparse ioremap() work.

22 years agoMerge conflicts with Linus's ioremap sparse changes.
David S. Miller [Sun, 12 Sep 2004 09:33:37 +0000 (02:33 -0700)]
Merge conflicts with Linus's ioremap sparse changes.

22 years ago[TG3]: Need tx_lock in tg3_set_rx_mode().
David S. Miller [Sun, 12 Sep 2004 09:27:49 +0000 (02:27 -0700)]
[TG3]: Need tx_lock in tg3_set_rx_mode().

Noticed by Eric Lemoine.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[IPVS]: Do not use skb_checksum_help(), create and use nf_reset_debug()
Julian Anastasov [Sun, 12 Sep 2004 09:26:08 +0000 (02:26 -0700)]
[IPVS]: Do not use skb_checksum_help(), create and use nf_reset_debug()

Appended is a 2nd version that uses nf_reset_debug.

- do not use skb_checksum_help in input path as ipvs can handle
incoming CHECKSUM_HW packets

- do not use skb_checksum_help in forwarding path

- claim that checksum is valid (CHECKSUM_NONE) when entering output
path for out->in packets

- do not reset/destroy the nfct in IP_VS_XMIT, the intention is to
reset the debugging field just to avoid log floods from nf_debug_ip_*
functions, it is known that the ipvs packets traverse other
hooks, eg. LOCAL_IN->LOCAL_OUT. Use nf_reset_debug instead of nf_reset.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[NET]: Kill netdev->last_stats
David S. Miller [Sun, 12 Sep 2004 09:24:10 +0000 (02:24 -0700)]
[NET]: Kill netdev->last_stats

Old debugging code we no longer need.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[TCP]: Fix {lost,left}_out accounting in tcp_fragment()
David S. Miller [Sun, 12 Sep 2004 09:17:59 +0000 (02:17 -0700)]
[TCP]: Fix {lost,left}_out accounting in tcp_fragment()

Noticed by Herbert Xu.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[IPV6]: Fix oops in rt6_device_match()
Hideaki Yoshifuji [Sun, 12 Sep 2004 09:14:48 +0000 (02:14 -0700)]
[IPV6]: Fix oops in rt6_device_match()

This fixes panic in rt6_device_match().

Well, rt->rt6i_idev is always set if it is dynamically allocated.
However, when we hit ip6_null_entry here, its rt6i_idev is NULL.
This patch is minimum fix to avoid the oops for now.

Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years agoppc: make IDE memory-mapped PCI routines match new reality
Linus Torvalds [Sun, 12 Sep 2004 08:31:47 +0000 (01:31 -0700)]
ppc: make IDE memory-mapped PCI routines match new reality

22 years ago[PATCH] ide: sis5513 fix for SiS962 chipset
Bartlomiej Zolnierkiewicz [Sun, 12 Sep 2004 06:56:20 +0000 (23:56 -0700)]
[PATCH] ide: sis5513 fix for SiS962 chipset

From: Thomas Gleixner <tglx@linutronix.de>

1. If the fake 5513 id bit is not set by the BIOS we must have the 5518
id in the device table.

2. If the register remapping is not set by the BIOS then the enable bit
check in ide_pci_setup_ports will fail. It's safe to switch to the
remapping mode here. Keeping the not remapped mode would need quite big
changes AFAICS.

Forward ported to 2.6 by me.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoFix up and annotate MTD map usage of PCI memory access
Linus Torvalds [Sun, 12 Sep 2004 05:17:26 +0000 (22:17 -0700)]
Fix up and annotate MTD map usage of PCI memory access

22 years agomemcpy_toio() shouldn't complain about a const source.
Linus Torvalds [Sun, 12 Sep 2004 05:16:08 +0000 (22:16 -0700)]
memcpy_toio() shouldn't complain about a const source.

22 years agoAnnotate pc300 wan driver PCI memory accesses.
Linus Torvalds [Sun, 12 Sep 2004 04:16:38 +0000 (21:16 -0700)]
Annotate pc300 wan driver PCI memory accesses.

This driver caused a _lot_ of warnings due to tons
of explicit casts to "uclong". Making all the types
sane not only removed the warnings, but got rid of
a lot of silly casting, since the types are now much
more natural to what the driver wanted to do in the
first place.

22 years agoannotate HPET driver memory-mapped PCI usage
Linus Torvalds [Sun, 12 Sep 2004 03:47:59 +0000 (20:47 -0700)]
annotate HPET driver memory-mapped PCI usage

22 years agoStricter PCI IO space type checking uncovered a bug in sx8 driver.
Linus Torvalds [Sun, 12 Sep 2004 03:30:42 +0000 (20:30 -0700)]
Stricter PCI IO space type checking uncovered a bug in sx8 driver.

Forgot to add in the mmio base..

22 years agocifs: fix missing semicolon.
Linus Torvalds [Sat, 11 Sep 2004 13:19:43 +0000 (06:19 -0700)]
cifs: fix missing semicolon.

It disappeared somewhere in Al's cleanup patch..

22 years agoMerge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
David S. Miller [Sat, 11 Sep 2004 11:25:41 +0000 (04:25 -0700)]
Merge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

22 years ago[PATCH] CIFSSMBQueryReparseLinkInfo() endianness fix
Alexander Viro [Sat, 11 Sep 2004 10:16:16 +0000 (03:16 -0700)]
[PATCH] CIFSSMBQueryReparseLinkInfo() endianness fix

le16_to_cpu() on 32bit field.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] CIFSSMBNegotiate endianness fix
Alexander Viro [Sat, 11 Sep 2004 10:16:04 +0000 (03:16 -0700)]
[PATCH] CIFSSMBNegotiate endianness fix

Use of 16bit little-endian in comparisons and arithmetics without
conversion.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge bk://linux-sam.bkbits.net/kbuild
Linus Torvalds [Sat, 11 Sep 2004 10:12:46 +0000 (03:12 -0700)]
Merge bk://linux-sam.bkbits.net/kbuild
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agokbuild/ppc: Fix build of zlib in arch/ppc/boot/lib
Sam Ravnborg [Sun, 12 Sep 2004 01:25:45 +0000 (03:25 +0200)]
kbuild/ppc: Fix build of zlib in arch/ppc/boot/lib

$(addprefix ...) needs a directory relative to current directory, because
kbuild prefixes the filename with '$(obj)/'

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
22 years ago[PATCH] more endianness breakage (CIFSSMBLock(), again)
Alexander Viro [Sat, 11 Sep 2004 03:52:56 +0000 (20:52 -0700)]
[PATCH] more endianness breakage (CIFSSMBLock(), again)

 a) upper 32 bits of cpu_to_le64(x) are *not* cpu_to_le32(x) of
    upper 32 bits.
 b) ->ByteCount cleaned up.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] CIFSSMBLock() endianness fix
Alexander Viro [Sat, 11 Sep 2004 03:10:43 +0000 (20:10 -0700)]
[PATCH] CIFSSMBLock() endianness fix

cpu_to_le32(...) assigned to 16bit fields.

22 years ago[PATCH] ppc: switch boot/lib/Makefile to $(addprefix ...) for zlib_inflate
Tom Rini [Sat, 11 Sep 2004 02:36:33 +0000 (19:36 -0700)]
[PATCH] ppc: switch boot/lib/Makefile to $(addprefix ...) for zlib_inflate

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoFix off-by-one bug in page cache reading.
Linus Torvalds [Sat, 11 Sep 2004 01:50:36 +0000 (18:50 -0700)]
Fix off-by-one bug in page cache reading.

Just test the end case inside the loop, rather than trying to
be clever and getting it wrong.

22 years ago[PATCH] Fix PTRACE_CONT after single-step into signal delivery
Roland McGrath [Fri, 10 Sep 2004 16:20:19 +0000 (09:20 -0700)]
[PATCH] Fix PTRACE_CONT after single-step into signal delivery

The previous single-step patch ("make single-step into signal delivery
stop in handler") took things a little too far.

It left TF set in the sigcontext on the stack, so a PTRACE_CONT after
stopping at the handler entry will step instead of resume.  This
additional patch fixes it.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix task_struct leak in posix-timers
Roland McGrath [Fri, 10 Sep 2004 16:20:07 +0000 (09:20 -0700)]
[PATCH] fix task_struct leak in posix-timers

timer_create leaks task_structs.  I probably introduced this bug when I did
the cleanup making posix-timers properly per-process.  This patch fixes it.

There is also a fixup for a random indentation snafu at the end.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] NFS: add an fsync() stub for directories as per 2.4.x.
Trond Myklebust [Fri, 10 Sep 2004 16:19:55 +0000 (09:19 -0700)]
[PATCH] NFS: add an fsync() stub for directories as per 2.4.x.

    Helps to keep the 'sendmail' doctor away.

Signed-off-by: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge bk://linux-sam.bkbits.net/kbuild
Linus Torvalds [Fri, 10 Sep 2004 16:16:30 +0000 (09:16 -0700)]
Merge bk://linux-sam.bkbits.net/kbuild
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Fri, 10 Sep 2004 16:15:30 +0000 (09:15 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://dsaxena.bkbits.net/linux-2.6-for-rmk
Russell King [Fri, 10 Sep 2004 23:47:36 +0000 (00:47 +0100)]
Merge bk://dsaxena.bkbits.net/linux-2.6-for-rmk
into flint.arm.linux.org.uk:/usr/src/bk/linux-2.6-rmk

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Fri, 10 Sep 2004 16:10:49 +0000 (09:10 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agolibata: initial PCI memory annotations
Linus Torvalds [Fri, 10 Sep 2004 15:53:11 +0000 (08:53 -0700)]
libata: initial PCI memory annotations

22 years agoolympic: tokenring driver PCI memory annotation
Linus Torvalds [Fri, 10 Sep 2004 15:52:44 +0000 (08:52 -0700)]
olympic: tokenring driver PCI memory annotation

22 years agoohci1394: PCI memory annotation
Linus Torvalds [Fri, 10 Sep 2004 15:52:14 +0000 (08:52 -0700)]
ohci1394: PCI memory annotation

22 years agosungem: PCI memory annotations
Linus Torvalds [Fri, 10 Sep 2004 15:51:40 +0000 (08:51 -0700)]
sungem: PCI memory annotations

22 years agoide: avoid PCI iomem warning in pmac.c
Linus Torvalds [Fri, 10 Sep 2004 15:51:02 +0000 (08:51 -0700)]
ide: avoid PCI iomem warning in pmac.c

22 years agoppc64: PCI memory annotation infrastructure
Linus Torvalds [Fri, 10 Sep 2004 15:50:19 +0000 (08:50 -0700)]
ppc64: PCI memory annotation infrastructure

22 years ago[ARM PATCH] 2088/2: set_irq_type takes the IRQ number not the GPIO
Ian Campbell [Fri, 10 Sep 2004 13:44:17 +0000 (14:44 +0100)]
[ARM PATCH] 2088/2:  set_irq_type takes the IRQ number not the GPIO

Patch from Ian Campbell

Please ignore previous patch: set_irq_type takes the IRQ number and
not the GPIO number so using any variant on IRQ_TO_GPIO* is incorrect
anyway.

Signed-of-by: Ian Campbell <icampbell@arcom.com>
22 years ago[ARM PATCH] 2087/1: fix issues with PXA irq code
Nicolas Pitre [Fri, 10 Sep 2004 13:39:55 +0000 (14:39 +0100)]
[ARM PATCH] 2087/1: fix issues with PXA irq code

Patch from Nicolas Pitre

- Don't chain assignment to volatile registers.
  Doing otherwise generates extra needless code to reload the value
  for the next assignment.

- Don't touch PXA27x registers on a PXA25x build.
  (spotted by Ian Campbell)

Signed-off-by: Nicolas Pitre
22 years ago[ARM PATCH] 2079/1: make the IOP3xx Implementation Options menu conditional on
Nicolas Pitre [Fri, 10 Sep 2004 13:28:36 +0000 (14:28 +0100)]
[ARM PATCH] 2079/1: make the IOP3xx Implementation Options menu conditional on
 CONFIG_ARCH_IOP3XX

Patch from Nicolas Pitre

Signed-off-by: Nicolas Pitre
22 years agomisc: pci memory access annotations
Linus Torvalds [Fri, 10 Sep 2004 12:09:58 +0000 (05:09 -0700)]
misc: pci memory access annotations

Basic serial ports, acpi and intel sound.

Can you guess what my laptop has in it?

22 years agofbcon: initial PCI memory access annotations
Linus Torvalds [Fri, 10 Sep 2004 12:08:13 +0000 (05:08 -0700)]
fbcon: initial PCI memory access annotations

22 years agotg3: annotate PCI memory accesses
Linus Torvalds [Fri, 10 Sep 2004 12:07:28 +0000 (05:07 -0700)]
tg3: annotate PCI memory accesses

22 years agoide: initial PCI memory access annotations
Linus Torvalds [Fri, 10 Sep 2004 12:06:32 +0000 (05:06 -0700)]
ide: initial PCI memory access annotations

22 years agodrm: annotate basic PCI memory access functions
Linus Torvalds [Fri, 10 Sep 2004 12:05:31 +0000 (05:05 -0700)]
drm: annotate basic PCI memory access functions

22 years agoagp: annotate intel agp PCI memory accesses
Linus Torvalds [Fri, 10 Sep 2004 12:04:40 +0000 (05:04 -0700)]
agp: annotate intel agp PCI memory accesses

22 years agoacpi: annotate PCI memory accesses
Linus Torvalds [Fri, 10 Sep 2004 12:03:41 +0000 (05:03 -0700)]
acpi: annotate PCI memory accesses

22 years agoFix up some of the basic x86 offenders on __iomem usage.
Linus Torvalds [Fri, 10 Sep 2004 12:02:55 +0000 (05:02 -0700)]
Fix up some of the basic x86 offenders on __iomem usage.

22 years agoAdd sparse "__iomem" infrastructure to check PCI address usage
Linus Torvalds [Fri, 10 Sep 2004 12:01:36 +0000 (05:01 -0700)]
Add sparse "__iomem" infrastructure to check PCI address usage

There's tons of mis-use of PCI memory-mapped IO that is used
as if it was regular memory. That fails disastrously on a number
of architectures, and it doesn't help that it just happens to
work on regular x86 boxes.

This makes makes us do much stricter type-checking. Some of it
visible to the regular compiler, but the bulk of it is for sparse.

22 years ago[SPARC64]: Kill insn scheduling comments from etrap.S
David S. Miller [Fri, 10 Sep 2004 11:04:32 +0000 (04:04 -0700)]
[SPARC64]: Kill insn scheduling comments from etrap.S

They just make the columns super wide and the
code harder to read and edit.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[SPARC64]: Use time interpolators.
David S. Miller [Fri, 10 Sep 2004 10:51:36 +0000 (03:51 -0700)]
[SPARC64]: Use time interpolators.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[NET]: Device name changing via rtnetlink
Thomas Graf [Fri, 10 Sep 2004 08:48:29 +0000 (01:48 -0700)]
[NET]: Device name changing via rtnetlink

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[BRIDGE]: The vlan MII ioctl pass through was passing the wrong device.
Stephen Hemminger [Fri, 10 Sep 2004 08:43:19 +0000 (01:43 -0700)]
[BRIDGE]: The vlan MII ioctl pass through was passing the wrong device.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>