1. 08 Aug, 2003 1 commit
  2. 07 Aug, 2003 39 commits
    • Bjorn Helgaas's avatar
      [PATCH] ia64: more ACPI/IOSAPIC cleanup · be8cec9c
      Bjorn Helgaas authored
      This applies on top of Takayoshi's interrupt polarity fix and just
      makes things a tiny bit more consistent.
      
      Is acpi_irq_to_vector() even needed anymore?  I don't see any
      references to it.
      be8cec9c
    • Bjorn Helgaas's avatar
      [PATCH] ia64: IOSAPIC .weak symbol cleanup · 50e143ff
      Bjorn Helgaas authored
      The patch below removes the .weak symbol stuff from iosapic.c.
      
      As far as I can tell, iosapic.c is compiled for every flavor except
      the simulator.  I tried to boot the HP_SIM kernel on ski, but it
      seems to loop in find_save_locs().  This happens both with and
      without this patch, so maybe I have a local problem.  (I started
      with a clean tree, did make
      50e143ff
    • Ian Wienand's avatar
      [PATCH] ia64: hardirq.h should include smp_lock.h when preempt enabled · a6794754
      Ian Wienand authored
      As in_atomic() uses kernel_locked() which is in smp_lock.h.
      a6794754
    • Jesse Barnes's avatar
      [PATCH] ia64: sn2 pci fixes (among others) · c4c3f3ff
      Jesse Barnes authored
      sn2 still doesn't use ACPI to describe PCI busses on the system (I'm
      working on it), so we have to do it the old fashioned way.  This patch
      also includes a few other fixes.
      c4c3f3ff
    • Arun Sharma's avatar
      [PATCH] ia64: compat_ioctl.c support · 7dea98b2
      Arun Sharma authored
      The attached patch (against 2.6) helps IA-32 applications take advantage of the
      generic 32 bit (fs/compat_ioctl.c) ioctl handlers.
      7dea98b2
    • Arun Sharma's avatar
      [PATCH] ia64: epoll support for ia32 applications · bbfadba5
      Arun Sharma authored
      The patch was created by Matt Helsley <matthltc at us.ibm.com> for 2.4 and
      has been changed slightly to match 2.6.
      
      The implementation compromises performance for correctness.
      bbfadba5
    • Andi Kleen's avatar
      [PATCH] Make x86-64 compile again · b862aa5d
      Andi Kleen authored
      Add include to fix compilation on x86-64
      b862aa5d
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/jgarzik/net-drivers-2.6 · 975a605c
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      975a605c
    • Jeff Garzik's avatar
      40fe7665
    • Javier Achirica's avatar
      [netdrvr airo] Fix adhoc config · d79cbed5
      Javier Achirica authored
      d79cbed5
    • Javier Achirica's avatar
      [netdrvr airo] safer unload code · e6eb8d81
      Javier Achirica authored
      e6eb8d81
    • Javier Achirica's avatar
      38a65b4a
    • Javier Achirica's avatar
    • Javier Achirica's avatar
      bf761611
    • Javier Achirica's avatar
    • David Mosberger's avatar
      f3b3e609
    • Linus Torvalds's avatar
    • Christoph Hellwig's avatar
      [netdrvr pcmcia] remove the release timer from all pcmcia net drivers · 0646b429
      Christoph Hellwig authored
      Ack'd by Russell King as well.
      0646b429
    • Arun Sharma's avatar
      [PATCH] ia64: make ia32 core dumps work · b96d1fe3
      Arun Sharma authored
      The attached patch implements core dump functionality for IA-32
      applications running on ia64.
      b96d1fe3
    • Roland McGrath's avatar
      [PATCH] fixes to zap_other_threads fix · 113dafa7
      Roland McGrath authored
      We should amend that test for zombies to include the "dead" state as
      well.
      113dafa7
    • Maciej W. Rozycki's avatar
      [PATCH] defxx: Maintenance + DMA API fixes · 8df07b49
      Maciej W. Rozycki authored
       Having necessary resources, I've decided to take over the maintenance of
      the defxx driver for the PDQ-based family of DEC FDDI controllers (the
      DEFEA for EISA and the DEFPA for PCI are the models currently handled).
      
      I've talked to Larry, the original author and the last maintainer of the
      code, and he's said he'd be happy about it.  He's asked me to update his
      long-outdated contact information.
      
      Here is a patch to update the driver to the PCI version of the DMA API.
      
      The patch includes appropriate status and contact information updates.
      8df07b49
    • Linus Torvalds's avatar
      Merge bk://are.twiddle.net/axp-2.5 · 0dbdce6f
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      0dbdce6f
    • Richard Henderson's avatar
      [ALPHA] Enhanced EV6/EV7 error management. · 0b1afd0f
      Richard Henderson authored
      From Jay Estabrook <Jay.Estabrook@compaq.com>.
      0b1afd0f
    • Richard Henderson's avatar
      [ALPHA] Fix RTC init for LYNX. · 497f9226
      Richard Henderson authored
      From Jay Estabrook <Jay.Estabrook@compaq.com>.
      497f9226
    • Richard Henderson's avatar
      [ALPHA] IRQ updates to match x86 changes. · 264b8458
      Richard Henderson authored
      From Jay Estabrook <Jay.Estabrook@compaq.com>.
      264b8458
    • Andrew Morton's avatar
      [PATCH] initialise page->private · c987cb10
      Andrew Morton authored
      From: Nathan Scott <nathans@sgi.com>
      
      XFS wants to use page->private as a bitmap of uptodate indicators for
      sub-page-sized blocks (which is one of the things ->provate was intended
      for).
      
      But someone needs to initialise ->private somewhere.  best to do it in the
      page allocator, so the zeroness of a new page's ->private becomes a
      system-wide thing.
      c987cb10
    • Andrew Morton's avatar
      [PATCH] mtrr race fix · 93ecfc23
      Andrew Morton authored
      From: john stultz <johnstul@us.ibm.com>
      
      I've found a race in the mtrr ipi_handler() and set_mtrr() functions.
      
      Basically the server, set_mtrr() does the following:
      
        1.1 initialize a flag
        1.2 send ipi
        1.3 waits for all cpus to check in
        1.4 toggle flag
        1.5 do stuff
        1.6 wait for all cpus to check out
        1.7 toggle flag again
        1.8 return
      
      While the clients, running ipi_handler() do the following:
      
        2.1 check in
        2.2 wait for flag
        2.3 do stuff
        2.4 check out
        2.5 wait for flag
        2.6 return
      
      The problem is the flag is on the servers stack! So if 1.7 and 1.8
      executes before 2.5 happens, the client's pointer to the flag becomes
      invalid (likely overwritten) which causes the client to never see the
      flag change, hanging the box.
      
      The patch fixes that by adding a final synchronisation step in which the
      controlling CPU waits for all the IPI'ed CPUs to complete.
      93ecfc23
    • Andrew Morton's avatar
      [PATCH] declare struct irq_desc · 145c67ca
      Andrew Morton authored
      From: Martin Pool <mbp@samba.org>
      
      ia64_mv_irq_desc returns a 'struct irq_desc', which had a forward declaration
      but did not actually exist.  We're currently using a silly anonymous struct
      typedefed to irq_desc_t.
      
      Now add the structure name as well.
      145c67ca
    • Andrew Morton's avatar
      [PATCH] ext3: handle aborted journals in · 59c30d0f
      Andrew Morton authored
      Teach journal_get_write_access() and journal_get_undo_access() to handle
      aborted trasaction handles.
      59c30d0f
    • Andrew Morton's avatar
      [PATCH] itimer resolution and rounding fixes · 1b70d78f
      Andrew Morton authored
      From: george anzinger <george@mvista.com>
      
      a) Fixes bug 858 (http://bugme.osdl.org/show_bug.cgi?id=858)
      
         The problem was caused by round off error in calculating the correct
         jiffies value in micro seconds to do the round up to jiffies.  The fix
         is to do the round up AFTER conversion to jiffies, rather than before.
         This only affected the timeval to jiffies calculation.
      
      b) Changed the scale values to get the highest possible precision short
         of going to full 64-bit math.  This is particularly useful in the
         scaling of the seconds part of time.  The code now computes a trial
         value at compile time and adjusts the scaling if the result is less than
         32 bits.
      
      c) Adds comments to time.h to remove (I hope) ALL the confusion that
         this file use to generate.
      1b70d78f
    • Andrew Morton's avatar
      [PATCH] Add do_setitimer prototype to linux/time.h · 835980c4
      Andrew Morton authored
      From: Peter Chubb <peterc@gelato.unsw.edu.au>
      
      Currently, do_setitimer() is used in several files, but doesn't appear
      in any header.  Thus its declaration is repeated in some files, and
      its use causes a warning in others (because there is no declaration
      present).
      
      This patch:
           -- adds a couple of declarations to linux/times.h
           -- removes the (now duplicate) declarations from other files.
      835980c4
    • Andrew Morton's avatar
      [PATCH] NMI watchdog documentation for x86-64 · d8aceb1c
      Andrew Morton authored
      From: Ville Herva <vherva@niksula.hut.fi>
      
      NMI watchdog is nowadays supported on x86-64, too. The nmi-watchdog.txt
      document doesn't mention this. Here is a patch to add a few words on that.
      d8aceb1c
    • Andrew Morton's avatar
      [PATCH] fix free_all_bootmem_core for virtual memmap · 767aa962
      Andrew Morton authored
      From: jbarnes@sgi.com (Jesse Barnes)
      
      Currently, free_all_bootmem_core() assumes that the bdata for a given
      node will begin where the node's memory map begins.  This isn't
      necessarily true on machines that use a virtual memory map (e.g. ia64
      discontig machines), so we fix page to point to the first actual page of
      RAM on the node, which _does_ contain the bdata struct.
      767aa962
    • Andrew Morton's avatar
      [PATCH] export lookup_create() · d3d147ac
      Andrew Morton authored
      From: jbarnes@sgi.com (Jesse Barnes)
      
      hwgfs needs lookup_create(), and intermezzo already has copied it.
      
      Document it, export it to modules and fix intermezzo.
      d3d147ac
    • Andrew Morton's avatar
      [PATCH] Don't trigger NMI watchdog for panic delay · 88fbf07a
      Andrew Morton authored
      From: Andi Kleen <ak@muc.de>
      
      In some cases panic can be called with interrupts off.  Don't trigger the
      NMI watchdog in this case when a panic= parameter is specified.
      88fbf07a
    • Andrew Morton's avatar
      [PATCH] might_sleep() checks for x86 usercopy functions · 4bca8b2e
      Andrew Morton authored
      From: Matt Mackall <mpm@selenic.com>
      
      This only checks in the non-__ versions, as those are occassionally
      called inside things like kmap_atomic pairs which take a spinlock in
      with highmem. It's all conditional on CONFIG_DEBUG_SPINLOCK_SLEEP
      (which isn't quite the right name) so there's no overhead for normal
      builds.
      4bca8b2e
    • Andrew Morton's avatar
      [PATCH] ide-cd error handling oops fix · 30c633b8
      Andrew Morton authored
      cdrom_decode_status() can call cdrom_end_request() twice.  The second call
      oopses because the first call destroyed the request.
      
      Fix it to only call cdrom_end_request() once.
      
      Jens has acked this change.
      30c633b8
    • Andrew Morton's avatar
      [PATCH] move_one_page() atomicity fix · 8a8f9d8e
      Andrew Morton authored
      move_one_page() is awkward.  It grabs an atomic_kmap of the source pte
      (because it needs to know if there's really a page there) and then it needs
      to allocate a pte for the dest.  But it cannot allocate the dest pte while
      holding the src's atomic kmap.
      
      So it performs this little dance peeking at pagetables to predict if
      alloc_one_pte_map() might need to perform a pte page allocation.
      
      When I wrote this code I made it conditional on CONFIG_HIGHPTE.  But that was
      bogus: even in the !CONFIG_HIGHPTE case, get_one_pte_map_nested() will run
      atomic_kmap() against the pte page, which disables preemption.
      
      Net effect: with CONFIG_HIGHMEM && !CONFIG_HIGHPTE we can end up performing a
      GFP_KERNEL pte page allocation while preemption is disabled.  It triggers a
      might_sleep() warning and indeed is buggy.
      
      So the patch removes the conditionality: even in the !CONFIG_HIGHPTE case we
      still do the pagetable peek and drop the kmap if necessary.
      
      (Arguably, we shouldn't be performing the atomic_kmap() at all if
      !CONFIG_HIGHPTE: all it does is a pointless preemption disable).
      
      (Arguably, kmap_atomic() should not be disabling preemption if the target
      page is not highmem.  But we're doing it anyway at present for consistency
      (ie: debug coverage) and because the filemap.c pagecache copying functions
      rely on kmap_atomic() disabling do_no_page() for all pages: see
      do_no_page()'s use of in_atomic()).
      8a8f9d8e
    • Andrew Morton's avatar
      [PATCH] remount_fs needs lock_kernel() · bb29ae49
      Andrew Morton authored
      The new emergency remount path forgot to take lock_kernel(), which is
      required for ->remount_fs().
      bb29ae49