1. 13 Apr, 2004 3 commits
  2. 12 Apr, 2004 2 commits
    • Kenji Kaneshige's avatar
      [PATCH] ia64: set_rte() should get iosapic_lock · 4006f663
      Kenji Kaneshige authored
      Currently set_rte() changes RTE without iosapic_lock held. I guess it
      assumes to be called only at the boot time. But set_rte() can be
      called by PCI driver not only at the boot time. So I think set_rte()
      should get iosapic_lock.
      
      pci_enable_device(drivers/pci/pci.c)
      |
      +-> pci_enable_device_bars(drivers/pci/pci.c)
          |
          +-> pcibios_enable_device(arch/ia64/pci/pci.c)
              |
              +-> acpi_pci_irq_enable (drivers/acpi/pci_irq.c)
                  |
                  +-> iosapic_enable_intr (arch/ia64/kernel/iosapic.c)
                      |
                      +-> set_rte (arch_ia64/kernel/iosapic.c)
      
      A following patch fixes this issue.
      4006f663
    • Bjorn Helgaas's avatar
      [PATCH] ia64: Allow IO port space without EFI RT attribute · 57f668bf
      Bjorn Helgaas authored
      Some firmware does not require run-time mapping of the legacy IO port
      space.  (It may not need to perform any IO port operations, or it may
      do them with translation disabled.)
      
      (efi_get_iobase): Don't require that IO port space be marked RT, since
      there's no reason the firmware should require mappings for it.
      Thanks to Greg Albrecht for noticing this.
      
      Also, allow attributes in addition to EFI_MEMORY_UC.  I can't
      think of another current attribute that makes sense, but the
      kernel only depends on being able to use UC.
      57f668bf
  3. 08 Apr, 2004 5 commits
    • David Mosberger's avatar
      ia64: Make acpi.c compile again: there was an implicit declaration · a9f7dc3f
      David Mosberger authored
      	mismatch because the external declaration isn't in the arch-
      	independent ACPI bits yet.
      a9f7dc3f
    • Stéphane Eranian's avatar
      [PATCH] ia64: perfmon update · 02602b3a
      Stéphane Eranian authored
      Here is a new perfmon patch. It is important because it
      fixes the problem of the close() when the file descriptor
      is shared between two related processes. The good thing
      is that it simplifies a lot the cleanup of the sampling
      buffer.
      
      Here is the ChangeLog:
      
      - fix bug in pfm_close() when the descriptor is
        shared between related processed. Introduce
        a pfm_flush() called for each invocation of
        close(). pfm_close() only called for the last
        user.
      
      - fix pfm_restore_monitoring() to also reload
        the debug registers. They could be modified
        while monitoring is masked.
      
      - fix pfm_close() to clear ctx_fl_is_sampling.
      
      - fix a bug in pfm_handle_work() which could cause
        the wrong PMD to be reset. 
      
      - converted PROTECT_CTX/UNPROTECT_CTX into
        local_irq_save/restore to keep context protection
        but allow IPI to proceed.
      
      - updated pfm_syswide_force_stop() to use
        local_irq_save/restore now that the context
        is protected from the caller side.
      
      - updated pfm_mck_pmc_check() to check if context is 
        loaded before checking for special IBR/DBR combinations.
        Clearing the debug registers is not needed when the context
        is not yet loaded.
      
      - updated perfmon.h to have to correct prototype definitions
        for the pfm_mod_*() functions.
      
      - got rid of the PFM_CTX_TERMINATED state.
      
      - cleanup the DPRINT() statements to remove
        explicit output of current->pid. This is done
         systematically by the macros.
      
      - added a systctl entry (expert_mode) to bypass
        read/write checks on PMC/PMD. As its name indicates
        this is for experts ONLY. Must be root to toggle
        /proc/sys entry.
      
      - corrected pfm_mod_*() to check against the current task.
      
      - removed pfm_mod_fast_read_pmds(). It is never needed.
      
      - added pfm_mod_write_ibrs() and pfm_mod_write_dbrs().
      02602b3a
    • Bjorn Helgaas's avatar
      [PATCH] ia64: allow simscsi to be a module · d7ee788d
      Bjorn Helgaas authored
      Requiring CONFIG_HP_SIMSCSI to be either  "y" or "n" breaks
      allmodconfig, because simscsi ends up built-in, while scsi itself
      is a module.  So allow simscsi to be a module also.
      d7ee788d
    • Bjorn Helgaas's avatar
      [PATCH] ia64: ACPI IRQ cleanup (arch part) · 352b39c8
      Bjorn Helgaas authored
      Here's the ia64 part of the ACPI IRQ cleanup I proposed here:
      
      http://www.gelato.unsw.edu.au/linux-ia64/0403/8979.html
      
      After the arch bits are in, I'll post the corresponding ACPI changes.
      I removed the "Found IRQ" printk now because when the ACPI
      change goes in, dev->irq won't be initialized until *after*
      acpi_pci_irq_enable().
      352b39c8
    • Petri T. Koistinen's avatar
      [PATCH] ia64: put URLs in documentation files inside angle-brackets · e00ff58f
      Petri T. Koistinen authored
      Patch by Petri T. Koistinen.
      e00ff58f
  4. 05 Apr, 2004 4 commits
  5. 03 Apr, 2004 9 commits
  6. 02 Apr, 2004 11 commits
  7. 01 Apr, 2004 6 commits
    • Russell King's avatar
      121b5646
    • Andrew Morton's avatar
      [PATCH] kbuild: $LANG fix · 9be7dd12
      Andrew Morton authored
      From: Sam Ravnborg <sam@ravnborg.org>
      
      Fix this:
      
       	  Building modules, stage 2.
       	  MODPOST
       	LANG := en_US.UTF-8
       	make: LANG: Command not found
       	make: *** [all] Error 127
      
      by removing the tab in front of the LANG assignment.
      9be7dd12
    • Jesse Barnes's avatar
      [PATCH] ia64: bring ia64 nodes online properly · 0c5d6e19
      Jesse Barnes authored
      Andi's libnuma exposed the fact that we don't bring nodes online
      properly as we discover them in ia64.  Here's a quick patch to fix
      that.  Tested with Andi's numademo program; seems to work fine.
      0c5d6e19
    • Linus Torvalds's avatar
      Merge bk://linux-acpi.bkbits.net/linux-acpi-release-2.6.5 · 64706886
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      64706886
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk · 4a10600a
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      4a10600a
    • Andrew Morton's avatar
      [PATCH] Fix swp_entry_t encoding · 4a25c3d6
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      This fixes a problem in sys_swapon that can cause the creation of invalid
      swap ptes.  This has its cause in the arch-independent swap entries vs. 
      the pte coded swap entries.  The swp_entry_t uses 27 bits for the offset
      and 5 bits for the type.  In sys_swapon this definition is used to find how
      many swap devices and how many pages on each device there can be.  But the
      swap entries encoded in a pte can be subject to additional restrictions due
      to the hardware besides the 27/5 division of the bits in the swp_entry_t
      type.  This is solved by adding pte_to_swp_entry and swp_entry_to_pte calls
      to the calculations for maximum type and offset.
      
      In addition the s390 swap pte division for offset/type is changed from 19/6
      bits to 20/5 bits.
      4a25c3d6