17 Dec, 2009

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (33 commits)
    sh: Fix test of unsigned in se7722_irq_demux()
    sh: mach-ecovec24: Add FSI sound support
    sh: mach-ecovec24: Add mt9t112 camera support
    sh: mach-ecovec24: Add tw9910 support
    sh: MSIOF/mmc_spi platform data for the Ecovec24 board
    sh: ms7724se: Add ak4642 support
    sh: Fix up FPU build for SH5
    sh: Remove old early serial console code V2
    sh: sh5 scif pdata (sh5-101/sh5-103)
    sh: sh4a scif pdata (sh7757/sh7763/sh7770/sh7780/sh7785/sh7786/x3)
    sh: sh4a scif pdata (sh7343/sh7366/sh7722/sh7723/sh7724)
    sh: sh4 scif pdata (sh7750/sh7760/sh4-202)
    sh: sh3 scif pdata (sh7705/sh770x/sh7710/sh7720)
    sh: sh2a scif pdata (sh7201/sh7203/sh7206/mxg)
    sh: sh2 scif pdata (sh7616)
    sh-sci: Extend sh-sci driver with early console V2
    sh: Stub in P3 ioremap support for nommu parts.
    sh: wire up vmallocinfo support in ioremap() implementations.
    sh: Make the unaligned trap handler always obey notification levels.
    sh: Couple kernel and user write page perm bits for CONFIG_X2TLB
    ...

    Linus Torvalds
     

16 Dec, 2009

3 commits


15 Dec, 2009

2 commits


12 Dec, 2009

