1. 15 7月, 2008 1 次提交
  2. 14 7月, 2008 3 次提交
  3. 11 7月, 2008 3 次提交
  4. 09 7月, 2008 1 次提交
  5. 08 7月, 2008 5 次提交
    • B
      sysfs: add /sys/firmware/memmap · 69ac9cd6
      Bernhard Walle 提交于
      This patch adds /sys/firmware/memmap interface that represents the BIOS
      (or Firmware) provided memory map. The tree looks like:
      
          /sys/firmware/memmap/0/start   (hex number)
                                 end     (hex number)
                                 type    (string)
          ...                 /1/start
                                 end
                                 type
      
      With the following shell snippet one can print the memory map in the same form
      the kernel prints itself when booting on x86 (the E820 map).
      
        --------- 8< --------------------------
          #!/bin/sh
          cd /sys/firmware/memmap
          for dir in * ; do
              start=$(cat $dir/start)
              end=$(cat $dir/end)
              type=$(cat $dir/type)
              printf "%016x-%016x (%s)\n" $start $[ $end +1] "$type"
          done
        --------- >8 --------------------------
      
      That patch only provides the needed interface:
      
       1. The sysfs interface.
       2. The structure and enumeration definition.
       3. The function firmware_map_add() and firmware_map_add_early()
          that should be called from architecture code (E820/EFI, for
          example) to add the contents to the interface.
      
      If the kernel is compiled without CONFIG_FIRMWARE_MEMMAP, the interface does
      nothing without cluttering the architecture-specific code with #ifdef's.
      
      The purpose of the new interface is kexec: While /proc/iomem represents
      the *used* memory map (e.g. modified via kernel parameters like 'memmap'
      and 'mem'), the /sys/firmware/memmap tree represents the unmodified memory
      map provided via the firmware. So kexec can:
      
       - use the original memory map for rebooting,
       - use the /proc/iomem for setting up the ELF core headers for kdump
         case that should only represent the memory of the system.
      
      The patch has been tested on i386 and x86_64.
      Signed-off-by: NBernhard Walle <bwalle@suse.de>
      Acked-by: NGreg KH <gregkh@suse.de>
      Acked-by: NVivek Goyal <vgoyal@redhat.com>
      Cc: kexec@lists.infradead.org
      Cc: yhlu.kernel@gmail.com
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      69ac9cd6
    • B
      x86: fix documentation bug about relocatability · 068b4538
      Bernhard Walle 提交于
      This patch fixes a small bug in documentation: x86_64 also has now
      the ability to build a relocatable kernel.
      Signed-off-by: NBernhard Walle <bwalle@suse.de>
      Cc: vgoyal@redhat.com
      Cc: kexec@lists.infradead.org
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      068b4538
    • I
      x86: nmi_watchdog - documentation fix - v2 · 1bb3a029
      Ingo Molnar 提交于
      typo fixes from Randy Dunlap and Alan Cox.
      Signed-off-by: NCyrill Gorcunov <gorcunov@gmail.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      1bb3a029
    • C
      x86: nmi_watchdog - documentation fix · afda335d
      Cyrill Gorcunov 提交于
      nmi_watchdog is set to NMI_NONE by default (ie disabled) on _any_
      mode so lets fix documentation too.
      Signed-off-by: NCyrill Gorcunov <gorcunov@gmail.com>
      Cc: "Maciej W. Rozycki" <macro@linux-mips.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      afda335d
    • P
      x86 boot: only pick up additional EFI memmap if add_efi_memmap flag · 200001eb
      Paul Jackson 提交于
      Applies on top of the previous patch:
        x86 boot: add code to add BIOS provided EFI memory entries to kernel
      
      Instead of always adding EFI memory map entries (if present) to the
      memory map after initially finding either E820 BIOS memory map entries
      and/or kernel command line memmap entries, -instead- only add such
      additional EFI memory map entries if the kernel boot option:
      
          add_efi_memmap
      
      is specified.
      
      Requiring this 'add_efi_memmap' option is backward compatible with
      kernels that didn't load such additional EFI memory map entries in
      the first place, and it doesn't override a configuration that tries
      to replace all E820 or EFI BIOS memory map entries with ones given
      entirely on the kernel command line.
      Signed-off-by: NPaul Jackson <pj@sgi.com>
      Cc: "Yinghai Lu" <yhlu.kernel@gmail.com>
      Cc: "Jack Steiner" <steiner@sgi.com>
      Cc: "Mike Travis" <travis@sgi.com>
      Cc: "Huang
      Cc: Ying" <ying.huang@intel.com>
      Cc: "Andi Kleen" <andi@firstfloor.org>
      Cc: "Andrew Morton" <akpm@linux-foundation.org>
      Cc: Paul Jackson <pj@sgi.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      200001eb
  6. 07 7月, 2008 1 次提交
  7. 05 7月, 2008 8 次提交
  8. 03 7月, 2008 2 次提交
  9. 02 7月, 2008 2 次提交
  10. 27 6月, 2008 3 次提交
  11. 26 6月, 2008 1 次提交
  12. 24 6月, 2008 1 次提交
  13. 19 6月, 2008 2 次提交
  14. 18 6月, 2008 1 次提交
  15. 13 6月, 2008 3 次提交
  16. 12 6月, 2008 3 次提交