1. 17 10月, 2012 1 次提交
  2. 16 5月, 2012 1 次提交
  3. 09 3月, 2012 1 次提交
  4. 11 6月, 2011 1 次提交
    • C
      arch/tile: add hypervisor-based character driver for SPI flash ROM · dbcb4a1a
      Chris Metcalf 提交于
      The first version of this patch proposed an arch/tile/drivers/ directory,
      but the consensus was that this was probably a poor choice for a place to
      group Tilera-specific drivers, and that in any case grouping by platform
      was discouraged, and grouping by function was preferred.
      
      This version of the patch addresses various issues raised in the
      community, primarily the absence of sysfs integration.  The sysfs
      integration now handles passing information on sector size, page size,
      and total partition size to userspace as well.  In addition, we now
      use a single "struct cdev" to manage all the partition minor devices,
      and dynamically discover the correct number of partitions from the
      hypervisor rather than using a module_param with a default value.
      
      This driver has no particular "peer" drivers it can be grouped with.
      It is sort of like an MTD driver for SPI ROM, but it doesn't group well
      with the other MTD devices since it relies on hypervisor virtualization
      to handle many of the irritating aspects of flash ROM management: sector
      awareness, background read for sub-sector writes, bit examination to
      determine whether a sector erase needs to be issued, etc.  It is in fact
      more like an EEPROM driver, but the hypervisor virtualization does require
      a "flush" command if you wish to commit a sector write prior to writing
      to a different sector, and this is sufficiently different from generic
      I2C/SPI EEPROMs that as a result it doesn't group well with them either.
      
      The simple character device is already in use by a range of Tilera
      SPI ROM management tools, as well as by customers.  In addition, using
      the simple character device actually simplifies the userspace tools,
      since they don't need to manage sector erase, background read, etc.
      This both simplifies the code (since we can uniformly manage plain files
      and the SPI ROM) as well as makes the user code portable to non-Linux
      platforms that don't offer the same MTD ioctls.
      Signed-off-by: NChris Metcalf <cmetcalf@tilera.com>
      Reviewed-by: NArnd Bergmann <arnd@arndb.de>
      dbcb4a1a
  5. 24 3月, 2011 1 次提交
  6. 23 2月, 2011 3 次提交
  7. 04 2月, 2011 1 次提交
  8. 14 1月, 2011 2 次提交
  9. 01 12月, 2010 1 次提交
  10. 05 11月, 2010 2 次提交
  11. 23 10月, 2010 1 次提交
  12. 11 8月, 2010 1 次提交
    • A
      tty: implement BTM as mutex instead of BKL · b07471fa
      Arnd Bergmann 提交于
      The tty locking now follows the rules for mutexes, so
      we can replace the BKL usage with a new subsystem
      wide mutex.
      
      Using a regular mutex here will change the behaviour
      when blocked on the BTM from spinning to sleeping,
      but that should not be visible to the user.
      
      Using the mutex also means that all the BTM is now
      covered by lockdep.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      b07471fa
  13. 05 6月, 2010 1 次提交
  14. 28 5月, 2010 1 次提交
    • M
      char drivers: RAM oops/panic logger · 56d611a0
      Marco Stornelli 提交于
      Ramoops, like mtdoops, can log oops/panic information but in RAM.  It can
      be used with persistent RAM for systems without flash support.  In
      addition, for this systems, with this driver, it's no more needed add to
      the kernel the mtd subsystem with advantage in footprint.
      
      It can be used in a very easy way with persistent RAM for systems without
      flash support.  For these systems, with this driver, it is no longer
      required to cinlude mtd subsystem with an advantage in footprint.  In
      addition, you can save flash space and store this information only in RAM.
      Signed-off-by: NMarco Stornelli <marco.stornelli@gmail.com>
      Cc: Simon Kagstrom <simon.kagstrom@netinsight.net>
      Cc: David Woodhouse <David.Woodhouse@intel.com>
      Cc; Anders Grafstrom <anders.grafstrom@netinsight.net>
      Cc: Yuasa Yoichi <yuasa@linux-mips.org>
      Cc: Jamie Lokier <jamie@shareable.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      56d611a0
  15. 22 5月, 2010 1 次提交
    • A
      tty: n_gsm line discipline · e1eaea46
      Alan Cox 提交于
      Add an implementation of GSM 0710 MUX. The implementation currently supports
      
      - Basic and advanced framing (as either end of the link)
      - UI or UIH data frames
      - Adaption layer 1-4 (1 and 2 via tty, 3 and 4 as skbuff lists)
      - Modem and control messages including the correct retry process
      - Flow control
      
      and exposes the MUX channels as a set of virtual tty devices including modem
      signals. This is an experimental driver.
      Signed-off-by: NAlan Cox <alan@linux.intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      e1eaea46
  16. 12 12月, 2009 1 次提交
  17. 24 9月, 2009 1 次提交
  18. 03 7月, 2009 1 次提交
  19. 11 6月, 2009 1 次提交
  20. 25 12月, 2008 1 次提交
    • H
      [S390] s390/hvc_console: z/VM IUCV hypervisor console support · 44a01d5b
      Hendrik Brueckner 提交于
      This patch introduces a new hypervisor console (HVC) back-end that provides
      terminal access over the z/VM inter-user communication vehicle (IUCV).
      
      The z/VM IUCV communication is independent of the regular tcp/ip network
      and allows access even if there is no network connection between two
      z/VM guest virtual machines.
      The z/VM IUCV hypervisor console back-end helps the user to access a
      z/VM guest virtual machine that lacks of network connectivity; and thus,
      provides a "full-screen" terminal alternative to 3215/3270 terminal sessions.
      
      Use the hvc_iucv=[0..8] kernel boot parameter to specify the number of
      HVC terminals using a z/VM IUCV back-end.
      
      A recent version of the s390-tools package is required to establish a
      terminal connection to a z/VM IUCV hypervisor console back-end.
      Signed-off-by: NHendrik Brueckner <brueckner@linux.vnet.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      44a01d5b
  21. 19 11月, 2008 1 次提交
    • D
      powerpc: udbg-based backend for hvc_console · d5e54913
      David Gibson 提交于
      This adds a new backend for the hvc console based on the low-level
      udbg callbacks.  This effectively implements a working runtime console
      in terms of the simple udbg primitives.  This is kind of a hack -
      since udbg isn't something you really want to be using routinely - but
      it's really useful during bringup.
      
      This can be used to quickly implement a userspace-usable console while
      you're working on a proper driver for whatever console I/O device the
      hardware has.  Or, it can be used to avoid writing a full blown
      tty/console driver entirely for quick-and-dirty I/O hardware that will
      later be replaced by something else.
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      d5e54913
  22. 30 10月, 2008 2 次提交
  23. 14 10月, 2008 2 次提交
  24. 08 8月, 2008 1 次提交
  25. 26 7月, 2008 1 次提交
  26. 25 7月, 2008 2 次提交
    • C
      hvc_console: rework setup to replace irq functions with callbacks · 611e097d
      Christian Borntraeger 提交于
      This patch tries to change hvc_console to not use request_irq/free_irq if
      the backend does not use irqs. This allows virtio_console to use hvc_console
      without having a linker reference to request_irq/free_irq.
      
      In addition, together with patch 2/3 it improves the performance for virtio
      console input. (an earlier version of this patch was tested by Yajin on lguest)
      
      The irq specific code is moved to hvc_irq.c and selected by the drivers that
      use irqs (System p, System i, XEN).
      
      I replaced "int irq" with the opaque "int data". The request_irq and
      free_irq calls are replaced with notifier_add and notifier_del. I have also
      changed the code a bit to call the notifier_add and notifier_del inside the
      spinlock area as the callbacks are found via hp->ops.
      
      Changes since last version:
      o remove ifdef
      o reintroduce "irq_requested" as "notified"
      o cleanups, sparse..
      
      I did not move the timer based polling into a separate polling scheme. I
      played with several variants, but it seems we need to sleep/schedule in
      a thread even for irq based consoles, as there are throttleing and buffer
      size constraints.
      
      I also kept hvc_struct defined in hvc_console.h so that hvc_irq.c can access
      the irq_requested element.
      
      Feedback is appreciated. virtio_console is currently the only available console
      for kvm on s390. I plan to push this change as soon as all affected parties
      agree on it. I would love to get test results from System p, Xen etc.
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      611e097d
    • Y
      drivers/char: remove old broken Cobalt LCD driver · 18b095d4
      Yoichi Yuasa 提交于
      Remove old broken Cobalt LCD driver.
      Signed-off-by: NYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
      Acked-by: NRalf Baechle <ralf@linux-mips.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      18b095d4
  27. 23 7月, 2008 1 次提交
  28. 15 7月, 2008 1 次提交
  29. 14 7月, 2008 1 次提交
    • D
      drm: reorganise drm tree to be more future proof. · c0e09200
      Dave Airlie 提交于
      With the coming of kernel based modesetting and the memory manager stuff,
      the everything in one directory approach was getting very ugly and
      starting to be unmanageable.
      
      This restructures the drm along the lines of other kernel components.
      
      It creates a drivers/gpu/drm directory and moves the hw drivers into
      subdirectores. It moves the includes into an include/drm, and
      sets up the unifdef for the userspace headers we should be exporting.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      c0e09200
  30. 04 6月, 2008 1 次提交
  31. 25 4月, 2008 1 次提交
  32. 08 2月, 2008 1 次提交
  33. 07 2月, 2008 1 次提交
    • S
      [POWERPC] Xilinx: hwicap driver · ef141a0b
      Stephen Neuendorffer 提交于
      This includes code for new fifo-based xps_hwicap in addition to the
      older opb_hwicap, which has a significantly different interface.  The
      common code between the two drivers is largely shared.
      
      Significant differences exists between this driver and what is
      supported in the EDK drivers.  In particular, most of the
      architecture-specific code for reconfiguring individual FPGA resources
      has been removed.  This functionality is likely better provided in a
      user-space support library.  In addition, read and write access is
      supported.  In addition, although the xps_hwicap cores support
      interrupt-driver mode, this driver only supports polled operation, in
      order to make the code simpler, and since the interrupt processing
      overhead is likely to slow down the throughput under Linux.
      Signed-off-by: NStephen Neuendorffer <stephen.neuendorffer@xilinx.com>
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      ef141a0b