[ 177/187] mm: Hold a file reference in madvise_remove

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit 9ab4233dd08036fe34a89c7dc6f47a8bf2eb29eb upstream. Otherwise the code races with munmap (causing a use-after-free of the vma) or with close (causing a

[ 172/187] macvtap: zerocopy: validate vectors before building skb

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang commit b92946e2919134ebe2a4083e4302236295ea2a73 upstream. There're several reasons that the vectors need to be validated: - Return error when caller provides

[ 178/187] md/raid5: Do not add data_offset before call to is_badblock

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: majianpeng commit 6c0544e255dd6582a9899572e120fb55d9f672a4 upstream. In chunk_aligned_read() we are adding data_offset before calling is_badblock. But is_badblock also adds

[ 171/187] rtl8187: ->brightness_set can not sleep

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Stanislaw Gruszka commit 0fde0a8cfd0ede7f310d6a681c8e5a7cb3e32406 upstream. Fix: BUG: sleeping function called from invalid context at kernel/workqueue.c:2547 in_atomic(): 1,

[ 181/187] drivers/rtc/rtc-spear.c: fix use-after-free in spear_rtc_remove()

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Devendra Naga commit 2a643893e50fde71d7ba84b5592ec61b467b9ab6 upstream. `config' is freed and is then used in the rtc_device_unregister() call, causing a kernel panic.

[ 183/187] drivers/rtc/rtc-mxc.c: fix irq enabled interrupts warning

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Beno=C3=AEt=20Th=C3=A9baudeau?= commit b59f6d1febd6cbe9fae4589bf72da0ed32bc69e0 upstream. Fixes WARNING: at irq/handle.c:146 handle_irq_event_percpu+0x19c/0x1b8()

[ 184/187] mm, thp: abort compaction if migration page cannot be charged to memcg

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: David Rientjes commit 4bf2bba3750f10aa9e62e6949bc7e8329990f01b upstream. If page migration cannot charge the temporary page to the memcg, migrate_pages() will return -ENOMEM.

RE: [PATCH 3/4] zsmalloc: add details to zs_map_object boiler plate

2012-07-12 Thread Dan Magenheimer
> From: Dan Magenheimer > Subject: RE: [PATCH 3/4] zsmalloc: add details to zs_map_object boiler plate > > > From: Minchan Kim [mailto:minc...@kernel.org] > > Subject: Re: [PATCH 3/4] zsmalloc: add details to zs_map_object boiler plate > > > > On Wed, Jul 11, 2012 at 09:15:43AM -0500, Seth

[ 185/187] fs: ramfs: file-nommu: add SetPageUptodate()

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Bob Liu commit fea9f718b3d68147f162ed2d870183ce5e0ad8d8 upstream. There is a bug in the below scenario for !CONFIG_MMU: 1. create a new file 2. mmap the file and write to it

[ 187/187] ocfs2: fix NULL pointer dereference in __ocfs2_change_file_space()

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Luis Henriques commit a4e08d001f2e50bb8b3c4eebadcf08e5535f02ee upstream. As ocfs2_fallocate() will invoke __ocfs2_change_file_space() with a NULL as the first parameter (file),

[ 180/187] memory hotplug: fix invalid memory access caused by stale kswapd pointer

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jiang Liu commit d8adde17e5f858427504725218c56aef90e90fc7 upstream. kswapd_stop() is called to destroy the kswapd work thread when all memory of a NUMA node has been offlined.

[ 186/187] memblock: free allocated memblock_reserved_regions later

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Yinghai Lu commit 29f6738609e40227dabcc63bfb3b84b3726a75bd upstream. memblock_free_reserved_regions() calls memblock_free(), but memblock_free() would double reserved.regions

[ 182/187] drivers/rtc/rtc-ab8500.c: use IRQF_ONESHOT when requesting a threaded IRQ

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Lee Jones commit 3cfd16a551dc0c188160e1765168a04baf2d3198 upstream. This driver's IRQ registration is failing because the kernel now forces IRQs to be ONESHOT if no IRQ handler

[ 179/187] staging:iio:ad7606: Re-add missing scale attribute

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen commit 279bf2e57c30c9a4482b2b6ede11b31c41e35e78 upstream. Commit 50ac23be ("staging:iio:adc:ad7606 add local define for chan_spec structures.") accidentally

[ 176/187] drm/i915: rip out the PM_IIR WARN

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Vetter commit 58bf8062d0b293b8e1028e5b0342082002886bd4 upstream. After banging my head against this for the past few months, I still don't see how this could possible

[ 166/187] raid5: delayed stripe fix

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li commit fab363b5ff502d1b39ddcfec04271f5858d9f26e upstream. There isn't locking setting STRIPE_DELAYED and STRIPE_PREREAD_ACTIVE bits, but the two bits have

[ 153/187] usb: Add support for root hub port status CAS

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Stanislaw Ledwon commit 8bea2bd37df08aaa599aa361a9f8b836ba98e554 upstream. The host controller port status register supports CAS (Cold Attach Status) bit. This bit could be set

[ 160/187] NFS: hard-code init_net for NFS callback transports

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Stanislav Kinsbursky upstream commit 12918b10d59e975fd5241eef03ef9e6d5ea3dcfe. In case of destroying mount namespace on child reaper exit, nsproxy is zeroed to the point

[ 157/187] Lockd: pass network namespace to creation and destruction routines

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Stanislav Kinsbursky upstream commit e3f70eadb7dddfb5a2bb9afff7abfc6ee17a29d0. v2: dereference of most probably already released nlm_host removed in nlmclnt_done() and

[ 150/187] USB: cdc-wdm: fix lockup on error in wdm_read

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= commit b086b6b10d9f182cd8d2f0dcfd7fd11edba93fc9 upstream. Clear the WDM_READ flag on empty reads to avoid running forever in an infinite tight

[ 151/187] USB: option: add ZTE MF60

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= commit 8e16e33c168a6efd0c9f7fa9dd4c1e1db9a74553 upstream. Switches into a composite device by ejecting the initial driver CD. The four interfaces

[ 146/187] SCSI: Fix NULL dereferences in scsi_cmd_to_driver

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Mark Rustad commit 222a806af830fda34ad1f6bc991cd226916de060 upstream. Avoid crashing if the private_data pointer happens to be NULL. This has been seen sometimes when a host

[ 144/187] HID: hid-multitouch: fix wrong protocol detection

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Tissoires commit 3ac36d15557d1bedfb1151d9911b9587b2d40759 upstream. The previous implementation introduced a randomness in the splitting of the different touches

Re: [PATCH v2 -mm] memcg: prevent from OOM with too many dirty pages

2012-07-12 Thread Hugh Dickins
On Thu, 12 Jul 2012, Andrew Morton wrote: > On Thu, 12 Jul 2012 09:05:01 +0200 > Michal Hocko wrote: > > > When we are back to the patch. Is it going into 3.5? I hope so and I > > think it is really worth stable as well. Andrew? > > What patch. "memcg: prevent OOM with too many dirty pages"?

[ 134/187] dm persistent data: handle space map checker creation failure

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Mike Snitzer commit 62662303e7f590fdfbb0070ab820a0ad4267c119 upstream. If CONFIG_DM_DEBUG_SPACE_MAPS is enabled and dm_sm_checker_create() fails, dm_tm_create_internal() would

[ 131/187] md/raid5: In ops_run_io, inc nr_pending before calling md_wait_for_blocked_rdev

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: majianpeng commit 1850753d2e6d9ca7856581ca5d3cf09521e6a5d7 upstream. In ops_run_io(), the call to md_wait_for_blocked_rdev will decrement nr_pending so we lose the reference we

[ 128/187] hwspinlock/core: use global ID to register hwspinlocks on multiple devices

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Shinya Kuribayashi commit 476a7eeb60e70ddab138e7cb4bc44ef5ac20782e upstream. Commit 300bab9770 (hwspinlock/core: register a bank of hwspinlocks in a single API call,

[ 122/187] ocfs2: clear unaligned io flag when dio fails

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Junxiao Bi commit 3e5d3c35a68c9a933bdbdd8685bd1a205b57e806 upstream. The unaligned io flag is set in the kiocb when an unaligned dio is issued, it should be cleared even when

[ 115/187] mac80211: clear ifmgd->bssid only after building DELBA

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Eliad Peller commit 88a9e31c506c00c8b7a2f1611406d0e38dcb33b3 upstream. ieee80211_set_disassoc() clears ifmgd->bssid before building DELBA frames, resulting in frames with

[ 103/187] ixgbe: Do not pad FCoE frames as this can cause issues with FCoE DDP

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Duyck commit 57efd44c8cad440fb00ef8078cb018ab2f221373 upstream. FCoE target mode was experiencing issues due to the fact that we were sending up data frames that were

[ 109/187] net: qmi_wwan: fix Oops while disconnecting

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= commit d9b8706843a501034d09bea63ca6723a2ed02b11 upstream. usbnet_disconnect() will set intfdata to NULL before calling the minidriver unbind

[ 102/187] batman-adv: only drop packets of known wifi clients

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Marek Lindner commit 5870adc68fc39d81089f1e80efdf64b97e5c37a1 upstream. bug introduced with 59b699cdee039d75915c354da06937102d1f9a84 If the source or destination mac address

[ 101/187] batman-adv: fix skb->data assignment

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Antonio Quartulli commit 2c995ff892313009e336ecc8ec3411022f5b1c39 upstream. skb_linearize(skb) possibly rearranges the skb internal data and then changes the skb->data pointer

[ 099/187] usb-storage: revert commit afff07e61a52 (Add 090c:1000 to unusal-devs)

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 0070513b5e005161a7a7fd9a3f48f982b41eb094 upstream. This patch (as1560) reverts commit afff07e61a5243e14ee3f0a272a0380cd744a8a3 (usb-storage: Add 090c:1000 to

[ 096/187] USB: option: Add USB ID for Novatel Ovation MC551

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Forest Bond commit 065b07e7a14676f4138ce4619d229c0be5a74230 upstream. This device is also known as the Verizon USB551L. Signed-off-by: Forest Bond Acked-by: Dan Williams

[ 093/187] clk: fix parent validation in __clk_set_parent()

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Rajendra Nayak commit 863b13271f1608ab3af6f7a371047d9a66693e38 upstream. The below commit introduced a bug in __clk_set_parent() which could cause it to *skip* the parent

[ 089/187] PM / Sleep: Prevent waiting forever on asynchronous suspend after abort

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Mandeep Singh Baines commit 1f758b23177d588a71b96ad02990e715949bb82f upstream. __device_suspend() must always send a completion. Otherwise, parent devices will wait forever.

[ 085/187] xen/blkback: Copy id field when doing BLKIF_DISCARD.

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Konrad Rzeszutek Wilk commit 8c9ce606a60e4a0cb447bdc082ce383b96b227b4 upstream. We weren't copying the id field so when we sent the response back to the frontend (especially

[ 082/187] ACPI sysfs.c strlen fix

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Pavel Vasilyev commit 9f132652d94c96476b0b0a8caf0c10e96ab10fa8 upstream. Current code is ignoring the last character of "enable" and "disable" in comparisons.

[ 076/187] acpi_pad: fix power_saving thread deadlock

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Stuart Hayes commit 5f1601261050251a5ca293378b492a69d590dacb upstream. The acpi_pad driver can get stuck in destroy_power_saving_task() waiting for kthread_stop() to stop a

[ 074/187] drm/radeon: fix VM page table setup on SI

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit c21b328ea8c7c71cd2daf50557db440bbaa7ef55 upstream. Cayman and trinity allow for variable sized VM page tables, but SI requires that all page tables be the

[ 062/187] ath9k: fix a tx rate duration calculation bug

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 76591bea9714a58d8924154068c78d702eb2cb17 upstream. The rate pointer variable for a rate series is used in a loop before it is initialized. This went

[ 070/187] Btrfs: run delayed directory updates during log replay

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Chris Mason commit b6305567e7d31b0bec1b8cb9ec0cadd7f7086f5f upstream. While we are resolving directory modifications in the tree log, we are triggering delayed metadata updates

[ 068/187] ASoC: wm2200: Add missing BCLK rate

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Mark Brown commit b0dfa4541e48ac4cc5f017285432c89923ad0f58 upstream. Without this very high BCLKs will be configured incorrectly. Reported-by: Axel Lin Signed-off-by: Mark

[ 063/187] ath9k: fix invalid pointer access in the tx path

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 80b08a8d8829a58b5db14b1417151094cc28face upstream. After setup_frame_info has been called, only info->control.rates is still valid, other control fields

[ 060/187] ath9k: Fix a WARNING on suspend/resume with IBSS

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Mohammed Shafi Shajakhan commit 2031b4c2b4904f7448ab9e4bc6b9bf16e32709f5 upstream. this patch is dependent on the patch "cfg80211: fix interface combinations" In ath9k

[ 058/187] cifs: fix parsing of password mount option

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Suresh Jayaraman commit e73f843a3235a19de38359c91586e9eadef12238 upstream. The double delimiter check that allows a comma in the password parsing code is unconditional. We set

[ 055/187] iommu/tegra: smmu: Fix unsleepable memory allocation

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Hiroshi DOYU commit 8f53dc724a83a0082184fa27df80c25c7df47340 upstream. allo_pdir() is called in smmu_iommu_domain_init() with spin_lock held. memory allocations in it have to

[ 053/187] iommu/amd: Fix missing iommu_shutdown initialization in passthrough mode

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Shuah Khan commit f2f12b6fc032c7b1419fd6db84e2868b5f05a878 upstream. The iommu_shutdown callback is not initialized when the AMD IOMMU driver runs in passthrough mode. Fix that

[ 050/187] udf: Use ret instead of abusing i in udf_load_logicalvol()

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit cb14d340ef1737c24125dd663eff77734a482d47 upstream. Signed-off-by: Jan Kara Signed-off-by: Greg Kroah-Hartman --- fs/udf/super.c |6 ++ 1 file

[ 047/187] hwmon: (applesmc) Limit key length in warning messages

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Henrik Rydberg commit ac852edb47b15900886ba2564eeeb13b3b526e3e upstream. Key lookups may call read_smc() with a fixed-length key string, and if the lookup fails, trailing stack

[ 043/187] powerpc: More fixes for lazy IRQ vs. idle

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Herrenschmidt commit be2cf20a5ad31ebb13562c1c866ecc626fbd721e upstream. Looks like we still have issues with pSeries and Cell idle code vs. the lazy irq state. In

[ 037/187] bnx2x: fix checksum validation

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit d6cb3e41386f20fb0777d0b59a2def82c65d37f7 ] bnx2x driver incorrectly sets ip_summed to CHECKSUM_UNNECESSARY on encapsulated segments. TCP stack

[ 040/187] bridge: Assign rtnl_link_ops to bridge devices created via ioctl (v2)

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: stephen hemminger [ Upstream commit 149ddd83a92b02c658d6c61f3276eb6500d585e8 ] This ensures that bridges created with brctl(8) or ioctl(2) directly also carry IFLA_LINKINFO

[ 034/187] dummy: fix rcu_sched self-detected stalls

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 16b0dc29c1af9df341428f4c49ada4f626258082 ] Trying to "modprobe dummy numdummies=3" triggers : INFO: rcu_sched self-detected stall on CPU {

[ 026/187] lpc_eth: add missing ndo_change_mtu()

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit e30478598a8476d02e3b00caa89ce1a3b1dad54b ] lpc_eth does a copy of transmitted skbs to DMA area, without checking skb lengths, so can trigger

[ 019/187] net: sock: validate data_len before allocating skb in sock_alloc_send_pskb()

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang [ Upstream commit cc9b17ad29ecaa20bfe426a8d4dbfb94b13ff1cc ] We need to validate the number of pages consumed by data_len, otherwise frags array could be overflowed

[ 020/187] cipso: handle CIPSO options correctly when NetLabel is disabled

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Paul Moore [ Upstream commit 20e2a86485967c385d7c7befc1646e4d1d39362e ] When NetLabel is not enabled, e.g. CONFIG_NETLABEL=n, and the system receives a CIPSO tagged packet it

[ 018/187] bql: Avoid possible inconsistent calculation.

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Hiroaki SHIMODA [ Upstream commit 914bec1011a25f65cdc94988a6f974bfb9a3c10d ] dql->num_queued could change while processing dql_completed(). To provide consistent calculation,

[ 016/187] bql: Fix POSDIFF() to integer overflow aware.

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Hiroaki SHIMODA [ Upstream commit 0cfd32b736ae0c36b42697584811042726c07cba ] POSDIFF() fails to take into account integer overflow case. Signed-off-by: Hiroaki SHIMODA Cc:

[ 014/187] powerpc/xmon: Use cpumask iterator to avoid warning

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Anton Blanchard commit bc1d7702910c7c7e88eb60b58429dbfe293683ce upstream. We have a bug report where the kernel hits a warning in the cpumask code: WARNING: at

[ 009/187] powerpc: check_and_cede_processor() never cedes

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Anton Blanchard commit 0b17ba7258db83cd02da560884e053b85de371f2 upstream. Commit f948501b36c6 ("Make hard_irq_disable() actually hard-disable interrupts") caused

[ 007/187] powerpc: Fix uninitialised error in numa.c

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Michael Neuling commit 82b2521d257b5c0efd51821cf5fa306e53bbb6ba upstream. chroma_defconfig currently gives me this with gcc 4.6: arch/powerpc/mm/numa.c:638:13: error: 'dm'

[ 005/187] ALSA: hda - Fix power-map regression for HP dv6 & co

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 6e1c39c6b00d9141a82c231ba7c5e5b1716974b2 upstream. The recent fix for power-map controls (commit b0791dda813) caused regressions on some other HP laptops.

Re: [PATCH 6/6] workqueue: reimplement WQ_HIGHPRI using a separate worker_pool

2012-07-12 Thread Tejun Heo
ge to become non-zero at that point? Can you please > > apply the following patch and report the boot log? Thank you. > > Patch applied on top of next-20120712 (which still has the same problem). Can you please try the following debug patch instead? Yours is different from Fenggu

RE: [PATCH V3 3/7] mfd: samsung: Modify samsung mfd header

2012-07-12 Thread Sangbeom Kim
Hi! On Wednesday, July 11, 2012 9:30 PM, Venu Byravarasu wrote: > > + * copyright (c) 2011 Samsung Electronics Co., Ltd > > + * http://www.samsung.com > > In most of the files you mentioned 2011. > Should they not be changed to 2012? Most of the files are created in 2011. This file

Re: resurrecting tcphealth

2012-07-12 Thread Randy Dunlap
On 07/12/2012 01:55 PM, Piotr Sawuk wrote: > hello! I haven't done any kernel-hacking before, so be patient. > > I got as far as to make tcphealth run, but now I need some help: > how does read-locking work in the tcp_sock struct? > the original code (for 2.5.1) made a read_lock(>lock) with >

Re: 3.5-rc6 printk formatting problem during oom-kill.

2012-07-12 Thread Kay Sievers
On Thu, 2012-07-12 at 20:25 +0200, Kay Sievers wrote: > On Thu, Jul 12, 2012 at 7:11 PM, Linus Torvalds > wrote: > > On Thu, Jul 12, 2012 at 7:05 AM, Dave Jones wrote: > >> > >> I've seen it a few times, always with the soft lockup trace. > > > > I bet it's because you have tons of modules, and

Re: [PATCH 1/2] kstrto*: add documentation

2012-07-12 Thread Eldad Zack
On Thu, 12 Jul 2012, J. Bruce Fields wrote: > On Fri, Jul 13, 2012 at 12:09:37AM +0200, Eldad Zack wrote: > > > > On Thu, 12 Jul 2012, J. Bruce Fields wrote: > > I am not sure if I understand _parse_integer correctly (which is called > > to do the actual parsing and has a very nice comment to

Re: [PATCH net-next] r8169: Remove rtl_ocpdr_cond

2012-07-12 Thread Francois Romieu
Francois Romieu : [...] > I'll try again tomorrow evening. W/o firmware does not seem to make a difference. # ping -qf -l 4 -s 81 -c 60 10.0.3.1 PING 10.0.3.1 (10.0.3.1) 81(109) bytes of data. --- 10.0.3.1 ping statistics --- 60 packets transmitted, 60 received, 0% packet loss, time 153ms rtt

[ 004/187] ALSA: hda - Fix memory leaks at module unload

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 59cad16bc6deb85bd2a464da92bbaae289f0286f upstream. Some caches aren't released properly at module unloading time. Signed-off-by: Takashi Iwai

[ 003/187] ALSA: hda - Add Realtek ALC280 codec support

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: David Henningsson commit befae82e2906cb7155020876a531b0b8c6c8d8c8 upstream. This chip looks very similar to ALC269 and ALC27* variants. The bug reporter has verified that sound

[ 002/187] ARM: tegra: make tegra_cpu_reset_handler_enable() __init

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Warren commit 6355f25ed965421725d92cf719fc63008690ca1c upstream. This solves a section mismatch warning. I hadn't noticed this before, because my compiler was inlining

[ 001/187] Tools: hv: verify origin of netlink connector message

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Olaf Hering commit bcc2c9c3fff859e0eb019fe6fec26f9b8eba795c upstream. The SuSE security team suggested to use recvfrom instead of recv to be certain that the connector message

Re: Fwd: UEFI Secure boot using qemu-kvm

2012-07-12 Thread Khalid Aziz
I Tried to follow the steps Joey had written down (Thanks for doing that!) on Ubuntu 12.04 and ran into some problems. Here is what I had to do differently to get it to work: - Install libssl-dev - Use "sudo alien --to-deb sbsigntools-0.3-1.1.x86_64.rpm" to convert sbsigntools package and "dpkg

Re: [PATCH 6/6] workqueue: reimplement WQ_HIGHPRI using a separate worker_pool

2012-07-12 Thread Tony Luck
the boot log? Thank you. Patch applied on top of next-20120712 (which still has the same problem). dmesg output attached -Tony Linux version 3.5.0-rc6-zx1-smp-next-20120712-1-g1275170 (aegl@linux-bxb1) (gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux) ) #1 SMP Thu Jul 12 15:09:17

Re: [PATCH 1/2] kstrto*: add documentation

2012-07-12 Thread J. Bruce Fields
On Fri, Jul 13, 2012 at 12:09:37AM +0200, Eldad Zack wrote: > > On Thu, 12 Jul 2012, J. Bruce Fields wrote: > > On Thu, Jul 12, 2012 at 10:53:13PM +0200, Eldad Zack wrote: > > > +/** > > > + * kstrtoul - convert a string to an unsigned long > > > > Also, is it worth mentioning that the number is

Re: [PATCH 1/2] kstrto*: add documentation

2012-07-12 Thread Eldad Zack
On Thu, 12 Jul 2012, J. Bruce Fields wrote: > On Thu, Jul 12, 2012 at 10:53:13PM +0200, Eldad Zack wrote: > > +/** > > + * kstrtoul - convert a string to an unsigned long > > Also, is it worth mentioning that the number is required to be followed > by a string or newline? I am not sure if I

Re: [Ksummit-2012-discuss] ARM mini-summit

2012-07-12 Thread Kukjin Kim
On 07/11/12 21:35, Marc Zyngier wrote: On Wed, 11 Jul 2012 12:57:55 +0100, Catalin Marinas wrote: On Wed, Jul 11, 2012 at 12:28:29PM +0100, Arnd Bergmann wrote: On Wednesday 11 July 2012, James Bottomley wrote: Hi All, We have set aside the second day of the kernel summit (Tuesday 28

Re: [PATCH] fork: fix error handling in dup_task()

2012-07-12 Thread Andrew Morton
On Thu, 12 Jul 2012 20:04:53 +0900 Akinobu Mita wrote: > The function dup_task() may fail at the following function calls in > the following order. > > 0) alloc_task_struct_node() > 1) alloc_thread_info_node() > 2) arch_dup_task_struct() > > Error by 0) is not a matter, it can just return.

Re: [RFC][PATCH 14/26] sched, numa: Numa balancer

2012-07-12 Thread Rik van Riel
On 03/16/2012 10:40 AM, Peter Zijlstra wrote: At LSF/MM, there was a presentation comparing Peter's NUMA code with Andrea's NUMA code. I believe this is the main reason why Andrea's code performed better in that particular test... + if (sched_feat(NUMA_BALANCE_FILTER)) { +

[PATCH 2/8] staging: ft1000-usb: Remove commented lines from ft1000_device.

2012-07-12 Thread Marek Belisko
Signed-off-by: Marek Belisko --- drivers/staging/ft1000/ft1000-usb/ft1000_usb.h |4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h index 51c0847..d4f1aa1 100644 ---

[PATCH 4/8] staging: ft1000-usb: Remove spaces from struct dpram_blk.

2012-07-12 Thread Marek Belisko
Signed-off-by: Marek Belisko --- drivers/staging/ft1000/ft1000-usb/ft1000_usb.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h index 3f22df9..06bce31 100644 ---

[PATCH 1/8] staging: ft1000-usb: Change KERN_ERROR usage to pr_err in ft1000_usb.c.

2012-07-12 Thread Marek Belisko
Signed-off-by: Marek Belisko --- drivers/staging/ft1000/ft1000-usb/ft1000_usb.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.c b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.c index 7bd7fb2..9d36c5f 100644 ---

[PATCH 7/8] staging: ft1000-usb: Replace all C99 comments with regular in ft1000_usb.h.

2012-07-12 Thread Marek Belisko
Signed-off-by: Marek Belisko --- drivers/staging/ft1000/ft1000-usb/ft1000_usb.h | 35 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h index 60071f0..58cc54b

[PATCH 8/8] staging: ft1000-usb: Fix various checkpach warnings in ft1000_usb.h

2012-07-12 Thread Marek Belisko
Signed-off-by: Marek Belisko --- drivers/staging/ft1000/ft1000-usb/ft1000_usb.h | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h index 58cc54b..642bb89 100644 ---

[PATCH 6/8] staging: ft1000-usb: Fix lines over 80 chars.

2012-07-12 Thread Marek Belisko
Signed-off-by: Marek Belisko --- drivers/staging/ft1000/ft1000-usb/ft1000_usb.h | 33 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h index 2b98754..60071f0

[PATCH 5/8] staging: ft1000-usb: Remove name comments from ft1000_usb.h.

2012-07-12 Thread Marek Belisko
Signed-off-by: Marek Belisko --- drivers/staging/ft1000/ft1000-usb/ft1000_usb.h |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h index 06bce31..2b98754 100644 ---

[PATCH 3/8] staging: ft1000-usb: Remove leading spaces from struct ft1000_info.

2012-07-12 Thread Marek Belisko
Signed-off-by: Marek Belisko --- drivers/staging/ft1000/ft1000-usb/ft1000_usb.h | 94 1 file changed, 47 insertions(+), 47 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h index d4f1aa1..3f22df9

[PATCH UPDATED 2/6] workqueue: factor out worker_pool from global_cwq

2012-07-12 Thread Tejun Heo
>From bd7bdd43dcb81bb08240b9401b36a104f77dc135 Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Thu, 12 Jul 2012 14:46:37 -0700 Move worklist and all worker management fields from global_cwq into the new struct worker_pool. worker_pool points back to the containing gcwq. worker and

Re: [PATCH 6/6] workqueue: reimplement WQ_HIGHPRI using a separate worker_pool

2012-07-12 Thread Tejun Heo
Hello, again. On Thu, Jul 12, 2012 at 10:05:19AM -0700, Tejun Heo wrote: > On Thu, Jul 12, 2012 at 09:06:48PM +0800, Fengguang Wu wrote: > > [0.207977] WARNING: at /c/kernel-tests/mm/kernel/workqueue.c:1217 > > worker_enter_idle+0x2b8/0x32b() > > [0.207977] Modules linked in: > > [

Re: resurrecting tcphealth

2012-07-12 Thread Stephen Hemminger
On Thu, 12 Jul 2012 22:55:57 +0200 "Piotr Sawuk" wrote: > diff -rub linux-3.4.4/net/ipv4/tcp_input.c > linux-3.4.4-heal-lsm/net/ipv4/tcp_input.c > --- linux-3.4.4/net/ipv4/tcp_input.c 2012-06-22 20:37:50.0 +0200 > +++ linux-3.4.4-heal-lsm/net/ipv4/tcp_input.c 2012-07-06 >

Re: SPI: bcm63xx_dev_spi.h

2012-07-12 Thread Paul Bolle
On Thu, 2012-07-12 at 23:26 +0200, Jonas Gorski wrote: > > 2) What's the current status of this header? > > It currently sits in Ralf Baechle's queue and waits for the merge window: > > http://git.linux-mips.org/?p=ralf/upstream-sfr.git;a=commit;h=435f920f35e90b4681e68002d2e2f6724b0c21b7

[PATCH] wss_lib: fix suspend/resume

2012-07-12 Thread Ondrej Zary
By setting SNDRV_PCM_INFO_RESUME, wss_lib claims that it can restore the card state fully on resume. But in fact, it can't as DMA is not restored so any playback/capture running during suspend will fail to continue after resume. Remove SNDRV_PCM_INFO_RESUME flag from pcm info field to fix the

Re: [PATCH 28/40] autonuma: make khugepaged pte_numa aware

2012-07-12 Thread Rik van Riel
On 07/12/2012 02:50 PM, Andrea Arcangeli wrote: On Mon, Jul 02, 2012 at 12:24:36AM -0400, Rik van Riel wrote: On 06/28/2012 08:56 AM, Andrea Arcangeli wrote: If any of the ptes that khugepaged is collapsing was a pte_numa, the resulting trans huge pmd will be a pmd_numa too. Why? If some of

Re: SPI: bcm63xx_dev_spi.h

2012-07-12 Thread Jonas Gorski
On 12 July 2012 22:55, Paul Bolle wrote: > 0) Commit b42dfed83d95a3c9e9cbd708f1993a7474abb79a ("spi: add Broadcom > BCM63xx SPI controller driver") added drivers/spi/spi-bcm63xx.c to the > mainline tree. That file includes bcm63xx_dev_spi.h. > > 1) bcm63xx_dev_spi.h is not part of the current

Re: linux-next: Tree for July 12 (pci)

2012-07-12 Thread Myron Stowe
On Thu, Jul 12, 2012 at 10:11 AM, Randy Dunlap wrote: > On 07/11/2012 11:03 PM, Stephen Rothwell wrote: > >> Hi all, >> >> Changes since 20120710: >> >> >> The pci tree lost its conflicts. > > > on x86_64: > > drivers/built-in.o: In function `pci_bus_add_device': > (.text+0x4f62): undefined

Re: [PATCH 1/2] kstrto*: add documentation

2012-07-12 Thread J. Bruce Fields
On Thu, Jul 12, 2012 at 10:53:13PM +0200, Eldad Zack wrote: > As J. Bruce Fields pointed out, kstrto* is > currently lacking kerneldoc comments. > This patch adds kerneldoc comments to common variants of kstrto*: > kstrto(u)l, kstrto(u)ll and kstrto(u)int. > > Cc: J. Bruce Fields >

Re: [PATCH 1/2] kstrto*: add documentation

2012-07-12 Thread Stephen Boyd
On 07/12/12 14:17, Stephen Boyd wrote: > On 07/12/12 13:53, Eldad Zack wrote: >> diff --git a/include/linux/kernel.h b/include/linux/kernel.h >> index e07f5e0..582df0f 100644 >> --- a/include/linux/kernel.h >> +++ b/include/linux/kernel.h >> @@ -220,6 +220,16 @@ int __must_check _kstrtol(const

Re: [PATCH 1/2] kstrto*: add documentation

2012-07-12 Thread Stephen Boyd
On 07/12/12 13:53, Eldad Zack wrote: > > diff --git a/include/linux/kernel.h b/include/linux/kernel.h > index e07f5e0..582df0f 100644 > --- a/include/linux/kernel.h > +++ b/include/linux/kernel.h > @@ -220,6 +220,16 @@ int __must_check _kstrtol(const char *s, unsigned int > base, long *res); >

<    1   2   3   4   5   6   7   8   9   10   >