15 Jul, 2019

3 commits


15 Jun, 2019

1 commit

  • The conversion is actually:
    - add blank lines and identation in order to identify paragraphs;
    - fix tables markups;
    - add some lists markups;
    - mark literal blocks;
    - adjust title markups.

    At its new index.rst, let's add a :orphan: while this is not linked to
    the main index.rst file, in order to avoid build warnings.

    Also, removed the Maintained by, as requested by Geert.

    Signed-off-by: Mauro Carvalho Chehab
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     

25 Apr, 2019

1 commit

  • The converted files are focused at the Kernel internal API,
    so, this is a good candidate for the kernel API set of books.

    The conversion is actually:
    - add blank lines and identation in order to identify paragraphs;
    - fix tables markups;
    - add some lists markups;
    - mark literal blocks;
    - adjust title markups.

    At its new index.rst, let's add a :orphan: while this is not linked to
    the main index.rst file, in order to avoid build warnings.

    Signed-off-by: Mauro Carvalho Chehab
    Signed-off-by: Greg Kroah-Hartman

    Mauro Carvalho Chehab
     

16 Apr, 2019

2 commits

  • If no console driver is enabled (or if a non-present driver is selected
    with something like console=null in an attempt to disable the console),
    opening /dev/console errors out, and init scripts and other userspace
    code that relies on the existence of a console will fail. Symlinking
    /dev/null to /dev/console does not solve the problem since /dev/null
    does not behave like a real TTY.

    To just provide a dummy console to userspace when no console driver is
    available or desired, add a ttynull driver which simply discards all
    writes. It can be chosen on the command line in the standard way, i.e.
    with console=ttynull.

    Signed-off-by: Vincent Whitchurch
    Signed-off-by: Greg Kroah-Hartman

    Vincent Whitchurch
     
  • 'default n' is the default value for any bool or tristate Kconfig
    setting so there is no need to write it explicitly.

    Also since commit f467c5640c29 ("kconfig: only write '# CONFIG_FOO
    is not set' for visible symbols") the Kconfig behavior is the same
    regardless of 'default n' being present or not:

    ...
    One side effect of (and the main motivation for) this change is making
    the following two definitions behave exactly the same:

    config FOO
    bool

    config FOO
    bool
    default n

    With this change, neither of these will generate a
    '# CONFIG_FOO is not set' line (assuming FOO isn't selected/implied).
    That might make it clearer to people that a bare 'default n' is
    redundant.
    ...

    Signed-off-by: Bartlomiej Zolnierkiewicz
    Signed-off-by: Greg Kroah-Hartman

    Bartlomiej Zolnierkiewicz
     

05 Apr, 2019

1 commit


30 Jan, 2019

1 commit

  • By default, the kernel will automatically load the module of any line
    dicipline that is asked for. As this sometimes isn't the safest thing
    to do, provide a sysctl to disable this feature.

    By default, we set this to 'y' as that is the historical way that Linux
    has worked, and we do not want to break working systems. But in the
    future, perhaps this can default to 'n' to prevent this functionality.

    Signed-off-by: Greg Kroah-Hartman
    Reviewed-by: Theodore Ts'o
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

10 Apr, 2018

1 commit

  • Pull s390 updates from Martin Schwidefsky:

    - Improvements for the spectre defense:
    * The spectre related code is consolidated to a single file
    nospec-branch.c
    * Automatic enable/disable for the spectre v2 defenses (expoline vs.
    nobp)
    * Syslog messages for specve v2 are added
    * Enable CONFIG_GENERIC_CPU_VULNERABILITIES and define the attribute
    functions for spectre v1 and v2

    - Add helper macros for assembler alternatives and use them to shorten
    the code in entry.S.

    - Add support for persistent configuration data via the SCLP Store Data
    interface. The H/W interface requires a page table that uses 4K pages
    only, the code to setup such an address space is added as well.

    - Enable virtio GPU emulation in QEMU. To do this the depends
    statements for a few common Kconfig options are modified.

    - Add support for format-3 channel path descriptors and add a binary
    sysfs interface to export the associated utility strings.

    - Add a sysfs attribute to control the IFCC handling in case of
    constant channel errors.

    - The vfio-ccw changes from Cornelia.

    - Bug fixes and cleanups.

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: (40 commits)
    s390/kvm: improve stack frame constants in entry.S
    s390/lpp: use assembler alternatives for the LPP instruction
    s390/entry.S: use assembler alternatives
    s390: add assembler macros for CPU alternatives
    s390: add sysfs attributes for spectre
    s390: report spectre mitigation via syslog
    s390: add automatic detection of the spectre defense
    s390: move nobp parameter functions to nospec-branch.c
    s390/cio: add util_string sysfs attribute
    s390/chsc: query utility strings via fmt3 channel path descriptor
    s390/cio: rename struct channel_path_desc
    s390/cio: fix unbind of io_subchannel_driver
    s390/qdio: split up CCQ handling for EQBS / SQBS
    s390/qdio: don't retry EQBS after CCQ 96
    s390/qdio: restrict buffer merging to eligible devices
    s390/qdio: don't merge ERROR output buffers
    s390/qdio: simplify math in get_*_buffer_frontier()
    s390/decompressor: trim uncompressed image head during the build
    s390/crypto: Fix kernel crash on aes_s390 module remove.
    s390/defkeymap: fix global init to zero
    ...

    Linus Torvalds
     

26 Mar, 2018

1 commit


19 Mar, 2018

1 commit

  • The S390 architecture does not support any graphics hardware,
    but with the latest support for Virtio GPU in Linux and Virtio
    GPU emulation in QEMU, it's possible to enable graphics for
    S390 using the Virtio GPU device.

    To enable display we need to enable the Linux Virtual Terminal (VT)
    layer for S390. But the VT subsystem initializes quite early
    at boot so we need a dummy console driver till the Virtio GPU
    driver is initialized and we can run the framebuffer console.

    The framebuffer console over a Virtio GPU device can be run
    in combination with the serial SCLP console (default on S390).
    The SCLP console can still be accessed by management applications
    (eg: via Libvirt's virsh console).

    Signed-off-by: Farhan Ali
    Acked-by: Christian Borntraeger
    Reviewed-by: Thomas Huth
    Message-Id:
    Signed-off-by: Christian Borntraeger
    Acked-by: Greg Kroah-Hartman
    Signed-off-by: Martin Schwidefsky

    Farhan Ali
     

06 Mar, 2018

1 commit


16 Dec, 2017

1 commit

  • Commit 3840ed9548f7 ("tty: goldfish: Implement support for kernel
    'earlycon' parameter") breaks an allmodconfig config on x86:
    | LD vmlinux.o
    | MODPOST vmlinux.o
    |drivers/tty/serial/earlycon.o: In function `parse_options':
    |drivers/tty/serial/earlycon.c:97: undefined reference to `uart_parse_earlycon'
    |Makefile:1005: recipe for target 'vmlinux' failed

    earlycon.c::parse_options() invokes uart_parse_earlycon() from serial_core.c
    which is compiled=m because GOLDFISH_TTY itself (and most others) are =m.
    To avoid that, I'm adding the _CONSOLE config option which is selected if the
    GOLDFISH module itself is =y since it doesn't need the early bits for the =m
    case (other drivers do the same dance).
    The alternative would be to move uart_parse_earlycon() from
    serial_core.c to earlycon.c (we don't have that many users of that
    function).

    Fixes: 3840ed9548f7 ("tty: goldfish: Implement support for kernel
    'earlycon' parameter")
    Signed-off-by: Sebastian Andrzej Siewior
    Reviewed-by: Miodrag Dinic
    Acked-by: Miodrag Dinic
    Signed-off-by: Greg Kroah-Hartman

    Sebastian Andrzej Siewior
     

11 Sep, 2017

1 commit

  • Pull sparc updates from David Miller:

    1) Use register window state adjustment instructions when available,
    from Anthony Yznaga.

    2) Add VCC console concentrator driver, from Jag Raman.

    3) Add 16GB hugepage support, from Nitin Gupta.

    4) Support cpu 'poke' hypercall, from Vijay Kumar.

    5) Add M7/M8 optimized memcpy/memset/copy_{to,from}_user, from Babu
    Moger.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next: (33 commits)
    sparc64: Handle additional cases of no fault loads
    sparc64: speed up etrap/rtrap on NG2 and later processors
    sparc64: vcc: make ktermios const
    sparc: leon: grpci1: constify of_device_id
    sparc: leon: grpci2: constify of_device_id
    sparc64: vcc: Check for IS_ERR() instead of NULL
    sparc64: Cleanup hugepage table walk functions
    sparc64: Add 16GB hugepage support
    sparc64: Support huge PUD case in get_user_pages
    sparc64: vcc: Add install & cleanup TTY operations
    sparc64: vcc: Add break_ctl TTY operation
    sparc64: vcc: Add chars_in_buffer TTY operation
    sparc64: vcc: Add write & write_room TTY operations
    sparc64: vcc: Add hangup TTY operation
    sparc64: vcc: Add open & close TTY operations
    sparc64: vcc: Enable LDC event processing engine
    sparc64: vcc: Add RX & TX timer for delayed LDC operation
    sparc64: vcc: Create sysfs attribute group
    sparc64: vcc: Enable VCC port probe and removal
    sparc64: vcc: TTY driver initialization and cleanup
    ...

    Linus Torvalds
     

