12 Aug, 2008

4 commits

  • Convert printks to use dev_printk().

    Signed-off-by: Bjorn Helgaas
    Signed-off-by: Andrew Morton
    Signed-off-by: Dave Airlie

    Bjorn Helgaas
     
  • I think the intent was that if no bridges matched agp_amd64_pci_table[],
    we would fall back to checking for any bridge with the AGP capability.
    But in the current code, we execute the fallback path only when
    pci_register_driver() itself fails, which is unrelated to whether any
    matching devices were found.

    This patch counts the AGP bridges found in the probe() method and executes
    the fallback path when none is found.

    Signed-off-by: Bjorn Helgaas
    Signed-off-by: Andrew Morton
    Signed-off-by: Dave Airlie

    Bjorn Helgaas
     
  • Signed-off-by: Zhenyu Wang
    Cc: Dave Airlie
    Signed-off-by: Andrew Morton
    Signed-off-by: Dave Airlie

    Zhenyu Wang
     
  • While testing our KVM code for s390 (starting and killall kvm in a loop)
    I can reproduce the following oops:

    Unable to handle kernel pointer dereference at virtual kernel address 6b6b6b6b6b6b6000 Oops: 0038 [#1] SMP
    Modules linked in: dm_multipath sunrpc qeth_l3 qeth_l2 dm_mod qeth
    ccwgroup CPU: 1 Not tainted 2.6.27-rc1 #54
    Process kuli (pid: 4409, task: 00000000b6aa5940, ksp: 00000000b7343e10)
    Krnl PSW : 0704e00180000000 00000000002e0b8c
    (disassociate_ctty+0x1c0/0x288) R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:3
    CC:2 PM:0 EA:3 Krnl GPRS: 0000000000000000 6b6b6b6b6b6b6b6b
    0000000000000001 00000000000003a6 00000000002e0a46 00000000004b4160
    0000000000000001 00000000bbd79758 00000000b7343e58 00000000b8854148
    00000000bd34dea0 00000000b7343c20 0000000000000001 00000000004b6d08
    00000000002e0a46 00000000b7343c20 Krnl Code: 00000000002e0b7e:
    eb9fb0a00004 lmg %r9,%r15,160(%r11) 00000000002e0b84:
    07f4 bcr 15,%r4 00000000002e0b86:
    e31090080004 lg %r1,8(%r9) >00000000002e0b8c:
    d501109cd000 clc 156(2,%r1),0(%r13) 00000000002e0b92:
    a784ff5d brc 8,2e0a4c 00000000002e0b96:
    b9040029 lgr %r2,%r9 00000000002e0b9a:
    c0e5fffff9c3 brasl %r14,2dff20 00000000002e0ba0:
    a7f4ff56 brc 15,2e0a4c Call Trace:
    ([] disassociate_ctty+0x7a/0x288)
    [] do_exit+0x212/0x8d4
    [] do_group_exit+0x60/0xcc
    [] get_signal_to_deliver+0x270/0x3ac
    [] do_signal+0x8e/0x8dc
    [] sysc_sigpending+0xe/0x22
    [] 0x1ff0000b134
    INFO: lockdep is turned off.
    Last Breaking-Event-Address:
    [] disassociate_ctty+0x7c/0x288
    Kernel panic - not syncing: Fatal exception: panic_on_oops

    It seems that tty was already free in disassocate_ctty when it tries
    to dereference tty->driver.

    After moving the lock_kernel before the mutex_unlock, I can no longer
    reproduce the problem.

    [ This is a temporary partial fix for the documented and long standing
    race in disassociate_tty. This stops most problem cases for now.

    For the next release the -next tree has an initial implementation of
    kref counting for tty structures and this quickfix will be dropped.

    - Alan ]

    Signed-off-by: Christian Borntraeger
    Signed-off-by; Alan Cox
    Signed-off-by: Linus Torvalds

    Christian Borntraeger
     

09 Aug, 2008

3 commits

  • * 'for-linus-merged' of master.kernel.org:/home/rmk/linux-2.6-arm:
    [ARM] 5177/1: arm/mach-sa1100/Makefile: remove CONFIG_SA1100_USB
    [ARM] 5166/1: magician: add MAINTAINERS entry
    [ARM] fix pnx4008 build errors
    [ARM] Fix SMP booting with non-zero PHYS_OFFSET
    [ARM] 5185/1: Fix spi num_chipselect for lubbock
    [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach
    [ARM] Add support for arch/arm/mach-*/include and arch/arm/plat-*/include
    [ARM] Remove asm/hardware.h, use asm/arch/hardware.h instead
    [ARM] Eliminate useless includes of asm/mach-types.h
    [ARM] Fix circular include dependency with IRQ headers
    avr32: Use instead of
    avr32: Introduce arch/avr32/mach-*/include/mach
    avr32: Move include/asm-avr32 to arch/avr32/include/asm
    [ARM] sa1100_wdt: use reset_status to remember watchdog reset status
    [ARM] pxa: introduce reset_status and clear_reset_status for driver's usage
    [ARM] pxa: introduce reset.h for reset specific header information

    Linus Torvalds
     
  • Conflicts:

    drivers/watchdog/at91rm9200_wdt.c
    drivers/watchdog/davinci_wdt.c
    drivers/watchdog/ep93xx_wdt.c
    drivers/watchdog/ixp2000_wdt.c
    drivers/watchdog/ixp4xx_wdt.c
    drivers/watchdog/ks8695_wdt.c
    drivers/watchdog/omap_wdt.c
    drivers/watchdog/pnx4008_wdt.c
    drivers/watchdog/sa1100_wdt.c
    drivers/watchdog/wdt285.c

    Russell King
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (99 commits)
    pkt_sched: Fix actions referencing
    bnx2x: fix logical op
    tcp: (whitespace only) fix confusing indentation
    pkt_sched: Fix qdisc config when link is down.
    [Bluetooth] Add full quirk implementation for btusb driver
    [Bluetooth] Removal of unnecessary ignore module parameter
    [Bluetooth] Add parameters to control BNEP header compression
    ath9k: Revamp wireless mode usage
    ath9k: More unused macros
    ath9k: Remove a few unused macros and fix indentation
    ath9k: Use mac80211's band macros and remove enum hal_freq_band
    ath9k: Remove redundant data structure ath9k_txq_info
    ath9k: Cleanup data structures related to HW capabilities
    ath9k: work around gcc ICEs
    ath9k: Add new Atheros IEEE 802.11n driver
    ath5k: remove Atheros 11n devices from supported list
    list.h: add list_cut_position()
    list.h: Add list_splice_tail() and list_splice_tail_init()
    p54: swap short slot time dcf values
    rt2x00: Block all unsupported modes
    ...

    Linus Torvalds
     

08 Aug, 2008

1 commit

  • This driver was declared obsolete over 2 years ago, the alternative
    console driver for legacy iSeries (hvc_iseries) was made the default
    over 1 year ago and this driver has been build broken for over 3
    months, so remove it.

    Signed-off-by: Stephen Rothwell
    Signed-off-by: Linus Torvalds

    Stephen Rothwell
     

07 Aug, 2008

7 commits


05 Aug, 2008

3 commits


04 Aug, 2008

1 commit

  • from include/asm-powerpc. This is the result of a

    mkdir arch/powerpc/include/asm
    git mv include/asm-powerpc/* arch/powerpc/include/asm

    Followed by a few documentation/comment fixups and a couple of places
    where was being used explicitly. Of the latter only
    one was outside the arch code and it is a driver only built for powerpc.

    Signed-off-by: Stephen Rothwell
    Signed-off-by: Paul Mackerras

    Stephen Rothwell
     

02 Aug, 2008

1 commit

  • Currently function tty_ldisc_get() tries to load an ldisc driver module
    only when tty_ldisc_try_get() returns -EAGAIN. This happens only if
    module is being unloaded. If ldisc module is not loaded
    tty_ldisc_try_get() returns -EINVAL and this case is not handled in
    tty_ldisc_get(), so request_module() is not called.

    Attached patch fixes this by calling request_module() if
    tty_ldisc_try_get() returned any error code.

    I discovered this when my UMTS modem stopped working with 2.6.27-rc1
    because module ppp_async was not loaded.

    Signed-off-by: Eugeniy Meshcheryakov
    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Eugeniy Meshcheryakov
     

31 Jul, 2008

2 commits

  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
    powerpc/mm: Lockless get_user_pages_fast() for 64-bit (v3)
    powerpc: Don't use the wrong thread_struct for ptrace get/set VSX regs
    powerpc: Fix ptrace buffer size for VSX
    powerpc: Correctly hookup PTRACE_GET/SETVSRREGS for 32 bit processes
    ide/powermac: Fix use of uninitialized pointer on media-bay
    powerpc: Allow non-hcall return values for lparcfg writes
    ipmi/powerpc: Use linux/of_{device,platform}.h instead of asm
    powerpc/fsl: proliferate simple-bus compatibility to soc nodes
    Documentation: remove old sbc8260 board specific information
    cpm2: Rework baud rate generators configuration to support external clocks.
    powerpc: rtc_cmos_setup: assign interrupts only if there is i8259 PIC
    cpm_uart: Add generic clock API support to set baudrates
    cpm_uart: Modem control lines support
    powerpc: implement GPIO LIB API on CPM1 Freescale SoC.
    cpm2: Implement GPIO LIB API on CPM2 Freescale SoC.
    powerpc: Fix 8xx build failure
    powerpc: clean up the Book-E HW watchpoint support

    Linus Torvalds
     
  • The GET_MAJOR ioctl prints out a warning, make it ratelimited.

    Signed-off-by: Jiri Slaby
    Acked-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jiri Slaby
     

30 Jul, 2008

1 commit


29 Jul, 2008

1 commit

  • There's a brown paper bag compile failure introduced by this patch

    commit a01386924874c4d6d67f8a34e66f04452c2abb69
    Author: David Sterba
    Date: Mon Jul 28 16:53:32 2008 +0200

    ipwireless: Preallocate received packet buffers with MRU size

    Really, it can't ever have been even compile tested. It looks like the
    closing bracket is in the wrong place, so this is the fix.

    Signed-off-by: James Bottomley
    Signed-off-by: Linus Torvalds

    James Bottomley
     

28 Jul, 2008

15 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus:
    stop_machine: fix up ftrace.c
    stop_machine: Wean existing callers off stop_machine_run()
    stop_machine(): stop_machine_run() changed to use cpu mask
    Hotplug CPU: don't check cpu_online after take_cpu_down
    Simplify stop_machine
    stop_machine: add ALL_CPUS option
    module: fix build warning with !CONFIG_KALLSYMS

    Linus Torvalds
     
  • ipwireless: Preallocate received packet buffers with MRU size

    Packets are assembled from link size (~300 bytes) up to PPP MRU
    (1500 by default). Try to preallocate full size rather than
    repeatedly advance buffer size by 256 bytes.

    Signed-off-by: David Sterba
    Signed-off-by: Jiri Kosina
    Signed-off-by: Linus Torvalds

    David Sterba
     
  • ipwireless: Put packets to pool start

    Put packets to pool start, try to reuse cached memory.

    Signed-off-by: David Sterba
    Signed-off-by: Jiri Kosina
    Signed-off-by: Linus Torvalds

    David Sterba
     
  • ipwireless: Increase PPP outgoing queue size

    Increase default size of PPP outgoing queue. Currently set to 1, which
    means that a packet quickly following another pushed by PPP must wait
    until hardware actually sends the previous and PPP has to be waken up
    by ppp_wakeup(). This slows down upstream.

    Now PPP can push more packets at once which get buffered inside driver
    and pushed immediatelly to hardware when previous packet is out.

    Experiments show that size = 10 is quite good for all connection types
    (GPRS/EDGE/UMTS) and gains 4 KB/sec of upload for UMTS for batch uploads.
    Need for higher queue size than 10 occures in only < 0.1 % of cases.

    Signed-off-by: David Sterba
    Signed-off-by: Jiri Kosina
    Signed-off-by: Linus Torvalds

    David Sterba
     
  • ipwireless: Explicitly request io and mem regions

    Documentation/pcmcia/driver-changes.txt says, that driver should call request_region
    for used memory/io regions since PCMCIA does not do this (since 2.6.8).

    Signed-off-by: David Sterba
    Signed-off-by: Jiri Kosina
    Signed-off-by: Linus Torvalds

    David Sterba
     
  • ipwireless: Constify buffer variables

    Signed-off-by: David Sterba
    Signed-off-by: Jiri Kosina
    Signed-off-by: Linus Torvalds

    David Sterba
     
  • ipwireless: Do not return value from sending funcs

    Do not return value from do_send_fragment and do_send_packet, it's not used.
    The packet size checks are not useful too:

    * zero length packet will never be sent, caller always passes packet_header
    size which is either 1 or 3
    * MTU check is done in caller, no need to repeat

    Signed-off-by: David Sterba
    Signed-off-by: Jiri Kosina
    Signed-off-by: Linus Torvalds

    David Sterba
     
  • ipwireless: Remove endian-dependent bitfields

    Remove endian-dependent bitfields and use bitmasks to transform
    packet header bitfields from/to machine order.

    Signed-off-by: David Sterba
    Signed-off-by: Jiri Kosina
    Signed-off-by: Linus Torvalds

    David Sterba
     
  • ipwireless: Glue splitted printk strings back

    Signed-off-by: David Sterba
    Signed-off-by: Jiri Kosina
    Signed-off-by: Linus Torvalds

    David Sterba
     
  • ipwireless: Remove pt_regs from interrupt handler

    Signed-off-by: David Sterba
    Signed-off-by: Jiri Kosina
    Signed-off-by: Linus Torvalds

    David Sterba
     
  • ipwireless: Rename spinlock variables to lock

    Signed-off-by: David Sterba
    Signed-off-by: Jiri Kosina
    Signed-off-by: Linus Torvalds

    David Sterba
     
  • ipwireless: Remove unused defines

    Remove unused defines, defines hiding variables, defines hiding 0.

    Signed-off-by: David Sterba
    Signed-off-by: Jiri Kosina
    Signed-off-by: Linus Torvalds

    David Sterba
     
  • ipwireless: Misc cleanups

    - remove likely() and some extra () in ifs
    - use unsigned in for loops
    - remove useless typecasts
    - remove obvious comments
    - add () around ?:

    Signed-off-by: David Sterba
    Signed-off-by: Jiri Kosina
    Signed-off-by: Linus Torvalds

    David Sterba
     
  • Signed-off-by: Rusty Russell

    Rusty Russell
     
  • * master.kernel.org:/home/rmk/linux-2.6-arm:
    [ARM] Fix shared mmap when more than two maps of the same file exist
    [ARM] fix VIPT/VIVT macro optimisations, add comments
    [ARM] 5179/1: Replace obsolete IRQT_* and __IRQT_* values with IRQ_TYPE_*
    [ARM] update defconfig for eseries.
    [ARM] PXA: squash warning in pxafb
    [ARM] pxa: PXA25x UDC - Fix warning during build
    [ARM] fix nwflash.c: 6ee8928d94841aa764aeaf645ad16daff811dc26
    [ARM] fix IOP32x, IOP33x, MXC and Samsung builds
    [ARM] pci: provide dummy pci_get_legacy_ide_irq()
    [ARM] fix fls() for 64-bit arguments
    [ARM] fix mode for board-yl-9200.c
    [ARM] 5176/1: arm/Makefile: fix: ARM946T -> ARM946E

    Linus Torvalds
     

27 Jul, 2008

1 commit