03 Nov, 2009

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (21 commits)
    mac80211: check interface is down before type change
    cfg80211: fix NULL ptr deref
    libertas if_usb: Fix crash on 64-bit machines
    mac80211: fix reason code output endianness
    mac80211: fix addba timer
    ath9k: fix misplaced semicolon on rate control
    b43: Fix DMA TX bounce buffer copying
    mac80211: fix BSS leak
    rt73usb.c : more ids
    ipw2200: fix oops on missing firmware
    gre: Fix dev_addr clobbering for gretap
    sky2: set carrier off in probe
    net: fix sk_forward_alloc corruption
    pcnet_cs: add cis of PreMax PE-200 ethernet pcmcia card
    r8169: Fix card drop incoming VLAN tagged MTU byte large jumbo frames
    ibmtr: possible Read buffer overflow?
    net: Fix RPF to work with policy routing
    net: fix kmemcheck annotations
    e1000e: rework disable K1 at 1000Mbps for 82577/82578
    e1000e: config PHY via software after resets
    ...

    Linus Torvalds
     

30 Oct, 2009

1 commit


29 Oct, 2009

4 commits

  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
    powerpc/ppc64: Use preempt_schedule_irq instead of preempt_schedule
    powerpc: Minor cleanup to lib/Kconfig.debug
    powerpc: Minor cleanup to sound/ppc/Kconfig
    powerpc: Minor cleanup to init/Kconfig
    powerpc: Limit memory hotplug support to PPC64 Book-3S machines
    powerpc: Limit hugetlbfs support to PPC64 Book-3S machines
    powerpc: Fix compile errors found by new ppc64e_defconfig
    powerpc: Add a Book-3E 64-bit defconfig
    powerpc/booke: Fix xmon single step on PowerPC Book-E
    powerpc: Align vDSO base address
    powerpc: Fix segment mapping in vdso32
    powerpc/iseries: Remove compiler version dependent hack
    powerpc/perf_events: Fix priority of MSR HV vs PR bits
    powerpc/5200: Update defconfigs
    drivers/serial/mpc52xx_uart.c: Use UPIO_MEM rather than SERIAL_IO_MEM
    powerpc/boot/dts: drop obsolete 'fsl5200-clocking'
    of: Remove nested function
    mpc5200: support for the MAN mpc5200 based board mucmc52
    mpc5200: support for the MAN mpc5200 based board uc101

    Linus Torvalds
     
  • The IBM Saturn serial card has only one port. Without that fixup,
    the kernel thinks it has two, which confuses userland setup and
    admin tools as well.

    [akpm@linux-foundation.org: fix pci-ids.h layout]
    Signed-off-by: Benjamin Herrenschmidt
    Acked-by: Alan Cox
    Cc: Michael Reed
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Benjamin Herrenschmidt
     
  • Add support for ADDI-DATA GmbH PCI-Express communication cards:

    APCIe-7300
    APCIe-7420
    APCIe-7500
    APCIe-7800

    Warning: 8250_pci.c depends on pci_ids.h. 8250_pci.c

    Signed-off-by: Krauth Julien
    Acked-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Krauth.Julien
     
  • is_power_of_2() appears not to be constant enough for BUILD_BUG_ON()
    after the latest rework, so replace it with an open-coded test.

    Signed-off-by: Haavard Skinnemoen
    Cc: Uwe Kleine-König
    Cc: Jan Beulich
    Cc: Haavard Skinnemoen
    Cc: Alan Cox
    Cc: Nicolas Ferre
    Cc: Claudio Scordino
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Haavard Skinnemoen
     

28 Oct, 2009

1 commit


15 Oct, 2009

1 commit


13 Oct, 2009

1 commit


09 Oct, 2009

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (40 commits)
    ethoc: limit the number of buffers to 128
    ethoc: use system memory as buffer
    ethoc: align received packet to make IP header at word boundary
    ethoc: fix buffer address mapping
    ethoc: fix typo to compute number of tx descriptors
    au1000_eth: Duplicate test of RX_OVERLEN bit in update_rx_stats()
    netxen: Fix Unlikely(x) > y
    pasemi_mac: ethtool get settings fix
    add maintainer for network drop monitor kernel service
    tg3: Fix phylib locking strategy
    rndis_host: support ETHTOOL_GPERMADDR
    ipv4: arp_notify address list bug
    gigaset: add kerneldoc comments
    gigaset: correct debugging output selection
    gigaset: improve error recovery
    gigaset: fix device ERROR response handling
    gigaset: announce if built with debugging
    gigaset: handle isoc frame errors more gracefully
    gigaset: linearize skb
    gigaset: fix reject/hangup handling
    ...

    Linus Torvalds
     

05 Oct, 2009

1 commit


03 Oct, 2009

