[ 073/108] dm raid1: set discard_zeroes_data_unsupported

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 7c8d3a42fe1c58a7e8fd3f6a013e7d7b474ff931 upstream. We can't guarantee that REQ_DISCARD on dm-mirror zeroes the data even if the underlying disks support zero on discard.

[ 055/108] iwlegacy: dont mess up the SCD when removing a key

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Emmanuel Grumbach commit b48d96652626b315229b1b82c6270eead6a77a6d upstream. When we remove a key, we put a key index which was supposed to tell the fw that we are actually removing the key.

[ 049/108] PM / Hibernate: Hibernate/thaw fixes/improvements

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Bojan Smojver commit 5a21d489fd9541a4a66b9a500659abaca1b19a51 upstream. 1. Do not allocate memory for buffers from emergency pools, unless absolutely required. Do not warn about and do

[ 048/108] NFC: Export nfc.h to userland

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Samuel Ortiz commit dbd4fcaf8d664fab4163b1f8682e41ad8bff3444 upstream. The netlink commands and attributes, along with the socket structure definitions need to be exported. Signed-off-by:

[ 050/108] cfg80211: check iface combinations only when iface is running

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Michal Kazior commit f8cdddb8d61d16a156229f0910f7ecfc7a82c003 upstream. Don't validate interface combinations on a stopped interface. Otherwise we might end up being able to create a new

[ 047/108] Remove easily user-triggerable BUG from generic_setlease

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Dave Jones commit 8d657eb3b43861064d36241e88d9d61c709f33f0 upstream. This can be trivially triggered from userspace by passing in something unexpected. kernel BUG at fs/locks.c:1468!

[ 046/108] block: fix infinite loop in __getblk_slow

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Moyer commit 91f68c89d8f35fe98ea04159b9a3b42d0149478f upstream. Commit 080399aaaf35 ("block: don't mark buffers beyond end of disk as mapped") exposed a bug in __getblk_slow that causes

[ 044/108] hwmon: (it87) Preserve configuration register bits on init

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jean Delvare commit 41002f8dd5938d5ad1d008ce5bfdbfe47fa7b4e8 upstream. We were accidentally losing one bit in the configuration register on device initialization. It was reported to freeze one

[ 045/108] ARM: SAMSUNG: fix race in s3c_adc_start for ADC

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Todd Poynor commit 8265981bb439f3ecc5356fb877a6c2a6636ac88a upstream. Checking for adc->ts_pend already claimed should be done with the lock held. Signed-off-by: Todd Poynor Acked-by: Ben

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

2012-07-22 Thread Ben Hutchings
3.2-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), it may trigger

[ 041/108] drivers/rtc/rtc-mxc.c: fix irq enabled interrupts warning

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Benoît Thébaudeau commit b59f6d1febd6cbe9fae4589bf72da0ed32bc69e0 upstream. Fixes WARNING: at irq/handle.c:146 handle_irq_event_percpu+0x19c/0x1b8() irq 25 handler

[ 036/108] md/raid1: fix use-after-free bug in RAID1 data-check code.

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit 2d4f4f3384d4ef4f7c571448e803a1ce721113d5 upstream. This bug has been present ever since data-check was introduce in 2.6.16. However it would only fire if a data-check were

[ 032/108] mtd: nandsim: dont open code a do_div helper

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Herton Ronaldo Krzesinski commit 596fd46268634082314b3af1ded4612e1b7f3f03 upstream. We don't need to open code the divide function, just use div_u64 that already exists and do the same job.

[ 021/108] KVM: Fix buffer overflow in kvm_set_irq()

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Avi Kivity commit f2ebd422f71cda9c791f76f85d2ca102ae34a1ed upstream. kvm_set_irq() has an internal buffer of three irq routing entries, allowing connecting a GSI to three IRQ chips or on MSI.

[ 031/108] USB: cdc-wdm: fix lockup on error in wdm_read

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Bjørn Mork commit b086b6b10d9f182cd8d2f0dcfd7fd11edba93fc9 upstream. Clear the WDM_READ flag on empty reads to avoid running forever in an infinite tight loop, causing lockups: Jul 1

[ 024/108] iommu/amd: Fix missing iommu_shutdown initialization in passthrough mode

2012-07-22 Thread Ben Hutchings
3.2-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 by moving the

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

2012-07-22 Thread Ben Hutchings
3.2-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. This isn't

[ 043/108] cpufreq / ACPI: Fix not loading acpi-cpufreq driver regression

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Renninger commit c4686c71a9183f76e3ef59098da5c098748672f6 upstream. Commit d640113fe80e45ebd4a5b420b introduced a regression on SMP systems where the processor core with ACPI id zero is

