[PATCH 2/2] f2fs: support xattr security labels

2013-06-06 Thread Jaegeuk Kim
This patch adds the support of security labels for f2fs, which will be used by SElinux. Signed-off-by: Jaegeuk Kim --- fs/f2fs/Kconfig | 9 + fs/f2fs/dir.c | 5 + fs/f2fs/xattr.c | 59 +++-- fs/f2fs/xattr.h | 12 +++- 4

[PATCH 1/2] f2fs: fix iget/iput of dir during recovery

2013-06-06 Thread Jaegeuk Kim
It is possible that iput is skipped after iget during the recovery. In recover_dentry(), dir = f2fs_iget(); ... if (de && inode->i_ino == le32_to_cpu(de->ino)) goto out; In this case, this dir is not able to be added in dirty_dir_inode_list. The actual linking is done only when

Re: [ 139/184] NLS: improve UTF8 -> UTF16 string conversion routine

2013-06-06 Thread Willy Tarreau
On Fri, Jun 07, 2013 at 06:48:08AM +0100, Ben Hutchings wrote: > > Signed-off-by: Alan Stern > > CC: Clemens Ladisch > > Signed-off-by: Greg Kroah-Hartman > > [bwh: Bakckported to 2.6.32: drop Hyper-V change] > > Signed-off-by: Ben Hutchings added, thank you. Willy -- To unsubscribe from

Re: [ 130/184] CVE-2012-4508 kernel: ext4: AIO vs fallocate stale

2013-06-06 Thread Willy Tarreau
On Fri, Jun 07, 2013 at 06:42:05AM +0100, Ben Hutchings wrote: > On Tue, 2013-06-04 at 19:23 +0200, Willy Tarreau wrote: > > 2.6.32-longterm review patch. If anyone has any objections, please let me > > know. > > > > -- > > data exposure > > > > From: Jamie Iles > > > >

Re: [PATCH RFC 0/3] clk: dt: bindings for mux & divider clocks

2013-06-06 Thread Shawn Guo
Mike, On Mon, Jun 03, 2013 at 10:53:07AM -0700, Mike Turquette wrote: > I am using this code while converting the OMAP4 clock data over to DT I see these basic clk bindings can be useful for platforms that have a relatively simple clock tree, but I'm a little surprised that you plan to move

Re: [ 139/184] NLS: improve UTF8 -> UTF16 string conversion routine

2013-06-06 Thread Ben Hutchings
On Tue, 2013-06-04 at 19:23 +0200, Willy Tarreau wrote: > 2.6.32-longterm review patch. If anyone has any objections, please let me > know. > > -- > > From: Alan Stern > > commit 0720a06a7518c9d0c0125bd5d1f3b6264c55c3dd upstream. > > The utf8s_to_utf16s conversion routine

Re: [ 132/184] ext4: avoid hang when mounting non-journal

2013-06-06 Thread Willy Tarreau
On Fri, Jun 07, 2013 at 06:44:32AM +0100, Ben Hutchings wrote: > On Tue, 2013-06-04 at 19:23 +0200, Willy Tarreau wrote: > > 2.6.32-longterm review patch. If anyone has any objections, please let me > > know. > > > > -- > > filesystems with orphan list > > > > From: Theodore

Re: [ 131/184] ext4: make orphan functions be no-op in no-journal

2013-06-06 Thread Willy Tarreau
On Fri, Jun 07, 2013 at 06:43:55AM +0100, Ben Hutchings wrote: > On Tue, 2013-06-04 at 19:23 +0200, Willy Tarreau wrote: > > 2.6.32-longterm review patch. If anyone has any objections, please let me > > know. > > > > -- > > mode > > > > From: Anatol Pomozov > > commit

Re: [ 132/184] ext4: avoid hang when mounting non-journal

2013-06-06 Thread Ben Hutchings
On Tue, 2013-06-04 at 19:23 +0200, Willy Tarreau wrote: > 2.6.32-longterm review patch. If anyone has any objections, please let me > know. > > -- > filesystems with orphan list > > From: Theodore Ts'o commit 0e9a9a1ad619e7e987815d20262d36a2f95717ca upstream. > When trying

Re: [ 131/184] ext4: make orphan functions be no-op in no-journal

2013-06-06 Thread Ben Hutchings
On Tue, 2013-06-04 at 19:23 +0200, Willy Tarreau wrote: > 2.6.32-longterm review patch. If anyone has any objections, please let me > know. > > -- > mode > > From: Anatol Pomozov commit c9b92530a723ac5ef8e352885a1862b18f31b2f5 upstream. > Instead of checking whether the

Re: [ 097/184] Bluetooth: Fix incorrect strncpy() in

2013-06-06 Thread Willy Tarreau
On Fri, Jun 07, 2013 at 05:53:27AM +0100, Ben Hutchings wrote: > On Tue, 2013-06-04 at 19:23 +0200, Willy Tarreau wrote: > > 2.6.32-longterm review patch. If anyone has any objections, please let me > > know. > > > > -- > > hidp_setup_hid() > > > > From: Anderson Lizardo > >

Re: [ 111/184] USB: cdc-wdm: fix buffer overflow

2013-06-06 Thread Willy Tarreau
On Fri, Jun 07, 2013 at 06:01:17AM +0100, Ben Hutchings wrote: > On Tue, 2013-06-04 at 19:23 +0200, Willy Tarreau wrote: > > 2.6.32-longterm review patch. If anyone has any objections, please let me > > know. > > > > -- > > > > From: Oliver Neukum > > > > commit

Re: [ 130/184] CVE-2012-4508 kernel: ext4: AIO vs fallocate stale