01 Sep, 2017

1 commit

  • Add early console functionality to the Goldfish tty driver.

    When 'earlycon' kernel command line parameter is used with no options,
    the early console is determined by the 'stdout-path' property in device
    tree's 'chosen' node. This is illustrated in the following device tree
    source example:

    Device tree example:

    chosen {
    stdout-path = "/goldfish_tty@1f004000";
    };

    goldfish_tty@1f004000 {
    interrupts = ;
    reg = ;
    compatible = "google,goldfish-tty";
    };

    Signed-off-by: Miodrag Dinic
    Signed-off-by: Goran Ferenc
    Signed-off-by: Aleksandar Markovic
    Signed-off-by: Greg Kroah-Hartman

    Miodrag Dinic
     

16 Aug, 2017

1 commit


06 Jun, 2016

1 commit

  • The /dev/ptmx device node is changed to lookup the directory entry "pts"
    in the same directory as the /dev/ptmx device node was opened in. If
    there is a "pts" entry and that entry is a devpts filesystem /dev/ptmx
    uses that filesystem. Otherwise the open of /dev/ptmx fails.

    The DEVPTS_MULTIPLE_INSTANCES configuration option is removed, so that
    userspace can now safely depend on each mount of devpts creating a new
    instance of the filesystem.

    Each mount of devpts is now a separate and equal filesystem.

    Reserved ttys are now available to all instances of devpts where the
    mounter is in the initial mount namespace.

    A new vfs helper path_pts is introduced that finds a directory entry
    named "pts" in the directory of the passed in path, and changes the
    passed in path to point to it. The helper path_pts uses a function
    path_parent_directory that was factored out of follow_dotdot.

    In the implementation of devpts:
    - devpts_mnt is killed as it is no longer meaningful if all mounts of
    devpts are equal.
    - pts_sb_from_inode is replaced by just inode->i_sb as all cached
    inodes in the tty layer are now from the devpts filesystem.
    - devpts_add_ref is rolled into the new function devpts_ptmx. And the
    unnecessary inode hold is removed.
    - devpts_del_ref is renamed devpts_release and reduced to just a
    deacrivate_super.
    - The newinstance mount option continues to be accepted but is now
    ignored.

    In devpts_fs.h definitions for when !CONFIG_UNIX98_PTYS are removed as
    they are never used.

    Documentation/filesystems/devices.txt is updated to describe the current
    situation.

    This has been verified to work properly on openwrt-15.05, centos5,
    centos6, centos7, debian-6.0.2, debian-7.9, debian-8.2, ubuntu-14.04.3,
    ubuntu-15.10, fedora23, magia-5, mint-17.3, opensuse-42.1,
    slackware-14.1, gentoo-20151225 (13.0?), archlinux-2015-12-01. With the
    caveat that on centos6 and on slackware-14.1 that there wind up being
    two instances of the devpts filesystem mounted on /dev/pts, the lower
    copy does not end up getting used.

    Signed-off-by: "Eric W. Biederman"
    Cc: Greg KH
    Cc: Peter Hurley
    Cc: Peter Anvin
    Cc: Andy Lutomirski
    Cc: Al Viro
    Cc: Serge Hallyn
    Cc: Willy Tarreau
    Cc: Aurelien Jarno
    Cc: One Thousand Gnomes
    Cc: Jann Horn
    Cc: Jiri Slaby
    Cc: Florian Weimer
    Cc: Konstantin Khlebnikov
    Signed-off-by: Linus Torvalds

    Eric W. Biederman
     