[ 051/108] intel_ips: blacklist HP ProBook laptops

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 88ca518b0bb4161e5f20f8a1d9cc477cae294e54 upstream. intel_ips driver spews the warning message "ME failed to update for more than 1s, likely hung" at each second endlessly

[ 025/108] iommu/amd: Initialize dma_ops for hotplug and sriov devices

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Joerg Roedel commit ac1534a55d1e87d59a21c09c570605933b551480 upstream. When a device is added to the system at runtime the AMD IOMMU driver initializes the necessary data structures to handle

[ 034/108] hwspinlock/core: use global ID to register hwspinlocks on multiple devices

2012-07-22 Thread Ben Hutchings
3.2-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, 2011-09-06) introduced

[ 038/108] memory hotplug: fix invalid memory access caused by stale kswapd pointer

2012-07-22 Thread Ben Hutchings
3.2-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. But

[ 026/108] usb: Add support for root hub port status CAS

2012-07-22 Thread Ben Hutchings
3.2-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 when USB3.0

[ 020/108] macvtap: zerocopy: validate vectors before building skb

2012-07-22 Thread Ben Hutchings
3.2-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 vectors whose num is

[ 023/108] epoll: clear the tfile_check_list on -ELOOP

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jason Baron commit 13d518074a952d33d47c428419693f63389547e9 upstream. An epoll_ctl(,EPOLL_CTL_ADD,,) operation can return '-ELOOP' to prevent circular epoll dependencies from being created.

[PATCH v2] memcg: add mem_cgroup_from_css() helper

2012-07-22 Thread Wanpeng Li
Changelog v2: * fix too many args to mem_cgroup_from_css() (spotted by Kirill A. Shutemov) * fix kernel build failed (spotted by Fengguang) Add a mem_cgroup_from_css() helper to replace open-coded invokations of container_of(). To clarify the code and to add a little more type safety. Acked-by:

[ 022/108] scsi: Silence unnecessary warnings about ioctl to partition

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 6d9359280753d2955f86d6411047516a9431eb51 upstream. Sometimes, warnings about ioctls to partition happen often enough that they form majority of the warnings in the kernel log

[ 028/108] sched/nohz: Rewrite and fix load-avg computation -- again

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 5167e8d5417bf5c322a703d2927daec727ea40dd upstream. Thanks to Charles Wang for spotting the defects in the current code: - If we go idle during the sample window --

[ 030/108] USB: option: Add MEDIATEK product ids

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Gaosen Zhang commit aacef9c561a693341566a6850c451ce3df68cb9a upstream. Signed-off-by: Gaosen Zhang Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings ---

[ 027/108] gpiolib: wm8994: Pay attention to the value set when enabling as output

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Mark Brown commit 8cd578b6e28693f357867a77598a88ef3deb6b39 upstream. Not paying attention to the value being set is a bad thing because it means that we'll not set the hardware up to reflect

[ 035/108] [SCSI] libsas: fix taskfile corruption in sas_ata_qc_fill_rtf

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit 6ef1b512f4e6f936d89aa20be3d97a7ec7c290ac upstream. fill_result_tf() grabs the taskfile flags from the originating qc which sas_ata_qc_fill_rtf() promptly overwrites. The

[ 029/108] USB: option: add ZTE MF60

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Bjørn Mork commit 8e16e33c168a6efd0c9f7fa9dd4c1e1db9a74553 upstream. Switches into a composite device by ejecting the initial driver CD. The four interfaces are: QCDM, AT, QMI/wwan and mass

[ 033/108] [media] dvb-core: Release semaphore on error path dvb_register_device()

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Santosh Nayak commit 82163edcdfa4eb3d74516cc8e9f38dd3d039b67d upstream. There is a missing "up_write()" here. Semaphore should be released before returning error value. Signed-off-by: Santosh

[ 042/108] fs: ramfs: file-nommu: add SetPageUptodate()

2012-07-22 Thread Ben Hutchings
3.2-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 3. read the

[ 052/108] atl1c: fix issue of transmit queue 0 timed out

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Cloud Ren commit b94e52f62683dc0b00c6d1b58b80929a078c0fd5 upstream. some people report atl1c could cause system hang with following kernel trace info: ---

[ 063/108] mm: fix lost kswapd wakeup in kswapd_stop()

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Aaditya Kumar commit 1c7e7f6c0703d03af6bcd5ccc11fc15d23e5ecbe upstream. Offlining memory may block forever, waiting for kswapd() to wake up because kswapd() does not check the event

