24 Sep, 2009

4 commits

  • * 'sfi-release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-sfi-2.6:
    SFI: remove unneeded includes
    sfi: Remove unused code
    SFI: Hook PCI MMCONFIG
    x86: add arch-specific SFI support
    SFI: add capability to parse ACPI tables
    SFI: add platform-independent core support
    SFI: create linux/sfi.h
    SFI: Simple Firmware Interface - MAINTAINERS, Kconfig

    Linus Torvalds
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (119 commits)
    ACPI: don't pass handle for fixed hardware notifications
    ACPI: remove null pointer checks in deferred execution path
    ACPI: simplify deferred execution path
    acerhdf: additional BIOS versions
    acerhdf: convert to dev_pm_ops
    acerhdf: fix fan control for AOA150 model
    thermal: add missing Kconfig dependency
    acpi: switch /proc/acpi/{debug_layer,debug_level} to seq_file
    hp-wmi: fix rfkill memory leak on unload
    ACPI: remove unnecessary #ifdef CONFIG_DMI
    ACPI: linux/acpi.h should not include linux/dmi.h
    hwmon driver for ACPI 4.0 power meters
    topstar-laptop: add new driver for hotkeys support on Topstar N01
    thinkpad_acpi: fix rfkill memory leak on unload
    thinkpad-acpi: report brightness events when required
    thinkpad-acpi: don't poll by default any of the reserved hotkeys
    thinkpad-acpi: Fix procfs hotkey reset command
    thinkpad-acpi: deprecate hotkey_bios_mask
    thinkpad-acpi: hotkey poll fixes
    thinkpad-acpi: be more strict when detecting a ThinkPad
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (142 commits)
    USB: Fix sysfs paths in documentation
    USB: skeleton: fix coding style issues.
    USB: O_NONBLOCK in read path of skeleton
    USB: make usb-skeleton honor O_NONBLOCK in write path
    USB: skel_read really sucks royally
    USB: Add hub descriptor update hook for xHCI
    USB: xhci: Support USB hubs.
    USB: xhci: Set multi-TT field for LS/FS devices under hubs.
    USB: xhci: Set route string for all devices.
    USB: xhci: Fix command wait list handling.
    USB: xhci: Change how xHCI commands are handled.
    USB: xhci: Refactor input device context setup.
    USB: xhci: Endpoint representation refactoring.
    USB: gadget: ether needs to select CRC32
    USB: fix USBTMC get_capabilities success handling
    USB: fix missing error check in probing
    USB: usbfs: add USBDEVFS_URB_BULK_CONTINUATION flag
    USB: support for autosuspend in sierra while online
    USB: ehci-dbgp,ehci: Allow dbpg to work with suspend/resume
    USB: ehci-dbgp,documentation: Documentation updates for ehci-dbgp
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus:
    lguest: don't force VIRTIO_F_NOTIFY_ON_EMPTY
    lguest: cleanup for map_switcher()
    lguest: use PGDIR_SHIFT for PAE code to allow different PAGE_OFFSET
    lguest: use set_pte/set_pmd uniformly for real page table entries
    lguest: move panic notifier registration to its expected place.
    virtio_blk: add support for cache flush
    virtio: add virtio IDs file
    virtio: get rid of redundant VIRTIO_ID_9P definition
    virtio: make add_buf return capacity remaining
    virtio_pci: minor MSI-X cleanups

    Linus Torvalds
     

23 Sep, 2009

