20 Jan, 2010

1 commit

  • This patch updates the PFC code with some clarifying
    comments together with a functional change. The change
    allows function type of GPIO to select any type of enum
    in their MARK lists. Without this patch only function
    type of enums are allowed in MARK lists.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     

17 Jan, 2010

17 commits

  • * 'i2c-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
    i2c: Do not use device name after device_unregister
    i2c/pca: Don't use *_interruptible
    i2c-ali1563: Remove sparse warnings
    i2c: Test off by one in {piix4,vt596}_transaction()
    i2c-core: Storage class should be before const qualifier

    Linus Torvalds
     
  • …git/tip/linux-2.6-tip

    * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86, uv: Ensure hub revision set for all ACPI modes.
    x86, uv: Add function retrieving node controller revision number
    x86: xen: 64-bit kernel RPL should be 0
    x86: kernel_thread() -- initialize SS to a known state
    x86/agp: Fix agp_amd64_init and agp_amd64_cleanup
    x86: SGI UV: Fix mapping of MMIO registers
    x86: mce.h: Fix warning in header checks

    Linus Torvalds
     
  • Fix divide by zero and broken output. Commit 600ce1a0fa ("fix clock
    setting for Samsung SoC Framebuffer") introduced a mandatory refresh
    parameter to the platform data for the S3C framebuffer but did not
    introduce any validation code, causing existing platforms (none of which
    have refresh set) to divide by zero whenever the framebuffer is
    configured, generating warnings and unusable output.

    Ben Dooks noted several problems with the patch:

    - The platform data supplies the pixclk directly and should already
    have taken care of the refresh rate.
    - The addition of a window ID parameter doesn't help since only the
    root framebuffer can control the pixclk.
    - pixclk is specified in picoseconds (rather than Hz) as the patch
    assumed.

    and suggests reverting the commit so do that. Without fixing this no
    mainline user of the driver will produce output.

    [akpm@linux-foundation.org: don't revert the correct bit]
    Signed-off-by: Mark Brown
    Cc: InKi Dae
    Cc: Kyungmin Park
    Cc: Krzysztof Helt
    Cc: Marek Szyprowski
    Cc: Ben Dooks
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mark Brown
     
  • The function prototype mismatches in call stack:

    [] print_block_size+0x58/0x60
    [] sysdev_class_show+0x1f/0x30
    [] sysfs_read_file+0xcb/0x1f0
    [] vfs_read+0xc8/0x180

    Due to prototype mismatch, print_block_size() will sprintf() into
    *attribute instead of *buf, hence user space will read the initial
    zeros from *buf:
    $ hexdump /sys/devices/system/memory/block_size_bytes
    0000000 0000 0000 0000 0000
    0000008

    After patch:
    cat /sys/devices/system/memory/block_size_bytes
    0x8000000

    This complements commits c29af9636 and 4a0b2b4dbe.

    Signed-off-by: Wu Fengguang
    Cc: Andi Kleen
    Cc: Greg Kroah-Hartman
    Cc: "Zheng, Shaohui"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Wu Fengguang
     
  • Signed-off-by: Wu Fengguang
    Cc: Andi Kleen
    Cc: Greg KH
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Wu Fengguang
     
  • Fix fixes the following warnings by renaming the driver structures to be
    suffixed with _driver.

    WARNING: drivers/virtio/virtio_balloon.o(.data+0x88): Section mismatch in reference from the variable virtio_balloon to the function .devexit.text:virtballoon_remove()

    WARNING: drivers/char/hw_random/virtio-rng.o(.data+0x88): Section mismatch in reference from the variable virtio_rng to the function .devexit.text:virtrng_remove()

    Signed-off-by: Jeff Mahoney
    Acked-by: Rusty Russell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Mahoney
     
  • EDAC MC0: INTERNAL ERROR: channel-b out of range (4 >= 4)
    Kernel panic - not syncing: EDAC MC0: Uncorrected Error (XEN) Domain 0 crashed: 'noreboot' set - not rebooting.

    This happens because FERR_NF_FBD bit 28 is not updated on i5000. Due to
    that, both bits 28 and 29 may be equal to one, returning channel = 3. As
    this value is invalid, EDAC core generates the panic.

    Addresses http://bugzilla.kernel.org/show_bug.cgi?id=14568

    Signed-off-by: Tamas Vincze
    Signed-off-by: Mauro Carvalho Chehab
    Signed-off-by: Doug Thompson
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tamas Vincze
     
  • This is a new two finger touch Fujitsu Wacom Tablet PC.

    Signed-off-by: Ping Cheng
    Cc: Alan Cox
    Cc: Dmitry Torokhov
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ping
     
  • Fix a regression in hardware acceleration which made the accelerated
    framebuffer unusable on some chips. These need extra initialization and
    an extra flag which is no longer needed/available on current chips.

    Signed-off-by: Erik-Jan Post
    Signed-off-by: Florian Tobias Schandinat
    Cc: Scott Fang
    Cc: Joseph Chan
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Erik-Jan Post
     
  • Reorder viafb_set_par to allow using the updated variables in
    viafb_setmode. This fixes a regression that prevented proper runtime mode
    changes.

    Signed-off-by: Erik-Jan Post
    Signed-off-by: Florian Tobias Schandinat
    Cc: Scott Fang
    Cc: Joseph Chan
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Erik-Jan Post
     
  • Although I'd consider this a hardware bug, as there is hardware out that
    for whatever reason does not support hardware cursors on LCD output we
    have to care about it in the driver. This fixes a regression (invisible
    cursor) introduced by:

    viafb: cleanup viafb_cursor

    Signed-off-by: Florian Tobias Schandinat
    Reported-by: Julian Wollrath
    Tested-by: Julian Wollrath
    Cc: Scott Fang
    Cc: Joseph Chan
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Florian Tobias Schandinat
     
  • dev_dbg outputs dev_name, which is released with device_unregister. This bug
    resulted in output like this:

    i2c Xy2�0: adapter [SMBus I801 adapter at 1880] unregistered

    The right output would be:
    i2c i2c-0: adapter [SMBus I801 adapter at 1880] unregistered

    Signed-off-by: Thadeu Lima de Souza Cascardo
    Signed-off-by: Jean Delvare

    Thadeu Lima de Souza Cascardo
     
  • Unexpected signals can disturb the bus-handling and lock it up. Don't use
    interruptible in 'wait_event_*' and 'wake_*' as in commits
    dc1972d02747d2170fb1d78d114801f5ecb27506 (for cpm),
    1ab082d7cbd0f34e39a5396cc6340c00bc5d66ef (for mpc),
    b7af349b175af45f9d87b3bf3f0a221e1831ed39 (for omap).

    Signed-off-by: Wolfram Sang
    Signed-off-by: Jean Delvare

    Wolfram Sang
     
  • Remove the following sparse warnings (see "make C=1"):
    * drivers/i2c/busses/i2c-ali1563.c:91:3: warning: do-while statement
    is not a compound statement
    * drivers/i2c/busses/i2c-ali1563.c:161:3: warning: do-while statement
    is not a compound statement

    Signed-off-by: Márton Németh
    Signed-off-by: Jean Delvare

    Márton Németh
     
  • With `while (timeout++ < MAX_TIMEOUT)' timeout reaches MAX_TIMEOUT + 1
    after the loop. This is probably unlikely to produce a problem.

    Signed-off-by: Roel Kluin
    Signed-off-by: Jean Delvare

    Roel Kluin
     
  • The C99 specification states in section 6.11.5:

    The placement of a storage-class specifier other than at the beginning
    of the declaration specifiers in a declaration is an obsolescent
    feature.

    Signed-off-by: Tobias Klauser
    Signed-off-by: Jean Delvare

    Tobias Klauser
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/anholt/drm-intel:
    drm/i915: enable 36bit physical address for hardware status page
    drm/i915: fix eDP pipe mask
    drm/i915: fix pixel color depth setting on eDP
    drm/i915: parse eDP panel color depth from VBT block
    drm/i915: disable LVDS downclock by default
    drm/i915: Fix the incorrect cursor A bit definition in DSPFW2 register
    drm/i915: Remove chatty execbuf failure message.
    drm/i915: remove loop in Ironlake interrupt handler
    drm/i915: Don't wait interruptible for possible plane buffer flush
    drm/i915: try another possible DDC bus for the SDVO device with multiple outputs
    drm/i915: Read the response after issuing DDC bus switch command
    drm/i915: Don't use the child device parsed from VBT to setup HDMI/DP
    drm/i915: Fix resume regression on MSI Wind U100 w/o KMS
    drm/i915: Fix Ironlake M/N/P ranges to match the spec
    drm/i915: Use find_pll function to calculate DPLL setting for LVDS downclock
    drm/i915: Add HP nx9020/SamsungSX20S to ACPI LID quirk list
    drm/i915: disable TV hotplug status check

    Trivial conflicts in drivers/gpu/drm/i915/i915_drv.c due to i915
    non-modeset suspend fix with different comment.

    Linus Torvalds
     

16 Jan, 2010

10 commits


15 Jan, 2010

4 commits

  • Add a missing iterator variable thus fixing the conditional of the
    for-loop in amd64_get_scrub_rate().

    Signed-off-by: Roel Kluin
    Signed-off-by: Borislav Petkov

    Roel Kluin
     
  • The sh-sci driver used the wrong fifosize for PORT_SCIFA and PORT_SCIF
    ports. If an incorrect size is used, the serial core will enforce an
    early shutdown on the port, especially with baudrates < 9600.

    Signed-off-by: Markus Pietrek
    Signed-off-by: Paul Mundt

    Markus Pietrek
     
  • * 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6:
    [S390] tape_char: add missing compat_ptr conversion
    [S390] zcrypt: add sanity check before copy_from_user()
    [S390] unwire sys_recvmmsg again
    [S390] con3215: remove empty ioctl function
    [S390] dasd: add proper compat pointer conversion for symmetrix ioctl
    [S390] mmap: add missing compat_ptr conversion to both mmap compat syscalls
    [S390] bug: implement arch specific __WARN macro
    [S390] Move __cpu_logical_map to smp.c
    [S390] tape_block: remove ioctl function
    [S390] smp: remove volatile type quilifier from __cpu_logical_map
    [S390] smp: setup smp_processor_id early
    [S390] use helpers for rlimits
    [S390] fs3270: add missing compat ptr conversion
    [S390] vmcp: add missing compat ptr conversion
    [S390] cio: add missing compat ptr conversion
    [S390] dasd: add missing compat ptr conversion
    [S390] remove superfluous TIF_USEDFPU bit
    [S390] duplicate SIGTRAP on signal delivery.
    [S390] clear TIF_SINGLE_STEP for new process.
    [S390] fix loading of PER control registers for utrace.

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (34 commits)
    net: fix build erros with CONFIG_BUG=n, CONFIG_GENERIC_BUG=n
    ipv6: skb_dst() can be NULL in ipv6_hop_jumbo().
    tg3: Update copyright and driver version
    tg3: Disable 5717 serdes and B0 support
    tg3: Add reliable serdes detection for 5717 A0
    tg3: Fix std rx prod ring handling
    tg3: Fix std prod ring nicaddr for 5787 and 57765
    sfc: Fix conditions for MDIO self-test
    sfc: Fix polling for slow MCDI operations
    e1000e: workaround link issues on busy hub in half duplex on 82577/82578
    e1000e: MDIO slow mode should always be done for 82577
    ixgbe: update copyright dates
    ixgbe: Do not attempt to perform interrupts in netpoll when down
    cfg80211: fix refcount imbalance when wext is disabled
    mac80211: fix queue selection for data frames on monitor interfaces
    iwlwifi: silence buffer overflow warning
    iwlwifi: disable tx on beacon update notification
    iwlwifi: fix iwl_queue_used bug when read_ptr == write_ptr
    mac80211: fix endian error
    mac80211: add missing sanity checks for action frames
    ...

    Linus Torvalds
     

14 Jan, 2010

8 commits

  • This patch updates the copyright notice for 2010 and updates the version
    number to 3.106.

    Signed-off-by: Matt Carlson
    Reviewed-by: Michael Chan
    Signed-off-by: David S. Miller

    Matt Carlson
     
  • The B0 revision of the 5717 will not get enough testing by the time
    2.6.33 ships. Since the kernel is already at RC3, serdes support
    will require too many patches to fix. For these reasons, this patch
    disables 5717 serdes support and will refuse to attach to all 5717
    devices that are later than an A0 revision.

    Signed-off-by: Matt Carlson
    Reviewed-by: Michael Chan
    Signed-off-by: David S. Miller

    Matt Carlson
     
  • The serdes status bit does not work as intended for the 5717 A0.
    This patch implements an alternative detection scheme that will only be
    valid for A0 revisions.

    Signed-off-by: Matt Carlson
    Reviewed-by: Michael Chan
    Signed-off-by: David S. Miller

    Matt Carlson
     
  • There are some tg3 devices that require the driver to post new rx
    buffers in smaller increments. Commit
    4361935afe3abc3e5a93006b99197fac1fabbd50, "tg3: Consider
    rx_std_prod_idx a hw mailbox" changed how the driver tracks the rx
    producer ring updates, but it does not make any special considerations
    for the above-mentioned devices. For those devices, it is possible for
    the driver to hit the special case path, which updates the hardware
    mailbox register but skips updating the shadow software mailbox member.
    If the special case path represents the final mailbox update for this
    ISR iteration, the hardware and software mailbox values will be out of
    sync. Ultimately, this will cause the driver to use a stale mailbox
    value on the next iteration, which will appear to the hardware as a
    large rx buffer update. Bad things ensue.

    The fix is to update the software shadow mailbox member when the special
    case path is taken.

    Signed-off-by: Matt Carlson
    Reviewed-by: Michael Chan
    Reported-by: Dmitry Torokhov
    Signed-off-by: David S. Miller

    Matt Carlson
     
  • Commit 87668d352aa8d135bd695a050f18bbfc7b50b506, titled "tg3: Don't
    touch RCB nic addresses", tried to avoid assigning the nic address of
    the standard producer ring. Unfortunately, the default nic address is
    not correct for the 5787, the 5755M, or the 57765. This patch
    reenables the old behavior and opts out of the assignment only
    for the 5717.

    Signed-off-by: Matt Carlson
    Reviewed-by: Michael Chan
    Tested-by: Chow Loong Jin
    Tested-by: Dmitry Torokhov
    Signed-off-by: David S. Miller

    Matt Carlson
     
  • The MDIO self-test should not be run on boards without an MDIO PHY,
    such as SFN5122F-R3 and later revisions. It should also not try to
    address a specific MMD in an MDIO clause 22 PHY. Check the
    mode_support field to decide which mode to use, if any.

    Signed-off-by: Ben Hutchings
    Signed-off-by: David S. Miller

    Ben Hutchings
     
  • When the interface is down and we are using polled mode for MCDI
    operations, we busy-wait for completion for approximately 1 jiffy
    using udelay() and then back off to schedule(). But the completion
    will not wake the task, since we are using polled mode! We must use
    schedule_timeout_uninterruptible() instead.

    Signed-off-by: Ben Hutchings
    Signed-off-by: David S. Miller

    Ben Hutchings
     
  • This patch removes a delay in hardware after every received packet allowing
    more time for transmitted packets to go out in between received packets in
    half duplex.

    Signed-off-by: Bruce Allan
    Signed-off-by: Jeff Kirsher
    Signed-off-by: David S. Miller

    Bruce Allan