1. 23 Oct, 2003 4 commits
    • Stéphane Eranian's avatar
      [PATCH] ia64: fix critical perfmon2 bugs · 7502ff99
      Stéphane Eranian authored
      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
      7502ff99
    • Arun Sharma's avatar
      [PATCH] ia64: fix broken __emul_prefix · fe6f0598
      Arun Sharma authored
      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).
      fe6f0598
    • David Mosberger's avatar
    • Bjorn Helgaas's avatar
      [PATCH] ia64: prevent "dd if=/dev/mem" crash · 973a46c9
      Bjorn Helgaas authored
      The drivers/char/mem.c change was accepted, so here's the
      ia64-specific part.
      973a46c9
  2. 22 Oct, 2003 3 commits
    • Ian Wienand's avatar
      [PATCH] ia64: fix gate-data.S build for binutils 2.14 · 1b78c5ca
      Ian Wienand authored
      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.
      1b78c5ca
    • Alex Williamson's avatar
      [PATCH] ia64: trivial ia64 numa/discontig fixes · d9432bd8
      Alex Williamson authored
      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.
      d9432bd8
    • Arun Sharma's avatar
      [PATCH] ia64: don't touch IA-32 segment descriptors too early · 1b0bf596
      Arun Sharma authored
      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.
      1b0bf596
  3. 21 Oct, 2003 4 commits
  4. 20 Oct, 2003 6 commits
    • Stéphane Eranian's avatar
      [PATCH] ia64: two perfmon fixes · b8e3ead1
      Stéphane Eranian authored
      - 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.
      b8e3ead1
    • Arun Sharma's avatar
      [PATCH] ia64: make strace of ia32 processes work again · 4e9dbddd
      Arun Sharma authored
      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.
      4e9dbddd
    • David Mosberger's avatar
      ia64: Sync with i386 irq.c (deadlock avoidance for certain disable_irq()/ · 8c809d95
      David Mosberger authored
      	enable_irq() sequences).
      8c809d95
    • Jesse Barnes's avatar
      [PATCH] ia64: zero out topology related sysfs nodes · 48711f91
      Jesse Barnes authored
      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.
      48711f91
    • David Mosberger's avatar
      Merge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5 · e360aa91
      David Mosberger authored
      into tiger.hpl.hp.com:/data1/bk/lia64/to-linus-2.5
      e360aa91
    • Bjorn Helgaas's avatar
      [PATCH] ia64: fix EFI memory map trimming · d86d6278
      Bjorn Helgaas authored
      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).
      d86d6278
  5. 17 Oct, 2003 8 commits
  6. 16 Oct, 2003 15 commits