12 commits

  • * 'x86/orig_ax' of git://git.kernel.org/pub/scm/linux/kernel/git/frob/linux-2.6-roland:
    x86: ptrace: set TS_COMPAT when 32-bit ptrace sets orig_eax>=0
    x86: ptrace: do not sign-extend orig_ax on write
    x86: syscall_get_nr returns int
    asm-generic: syscall_get_nr returns int

    Linus Torvalds
     
  • Some archs define MODULED_VADDR/MODULES_END which is not in VMALLOC area.
    This is handled only in x86-64. This patch make it more generic. And we
    can use vread/vwrite to access the area. Fix it.

    Signed-off-by: KAMEZAWA Hiroyuki
    Cc: Jiri Slaby
    Cc: Ralf Baechle
    Cc: Benjamin Herrenschmidt
    Cc: WANG Cong
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    KAMEZAWA Hiroyuki
     
  • For /proc/kcore, each arch registers its memory range by kclist_add().
    In usual,

    - range of physical memory
    - range of vmalloc area
    - text, etc...

    are registered but "range of physical memory" has some troubles. It
    doesn't updated at memory hotplug and it tend to include unnecessary
    memory holes. Now, /proc/iomem (kernel/resource.c) includes required
    physical memory range information and it's properly updated at memory
    hotplug. Then, it's good to avoid using its own code(duplicating
    information) and to rebuild kclist for physical memory based on
    /proc/iomem.

    Signed-off-by: KAMEZAWA Hiroyuki
    Signed-off-by: Jiri Slaby
    Cc: Ralf Baechle
    Cc: Benjamin Herrenschmidt
    Cc: WANG Cong
    Cc: KOSAKI Motohiro
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    KAMEZAWA Hiroyuki
     
  • Some 64bit arch has special segment for mapping kernel text. It should be
    entried to /proc/kcore in addtion to direct-linear-map, vmalloc area.
    This patch unifies KCORE_TEXT entry scattered under x86 and ia64.

    I'm not familiar with other archs (mips has its own even after this patch)
    but range of [_stext ..._end) is a valid area of text and it's not in
    direct-map area, defining CONFIG_ARCH_PROC_KCORE_TEXT is only a necessary
    thing to do.

    Note: I left mips as it is now.

    Signed-off-by: KAMEZAWA Hiroyuki
    Cc: Ralf Baechle
    Cc: Benjamin Herrenschmidt
    Cc: WANG Cong
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    KAMEZAWA Hiroyuki
     
  • For /proc/kcore, vmalloc areas are registered per arch. But, all of them
    registers same range of [VMALLOC_START...VMALLOC_END) This patch unifies
    them. By this. archs which have no kclist_add() hooks can see vmalloc
    area correctly.

    Signed-off-by: KAMEZAWA Hiroyuki
    Cc: Ralf Baechle
    Cc: Benjamin Herrenschmidt
    Cc: WANG Cong
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    KAMEZAWA Hiroyuki
     
  • Presently, kclist_add() only eats start address and size as its arguments.
    Considering to make kclist dynamically reconfigulable, it's necessary to
    know which kclists are for System RAM and which are not.

    This patch add kclist types as
    KCORE_RAM
    KCORE_VMALLOC
    KCORE_TEXT
    KCORE_OTHER

    This "type" is used in a patch following this for detecting KCORE_RAM.

    Signed-off-by: KAMEZAWA Hiroyuki
    Cc: Ralf Baechle
    Cc: Benjamin Herrenschmidt
    Cc: WANG Cong
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    KAMEZAWA Hiroyuki
     
  • It is desirable to be able to use one early boot device to debug
    another or to have multiple places you can see the early boot
    diagnostics, such as the vga screen or serial device.

    This patch changes the early_printk console device registration to
    allow more than one early printk device to get registered via
    register_console().

    Signed-off-by: Jason Wessel
    Cc: Ingo Molnar
    Cc: Andrew Morton
    Cc: Yinghai Lu
    Cc: "Eric W. Biederman"
    Cc: Randy Dunlap
    Signed-off-by: Greg Kroah-Hartman

    Jason Wessel
     
  • Move the dbgp early printk driver in advance of refactoring and adding
    new code, so the changes to this code are tracked separately from the
    move of the code.

    The drivers/usb/early directory will be the location of the current
    and future early usb code for driving usb devices prior initializing
    the standard interrupt driven USB drivers.

    Signed-off-by: Jason Wessel
    Cc: Ingo Molnar
    Cc: Andrew Morton
    Cc: Yinghai Lu
    Cc: "Eric W. Biederman"
    Signed-off-by: Greg Kroah-Hartman

    Jason Wessel
     
  • We used to defer it, so lockdep was happy. We now init lockdep early
    anyway, so just do it after that.

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • The 32-bit ptrace syscall on a 64-bit kernel (32-bit debugger on
    32-bit task) behaves differently than a native 32-bit kernel. When
    setting a register state of orig_eax>=0 and eax=-ERESTART* when the
    debugged task is NOT on its way out of a 32-bit syscall, the task will
    fail to do the syscall restart logic that it should do.

    Test case available at http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/tests/ptrace-tests/tests/erestartsys-trap.c?cvsroot=systemtap

    This happens because the 32-bit ptrace syscall sets eax=0xffffffff
    when it sets orig_eax>=0. The resuming task will not sign-extend this
    for the -ERESTART* check because TS_COMPAT is not set. (So the task
    thinks it is restarting after a 64-bit syscall, not a 32-bit one.)

    The fix is to have 32-bit ptrace calls set TS_COMPAT when setting
    orig_eax>=0. This ensures that the 32-bit syscall restart logic
    will apply when the child resumes.

    Signed-off-by: Roland McGrath

    Roland McGrath
     
  • The high 32 bits of orig_ax will be ignored when it matters,
    so don't fiddle them when setting it.

    Signed-off-by: Roland McGrath

    Roland McGrath
     
  • Make syscall_get_nr() return int, so we always sign-extend
    the low 32 bits of orig_ax in checks.

    Signed-off-by: Roland McGrath

    Roland McGrath
     

