]> git.neil.brown.name Git - history.git/log
history.git
23 years ago[PATCH] IDE-101
Martin Dalecki [Wed, 24 Jul 2002 03:12:13 +0000 (20:12 -0700)]
[PATCH] IDE-101

Here is a quick fix.  I would like to synchronize with the irq handler
changes as well.  Becouse right now I know that preemption is killing
the disk subsystem when moving data between disks using different
request queues...  In esp.  It get's me in to do_request() with a queue
in unplugged state.  (Not everything is my fault, after all :-).

23 years agoRemove unused variable
Linus Torvalds [Wed, 24 Jul 2002 03:08:41 +0000 (20:08 -0700)]
Remove unused variable

23 years ago[PATCH] irqlock patch 2.5.27-H6
Ingo Molnar [Wed, 24 Jul 2002 03:04:01 +0000 (20:04 -0700)]
[PATCH] irqlock patch 2.5.27-H6

 - init thread needs to have preempt_count of 1 until sched_init().
   (William Lee Irwin III)
 - clean up the irq-mask macros. (Linus)
 - add barrier() to irq_enter() and irq_exit(). (based on Oleg Nesterov's
   comment.)
 - move the irqs-off check into preempt_schedule() and remove
   CONFIG_DEBUG_IRQ_SCHEDULE.
 - remove spin_unlock_no_resched() and comment the affected places more
   agressively.
 - slab.c needs to spin_unlock_no_resched(), instead of spin_unlock(). (It
   also has to check for preemption in the right spot.) This should fix
   the memory corruption.
 - irq_exit() needs to run softirqs if interrupts not active - in the
   previous patch it ran them when preempt_count() was 0, which is
   incorrect.
 - spinlock macros are updated to enable preemption after enabling
   interrupts. Besides avoiding false positive warnings, this also
 - fork.c has to call scheduler_tick() with preemption disabled -
   otherwise scheduler_tick()'s spin_unlock can preempt!
 - irqs_disabled() macro introduced.
 - [ all other local_irq_enable() or sti instances conditional on
     CONFIG_DEBUG_IRQ_SCHEDULE are to fix false positive warnings. ]
 - fix buggy in_softirq(). Fortunately the bug made the test broader,
   which didnt result in algorithmical breakage, just suboptimal
   performance.
 - move do_softirq() processing into irq_exit() => this also fixes the
   softirq processing bugs present in apic.c IRQ handlers that did not
   test for softirqs after irq_exit().
 - simplify local_bh_enable().

23 years agoMerge m68k patches
Linus Torvalds [Tue, 23 Jul 2002 13:28:36 +0000 (06:28 -0700)]
Merge m68k patches

23 years ago[PATCH] M68k update (part 49)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:25:04 +0000 (06:25 -0700)]
[PATCH] M68k update (part 49)

Amiga Zorro bus updates
 - Bring APUS Zorro bus announcement in sync with the m68k version
 - Fix typo in Zorro device generator name
 - Kill duplicate ] in Zorro device ID database
 - Include <asm/io.h> instead of duplicating definitions from <asm/io.h>

23 years ago[PATCH] M68k update (part 48)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:24:59 +0000 (06:24 -0700)]
[PATCH] M68k update (part 48)

console.wait_key was removed

23 years ago[PATCH] M68k update (part 47)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:24:53 +0000 (06:24 -0700)]
[PATCH] M68k update (part 47)

M68k VT updates:
  - Include <linux/vt_kern.h> instead of copying the kd_mksound() prototype
  - Lots of stuff depends on CONFIG_VT:
      o SYSRQ_KEY
      o kd_mksound()
      o mach_keyb_init()
      o mach_kbdrate()
      o mach_kbd_leds()
      o mach_kbd_translate()
      o mach_sysrq_xlate()
      o Atari keyboard and joystick drivers
  - There's no need to provide dummy routines for kbd{rate,_leds}()
  - dummy_con depends on CONFIG_DUMMY_CONSOLE

23 years ago[PATCH] M68k update (part 46)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:24:47 +0000 (06:24 -0700)]
[PATCH] M68k update (part 46)

MVME serial driver updates (from 2.4.x)
  - Add missing save of interrupt state
  - _tty_name() got renamed to tty_name()
  - Add devfs support
  - Simplify baud logic
  - Add missing MOD_DEC_USE_COUNT
  - Add missing cli()
  - block_til_ready() got renamed to gs_block_til_ready()