15 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6: (58 commits)
    tty: split the lock up a bit further
    tty: Move the leader test in disassociate
    tty: Push the bkl down a bit in the hangup code
    tty: Push the lock down further into the ldisc code
    tty: push the BKL down into the handlers a bit
    tty: moxa: split open lock
    tty: moxa: Kill the use of lock_kernel
    tty: moxa: Fix modem op locking
    tty: moxa: Kill off the throttle method
    tty: moxa: Locking clean up
    tty: moxa: rework the locking a bit
    tty: moxa: Use more tty_port ops
    tty: isicom: fix deadlock on shutdown
    tty: mxser: Use the new locking rules to fix setserial properly
    tty: mxser: use the tty_port_open method
    tty: isicom: sort out the board init logic
    tty: isicom: switch to the new tty_port_open helper
    tty: tty_port: Add a kref object to the tty port
    tty: istallion: tty port open/close methods
    tty: stallion: Convert to the tty_port_open/close methods
    ...

    Linus Torvalds
     
  • Do not read IIR in serial8250_start_tx when UART_BUG_TXEN

    Reading the IIR clears some oustanding interrupts so it is not safe.
    Instead, simply transmit immediately if the buffer is empty without
    regard to IIR.

    Signed-off-by: Ian Jackson
    Reviewed-by: Markus Armbruster
    Reviewed-by: Jiri Kosina
    Cc: Alan Cox
    Cc: stable
    Signed-off-by: Greg Kroah-Hartman

    Ian Jackson
     
  • Intel(R) PXA27x Processor Family Specification Update (Nov 2005)
    says:

    E75. UART: Baud rate may not be programmed correctly on
    back-to-back writes.

    Problem:
    When programming the Divisor Latch registers, Low and High (DLL and
    DLH), with back-to-back writes, the second register write may not
    take effect. The result is an incorrect baud rate.

    Workaround:
    After programming the first Divisor Latch register, read and verify
    it before programming the second Divisor Latch register.

    This was hit when changing the baud rate from 115200 to 9600 while
    receiving characters at 9600 Bd.

    And fixed indention of some comments nearby.

    Signed-off-by: Uwe Kleine-König
    Acked-by: Wolfram Sang
    Acked-by: Marc Kleine-Budde
    Cc: Eric Miao
    Cc: Alan Cox
    Cc: Mike Rapoport
    Signed-off-by: Greg Kroah-Hartman

    Uwe Kleine-König
     
  • Signed-off-by: André Goddard Rosa
    Signed-off-by: Greg Kroah-Hartman

    André Goddard Rosa
     
  • Signed-off-by: André Goddard Rosa
    Signed-off-by: Greg Kroah-Hartman

    André Goddard Rosa
     
  • If kzalloc() or alloc_tty_driver() fails, we call:
    put_tty_driver(normal = NULL).

    Then:
    put_tty_driver -> tty_driver_kref_put -> kref_put(&NULL->kref, ...)

    Signed-off-by: André Goddard Rosa
    Signed-off-by: Greg Kroah-Hartman

    André Goddard Rosa
     
  • Adding EEH handlers for the serial jsm driver. This patch adds
    the PCI error handlers and also register them to be called when
    a error is detected.

    Signed-off-by: Breno Leitao
    Acked-by: Scott Kilau
    Signed-off-by: Greg Kroah-Hartman

    Breno Leitao
     
  • Currently there is a field in the jsm_board structure to cont
    the number of interrupt that the card recevived, but it's not
    working properly when the IRQ line is shared, and also nowhere
    else this field is used. So, This patch is removing it.

    Signed-off-by: Breno Leitão
    Cc: Scott Kilau
    Signed-off-by: Greg Kroah-Hartman

    Breno Leitão
     
  • Currently the jsm_channel->ch_wopen field is defined and never
    used. So, this patch removes it.

    Signed-off-by: Breno Leitão
    Cc: Scott Kilau
    Signed-off-by: Greg Kroah-Hartman

    Breno Leitão
     
  • Currently the field jsm_channel->ch_cpstime is defined but never
    used, so this patch removes it.

    Signed-off-by: Breno Leitão
    Cc: Scott Kilau
    Signed-off-by: Greg Kroah-Hartman

    Breno Leitão
     
  • Currently the field jsm_channel->ch_old_baud is not used, just
    assigned in a lot of places but never used. This patches removes
    this field.

    Signed-off-by: Breno Leitão
    Cc: Scott Kilau
    Signed-off-by: Greg Kroah-Hartman

    Breno Leitão
     
  • Currently the ch_custom_speed field exists but is never used,
    so, this patch removes it.

    Signed-off-by: Breno Leitão
    Cc: Scott Kilau
    Signed-off-by: Greg Kroah-Hartman

    Breno Leitão
     
  • Actually jsm displays "Device Added" 8 times (for a 8 port device).
    This silly patch just makes things more informative, showing
    the port (instead of the device) that was added.

    Signed-off-by: Breno Leitão
    Cc: Scott Kilau
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Breno Leitão
     
  • Currently jsm is showing the following message when loaded:

    IRQ 432/JSM: IRQF_DISABLED is not guaranteed on shared IRQs

    It's because the request_irq() is called using IRQF_DISABLED
    and IRQF_SHARED.
    Actually there is no need to use IRQF_DISABLED in this driver.

    Signed-off-by: Breno Leitão
    Cc: Scott Kilau
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Breno Leitão
     
  • Unfortunately, one cannot hold on to the struct firmware
    that request_firmware_nowait() hands off, which is needed
    in some cases. Allow this by requiring the callback to
    free it (via release_firmware).

    Additionally, give it a gfp_t parameter -- all the current
    users call it from a GFP_KERNEL context so the GFP_ATOMIC
    isn't necessary. This also marks an API break which is
    useful in a sense, although that is obviously not the
    primary purpose of this change.

    Signed-off-by: Johannes Berg
    Acked-by: Marcel Holtmann
    Cc: Ming Lei
    Cc: Catalin Marinas
    Cc: David Woodhouse
    Cc: Pavel Roskin
    Cc: Abhay Salunke
    Signed-off-by: Greg Kroah-Hartman

    Johannes Berg
     

10 Dec, 2009