2013-06-06 Thread Ben Hutchings
On Tue, 2013-06-04 at 19:23 +0200, Willy Tarreau wrote: > 2.6.32-longterm review patch. If anyone has any objections, please let me > know. > > -- > data exposure > > From: Jamie Iles > > CVE-2012-4508 kernel: ext4: AIO vs fallocate stale data exposure > [dannf: backported

Re: [PATCH v3] Fix lockup related to stop_machine being stuck in __do_softirq.

2013-06-06 Thread Pekka Riikonen
On Thu, 6 Jun 2013, Tejun Heo wrote: On Thu, Jun 06, 2013 at 02:29:49PM -0700, gree...@candelatech.com wrote: From: Ben Greear The stop machine logic can lock up if all but one of the migration threads make it through the disable-irq step and the one remaining thread gets stuck in

Re: [ 010/184] usermodehelper: introduce umh_complete(sub_info)

2013-06-06 Thread Willy Tarreau
On Fri, Jun 07, 2013 at 05:50:00AM +0100, Ben Hutchings wrote: > On Tue, 2013-06-04 at 19:21 +0200, Willy Tarreau wrote: > > 2.6.32-longterm review patch. If anyone has any objections, please let me > > know. > > > > -- > > > > From: Oleg Nesterov > > > > commit

Re: [ 061/184] PCI/PM: Clean up PME state when removing a device

2013-06-06 Thread Willy Tarreau
On Fri, Jun 07, 2013 at 05:23:56AM +0100, Ben Hutchings wrote: > On Tue, 2013-06-04 at 19:22 +0200, Willy Tarreau wrote: > > 2.6.32-longterm review patch. If anyone has any objections, please let me > > know. > > > > -- > > > > From: "Rafael J. Wysocki" > > > > commit

Re: [PATCH 2/2] mmc: dw_mmc: Add the ability to set the ciu clock frequency

2013-06-06 Thread Jaehoon Chung
Looks good to me. If you can add the usage example, it will be more helpful to me. Acked-by: Jaehoon Chung On 06/07/2013 01:46 PM, Doug Anderson wrote: > As of now we rely on code outside of the driver to set the ciu clock > frequency. There's no reason to do that. Add support for setting up

Re: [ 058/184] KVM: x86: invalid opcode oops on SET_SREGS with

2013-06-06 Thread Willy Tarreau
On Fri, Jun 07, 2013 at 05:08:03AM +0100, Ben Hutchings wrote: > > Signed-off-by: Petr Matousek > > Signed-off-by: Marcelo Tosatti > > [bwh: Backported to 2.6.32: XSAVE is not supported at all, so always > > deny setting OSXSAVE] > > Signed-off-by: Ben Hutchings added, thanks Ben. Willy --

Re: [ 044/184] ALSA: ice1712: Initialize card->private_data

2013-06-06 Thread Willy Tarreau
Hi Ben, On Fri, Jun 07, 2013 at 04:48:58AM +0100, Ben Hutchings wrote: > > From: Sean Connor > > > > commit 69a4cfdd444d1fe5c24d29b3a063964ac165d2cd upstream. > > > > Set card->private_data in snd_ice1712_create for fixing NULL > > dereference in snd_ice1712_remove(). > > This bug appears to

Re: Re: [PATCH V2 1/1] kvm/vmx: Add a tracepoint write_tsc_offset

2013-06-06 Thread Yoshihiro YUNOMAE
(2013/06/06 20:33), Gleb Natapov wrote: On Wed, Jun 05, 2013 at 09:23:22PM -0300, Marcelo Tosatti wrote: On Tue, Jun 04, 2013 at 05:36:19PM +0900, Yoshihiro YUNOMAE wrote: Add a tracepoint write_tsc_offset for tracing TSC offset change. We want to merge ftrace's trace data of guest OSs and the

Re: [PATCH 2/2] i2c: designware: make i2c xfers non-interruptible

2013-06-06 Thread Mika Westerberg
On Thu, Jun 06, 2013 at 03:43:36PM +0200, Christian Ruppert wrote: > When the process at the source of an i2c transfer is killed in the > middle of the transfer, the transfer is interrupted. Interrupted > transfers might cause buggy slaves on the bus (or higher level drivers) > to go haywire. >

Re: [PATCH 1/2] i2c: designware: fix race between subsequent xfers

2013-06-06 Thread Mika Westerberg
Hi Christian, On Thu, Jun 06, 2013 at 03:43:35PM +0200, Christian Ruppert wrote: > The designware block is not always properly disabled in the case of > transfer errors. Interrupts from aborted transfers might be handled > after the data structures for the following transfer are initialised but >

Re: [PATCH 17/18] cpufreq: powerpc: move cpufreq driver to drivers/cpufreq

2013-06-06 Thread Viresh Kumar
On 31 May 2013 16:20, Viresh Kumar wrote: > On 20 May 2013 10:10, Viresh Kumar wrote: >> On 13 May 2013 11:34, Viresh Kumar wrote: >>> On 22 April 2013 12:19, Viresh Kumar wrote: On 9 April 2013 14:05, Viresh Kumar wrote: > On 5 April 2013 12:16, Viresh Kumar wrote: >> On 4

[PATCH] cpufreq: stats: Remove CONFIG_CPU_FREQ_STAT_DETAILS

2013-06-06 Thread Viresh Kumar
Current cpufreq stats has got three parts: time_in_state, total_trans and trans_table. trans_table was present under a separate macro's from others: CONFIG_CPU_FREQ_STAT_DETAILS The reason quoted for that was: - trans_table goes against the traditional /sysfs rule of one value per interface.

Re: [ 111/184] USB: cdc-wdm: fix buffer overflow

2013-06-06 Thread Ben Hutchings
On Tue, 2013-06-04 at 19:23 +0200, Willy Tarreau wrote: > 2.6.32-longterm review patch. If anyone has any objections, please let me > know. > > -- > > From: Oliver Neukum > > commit c0f5ecee4e741667b2493c742b60b6218d40b3aa upstream. > > The buffer for responses must not

Re: [ 097/184] Bluetooth: Fix incorrect strncpy() in

2013-06-06 Thread Ben Hutchings
On Tue, 2013-06-04 at 19:23 +0200, Willy Tarreau wrote: > 2.6.32-longterm review patch. If anyone has any objections, please let me > know. > > -- > hidp_setup_hid() > > From: Anderson Lizardo This is missing the upstream reference. It was commit

[PATCH 1/2] mmc: dw_mmc: Handle late vmmc regulator with EPROBE_DEFER

2013-06-06 Thread Doug Anderson
It is possible to specify a regulator that should be turned on when dw_mmc is probed. This regulator is optional, though a warning will be printed if it's missing. The fact that the regulator is optional means that (at the moment) it's not possible to use a regulator that probes _after_ dw_mmc.

Re: [PATCH] irq: add a new function irq_in_progress to check pending IRQ handlers

2013-06-06 Thread Yanmin Zhang
On Thu, 2013-06-06 at 21:19 -0700, Greg KH wrote: > On Fri, Jun 07, 2013 at 11:18:06AM +0800, Yanmin Zhang wrote: > > On Thu, 2013-06-06 at 20:08 -0700, Greg KH wrote: > > > On Fri, Jun 07, 2013 at 10:37:52AM +0800, Yanmin Zhang wrote: > > > > On Thu, 2013-06-06 at 18:02 -0700, Greg KH wrote: > >

Re: [ 010/184] usermodehelper: introduce umh_complete(sub_info)

2013-06-06 Thread Ben Hutchings
On Tue, 2013-06-04 at 19:21 +0200, Willy Tarreau wrote: > 2.6.32-longterm review patch. If anyone has any objections, please let me > know. > > -- > > From: Oleg Nesterov > > commit b3449922502f5a161ee2b5022a33aec8472fbf18 upstream > > Preparation. Add the new trivial

linux-next: manual merge of the driver-core tree with the pm tree

2013-06-06 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the driver-core tree got a conflict in drivers/base/memory.c between commit 4960e05e2260 ("Driver core: Introduce offline/online callbacks for memory blocks") from the pm tree and commit 96b2c0fc8e74 ("drivers/base: Use attribute groups to create sysfs memory

[PATCH 2/2] mmc: dw_mmc: Add the ability to set the ciu clock frequency

2013-06-06 Thread Doug Anderson
As of now we rely on code outside of the driver to set the ciu clock frequency. There's no reason to do that. Add support for setting up the clock in the driver during probe. Signed-off-by: Doug Anderson --- .../devicetree/bindings/mmc/synopsis-dw-mshc.txt| 13 +

Re: [ 061/184] PCI/PM: Clean up PME state when removing a device

2013-06-06 Thread Ben Hutchings
On Tue, 2013-06-04 at 19:22 +0200, Willy Tarreau wrote: > 2.6.32-longterm review patch. If anyone has any objections, please let me > know. > > -- > > From: "Rafael J. Wysocki" > > commit 249bfb83cf8ba658955f0245ac3981d941f746ee upstream. > > Devices are added to

Re: [RFC PATCH v1 4/4] firmware loader: don't allow to request firmware via relative path

2013-06-06 Thread Greg Kroah-Hartman
On Fri, Jun 07, 2013 at 09:30:09AM +0800, Ming Lei wrote: > On Fri, Jun 7, 2013 at 3:48 AM, Greg Kroah-Hartman > wrote: > > On Thu, Jun 06, 2013 at 08:01:50PM +0800, Ming Lei wrote: > >> It isn't a good pratice to request firmware via relative path, also > >> might have security issue, so don't

Re: [PATCH v1 3/4] firmware loader: allow distribution to choose default search paths

2013-06-06 Thread Greg Kroah-Hartman
On Fri, Jun 07, 2013 at 09:24:25AM +0800, Ming Lei wrote: > On Fri, Jun 7, 2013 at 3:47 AM, Greg Kroah-Hartman > wrote: > > On Thu, Jun 06, 2013 at 08:01:49PM +0800, Ming Lei wrote: > >> For some distributions(e.g. android), firmware images aren't put > >> under kernel built-in search paths, so

Re: [PATCH] irq: add a new function irq_in_progress to check pending IRQ handlers

2013-06-06 Thread Greg KH
On Fri, Jun 07, 2013 at 11:18:06AM +0800, Yanmin Zhang wrote: > On Thu, 2013-06-06 at 20:08 -0700, Greg KH wrote: > > On Fri, Jun 07, 2013 at 10:37:52AM +0800, Yanmin Zhang wrote: > > > On Thu, 2013-06-06 at 18:02 -0700, Greg KH wrote: > > > > On Fri, Jun 07, 2013 at 08:53:29AM +0800, Yanmin Zhang

iperf high cpu usage bug on 3.10.0-rc3?

2013-06-06 Thread Junxiao Bi
Hi All, Through iperf test between two 1000M NIC, I got a very different cpu usage on server mode when bind iperf to cpu 0 or bind to other cpu, the cpu usage of binding to cpu 0 is about two times higher than another one, but the network bandwidth is nearly the same. My NIC doesn't support

Re: [PATCH v2] PCI: Reset PCIe devices to stop ongoing DMA

2013-06-06 Thread Bjorn Helgaas
Sorry it's taken me so long to look at this. I've been putting this off because the patch doesn't seem "obviously correct," and I don't feel like I really understand the problem. I'm naive about both IOMMUs and kexec/kdump, so please pardon (and help me with) any silly questions or assumptions

Re: [ 058/184] KVM: x86: invalid opcode oops on SET_SREGS with

2013-06-06 Thread Ben Hutchings
On Tue, 2013-06-04 at 19:22 +0200, Willy Tarreau wrote: > 2.6.32-longterm review patch. If anyone has any objections, please let me > know. > > -- > OSXSAVE bit set (CVE-2012-4461) > > From: Petr Matousek > > commit 6d1068b3a98519247d8ba4ec85cd40ac136dbdf9 upstream. > > On

Re: Building a BSD-jail clone out of namespaces

2013-06-06 Thread Eric W. Biederman
Chris Webb writes: > "Eric W. Biederman" writes: > >> Hmm. I guess it depends on how your VM is reading them. If it is >> blocked based access to the filesystem you have a problem. If the VM >> is effectively NFS mounting the filesystem you can do all kinds of >> things. >> >> It is

Re: NULL pointer dereference when loading the gre module (3.10.0-rc4)

2013-06-06 Thread Eric Dumazet
On Thu, 2013-06-06 at 23:06 -0400, Steven Rostedt wrote: > On Fri, Jun 07, 2013 at 12:16:56AM +0200, Steinar H. Gunderson wrote: > > Hi, > > > > In 3.10.0-rc4, I get this on boot: > > > > [ 16.871043] BUG: unable to handle kernel NULL pointer dereference at > > 0003 > > [

Re: [PATCH 0/2] Clock changes for supporting CPUFreq on Exynos5250

2013-06-06 Thread Tushar Behera
>> Would it be possible for you to queue them for 3.10-rc? These two >> patches are sufficient for cpufreq to work on Arndale board. It would be >> nice to have cpufreq working on 3.10 kernel. >> > > I only want to take bug fixes into the -rc's. Did cpufreq work on > Arndale in v3.10? If it did

Re: [ 044/184] ALSA: ice1712: Initialize card->private_data

2013-06-06 Thread Ben Hutchings
On Tue, 2013-06-04 at 19:22 +0200, Willy Tarreau wrote: > 2.6.32-longterm review patch. If anyone has any objections, please let me > know. > > -- > properly > > From: Sean Connor > > commit 69a4cfdd444d1fe5c24d29b3a063964ac165d2cd upstream. > > Set card->private_data in

[RFC][PATCH] kconfig: Fix defconfig when one choice menu selects options that another choice menu depends on

2013-06-06 Thread Arve Hjønnevåg
The defconfig and Kconfig combination below, which is based on 3.10-rc4 Kconfigs, resulted in several options getting set to "m" instead of "y". defconfig: --- CONFIG_MODULES=y CONFIG_USB_GADGET=y CONFIG_USB_ZERO=y --- Kconfig: --- menuconfig MODULES bool "Enable loadable module support"

[GIT PULL] eCryptfs fixes for 3.10-rc5

2013-06-06 Thread Tyler Hicks
Hi Linus, The following changes since commit bb3ec6b08396bbd631b6441102dd1c3d89cbc576: mm: Fix virt_to_page() warning (2013-05-22 08:05:16 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tyhicks/ecryptfs.git tags/ecryptfs-3.10-rc5-msync for

Re: [PATCH] Add Initial TI-Nspire support

2013-06-06 Thread Daniel Tang
Hi, I was wondering if this patch had gone through yet. Cheers, Daniel Tang -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: [PATCH] irq: add a new function irq_in_progress to check pending IRQ handlers

2013-06-06 Thread Yanmin Zhang
On Thu, 2013-06-06 at 20:08 -0700, Greg KH wrote: > On Fri, Jun 07, 2013 at 10:37:52AM +0800, Yanmin Zhang wrote: > > On Thu, 2013-06-06 at 18:02 -0700, Greg KH wrote: > > > On Fri, Jun 07, 2013 at 08:53:29AM +0800, Yanmin Zhang wrote: > > > > On Thu, 2013-06-06 at 15:18 +0200, Thomas Gleixner

Re: [RFC v1] add new io-scheduler to use cgroup on high-speed device

2013-06-06 Thread sanbai
On 2013年06月05日 21:30, Vivek Goyal wrote: On Wed, Jun 05, 2013 at 10:09:31AM +0800, Robin Dong wrote: We want to use blkio.cgroup on high-speed device (like fusionio) for our mysql clusters. After testing different io-scheduler, we found that cfq is too slow and deadline can't run on cgroup.

Re: [PATCH] irq: add a new function irq_in_progress to check pending IRQ handlers

2013-06-06 Thread Greg KH
On Fri, Jun 07, 2013 at 10:37:52AM +0800, Yanmin Zhang wrote: > On Thu, 2013-06-06 at 18:02 -0700, Greg KH wrote: > > On Fri, Jun 07, 2013 at 08:53:29AM +0800, Yanmin Zhang wrote: > > > On Thu, 2013-06-06 at 15:18 +0200, Thomas Gleixner wrote: > > > > On Thu, 6 Jun 2013, shuox@intel.com wrote:

Re: NULL pointer dereference when loading the gre module (3.10.0-rc4)

2013-06-06 Thread Steven Rostedt
On Fri, Jun 07, 2013 at 12:16:56AM +0200, Steinar H. Gunderson wrote: > Hi, > > In 3.10.0-rc4, I get this on boot: > > [ 16.871043] BUG: unable to handle kernel NULL pointer dereference at > 0003 > [ 16.879453] IP: [] 0xa0e52001 Strange, kallsyms should have registered

Re: [PATCH RFC] virtio-pci: support config layout in BAR1

2013-06-06 Thread Rusty Russell
"Michael S. Tsirkin" writes: > Some setups don't support enabling BAR0 (IO BAR). Reasons range from CPU > limitations (e.g. on some powerpc setups) to architecture limmitations > (e.g. a setup with >15 PCI bridges, with one virtio device behind each, > on x86). > > PCI Express spec made IO

Re: [PATCH] virtio-net: put virtio net header inline with data

2013-06-06 Thread Rusty Russell
"Michael S. Tsirkin" writes: > For small packets we can simplify xmit processing by linearizing buffers > with the header: most packets seem to have enough head room we can use > for this purpose. > > Since some older hypervisors (e.g. qemu before version 1.5) > required that header is the first

Re: [PATCH RESEND/V2] crypto: Ignore validity dates of X.509 certificates at loading/parsing time

2013-06-06 Thread Rusty Russell
Alexander Holler writes: > Am 02.05.2013 16:09, schrieb Alexander Holler: >> I don't see any real use case where checking the validity dates of X.509 >> certificates at parsing time adds any security gain. In contrast, doing so >> makes MODSIGN unusable on systems without a RTC (or systems with a

Re: [PATCH] dma: mmp_pdma: support for getting residual bytes

2013-06-06 Thread Xiang Wang
2013/6/6 Andy Shevchenko : > On Thu, Jun 6, 2013 at 6:09 AM, Xiang Wang wrote: >> 2013/6/3 Andy Shevchenko : >>> On Mon, Jun 3, 2013 at 6:22 AM, Xiang Wang wrote: 2013/5/31 Andy Shevchenko : > On Fri, May 31, 2013 at 11:21 AM, Xiang Wang wrote: >> In some of our drivers (e.g. UART)

linux-next: manual merge of the wireless-next tree with the wireless tree

2013-06-06 Thread Stephen Rothwell
Hi John, Today's linux-next merge of the wireless-next tree got a conflict in drivers/net/wireless/ath/ath9k/Kconfig between commit 8bb7f167a12a ("ath9k: Use minstrel rate control by default") from the wireless tree and commit cf657a2bc50d ("ath9k: Remove MAC_DEBUG") from the wireless-next tree.

Re: [PATCH] virtio-net: put virtio net header inline with data

2013-06-06 Thread Jason Wang
On 06/06/2013 05:55 PM, Michael S. Tsirkin wrote: > For small packets we can simplify xmit processing by linearizing buffers > with the header: most packets seem to have enough head room we can use > for this purpose. > > Since some older hypervisors (e.g. qemu before version 1.5) > required that

Re: [PATCH] irq: add a new function irq_in_progress to check pending IRQ handlers

2013-06-06 Thread Yanmin Zhang
On Thu, 2013-06-06 at 18:02 -0700, Greg KH wrote: > On Fri, Jun 07, 2013 at 08:53:29AM +0800, Yanmin Zhang wrote: > > On Thu, 2013-06-06 at 15:18 +0200, Thomas Gleixner wrote: > > > On Thu, 6 Jun 2013, shuox@intel.com wrote: > > > > From: Zhang Yanmin > > > > > > > > synchronize_irq waits

Re: [RFC][PATCH 1/2] dma-buf: add importer private data to attachment

2013-06-06 Thread 김승우
Hello Maarten, On 2013년 06월 05일 22:23, Maarten Lankhorst wrote: > Op 31-05-13 10:54, Seung-Woo Kim schreef: >> dma-buf attachment has only exporter private data, but importer private data >> can be useful for importer especially to re-import the same dma-buf. >> To use importer private data in

Re: TLB and PTE coherency during munmap

2013-06-06 Thread George Spelvin
It's a bug in the original code, but as long as you're cleaning it up: @@ -103,6 +97,7 @@ extern struct ia64_tr_entry *ia64_idtrs[NR_CPUS]; static inline void ia64_tlb_flush_mmu (struct mmu_gather *tlb, unsigned long start, unsigned long end) { + unsigned long i; unsigned int

[PATCH V2] drivers/rtc/class: convert from Legacy pm ops to dev_pm_ops

2013-06-06 Thread Jingoo Han
From: Shuah Khan Convert drivers/rtc/class to use dev_pm_ops for power management and remove Legacy PM ops hooks. With this change, rtc class registers suspend/resume callbacks via class->pm (dev_pm_ops) instead of Legacy class->suspend/resume. When __device_suspend() runs call-backs, it will

Re: race condition in schedule_on_each_cpu()

2013-06-06 Thread we...@kylinos.com.cn
In the previous message,You mentioned: by the way, I'm wondering about what's the race condition before which doesn't exist now Before the commit you originally quoted, the calling thread could be preempted and migrated to another CPU before get_online_cpus() thus ending up executing

[PATCH] UBIFS: fix error return code in ubifs_remount_rw() and ubifs_fill_super()

2013-06-06 Thread Wei Yongjun
From: Wei Yongjun Fix to return -ENOMEM in the kmalloc() and d_make_root() error handling case instead of 0, as done elsewhere in those functions. Signed-off-by: Wei Yongjun --- fs/ubifs/super.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/fs/ubifs/super.c

[PATCH] pcmcia: pd6729: fix error return code in pd6729_pci_probe()

2013-06-06 Thread Wei Yongjun
From: Wei Yongjun Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun --- drivers/pcmcia/pd6729.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pcmcia/pd6729.c b/drivers/pcmcia/pd6729.c

[PATCH] memstick: fix error return code in r592_probe()

2013-06-06 Thread Wei Yongjun
From: Wei Yongjun Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun --- drivers/memstick/host/r592.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git

[PATCH] staging: tidspbridge: fix error return code in omap34_xx_bridge_probe()

2013-06-06 Thread Wei Yongjun
From: Wei Yongjun Fix to return a negative error code in the class_create() error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun --- drivers/staging/tidspbridge/rmgr/drv_interface.c | 1 + 1 file changed, 1 insertion(+) diff --git

RE: [PATCH v3] mfd: DT bindings for the palmas family MFD

2013-06-06 Thread J, KEERTHY
From: Lee Jones [lee.jo...@linaro.org] Sent: Thursday, June 06, 2013 12:36 PM To: J, KEERTHY Cc: linux-kernel@vger.kernel.org; grant.lik...@secretlab.ca; linux-...@vger.kernel.org; devicetree-disc...@lists.ozlabs.org; swar...@wwwdotorg.org;

Re: [PATCH] ACPI: update user_policy.max when _PPC updated

2013-06-06 Thread Joe Jin
On 06/07/13 03:54, Rafael J. Wysocki wrote: > Do you mean you set a limit in the BIOS setup and the kernel changed that > limit > on boot? Sorry for the confusing. The issue is when we disable hardcap before kernel boot up, after kernel bring up, any changes of _PPC will update scaling_max_freq

Re: [PATCH] clk: remove the clk_notifier from clk_notifier_list before free it (was: Re: [BUG] zynq | CCF | SRCU)

2013-06-06 Thread Mike Turquette
Quoting Lai Jiangshan (2013-06-03 02:17:15) > The @cn is stay in @clk_notifier_list after it is freed, it cause > memory corruption. > > Example, if @clk is registered(first), unregistered(first), > registered(second), unregistered(second). > > The freed @cn will be used when @clk is

[ANNOUNCE] 3.6.11.5-rt37

2013-06-06 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.6.11.5-rt37 stable release. This release is just an update to the new stable 3.6.11.5 version and no RT specific changes have been made. You can get this release via the git tree at:

[PATCH] backlight: add CONFIG_PM_SLEEP to suspend/resume functions

2013-06-06 Thread Jingoo Han
Add CONFIG_PM_SLEEP to suspend/resume functions to fix the following build warning when CONFIG_PM_SLEEP is not selected. This is because sleep PM callbacks defined by SIMPLE_DEV_PM_OPS are only used when the CONFIG_PM_SLEEP is enabled. drivers/video/backlight/backlight.c:211:12: warning:

Re: race condition in schedule_on_each_cpu()

2013-06-06 Thread we...@kylinos.com.cn
it's preemption mode related , on the 3.0.30-rt50, only config kernel with highest preemption level (Fully Preemptible Kernel (RT)) in cpu preemption model will cause problem and even i use the "Preemptible Kernel" or "Preemptible Kernel (Low-Latency Desktop)" the problem would not

Re: [PATCH] Documentation: cover CONFIG_BINFMT_SCRIPT in init.txt

2013-06-06 Thread Rob Landley
On 06/03/2013 03:26:56 PM, Andreas Mohr wrote: Hi, On Mon, Jun 03, 2013 at 06:16:12AM -0500, Rob Landley wrote: > On 05/30/2013 03:33:10 PM, Andreas Mohr wrote: > >It's somewhat sad to see that that file remained at only one > >initial commit > >since 2010, thus thumbs up for your help! > > >

Re: [RFC PATCH v1 4/4] firmware loader: don't allow to request firmware via relative path

2013-06-06 Thread Ming Lei
On Fri, Jun 7, 2013 at 3:48 AM, Greg Kroah-Hartman wrote: > On Thu, Jun 06, 2013 at 08:01:50PM +0800, Ming Lei wrote: >> It isn't a good pratice to request firmware via relative path, also >> might have security issue, so don't do it. > > What would the security issue be? You are letting the

Re: [PATCH v3] backlight: Convert from Legacy pm ops to dev_pm_ops

2013-06-06 Thread Jingoo Han
On Friday, June 07, 2013 6:28 AM, Arnd Bergmann wrote: > On Monday 03 June 2013 13:10:10 Jingoo Han wrote: > > On Sunday, June 02, 2013 8:07 AM, Shuah Khan wrote: > > > > > > Convert drivers/video/backlight/class to use dev_pm_ops for power > > > management and remove Legacy PM ops hooks. With

[PATCH] power: Add missing newlines, fix a couple of typos, add pr_fmt

2013-06-06 Thread Joe Perches
Make sure that dev_ calls are newline terminated. Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt to prefix all pr_ calls with "charger-manager: " Fix a couple of typos. Fix formats with terminating n that should be \n. Coalesce formats for easier grep. Align arguments to open parenthesis for

Re: [PATCH] dmatest: do not allow to interrupt ongoing tests

2013-06-06 Thread Vinod Koul
On Wed, Jun 05, 2013 at 06:10:01PM +0100, Will Deacon wrote: > On Mon, May 27, 2013 at 08:11:07AM +0100, Andy Shevchenko wrote: > > On Fri, 2013-05-24 at 23:55 +0200, Guennadi Liakhovetski wrote: > > > On Thu, 23 May 2013, Andy Shevchenko wrote: > > > > > > > When user interrupts ongoing

Re: [PATCH v1 3/4] firmware loader: allow distribution to choose default search paths

2013-06-06 Thread Ming Lei
On Fri, Jun 7, 2013 at 3:47 AM, Greg Kroah-Hartman wrote: > On Thu, Jun 06, 2013 at 08:01:49PM +0800, Ming Lei wrote: >> For some distributions(e.g. android), firmware images aren't put >> under kernel built-in search paths, so introduce one Kconfig >> option to allow distributions or users to

Re: New prototype computer problem with S3 suspend

2013-06-06 Thread Aaron Lu
On 06/07/2013 02:11 AM, Boszormenyi Zoltan wrote: > Hi, > > we are working on an Intel Atom-based embedded PC and I have to > make suspend-to-RAM work but I can't seem to succeed. > > The symptom is that quite often, the machine resumes immediately > after pm-suspend. Sometimes more than 20

Re: [PATCH] irq: add a new function irq_in_progress to check pending IRQ handlers

2013-06-06 Thread Greg KH
On Fri, Jun 07, 2013 at 08:53:29AM +0800, Yanmin Zhang wrote: > On Thu, 2013-06-06 at 15:18 +0200, Thomas Gleixner wrote: > > On Thu, 6 Jun 2013, shuox@intel.com wrote: > > > From: Zhang Yanmin > > > > > > synchronize_irq waits pending IRQ handlers to be finished. If using this > > >

Re: [PATCH v8 9/9] vmcore: support mmap() on /proc/vmcore

2013-06-06 Thread Zhang Yanfei
On 06/04/2013 11:34 PM, Maxim Uvarov wrote: > > > > 2013/6/3 Atsushi Kumagai > > > Hello Maxim, > > On Thu, 30 May 2013 14:30:01 +0400 > Maxim Uvarov mailto:muva...@gmail.com>> wrote: > > > 2013/5/30 Zhang Yanfei

Re: [PATCH v8 9/9] vmcore: support mmap() on /proc/vmcore

2013-06-06 Thread HATAYAMA Daisuke
(2013/06/07 6:31), Arnd Bergmann wrote: On Thursday 23 May 2013 14:25:48 HATAYAMA Daisuke wrote: This patch introduces mmap_vmcore(). Don't permit writable nor executable mapping even with mprotect() because this mmap() is aimed at reading crash dump memory. Non-writable mapping is also

[PATCH V3] rtc: rtc-pcf2123: replace strict_strtoul() with kstrtoul()

2013-06-06 Thread Jingoo Han
The usage of strict_strtoul() is not preferred, because strict_strtoul() is obsolete. Thus, kstrtoul() should be used. Signed-off-by: Jingoo Han Reviewed-by: Andy Shevchenko --- Changes since v2: - Split to two sequential checks. - Added Andy Shevchenko's Reviewed-by. Changes since v1: - Used

Re: [PATCH V3] rtc: rtc-pcf2123: replace strict_strtoul() with kstrtoul()

2013-06-06 Thread Jingoo Han
On Friday, June 07, 2013 4:52 AM, Greg Kroah-Hartman wrote: > On Tue, Jun 04, 2013 at 01:12:52PM +0900, Jingoo Han wrote: > > The usage of strict_strtoul() is not preferred, because > > strict_strtoul() is obsolete. Thus, kstrtoul() should be > > used. > > > > Signed-off-by: Jingoo Han > >

Re: [PATCH] irq: add a new function irq_in_progress to check pending IRQ handlers

2013-06-06 Thread Yanmin Zhang
On Thu, 2013-06-06 at 15:18 +0200, Thomas Gleixner wrote: > On Thu, 6 Jun 2013, shuox@intel.com wrote: > > From: Zhang Yanmin > > > > synchronize_irq waits pending IRQ handlers to be finished. If using this > > function while holding a resource, the IRQ handler may cause deadlock. > > > >

Re: [patch -v4 4/8] memcg: enhance memcg iterator to support predicates

2013-06-06 Thread Tejun Heo
On Wed, Jun 05, 2013 at 02:09:38AM -0700, Tejun Heo wrote: > On Wed, Jun 05, 2013 at 11:07:39AM +0200, Michal Hocko wrote: > > On Wed 05-06-13 01:58:49, Tejun Heo wrote: > > [...] > > > Anyways, so you aren't gonna try the skipping thing? > > > > As I said. I do not consider this a priority for

Re: [PATCH 4/8] power: ensure event is not used as format string

2013-06-06 Thread Anton Vorontsov
On Thu, Jun 06, 2013 at 01:52:21PM -0700, Kees Cook wrote: > The exposed interface for cm_notify_event() could result in the event > msg string being parsed as a format string. Make sure it is only used > as a literal string. > > Signed-off-by: Kees Cook > Cc: sta...@vger.kernel.org > Cc: Anton

Re: [PATCH V2] power: replace strict_strtoul() with kstrtoul()

2013-06-06 Thread Anton Vorontsov
On Mon, Jun 03, 2013 at 01:49:49PM +0300, Andy Shevchenko wrote: > On Mon, Jun 3, 2013 at 12:05 PM, Jingoo Han wrote: > > The usage of strict_strtoul() is not preferred, because > > strict_strtoul() is obsolete. Thus, kstrtoul() should be > > used. > > > > Signed-off-by: Jingoo Han > > Looks

Re: [PATCH] power_supply: generic-adc-battery: Fix checking if none of the channels are supported

2013-06-06 Thread Anton Vorontsov
On Tue, May 28, 2013 at 11:57:37AM +0530, anish singh wrote: > On Fri, May 24, 2013 at 11:11 PM, Axel Lin wrote: > > If none of the channels are supported, index is 0. > > Also ensure to return error code instead of 0 in goto second_mem_fail path. > > > > Signed-off-by: Axel Lin > Acked-by:

Re: [PATCH] power: use platform_{get,set}_drvdata()

2013-06-06 Thread Anton Vorontsov
On Thu, May 23, 2013 at 07:34:39PM +0900, Jingoo Han wrote: > Use the wrapper functions for getting and setting the driver data using > platform_device instead of using dev_{get,set}_drvdata() with >dev, > so we can directly pass a struct platform_device. > > Signed-off-by: Jingoo Han > ---

Re: [PATCH] power_supply: pm2301_charger: Return error if create_singlethread_workqueue fails

2013-06-06 Thread Anton Vorontsov
On Mon, May 20, 2013 at 01:42:43PM +0200, Linus Walleij wrote: > On Thu, May 16, 2013 at 3:17 PM, Axel Lin wrote: > > > Return error instead of 0 if create_singlethread_workqueue call fails. > > > > Signed-off-by: Axel Lin > > Acked-by: Linus Walleij Also applied, thank you! Anton -- To

Re: [PATCH] power_supply: pm2301_charger: Fix NULL pointer dereference

2013-06-06 Thread Anton Vorontsov
On Fri, May 17, 2013 at 03:45:55PM +0200, Linus Walleij wrote: > On Thu, May 16, 2013 at 11:31 AM, Axel Lin wrote: > > > Add checking pl_data in probe, this prevent possible NULL pointer > > dereference. > > Also fix NULL pointer deference in dev_err when allocate memory for pm2 > > fails. > >

Re: [PATCH] power: lp8727: support the device tree feature

2013-06-06 Thread Anton Vorontsov
On Fri, May 10, 2013 at 07:17:51AM +, Kim, Milo wrote: > The interrupt and charging parameters are configurable in the device tree > structure. In the board test, a GPIO is used for handling LP8727 interrupts. > The device tree binding documentation is added also. > > Signed-off-by:

Re: [PATCH 1/8] 88pm860x_battery: remove unnecessary platform_set_drvdata()

2013-06-06 Thread Anton Vorontsov
On Mon, May 06, 2013 at 01:16:30PM +0900, Jingoo Han wrote: > The driver core clears the driver data to NULL after device_release > or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d > (device-core: Ensure drvdata = NULL when no driver is bound). > Thus, it is not needed to

Re: [PATCH v7 00/11] per-cgroup cpu-stat

2013-06-06 Thread Tejun Heo
On Wed, May 29, 2013 at 03:03:11PM +0400, Glauber Costa wrote: > I am coming again with this series, hoping this is a better time for you all > to > look at it. > > I am *not* going as far as marking cpuacct deprecated, because I think it > deserves a special discussion (even though my position

Re: [PATCH] pciehp: Add pciehp_surprise module option

2013-06-06 Thread Martin Mokrejs
Takashi Iwai wrote: > At Wed, 20 Mar 2013 19:41:38 +0100, > Martin Mokrejs wrote: >> >> Hi Takashi, >> would you please describe your test system in more detail? How >> about 'lspci -tv'? And 'lsusb -v' of the broken device? > > I left the machine in my office, so I'll give details tomorrow. >

Re: [PATCH v7 09/11] sched: record per-cgroup number of context switches

2013-06-06 Thread Tejun Heo
Hello, Maybe we should break off addition of switch stats to a separate set? They are two separate things. On Wed, May 29, 2013 at 03:03:20PM +0400, Glauber Costa wrote: > @@ -3642,6 +3642,8 @@ pick_next_task_fair(struct rq *rq, struct task_struct > *prev) >

Re: [PATCH v7] arm: use built-in byte swap function

2013-06-06 Thread Stephen Rothwell
uld be in my tree as it's > a core ARM feature, not in some random other tree. That is commit d8a6bf1b25bd ("arm: add support for LZ4-compressed kernel") from next-20130606 from the akpm tree. (adding author cc) That patch was cc'd to you, and is part of a series that adds LZ4 compress

Re: [patch 2/2] memcg: do not sleep on OOM waitqueue with full charge context

2013-06-06 Thread Johannes Weiner
On Thu, Jun 06, 2013 at 03:18:37PM -0700, David Rientjes wrote: > On Thu, 6 Jun 2013, Johannes Weiner wrote: > > > > I don't understand why memcg is unique in this regard and it doesn't > > > affect the page allocator as well on system oom conditions. Ignoring > > > memecg, all allocating

Re: [PATCH 1/2] pinmux: Add TB10x pinmux driver

2013-06-06 Thread Haojian Zhuang
On 6 June 2013 23:30, Christian Ruppert wrote: > On Thu, Jun 06, 2013 at 10:32:21PM +0800, Haojian Zhuang wrote: >> On 6 June 2013 22:11, Christian Ruppert wrote: >> > On Wed, Jun 05, 2013 at 09:44:27AM +0800, Haojian Zhuang wrote: >> >> On 3 June 2013 20:30, Christian Ruppert >> >> wrote: >>

Re: [PATCH v7 08/11] sched: Push put_prev_task() into pick_next_task()

2013-06-06 Thread Tejun Heo
On Wed, May 29, 2013 at 03:03:19PM +0400, Glauber Costa wrote: > From: Peter Zijlstra > > In order to avoid having to do put/set on a whole cgroup hierarchy > when we context switch, push the put into pick_next_task() so that > both operations are in the same function. Further changes then allow

Re: [PATCH] ext4: add check to io_submit_init_bio

2013-06-06 Thread Stephen Rothwell
Hi Ted, On Thu, 6 Jun 2013 10:19:41 -0400 Theodore Ts'o wrote: > > On Thu, Jun 06, 2013 at 11:56:53AM +1000, Stephen Rothwell wrote: > > > > In tracking this down, I followed the call chains and discovered that > > io_submit_init_bio() only ever returned 0. Switching that to return > > void

  1   2   3   4   5   6   7   8   9   10   >