1. 31 7月, 2007 1 次提交
  2. 19 5月, 2007 1 次提交
    • T
      [IA64] Yet another section mismatch warning · a8c8be08
      Tony Luck 提交于
      reference to .init.data: from .text between 'sn_cpu_init' (at offset 0x1411) and 'nasid_slice_to_cpuid'
      reference to .init.data: from .text between 'sn_cpu_init' (at offset 0x1420) and 'nasid_slice_to_cpuid'
      
      The offending .init.data object is shub_1_1_found which should be declared
      in __cpuinitdata, not in __initdata
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      a8c8be08
  3. 12 5月, 2007 1 次提交
  4. 21 3月, 2007 1 次提交
    • J
      [IA64] Altix: ioremap vga_console_iobase · 0bdfc190
      John Keller 提交于
      When booting an SN system without specifing a console
      (i.e., no "console=" on boot line), the system will hang during
      boot at the point where /sbin/init is run.
      
      The problem is that vga_console_iobase is not converted to a
      virtual address before storing in io_space[0].mmio_base.
      The conversion was happening in sn_scan_pcdp(), but not in
      setup_vga_console().
      Signed-off-by: NJohn Keller <jpk@sgi.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      0bdfc190
  5. 01 3月, 2007 1 次提交
    • J
      ACPI: Altix: reinitialize acpi tables · 3fd0b2d9
      John Keller 提交于
      To provide compatibilty with SN kernels that do and do not
      have ACPI IO support, the SN PROM must build different
      versions of some ACPI tables based on which kernel is booting.
      As such, the tables may have to change at kernel boot time.
      By default, prior to kernel boot, the PROM builds an empty
      DSDT (header only) and no SSDTs. If an ACPI capable kernel
      boots, the kernel will notify the PROM, at platform setup time,
      and the PROM will build full DSDT and SSDT tables.
      
      With the latest changes to acpi_table_init(), the table lengths
      are saved, and when our PROM changes them, the changes are not seen,
      and the kernel will crash on boot. Because of issues with kexec support,
      we are not able to create the tables prior to acpi_table_init().
      As a result, we are making a second call to acpi_table_init() to
      process the rebuilt DSDT and SSDTs.
      Signed-off-by: NJohn Keller <jpk@sgi.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      3fd0b2d9
  6. 13 12月, 2006 1 次提交
    • J
      [IA64] Do not call SN_SAL_SET_CPU_NUMBER twice on cpu 0 · adf142e3
      Jay Lan 提交于
      This is an SN specific patch.
      
      Architectually, cpu_init is always called twice on cpu 0
      and thus resulted in two SN_SAL_SET_CPU_NUMBER calls.
      
      This was harmless in production kernel; however, it can
      cause problem on booting up a crashdump kernel at Altix.
      
      Here is the patch that detects the second sn_cpu_init
      call and skips the second call to SN_SAL_SET_CPU_NUMBER.
      Signed-Off-By: NJay Lan <jlan@sgi.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      adf142e3
  7. 08 12月, 2006 1 次提交
    • Z
      [IA64] IA64 Kexec/kdump · a7956113
      Zou Nan hai 提交于
      Changes and updates.
      
      1. Remove fake rendz path and related code according to discuss with Khalid Aziz.
      2. fc.i offset fix in relocate_kernel.S.
      3. iospic shutdown code eoi and mask race fix from Fujitsu.
      4. Warm boot hook in machine_kexec to SN SAL code from Jack Steiner.
      5. Send slave to SAL slave loop patch from Jay Lan.
      6. Kdump on non-recoverable MCA event patch from Jay Lan
      7. Use CTL_UNNUMBERED in kdump_on_init sysctl.
      Signed-off-by: NZou Nan hai <nanhai.zou@intel.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      a7956113
  8. 02 12月, 2006 1 次提交
    • 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
  9. 18 10月, 2006 1 次提交
  10. 09 9月, 2006 1 次提交
  11. 11 7月, 2006 1 次提交
  12. 01 7月, 2006 1 次提交
  13. 29 6月, 2006 2 次提交
  14. 23 6月, 2006 1 次提交
  15. 27 3月, 2006 1 次提交
  16. 16 2月, 2006 2 次提交
  17. 08 2月, 2006 2 次提交
  18. 03 2月, 2006 1 次提交
  19. 27 1月, 2006 1 次提交
    • B
      [IA64] hooks to wait for mmio writes to drain when migrating processes · e08e6c52
      Brent Casavant 提交于
      On SN2, MMIO writes which are issued from separate processors are not
      guaranteed to arrive in any particular order at the IO hardware.  When
      performing such writes from the kernel this is not a problem, as a
      kernel thread will not migrate to another CPU during execution, and
      mmiowb() calls can guarantee write ordering when control of the IO
      resource is allowed to move between threads.
      
      However, when MMIO writes can be performed from user space (e.g. DRM)
      there are no such guarantees and mechanisms, as the process may
      context-switch at any time, and may migrate to a different CPU as part
      of the switch.  For such programs/hardware to operate correctly, it is
      required that the MMIO writes from the old CPU be accepted by the IO
      hardware before subsequent writes from the new CPU can be issued.
      
      The following patch implements this behavior on SN2 by waiting for a
      Shub register to indicate that these writes have been accepted.  This
      is placed in the context switch-in path, and only performs the wait
      when the newly scheduled task changes CPUs.
      Signed-off-by: NPrarit Bhargava <prarit@sgi.com>
      Signed-off-by: NBrent Casavant <bcasavan@sgi.com>
      e08e6c52
  20. 12 11月, 2005 1 次提交
    • M
      [IA64-SGI] set altix preferred console · ff51224c
      Mark Maule 提交于
      Fix default VGA console on SN platforms.  Since SN firmware does not pass
      enough ACPI information to identify VGA cards and the associated legacy IO/MEM
      addresses, we rely on the EFI PCDP table.  Since the linux pcdp driver is
      optional (and overridden if console= directives are used) SN duplicates a
      portion of the pcdp scan code to identify if there is a usable console VGA
      adapter.  Additionally, dup necessary pcdp related structs to avoid dragging
      drivers/pcdp.h into a more public location.
      Signed-off-by: NMark Maule <maule@sgi.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      ff51224c
  21. 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
  22. 09 9月, 2005 1 次提交
  23. 01 9月, 2005 1 次提交
  24. 25 8月, 2005 1 次提交
  25. 18 8月, 2005 2 次提交
  26. 07 7月, 2005 1 次提交
  27. 29 6月, 2005 2 次提交
  28. 04 6月, 2005 1 次提交
  29. 18 5月, 2005 1 次提交
  30. 05 5月, 2005 1 次提交
  31. 04 5月, 2005 1 次提交
  32. 26 4月, 2005 1 次提交
    • A
      [IA64-SGI] Altix: enable poweroff · c1298c5c
      Aaron J Young 提交于
      This patch adds the necessary "hook" to allow SGI/SN
      machines to perform a system power off upon a 
      'init 0', 'halt -p', 'poweroff' or 'shutdown -h'.
      
      The "hook" is to set the pm_power_off callback
      to ia64_sn_power_down(). pm_power_off is checked
      in machine_power_off()/do_poweroff() and, if set, is executed. 
      ia64_sn_power_down() is a function already present (but not 
      used currently) in the sn kernel.
      ia64_sn_power_down() makes a SAL call to execute the
      power off.
      Signed-off-by: NAaron J Young <ayoung@sgi.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      c1298c5c
  33. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4