3 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (42 commits)
    tree-wide: fix misspelling of "definition" in comments
    reiserfs: fix misspelling of "journaled"
    doc: Fix a typo in slub.txt.
    inotify: remove superfluous return code check
    hdlc: spelling fix in find_pvc() comment
    doc: fix regulator docs cut-and-pasteism
    mtd: Fix comment in Kconfig
    doc: Fix IRQ chip docs
    tree-wide: fix assorted typos all over the place
    drivers/ata/libata-sff.c: comment spelling fixes
    fix typos/grammos in Documentation/edac.txt
    sysctl: add missing comments
    fs/debugfs/inode.c: fix comment typos
    sgivwfb: Make use of ARRAY_SIZE.
    sky2: fix sky2_link_down copy/paste comment error
    tree-wide: fix typos "couter" -> "counter"
    tree-wide: fix typos "offest" -> "offset"
    fix kerneldoc for set_irq_msi()
    spidev: fix double "of of" in comment
    comment typo fix: sybsystem -> subsystem
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
    m68knommu: export clk_* symbols in clk.c
    m68knommu: Split the .init section into INIT_TEXT_SECTION and INIT_DATA_SECTION.
    m68knommu: Move __init_end out of the .init section.
    m68knommu: Move __init_begin out of the .init section.
    m68knommu: Use more macros inside the .init section.
    m68knommu: Use INIT_TASK_DATA and CACHELINE_ALIGNED_DATA.
    m68knommu: Make THREAD_SIZE available to assembly files.
    m68knommu: Don't hardcode the value of PAGE_SIZE in the linker script.
    m68knommu: rename BSS define in linker script
    m68knommu: add a task_pt_regs() macro
    m68knommu: define arch_has_single_step() and friends
    m68knommu: add uboot commandline argument passing support
    m68knommu: Coldfire GPIO corrections
    m68knommu: move mcf_remove to .devexit.text

    Fixed up (?) conflict in arch/m68k/include/asm/ptrace.h

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (137 commits)
    sh: include empty zero page in romImage
    sh: Make associative cache writes fatal on all SH-4A parts.
    sh: Drop associative writes for SH-4 cache flushes.
    sh: Partial revert of copy/clear_user_highpage() optimizations.
    sh: Add default uImage rule for se7724, ap325rxa, and migor.
    sh: allow runtime pm without suspend/resume callbacks
    sh: mach-ecovec24: Remove un-defined settings for VPU
    sh: mach-ecovec24: LCDC drive ability become high
    sh: fix sh7724 VEU3F resource size
    serial: sh-sci: Fix too early port disabling.
    sh: pfc: pr_info() -> pr_debug() cleanups.
    sh: pfc: Convert from ctrl_xxx() to __raw_xxx() I/O routines.
    sh: Improve kfr2r09 serial port setup code
    sh: Break out SuperH PFC code
    sh: Move KEYSC header file
    sh: convert /proc/cpu/aligmnent, /proc/cpu/kernel_alignment to seq_file
    sh: Add CPG save/restore code for sh7724 R-standby
    sh: Add SDHI power control support to Ecovec
    mfd: Add power control platform data to SDHI driver
    sh: mach-ecovec24: modify address map
    ...

    Linus Torvalds
     

09 Dec, 2009

1 commit

  • * 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm: (272 commits)
    Fix soc_common PCMCIA configuration
    ARM: 5827/1: SA1100: h3100/h3600: emit messages on failed gpio_request
    ARM: 5826/1: SA1100: h3100/h3600: always build htc-egpio driver
    ARM: 5825/1: SA1100: h3600: update defconfig
    ARM: 5824/1: SA1100: reuse h3600 PCMCIA driver on h3100
    ARM: 5823/1: SA1100: h3100/h3600: add support for gpio-keys
    ARM: 5822/1: SA1100: h3100/h3600: clean up #includes
    ARM: 5821/1: SA1100: h3100/h3600: revise copyright boilerplates
    ARM: 5820/1: SA1100: h3100/h3600: split h3600.c
    ARM: 5819/1: SA1100: h3100/h3600: merge h3600.h and h3600_gpio.h into h3xxx.h
    ARM: 5818/1: SA1100: h3100/h3600: drop old GPIO definitions
    ARM: 5817/1: SA1100: h3100/h3600: configure all unused gpios as inputs
    ARM: 5816/1: SA1100: h3600: remove IRQ_GPIO_* definitions
    ARM: 5815/1: SA1100: h3100/h3600: remove now unused assign_h3600_egpio handlers
    ARM: 5814/1: SA1100: h3100/h3600: convert all users of assign_h3600_egpio to gpiolib
    ARM: 5813/1: SA1100: h3100/h3600: add htc-egpio driver
    ARM: 5812/1: SA1100: h3100/h3600: separate machine-specific LCD helpers
    ARM: 5811/2: pcmcia: convert sa1100_h3600 driver to gpiolib
    ARM: 5799/1: SA1100: h3600: stop setting direction for LCD pins
    ARM: 5798/1: SA1100: h3600: remove unused cruft from h3600.h
    ...

    Linus Torvalds
     