07 Feb, 2016

1 commit

  • When CONFIG_PCI is not set, enabling CONFIG_CYZ_INTR has no
    practical effect other than generating a warning about an
    unused function:

    drivers/tty/cyclades.c:1184:20: warning: 'cyz_interrupt' defined but not used [-Wunused-function]
    static irqreturn_t cyz_interrupt(int irq, void *dev_id)

    This adds a dependency to avoid that warning.

    Signed-off-by: Arnd Bergmann
    Signed-off-by: Greg Kroah-Hartman

    Arnd Bergmann
     

31 Mar, 2015

3 commits

  • Implement KGDB IO operations for MIPS Fast Debug Channel (FDC). This can
    be enabled via Kconfig, which also allows the channel number to be
    chosen.

    The magic sysrq hack is implemented in the TTY driver, detecting just ^C
    for the KGDB channel, and ^O followed by a letter for the FDC console
    channel.

    The KGDB operations are reasonably efficient thanks to the flush
    callback, with a 4 byte buffer being used in both directions to allow up
    to 4 bytes to be encoded per FDC word. Reading of data for KGDB will
    discard any data received on other channels, which clearly isn't ideal,
    but given that there is a single FIFO shared between channels we can't
    do much better.

    Signed-off-by: James Hogan
    Cc: Greg Kroah-Hartman
    Cc: Jiri Slaby
    Cc: Jason Wessel
    Cc: linux-mips@linux-mips.org
    Cc: kgdb-bugreport@lists.sourceforge.net
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/9147/
    Signed-off-by: Ralf Baechle

    James Hogan
     
  • Add support for early console of MIPS Fast Debug Channel (FDC) on
    channel 1 with a call very early from the MIPS setup_arch().

    Signed-off-by: James Hogan
    Cc: Greg Kroah-Hartman
    Cc: Jiri Slaby
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/9145/
    Signed-off-by: Ralf Baechle

    James Hogan
     
  • Add TTY driver and consoles for the MIPS EJTAG Fast Debug Channel (FDC),
    which is found on the per-CPU MIPS Common Device Mapped Memory (CDMM)
    bus.

    The FDC is a per-CPU device which is used to communicate with an EJTAG
    probe. RX and TX FIFOs exist, containing 32-bits of data and 4-bit
    channel numbers. 16 general data streams are implemented on this for TTY
    and console use by encoding up to 4 bytes on each 32-bit FDC word.

    The TTY devices are named e.g. /dev/ttyFDC3c2 for channel 2 of the FDC
    attached to logical CPU 3.

    These can be used for getting the kernel log, a login prompt, or as a
    GDB remote transport, all over EJTAG and without needing a serial port.

    It can have an interrupt to notify of when incoming data is available in
    the RX FIFO or when the TX FIFO is no longer full. The detection of this
    interrupt occurs in architecture / platform code, but it may be shared
    with the timer and/or performance counter interrupt.

    Due to the per-CPU nature of the hardware, all outgoing TTY data is
    written out from a kthread which is pinned to the appropriate CPU.

    The console is not bound to a specific CPU, so output will appear on the
    chosen channel on whichever CPU the code is executing on. Enable with
    e.g. console=fdc1 in kernel arguments. /dev/console is bound to the same
    channel on the boot CPU's FDC if it exists.

    Signed-off-by: James Hogan
    Cc: Ralf Baechle
    Cc: Greg Kroah-Hartman
    Cc: Jiri Slaby
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/9146/
    Signed-off-by: Ralf Baechle

    James Hogan
     