1 commit

  • * master.kernel.org:/home/rmk/linux-2.6-arm: (25 commits)
    ARM: 5728/1: Proper prefetch abort handling on ARMv6 and ARMv7
    ARM: 5727/1: Pass IFSR register to do_PrefetchAbort()
    ARM: 5740/1: fix valid_phys_addr_range() range check
    ARM: 5739/1: ARM: allow empty ATAG_CORE
    ARM: 5735/1: sa1111: CodingStyle cleanups
    ARM: 5738/1: Correct TCM documentation
    ARM: 5734/1: arm: fix compilation of entry-common.S for older CPUs
    ARM: 5733/1: fix bcmring compile error
    ARM: 5732/1: remove redundant include file
    ARM: 5731/2: Fix U300 generic GPIO, remove ifdefs from MMCI v3
    ARM: Ensure do_cache_op takes mmap_sem
    ARM: Fix __cpuexit section mismatch warnings
    ARM: Don't allow highmem on SMP platforms without h/w TLB ops broadcast
    ARM: includecheck fix: mach-davinci, board-dm365-evm.c
    ARM: Remove unused CONFIG SA1100_H3XXX
    ARM: Fix warning: unused variable 'highmem'
    ARM: Fix warning: #warning syscall migrate_pages not implemented
    ARM: Fix SA11x0 clocksource warning
    ARM: Fix SA1100 Neponset serial section mismatch
    ARM: Fix SA1100 Assabet/Neponset PCMCIA section mismatch warnings
    ...

    Linus Torvalds
     

02 Oct, 2009

4 commits


01 Oct, 2009

1 commit


29 Sep, 2009

1 commit

  • WARNING: vmlinux.o(.devinit.text+0x524): Section mismatch in reference from the function neponset_probe() to the function .init.text:sa1100_register_uart_fns()
    The function __devinit neponset_probe() references
    a function __init sa1100_register_uart_fns().
    If sa1100_register_uart_fns is only used by neponset_probe then
    annotate sa1100_register_uart_fns with a matching annotation.

    Signed-off-by: Russell King
    Acked-by: Sam Ravnborg

    Russell King
     

25 Sep, 2009

3 commits

  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
    Fix build of cpm_uart due to core changes
    powerpc/8xx: Fix regression introduced by cache coherency rewrite
    powerpc/4xx: Fix erroneous xmon warning on PowerPC 4xx
    powerpc/mm: Fix 40x and 8xx vs. _PAGE_SPECIAL
    powerpc: Cleanup linker script using new linker script macros.
    powerpc: Fix ibm,client-architecture-support printout
    powerpc: Increase NODES_SHIFT on 64bit from 4 to 8
    powerpc/perf_counter: Fix vdso detection
    powerpc: Move 64bit heap above 1TB on machines with 1TB segments
    powerpc: Change archdata dma_data to a union
    powerpc: Rename get_dma_direct_offset get_dma_offset
    powerpc/mm: Remove duplicated #include
    powerpc/book3e-64: Remove duplicated #include
    powerpc: Check for unsupported relocs when using CONFIG_RELOCATABLE
    powerpc/pmc: Don't access lppaca on Book3E
    powerpc: kmalloc failure ignored in vio_build_iommu_table()
    hvc_console: Provide (un)locked version for hvc_resize()

    Linus Torvalds
     
  • * 'for-linus' of git://repo.or.cz/cris-mirror:
    CRIS: Cleanup linker script using new linker script macros.
    ARRAY_SIZE changes
    CRIS: convert to asm-generic/hardirq.h
    CRISv10: Don't autonegotiate if autonegotiation is off
    CRIS: fix defconfig build failure
    CRIS: add pgprot_noncached

    Linus Torvalds
     
  • Conflicts:
    MAINTAINERS

    Russell King
     

24 Sep, 2009

2 commits

  • Commit ebd2c8f6d2ec4012c267ecb95e72a57b8355a705 "serial: kill off uart_info"

    broke the build of this driver, this fixes it.

    Signed-off-by: Benjamin Herrenschmidt

    Benjamin Herrenschmidt
     
  • Fix new kernel-doc warnings in serial_core.[hc] files.

    Warning(include/linux/serial_core.h:485): No description found for parameter 'uport'
    Warning(include/linux/serial_core.h:485): Excess function parameter 'port' description in 'uart_handle_dcd_change'
    Warning(include/linux/serial_core.h:511): No description found for parameter 'uport'
    Warning(include/linux/serial_core.h:511): Excess function parameter 'port' description in 'uart_handle_cts_change'
    Warning(drivers/serial/serial_core.c:2437): No description found for parameter 'uport'
    Warning(drivers/serial/serial_core.c:2437): Excess function parameter 'port' description in 'uart_add_one_port'
    Warning(drivers/serial/serial_core.c:2509): No description found for parameter 'uport'
    Warning(drivers/serial/serial_core.c:2509): Excess function parameter 'port' description in 'uart_remove_one_port'

    Signed-off-by: Randy Dunlap
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     

