08 Dec, 2006

1 commit


30 Sep, 2006

1 commit


27 Sep, 2006

2 commits

  • Size zones and holes in an architecture independent manner for x86_64.

    Signed-off-by: Mel Gorman
    Cc: Dave Hansen
    Cc: Andy Whitcroft
    Cc: Andi Kleen
    Cc: Benjamin Herrenschmidt
    Cc: Paul Mackerras
    Cc: "Keith Mannthey"
    Cc: "Luck, Tony"
    Cc: KAMEZAWA Hiroyuki
    Cc: Yasunori Goto
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mel Gorman
     
  • * 'for-linus' of git://one.firstfloor.org/home/andi/git/linux-2.6: (225 commits)
    [PATCH] Don't set calgary iommu as default y
    [PATCH] i386/x86-64: New Intel feature flags
    [PATCH] x86: Add a cumulative thermal throttle event counter.
    [PATCH] i386: Make the jiffies compares use the 64bit safe macros.
    [PATCH] x86: Refactor thermal throttle processing
    [PATCH] Add 64bit jiffies compares (for use with get_jiffies_64)
    [PATCH] Fix unwinder warning in traps.c
    [PATCH] x86: Allow disabling early pci scans with pci=noearly or disallowing conf1
    [PATCH] x86: Move direct PCI scanning functions out of line
    [PATCH] i386/x86-64: Make all early PCI scans dependent on CONFIG_PCI
    [PATCH] Don't leak NT bit into next task
    [PATCH] i386/x86-64: Work around gcc bug with noreturn functions in unwinder
    [PATCH] Fix some broken white space in ia32_signal.c
    [PATCH] Initialize argument registers for 32bit signal handlers.
    [PATCH] Remove all traces of signal number conversion
    [PATCH] Don't synchronize time reading on single core AMD systems
    [PATCH] Remove outdated comment in x86-64 mmconfig code
    [PATCH] Use string instructions for Core2 copy/clear
    [PATCH] x86: - restore i8259A eoi status on resume
    [PATCH] i386: Split multi-line printk in oops output.
    ...

    Linus Torvalds
     

26 Sep, 2006

15 commits


31 Aug, 2006

1 commit

  • Noticed by Jan Beulich.

    When the kernel was moved from 1MB to 2MB in 2.6.17 the kernel reservation
    code wasn't adjusted and it still reserved starting with 1MB. This means 1MB always
    were lost.

    This patch fixes this by reserving only starting with _text.

    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Andi Kleen
     

11 Jul, 2006

1 commit

  • screen_info.h doesn't have anything to do with the tty layer and shouldn't be
    included by tty.h. This patches removes the include and modifies all users to
    directly include screen_info.h. struct screen_info is mainly used to
    communicate with the console drivers in drivers/video/console. Note that this
    patch touches every arch and I have no way of testing it. If there is a
    mistake the worst thing that will happen is a compile error.

    [akpm@osdl.org: fix arm build]
    [akpm@osdl.org: fix alpha build]
    Signed-off-by: Jon Smirl
    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jon Smirl
     

01 Jul, 2006

1 commit


27 Jun, 2006