10 Jan, 2014

1 commit

  • ehv_bytechan is marked tristate but fails to build as a module:

    drivers/tty/ehv_bytechan.c:363:1: error: type defaults to ‘int’ in declaration of ‘console_initcall’ [-Werror=implicit-int]

    It doesn't make much sense for a console driver to be built as
    a module, so change it to a bool.

    Signed-off-by: Anton Blanchard
    Acked-by: Greg Kroah-Hartman
    Signed-off-by: Scott Wood

    Anton Blanchard
     

07 Feb, 2013

1 commit


22 Jan, 2013

1 commit

  • This provides a console driver for the Goldfish virtual platform. The original
    is from Arve with changes from Jun Nakajima and Tom Keel. This has been then
    been ported to the current kernel and to the tty port mechanism by Alan Cox.
    In the process it gained proper POSIX semantics and vhangup works. The default
    name is not ttyS as this belongs to the 8250 driver. Instead ttyGFx is now used.

    In the normal usage case the first port serves as a kernel logging console and
    the second one carries various other data streams for the emulation.

    Signed-off-by: Arve Hjønnevåg
    [Cleaned up to handle x86]
    Signed-off-by: Sheng Yang
    Signed-off-by: Yunhong Jiang
    Signed-off-by: Xiaohui Xin
    Signed-off-by: Jun Nakajima
    Signed-off-by: Bruce Beare
    [Moved to 3.7 and chunks rewritten to use tty_port layer]
    Signed-off-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    Arve Hjønnevåg
     

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
     