08 Dec, 2009

2 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next-2.6:
    sparc: Set UTS_MACHINE correctly.
    sparc,leon: init_leon srmmu cleanup
    sparc32: Remove early interrupt enable.
    sparc, leon: Added Aeroflex Gaisler entry in manufacturer_info structure
    sparc64: Faster early-boot framebuffer console.
    Revert "sparc: Make atomic locks raw"
    sparc: remove unused nfsd #includes
    sparc: Fixup last users of irq_chip->typename
    Added sparc_leon3_snooping_enabled() and converted extern inline to static inline
    No auxio on LEON
    apbuart: Use of_find_node_by_path to find root node.
    sparc: Replace old style lock initializer
    sparc: Make atomic locks raw
    apbuart: Fix build and missing driver unregister.
    apbuart: Kill dependency on deprecated Sparc-only PROM interfaces.
    apbuart: Fix build warning.
    sparc: Support for GRLIB APBUART serial port
    watchdog: Remove BKL from rio watchdog driver
    sparc: Remove BKL from apc
    sparc,leon: Sparc-Leon SMP support

    Linus Torvalds
     
  • Conflicts:

    kernel/irq/chip.c

    Jiri Kosina
     

07 Dec, 2009

1 commit


06 Dec, 2009

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6: (50 commits)
    pcmcia: rework the irq_req_t typedef
    pcmcia: remove deprecated handle_to_dev() macro
    pcmcia: pcmcia_request_window() doesn't need a pointer to a pointer
    pcmcia: remove unused "window_t" typedef
    pcmcia: move some window-related code to pcmcia_ioctl.c
    pcmcia: Change window_handle_t logic to unsigned long
    pcmcia: Pass struct pcmcia_socket to pcmcia_get_mem_page()
    pcmcia: Pass struct pcmcia_device to pcmcia_map_mem_page()
    pcmcia: Pass struct pcmcia_device to pcmcia_release_window()
    drivers/pcmcia: remove unnecessary kzalloc
    pcmcia: correct handling for Zoomed Video registers in topic.h
    pcmcia: fix printk formats
    pcmcia: autoload module pcmcia
    pcmcia/staging: update comedi drivers
    PCMCIA: stop duplicating pci_irq in soc_pcmcia_socket
    PCMCIA: ss: allow PCI IRQs > 255
    PCMCIA: soc_common: remove 'dev' member from soc_pcmcia_socket
    PCMCIA: soc_common: constify soc_pcmcia_socket ops member
    PCMCIA: sa1111: remove duplicated initializers
    PCMCIA: sa1111: wrap soc_pcmcia_socket to contain sa1111 specific data
    ...

    Linus Torvalds
     

05 Dec, 2009

1 commit


04 Dec, 2009

3 commits

  • That is "success", "unknown", "through", "performance", "[re|un]mapping"
    , "access", "default", "reasonable", "[con]currently", "temperature"
    , "channel", "[un]used", "application", "example","hierarchy", "therefore"
    , "[over|under]flow", "contiguous", "threshold", "enough" and others.

    Signed-off-by: André Goddard Rosa
    Signed-off-by: Jiri Kosina

    André Goddard Rosa
     
  • Currently serial ports on SH CPUs get disabled too early, because the
    sci_tx_empty() routine claims to not be able to detect whether the
    transmission has been completed and just always returns TIOCSER_TEMT. This
    results in corrupt output of last characters if the port is not open for
    reading at the same time. It is however possible to detect whether
    transmission has been completed. Use the TEND bit of the status register
    for this.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Paul Mundt

    Guennadi Liakhovetski
     
  • The function mcf_remove is used only wrapped by __devexit_p so define it
    using __devexit.

    Signed-off-by: Uwe Kleine-König
    Cc: Len Sorensen
    Cc: Greg Kroah-Hartman
    Cc: Alan Cox
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: Greg Ungerer

    Uwe Kleine-König
     

