[Karmic] SRU: Update to stable kernel

Leann Ogasawara leann.ogasawara at canonical.com
Thu Jan 7 00:32:04 GMT 2010

Hi All,


SRU Justification/Impact:

The stable kernel has recently been released.  The
Upstream Stable Kernel brings in 91 patches.  These have been applied
and pushed to the following tree for review.

git://kernel.ubuntu.com/smb/ubuntu-karmic.git preview


The upstream process for stable tree updates is quite similar in scope
to the Ubuntu SRU process, e.g., each patch has to demonstrably fix a
bug, and each patch is vetted by upstream by originating either directly
from Linus' tree or in a minimally backported form of that patch. The upstream stable patch set is now available. It should be
included in the Ubuntu kernel as well.




The 91 stable patches are as follows.  I've inlined my own review
comments (marked by #).  Stefan and Tim have already sent their reviews
as well.

Acked-by: Leann Ogasawara <leann.ogasawara at canonical.com>


commit 944c010bcef4f0e4e5167121dab6b3a09c90ba87
Author: zhao.ming9 at zte.com.cn <zhao.ming9 at zte.com.cn>

    USB: option: add pid for ZTE

# Adds new device id's.

commit 9b6950a5e8986e97dd195070443f866035dfc5ef
Author: Alan Stern <stern at rowland.harvard.edu>

    USB: usb-storage: fix bug in fill_inquiry

# Initialize buffer to prevent returning garbage

commit ed033bf1ff69361887b6a79cdf6131ed0931fbbc
Author: Jay Fenlason <fenlason at redhat.com>

    firewire: ohci: handle receive packets with a data length of zero

# Check for 0 length payload and return error if so.  Prevents potential

commit 11df973c127790d451a4365de7180c4f3f6ba030
Author: Jaroslav Kysela <perex at perex.cz>

    ALSA: hda - Terradici HDA controllers does not support 64-bit mode

# Disable 64bit DMA address for Teradici

commit 417cb778fa991b562e4c98151b274bd77d1a8b09
Author: Takashi Iwai <tiwai at suse.de>

    ALSA: hrtimer - Fix lock-up

# Avoid lock-up by setting a flag to check if in a running state or not
before proceeding

commit 264eaee38a94afb926d57e5c6df52013092d27bf
Author: Bob Copeland <me at bobcopeland.com>

    ath5k: allow setting txpower to 0

# if txpower is 0 don't reset it to AR5K_TUNE_DEFAULT_TXPOWER, just keep
it as 0

commit 0027ce4116e62c943f61f8db8cd92e0d538257a4
Author: Luis R. Rodriguez <lrodriguez at atheros.com>

    ath5k: enable EEPROM checksum check

# catches broken EEPROM's

commit 946b3840c95bab8ef96de7b1f6f738eb9ec08373
Author: Alexey Dobriyan <adobriyan at gmail.com>

    bsdacct: fix uid/gid misreporting

# fixes bug introduced in  properly set uid/gid.

commit f4173b24e1f6072177cf2354bb9e4337c99f4fa6
Author: Mathieu Desnoyers <mathieu.desnoyers at polymtl.ca>

    debugfs: fix create mutex racy fops and private data

# don't set fops and private data outside of mutex.  Instead pass them
as params to respective functions.

commit 1f5c6cef516b8ff4d5fe5f6976a5aad5b4ee9c06
Author: Sukadev Bhattiprolu <sukadev at linux.vnet.ibm.com>

    devpts_get_tty() should validate inode

# Fixes regression.  check that the dentry has not been deleted by

commit 7098a7420bc7c75253d785119d91be6ab15e18e5
Author: Andi Kleen <andi at firstfloor.org>

    futex: Take mmap_sem for get_user_pages in fault_in_user_writeable

# acquire mmap_sem prior to calling get_user_pages().  unfortunately the
commit log doesn't explain why this is necessary.

commit 1bbb1bc059ba2a38659b46d0be9bc58521373356
Author: Amerigo Wang <amwang at redhat.com>

    hfs: fix a potential buffer overflow

# return error if length > sizeof(entry) or < 0

commit 083e53a1b85947aa77a62d94aa5edc8b049e346f
Author: Feng Tang <feng.tang at intel.com>

    hrtimer: Fix /proc/timer_list regression

# fixes regression.  /proc/timer_list was printing incorrect info.
revert optimization introduced by commit 507e1231

commit 92f045e6754b67fdf6f32a5adafd48dbfa941192
Author: Theodore Ts'o <tytso at mit.edu>

    jbd2: don't wipe the journal on a failed journal checksum

# if there's a failed journal checksum, return error rather than
proceeding and resetting the journal.  Allows userspace to determine how
they want to recover.

commit b5939fce19ddfb6fd1edb613278d9b44d3f25e0a
Author: Carsten Otte <carsteno at de.ibm.com>

    KVM: s390: Make psw available on all exits, not just a subset

# Add processor status (psw_mask and psw_addr) to kvm_run struct so it
is available on all exits

commit daa991df23561fabbcbe1a6995f706de36a095ac
Author: NeilBrown <neilb at suse.de>

    md/bitmap: protect against bitmap removal while being updated.

# add mutex to protect calls to bitmap_daemon_work

commit 0454815409609fa916aef4e4ebea2ba1f5491532
Author: Sergei Shtylyov <sshtylyov at ru.mvista.com>

    pata_hpt{37x|3x2n}: fix timing register masks (take 2)

#  modify bitmasks.  will trust the author on this one.

commit 4fe58b9c552130fed9f71ef071a1befc7b9f67e8
Author: Igor Grinberg <grinberg at compulab.co.il>

    pxa/em-x270: fix usb hub power up/reset sequence

# rearrange function calls to a different order

commit c80c320eb1a88f22001e2083aa2472e0fa7c7f11
Author: Michael Buesch <mb at bu3sch.de>

    ssb: Fix range check in sprom write

# strip whitespace and then check length is the correct size.  helps
avoid bricking device.

commit d3854d8c3d27532a6c0fa988c3c6679c47e89ea5
Author: Roel Kluin <roel.kluin at gmail.com>

    SUNRPC: IS_ERR/PTR_ERR confusion

# Use PTR_ERR instead of IS_ERR since PRT_ERR returns the error value.

commit fa72330af584dc6d360f29493bf8c11b59f7cdf1
Author: Russ Dill <Russ.Dill at gmail.com>

    USB: Close usb_find_interface race v3

# Walk the bus device list instead of the driver device list and math
against driver *and* minor number.

commit 8820f3f2ebca46c9bd408d47e54c565fa92ca4e3
Author: Sergei Shtylyov <sshtylyov at ru.mvista.com>

    USB: musb_gadget_ep0: fix unhandled endpoint 0 IRQs, again

# remove line which sets ep0_state to MUSB_EP0_STAGE_SETUP

commit 670c58208d3b8c86e52fd5bcf43186c5f45aa8be
Author: Zhang Le <r0bertz at gentoo.org>

    USB: option.c: add support for D-Link DWM-162-U5

# Add new device id

commit 2e8ca1b618a6df647e0557317a8c0fc7f17c5988
Author: Alan Stern <stern at rowland.harvard.edu>

    USB: usb-storage: add BAD_SENSE flag

# Add BAD_SENSE flag to indicate that usb-storage should never ask for
more than 18 bytes of sense data

commit 0e8bd42b299f811fd38b5f1117127db741113b04
Author: Andre Herms <andre.herms at tec-venture.de>

    USB: usbtmc: repeat usb_bulk_msg until whole message is transfered

# wrap usb_bulk_msg() in a while loop to handle transfer of TMC messages
larger than the mas USB bulk size.  Otherwise ETIMEDOUT is returned and
device with hang.

commit 7803a65d537d5155d295ea6d0db79ee14cebf777
Author: Roel Kluin <roel.kluin at gmail.com>

    V4L/DVB: Fix test in copy_reg_bits()

# fix up comparison to use correct value

commit ba585c2b49ddcbfe80d59f7e85251da800dea5d9
Author: Dave Jones <davej at redhat.com>

    x86: Add new Intel CPU cache size descriptors

# Add support for 12MB, 18 MB, and 24MB cache size descriptors

commit 8126ef0cb78bd3c269566b275e631a4c94f0bede
Author: Joerg Roedel <joerg.roedel at amd.com>

    x86/amd-iommu: attach devices to pre-allocated domains early

# attach device to domains immediately after they are allocated

commit c165ffd0ee7e641d104fd419109be30edcf2622c
Author: Joerg Roedel <joerg.roedel at amd.com>

    x86/amd-iommu: un__init iommu_setup_msi

# drop __init from iommu_setup_msi() as the function could be called on
resume path

commit 8a44f81934aa1d687551dc20077dcb82af02b8a4
Author: Mikael Pettersson <mikpe at it.uu.se>

    x86, apic: Enable lapic nmi watchdog on AMD Family 11h

# Allow nmi watchdog to support 0x11 CPU family 

commit 066658b78bf5c50a6272603824851b327da5646f
Author: Leann Ogasawara <leann.ogasawara at canonical.com>

    x86: ASUS P4S800 reboot=bios quirk

# woot! I ack this one :)  a simple reboot quirk.

commit 03146ec8b52708f80f1bb5f90d27f090c60541ab
Author: Darrick J. Wong <djwong at us.ibm.com>

    x86, Calgary IOMMU quirk: Find nearest matching Calgary while walking up the PCI tree

# modify search for detecting calgary IOMMU

commit 671ca70a2f70399b42e632211f4c9c0c553506e9
Author: Tejun Heo <tj at kernel.org>

    x86: Fix iommu=nodac parameter handling

# Make sure iommu=nodac disables dac, not enable it.

commit 122bf2b6785292c8ac1bda3dcd438f2a83007ece
Author: Dave Jones <davej at redhat.com>

    x86: Fix typo in Intel CPU cache size descriptor

# should be 2MB so fix up value from 2038 to 2048

commit ca1e562dec3a5a740b775c88eb90c1104545d44b
Author: Joe Perches <joe at perches.com>

    x86: GART: pci-gart_64.c: Use correct length in strncmp

# string being compared is 9 chars, not 8.

commit 75471a7fb71d281a64cde5594a8bd3227f852af2
Author: Alex Deucher <alexdeucher at gmail.com>

    drm/radeon/kms: Add quirk for HIS X1300 board

# Adds board quirk

commit c632519756afce9ab483a1bdd3f14d09f00c2c55
Author: Alex Deucher <alexdeucher at gmail.com>

    drm/radeon/kms: fix legacy crtc2 dpms

# fixes masking

commit 2a4a323ff6d44b68fb7013f1233a61becdf03951
Author: Vasanthakumar Thiagarajan <vasanth at atheros.com>

    mac80211: Fix bug in computing crc over dynamic IEs in beacon

# replace BIT() macro to shift bit instead

commit 58493110046c7217f6171aa5f73cbfe30b3e7a43
Author: Naoya Horiguchi <n-horiguchi at ah.jp.nec.com>

    mm: hugetlb: fix hugepage memory leak in mincore()

# extend mincore() to support hugepages

commit 6d56cf9ae2582f7b35975368f4d2569833d20bc3
Author: Naoya Horiguchi <n-horiguchi at ah.jp.nec.com>

    mm: hugetlb: fix hugepage memory leak in walk_page_range()

# Add code to skip hugepages

commit 7c52c4436288e1eec78edaca6366658b33fb54e2
Author: Benjamin Herrenschmidt <benh at kernel.crashing.org>

    powerpc: Fix usage of 64-bit instruction in 32-bit altivec code

# replace compwi 64 bit only instruction with cmpdi which is supported
in both 32 and 64 bit.

commit 77e856d7f3de1bfb26f96314ed6e868fe4f38877
Author: Ian Jackson <ian.jackson at eu.citrix.com>

    Serial: Do not read IIR in serial8250_start_tx when UART_BUG_TXEN

# reading IIR clears some interrupts.  instead transmit once the buffer
is empty without reading IIR

commit 006e58040fd635e02d3edbbb85504e4231256390
Author: Mikulas Patocka <mpatocka at redhat.com>

    ide: Serialize CMD643 and CMD646 to fix a hardware bug with SSD

# add IDE_HFLAG_SERIALIZE flag to prevent corruption when SSD is
connected to one of the channels 

commit e7019386657e13cb3d82a5633a391c9af8a922a9
Author: Hemant Pedanekar <hemantp at ti.com>

    ide: fix ioctl to pass requested transfer mode to ide_find_dma_mode instead of UDMA6

# allow setting DMA not to just a fixed XFER_UDMA_6

commit 5ca1ee47549f9b269d062cb3c85cef89bfc5597a
Author: David S. Miller <davem at davemloft.net>

    Revert "ide: try to use PIO Mode 0 during probe if possible"

# resulted in set_pio_mode() being called before media was set up

commit 3b2ba9246647a216dcc03f4484849c8c77601dd6
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>

    slc90e66: fix UDMA handling

# Fix up check to bitwise and against a_speed, not u_speed.

commit 325e42185846fd6d82fdedc4010c6b2605fa7eb2
Author: Alexander Beregalov <a.beregalov at gmail.com>

    Au1x00: fix crash when trying register_netdev()

# set up device before calling register_netdev

commit 74dd6a2e8c47d58c362408d5c7ffa225ce955dbf
Author: Stanislav Brabec <sbrabec at suse.cz>

    b44 WOL setup: one-bit-off stack corruption kernel panic fix

# increment len after calling set_bit, not before

commit 88f921f674f5cca15fb550003d2d6cb83450e262
Author: David S. Miller <davem at davemloft.net>

    b44: Fix wedge when using netconsole.

# remove invalid KERN_ERR printk

commit ffa495ef3bad15580cfa8c119d15fe0227ee629c
Author: Herbert Xu <herbert at gondor.apana.org.au>

    gro: Fix illegal merging of trailer trash

# add check to return -E2BIG if skb_gro_len(p) != pinfo->gso_size

commit b1589c33ceab093fc7b5cb21b5116bc15965b081
Author: Patrick McHardy <kaber at trash.net>

    ip_fragment: also adjust skb->truesize for packets not owned by a socket

# move line to increment truesize even if packets not owned by socket

commit f9e03b95ee4186dcaabea36d6d285ee99d8f2db4
Author: David S. Miller <davem at davemloft.net>

    Revert "isdn: isdn_ppp: Use SKB list facilities instead of home-grown implementation."

# breaks ISDN B-channel bundling

commit d65e5e58537d8b09972ac37974d40d0ef7cec019
Author: Eric Dumazet <eric.dumazet at gmail.com>

    net: Fix the rollback test in dev_change_name()

# if err >= 0, goto rollback. otherwise print KERN_ERR

commit 3681f3e31bbe46da8c7fd3490f41e0abe93c0084
Author: Russell King - ARM Linux <linux at arm.linux.org.uk>

    NET: smc91x: Fix irq flags

# add check if irq_flags == -1

commit 0d1bb4e684935fce3fc71bdeb6c1fc89af8e59bb
Author: Steve Glendinning <steve.glendinning at smsc.com>

    smsc9420: prevent BUG() if ethtool is called with interface down

# add check for Null pointer

commit a5ad94d1e45df0cc29918fb5309ef85b99fc58c5
Author: Eric Dumazet <eric.dumazet at gmail.com>

    vlan: Fix register_vlan_dev() error path

# first delete group from hash table and then free group

commit bcb7797d596b725c2b6b11f24b9254385297261f
Author: David S. Miller <davem at davemloft.net>

    sparc64: Fix definition of VMEMMAP_SIZE.

# size was set too small.  use the size of the page struct, not page
struct pointer

commit 313775a1ae8d7d951810e173ce9295f07e5f2f78
Author: David S. Miller <davem at davemloft.net>

    sunsab: Do not set sunsab_reg.cons right before registering minors.

# doing so registers all serial devices as consoles

commit 93e2a9c73973b7f01cb56b33db8c9ac7bf35cfa7
Author: David S. Miller <davem at davemloft.net>

    sunsu: Fix detection of SU ports which are RSC console or control.

# Add another serial entry to su_match and add check if serial device is
su compatible

commit b4570691ba0d353bd98f5314685a7d9aa1e4b2db
Author: David S. Miller <davem at davemloft.net>

    serial: suncore: Add 'ignore_line' argument to sunserial_console_match().

# pass in ignore_line agrement which is then checked when determining if
the device is the OpenFirmware specified console

commit d96dc1bbc3a283da689c2ffd3c285056749c1956
Author: David S. Miller <davem at davemloft.net>

    serial: suncore: Fix RSC/LOM handling in sunserial_console_termios().

# Add checks for rsc-console, rsc-control, or lom-console and set mode

commit 7e75549c4c038ed122b885316a42da25eb0dff79
Author: David S. Miller <davem at davemloft.net>

    sunsu: Pass true 'ignore_line' to console match when RSC or LOM console.

# set ignore_line to ture if rsc-console or lom-console.  then pass
ignore_line to sunserial_console_match

commit da92966f64dbb6604c4a8fa8e35cc460cb1b9ee2
Author: David S. Miller <davem at davemloft.net>

    sunsu: Use sunserial_console_termios() in sunsu_console_setup().

# eliminates hardcoded values

commit 91c1e7f6a857670528d6dec7640e5c305cee14e6
Author: David S. Miller <davem at davemloft.net>

    sparc64: Don't specify IRQF_SHARED for LDC interrupts.

#  IRQF_DISABLED and IRQF_SHARED doen't work well together

commit ec5e87a33f85e49acde6ee737c27d48595dd456a
Author: David S. Miller <davem at davemloft.net>

    sparc64: Fix overly strict range type matching for PCI devices.

# allow for special case where a 64-bit address can map into 32-bit

commit 2b8d879954ca74e594fe17e30c2ea3a2b4ec893b
Author: David S. Miller <davem at davemloft.net>

    sparc64: Fix stack debugging IRQ stack regression.

# subtract STACK_BIAS from softirq range before comparison.  Also fixup
fail to jump to correct label.  

commit b77a21835581b8e2f7ee79dfe762ea5a2069ac6c
Author: David S. Miller <davem at davemloft.net>

    sparc: Set UTS_MACHINE correctly.

# Fix up UTS_MACHINE value for sparc32 and sparc64

commit 013fecfdb1d018458327634840f905249dc9b51d
Author: Jan Beulich <jbeulich at novell.com>

    x86/mce: Set up timer unconditionally

# move steup-timer call() so it's always called

commit ad7aadeeb580cbba64b211943fde3cd6e62708f1
Author: Larry Finger <Larry.Finger at lwfinger.net>

    b43legacy: avoid PPC fault during resume

# return 1 if b43_legacy_status < B43legacy_STAT_STARTED (ie 2)

commit 310c71f78108501de013b0af91214cfa92f1cbdd
Author: Larry Finger <Larry.Finger at lwfinger.net>

    p54usb: Remove DMA buffer from stack

# Fixes Warning.

commit a845dbd1d7be1e7cc7bfa2fbaa3fc73933411700
Author: Yong Wang <yong.y.wang at linux.intel.com>

    x86: Under BIOS control, restore AP's APIC_LVTTHMR to the BSP value

# prevents potential hang.  read initial value of thermal LVT entry on
BSP.  If bios takes control, use the same value on all AP's and leave
bios to control thermal monitoring interrupt.

commit 7aea74857b397f343696a468e569486cff76ff29
Author: Zhao Yakui <yakui.zhao at intel.com>

    ACPI: Use the ARB_DISABLE for the CPU which model id is less than 0x0f.

# we're already carrying this

commit 4874849b30b2e3050499b158c1f223f0d6ad5e57
Author: Corentin Chary <corentincj at iksaif.net>

    asus-laptop: change light sens default values.

# update default values to match the actual documented values in comments.
# Claims to fix LP Bug 222171

commit 176336ff117105de2d850a959ebd6142dafef2ee
Author: Jean Delvare <khali at linux-fr.org>

    backlight: lcd - Fix wrong sizeof

# use sizeof(ld->fb_notif), not sizeof(&ld->fb_notif)

commit 42af3061f5df34e985eb7b1f72f0e931207a6473
Author: Chris Wilson <chris at chris-wilson.co.uk>

    drm/i915: Avoid NULL dereference with component_only tv_modes

# Check if video_levels is Null.  We're already carrying this.

commit 28d6c0ba38968f5dcdcab5d861fc89eee20bf33f
Author: Zhenyu Wang <zhenyuw at linux.intel.com>

    drm/i915: Fix CRT hotplug detect by checking really no channels attached

# update to check if CRT_HOTPLUG_MONITOR_NONE

commit f316f8c1cc0a8449bc846bcb2839511198185db2
Author: Zhenyu Wang <zhenyuw at linux.intel.com>

    drm/i915: Fix LVDS stability issue on Ironlake

# be sure to disable LVDS port when disabling pipe.

commit ad7ce1cf569509e2f212267749f0ad75bd40b67a
Author: Jesse Barnes <jbarnes at virtuousgeek.org>

    drm/i915: save/restore BLC histogram control reg across suspend/resume

# we're already carrying this

commit 1c1f916747265cd65ba1896c20a93034c6c1ec17
Author: Zhenyu Wang <zhenyuw at linux.intel.com>

    drm/i915: PineView only has LVDS and CRT ports

# add macros to check device supported

commit e5a1a67df493b4c14a6e1e795b861d0dd8226529
Author: Jan Kara <jack at suse.cz>

    ext3: Fix data / filesystem corruption when write fails to copy data

#  prevent corruption.  call truncate_inode_pages prior to calling

commit bbf6e57f96f3a8d4b9e659aba01834b561f2abcd
Author: Simon Horman <horms at verge.net.au>

    ipvs: zero usvc and udest

# initialize to zero via memset

commit 2dcc81df4c1364aea736598cccbf751f03f5249b
Author: Zhu Yi <yi.zhu at intel.com>

    ipw2100: fix rebooting hang with driver loaded

# Add shutdown method to disable device on shutdown/reboot.

commit 257d82180713789bf57e59c9d32bdd1531c63a44
Author: David Woodhouse <David.Woodhouse at intel.com>

    jffs2: Fix long-standing bug with symlink garbage collection.

# change mdatalen to type int

commit 945d9a8325f6bc1f9fcb4221e5f8dab93e9e6718
Author: Alan Cox <alan at linux.intel.com>

    matroxfb: fix problems with display stability

# comment out matroxfb_DAC_out().  fixes regression.

commit 0723f2f0124da4cb5ccf260bebfa703b24c199a4
Author: Eric W. Biederman <ebiederm at xmission.com>

    net: Fix userspace RTM_NEWLINK notifications.

# move userspace notification to end of register_netdevice

commit 2ee1220bfed2bc6689be25b48d6840444c980647
Author: Henrique de Moraes Holschuh <hmh at hmh.eng.br>

    thinkpad-acpi: fix default brightness_mode for R50e/R51

# change default to TPACPI_BRGHT_Q_EC

commit e6fc9f756c26ea7b474e2c312c0c4a52cf4e7ab9
Author: Henrique de Moraes Holschuh <hmh at hmh.eng.br>

    thinkpad-acpi: preserve rfkill state across suspend/resume

# use firmware to resume with the radios in the previous state.  no
longer necessary to have bluetooth_suspend and wan_suspend so remove

commit 178b0bc768f87d3b1d32af590204d8162b517bf4
Author: Rafal Milecki <zajec5 at gmail.com>

    V4L/DVB (13116): gspca - ov519: Webcam 041e:4067 added.

# Add new id.

commit 0b1b72ba20a7d73136f57bb57ff8e2f3f79e62ad
Author: Darrick J. Wong <djwong at us.ibm.com>

    powerpc/therm_adt746x: Record pwm invert bit at module load time]

# Add pwm_inv to thermostat struct and recort pwm invert bit when the
driver is loaded.  Also write the bit into the fan control reg.

commit 66910003dbed5e9cc5499a8e3d207b96dd1c4026
Author: Li Peng <peng.li at linux.intel.com>

    drm/i915: Fix sync to vblank when VGA output is turned off

# we're already carrying this

commit 000d36ae52fc7df4be76719109180df61afbc7bc
Author: Greg Kroah-Hartman <gregkh at suse.de>


# update Makefile

More information about the kernel-team mailing list