11 Oct, 2012

1 commit

  • * 'for-upstream' of http://github.com/agraf/linux-2.6: (56 commits)
    arch/powerpc/kvm/e500_tlb.c: fix error return code
    KVM: PPC: Book3S HV: Provide a way for userspace to get/set per-vCPU areas
    KVM: PPC: Book3S: Get/set guest FP regs using the GET/SET_ONE_REG interface
    KVM: PPC: Book3S: Get/set guest SPRs using the GET/SET_ONE_REG interface
    KVM: PPC: set IN_GUEST_MODE before checking requests
    KVM: PPC: e500: MMU API: fix leak of shared_tlb_pages
    KVM: PPC: e500: fix allocation size error on g2h_tlb1_map
    KVM: PPC: Book3S HV: Fix calculation of guest phys address for MMIO emulation
    KVM: PPC: Book3S HV: Remove bogus update of physical thread IDs
    KVM: PPC: Book3S HV: Fix updates of vcpu->cpu
    KVM: Move some PPC ioctl definitions to the correct place
    KVM: PPC: Book3S HV: Handle memory slot deletion and modification correctly
    KVM: PPC: Move kvm->arch.slot_phys into memslot.arch
    KVM: PPC: Book3S HV: Take the SRCU read lock before looking up memslots
    KVM: PPC: bookehv: Allow duplicate calls of DO_KVM macro
    KVM: PPC: BookE: Support FPU on non-hv systems
    KVM: PPC: 440: Implement mfdcrx
    KVM: PPC: 440: Implement mtdcrx
    Document IACx/DACx registers access using ONE_REG API
    KVM: PPC: E500: Remove E500_TLB_DIRTY flag
    ...

    Marcelo Tosatti
     