23 years ago[PATCH] M68k update (part 45)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:24:41 +0000 (06:24 -0700)]
[PATCH] M68k update (part 45)

MVME SCSI updates
 - Fix return type in prototype of ncr53c7xx_init()

23 years ago[PATCH] M68k update (part 44)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:24:36 +0000 (06:24 -0700)]
[PATCH] M68k update (part 44)

M68k fault handling updates
  - Fix incorrect page alignment
  - Merge related inline asm statements to avoid .chip confusion
  - Add Sun-3 bus mapping test code
  - Kill warning

23 years ago[PATCH] M68k update (part 43)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:24:30 +0000 (06:24 -0700)]
[PATCH] M68k update (part 43)

M68k TLB updates

23 years ago[PATCH] M68k update (part 42)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:24:25 +0000 (06:24 -0700)]
[PATCH] M68k update (part 42)

M68k task and thread updates

23 years ago[PATCH] M68k update (part 41)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:24:19 +0000 (06:24 -0700)]
[PATCH] M68k update (part 41)

Add new syscalls to m68k
  - Add syscall entries for sys_pivot_root, extended attributes, and futex
  - Fix formatting

23 years ago[PATCH] M68k update (part 40)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:24:14 +0000 (06:24 -0700)]
[PATCH] M68k update (part 40)

Sun-3/3x frame buffer device updates
  - Fix breakage from recent fbdev changes
  - Add support for CG3 graphics on Sun-3/3x

23 years ago[PATCH] M68k update (part 39)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:24:08 +0000 (06:24 -0700)]
[PATCH] M68k update (part 39)

Atari STRAM fixes
  - Add missing include
  - Fix parameter passing to atari_stram_reserve_pages()

23 years ago[PATCH] M68k update (part 38)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:24:03 +0000 (06:24 -0700)]
[PATCH] M68k update (part 38)

Spelling fix

23 years ago[PATCH] M68k update (part 37)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:23:57 +0000 (06:23 -0700)]
[PATCH] M68k update (part 37)

SCSI scatterlist updates for m68k
  - Fix printk() format
  - Update for page/offset in scatterlist

23 years ago[PATCH] M68k update (part 36)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:23:51 +0000 (06:23 -0700)]
[PATCH] M68k update (part 36)

Q40/Q60 keyboard updates
  - Ignore illegal scancodes
  - Remove unused q40kbd_leds()
  - Fix return type and return value of q40kbd_init_hw()

23 years ago[PATCH] M68k update (part 35)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:23:46 +0000 (06:23 -0700)]
[PATCH] M68k update (part 35)

Remove CPU information from /proc/hardware (already in /proc/cpuinfo)

23 years ago[PATCH] M68k update (part 34)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:23:40 +0000 (06:23 -0700)]
[PATCH] M68k update (part 34)

Add PCI_DMA_BUS_IS_PHYS for m68k

23 years ago[PATCH] M68k update (part 33)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:23:35 +0000 (06:23 -0700)]
[PATCH] M68k update (part 33)

M68k parport updates
 - Remove workaround code for parport bug (parport without FIFO)
 - ->dma_buf is used in FIFO mode only
 - Add missing prototype for parport_atari_init()
 - Initialize uninitialized variable

23 years ago[PATCH] M68k update (part 32)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:23:29 +0000 (06:23 -0700)]
[PATCH] M68k update (part 32)

Mac/m68k Nubus updates
  - Use nubus_{read,write}[bwl]()
  - Fix /proc/bus/nubus
  - Fix type and linkage of nubus_init()
  - Use nubus_{read,write}[bwl]()
  - Kill some address assignment warnings
  - Include <asm/nubus.h>
  - nubus_init() is an initcall, hence static

23 years ago[PATCH] M68k update (part 31)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:23:23 +0000 (06:23 -0700)]
[PATCH] M68k update (part 31)

Add definition for PROT_SEM on m68k

23 years ago[PATCH] M68k update (part 30)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:23:17 +0000 (06:23 -0700)]
[PATCH] M68k update (part 30)