16 commits

  • * x86-64: (83 commits)
    [PATCH] x86_64: x86_64 stack usage debugging
    [PATCH] x86_64: (resend) x86_64 stack overflow debugging
    [PATCH] x86_64: msi_apic.c build fix
    [PATCH] x86_64: i386/x86-64 Add nmi watchdog support for new Intel CPUs
    [PATCH] x86_64: Avoid broadcasting NMI IPIs
    [PATCH] x86_64: fix apic error on bootup
    [PATCH] x86_64: enlarge window for stack growth
    [PATCH] x86_64: Minor string functions optimizations
    [PATCH] x86_64: Move export symbols to their C functions
    [PATCH] x86_64: Standardize i386/x86_64 handling of NMI_VECTOR
    [PATCH] x86_64: Fix modular pc speaker
    [PATCH] x86_64: remove sys32_ni_syscall()
    [PATCH] x86_64: Do not use -ffunction-sections for modules
    [PATCH] x86_64: Add cpu_relax to apic_wait_icr_idle
    [PATCH] x86_64: adjust kstack_depth_to_print default
    [PATCH] i386/x86-64: adjust /proc/interrupts column headings
    [PATCH] x86_64: Fix race in cpu_local_* on preemptible kernels
    [PATCH] x86_64: Fix fast check in safe_smp_processor_id
    [PATCH] x86_64: x86_64 setup.c - printing cmp related boottime information
    [PATCH] i386/x86-64/ia64: Move polling flag into thread_info_status
    ...

    Manual resolve of trivial conflict in arch/i386/kernel/Makefile

    Linus Torvalds
     
  • Intel now has support for Architectural Performance Monitoring Counters
    ( Refer to IA-32 Intel Architecture Software Developer's Manual
    http://www.intel.com/design/pentium4/manuals/253669.htm ). This
    feature is present starting from Intel Core Duo and Intel Core Solo processors.

    What this means is, the performance monitoring counters and some performance
    monitoring events are now defined in an architectural way (using cpuid).
    And there will be no need to check for family/model etc for these architectural
    events.

    Below is the patch to use this performance counters in nmi watchdog driver.
    Patch handles both i386 and x86-64 kernels.

    Signed-off-by: Venkatesh Pallipadi
    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Venkatesh Pallipadi
     
  • Only exports for assembler files are left in x8664_ksyms.c

    Originally inspired by a patch from Al Viro
    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Andi Kleen
     
  • It turned out that the following change is needed when the speaker is
    compiled as a module.

    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Piotr Kaczuba
     
  • Getting phys_proc_id and cpu_core_id information to be printed at boot
    time for AMD processors. Also matching the Node related boot time
    information that gets printed for Intel and AMD processors for NUMA
    configurations.

    Signed-off-by: Rohit Seth
    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Rohit Seth
     
  • This patch adds the X86_FEATURE_RDTSCP #define, so that kernel code can
    check for the feature easily and also fixes the location of the "rdtscp"
    string in the cpuinfo tables.

    Signed-off-by: Vojtech Pavlik
    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Vojtech Pavlik
     
  • Most of the fields of cpuinfo are defined in cpuinfo_x86 structure.
    This patch moves the phys_proc_id and cpu_core_id for each processor to
    cpuinfo_x86 structure as well.

    Signed-off-by: Rohit Seth
    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Rohit Seth
     
  • This patch creates a new interface for IOMMUs by adding a centralized
    location for IOMMU allocation (for translation tables/apertures) and
    IOMMU initialization. In creating these, code was moved around for
    abstraction, uniformity, and consiceness.

    Take note of the move of the iommu_setup bootarg parsing code to
    __setup. This is enabled by moving back the location of the aperture
    allocation/detection to mem init (which while ugly, was already the
    location of the swiotlb_init).

    While a slight departure from the previous patch, I belive this provides
    the true intention of the previous versions of the patch which changed
    this code. It also makes the addition of the upcoming calgary code much
    cleaner than previous patches.

    [AK: Removed one broken change. iommu_setup still has to be called
    early]

    Signed-off-by: Muli Ben-Yehuda
    Signed-off-by: Jon Mason
    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Jon Mason
     
  • Minor cleanup patch:

    Replacing the asm statement with cpuid_count macro(which already
    provides the same functionality).

    Signed-off-by: Rohit Seth
    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Rohit Seth
     
  • - Rename the GART_IOMMU option to IOMMU to make clear it's not
    just for AMD
    - Rewrite the help text to better emphatise this fact
    - Make it an embedded option because too many people get it wrong.

    To my astonishment I discovered the aacraid driver tests this
    symbol directly. This looks quite broken to me - it's an internal
    implementation detail of the PCI DMA API. Can the maintainer
    please clarify what this test was intended to do?

    Cc: linux-scsi@vger.kernel.org
    Cc: alan@redhat.com
    Cc: markh@osdl.org
    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Andi Kleen
     
  • include/asm-x86_64/gart-mapping.h is only ever used in
    arch/x86_64/kernel/setup.c and none of its contents are referenced.
    Looks to be leftover cruft not removed in the dma_ops patch.

    Signed-off-by: Jon Mason
    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Jon Mason
     
  • Early development of x86-64 Linux was in CVS, but that hasn't been
    the case for a long time now. Remove the obsolete $Id$s.

    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Andi Kleen
     
  • Changes are largely identical to the i386 version:

    * alternative #define are moved to the new alternative.h file.
    * one new elf section with pointers to the lock prefixes which can be
    nop'ed out for non-smp.
    * two new elf sections simliar to the "classic" alternatives to
    replace SMP code with simpler UP code.
    * fixup headers to use alternative.h instead of defining their own
    LOCK / LOCK_PREFIX macros.

    The patch reuses the i386 version of the alternatives code to avoid code
    duplication. The code in alternatives.c was shuffled around a bit to
    reduce the number of #ifdefs needed. It also got some tweaks needed for
    x86_64 (vsyscall page handling) and new features (noreplacement option
    which was x86_64 only up to now). Debug printk's are changed from
    compile-time to runtime.

    Loosely based on a early version from Bastian Blank

    Signed-off-by: Gerd Hoffmann
    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Gerd Hoffmann
     
  • Intel systems report the cache level data from CPUID 4 in sysfs.
    Add a CPUID 4 emulation for AMD CPUs to report the same
    information for them. This allows programs to read this
    information in a uniform way.

    The AMD way to report this is less flexible so some assumptions
    are hardcoded (e.g. no L3)

    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Andi Kleen
     
  • Previously the apicidcoreid split was computed based on the max
    number of cores. Now use a new CPUID AMD defined for that. On most
    systems right now it should be 0 and the old method will be used.

    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Andi Kleen
     
  • - make firmware edid independent from framebuffer (No need to choose
    framebuffer just to disable this option

    - enable this option in X86_64

    - check if VBE/DDC function is implemented before calling actual function

    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Antonino A. Daplas
     

26 Jun, 2006

2 commits

  • This reverts commits

    3e3318dee0878d42ed62a19c292a2ac284135db3 [PATCH] swsusp: x86_64 mark special saveable/unsaveable pages
    b6370d96e09944c6e3ae8d5743ca8a8ab1f79f6c [PATCH] swsusp: i386 mark special saveable/unsaveable pages
    ce4ab0012b32c1a4a1d6e934aeb73bf3151c48d9 [PATCH] swsusp: add architecture special saveable pages support

    because not only do they apparently cause page faults on x86, the
    infrastructure doesn't compile on powerpc.

    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • This patch will fix a boot memory reservation bug that trashes memory on
    the ES7000 when loading the kdump crash kernel.

    The code in arch/x86_64/kernel/setup.c to reserve boot memory for the crash
    kernel uses the non-numa aware "reserve_bootmem" function instead of the
    NUMA aware "reserve_bootmem_generic". I checked to make sure that no other
    function was using "reserve_bootmem" and found none, except the ones that
    had NUMA ifdef'ed out.

    I have tested this patch only on an ES7000 with NUMA on and off (numa=off)
    in a single (non-NUMA) and multi-cell (NUMA) configurations.

    Signed-off-by: Amul Shah
    Looks-good-to: Vivek Goyal
    Cc: Andi Kleen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Amul Shah