01 Feb, 2011

1 commit


26 Jan, 2011

1 commit

  • The -rt patches change the console_semaphore to console_mutex. As a
    result, a quite large chunk of the patches changes all
    acquire/release_console_sem() to acquire/release_console_mutex()

    This commit makes things use more neutral function names which dont make
    implications about the underlying lock.

    The only real change is the return value of console_trylock which is
    inverted from try_acquire_console_sem()

    This patch also paves the way to switching console_sem from a semaphore to
    a mutex.

    [akpm@linux-foundation.org: coding-style fixes]
    [akpm@linux-foundation.org: make console_trylock return 1 on success, per Geert]
    Signed-off-by: Torben Hohn
    Cc: Thomas Gleixner
    Cc: Greg KH
    Cc: Ingo Molnar
    Cc: Geert Uytterhoeven
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Torben Hohn
     

23 Jan, 2011

2 commits

  • This fixes the build warnings in the tty code, and uses the proper
    function for iterating over the console devices.

    Signed-off-by: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    Kay Sievers
     
  • With framebuffer handover and multiple GPUs, we get into a
    position where the fbcon unbinds the vesafb framebuffer for GPU 1,
    but we still have a radeon framebuffer bound from GPU 0, so
    we don't unregister the console driver. Then when we tried to bind
    the new radeon framebuffer for GPU1 we never get to the bind
    call as we fail due to the console being registered already.

    This changes the return value to -EBUSY when the driver is
    already registered and continues to bind for -EBUSY.

    Signed-off-by: Dave Airlie
    Cc: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    Dave Airlie
     

08 Jan, 2011

1 commit

  • * 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6: (36 commits)
    serial: apbuart: Fixup apbuart_console_init()
    TTY: Add tty ioctl to figure device node of the system console.
    tty: add 'active' sysfs attribute to tty0 and console device
    drivers: serial: apbuart: Handle OF failures gracefully
    Serial: Avoid unbalanced IRQ wake disable during resume
    tty: fix typos/errors in tty_driver.h comments
    pch_uart : fix warnings for 64bit compile
    8250: fix uninitialized FIFOs
    ip2: fix compiler warning on ip2main_pci_tbl
    specialix: fix compiler warning on specialix_pci_tbl
    rocket: fix compiler warning on rocket_pci_ids
    8250: add a UPIO_DWAPB32 for 32 bit accesses
    8250: use container_of() instead of casting
    serial: omap-serial: Add support for kernel debugger
    serial: fix pch_uart kconfig & build
    drivers: char: hvc: add arm JTAG DCC console support
    RS485 documentation: add 16C950 UART description
    serial: ifx6x60: fix memory leak
    serial: ifx6x60: free IRQ on error
    Serial: EG20T: add PCH_UART driver
    ...

    Fixed up conflicts in drivers/serial/apbuart.c with evil merge that
    makes the code look fairly sane (unlike either side).

    Linus Torvalds
     

17 Dec, 2010

1 commit

  • tty: add 'active' sysfs attribute to tty0 and console device

    Userspace can query the actual virtual console, and the configured
    console devices behind /dev/tt0 and /dev/console.

    The last entry in the list of devices is the active device, analog
    to the console= kernel command line option.

    The attribute supports poll(), which is raised when the virtual
    console is changed or /dev/console is reconfigured.

    Signed-off-by: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    index 0000000..b138b66

    Kay Sievers
     

12 Nov, 2010

1 commit

  • Kay Sievers pointed out that usage of POLLIN is well defined by POSIX,
    and the current usage here doesn't follow that definition. So let's
    duplicate the same semantics as implemented by sysfs_poll() instead.

    Signed-off-by: Nicolas Pitre
    Acked-by: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    Nicolas Pitre
     

06 Nov, 2010

1 commit


05 Nov, 2010

1 commit