23 Sep, 2009

2 commits

  • This makes it consistent with other buses (platform, i2c, vio, ...). I'm
    not sure why we use the prefixes, but there must be a reason.

    This was easy enough to do it, and I did it.

    Signed-off-by: Anton Vorontsov
    Cc: David Brownell
    Cc: David Woodhouse
    Cc: Grant Likely
    Cc: Jean Delvare
    Cc: Ben Dooks
    Cc: Benjamin Herrenschmidt
    Cc: Dmitry Torokhov
    Cc: Samuel Ortiz
    Cc: "John W. Linville"
    Acked-by: Mike Frysinger
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Anton Vorontsov
     
  • Russell King
     

21 Sep, 2009

1 commit


20 Sep, 2009

14 commits

  • Adapt isr to work with shared interrupt lines.

    Signed-off-by: Peter Korsgaard
    Signed-off-by: Greg Kroah-Hartman

    Peter Korsgaard
     
  • Commit b5b82df6, from May 2007, breaks no_console_suspend on the OLPC
    XO laptop. Basically what happens is that upon returning from resume,
    serial8250_resume_port() will reconfigure the port for high speed
    mode and all console output will be garbled, making debug of the
    resume path painful. This patch modifies uart_resume_port() to
    reset the port to the state it was in before we suspended.

    Original patch by Marcelo Tosatti

    Second patch by Deepak then reworked by Alan to fit with the tty changes
    before it got submitted. Also fixed the console path to set c_i/ospeed as
    some drivers require the termios fields are valid

    Signed-off-by: Deepak Saxena
    Signed-off-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    Deepak Saxena
     
  • Initially just use the helper and thus krefs when we set and clear the
    port values.

    Signed-off-by: Alan Cox

    Alan Cox
     
  • The serial layer for some reason uses different defines for the special
    case close delays and then conditionally switches to/from the normal ones
    in the ioctls.

    Remove this rather pointless abstraction

    Signed-off-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    Alan Cox
     
  • This little helper is now tty_port specific and useful generally so move it

    Signed-off-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    Alan Cox
     
  • This is used by various drivers not just serial and can be extracted
    as commonality

    Signed-off-by: Alan Cox

    Alan Cox
     
  • They cover essentially the same stuff and we can therefore fold it into the
    tty_port one.

    Signed-off-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    Alan Cox
     
  • Fortunately the serial layer was designed to use the same flag values but
    with different names. It has its own SUSPENDED flag which is a free slot in
    the ASYNC flags so we allocate it in the ASYNC flags instead.

    Signed-off-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    Alan Cox
     
  • Remove more stuff from the serial special case code

    Signed-off-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    Alan Cox
     
  • Extract out a lot of the x.port. uses and also show up where there are
    things left to be isolated that prevent use using the port helpers in the
    serial layer at this point

    Signed-off-by: Alan Cox

    Alan Cox
     
  • Remove some more serial specific use

    Signed-off-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    Alan Cox
     
  • We moved this into uart_state, now move the fields out of the separate
    structure and kill it off.

    Signed-off-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    Alan Cox
     
  • A platform clock drives 8250 ports in most SOC systems, the clock
    might run at high frequencies, and so it's not always possible to
    downscale uart clock to a desired value.

    Currently the 8250 uart driver accepts not supported baud rates, and
    what is worse, it is doing this silently, and then passes not accepted
    values to a new termios, so userspace has no chance to catch this kind
    of errors (userspace verifies that settings were accepted by reading
    back and comparing the settings).

    This patch fixes the issue by passing minimum baud rate to the
    uart_get_baud_rate() call, the call should take care of all bounds,
    so userspace should now report:

    # stty -F /dev/ttyS0 speed 300
    115200
    stty: /dev/ttyS0: unable to perform all requested operations

    p.s. uart_get_baud_rate() falls back to 9600, which still might be too
    low for some 10 GHz platforms, but that's a separate issue, and
    we can wait with fixing this till we find such a platform.

    Signed-off-by: Anton Vorontsov
    Signed-off-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    Anton Vorontsov
     
  • There is currently no provision for passing IRQ trigger flags for
    serial IRQs with triggering requirements (such as GPIO IRQs)

    This patch adds irqflags to plat_serial8250_port that can be passed
    from board file to reqest_irq() of 8250 driver

    Changes are backward compatible with boards passing UPF_SHARE_IRQ flag

    Tested on Zoom2 board that has IRQF_TRIGGER_RISING requirement for 8250 irq

    [Moved new flag to end to fix bugs in the original with the old_serial array
    -- Alan]

    Signed-off-by: Vikram Pandita
    Signed-off-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    Vikram Pandita