M68k core mm updates
  - Update fault handling
  - Remove superfluous flush_tlb_page()
  - Remove obsolete comment
  - empty_zero_page becomes a void *
  - Type and cast clean ups
  - Remove duplicated test for voff == 0
  - Move check_pgt_cache() to pgtable.h
  - Pte and pmd updates
  - Add additional parameter to {clear,copy}_user_page()
  - pfn updates
  - BUG() updates
  - Move check_pgt_cache() from motorola_pgalloc.h
  - Misc updates
  - Add __page_address() and page_to_phys()

23 years ago[PATCH] M68k update (part 29)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:23:12 +0000 (06:23 -0700)]
[PATCH] M68k update (part 29)

Add Mac/m68k support to valkyriefb

23 years ago[PATCH] M68k update (part 28)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:23:06 +0000 (06:23 -0700)]
[PATCH] M68k update (part 28)

Mac/m68k doesn't use the PowerMac NVRAM driver

23 years ago[PATCH] M68k update (part 27)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:23:00 +0000 (06:23 -0700)]
[PATCH] M68k update (part 27)

Mac m68k Ethernet driver updates (from 2.4.x)
 - mace68k_probe() got renamed to mace_probe()
 - Add missing MODULE_LICENSE()
 - Add missing register definition for SONIC_DCR2

23 years ago[PATCH] M68k update (part 26)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:22:55 +0000 (06:22 -0700)]
[PATCH] M68k update (part 26)

Misc Mac/m68k updates
 - Make sure we have one instance of mac_hw_present
 - Kill warning
 - Rename struct SCC to struct mac_SCC to avoid type conflict

23 years ago[PATCH] M68k update (part 25)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:22:50 +0000 (06:22 -0700)]
[PATCH] M68k update (part 25)

Update ISA space code on m68k (from 2.4.x)
 - Add support for multiple types of ISA busses in one kernel image (e.g. an
   image for both Q40 and Amiga with PCMCIA)
 - Allow port operations on m68k if CONFIG_ISA is defined

23 years ago[PATCH] M68k update (part 24)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:22:44 +0000 (06:22 -0700)]
[PATCH] M68k update (part 24)

M68k I/O core updates
 - Use memory mapped I/O access routines for non-ISA/PCI/PCMCIA m68k devices
 - Don't use writel() and friends on m68k memory mapped I/O
 - Fix typo in definition of writew()
 - Add missing definitions for {in,out}_le{16,32}()

23 years ago[PATCH] M68k update (part 23)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:22:39 +0000 (06:22 -0700)]
[PATCH] M68k update (part 23)

The old form of designated initializers are obsolete: we need to replace them
with the ISO C forms before 2.6.  Gcc has always supported both forms anyway.

(from Rusty Russell <rusty@rustcorp.com.au>, with some mods by me)

23 years ago[PATCH] M68k update (part 22)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:22:34 +0000 (06:22 -0700)]
[PATCH] M68k update (part 22)

M68k USER_HZ updates

23 years ago[PATCH] M68k update (part 21)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:22:29 +0000 (06:22 -0700)]
[PATCH] M68k update (part 21)

HP300 LANCE driver updates
  - Update DIO probe code
  - Use out_8() instead of writeb() for non-PCI memory mapped I/O
  - Kill warnings

23 years ago[PATCH] M68k update (part 20)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:22:24 +0000 (06:22 -0700)]
[PATCH] M68k update (part 20)

Merge remaining bits of core HP300 support

23 years ago[PATCH] M68k update (part 19)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:22:19 +0000 (06:22 -0700)]
[PATCH] M68k update (part 19)

Fix Mac build if no fonts are selected

23 years ago[PATCH] M68k update (part 18)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:22:14 +0000 (06:22 -0700)]
[PATCH] M68k update (part 18)

Add Sun-3x floppy support (from 2.4.x)

23 years ago[PATCH] M68k update (part 17)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:22:09 +0000 (06:22 -0700)]
[PATCH] M68k update (part 17)

The Mac6x11 font depends on CONFIG_FBCON_MAC, not on CONFIG_MAC

23 years ago[PATCH] M68k update (part 16)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:22:04 +0000 (06:22 -0700)]
[PATCH] M68k update (part 16)

The penguin logo resides in normal RAM, not in frame buffer memory, so we must
not use fb_readb()

23 years ago[PATCH] M68k update (part 15)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:21:59 +0000 (06:21 -0700)]
[PATCH] M68k update (part 15)

M68k DMA address type update: Add definition for dma64_addr_t on m68k

