]> git.neil.brown.name Git - history.git/log
history.git
22 years agoia64: Fix/finish kernel module table support so it actually works.
David Mosberger [Fri, 24 Oct 2003 16:25:45 +0000 (09:25 -0700)]
ia64: Fix/finish kernel module table support so it actually works.

22 years ago[PATCH] ia64: fix critical perfmon2 bugs
Stéphane Eranian [Thu, 23 Oct 2003 10:51:51 +0000 (03:51 -0700)]
[PATCH] ia64: fix critical perfmon2 bugs

This patch fixes the following issues:

- fix a nasty corner case by which a task could inherit psr.pp/psr.up
  that could be stale by the time it runs. psr.pp/psr.up bits must be
  cleared on fork and inherited on execve(). Test case provided by
  John Levon.

- mask interrupts when locking the pfm stat structure. We don't want
  to take PMU interrupts in the middle of this kind of critical
  section.

- fix a bug in pfm_close() for context which use asynchronous
  notifications.  You cannot call fasync_helper() with interrupts
  disabled because it reenables them. There was no real danger of
  moving the call outside our critical section.

- fix a bug in in pfm_flush_pmds() where you can leave the freeze bit
  set in the pmc saved state.

- updated dump_pmu_state()

- cleanup the BUG_ON() usage

22 years ago[PATCH] ia64: fix broken __emul_prefix
Arun Sharma [Thu, 23 Oct 2003 10:41:14 +0000 (03:41 -0700)]
[PATCH] ia64: fix broken __emul_prefix

his seems to be broken for ia32 on ia64 and possibly other emulation
architectures as well. The problem comes from
fs/namei.c:set_fs_altroot() using path_lookup() instead of a
path_walk() relative to "/" (which is the case for 2.4).

22 years agoia64: Sync with Linus' i386 patch: Revert bogus IRQ_INPROGRESS clear.
David Mosberger [Thu, 23 Oct 2003 07:22:04 +0000 (00:22 -0700)]
ia64: Sync with Linus' i386 patch: Revert bogus IRQ_INPROGRESS clear.

22 years ago[PATCH] ia64: prevent "dd if=/dev/mem" crash
Bjorn Helgaas [Thu, 23 Oct 2003 07:17:48 +0000 (00:17 -0700)]
[PATCH] ia64: prevent "dd if=/dev/mem" crash

The drivers/char/mem.c change was accepted, so here's the
ia64-specific part.

22 years ago[PATCH] ia64: fix gate-data.S build for binutils 2.14
Ian Wienand [Wed, 22 Oct 2003 14:54:44 +0000 (07:54 -0700)]
[PATCH] ia64: fix gate-data.S build for binutils 2.14

gas will match anything with a prefix
'.data.' as a data special section.  Thus to stop unnecessary warning
about changing attributes, we use the .data section standard
attributes aw when creating gate-data.o.

22 years ago[PATCH] ia64: trivial ia64 numa/discontig fixes
Alex Williamson [Wed, 22 Oct 2003 09:52:04 +0000 (02:52 -0700)]
[PATCH] ia64: trivial ia64 numa/discontig fixes

I stumbled on a couple trivial bugs in ia64 numa/discontig support.
The first just sets the default number of nodes to something reasonable
for a generic kernel, otherwise it's really easy to start walking over
your initdata (more error checking should probably be added).  The
second fixes a memcpy to a physical address.

22 years ago[PATCH] ia64: don't touch IA-32 segment descriptors too early
Arun Sharma [Wed, 22 Oct 2003 09:49:38 +0000 (02:49 -0700)]
[PATCH] ia64: don't touch IA-32 segment descriptors too early

Without this patch, if a signal handler tried to access TLS data (via %gs), things break, because the GS descriptor is zero.

To be compatible with i386, we shouldn't be touching the segment descriptors
before getting into signal handlers.