[ 059/108] target: Clean up returning errors in PR handling code

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Roland Dreier commit d35212f3ca3bf4fb49d15e37f530c9931e2d2183 upstream. - instead of (PTR_ERR(file) < 0) just use IS_ERR(file) - return -EINVAL instead of EINVAL - all other error returns

[ 083/108] hrtimer: Update hrtimer base offsets each hrtimer_interrupt

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: John Stultz commit 5baefd6d84163443215f4a99f6a20f054ef11236 upstream. The update of the hrtimer base offsets on all cpus cannot be made atomically from the timekeeper.lock held and interrupt

[ 076/108] timekeeping: Fix CLOCK_MONOTONIC inconsistency during leapsecond

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: John Stultz This is a backport of fad0c66c4bb836d57a5f125ecd38bed653ca863a which resolves a bug the previous commit. Commit 6b43ae8a61 (ntp: Fix leap-second hrtimer livelock) broke the

[ 097/108] eCryptfs: Fix lockdep warning in miscdev operations

2012-07-22 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Tyler Hicks commit 60d65f1f07a7d81d3eb3b91fc13fca80f2fdbb12 upstream. Don't grab the daemon mutex while holding the message context mutex. Addresses this lockdep warning: ecryptfsd/2141 is

[ 000/108] 3.2.24-stable review

2012-07-22 Thread Ben Hutchings
This is the start of the stable review cycle for the 3.2.24 release. There are 108 patches in this series, which will be posted as responses to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Wed Jul 25 02:00:00 UTC 2012. Anything

Re: [PATCH] net, cgroup: Fix boot failure due to iteration of uninitialized list

2012-07-22 Thread Gao feng
于 2012年07月20日 00:27, Srivatsa S. Bhat 写道: > After commit ef209f15 (net: cgroup: fix access the unallocated memory in > netprio cgroup), boot fails with the following NULL pointer dereference: > > Initializing cgroup subsys devices > Initializing cgroup subsys freezer > Initializing cgroup subsys

Re: [PATCH] proc: do not allow negative offsets on /proc//environ

2012-07-22 Thread Djalal Harouni
Hi Oleg, On Sun, Jul 22, 2012 at 10:00:49PM +0200, Oleg Nesterov wrote: > On 07/22, Djalal Harouni wrote: > > > > __mem_open() which is called by both /proc//environ and > > /proc//mem ->open() handlers will allow the use of negative offsets. > > /proc//mem has negative offsets but not

RE: [PATCH] regulator: lp8788-buck: Remove lp8788_set_default_dvs_ctrl_mode function

2012-07-22 Thread Kim, Milo
> We already know the mask in lp8788_init_dvs() function, and we can > update > the corresponding bit for default_dvs_mode in lp8788_init_dvs() > function. > This function looks not necessary to me. > > Signed-off-by: Axel Lin Acked-by: Milo(Woogyom) Kim Tested-by: Milo(Woogyom) Kim Thanks

[PATCH] staging/vme: fix checkpatch warnings