23 years ago[PATCH] M68k update (part 14)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:21:54 +0000 (06:21 -0700)]
[PATCH] M68k update (part 14)

HP300 DIO bus updates

23 years ago[PATCH] M68k update (part 13)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:21:49 +0000 (06:21 -0700)]
[PATCH] M68k update (part 13)

 - Atari joystick device number updates
 - Atari ACSI hard disk driver device updates
 - Atari floppy driver device updates
 - MVME147 serial driver dev_t update

23 years ago[PATCH] M68k update (part 12)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:21:43 +0000 (06:21 -0700)]
[PATCH] M68k update (part 12)

Linux/m68k configuration updates
  - Unify serial console questions
  - Move serial driver config questions together
  - The Atari mouse driver depends on the Atari keyboard driver, hence on
    CONFIG_VT
  - Don't hardcode CONFIG_VT=n on VME, you may want it for a multi-machine
    kernel
  - The IRQ_* definitions are not used on Amiga, but we need them if we
    build a multi-machine kernel, too

23 years ago[PATCH] M68k update (part 11)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:21:36 +0000 (06:21 -0700)]
[PATCH] M68k update (part 11)

Fix miscellaneous compilation warnings and errors

23 years ago[PATCH] M68k update (part 10)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:21:28 +0000 (06:21 -0700)]
[PATCH] M68k update (part 10)

Enable Q40 keyboard and serial, and Apollo keyboard

23 years ago[PATCH] M68k update (part 9)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:21:17 +0000 (06:21 -0700)]
[PATCH] M68k update (part 9)

M68k cache handling updates
  - Add missing definition of L1_CACHE_SHIFT
  - Define L1_CACHE_BYTES in terms of L1_CACHE_SHIFT
  - Add missing include
  - Fix address types and casts

23 years ago[PATCH] M68k update (part 8)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:21:11 +0000 (06:21 -0700)]
[PATCH] M68k update (part 8)

M68k bitops updates
  - use bitmap_member() for bitops data declaration
  - Make the m68k bitops really operate on unsigned long
  - Add fls()

23 years agoMerge http://ppc.bkbits.net/for-linus-ppc64
Linus Torvalds [Tue, 23 Jul 2002 13:21:07 +0000 (06:21 -0700)]
Merge http://ppc.bkbits.net/for-linus-ppc64
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoppc64: fix conflicts
Anton Blanchard [Wed, 24 Jul 2002 19:00:37 +0000 (05:00 +1000)]
ppc64: fix conflicts

23 years agoppc64: put paca in r13 and fix non zero boot cpu
Anton Blanchard [Wed, 24 Jul 2002 05:45:14 +0000 (15:45 +1000)]
ppc64: put paca in r13 and fix non zero boot cpu

23 years agoppc64: Optimise for 630 by default.
Anton Blanchard [Wed, 24 Jul 2002 05:36:15 +0000 (15:36 +1000)]
ppc64: Optimise for 630 by default.

23 years agoppc64: add Config.help
Anton Blanchard [Wed, 24 Jul 2002 04:52:01 +0000 (14:52 +1000)]
ppc64: add Config.help

23 years agoppc64: Designated initializers from Rusty
Anton Blanchard [Wed, 24 Jul 2002 04:36:55 +0000 (14:36 +1000)]
ppc64: Designated initializers from Rusty

23 years agoppc64: missed during last merge
Anton Blanchard [Wed, 24 Jul 2002 03:13:46 +0000 (13:13 +1000)]
ppc64: missed during last merge

23 years agoppc64: merge some 2.4 fixes
Anton Blanchard [Wed, 24 Jul 2002 03:02:13 +0000 (13:02 +1000)]
ppc64: merge some 2.4 fixes

23 years agoppc64: Fix for spurious interrupts in LPAR without ISA.
Anton Blanchard [Wed, 24 Jul 2002 02:36:57 +0000 (12:36 +1000)]
ppc64: Fix for spurious interrupts in LPAR without ISA.

23 years agoppc64: big IRQ lock removal
Anton Blanchard [Tue, 23 Jul 2002 20:52:08 +0000 (06:52 +1000)]
ppc64: big IRQ lock removal

23 years agoMerge bk://linus.bkbits.net/linux-2.5
Anton Blanchard [Tue, 23 Jul 2002 20:04:29 +0000 (06:04 +1000)]
Merge bk://linus.bkbits.net/linux-2.5
into samba.org:/home/anton/ppc64/for-linus-ppc64