22 Sep, 2009

8 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vegard/kmemcheck:
    kmemcheck: add missing braces to do-while in kmemcheck_annotate_bitfield
    kmemcheck: update documentation
    kmemcheck: depend on HAVE_ARCH_KMEMCHECK
    kmemcheck: remove useless check
    kmemcheck: remove duplicated #include

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (34 commits)
    trivial: fix typo in aic7xxx comment
    trivial: fix comment typo in drivers/ata/pata_hpt37x.c
    trivial: typo in kernel-parameters.txt
    trivial: fix typo in tracing documentation
    trivial: add __init/__exit macros in drivers/gpio/bt8xxgpio.c
    trivial: add __init macro/ fix of __exit macro location in ipmi_poweroff.c
    trivial: remove unnecessary semicolons
    trivial: Fix duplicated word "options" in comment
    trivial: kbuild: remove extraneous blank line after declaration of usage()
    trivial: improve help text for mm debug config options
    trivial: doc: hpfall: accept disk device to unload as argument
    trivial: doc: hpfall: reduce risk that hpfall can do harm
    trivial: SubmittingPatches: Fix reference to renumbered step
    trivial: fix typos "man[ae]g?ment" -> "management"
    trivial: media/video/cx88: add __init/__exit macros to cx88 drivers
    trivial: fix typo in CONFIG_DEBUG_FS in gcov doc
    trivial: fix missing printk space in amd_k7_smp_check
    trivial: fix typo s/ketymap/keymap/ in comment
    trivial: fix typo "to to" in multiple files
    trivial: fix typos in comments s/DGBU/DBGU/
    ...

    Linus Torvalds
     
  • Since alloc_bootmem() will never return inaccessible (via virtual
    addressing) memory anyway, using the ..._low() variant only makes sense
    when the physical address range of the allocated memory must fulfill
    further constraints, espacially since on 64-bits (or more generally in all
    cases where the pools the two variants allocate from are than the full
    available range.

    Probably the use in alloc_tce_table() could also be eliminated (based on
    code inspection of pci-calgary_64.c), but that seems too risky given I
    know nothing about that hardware and have no way to test it.

    Signed-off-by: Jan Beulich
    Cc: Ingo Molnar
    Cc: Thomas Gleixner
    Cc: "H. Peter Anvin"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Beulich
     
  • Sizing of memory allocations shouldn't depend on the number of physical
    pages found in a system, as that generally includes (perhaps a huge amount
    of) non-RAM pages. The amount of what actually is usable as storage
    should instead be used as a basis here.

    Some of the calculations (i.e. those not intending to use high memory)
    should likely even use (totalram_pages - totalhigh_pages).

    Signed-off-by: Jan Beulich
    Acked-by: Rusty Russell
    Acked-by: Ingo Molnar
    Cc: Dave Airlie
    Cc: Kyle McMartin
    Cc: Jeremy Fitzhardinge
    Cc: Pekka Enberg
    Cc: Hugh Dickins
    Cc: "David S. Miller"
    Cc: Patrick McHardy
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Beulich
     
  • Commit 96177299416dbccb73b54e6b344260154a445375 ("Drop free_pages()")
    modified nr_free_pages() to return 'unsigned long' instead of 'unsigned
    int'. This made the casts to 'unsigned long' in most callers superfluous,
    so remove them.

    [akpm@linux-foundation.org: coding-style fixes]
    Signed-off-by: Geert Uytterhoeven
    Reviewed-by: Christoph Lameter
    Acked-by: Ingo Molnar
    Acked-by: Russell King
    Acked-by: David S. Miller
    Acked-by: Kyle McMartin
    Acked-by: WANG Cong
    Cc: Richard Henderson
    Cc: Ivan Kokshaysky
    Cc: Haavard Skinnemoen
    Cc: Mikael Starvik
    Cc: "Luck, Tony"
    Cc: Hirokazu Takata
    Cc: Ralf Baechle
    Cc: David Howells
    Acked-by: Benjamin Herrenschmidt
    Cc: Martin Schwidefsky
    Cc: Paul Mundt
    Cc: Chris Zankel
    Cc: Michal Simek
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Geert Uytterhoeven
     
  • …ux/kernel/git/tip/linux-2.6-tip

    * 'perfcounters-rename-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    perf: Tidy up after the big rename
    perf: Do the big rename: Performance Counters -> Performance Events
    perf_counter: Rename 'event' to event_id/hw_event
    perf_counter: Rename list_entry -> group_entry, counter_list -> group_list

    Manually resolved some fairly trivial conflicts with the tracing tree in
    include/trace/ftrace.h and kernel/trace/trace_syscalls.c.

    Linus Torvalds
     
  • …x/kernel/git/tip/linux-2.6-tip

    * 'perfcounters-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    perf_counter, powerpc, sparc: Fix compilation after perf_counter_overflow() change
    perf_counter: x86: Fix PMU resource leak
    perf util: SVG performance improvements
    perf util: Make the timechart SVG width dynamic
    perf timechart: Show the duration of scheduler delays in the SVG
    perf timechart: Show the name of the waker/wakee in timechart

    Linus Torvalds
     
  • …git/tip/linux-2.6-tip

    * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86: Print the hypervisor returned tsc_khz during boot
    x86: Correct segment permission flags in 64-bit linker script
    x86: cpuinit-annotate SMP boot trampolines properly
    x86: Increase timeout for EHCI debug port reset completion in early printk
    x86: Fix uaccess_32.h typo
    x86: Trivial whitespace cleanups
    x86, apic: Fix missed handling of discrete apics
    x86/i386: Remove duplicated #include
    x86, mtrr: Convert loop to a while based construct, avoid naked semicolon
    Revert 'x86: Fix system crash when loading with "reservetop" parameter'
    x86, mce: Fix compile warning in case of CONFIG_SMP=n
    x86, apic: Use logical flat on intel with <= 8 logical cpus
    x86: SGI UV: Map MMIO-High memory range
    x86: SGI UV: Add volatile semantics to macros that access chipset registers
    x86: SGI UV: Fix IPI macros
    x86: apic: Convert BUG() to BUG_ON()
    x86: Remove final bits of CONFIG_X86_OLD_MCE

    Linus Torvalds
     

21 Sep, 2009

16 commits

  • This trivial patch fixes one missing space in printk.

    I already fixed it about half a year ago or more, but the change (in
    arch/x86/kernel/cpu/smpboot.c at that time) didn't made into
    mainline yet.

    Signed-off-by: Michael Tokarev

    index 28e5f59..6c139ed 100644
    Signed-off-by: Jiri Kosina

    Michael Tokarev
     
  • - provide compatibility Kconfig entry for existing PERF_COUNTERS .config's

    - provide courtesy copy of old perf_counter.h, for user-space projects

    - small indentation fixups

    - fix up MAINTAINERS

    - fix small x86 printout fallout

    - fix up small PowerPC comment fallout (use 'counter' as in register)

    Reviewed-by: Arjan van de Ven
    Acked-by: Peter Zijlstra
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Benjamin Herrenschmidt
    Cc: Frederic Weisbecker
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Ingo Molnar
     
  • Bye-bye Performance Counters, welcome Performance Events!

    In the past few months the perfcounters subsystem has grown out its
    initial role of counting hardware events, and has become (and is
    becoming) a much broader generic event enumeration, reporting, logging,
    monitoring, analysis facility.

    Naming its core object 'perf_counter' and naming the subsystem
    'perfcounters' has become more and more of a misnomer. With pending
    code like hw-breakpoints support the 'counter' name is less and
    less appropriate.

    All in one, we've decided to rename the subsystem to 'performance
    events' and to propagate this rename through all fields, variables
    and API names. (in an ABI compatible fashion)

    The word 'event' is also a bit shorter than 'counter' - which makes
    it slightly more convenient to write/handle as well.

    Thanks goes to Stephane Eranian who first observed this misnomer and
    suggested a rename.

    User-space tooling and ABI compatibility is not affected - this patch
    should be function-invariant. (Also, defconfigs were not touched to
    keep the size down.)

    This patch has been generated via the following script:

    FILES=$(find * -type f | grep -vE 'oprofile|[^K]config')

    sed -i \
    -e 's/PERF_EVENT_/PERF_RECORD_/g' \
    -e 's/PERF_COUNTER/PERF_EVENT/g' \
    -e 's/perf_counter/perf_event/g' \
    -e 's/nb_counters/nb_events/g' \
    -e 's/swcounter/swevent/g' \
    -e 's/tpcounter_event/tp_event/g' \
    $FILES

    for N in $(find . -name perf_counter.[ch]); do
    M=$(echo $N | sed 's/perf_counter/perf_event/g')
    mv $N $M
    done

    FILES=$(find . -name perf_event.*)

    sed -i \
    -e 's/COUNTER_MASK/REG_MASK/g' \
    -e 's/COUNTER/EVENT/g' \
    -e 's/\/event_id/g' \
    -e 's/counter/event/g' \
    -e 's/Counter/Event/g' \
    $FILES

    ... to keep it as correct as possible. This script can also be
    used by anyone who has pending perfcounters patches - it converts
    a Linux kernel tree over to the new naming. We tried to time this
    change to the point in time where the amount of pending patches
    is the smallest: the end of the merge window.

    Namespace clashes were fixed up in a preparatory patch - and some
    stylistic fallout will be fixed up in a subsequent patch.

    ( NOTE: 'counters' are still the proper terminology when we deal
    with hardware registers - and these sed scripts are a bit
    over-eager in renaming them. I've undone some of that, but
    in case there's something left where 'counter' would be
    better than 'event' we can undo that on an individual basis
    instead of touching an otherwise nicely automated patch. )

    Suggested-by: Stephane Eranian
    Acked-by: Peter Zijlstra
    Acked-by: Paul Mackerras
    Reviewed-by: Arjan van de Ven
    Cc: Mike Galbraith
    Cc: Arnaldo Carvalho de Melo
    Cc: Frederic Weisbecker
    Cc: Steven Rostedt
    Cc: Benjamin Herrenschmidt
    Cc: David Howells
    Cc: Kyle McMartin
    Cc: Martin Schwidefsky
    Cc: "David S. Miller"
    Cc: Thomas Gleixner
    Cc: "H. Peter Anvin"
    Cc:
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Ingo Molnar
     
  • In preparation to the renames, to avoid a namespace clash.

    Cc: Peter Zijlstra
    Cc: Paul Mackerras
    Cc: Frederic Weisbecker
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Ingo Molnar
     
  • Merge reason: pull in all the latest code before doing the rename.

    Signed-off-by: Ingo Molnar

    Ingo Molnar
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/jaswinder/linux-2.6:
    includecheck fix: x86, cpu/common.c
    includecheck fix: kernel/trace, ring_buffer.c
    includecheck fix: include/linux, ftrace.h
    includecheck fix: include/linux, page_cgroup.h
    includecheck fix: include/linux, aio.h
    includecheck fix: include/drm, drm_memory.h
    includecheck fix: include/acpi, acpi_bus.h
    includecheck fix: drivers/xen, evtchn.c
    includecheck fix: drivers/video, vgacon.c
    includecheck fix: drivers/scsi, ibmvscsi.c
    includecheck fix: drivers/scsi, libfcoe.c
    includecheck fix: x86, shadow.c
    includecheck fix: x86, traps.c
    includecheck fix: um, helper.c
    includecheck fix: s390, sys_s390.c

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6:
    Driver-Core: extend devnode callbacks to provide permissions

    Linus Torvalds
     
  • …/kernel/git/tip/linux-2.6-tip

    * 'perfcounters-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (58 commits)
    perf_counter: Fix perf_copy_attr() pointer arithmetic
    perf utils: Use a define for the maximum length of a trace event
    perf: Add timechart help text and add timechart to "perf help"
    tracing, x86, cpuidle: Move the end point of a C state in the power tracer
    perf utils: Be consistent about minimum text size in the svghelper
    perf timechart: Add "perf timechart record"
    perf: Add the timechart tool
    perf: Add a SVG helper library file
    tracing, perf: Convert the power tracer into an event tracer
    perf: Add a sample_event type to the event_union
    perf: Allow perf utilities to have "callback" options without arguments
    perf: Store trace event name/id pairs in perf.data
    perf: Add a timestamp to fork events
    sched_clock: Make it NMI safe
    perf_counter: Fix up swcounter throttling
    x86, perf_counter, bts: Optimize BTS overflow handling
    perf sched: Add --input=file option to builtin-sched.c
    perf trace: Sample timestamp and cpu when using record flag
    perf tools: Increase MAX_EVENT_LENGTH
    perf tools: Fix memory leak in read_ftrace_printk()
    ...

    Linus Torvalds
     
  • On an AMD-64 system the processor frequency that is printed during
    system boot, may be different than the tsc frequency that was
    returned by the hypervisor, due to the value returned from
    calibrate_cpu.

    For debugging timekeeping or other related issues it might be
    better to get the tsc_khz value returned by the hypervisor.

    The patch below now prints the tsc frequency that the VMware
    hypervisor returned.

    Signed-off-by: Alok N Kataria
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Alok Kataria
     
  • Merge reason: Bring in changes that the next patch will depend on.

    Signed-off-by: Ingo Molnar

    Ingo Molnar
     
  • While these don't get actively used (afaict), it still doesn't hurt
    for them to properly reflect what how respective segments will get
    mapped/ accessed.

    Signed-off-by: Jan Beulich
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Jan Beulich
     
  • Add missing annotations, and make use of include/linux/init.h's
    macros.

    Signed-off-by: Jan Beulich
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Jan Beulich
     
  • On one of my systems, several thousand iterations are needed before
    CMD_RESET can be observed clear after setting it. Using a much
    higher value here obviously cannot hurt.

    Signed-off-by: Jan Beulich
    Cc: Yinghai Lu
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Jan Beulich
     
  • Trivial: correct "that the we don't" typo.

    Signed-off-by: Sergey Senozhatsky
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Sergey Senozhatsky
     
  • Signed-off-by: Felipe Contreras
    Cc: Vegard Nossum
    Cc: Pekka Enberg
    Cc: Andrew Morton
    Cc: Alok N Kataria
    Cc: "Tan Wei Chong"
    Cc: Len Brown
    Cc: Lin Ming
    Cc: Bob Moore
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Felipe Contreras
     
  • In case of discrete (pretty old) apics we may have cpu_has_apic bit
    not set but have to check if smp_found_config (MP spec) is there
    and apic was not disabled.

    Also don't forget to print apic/io-apic for such case as well.

    Signed-off-by: Cyrill Gorcunov
    Cc: "Maciej W. Rozycki"
    Cc: Yinghai Lu
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Cyrill Gorcunov