22 years agoia64: Patch by Arun Sharma: fix allocation/handling of GDT shared page (the old code
David Mosberger [Tue, 21 Oct 2003 12:32:29 +0000 (05:32 -0700)]
ia64: Patch by Arun Sharma: fix allocation/handling of GDT shared page (the old code
was inconsistent and in places still assumed there is both a GDT and a TSS
shared page, but the latter was removed a long time ago).

22 years agoia64: Fix efi_mem_type() and efi_mem_attributes() to avoid potential
David Mosberger [Tue, 21 Oct 2003 10:52:58 +0000 (03:52 -0700)]
ia64: Fix efi_mem_type() and efi_mem_attributes() to avoid potential
underflows.  In my case, the underflows occurred with the
first memory descriptor which got trimmed down to a size of 0.
Due to the underflow, this descriptor ended up covering the entire
address-range which in turn caused Bad Things to happen with the
X server.

22 years agoia64: Fix IA-32 NPTL fixes so things compile again.
David Mosberger [Tue, 21 Oct 2003 06:54:20 +0000 (23:54 -0700)]
ia64: Fix IA-32 NPTL fixes so things compile again.

22 years agoia64: Based on patch by Arun Sharma: fix IA-32 subsystem to support NPTL.
David Mosberger [Tue, 21 Oct 2003 05:34:19 +0000 (22:34 -0700)]
ia64: Based on patch by Arun Sharma: fix IA-32 subsystem to support NPTL.

22 years ago[PATCH] ia64: two perfmon fixes
Stéphane Eranian [Mon, 20 Oct 2003 09:25:31 +0000 (02:25 -0700)]
[PATCH] ia64: two perfmon fixes

- converts hdr_cur_pos into hdr_cur_offs to avoid leaking kernel
  addresses to userland. As a consequence hdr_last_pos is gone.

- correct buffer saturation mode bug by which the hdr_count would
  be reset, leading to no visible samples collected.

22 years ago[PATCH] ia64: make strace of ia32 processes work again
Arun Sharma [Mon, 20 Oct 2003 09:20:38 +0000 (02:20 -0700)]
[PATCH] ia64: make strace of ia32 processes work again

Newer versions of strace manipulate the syscall arguments and to make this
work for ia32 processes, we need to reload the syscall args after
doing the syscall-trace callback.

22 years agoia64: Sync with i386 irq.c (deadlock avoidance for certain disable_irq()/
David Mosberger [Mon, 20 Oct 2003 09:07:57 +0000 (02:07 -0700)]
ia64: Sync with i386 irq.c (deadlock avoidance for certain disable_irq()/
enable_irq() sequences).

22 years ago[PATCH] ia64: zero out topology related sysfs nodes
Jesse Barnes [Mon, 20 Oct 2003 09:05:49 +0000 (02:05 -0700)]
[PATCH] ia64: zero out topology related sysfs nodes

Tony pointed out (thanks Tony) that in -test8 kobject_set_name() will
try to free a kobject's k_name field if it's non-NULL, so we need to
zero it out in case kmalloc() gave us recycled memory or we'll try to
kfree a bogus area.

22 years agoMerge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5
David Mosberger [Mon, 20 Oct 2003 04:58:50 +0000 (21:58 -0700)]
Merge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5
into tiger.hpl.hp.com:/data1/bk/lia64/to-linus-2.5

22 years ago[PATCH] ia64: fix EFI memory map trimming
Bjorn Helgaas [Mon, 20 Oct 2003 04:54:48 +0000 (21:54 -0700)]
[PATCH] ia64: fix EFI memory map trimming

This fixes a problem in EFI memory map trimming. For example,
here's part of the memory map on my i2000:

    mem00: type=4, attr=0x9, range=[0x0000000000000000-0x0000000000001000) (0MB)
    mem01: type=7, attr=0x9, range=[0x0000000000001000-0x0000000000088000) (0MB)
    mem02: type=4, attr=0x9, range=[0x0000000000088000-0x00000000000a0000) (0MB)
    mem03: type=5, attr=0x8000000000000009, range=[0x00000000000c0000-0x0000000000100000) (0MB)
    mem04: type=7, attr=0x9, range=[0x0000000000100000-0x0000000004000000) (63MB)
    mem05: type=2, attr=0x9, range=[0x0000000004000000-0x00000000049ba000) (9MB)
    mem06: type=7, attr=0x9, range=[0x00000000049ba000-0x000000007ec0b000) (1954MB)
    ...

There's a hole at 0xa0000-0xc0000, so we should ignore all the WB memory
in that granule.  With 16MB granules, the existing code trims like this
(note the 4K page at 0x0 should have been ignored, but wasn't).

22 years agoia64: Don't mix code and declarations (not C90-compliant).
David Mosberger [Fri, 17 Oct 2003 15:58:27 +0000 (08:58 -0700)]
ia64: Don't mix code and declarations (not C90-compliant).

22 years agoia64: Fix printk format error.
David Mosberger [Fri, 17 Oct 2003 15:55:18 +0000 (08:55 -0700)]
ia64: Fix printk format error.

22 years agoia64: Add missing exports to modules build again.
David Mosberger [Fri, 17 Oct 2003 15:51:49 +0000 (08:51 -0700)]
ia64: Add missing exports to modules build again.

22 years agoLinux 2.6.0-test8 v2.6.0-test8
Linus Torvalds [Fri, 17 Oct 2003 07:39:22 +0000 (00:39 -0700)]
Linux 2.6.0-test8

22 years ago[PATCH] ia64: fix topology init
Jesse Barnes [Fri, 17 Oct 2003 06:18:35 +0000 (23:18 -0700)]
[PATCH] ia64: fix topology init

Populate topology directories correctly now that NUMA kernels work.

22 years ago[PATCH] remove "biostimings" boot options
Bartlomiej Zolnierkiewicz [Fri, 17 Oct 2003 03:49:21 +0000 (20:49 -0700)]
[PATCH] remove "biostimings" boot options

They were added by Torben to workaround ServerWorks driver problems
(fixed by previous patch), but depending on BIOS can be dangerous on
other chipsets and it is always better to fix specific driver.

Removal of these options was acked by Torben.

22 years ago[PATCH] fix ServerWorks PIO auto-tuning
Bartlomiej Zolnierkiewicz [Fri, 17 Oct 2003 03:49:11 +0000 (20:49 -0700)]
[PATCH] fix ServerWorks PIO auto-tuning

If PIO mode should be auto-tuned xferspeed argument for svwks_tune_chipset()
is equal to 255 (0xFF).  It is then passed to ide_rate_filter() which matches
desired mode with chipset capabilities.  Since 255 is greater than any of the
values used for transfer modes, ide_rate_filter() will always return the
highest mode supported by both device/chipset (which sometimes should not be
used ie. when host is a simplex one) and the wrong mode will be set.

Thanks to Torben Mathiasen and Tomas Szepe for testing it.

22 years ago[PATCH] fix ide-floppy IOMEGA logic
Jens Axboe [Fri, 17 Oct 2003 00:37:22 +0000 (17:37 -0700)]
[PATCH] fix ide-floppy IOMEGA logic

The original change turned out to be too restrictive, it catches devices
that don't need the work around.

This fixes that, thanks to Bart for informing me of the screwup.

22 years agoMerge davem@nuts.ninka.net:/disk1/davem/BK/net-2.5
David S. Miller [Thu, 16 Oct 2003 20:50:27 +0000 (13:50 -0700)]
Merge davem@nuts.ninka.net:/disk1/davem/BK/net-2.5
into kernel.bkbits.net:/home/davem/net-2.5

22 years ago[NET]: Convert sk98lin away from init_etherdev.
David S. Miller [Thu, 16 Oct 2003 19:42:49 +0000 (12:42 -0700)]
[NET]: Convert sk98lin away from init_etherdev.

22 years ago[NET]: Delete comment reference to init_etherdev which the driver does not even use.
David S. Miller [Thu, 16 Oct 2003 19:33:13 +0000 (12:33 -0700)]
[NET]: Delete comment reference to init_etherdev which the driver does not even use.

22 years ago[NET]: Convert myri_sbus away from init_etherdev.
David S. Miller [Thu, 16 Oct 2003 19:30:37 +0000 (12:30 -0700)]
[NET]: Convert myri_sbus away from init_etherdev.

22 years ago[NET]: Delete bogus unregister_netdev() call in sunbmac.
David S. Miller [Thu, 16 Oct 2003 19:27:43 +0000 (12:27 -0700)]
[NET]: Delete bogus unregister_netdev() call in sunbmac.

22 years ago[NET]: Convert sunbmac away from init_etherdev.
David S. Miller [Thu, 16 Oct 2003 19:24:11 +0000 (12:24 -0700)]
[NET]: Convert sunbmac away from init_etherdev.

22 years ago[NET]: Convert sunlance away from init_etherdev.
David S. Miller [Thu, 16 Oct 2003 19:20:05 +0000 (12:20 -0700)]
[NET]: Convert sunlance away from init_etherdev.

22 years ago[ATM]: Minor cleanup for vcc_hash conversion
Chas Williams [Thu, 16 Oct 2003 18:11:41 +0000 (11:11 -0700)]
[ATM]: Minor cleanup for vcc_hash conversion

22 years ago[ATM]: Remove vcc reference on outstanding SKBs
Chas Williams [Thu, 16 Oct 2003 18:11:19 +0000 (11:11 -0700)]
[ATM]: Remove vcc reference on outstanding SKBs

22 years ago[ATM]: Change ifdef in lanai_ioctl
Chas Williams [Thu, 16 Oct 2003 18:10:54 +0000 (11:10 -0700)]
[ATM]: Change ifdef in lanai_ioctl

22 years ago[ATM]: sdh should be off by default.
Chas Williams [Thu, 16 Oct 2003 18:10:28 +0000 (11:10 -0700)]
[ATM]: sdh should be off by default.

22 years ago[NET]: Catch buggy net drivers changing getstats op after registry.
Stephen Hemminger [Thu, 16 Oct 2003 18:09:43 +0000 (11:09 -0700)]
[NET]: Catch buggy net drivers changing getstats op after registry.

22 years ago[NET]: Fix socket test in dev_queue_xmit_nit().
Petr Vandrovec [Thu, 16 Oct 2003 18:08:58 +0000 (11:08 -0700)]
[NET]: Fix socket test in dev_queue_xmit_nit().

22 years ago[IPV6]: Fix typo in addrconf.c
David S. Miller [Thu, 16 Oct 2003 18:06:40 +0000 (11:06 -0700)]
[IPV6]: Fix typo in addrconf.c

22 years ago[IPV6]: MIB fix, provide timestamps in ifa_cacheinfo.
Shirley Ma [Thu, 16 Oct 2003 18:05:30 +0000 (11:05 -0700)]
[IPV6]: MIB fix, provide timestamps in ifa_cacheinfo.

22 years ago[NET]: Mark init_etherdev() as deprecated.
Stephen Hemminger [Thu, 16 Oct 2003 18:03:12 +0000 (11:03 -0700)]
[NET]: Mark init_etherdev() as deprecated.

22 years agoMerge http://mdomsch.bkbits.net/linux-2.5-edd
Linus Torvalds [Thu, 16 Oct 2003 14:49:17 +0000 (07:49 -0700)]
Merge http://mdomsch.bkbits.net/linux-2.5-edd
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge http://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Thu, 16 Oct 2003 14:46:41 +0000 (07:46 -0700)]
Merge http://lia64.bkbits.net/to-linus-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] ia64: fix perfmon typo that broke Itanium build
Rusty Lynch [Thu, 16 Oct 2003 13:08:05 +0000 (06:08 -0700)]
[PATCH] ia64: fix perfmon typo that broke Itanium build

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Thu, 16 Oct 2003 10:14:43 +0000 (03:14 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[ARM PATCH] 1687/1: Add {params,initrd}_phys vars to enable bootpImage support on...
George G. Davis [Thu, 16 Oct 2003 21:42:00 +0000 (22:42 +0100)]
[ARM PATCH] 1687/1: Add {params,initrd}_phys vars to enable bootpImage support on SA1100

Patch from George G. Davis

Basically just adds a couple of missing vars so I can build bootpImages for SA1100.

22 years ago[ARM PATCH] 1686/1: Fix params-phys typos
George G. Davis [Thu, 16 Oct 2003 21:38:37 +0000 (22:38 +0100)]
[ARM PATCH] 1686/1: Fix params-phys typos

Patch from George G. Davis

This fixes a couple of params-phys typos

22 years ago[ARM PATCH] 1685/1: Fix bootpImage build target
George G. Davis [Thu, 16 Oct 2003 21:35:33 +0000 (22:35 +0100)]
[ARM PATCH] 1685/1: Fix bootpImage build target

Patch from George G. Davis

The boopImage build target rule is currently broken. This is the quick fix.

22 years ago[ARM PATCH] 1684/1: Add uImage build target rule
George G. Davis [Thu, 16 Oct 2003 21:32:23 +0000 (22:32 +0100)]
[ARM PATCH] 1684/1: Add uImage build target rule

Patch from George G. Davis

This adds an `make uImage` build target rule to create boot images for targets which use u-Boot firmware. This build target already exists for the PPC architecture.

22 years agoMerge http://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Thu, 16 Oct 2003 08:37:58 +0000 (01:37 -0700)]
Merge http://lia64.bkbits.net/to-linus-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] ia64: perfmon-2 fixes
Stéphane Eranian [Thu, 16 Oct 2003 08:13:18 +0000 (01:13 -0700)]
[PATCH] ia64: perfmon-2 fixes

 - remove PFM_FL_UNSECURE support because broken
 - remove instrumentation code for syswide ctx update (5% speedup)
 - integrated cleanups from John Levon
 - remove references to pmu_conf.ovfl_val from loops, use local variable
 - updated pfm_bad_permissions()
 - support reset values for non-counting pmds
 - serialization of PFM_RESTART
 - added support for restart_active in per-task mode
 - remove potential deadlock caused by calling pfm_overflow_handler()   from pfm_load_regs()
 - fix invalid check in perfmon_mckinley() for PMC13

22 years ago[PATCH] ia64: MCA min_state area must be uncacheable
Tony Luck [Thu, 16 Oct 2003 08:11:43 +0000 (01:11 -0700)]
[PATCH] ia64: MCA min_state area must be uncacheable

Software Developer's Manual page 2:270, section 11.3.2.3
says that the processor min-state save area must be in an
uncacheable region ... but current MCA recovery code
allocates the min-state area "ia64_mca_min_state_save_info"
in regular kernel data/bss.

This patch re-uses the same min-state area that the PAL/SAL
used to report the error to Linux ... which mostly requires
deleting code and declarations (some of which were wrong,
MIN_STATE_AREA_SIZE ought to have been 58).  The real "work"
is copying the pointer to the min-state area from the
sal_to_os handoff structure into the os_to_sal structure.

22 years agoAllow Turtle Beach sound drivers to be compiled modular when
Linus Torvalds [Thu, 16 Oct 2003 06:57:24 +0000 (23:57 -0700)]
Allow Turtle Beach sound drivers to be compiled modular when
STANDALONE is set, since the firmware is only required for the
built-in case.

22 years ago[PATCH] H8/300 support update
Yoshinori Sato [Thu, 16 Oct 2003 02:56:26 +0000 (19:56 -0700)]
[PATCH] H8/300 support update

 - fix semaphore problem
 - document update and config fix

22 years agoMerge http://ppc.bkbits.net/for-linus-ppc64
Linus Torvalds [Thu, 16 Oct 2003 01:28:21 +0000 (18:28 -0700)]
Merge http://ppc.bkbits.net/for-linus-ppc64
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoppc64: arguments to mlockall and msync dont need sign extending
Anton Blanchard [Fri, 17 Oct 2003 09:54:59 +0000 (19:54 +1000)]
ppc64: arguments to mlockall and msync dont need sign extending

22 years agoppc64: remove old comment, copy_tofrom_user zeros destination on a load fault
Anton Blanchard [Fri, 17 Oct 2003 09:42:41 +0000 (19:42 +1000)]
ppc64: remove old comment, copy_tofrom_user zeros destination on a load fault

22 years agoMerge samba.org:/home/anton/ppc64/linux-2.5
Anton Blanchard [Fri, 17 Oct 2003 09:29:21 +0000 (19:29 +1000)]
Merge samba.org:/home/anton/ppc64/linux-2.5
into samba.org:/home/anton/ppc64/for-linus-ppc64

22 years agoppc64: Use kmalloc for kernel stacks, like x86 (makes usage easy to track via slabinfo)
Anton Blanchard [Fri, 17 Oct 2003 09:24:32 +0000 (19:24 +1000)]
ppc64: Use kmalloc for kernel stacks, like x86 (makes usage easy to track via slabinfo)

22 years agoppc64: nuke a bunch of warnings, from akpm
Anton Blanchard [Fri, 17 Oct 2003 09:15:55 +0000 (19:15 +1000)]
ppc64: nuke a bunch of warnings, from akpm

22 years agoppc64: Fix for sym2 problem (first place that checked pci_set_mwi return code)
Anton Blanchard [Thu, 16 Oct 2003 23:16:49 +0000 (09:16 +1000)]
ppc64: Fix for sym2 problem (first place that checked pci_set_mwi return code)

22 years agoMerge samba.org:/home/anton/ppc64/linux-2.5
Anton Blanchard [Thu, 16 Oct 2003 22:44:51 +0000 (08:44 +1000)]
Merge samba.org:/home/anton/ppc64/linux-2.5
into samba.org:/home/anton/ppc64/for-linus-ppc64

22 years agomerge some irq.c fixes from x86
Anton Blanchard [Thu, 16 Oct 2003 21:44:00 +0000 (07:44 +1000)]
merge some irq.c fixes from x86

22 years agoMerge samba.org:/stuff/paulus/kernel/linux-2.5
Paul Mackerras [Thu, 16 Oct 2003 18:44:07 +0000 (04:44 +1000)]
Merge samba.org:/stuff/paulus/kernel/linux-2.5
into samba.org:/stuff/paulus/kernel/for-linus-ppc64

22 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.5
Linus Torvalds [Thu, 16 Oct 2003 01:09:04 +0000 (18:09 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Thu, 16 Oct 2003 01:06:10 +0000 (18:06 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] Eicon ISDN driver: use work_struct instead of tasklet for dpc.
Armin Schindler [Thu, 16 Oct 2003 00:51:59 +0000 (17:51 -0700)]
[PATCH] Eicon ISDN driver: use work_struct instead of tasklet for dpc.

22 years ago[PATCH] reiserfs/procfs.c fix
Alexander Viro [Thu, 16 Oct 2003 00:51:49 +0000 (17:51 -0700)]
[PATCH] reiserfs/procfs.c fix

Fix breakage in reiserfs/procfs.c iterator.

Nikita had ACKed the patch.

22 years ago[PATCH] ide-floppy IOMEGA ZIP fix
Jens Axboe [Thu, 16 Oct 2003 00:51:41 +0000 (17:51 -0700)]
[PATCH] ide-floppy IOMEGA ZIP fix

From ramon_garcia_f@yahoo.com:

 "I am experiencing lost interrupts when writting (but not when reading)
  to an IOMEGA Zip drive with the ATAPI floppy driver.

  The driver seems to be aware of the problem and has a workaround for
  it.  Unfortunately my drive is not detected as an IOMEGA drive.  The
  reason is that the model of my drive is "IOMEGA ZIP 100 ATAPI Floppy"
  instead of "IOMEGA ZIP 100 ATAPI", that is what the driver expects. "

22 years ago[PATCH] current_is_kswapd() is a function
Andrew Morton [Thu, 16 Oct 2003 00:35:50 +0000 (17:35 -0700)]
[PATCH] current_is_kswapd() is a function

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

So call it rather than testing its address...

22 years ago[PATCH] saa7134-core.c compile fix for old gcc
Andrew Morton [Thu, 16 Oct 2003 00:34:56 +0000 (17:34 -0700)]
[PATCH] saa7134-core.c compile fix for old gcc

It is using token pasting in ways which confuse gcc-2.9x.

22 years ago[PATCH] ext2/ext3 acl signedness fixes
Andrew Morton [Thu, 16 Oct 2003 00:34:10 +0000 (17:34 -0700)]
[PATCH] ext2/ext3 acl signedness fixes

From: "Alexey Dobriyan" <adobriyan@mail.ru>,
      Andreas Gruenbacher <agruen@suse.de>

Make local variable `count' an integer so the subsequent test for
negativeness makes sense.

22 years ago[PATCH] applicom: fix LEAK, unwind on errors
Andrew Morton [Thu, 16 Oct 2003 00:33:30 +0000 (17:33 -0700)]
[PATCH] applicom: fix LEAK, unwind on errors

From: "Randy.Dunlap" <rddunlap@osdl.org>

Fix a permanent resource leak and also some resource leaks on error paths.

22 years ago[PATCH] ext3: i_disksize locking fix
Andrew Morton [Thu, 16 Oct 2003 00:32:49 +0000 (17:32 -0700)]
[PATCH] ext3: i_disksize locking fix

From: Alex Tomas <alex@clusterfs.com>

The setting of i_disksize can race against concurrent invokations of
ext3_get_block().  Moving this inside i_truncate_sem fixes it up.

22 years ago[PATCH] silence smp_read_mpc_oem() declared static but never defined warning
Andrew Morton [Thu, 16 Oct 2003 00:32:16 +0000 (17:32 -0700)]
[PATCH] silence smp_read_mpc_oem() declared static but never defined warning

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

The forward static declaration in a header is a) weird and b) generates a
warning if the inline function which needs it is not expanded.

Move these things from .h into .c

22 years ago[PATCH] reiserfs documentation URL fixes
Andrew Morton [Thu, 16 Oct 2003 00:31:44 +0000 (17:31 -0700)]
[PATCH] reiserfs documentation URL fixes

From: Yury Umanets <umka@namesys.com>

Fix the reiserfs Kconfig URLs.

22 years ago[PATCH] Don't swap to files which do not implement readpage
Andrew Morton [Thu, 16 Oct 2003 00:31:16 +0000 (17:31 -0700)]
[PATCH] Don't swap to files which do not implement readpage

From: Zwane Mwaikambo <zwane@arm.linux.org.uk>

The swapon code uses read_cache_page() to access the swap header, so the
filesystem had better implement it.

22 years ago[PATCH] Correct case sensitivity in make mandocs
Andrew Morton [Thu, 16 Oct 2003 00:30:48 +0000 (17:30 -0700)]
[PATCH] Correct case sensitivity in make mandocs

From: Michael Still <mikal@stillhq.com>

The attached patch corrects case sensitivity in the mandocs make target.
XML is case insensitive, and a bunch of the kernel-doc assumes this.  The
makeman and splitman scripts incorrectly cared about case.  This patch also
updates the Docbook DTD version which the script generates.

22 years ago[PATCH] SELINUX: add policyvers to selinuxfs
Andrew Morton [Thu, 16 Oct 2003 00:30:28 +0000 (17:30 -0700)]
[PATCH] SELINUX: add policyvers to selinuxfs

From: James Morris <jmorris@redhat.com>

This patch adds a file to the root selinuxfs directory which returns the
security policy version associated with the currently running kernel.  Its
purpose is to allow scripts to determine which version of policy to load.

22 years ago[PATCH] Fix early __might_sleep() calls
Andrew Morton [Thu, 16 Oct 2003 00:30:11 +0000 (17:30 -0700)]
[PATCH] Fix early __might_sleep() calls

From: Roger Luethi <rl@hellgate.ch>

__might_sleep prints warnings only after jiffies wrap (typically after 5
minutes of uptime).

22 years ago[PATCH] Add missing sjcd uaccess checks
Andrew Morton [Thu, 16 Oct 2003 00:29:58 +0000 (17:29 -0700)]
[PATCH] Add missing sjcd uaccess checks

From: Felipe W Damasio <felipewd@terra.com.br>

Check the return of copy_from_user in a few places to not use buggy
structures if copy_from_user != 0.  Found by smatch.

22 years ago[PATCH] drivers/block/initrd.c removal
Andrew Morton [Thu, 16 Oct 2003 00:29:46 +0000 (17:29 -0700)]
[PATCH] drivers/block/initrd.c removal

From: viro@parcelfarce.linux.theplanet.co.uk

* drivers/block/initrd.c gone

* chunk of memory where the current tree would look for intird image is
  checked for being a valid initramfs image first; then, it is either
  unpacked (in addition to normal built-in image) or, if it wasn't a valid
  image, copied into a regular file on rootfs called /dev/initrd.  Then
  memory is freed.

Result:

a) we can put initramfs image in place of initrd one and kernel will DTRT.

b) initrd images still work as usual; code that shoves the thing to
   ramdisk, etc.  doesn't care whether it reads from a block device or
   regular file.

c) initrd.c is gone, so is fake block device and a lot of irregularities
   with it.

It has been in -mm for almost two weeks with no reported problems.

22 years ago[NET]: Grab RTNL semaphore in init_netdev() if we call dev_alloc_name().
Randy Dunlap [Wed, 15 Oct 2003 15:33:53 +0000 (08:33 -0700)]
[NET]: Grab RTNL semaphore in init_netdev() if we call dev_alloc_name().

22 years ago[TCP/IPV4]: Fix tcp_tw_bucket accessed as a sock in tcp_bind_conflict().
Arnaldo Carvalho de Melo [Wed, 15 Oct 2003 15:11:33 +0000 (08:11 -0700)]
[TCP/IPV4]: Fix tcp_tw_bucket accessed as a sock in tcp_bind_conflict().

22 years ago[NET]: Fix get_random_bytes() call in sunhme.c:get_hme_mac_nonsparc().
Madarasz Gergely [Wed, 15 Oct 2003 15:06:37 +0000 (08:06 -0700)]
[NET]: Fix get_random_bytes() call in sunhme.c:get_hme_mac_nonsparc().

22 years agoMerge nuts.ninka.net:/disk1/davem/BK/network-2.5
David S. Miller [Wed, 15 Oct 2003 14:42:29 +0000 (07:42 -0700)]
Merge nuts.ninka.net:/disk1/davem/BK/network-2.5
into nuts.ninka.net:/disk1/davem/BK/net-2.5

22 years agoMerge nuts.ninka.net:/disk1/davem/BK/sparcwork-2.5
David S. Miller [Wed, 15 Oct 2003 14:23:40 +0000 (07:23 -0700)]
Merge nuts.ninka.net:/disk1/davem/BK/sparcwork-2.5
into nuts.ninka.net:/disk1/davem/BK/sparc-2.5

22 years ago[PATCH] Enable interrupts in faults from VM86 mode
Andi Kleen [Wed, 15 Oct 2003 12:25:07 +0000 (05:25 -0700)]
[PATCH] Enable interrupts in faults from VM86 mode

vm86 mode does a copy_to_user from the general protection fault handler
to update the process' vm86 state.

The problem is that the full GFP handler runs with interrupts off
currently and that trips the might_sleep() test in copy_to_user().

This happens very often in dosemu and once in a while while the X server
does its vm86 magic with the VGA bios.

See

http://bugzilla.kernel.org/show_bug.cgi?id=1339

for details

This patch fixes this by enabling interrupts when the original code ran
with interrupts on or ran in vm86 mode (vm86 can clear the IF flag)

22 years agoFix APIC address handling at bootup and restore.
Linus Torvalds [Wed, 15 Oct 2003 10:51:43 +0000 (03:51 -0700)]
Fix APIC address handling at bootup and restore.

Don't assume the APIC is at the power-on default address,
since the BIOS can have moved it somewhere else without
really ever telling us (ie we have an MP table or ACPI
that fixes it for us, but those are not always available)

22 years agoia64: Important security fix for fsyscalls. Without this patch, the McKinley E9
David Mosberger [Wed, 15 Oct 2003 09:45:58 +0000 (02:45 -0700)]
ia64: Important security fix for fsyscalls.  Without this patch, the McKinley E9
workaround caused fsyscalls to return with the wrong privilege level.
This patch also adds fsys_rt_sigprocmask(), which happens to be a good
test-case for this bug.  Only McKinley systems using fsyscalls are affected.
Merced and Madison are OK.

22 years ago[PATCH] fix support for PIO modes w/o IORDY flow control
Bartlomiej Zolnierkiewicz [Wed, 15 Oct 2003 09:25:24 +0000 (02:25 -0700)]
[PATCH] fix support for PIO modes w/o IORDY flow control

hwif->ide_dma_on() was is in the wrong place in the mode tuning helper
and was also called for devices which do not support IORDY flow control
(such as CompactFlash cards).

22 years ago[PATCH] ia64: a little more documentation in fsys.txt
Ian Wienand [Wed, 15 Oct 2003 08:49:00 +0000 (01:49 -0700)]
[PATCH] ia64: a little more documentation in fsys.txt

Attached is a suggestion for a small addition to fsys.txt about how
userspace can use fast system calls.

If people think this is totally wrong, or that something like this
might be more appropriate in our WiKi, that's fine.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Wed, 15 Oct 2003 08:20:15 +0000 (01:20 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://ppc@ppc.bkbits.net/for-linus-ppc64
Paul Mackerras [Wed, 15 Oct 2003 07:16:22 +0000 (17:16 +1000)]
Merge bk://ppc@ppc.bkbits.net/for-linus-ppc64
into samba.org:/stuff/paulus/kernel/for-linus-ppc64

22 years agoia64: Fix __delay() even more: it's just not safe to inline the delay-
David Mosberger [Wed, 15 Oct 2003 07:07:23 +0000 (00:07 -0700)]
ia64: Fix __delay() even more: it's just not safe to inline the delay-
loop because, e.g., the compiler might decide to unroll the
loop when passed a constant, etc.

22 years agoMerge bk://kernel.bkbits.net/gregkh/linux/pci-2.6
Linus Torvalds [Wed, 15 Oct 2003 04:37:06 +0000 (21:37 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/pci-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://kernel.bkbits.net/gregkh/linux/usb-2.6
Linus Torvalds [Wed, 15 Oct 2003 04:36:13 +0000 (21:36 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/usb-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://kernel.bkbits.net/gregkh/linux/i2c-2.6
Linus Torvalds [Wed, 15 Oct 2003 04:34:26 +0000 (21:34 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/i2c-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] update to microcode update driver
Tigran Aivazian [Wed, 15 Oct 2003 04:24:38 +0000 (21:24 -0700)]
[PATCH] update to microcode update driver

This contains the following changes:

a) changes from Intel to support the new microcode data format
   (backward compatible of course)

b) changes from me to remove the no longer needed features of the driver,
   namely we don't need to keep a copy of applied microcode in kernel
   memory.

   This feature was hardly useful in the days of regular devfs
   /dev/cpu/microcode file and now it is completely useless so I removed
   it (after taking into account all the feedback on linux-kernel I
   received since the announcement of the intention to do this)

These are rather critical because otherwise we can't really say Linux
fully supports the very latest Intel cpus (which require microcode in
the new format).