2012-07-22 Thread Toshiaki Yamane
Now checkpatch clean. $ find drivers/staging/vme -name "*.[ch]"|xargs ./scripts/checkpatch.pl \ -f --terse --nosummary|cut -f3- -d":"|sort |uniq -c|sort -n 1 ERROR: trailing whitespace 2 WARNING: Prefer pr_debug(... to printk(KERN_DEBUG, ... 5 WARNING: Prefer pr_info(... to

Re: [PATCH] sctp: Make "Invalid Stream Identifier" ERROR follows SACK when bundling

2012-07-22 Thread Neil Horman
On Thu, Jul 19, 2012 at 01:57:30PM +0800, xufengzhang.m...@gmail.com wrote: > When "Invalid Stream Identifier" ERROR happens after process the > received DATA chunks, this ERROR chunk is enqueued into outqueue > before SACK chunk, so when bundling ERROR chunk with SACK chunk, > the ERROR chunk is

[RESEND RFC 1/3] mm: use get_page_migratetype instead of page_private

2012-07-22 Thread Minchan Kim
page allocator uses set_page_private and page_private for handling migratetype when it frees page. Let's replace them with [set|get] _page_migratetype to make it more clear. Signed-off-by: Minchan Kim --- include/linux/mm.h | 10 ++ mm/page_alloc.c | 11 +++

[RESEND RFC 2/3] mm: remain migratetype in freed page

2012-07-22 Thread Minchan Kim
Page allocator doesn't keep migratetype information to page when the page is freed. This patch remains the information to freed page's index field which isn't used by free/alloc preparing so it shouldn't change any behavir except below one. This patch adds a new call site in __free_pages_ok so it

[RESEND RFC 3/3] memory-hotplug: bug fix race between isolation and allocation

2012-07-22 Thread Minchan Kim
Like below, memory-hotplug makes race between page-isolation and page-allocation so it can hit BUG_ON in __offline_isolated_pages. CPU A CPU B start_isolate_page_range set_migratetype_isolate spin_lock_irqsave(zone->lock)

[RESEND RFC 0/3] memory-hotplug: handle page race between allocation and isolation

2012-07-22 Thread Minchan Kim
Memory hotplug has a subtle race problem so this patchset fixes the problem (Look at [3/3] for detail and please confirm the problem before review other patches in this series.) [1/3] is just clean up and help for [2/3]. [2/3] keeps the migratetype information to freed page's index field

Re: [PATCH 3/3] zsmalloc: add page table mapping method

2012-07-22 Thread Minchan Kim
Hi Seth, On Sun, Jul 22, 2012 at 07:33:40PM -0500, Seth Jennings wrote: > On 07/22/2012 07:26 PM, Minchan Kim wrote: > > On Wed, Jul 18, 2012 at 11:55:56AM -0500, Seth Jennings wrote: > >> This patchset provides page mapping via the page table. > >> On some archs, most notably ARM, this method

RE: [PATCH] regulator: Use BUCK_FPWM_[MASK|SHIFT] macros to replace buck_pmap table

2012-07-22 Thread Kim, Milo
> This patch defines BUCK_FPWM_MASK and BUCK_FPWM_SHIFT macros to replace > buck_pmap mapping table. > > Signed-off-by: Axel Lin Acked-by: Milo(Woogyom) Kim Tested-by: Milo(Woogyom) Kim Thanks ! Best Regards, Milo

RE: [PATCH] regulator: lp8788-ldo: Set n_voltages to 1 for fixed voltage

2012-07-22 Thread Kim, Milo
> For fixed voltage, the n_voltages should be 1 rather than 0. > > Signed-off-by: Axel Lin Acked-by: Milo(Woogyom) Kim Thanks ! Best Regards, Milo

Re: [PATCH v3] ext4: fix hole punch failure when depth is greater than 0

2012-07-22 Thread Theodore Ts'o
On Tue, Jul 10, 2012 at 09:56:10PM +0530, Ashish Sangwan wrote: > Whether to continue removing extents or not is decided by the return value > of function ext4_ext_more_to_rm() which checks 2 conditions: > a) if there are no more indexes to process. > b) if the number of entries are decreased in

Re: [PATCH 3/3] zsmalloc: add page table mapping method

2012-07-22 Thread Seth Jennings
On 07/22/2012 07:26 PM, Minchan Kim wrote: > On Wed, Jul 18, 2012 at 11:55:56AM -0500, Seth Jennings wrote: >> This patchset provides page mapping via the page table. >> On some archs, most notably ARM, this method has been >> demonstrated to be faster than copying. >> >> The logic controlling the

Re: [PATCH 3/3] zsmalloc: add page table mapping method

2012-07-22 Thread Minchan Kim
On Wed, Jul 18, 2012 at 11:55:56AM -0500, Seth Jennings wrote: > This patchset provides page mapping via the page table. > On some archs, most notably ARM, this method has been > demonstrated to be faster than copying. > > The logic controlling the method selection (copy vs page table) > is

Re: [patch -next] ext4: locking issue on error path

2012-07-22 Thread Theodore Ts'o
On Tue, Jul 17, 2012 at 04:13:51PM +0800, Zheng Liu wrote: > On Tue, Jul 17, 2012 at 09:31:06AM +0300, Dan Carpenter wrote: > > We recently changed how the locking worked here, but this error path was > > missed. > > > > Signed-off-by: Dan Carpenter > > Sorry, it is my fault. Thanks for

Re: [PATCH 2/3] zsmalloc: prevent mappping in interrupt context

2012-07-22 Thread Minchan Kim
On Wed, Jul 18, 2012 at 11:55:55AM -0500, Seth Jennings wrote: > Because we use per-cpu mapping areas shared among the > pools/users, we can't allow mapping in interrupt context > because it can corrupt another users mappings. > > Signed-off-by: Seth Jennings Acked-by: Minchan Kim -- Kind

Re: [PATCH 1/3] zsmalloc: s/firstpage/page in new copy map funcs

2012-07-22 Thread Minchan Kim
On Wed, Jul 18, 2012 at 11:55:54AM -0500, Seth Jennings wrote: > firstpage already has precedent and meaning the first page > of a zspage. In the case of the copy mapping functions, > it is the first of a pair of pages needing to be mapped. > > This patch just renames the firstpage argument to

Re: [PATCHv7 0/5] ext4: stop using write_supers and s_dirt

2012-07-22 Thread Theodore Ts'o
On Wed, Jul 11, 2012 at 04:46:39PM +0300, Artem Bityutskiy wrote: > This patch-set makes ext4 file-system stop using the VFS '->write_supers()' > call-back and the '->s_dirt' superblock field because I plan to remove them > once all users are gone. I've applied this patch series, thanks.

Re: [Qemu-devel] [PATCH v7.5] kvm: notify host when the guest is panicked

2012-07-22 Thread Sasha Levin
On 07/23/2012 12:36 AM, Anthony Liguori wrote: > Sasha Levin writes: > >> On 07/22/2012 09:14 PM, Anthony Liguori wrote: >>> Sasha Levin writes: >>> On 07/21/2012 10:44 AM, Wen Congyang wrote: > We can know the guest is panicked when the guest runs on xen. > But we do not have such

Re: [Qemu-devel] [PATCH v7] kvm: notify host when the guest is panicked

2012-07-22 Thread Sasha Levin
On 07/23/2012 12:29 AM, Anthony Liguori wrote: > Sasha Levin writes: > >> On 07/22/2012 10:19 PM, Sasha Levin wrote: >>> On 07/22/2012 09:22 PM, Anthony Liguori wrote: Sasha Levin writes: > On 07/21/2012 09:12 AM, Wen Congyang wrote: >> +#define KVM_PV_PORT (0x505UL)

Re: [PATCH] fix ext4 mismerge back in January

2012-07-22 Thread Theodore Ts'o
On Wed, Jul 18, 2012 at 09:31:36AM +0100, Al Viro wrote: > Duplicate caused, AFAICS, by mismerge in > ff9cb1c4eead5e4c292e75cd3170a82d66944101> > Cc: sta...@vger.kernel.org > Signed-off-by: Al Viro Applied, thanks. - Ted -- To unsubscribe from this list:

Re: [PATCH 00/34] Memory management performance backports for -stable

2012-07-22 Thread Ben Hutchings
I'm about to put 3.2.24 out for review, and it's pretty big already so I'm going to defer these to 3.2.25. I haven't forgotten or rejected them. Ben. -- Ben Hutchings 73.46% of all statistics are made up. signature.asc Description: This is a digitally signed message part

Re: [PATCH 2/3] drivers/misc: Add realtek pci card reader driver

2012-07-22 Thread Rusty Russell
On Thu, 19 Jul 2012 17:55:10 +0800, wrote: > From: Wei WANG > > Realtek PCI-E card reader driver adapts requests from upper-level > sdmmc/memstick layer to the real physical card reader. > +static int msi_en = 1; > +module_param(msi_en, int, S_IRUGO | S_IWUSR); > +MODULE_PARM_DESC(msi_en,

Re: [PATCH 2/2] cpumask: cpumask_scnprintf() comments correction

2012-07-22 Thread Rusty Russell
On Mon, 16 Jul 2012 16:29:24 +0800, Alex Shi wrote: > On 07/16/2012 03:40 PM, Rusty Russell wrote: > > > On Mon, 16 Jul 2012 10:35:54 +0800, Alex Shi wrote: > >> The function has no parameter @len now, so need to remove it from > >> comments to avoid kernel-doc warning: > > > > But it still

Re: [Qemu-devel] [PATCH v7.5] kvm: notify host when the guest is panicked

2012-07-22 Thread Anthony Liguori
Sasha Levin writes: > On 07/22/2012 09:14 PM, Anthony Liguori wrote: >> Sasha Levin writes: >> >>> On 07/21/2012 10:44 AM, Wen Congyang wrote: We can know the guest is panicked when the guest runs on xen. But we do not have such feature on kvm. Another purpose of this

Re: [Qemu-devel] [PATCH v7] kvm: notify host when the guest is panicked

2012-07-22 Thread Anthony Liguori
Sasha Levin writes: > On 07/22/2012 10:19 PM, Sasha Levin wrote: >> On 07/22/2012 09:22 PM, Anthony Liguori wrote: >>> Sasha Levin writes: >>> On 07/21/2012 09:12 AM, Wen Congyang wrote: > +#define KVM_PV_PORT (0x505UL) > + > #ifdef __KERNEL__ > #include >

Re: [Qemu-devel] [PATCH v7] kvm: notify host when the guest is panicked

2012-07-22 Thread Anthony Liguori
Sasha Levin writes: > On 07/22/2012 09:22 PM, Anthony Liguori wrote: >> Sasha Levin writes: >> >>> On 07/21/2012 09:12 AM, Wen Congyang wrote: +#define KVM_PV_PORT (0x505UL) + #ifdef __KERNEL__ #include @@ -221,6 +223,11 @@ static inline void

[PATCH 1/2] Add kcmp.2 manpage

2012-07-22 Thread Cyrill Gorcunov
NAME kcmp - compare if two processes do share a particular kernel resource SYNOPSIS #define _GNU_SOURCE /* See feature_test_macros(7) */ #include #include #include/* For SYS_xxx definitions */ int syscall(__NR_kcmp, pid1, pid2, type, idx1,

[PATCH 2/2] prctl.2: Add PR_SET_MM option description

2012-07-22 Thread Cyrill Gorcunov
CC: Pavel Emelyanov Signed-off-by: Cyrill Gorcunov --- man2/prctl.2 | 161 +- 1 files changed, 160 insertions(+), 1 deletions(-) diff --git a/man2/prctl.2 b/man2/prctl.2 index effad2a..2e1b27c 100644 --- a/man2/prctl.2 +++ b/man2/prctl.2

[PATCH 0/2] kcmp.2 manpage and prctl.2 update

2012-07-22 Thread Cyrill Gorcunov
Hi Michael, here are two patches on top of current man-pages git. Please review. If there something I should rephrase or anything -- please don't hesitate to poke me. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Re: Kernel not detecting all of physical RAM in 1st generation Apple TV

2012-07-22 Thread Damián Gatabria
I've hit the same problem; 3.4.4 still only uses 64MB of memory, even though it detects all 256MB of it. Could anybody please at least review the kernel config provided by Bharath and let us know if there's anything obviously wrong with it or if this is expected behavior for some reason? Thank

Re: [PATCH] net: Fix references to out-of-scope variables in put_cmsg_compat()

2012-07-22 Thread David Miller
From: Jesper Juhl Date: Sun, 22 Jul 2012 23:37:20 +0200 (CEST) > In net/compat.c::put_cmsg_compat() we may assign 'data' the address of > either the 'ctv' or 'cts' local variables inside the 'if > (!COMPAT_USE_64BIT_TIME)' branch. > > Those variables go out of scope at the end of the 'if'

Re: linux-next: manual merge of the staging tree with the target-merge tree

2012-07-22 Thread Nicholas A. Bellinger
On Sat, 2012-07-21 at 19:07 -0700, Greg KH wrote: > On Fri, Jul 20, 2012 at 09:42:28PM +0300, Michael S. Tsirkin wrote: > > It's very similar to how it was with nouveau: we are not sure > > we can commit to the userspace ABI yet. > > Then you are in trouble :) > I agree with MST here that

[PATCH] net: Fix references to out-of-scope variables in put_cmsg_compat()

2012-07-22 Thread Jesper Juhl
In net/compat.c::put_cmsg_compat() we may assign 'data' the address of either the 'ctv' or 'cts' local variables inside the 'if (!COMPAT_USE_64BIT_TIME)' branch. Those variables go out of scope at the end of the 'if' statement, so when we use 'data' further down in

[ANNOUNCE] Git v1.7.11.3

2012-07-22 Thread Junio C Hamano
The latest maintenance release Git v1.7.11.3 is now available at the usual places. The release tarballs are found at: http://code.google.com/p/git-core/downloads/list and their SHA-1 checksums are: a10c420e4d9152d6059f41825904cfac3062b135 git-1.7.11.3.tar.gz

Re: [PATCH] workqueue: fix spurious CPU locality WARN from process_one_work()

2012-07-22 Thread Paul E. McKenney
On Sun, Jul 22, 2012 at 09:43:27AM -0700, Tejun Heo wrote: > 25511a4776 "workqueue: reimplement CPU online rebinding to handle idle > workers" added CPU locality sanity check in process_one_work(). It > triggers if a worker is executing on a different CPU without UNBOUND > or REBIND set. > >

[GIT PULL] MMC updates for 3.6-rc1

2012-07-22 Thread Chris Ball
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc.git tags/mmc-merge-for-3.6-rc1 to receive the MMC merge for 3.6. The patches have been tested in linux-next, and there are currently no merge conflicts. Thanks. The following changes since commit

[PATCH] [timer] Cleaned up according to scripts/check_patch.pl

2012-07-22 Thread Fredrik Gustafsson
There's still 6 warnings left: * WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable This is an error in check_patch.pl * WARNING: quoted string split across lines 1516: FILE: timer.c:1516: Is left unsolved because of lack of a good solution. *

Re: [PATCH] NFS4: Fix NULL deref in nfsd4_lock() by makeing unhash_lockowner() safe to call with NULL arg

2012-07-22 Thread Jesper Juhl
On Mon, 30 Jan 2012, J. Bruce Fields wrote: > On Sun, Jan 29, 2012 at 10:29:24PM +0100, Jesper Juhl wrote: > > The Coverity checker noticed a path through nfsd4_lock() where we call > > release_lockowner(lock_sop); (at the 'out:' label) where 'lock_sop' is > > NULL. > > That goes bad since

[PATCH 2/2] Staging: slicoss: Clean up spaces vs tabs in slicoss.c

2012-07-22 Thread Jesper Juhl
Make it match CodingStyle a bit better, space/tab wise. Signed-off-by: Jesper Juhl --- drivers/staging/slicoss/slicoss.c | 809 +++--- 1 file changed, 397 insertions(+), 412 deletions(-) diff --git a/drivers/staging/slicoss/slicoss.c

[PATCH 1/2] Staging: slicoss: Clean up tabs vs spaces in slic.h

2012-07-22 Thread Jesper Juhl
Make it match CodingStyle a bit better, tab/space wise. Signed-off-by: Jesper Juhl --- drivers/staging/slicoss/slic.h | 751 - 1 file changed, 374 insertions(+), 377 deletions(-) diff --git a/drivers/staging/slicoss/slic.h

Re: [PATCH 2/2] kthread_worker: reimplement flush_kthread_work() to allow freeing the work item being executed

2012-07-22 Thread Andy Walls
On Sun, 2012-07-22 at 09:49 -0700, Tejun Heo wrote: > Hello, > > On Sat, Jul 21, 2012 at 02:20:06PM -0400, Andy Walls wrote: > > > + worker->current_work = work; > > > spin_unlock_irq(>lock); > > > > > > if (work) { > > > __set_current_state(TASK_RUNNING); > > >

Re: [PATCH 1/2] kthread_worker: reorganize to prepare for flush_kthread_work() reimplementation

2012-07-22 Thread Andy Walls
On Sun, 2012-07-22 at 09:46 -0700, Tejun Heo wrote: > Hello, > > On Sat, Jul 21, 2012 at 01:13:27PM -0400, Andy Walls wrote: > > > +/* insert @work before @pos in @worker */ > > > > Hi Tejun, > > > > Would a comment that the caller should be holding worker->lock be useful > > here? Anyway,

Re: [PATCH 2/2] kthread_worker: reimplement flush_kthread_work() to allow freeing the work item being executed

2012-07-22 Thread Andy Walls
Hi Tejun, Thanks for responding to my previous questions. I have one more. On Sat, 2012-07-21 at 14:20 -0400, Andy Walls wrote: > On Thu, 2012-07-19 at 14:16 -0700, Tejun Heo wrote: > > From 06f9a06f4aeecdb9d07014713ab41b548ae219b5 Mon Sep 17 00:00:00 2001 > > From: Tejun Heo > > Date: Thu, 19

Re: [PULL] vhost-net changes for net/3.6

2012-07-22 Thread Nicholas A. Bellinger
Hi DaveM, On Sun, 2012-07-22 at 12:19 -0700, David Miller wrote: > From: "Michael S. Tsirkin" > Date: Sun, 22 Jul 2012 01:54:36 +0300 > > > The following changes since commit 186e868786f97c8026f0a81400b451ace306b3a4: > > > > forcedeth: spin_unlock_irq in interrupt handler fix (2012-07-20

Re: [Qemu-devel] [PATCH v7] kvm: notify host when the guest is panicked

2012-07-22 Thread Sasha Levin
On 07/22/2012 10:19 PM, Sasha Levin wrote: > On 07/22/2012 09:22 PM, Anthony Liguori wrote: >> Sasha Levin writes: >> >>> On 07/21/2012 09:12 AM, Wen Congyang wrote: +#define KVM_PV_PORT (0x505UL) + #ifdef __KERNEL__ #include @@ -221,6 +223,11 @@ static

Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-22 Thread David Greaves
On 18/07/12 10:55, Tom Gundersen wrote: > Linus, > >> The point I'm slowly getting to is that I would actually love to have >> *distro* Kconfig-files, where the distribution would be able to say >> "These are the minimums I *require* to work". So we'd have a "Distro" >> submenu, where you could

Re: [PATCH] acpi: fix pwr_btn_event_pending build error

2012-07-22 Thread Paul E. McKenney
On Sun, Jul 22, 2012 at 07:40:51PM +0200, Rafael J. Wysocki wrote: > On Sunday, July 22, 2012, Paul E. McKenney wrote: > > On Sun, Jul 22, 2012 at 03:08:40AM +0300, Kirill A. Shutemov wrote: > > > On Sat, Jul 21, 2012 at 04:37:14PM -0700, Paul E. McKenney wrote: > > > > On Sun, Jul 22, 2012 at

[GIT PULL] Power management updates for 3.6

2012-07-22 Thread Rafael J. Wysocki
Hi Linus, Please pull from the git repository at git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git pm-for-3.6-rc1 to receive power management updates for v3.6 with top-most commit 75a4161a58dd157a2bd2dc8e9986e45b62ac46cf Merge branch 'pm-cpufreq' on top of commit

Re: [git pull] vfs.git; pile 1

2012-07-22 Thread Al Viro
On Sun, Jul 22, 2012 at 10:34:10AM -0700, Linus Torvalds wrote: > I'm not pulling this until the mess with the NFS tree is sorted out. > Apparently you rebased your (public!) VFS tree, and now half of your > old pre-rebase patches are in the NFS tree. > > Rebasing public trees IS NOT A VALID

Re: [Qemu-devel] [PATCH v7] kvm: notify host when the guest is panicked

2012-07-22 Thread Sasha Levin
On 07/22/2012 09:22 PM, Anthony Liguori wrote: > Sasha Levin writes: > >> On 07/21/2012 09:12 AM, Wen Congyang wrote: >>> +#define KVM_PV_PORT(0x505UL) >>> + >>> #ifdef __KERNEL__ >>> #include >>> >>> @@ -221,6 +223,11 @@ static inline void kvm_disable_steal_time(void) >>> } >>>

crash in ocfs2_fast_symlink_readpage in kernel 3.5.0

2012-07-22 Thread Bret Towe
just booted a fresh 3.5 kernel and got the following on login via gdm on the client computer didn't see any crashes yet on any other computer but didn't give it long to try after seeing this let me know if you need more info this client is running debian wheezy 64bit Jul 22 12:48:38 ghoststar

Re: [PATCH] proc: do not allow negative offsets on /proc//environ

2012-07-22 Thread Oleg Nesterov
On 07/22, Djalal Harouni wrote: > > __mem_open() which is called by both /proc//environ and > /proc//mem ->open() handlers will allow the use of negative offsets. > /proc//mem has negative offsets but not /proc//environ. Probablt the patch makes sense, but I can't understand the changelog... >

Re: [Qemu-devel] [PATCH v7.5] kvm: notify host when the guest is panicked

2012-07-22 Thread Sasha Levin
On 07/22/2012 09:14 PM, Anthony Liguori wrote: > Sasha Levin writes: > >> On 07/21/2012 10:44 AM, Wen Congyang wrote: >>> We can know the guest is panicked when the guest runs on xen. >>> But we do not have such feature on kvm. >>> >>> Another purpose of this feature is: management app(for

Re: [RFC] firmware load: defer request_firmware during early boot and resume

2012-07-22 Thread Linus Torvalds
On Sun, Jul 22, 2012 at 5:58 AM, Borislav Petkov wrote: > > Question: is there any other reason > > [besides maybe embedded people who care about each single Kb of memory >on the system] > > why we don't make this cache/uncache firmware thing *implicit*? That is, > load it once at driver

Re: [PATCH] sctp: Make "Invalid Stream Identifier" ERROR follows SACK when bundling

2012-07-22 Thread David Miller
From: Date: Thu, 19 Jul 2012 13:57:30 +0800 > When "Invalid Stream Identifier" ERROR happens after process the > received DATA chunks, this ERROR chunk is enqueued into outqueue > before SACK chunk, so when bundling ERROR chunk with SACK chunk, > the ERROR chunk is always placed first in the

Re: [PATCHv3 0/6] tun zerocopy support

2012-07-22 Thread David Miller
From: "Michael S. Tsirkin" Date: Sun, 22 Jul 2012 01:05:34 +0300 > I agree a small win in CPU use is nothing to write home about, > I don't yet understand why the win is so small - macvtap has zero copy > supported for a while and it has exactly same issues. > I hope adding tun zerocopy support

Re: [PATCH V6 08/13] perf: Add Sandy Bridge-EP uncore support

2012-07-22 Thread Stephane Eranian
On Fri, Jun 15, 2012 at 8:31 AM, Yan, Zheng wrote: > > From: "Yan, Zheng" > > Add Intel Nehalem and Sandy Bridge uncore pmu support. The uncore > subsystem in Sandy Bridge-EP consists of 8 components (Ubox, > Cacheing Agent, Home Agent, Memory controller, Power Control, > QPI Link Layer, R2PCIe,

<    1   2   3   4   5   6   >