06 Oct, 2012

1 commit


19 Sep, 2012

1 commit


18 Sep, 2012

1 commit


25 Feb, 2012

1 commit

  • Fixes these build errors:

    ERROR: ".udbg_printf" [drivers/tty/ehv_bytechan.ko] undefined!
    ERROR: ".register_early_udbg_console" [drivers/tty/ehv_bytechan.ko] undefined!
    ERROR: "udbg_putc" [drivers/tty/ehv_bytechan.ko] undefined!

    Cc: Timur Tabi
    Signed-off-by: Stephen Rothwell
    Cc: stable
    Signed-off-by: Greg Kroah-Hartman

    Stephen Rothwell
     

03 Nov, 2011

1 commit

  • * 'for-linus' of git://github.com/richardweinberger/linux: (90 commits)
    um: fix ubd cow size
    um: Fix kmalloc argument order in um/vdso/vma.c
    um: switch to use of drivers/Kconfig
    UserModeLinux-HOWTO.txt: fix a typo
    UserModeLinux-HOWTO.txt: remove ^H characters
    um: we need sys/user.h only on i386
    um: merge delay_{32,64}.c
    um: distribute exports to where exported stuff is defined
    um: kill system-um.h
    um: generic ftrace.h will do...
    um: segment.h is x86-only and needed only there
    um: asm/pda.h is not needed anymore
    um: hw_irq.h can go generic as well
    um: switch to generic-y
    um: clean Kconfig up a bit
    um: a couple of missing dependencies...
    um: kill useless argument of free_chan() and free_one_chan()
    um: unify ptrace_user.h
    um: unify KSTK_...
    um: fix gcov build breakage
    ...

    Linus Torvalds
     

02 Nov, 2011

1 commit


26 Oct, 2011

1 commit

  • * 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (79 commits)
    TTY: serial_core: Fix crash if DCD drop during suspend
    tty/serial: atmel_serial: bootconsole removed from auto-enumerates
    Revert "TTY: call tty_driver_lookup_tty unconditionally"
    tty/serial: atmel_serial: add device tree support
    tty/serial: atmel_serial: auto-enumerate ports
    tty/serial: atmel_serial: whitespace and braces modifications
    tty/serial: atmel_serial: change platform_data variable name
    tty/serial: RS485 bindings for device tree
    TTY: call tty_driver_lookup_tty unconditionally
    TTY: pty, release tty in all ptmx_open fail paths
    TTY: make tty_add_file non-failing
    TTY: drop driver reference in tty_open fail path
    8250_pci: Fix kernel panic when pch_uart is disabled
    h8300: drivers/serial/Kconfig was moved
    parport_pc: release IO region properly if unsupported ITE887x card is found
    tty: Support compat_ioctl get/set termios_locked
    hvc_console: display printk messages on console.
    TTY: snyclinkmp: forever loop in tx_load_dma_buffer()
    tty/n_gsm: avoid fifo overflow in gsm_dlci_data_output
    tty/n_gsm: fix a bug in gsm_dlci_data_output (adaption = 2 case)
    ...

    Fix up Conflicts in:
    - drivers/tty/serial/8250_pci.c
    Trivial conflict with removed duplicate device ID
    - drivers/tty/serial/atmel_serial.c
    Annoying silly conflict between "specify the port num via
    platform_data" and other changes to atmel_console_init

    Linus Torvalds
     

25 Oct, 2011