23 years ago[PATCH] M68k update (part 7)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:21:05 +0000 (06:21 -0700)]
[PATCH] M68k update (part 7)

Atari frame buffer device updates
  - Move static function definition before usage
  - Fix breakage caused by recent fbdev changes
  - Make some setup parameter parsing separate routines (strsep() must be able
    to modify the passed pointers)
  - On Atari the ATI Mach64 registers are memory mapped, but it's not on
    the PCI bus, so we cannot use writel() and friends.
  - Kill warnings by protecting unused data with the appropriate #ifdef
  - On Atari the ATI Mach64 registers are memory mapped, but it's not on the
    PCI bus, so we cannot use writel() and friends.
  - Fix assignment of addresses for Atari

23 years ago[PATCH] M68k update (part 6)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:20:59 +0000 (06:20 -0700)]
[PATCH] M68k update (part 6)

Fix breakage introduced by seq_printf() changes

23 years ago[PATCH] M68k update (part 5)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:20:52 +0000 (06:20 -0700)]
[PATCH] M68k update (part 5)

Fix Apollo frame buffer device breakage after the recent fbdev changes

23 years ago[PATCH] M68k update (part 4)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:20:46 +0000 (06:20 -0700)]
[PATCH] M68k update (part 4)

Port Apollo mouse driver to the `new' busmouse API

23 years ago[PATCH] M68k update (part 3)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:20:41 +0000 (06:20 -0700)]
[PATCH] M68k update (part 3)

 Amiga native graphics updates
  - Fix typo
  - Make monitor capability parsing a separate routine (strsep() must be able
    to modify the passed pointer)

 The Cirrus Logic frame buffer device needs access to the memory mapped VGA I/O space on Amiga

 Add video mode initialization code to the CyberVision64/3D driver

 Add S3 ViRGE register definitions for the CyberVision64/3D driver

23 years ago[PATCH] M68k update (part 2)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:20:36 +0000 (06:20 -0700)]
[PATCH] M68k update (part 2)

Mac/m68k ADB updates (from 2.4.x)
 - Add support for m68k Macs
 - Add missing call to VIA CUDA initialization routine
 - Update Mac II VIA support
 - Make local functions static and add their prototypes
 - Add missing defines for Mac/m68k PMUs

23 years ago[PATCH] M68k update (part 1)
Geert Uytterhoeven [Tue, 23 Jul 2002 13:20:30 +0000 (06:20 -0700)]
[PATCH] M68k update (part 1)

Update MVME i82596 Ethernet driver (from 2.4.x)
  - Add support for BVME6000
  - Add KERN_* prefixes to printk() calls
  - Wait for config change requests

23 years ago[PATCH] page-writeback.c compile warning fix
Andrew Morton [Tue, 23 Jul 2002 12:59:10 +0000 (05:59 -0700)]
[PATCH] page-writeback.c compile warning fix

23 years ago[PATCH] disable highpte in rmap kernels
Andrew Morton [Tue, 23 Jul 2002 12:58:57 +0000 (05:58 -0700)]
[PATCH] disable highpte in rmap kernels

Can we please disable highpte in config until it gets fixed?

Patch from Martin Bligh.

23 years ago[PATCH] Fix token ring compile]
Anton Blanchard [Tue, 23 Jul 2002 12:57:18 +0000 (05:57 -0700)]
[PATCH] Fix token ring compile]

Since we EXPORT_SYMBOL(tr_source_route) in net/netsyms.c and it needs a
prototype, move it into include/linux/trdevice.h

23 years ago[PATCH] Make tlb_remove_tlb_entry take ptep]
Anton Blanchard [Tue, 23 Jul 2002 12:57:02 +0000 (05:57 -0700)]
[PATCH] Make tlb_remove_tlb_entry take ptep]

It seems only ppc32 and ppc64 use tlb_remove_tlb_entry. On ppc64 we need
a pointer to the pte so we can change some of the pte bits.

Paul has some nice patches to clean up tlb teardown, but the following
patch should allow ppc32 and ppc64 to work in the meantime.

23 years ago[PATCH] flags must be unsigned long]
Anton Blanchard [Tue, 23 Jul 2002 12:56:48 +0000 (05:56 -0700)]
[PATCH] flags must be unsigned long]

We must pass an unsigned long into __save_flags() etc.

23 years agoMerge http://ppc.bkbits.net/for-linus-ppc64drivers
Linus Torvalds [Tue, 23 Jul 2002 12:49:35 +0000 (05:49 -0700)]
Merge http://ppc.bkbits.net/for-linus-ppc64drivers
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge bk://ppc@ppc.bkbits.net/for-linus-ppc64drivers
Anton Blanchard [Wed, 24 Jul 2002 20:57:59 +0000 (06:57 +1000)]
Merge bk://ppc@ppc.bkbits.net/for-linus-ppc64drivers
into samba.org:/scratch/anton/linux-2.5_ppc64drivers

23 years agoMerge samba.org:/scratch/anton/linux-2.5
Anton Blanchard [Wed, 24 Jul 2002 20:56:05 +0000 (06:56 +1000)]
Merge samba.org:/scratch/anton/linux-2.5
into samba.org:/scratch/anton/linux-2.5_ppc64drivers

23 years agoMerge samba.org:/home/anton/ppc64/linux-2.5
Anton Blanchard [Wed, 24 Jul 2002 03:43:47 +0000 (13:43 +1000)]
Merge samba.org:/home/anton/ppc64/linux-2.5
into samba.org:/home/anton/ppc64/for-linus-ppc64drivers

23 years ago[PATCH] 2.5.27 fix potential spinlocking race.
Trond Myklebust [Tue, 23 Jul 2002 12:21:09 +0000 (05:21 -0700)]
[PATCH] 2.5.27 fix potential spinlocking race.

In case of socket transmission errors etc. kfree_skb(), and hence
xprt_write_space() can potentially get called outside of a bh-safe
context.

23 years ago[PATCH] urgent rmap bugfix
Rik van Riel [Tue, 23 Jul 2002 04:11:28 +0000 (21:11 -0700)]
[PATCH] urgent rmap bugfix

It turns out there was a subtle bug in Craig Kulesa's port of
the rmap patch to 2.5, which is only apparent on non-x86 machines
where pfn 0 isn't valid.

The problem was that zap_pte_range() would clear the pte before
page_remove_rmap() would get called. This means that on these
machines the pte chain would never be removed and the machine
would oops at page_alloc.c line 98...

Thanks to Russell King for helping track down this bug.

23 years ago[PATCH] SCSI tape driver fixes for 2.5.27
Kai Mäkisara [Tue, 23 Jul 2002 02:12:51 +0000 (19:12 -0700)]
[PATCH] SCSI tape driver fixes for 2.5.27

This patch contains the following changes to the SCSI tape driver:

- fixes EOM bug in large transfer in fixed block mode
- enables writing trailers by alternating error with ENOSPC and
  attempting a new write
- the write loop cleaned and simplified
- set the scatter/gather list element lengths to sum up to the
  desired transfer length
- MTERASE to use the short erase SCSI command if argument is zero
- set the can-bsr flag for drives with SCSI level >= 3
- C99 structure initializations
- some janitorial changes

23 years agoppc64: fix test_bit and remove workaround in cpu_relax
Anton Blanchard [Mon, 22 Jul 2002 20:46:45 +0000 (06:46 +1000)]
ppc64: fix test_bit and remove workaround in cpu_relax

23 years agoFixups for previous changesets, avoid warnings etc.
Linus Torvalds [Mon, 22 Jul 2002 07:33:52 +0000 (00:33 -0700)]
Fixups for previous changesets, avoid warnings etc.

23 years ago[PATCH] Re: [patch] cli()/sti() cleanup
Ingo Molnar [Mon, 22 Jul 2002 06:44:38 +0000 (23:44 -0700)]
[PATCH] Re: [patch] cli()/sti() cleanup

Make people use the proper cli/sti replacements

23 years agoIngo Molnar's update to remove irqlock (documentation and fixing
Linus Torvalds [Mon, 22 Jul 2002 06:42:32 +0000 (23:42 -0700)]
Ingo Molnar's update to remove irqlock (documentation and fixing
a number of drivers)

23 years ago[PATCH] Fix dcache deadlock introduced by previous fix
Alexander Viro [Mon, 22 Jul 2002 03:01:53 +0000 (20:01 -0700)]
[PATCH] Fix dcache deadlock introduced by previous fix

So the fix for our problems is:

 a) in fs/namei.c replace d_unhash() with a safe version.
 b) in fs/nfs/dir.c replace d_drop(dentry) in beginning of nfs_unlink()
 with list_del_init(&dentry->d_hash);

23 years agoMerge bk://ppc.bkbits.net/for-linus-ppc64drivers
Anton Blanchard [Mon, 22 Jul 2002 02:12:28 +0000 (12:12 +1000)]
Merge bk://ppc.bkbits.net/for-linus-ppc64drivers
into samba.org:/scratch/anton/linux-2.5_ppc64drivers

23 years agoMerge samba.org:/scratch/anton/linux-2.5
Anton Blanchard [Mon, 22 Jul 2002 01:18:24 +0000 (11:18 +1000)]
Merge samba.org:/scratch/anton/linux-2.5
into samba.org:/scratch/anton/linux-2.5_ppc64drivers

23 years agoMerge samba.org:/home/anton/ppc64/for-linus-ppc64
Anton Blanchard [Sun, 21 Jul 2002 18:38:09 +0000 (04:38 +1000)]
Merge samba.org:/home/anton/ppc64/for-linus-ppc64
into samba.org:/home/anton/ppc64/for-linus-ppc64_tmp

23 years agoppc64: workaround for gcc 3.1, otherwise we busy loop in pte_chain_lock()
Anton Blanchard [Sun, 21 Jul 2002 18:32:05 +0000 (04:32 +1000)]
ppc64: workaround for gcc 3.1, otherwise we busy loop in pte_chain_lock()

23 years agoMerge samba.org:/home/anton/ppc64/linux-2.5
Anton Blanchard [Sun, 21 Jul 2002 18:03:55 +0000 (04:03 +1000)]
Merge samba.org:/home/anton/ppc64/linux-2.5
into samba.org:/home/anton/ppc64/for-linus-ppc64

23 years agoMerge samba.org:/home/anton/ppc64/linux-2.5
Anton Blanchard [Sun, 21 Jul 2002 17:56:58 +0000 (03:56 +1000)]
Merge samba.org:/home/anton/ppc64/linux-2.5
into samba.org:/home/anton/ppc64/for-linus-ppc64_tmp

23 years agoMerge
Linus Torvalds [Sun, 21 Jul 2002 13:27:29 +0000 (06:27 -0700)]
Merge

23 years ago[PATCH] fix for nfs_unlink and vfs_unlink
Alexander Viro [Sun, 21 Jul 2002 13:26:17 +0000 (06:26 -0700)]
[PATCH] fix for nfs_unlink and vfs_unlink

Ugh.  nfs_unlink() is actually racy as hell - look what happens if
we enter it with ->d_count == 1, see that nfs_sillyrename() doesn't
need to do anything and call nfs_safe_remove().  In the meanwhile
somebody does dcache lookup (without going into NFS code - plain
and simple cache hit) and increments ->d_count.  nfs_safe_remove()
decides that something is very rotten and fails.

AFAICS we should take the test for ->d_count + d_drop if it's 1
under dcache_lock (and in one place).  Comments?

Proposed fix follows:
* dget/dput killed in vfs_unlink() (safely)
* nfs_unlink() starts with check for ->d_count (under dcache_lock)
* if it's > 1 - sillyrename
* if it is 1 - immediately unhash, then drop dcache_lock.
after that we do as in old variant, except that
rehashing is done in nfs_unlink() and only if there
was an error - if there was none we simply leave
d_delete() to vfs_unlink().

23 years agoRemove extraneous dget/dput pair in vfs_unlink() that
Linus Torvalds [Sun, 21 Jul 2002 11:21:14 +0000 (04:21 -0700)]
Remove extraneous dget/dput pair in vfs_unlink() that
confused the NFS client code wrt the exclusiveness of
a dentry getting removed.

23 years ago[PATCH] Re: "big IRQ lock" removal docs
Robert Love [Sun, 21 Jul 2002 11:07:56 +0000 (04:07 -0700)]
[PATCH] Re: "big IRQ lock" removal docs

One more doc correction while we are at it...

23 years agoUpdate ensoniq sound driver to new irq serialization
Linus Torvalds [Sun, 21 Jul 2002 11:03:35 +0000 (04:03 -0700)]
Update ensoniq sound driver to new irq serialization

23 years ago[PATCH] "big IRQ lock" removal docs
Ingo Molnar [Sun, 21 Jul 2002 10:58:49 +0000 (03:58 -0700)]
[PATCH] "big IRQ lock" removal docs

i've done a minor comment update in softirq.c, plus i've written a
cli-sti-removal.txt guide to help driver writers do the transition.

23 years ago[PATCH] Serial driver stuff
Russell King [Sun, 21 Jul 2002 09:39:46 +0000 (02:39 -0700)]
[PATCH] Serial driver stuff

The serial layer is restructured to allow less code duplication (and
hence bug duplication) across various serial drivers.  Since ARM adds
six extra serial drivers, maintaining six copies of serial.c was not
my idea of fun.

Therefore, we've ended up with a core serial driver, which knows about
the interactions with the tty layer, and low-level hardware drivers,
which know all about the hardware.  The interface between the two is
described in "Documentation/serial/driver".

This patch completely removes the old serial.c driver and its associated
configuration options, as you requested at KS2002.  We keep a certain
amount of configuration compatibility with the per-architecture serial.h
file for the moment; this *will* be killed in the next round of patches.
The biggest user of this is x86, and since I don't have an x86 box to
test this stuff on, I think the changes are best kept separate.

23 years ago[PATCH] "big IRQ lock" removal, IRQ cleanups
Ingo Molnar [Sun, 21 Jul 2002 09:11:12 +0000 (02:11 -0700)]
[PATCH] "big IRQ lock" removal, IRQ cleanups

This is a massive cleanup of the IRQ subsystem.  It's losely based on
Linus' original idea and DaveM's original implementation, to fold our
various irq, softirq and bh counters into the preemption counter.

with this approach it was possible:

 - to remove the 'big IRQ lock' on SMP - on which sti() and cli() relied.

 - to streamline/simplify arch/i386/kernel/irq.c significantly.

 - to simplify the softirq code.

 - to remove the preemption count increase/decrease code from the lowlevel
   IRQ assembly code.

 - to speed up schedule() a bit.

Global sti() and cli() is gone forever on SMP, there is no more globally
synchronizing irq-disabling capability.  All code that relied on sti()
and cli() and restore_flags() must use other locking mechanisms from now
on (spinlocks and __cli()/__sti()).

obviously this patch breaks massive amounts of code, so only limited
.configs are working at the moment (UP is expected to be unaffected, but
SMP will require various driver updates).

The patch was developed and tested on SMP systems, and while the code is
still a bit rough in places, the base IRQ code appears to be pretty
robust and clean.

while it boots already so the worst is over, there is lots of work left:
eg. to fix the serial layer to not use cli()/sti() and bhs ...

23 years ago[PATCH] jffs kdev_t cleanups
Alexander Viro [Sun, 21 Jul 2002 03:49:31 +0000 (20:49 -0700)]
[PATCH] jffs kdev_t cleanups

In the /proc/fs/jffs/* code we switch to passing number of mtd device
(as an integer) instead of messing with kdev_t (which would always be
mk_kdev(MTD_BLOCK_MAJOR, device_number) anyway).

23 years ago[PATCH] removal of dead prototypes
Alexander Viro [Sun, 21 Jul 2002 03:49:16 +0000 (20:49 -0700)]
[PATCH] removal of dead prototypes

Removed prototypes of several functions that do not exist...

23 years ago[PATCH] SCSI ->bios_param() switched to struct block_device *
Alexander Viro [Sun, 21 Jul 2002 03:49:00 +0000 (20:49 -0700)]
[PATCH] SCSI ->bios_param() switched to struct block_device *

->bios_param() switched from kdev_t to struct block_device *.

Caller and all instances updated.

23 years ago[PATCH] paride cleanup and fixes
Alexander Viro [Sun, 21 Jul 2002 03:48:41 +0000 (20:48 -0700)]
[PATCH] paride cleanup and fixes

somewhat related to the above - drivers/block/paride/* switched to
module_init()/module_exit(), pd.c taught to use LBA if disks support
it (needed for paride disks >8Gb; change is fairly trivial and I've
got 40Gb one ;-)

23 years ago[PATCH] blk_ioctl() not exported anymore
Alexander Viro [Sun, 21 Jul 2002 03:48:25 +0000 (20:48 -0700)]
[PATCH] blk_ioctl() not exported anymore

blk_ioctl() not exported anymore; calls moved from drivers to block_dev.c.