01 Dec, 2009

4 commits

  • There are a number of statements of the form A, B or A, B, C where
    the numbers A,B,C are not consecutive. However, referencing [1] it
    is the correct thing to replace these with A-B or A-C as apropriate.

    [1] http://www.copyrightservice.co.uk/copyright/p03_copyright_notices
    section 4iii 'Year of publication'

    Signed-off-by: Ben Dooks
    Signed-off-by: Simtec Linux Team
    Signed-off-by: Ben Dooks

    Ben Dooks
     
  • Many boards have a bug-free ns16550 compatible serial port, which we should
    register as PORT_16550A. This introduces a new value "ns16550a" for the
    compatible property of of_serial to let a firmware choose that model instead
    of using the crippled PORT_16550 mode.

    Reported-by: Alon Ziv
    Signed-off-by: Michal Simek
    Signed-off-by: Arnd Bergmann
    Signed-off-by: Greg Kroah-Hartman

    Michal Simek
     
  • The driver missed a small API change while sitting in Ralf's tree, this
    patch makes it compile again.

    Signed-off-by: Maxime Bizon
    Signed-off-by: Greg Kroah-Hartman

    Maxime Bizon
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
    sunsu: Use sunserial_console_termios() in sunsu_console_setup().
    sunsu: Pass true 'ignore_line' to console match when RSC or LOM console.
    serial: suncore: Fix RSC/LOM handling in sunserial_console_termios().
    serial: suncore: Add 'ignore_line' argument to sunserial_console_match().
    sunsu: Fix detection of SU ports which are RSC console or control.
    sunsab: Do not set sunsab_reg.cons right before registering minors.
    sparc64: Fix definition of VMEMMAP_SIZE.

    Linus Torvalds
     

29 Nov, 2009

2 commits

  • Most of the irq_req_t typedef'd struct can be re-worked quite
    easily:

    (1) IRQInfo2 was unused in any case, so drop it.

    (2) IRQInfo1 was used write-only, so drop it.

    (3) Instance (private data to be passed to the IRQ handler):
    Most PCMCIA drivers using pcmcia_request_irq() to actually
    register an IRQ handler set the "dev_id" to the same pointer
    as the "priv" pointer in struct pcmcia_device. Modify the two
    exceptions (ipwireless, ibmtr_cs) to also work this waym and
    set the IRQ handler's "dev_id" to p_dev->priv unconditionally.

    (4) Handler is to be of type irq_handler_t.

    (5) Handler != NULL already tells whether an IRQ handler is present.
    Therefore, we do not need the IRQ_HANDLER_PRESENT flag in
    irq_req_t.Attributes.

    CC: netdev@vger.kernel.org
    CC: linux-bluetooth@vger.kernel.org
    CC: linux-ide@vger.kernel.org
    CC: linux-wireless@vger.kernel.org
    CC: linux-scsi@vger.kernel.org
    CC: alsa-devel@alsa-project.org
    CC: Jaroslav Kysela
    CC: Jiri Kosina
    CC: Karsten Keil
    for the Bluetooth parts: Acked-by: Marcel Holtmann
    Signed-off-by: Dominik Brodowski

    Dominik Brodowski
     
  • Update remaining users and remove deprecated handle_to_dev() macro

    CC: Harald Welte
    CC: netdev@vger.kernel.org
    CC: linux-wireless@vger.kernel.org
    CC: linux-serial@vger.kernel.org
    Signed-off-by: Dominik Brodowski

    Dominik Brodowski
     

25 Nov, 2009

1 commit

  • The sh-sci code conditionalized the clock framework support in order to
    give the other platforms a chance to catch up. sh64 supported this some
    time ago and the forthcoming ARM changes handle this as well, this leaves
    h8300 as the odd one out. H8300 has had since 2.5 to merge it's sh-sci
    support upstream, and has yet to do so. At this point I will no longer be
    holding back the driver to support an unreponsive architecture, 7 years
    is quite enough of a grace period. Support is easily implemented on the
    architecture if and when it ever decides to merge its changes upstream.

    Signed-off-by: Paul Mundt

    Paul Mundt