1 commit

  • * 'pm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (63 commits)
    PM / Clocks: Remove redundant NULL checks before kfree()
    PM / Documentation: Update docs about suspend and CPU hotplug
    ACPI / PM: Add Sony VGN-FW21E to nonvs blacklist.
    ARM: mach-shmobile: sh7372 A4R support (v4)
    ARM: mach-shmobile: sh7372 A3SP support (v4)
    PM / Sleep: Mark devices involved in wakeup signaling during suspend
    PM / Hibernate: Improve performance of LZO/plain hibernation, checksum image
    PM / Hibernate: Do not initialize static and extern variables to 0
    PM / Freezer: Make fake_signal_wake_up() wake TASK_KILLABLE tasks too
    PM / Hibernate: Add resumedelay kernel param in addition to resumewait
    MAINTAINERS: Update linux-pm list address
    PM / ACPI: Blacklist Vaio VGN-FW520F machine known to require acpi_sleep=nonvs
    PM / ACPI: Blacklist Sony Vaio known to require acpi_sleep=nonvs
    PM / Hibernate: Add resumewait param to support MMC-like devices as resume file
    PM / Hibernate: Fix typo in a kerneldoc comment
    PM / Hibernate: Freeze kernel threads after preallocating memory
    PM: Update the policy on default wakeup settings
    PM / VT: Cleanup #if defined uglyness and fix compile error
    PM / Suspend: Off by one in pm_suspend()
    PM / Hibernate: Include storage keys in hibernation image on s390
    ...

    Linus Torvalds
     

17 Oct, 2011

1 commit

  • Introduce the config option CONFIG_VT_CONSOLE_SLEEP in order to cleanup
    the #if defined ugliness for the vt suspend support functions. Note that
    CONFIG_VT_CONSOLE is already dependant on CONFIG_VT.

    The function pm_set_vt_switch is actually dependant on CONFIG_VT and not
    CONFIG_PM_SLEEP. This fixes a compile error when CONFIG_PM_SLEEP is
    not set:

    drivers/tty/vt/vt_ioctl.c:1794: error: redefinition of 'pm_set_vt_switch'
    include/linux/suspend.h:17: error: previous definition of 'pm_set_vt_switch' was here

    Also, remove the incorrect path from the comment in console.c.

    [rjw: Replaced #if defined() with #ifdef in suspend.h.]

    Signed-off-by: H Hartley Sweeten
    Acked-by: Arnd Bergmann
    Signed-off-by: Rafael J. Wysocki

    H Hartley Sweeten
     

13 Oct, 2011

1 commit


24 Aug, 2011

1 commit

  • The ePAPR embedded hypervisor specification provides an API for "byte
    channels", which are serial-like virtual devices for sending and receiving
    streams of bytes. This driver provides Linux kernel support for byte
    channels via three distinct interfaces:

    1) An early-console (udbg) driver. This provides early console output
    through a byte channel. The byte channel handle must be specified in a
    Kconfig option.

    2) A normal console driver. Output is sent to the byte channel designated
    for stdout in the device tree. The console driver is for handling kernel
    printk calls.

    3) A tty driver, which is used to handle user-space input and output. The
    byte channel used for the console is designated as the default tty.

    Signed-off-by: Timur Tabi
    Signed-off-by: Greg Kroah-Hartman

    Timur Tabi
     

14 May, 2011

1 commit

  • The n_tracerouter and n_tracesink line discpline drivers use the
    Linux tty line discpline framework to route trace data coming
    from a tty port (say UART for example) to the trace sink line
    discipline driver and to another tty port(say USB). Those
    these two line discipline drivers can be used together,
    independently from pti.c, they are part of the original
    implementation solution of the MIPI P1149.7, compact JTAG, PTI
    solution for Intel mobile platforms starting with the
    Medfield platform.

    Signed-off-by: J Freyensee
    Signed-off-by: Greg Kroah-Hartman

    J Freyensee
     

23 Feb, 2011

1 commit