1. 01 7月, 2009 1 次提交
  2. 18 6月, 2009 1 次提交
    • M
      [IA64] Convert ia64 to use int-ll64.h · e088a4ad
      Matthew Wilcox 提交于
      It is generally agreed that it would be beneficial for u64 to be an
      unsigned long long on all architectures.  ia64 (in common with several
      other 64-bit architectures) currently uses unsigned long.  Migrating
      piecemeal is too painful; this giant patch fixes all compilation warnings
      and errors that come as a result of switching to use int-ll64.h.
      
      Note that userspace will still see __u64 defined as unsigned long.  This
      is important as it affects C++ name mangling.
      
      [Updated by Tony Luck to change efi.h:efi_freemem_callback_t to use
       u64 for start/end rather than unsigned long]
      Signed-off-by: NMatthew Wilcox <willy@linux.intel.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      e088a4ad
  3. 02 4月, 2009 1 次提交
  4. 31 12月, 2008 2 次提交
  5. 07 3月, 2008 1 次提交
  6. 08 12月, 2007 2 次提交
  7. 31 7月, 2007 1 次提交
    • S
      [IA64] fix a few section mismatch warnings · 056e6d89
      Sam Ravnborg 提交于
      Fix the following section mismatch warnings:
      
      WARNING: vmlinux.o(.text+0x41902): Section mismatch: reference to .init.text:__alloc_bootmem (between 'ia64_mca_cpu_init' and 'ia64_do_tlb_purge')
      WARNING: vmlinux.o(.text+0x49222): Section mismatch: reference to .init.text:__alloc_bootmem (between 'register_intr' and 'iosapic_register_intr')
      WARNING: vmlinux.o(.text+0x62beb2): Section mismatch: reference to .init.text:__alloc_bootmem_node (between 'hubdev_init_node' and 'cnodeid_get_geoid')
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      056e6d89
  8. 12 5月, 2007 1 次提交
  9. 11 5月, 2007 1 次提交
  10. 03 2月, 2007 3 次提交
  11. 02 12月, 2006 2 次提交
    • J
      Altix: Initial ACPI support - ROM shadowing. · a2302c68
      John Keller 提交于
      Support a shadowed ROM when running with an ACPI capable PROM.
      
      Define a new dev.resource flag IORESOURCE_ROM_BIOS_COPY to
      describe the case of a BIOS shadowed ROM, which can then
      be used to avoid pci_map_rom() making an unneeded call to
      pci_enable_rom().
      Signed-off-by: NJohn Keller <jpk@sgi.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      a2302c68
    • J
      Altix: Add initial ACPI IO support · 8ea6091f
      John Keller 提交于
      First phase in introducing ACPI support to SN.
      In this phase, when running with an ACPI capable PROM,
      the DSDT will define the root busses and all SN nodes
      (SGIHUB, SGITIO). An ACPI bus driver will be registered
      for the node devices, with the acpi_pci_root_driver being
      used for the root busses. An ACPI vendor descriptor is
      now used to pass platform specific information for both
      nodes and busses, eliminating the need for the current
      SAL calls. Also, with ACPI support, SN fixup code is no longer
      needed to initiate the PCI bus scans, as the acpi_pci_root_driver
      does that.
      
      However, to maintain backward compatibility with non-ACPI capable
      PROMs, none of the current 'fixup' code can been deleted, though
      much restructuring has been done. For example, the bulk of the code
      in io_common.c is relocated code that is now common regardless
      of what PROM is running, while io_acpi_init.c and io_init.c contain
      routines specific to an ACPI or non ACPI capable PROM respectively.
      
      A new pci bus fixup platform vector has been created to provide
      a hook for invoking platform specific bus fixup from pcibios_fixup_bus().
      
      The size of io_space[] has been increased to support systems with
      large IO configurations.
      Signed-off-by: NJohn Keller <jpk@sgi.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      8ea6091f
  12. 22 6月, 2006 1 次提交
  13. 25 3月, 2006 1 次提交
  14. 28 2月, 2006 1 次提交
  15. 16 2月, 2006 2 次提交
  16. 10 2月, 2006 2 次提交
  17. 03 2月, 2006 2 次提交
  18. 27 1月, 2006 1 次提交
  19. 18 1月, 2006 1 次提交
  20. 17 1月, 2006 1 次提交
  21. 14 1月, 2006 1 次提交
    • P
      [IA64-SGI] Fix sn_flush_device_kernel & spinlock initialization · 6d6e4200
      Prarit Bhargava 提交于
      This patch separates the sn_flush_device_list struct into kernel and
      common (both kernel and PROM accessible) structures.  As it was, if the
      size of a spinlock_t changed (due to additional CONFIG options, etc.) the
      sal call which populated the sn_flush_device_list structs would erroneously
      write data (and cause memory corruption and/or a panic).
      
      This patch does the following:
      
      1.  Removes sn_flush_device_list and adds sn_flush_device_common and
      sn_flush_device_kernel.
      
      2.  Adds a new SAL call to populate a sn_flush_device_common struct per
      device, not per widget as previously done.
      
      3.  Correctly initializes each device's sn_flush_device_kernel spinlock_t
      struct (before it was only doing each widget's first device).
      Signed-off-by: NPrarit Bhargava <prarit@sgi.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      6d6e4200
  22. 07 12月, 2005 1 次提交
    • J
      [IA64-SGI] altix: pci_window fixup · 3ec829b6
      John Keller 提交于
      Altix only patch to add fixup code that sets up
      pci_controller->window. This code is a temporary
      fix until ACPI support on Altix is added.
      
      Also, corrects the usage of pci_dev->sysdata,
      which had previously been used to reference
      platform specific device info, to now point to
      a pci_controller struct.
      Signed-off-by: NJohn Keller <jpk@sgi.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      3ec829b6
  23. 11 11月, 2005 1 次提交
  24. 16 9月, 2005 1 次提交
    • J
      [IA64] Cleanup use of various #defines related to nodes · 24ee0a6d
      Jack Steiner 提交于
      Some of the SN code & #defines related to compact nodes & IO discovery
      have gotten stale over the years. This patch attempts to clean them up.
      Some of the various SN MAX_xxx #defines were also unclear & misused.
      
      The primary changes are:
      
      	- use MAX_NUMNODES. This is the generic linux #define for the number
      	  of nodes that are known to the generic kernel. Arrays & loops
      	  for constructs that are 1:1 with linux-defined nodes should
      	  use the linux #define - not an SN equivalent.
      
      	- use MAX_COMPACT_NODES for MAX_NUMNODES + NUM_TIOS. This is the
      	  number of nodes in the SSI system. Compact nodes are a hack to
      	  get around the IA64 architectural limit of 256 nodes. Large SGI
      	  systems have more than 256 nodes. When we upgrade to ACPI3.0,
      	  I _hope_ that all nodes will be real nodes that are known to
      	  the generic kernel. That will allow us to delete the notion
      	  of "compact nodes".
      
      	- add MAX_NUMALINK_NODES for the total number of nodes that
      	  are in the numalink domain - all partitions.
      
      	- simplified (understandable) scan_for_ionodes()
      
      	- small amount of cleanup related to cnodes
      Signed-off-by: NJack Steiner <steiner@sgi.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      24ee0a6d
  25. 08 9月, 2005 1 次提交
  26. 17 8月, 2005 2 次提交
  27. 12 8月, 2005 2 次提交
  28. 13 7月, 2005 1 次提交
    • C
      [IA64] Altix pcibus_to_node implementation · 7c2a6c62
      Christoph Lameter 提交于
      The Altix subarch does not provide node information via ACPI. Instead hooks
      are used to fixup pci structures. This patch determines the nodes for Altix
      PCI busses.
      
      Remote Bridges:
      ---------------
      Altix supports remote I/O nodes without memory or processors but with bridges.
      The TIOCA type of bridge is an AGP bridge and the PROM provides information
      about the closest node. That information will be returned by pcibus_to_node.
      
      The TIOCP remote bridge type is a PCI bridge but the PROM does not provide a
      closest node id. pcibus_to_node will return -1 for devices on those bridges
      meaning that device control structures may be allocated on any node.
      
      Safeguard:
      ----------
      Should the fixups result in invalid node information for a pci controller then
      a warning will be printed and pcibus_to_node will return -1.
      
      
      This patch also fixes the "FIXME" in sn_dma_alloc_coherent. This means that
      dma_alloc_coherent will now use alloc_pages_node to allocate memory local to
      the node that the PCI device is connected to.
      Signed-off-by: NChristoph Lameter <clameter@sgi.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      7c2a6c62
  29. 07 7月, 2005 2 次提交