07 Apr, 2014

1 commit


14 Feb, 2014

1 commit

  • Commit 3e6c6f630a5282df8f3393a59f10eb9c56536d23 ("Delay creation of
    khcvd thread") moved the call of hvc_init from being a device_initcall
    into hvc_alloc, and used a non-null hvc_driver as indication of whether
    hvc_init had already been called.

    The problem with this is that hvc_driver is only assigned a value
    at the bottom of hvc_init, and so there is a window where multiple
    hvc_alloc calls can be in progress at the same time and hence try
    and call hvc_init multiple times. Previously the use of device_init
    guaranteed that hvc_init was only called once.

    This manifests itself as sporadic instances of two hvc_init calls
    racing each other, and with the loser of the race getting -EBUSY
    from tty_register_driver() and hence that virtual console fails:

    Couldn't register hvc console driver
    virtio-ports vport0p1: error -16 allocating hvc for port

    Here we add an atomic_t to guarantee we'll never run hvc_init twice.

    Cc: stable@vger.kernel.org # v2.6.24+
    Cc: Rusty Russell
    Cc: Greg Kroah-Hartman
    Fixes: 3e6c6f630a52 ("Delay creation of khcvd thread")
    Reported-by: Jim Somerville
    Tested-by: Jim Somerville
    Signed-off-by: Paul Gortmaker
    Signed-off-by: Greg Kroah-Hartman

    Paul Gortmaker
     

08 Feb, 2014

1 commit

  • The HVC_OPAL/RTAS/UDBG/XEN options are all bool, and hence their support
    is either present or absent. It will never be modular, so using
    module_init as an alias for __initcall is rather misleading.

    Fix this up now, so that we can relocate module_init from
    init.h into module.h in the future. If we don't do this, we'd
    have to add module.h to obviously non-modular code, and that
    would be a worse thing.

    Note that direct use of __initcall is discouraged, vs. one
    of the priority categorized subgroups. As __initcall gets
    mapped onto device_initcall, our use of device_initcall
    directly in this change means that the runtime impact is
    zero -- it will remain at level 6 in initcall ordering.

    Also the __exitcall functions have been outright deleted since
    they are only ever of interest to UML, and UML will never be
    using any of this code.

    Cc: Richard Weinberger
    Cc: Konrad Rzeszutek Wilk
    Cc: Boris Ostrovsky
    Signed-off-by: Paul Gortmaker
    Acked-by: David Vrabel
    Signed-off-by: Greg Kroah-Hartman

    Paul Gortmaker
     

22 Jan, 2014

3 commits


08 Jan, 2014

1 commit


18 Dec, 2013

1 commit


15 Nov, 2013

1 commit

  • Pull Xen updates from Konrad Rzeszutek Wilk:
    "This has tons of fixes and two major features which are concentrated
    around the Xen SWIOTLB library.

    The short is that the tracing facility (just one function) has
    been added to SWIOTLB to make it easier to track I/O progress.
    Additionally under Xen and ARM (32 & 64) the Xen-SWIOTLB driver
    "is used to translate physical to machine and machine to physical
    addresses of foreign[guest] pages for DMA operations" (Stefano) when
    booting under hardware without proper IOMMU.

    There are also bug-fixes, cleanups, compile warning fixes, etc.

    The commit times for some of the commits is a bit fresh - that is b/c
    we wanted to make sure we have the Ack's from the ARM folks - which
    with the string of back-to-back conferences took a bit of time. Rest
    assured - the code has been stewing in #linux-next for some time.

    Features:
    - SWIOTLB has tracing added when doing bounce buffer.
    - Xen ARM/ARM64 can use Xen-SWIOTLB. This work allows Linux to
    safely program real devices for DMA operations when running as a
    guest on Xen on ARM, without IOMMU support. [*1]
    - xen_raw_printk works with PVHVM guests if needed.

    Bug-fixes:
    - Make memory ballooning work under HVM with large MMIO region.
    - Inform hypervisor of MCFG regions found in ACPI DSDT.
    - Remove deprecated IRQF_DISABLED.
    - Remove deprecated __cpuinit.

    [*1]:
    "On arm and arm64 all Xen guests, including dom0, run with second
    stage translation enabled. As a consequence when dom0 programs a
    device for a DMA operation is going to use (pseudo) physical
    addresses instead machine addresses. This work introduces two trees
    to track physical to machine and machine to physical mappings of
    foreign pages. Local pages are assumed mapped 1:1 (physical address
    == machine address). It enables the SWIOTLB-Xen driver on ARM and
    ARM64, so that Linux can translate physical addresses to machine
    addresses for dma operations when necessary. " (Stefano)"

    * tag 'stable/for-linus-3.13-rc0-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip: (32 commits)
    xen/arm: pfn_to_mfn and mfn_to_pfn return the argument if nothing is in the p2m
    arm,arm64/include/asm/io.h: define struct bio_vec
    swiotlb-xen: missing include dma-direction.h
    pci-swiotlb-xen: call pci_request_acs only ifdef CONFIG_PCI
    arm: make SWIOTLB available
    xen: delete new instances of added __cpuinit
    xen/balloon: Set balloon's initial state to number of existing RAM pages
    xen/mcfg: Call PHYSDEVOP_pci_mmcfg_reserved for MCFG areas.
    xen: remove deprecated IRQF_DISABLED
    x86/xen: remove deprecated IRQF_DISABLED
    swiotlb-xen: fix error code returned by xen_swiotlb_map_sg_attrs
    swiotlb-xen: static inline xen_phys_to_bus, xen_bus_to_phys, xen_virt_to_bus and range_straddles_page_boundary
    grant-table: call set_phys_to_machine after mapping grant refs
    arm,arm64: do not always merge biovec if we are running on Xen
    swiotlb: print a warning when the swiotlb is full
    swiotlb-xen: use xen_dma_map/unmap_page, xen_dma_sync_single_for_cpu/device
    xen: introduce xen_dma_map/unmap_page and xen_dma_sync_single_for_cpu/device
    tracing/events: Fix swiotlb tracepoint creation
    swiotlb-xen: use xen_alloc/free_coherent_pages
    xen: introduce xen_alloc/free_coherent_pages
    ...

    Linus Torvalds
     

12 Nov, 2013

1 commit

  • Pull powerpc updates from Benjamin Herrenschmidt:
    "The bulk of this is LE updates. One should now be able to build an LE
    kernel and even run some things in it.

    I'm still sitting on a handful of patches to enable the new ABI that I
    *might* still send this merge window around, but due to the
    incertainty (they are pretty fresh) I want to keep them separate.

    Other notable changes are some infrastructure bits to better handle
    PCI pass-through under KVM, some bits and pieces added to the new
    PowerNV platform support such as access to the CPU SCOM bus via sysfs,
    and support for EEH error handling on PHB3 (Power8 PCIe).

    We also grew arch_get_random_long() for both pseries and powernv when
    running on P7+ and P8, exploiting the HW rng.

    And finally various embedded updates from freescale"

    * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (154 commits)
    powerpc: Fix fatal SLB miss when restoring PPR
    powerpc/powernv: Reserve the correct PE number
    powerpc/powernv: Add PE to its own PELTV
    powerpc/powernv: Add support for indirect XSCOM via debugfs
    powerpc/scom: Improve debugfs interface
    powerpc/scom: Enable 64-bit addresses
    powerpc/boot: Properly handle the base "of" boot wrapper
    powerpc/bpf: Support MOD operation
    powerpc/bpf: Fix DIVWU instruction opcode
    of: Move definition of of_find_next_cache_node into common code.
    powerpc: Remove big endianness assumption in of_find_next_cache_node
    powerpc/tm: Remove interrupt disable in __switch_to()
    powerpc: word-at-a-time optimization for 64-bit Little Endian
    powerpc/bpf: BPF JIT compiler for 64-bit Little Endian
    powerpc: Only save/restore SDR1 if in hypervisor mode
    powerpc/pmu: Fix ADB_PMU_LED_IDE dependencies
    powerpc/nvram: Fix endian issue when using the partition length
    powerpc/nvram: Fix endian issue when reading the NVRAM size
    powerpc/nvram: Scan partitions only once
    powerpc/mpc512x: remove unnecessary #if
    ...

    Linus Torvalds
     

09 Nov, 2013

1 commit

  • Linux 3.12-rc5

    Because the Stefano branch (for SWIOTLB ARM changes) is based on that.

    Signed-off-by: Konrad Rzeszutek Wilk

    * tag 'v3.12-rc5': (550 commits)
    Linux 3.12-rc5
    watchdog: sunxi: Fix section mismatch
    watchdog: kempld_wdt: Fix bit mask definition
    watchdog: ts72xx_wdt: locking bug in ioctl
    ARM: exynos: dts: Update 5250 arch timer node with clock frequency
    parisc: let probe_kernel_read() capture access to page zero
    parisc: optimize variable initialization in do_page_fault
    parisc: fix interruption handler to respect pagefault_disable()
    parisc: mark parisc_terminate() noreturn and cold.
    parisc: remove unused syscall_ipi() function.
    parisc: kill SMP single function call interrupt
    parisc: Export flush_cache_page() (needed by lustre)
    vfs: allow O_PATH file descriptors for fstatfs()
    ext4: fix memory leak in xattr
    ARC: Ignore ptrace SETREGSET request for synthetic register "stop_pc"
    ALSA: hda - Sony VAIO Pro 13 (haswell) now has a working headset jack
    ALSA: hda - Add a headset mic model for ALC269 and friends
    ALSA: hda - Fix microphone for Sony VAIO Pro 13 (Haswell model)
    compiler/gcc4: Add quirk for 'asm goto' miscompilation bug
    Revert "i915: Update VGA arbiter support for newer devices"
    ...

    Konrad Rzeszutek Wilk
     

08 Nov, 2013

1 commit

  • Pull s390 updates from Martin Schwidefsky:
    "The bulk of the patches for the 3.13 merge window.

    Heiko spent quite a bit of work to improve the code generation for the
    kernel. That includes the exploitation of the interlocked-access
    facility for the atomics and bitops implementation and the improvement
    for the -march and -mtune compiler settings.

    Another important change is the removal of the user_mode=home option,
    user processes now always run in primary space. The storage keys are
    not initialized at system startup any more, with that the storage key
    removal work is complete. For the PCI support the hibernation hooks
    have been implemented.

    And as usual cleanup and fixes"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: (62 commits)
    s390/scm_blk: fix endless loop for requests != REQ_TYPE_FS
    s390/mm,tlb: correct tlb flush on page table upgrade
    s390/mm: page_table_realloc returns failure
    s390: allow to set gcc -mtune flag
    s390/percpu: remove this_cpu_xor() implementation
    s390/vtime: correct idle time calculation
    s390/time: fix get_tod_clock_ext inline assembly
    tty/hvc_iucv: remove redundant NULL check
    s390/dasd: Write to profile data area only if it is available
    s390: convert use of typedef ctl_table to struct ctl_table
    s390/pci: cleanup function information block
    s390/pci: remove CONFIG_PCI_DEBUG dependancy
    s390/pci: message cleanup
    Update default configuration
    s390: add a couple of useful defconfigs
    s390/percpu: make use of interlocked-access facility 1 instructions
    s390/percpu: use generic percpu ops for CONFIG_32BIT
    s390/compat: make psw32_user_bits a constant value again
    s390: fix handling of runtime instrumentation psw bit
    s390: fix save and restore of the floating-point-control register
    ...

    Linus Torvalds
     

28 Oct, 2013

1 commit


11 Oct, 2013

2 commits


07 Oct, 2013

1 commit


04 Oct, 2013

1 commit

  • Commit d0380e6c3c0f6edb986d8798a23acfaf33d5df23 (early_printk:
    consolidate random copies of identical code) added in 3.10 introduced
    a check for con->index == -1 in early_console_register().

    Initialize index to -1 for the xenboot console so earlyprintk=xen
    works again.

    Signed-off-by: David Vrabel
    Cc: Greg Kroah-Hartman
    Cc: Jiri Slaby
    Cc: stable@vger.kernel.org
    Signed-off-by: Greg Kroah-Hartman

    David Vrabel
     

30 Sep, 2013

1 commit

  • The xen_raw_printk works great for debugging purposes. We use
    for PV guests and we can also use it for HVM guests.

    However, for HVM guests we have a fallback of using the 0xe9
    port in case the hypervisor does not support an HVM guest of
    using the console_io hypercall. As such lets use 0xe9 during
    early bootup, and once the hyper-page is setup and if the
    console_io hypercall is supported - use that. Otherwise we
    will fallback to using the 0xe9 after early bootup.

    We also alter the return value for dom0_write_console to return
    an error value instead of zero. The HVC API has been supporting
    returning error values for quite some time.

    P.S.
    To use (and to see the output in the Xen ring buffer) one has to build
    the hypervisor with 'debug=y'.

    Signed-off-by: Konrad Rzeszutek Wilk
    [v1: ifdef xen_cpuid_base as it is X86 specific]

    Konrad Rzeszutek Wilk
     

27 Sep, 2013

1 commit

  • The original version of this was done by Bastian Blank, who wrote:

    > The problem is the following:
    > - Architecture specific code sets preferred console to something bogus.
    > - Command line handling tries to set preferred console but is overruled
    > by the old setting.
    >
    > The udbg0 console is a boot console and independant.

    References: http://bugs.debian.org/492703
    Signed-off-by: Ben Hutchings
    Cc: Benjamin Herrenschmidt
    Signed-off-by: Greg Kroah-Hartman

    Ben Hutchings
     

26 Sep, 2013

1 commit

  • Enabling the ARM DCC console and using without a JTAG connection will
    simply hang the system. Since distros like to turn on all options, this
    is a reoccurring problem to debug. We can do better by checking if
    anything is attached and handling characters. There is no way to probe
    this, so send a newline and check that it is handled.

    Cc: Paolo Pisati
    Cc: Tim Gardner
    Cc: Greg Kroah-Hartman
    Cc: Jiri Slaby
    Signed-off-by: Rob Herring
    Signed-off-by: Greg Kroah-Hartman

    Rob Herring
     

07 Sep, 2013

2 commits

  • Pull Tile arch updates from Chris Metcalf:
    "These changes bring in a bunch of new functionality that has been
    maintained internally at Tilera over the last year, plus other stray
    bits of work that I've taken into the tile tree from other folks.

    The changes include some PCI root complex work, interrupt-driven
    console support, support for performing fast-path unaligned data
    fixups by kernel-based JIT code generation, CONFIG_PREEMPT support,
    vDSO support for gettimeofday(), a serial driver for the tilegx
    on-chip UART, KGDB support, more optimized string routines, support
    for ftrace and kprobes, improved ASLR, and many bug fixes.

    We also remove support for the old TILE64 chip, which is no longer
    buildable"

    * git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile: (85 commits)
    tile: refresh tile defconfig files
    tile: rework
    tile PCI RC: make default consistent DMA mask 32-bit
    tile: add null check for kzalloc in tile/kernel/setup.c
    tile: make __write_once a synonym for __read_mostly
    tile: remove support for TILE64
    tile: use asm-generic/bitops/builtin-*.h
    tile: eliminate no-op "noatomichash" boot argument
    tile: use standard tile_bundle_bits type in traps.c
    tile: simplify code referencing hypervisor API addresses
    tile: change to in comments
    tile: mark pcibios_init() as __init
    tile: check for correct compiler earlier in asm-offsets.c
    tile: use standard 'generic-y' model for
    tile: use asm-generic version of
    tile PCI RC: add comment about "PCI hole" problem
    tile: remove DEBUG_EXTRA_FLAGS kernel config option
    tile: add virt_to_kpte() API and clean up and document behavior
    tile: support FRAME_POINTER
    tile: support reporting Tilera hypervisor statistics
    ...

    Linus Torvalds
     
  • Pull powerpc updates from Ben Herrenschmidt:
    "Here's the powerpc batch for this merge window. Some of the
    highlights are:

    - A bunch of endian fixes ! We don't have full LE support yet in that
    release but this contains a lot of fixes all over arch/powerpc to
    use the proper accessors, call the firmware with the right endian
    mode, etc...

    - A few updates to our "powernv" platform (non-virtualized, the one
    to run KVM on), among other, support for bridging the P8 LPC bus
    for UARTs, support and some EEH fixes.

    - Some mpc51xx clock API cleanups in preparation for a clock API
    overhaul

    - A pile of cleanups of our old math emulation code, including better
    support for using it to emulate optional FP instructions on
    embedded chips that otherwise have a HW FPU.

    - Some infrastructure in selftest, for powerpc now, but could be
    generalized, initially used by some tests for our perf instruction
    counting code.

    - A pile of fixes for hotplug on pseries (that was seriously
    bitrotting)

    - The usual slew of freescale embedded updates, new boards, 64-bit
    hiberation support, e6500 core PMU support, etc..."

    * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (146 commits)
    powerpc: Correct FSCR bit definitions
    powerpc/xmon: Fix printing of set of CPUs in xmon
    powerpc/pseries: Move lparcfg.c to platforms/pseries
    powerpc/powernv: Return secondary CPUs to firmware on kexec
    powerpc/btext: Fix CONFIG_PPC_EARLY_DEBUG_BOOTX on ppc32
    powerpc: Cleanup handling of the DSCR bit in the FSCR register
    powerpc/pseries: Child nodes are not detached by dlpar_detach_node
    powerpc/pseries: Add mising of_node_put in delete_dt_node
    powerpc/pseries: Make dlpar_configure_connector parent node aware
    powerpc/pseries: Do all node initialization in dlpar_parse_cc_node
    powerpc/pseries: Fix parsing of initial node path in update_dt_node
    powerpc/pseries: Pack update_props_workarea to map correctly to rtas buffer header
    powerpc/pseries: Fix over writing of rtas return code in update_dt_node
    powerpc/pseries: Fix creation of loop in device node property list
    powerpc: Skip emulating & leave interrupts off for kernel program checks
    powerpc: Add more exception trampolines for hypervisor exceptions
    powerpc: Fix location and rename exception trampolines
    powerpc: Add more trap names to xmon
    powerpc/pseries: Add a warning in the case of cross-cpu VPA registration
    powerpc: Update the 00-Index in Documentation/powerpc
    ...

    Linus Torvalds
     

04 Sep, 2013

1 commit

  • Pull tty/serial driver patches from Greg KH:
    "Here's the big tty/serial driver pull request for 3.12-rc1.

    Lots of n_tty reworks to resolve some very long-standing issues,
    removing the 3-4 different locks that were taken for every character.
    This code has been beaten on for a long time in linux-next with no
    reported regressions.

    Other than that, a range of serial and tty driver updates and
    revisions. Full details in the shortlog"

    * tag 'tty-3.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (226 commits)
    hvc_xen: Remove unnecessary __GFP_ZERO from kzalloc
    serial: imx: initialize the local variable
    tty: ar933x_uart: add device tree support and binding documentation
    tty: ar933x_uart: allow to build the driver as a module
    ARM: dts: msm: Update uartdm compatible strings
    devicetree: serial: Document msm_serial bindings
    serial: unify serial bindings into a single dir
    serial: fsl-imx-uart: Cleanup duplicate device tree binding
    tty: ar933x_uart: use config_enabled() macro to clean up ifdefs
    tty: ar933x_uart: remove superfluous assignment of ar933x_uart_driver.nr
    tty: ar933x_uart: use the clk API to get the uart clock
    tty: serial: cpm_uart: Adding proper request of GPIO used by cpm_uart driver
    serial: sirf: fix the amount of serial ports
    serial: sirf: define macro for some magic numbers of USP
    serial: icom: move array overflow checks earlier
    TTY: amiserial, remove unnecessary platform_set_drvdata()
    serial: st-asc: remove unnecessary platform_set_drvdata()
    msm_serial: Send more than 1 character on the console w/ UARTDM
    msm_serial: Add support for non-GSBI UARTDM devices
    msm_serial: Switch clock consumer strings and simplify code
    ...

    Linus Torvalds
     

31 Aug, 2013

1 commit


28 Aug, 2013

1 commit


27 Aug, 2013

1 commit

  • This solves a problem observed in kexec'ed kernel where 200ms timeout is
    too short and bootconsole fails to initialize. Console did eventually
    become workable but much later into the boot process.

    Observed timeout was around 260ms, but I decided to make it a little bigger
    for more reliability.

    This has been tested on Power7 machine with Petitboot as a primary
    bootloader and PowerNV firmware.

    CC:
    Signed-off-by: Eugene Surovegin
    Signed-off-by: Benjamin Herrenschmidt

    Eugene Surovegin
     

14 Aug, 2013

1 commit


13 Aug, 2013

1 commit

  • This change improves and cleans up the tile console.

    - We enable HVC_IRQ support on tilegx, with the addition of a new
    Tilera hypervisor API for tilegx to allow a console IPI. If IPI
    support is not available we fall back to the previous polling mode.

    - We simplify the earlyprintk code to use CON_BOOT and eliminate some
    of the other supporting earlyprintk code.

    - A new tile_console_write() primitive is used to send output to
    the console and is factored out of the hvc_tile driver.
    This lets us support a "sim_console" boot argument to allow using
    simulator hooks to send output to the "console" as a slightly
    faster alternative to emulating the hardware more directly.

    Signed-off-by: Chris Metcalf
    Acked-by: Greg Kroah-Hartman

    Chris Metcalf
     

25 Jul, 2013

2 commits

  • Implement the dtr_rts() hvc console callback to improve control when to
    disconnect the IUCV connection. Previously, the IUCV connection was
    disconnected during the notifier_del() callback, i.e., when the last file
    descriptor to the hvc terminal device was closed.

    Recent changes in login programs caused undesired disconnects during the
    login phase. To prevent these kind of disconnects, implement the dtr_rts
    callback to implicitly handle the HUPCL termios control via the hvc_console
    driver.

    Signed-off-by: Hendrik Brueckner
    Signed-off-by: Greg Kroah-Hartman

    Hendrik Brueckner
     
  • Introduce a new callback to explicitly handle the HUPCL termios control flag.
    This prepares for a follow-up commit for the hvc_iucv device driver to
    improve handling when to drop an established network connection.

    The callback naming is based on the recently added tty_port interface to
    facilitate a potential refactoring of the hvc_console to use tty_port
    functions.

    Signed-off-by: Hendrik Brueckner
    Signed-off-by: Greg Kroah-Hartman

    Hendrik Brueckner
     

04 Jun, 2013

1 commit


19 Mar, 2013

1 commit

  • It allows for cleaning up on a considerable amount of places. They did
    port_get, wakeup, kref_put. Now the only thing needed is to call
    tty_port_tty_wakeup which does exactly that.

    One exception is ifx6x60 where tty_wakeup was open-coded. We now call
    tty_wakeup properly there.

    Signed-off-by: Jiri Slaby
    Signed-off-by: Greg Kroah-Hartman

    Jiri Slaby
     

05 Mar, 2013

1 commit


25 Feb, 2013

1 commit

  • Pull Xen update from Konrad Rzeszutek Wilk:
    "This has two new ACPI drivers for Xen - a physical CPU offline/online
    and a memory hotplug. The way this works is that ACPI kicks the
    drivers and they make the appropiate hypercall to the hypervisor to
    tell it that there is a new CPU or memory. There also some changes to
    the Xen ARM ABIs and couple of fixes. One particularly nasty bug in
    the Xen PV spinlock code was fixed by Stefan Bader - and has been
    there since the 2.6.32!

    Features:
    - Xen ACPI memory and CPU hotplug drivers - allowing Xen hypervisor
    to be aware of new CPU and new DIMMs
    - Cleanups
    Bug-fixes:
    - Fixes a long-standing bug in the PV spinlock wherein we did not
    kick VCPUs that were in a tight loop.
    - Fixes in the error paths for the event channel machinery"

    Fix up a few semantic conflicts with the ACPI interface changes in
    drivers/xen/xen-acpi-{cpu,mem}hotplug.c.

    * tag 'stable/for-linus-3.9-rc0-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
    xen: event channel arrays are xen_ulong_t and not unsigned long
    xen: Send spinlock IPI to all waiters
    xen: introduce xen_remap, use it instead of ioremap
    xen: close evtchn port if binding to irq fails
    xen-evtchn: correct comment and error output
    xen/tmem: Add missing %s in the printk statement.
    xen/acpi: move xen_acpi_get_pxm under CONFIG_XEN_DOM0
    xen/acpi: ACPI cpu hotplug
    xen/acpi: Move xen_acpi_get_pxm to Xen's acpi.h
    xen/stub: driver for CPU hotplug
    xen/acpi: ACPI memory hotplug
    xen/stub: driver for memory hotplug
    xen: implement updated XENMEM_add_to_physmap_range ABI
    xen/smp: Move the common CPU init code a bit to prep for PVH patch.

    Linus Torvalds
     

20 Feb, 2013

1 commit

  • ioremap can't be used to map ring pages on ARM because it uses device
    memory caching attributes (MT_DEVICE*).

    Introduce a Xen specific abstraction to map ring pages, called
    xen_remap, that is defined as ioremap on x86 (no behavioral changes).
    On ARM it explicitly calls __arm_ioremap with the right caching
    attributes: MT_MEMORY.

    Signed-off-by: Stefano Stabellini
    Signed-off-by: Konrad Rzeszutek Wilk

    Stefano Stabellini
     

19 Jan, 2013

1 commit

  • The option allows you to remove TTY and compile without errors. This
    saves space on systems that won't support TTY interfaces anyway.
    bloat-o-meter output is below.

    The bulk of this patch consists of Kconfig changes adding "depends on
    TTY" to various serial devices and similar drivers that require the TTY
    layer. Ideally, these dependencies would occur on a common intermediate
    symbol such as SERIO, but most drivers "select SERIO" rather than
    "depends on SERIO", and "select" does not respect dependencies.

    bloat-o-meter output comparing our previous minimal to new minimal by
    removing TTY. The list is filtered to not show removed entries with awk
    '$3 != "-"' as the list was very long.

    add/remove: 0/226 grow/shrink: 2/14 up/down: 6/-35356 (-35350)
    function old new delta
    chr_dev_init 166 170 +4
    allow_signal 80 82 +2
    static.__warned 143 142 -1
    disallow_signal 63 62 -1
    __set_special_pids 95 94 -1
    unregister_console 126 121 -5
    start_kernel 546 541 -5
    register_console 593 588 -5
    copy_from_user 45 40 -5
    sys_setsid 128 120 -8
    sys_vhangup 32 19 -13
    do_exit 1543 1526 -17
    bitmap_zero 60 40 -20
    arch_local_irq_save 137 117 -20
    release_task 674 652 -22
    static.spin_unlock_irqrestore 308 260 -48

    Signed-off-by: Joe Millenbach
    Reviewed-by: Jamey Sharp
    Reviewed-by: Josh Triplett
    Signed-off-by: Greg Kroah-Hartman

    Joe Millenbach
     

16 Jan, 2013

4 commits

  • Use for_each_compatible_node() macro instead of open coding it.

    Signed-off-by: Wei Yongjun
    Acked-by: Grant Likely
    Signed-off-by: Greg Kroah-Hartman

    Wei Yongjun
     
  • Now, we start converting tty buffer functions to actually use
    tty_port. This will allow us to get rid of the need of tty in many
    call sites. Only tty_port will needed and hence no more
    tty_port_tty_get in those paths.

    Now, the one where most of tty_port_tty_get gets removed:
    tty_flip_buffer_push.

    IOW we also closed all the races in drivers not using tty_port_tty_get
    at all yet.

    Also we move tty_flip_buffer_push declaration from include/linux/tty.h
    to include/linux/tty_flip.h to all others while we are changing it
    anyway.

    Signed-off-by: Jiri Slaby
    Signed-off-by: Greg Kroah-Hartman

    Jiri Slaby
     
  • Now, we start converting tty buffer functions to actually use
    tty_port. This will allow us to get rid of the need of tty in many
    call sites. Only tty_port will needed and hence no more
    tty_port_tty_get in those paths.

    tty_insert_flip_string this time.

    Signed-off-by: Jiri Slaby
    Signed-off-by: Greg Kroah-Hartman

    Jiri Slaby
     
  • Now, we start converting tty buffer functions to actually use
    tty_port. This will allow us to get rid of the need of tty in many
    call sites. Only tty_port will needed and hence no more
    tty_port_tty_get in those paths.

    tty_insert_flip_char is the next one to proceed. This one is used all
    over the code, so the patch is huge.

    Signed-off-by: Jiri Slaby
    Signed-off-by: Greg Kroah-Hartman

    Jiri Slaby