Re: [GIT PULL] ARC fixes for 3.12

2013-09-30 Thread Uwe Kleine-König
Hello Vineet, On Mon, Sep 30, 2013 at 04:33:16AM +, Vineet Gupta wrote: > Uwe Kleine-König (1): Your mailer ist broken here, but you probably know that :-) The commit looks ok, though. Best regards Uwe Kleine-König -- Pengutronix e.K. | Uwe Kleine-König

[Bug] 12.864681 BUG: lock held when returning to user space!

2013-09-30 Thread Madper Xie
Hi all, With kernel3.12-rc2 the dmesg shows following logs: [ 12.864680] [ 12.864681] [ BUG: lock held when returning to user space! ] [ 12.864682] 3.12.0-rc2 #1 Not tainted [ 12.864683] [

Re: [RFC/PATCH] ftrace: add set_graph_notrace filter

2013-09-30 Thread Namhyung Kim
Ping! On Tue, 3 Sep 2013 14:05:08 +0900, Namhyung Kim wrote: > From: Namhyung Kim > > The set_graph_notrace filter is analogous to set_ftrace_notrace and > can be used for eliminating uninteresting part of function graph trace > output. It also works with set_graph_function nicely. > > # cd /

[PATCH] ARM: amba: Extend number of IRQS

2013-09-30 Thread Michal Simek
Xilinx Zynq pl330 dma driver has 9 irqs which all have to be used by the driver to get it work properly. Signed-off-by: Michal Simek --- Not sure if there are others IP with more than 9 irqs. --- include/linux/amba/bus.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include

corrupt mm-slab-wrap-functions

2013-09-30 Thread Andreas Starzer
Hello! I just tried to use the latest RT-patch from https://rt.wiki.kernel.org (patch-3.10.10-rt7.patch) and found a corrupt patch file "mm-slab-wrap-functions.patch" For example at line 165 in the attached patch file, the line had been duplicated. So I cannot trust the patch at all. :( I had man

Re: [PATCH] rwsem: reduce spinlock contention in wakeup code path

2013-09-30 Thread Ingo Molnar
* Michel Lespinasse wrote: > That said, I am very scared of using rwlock_t here, and I would much > prefer we choose a fair lock (either spinlock or a new rwlock > implementation which guarantees not to starve any locker thread) Given how few users rwlock_t has today we could attempt to make

fuse-3.12-fixes?

2013-09-30 Thread Sedat Dilek
Hi, any reasons why these fuse-3.12-fixes did not went into -rc3? fuse: fix fallocate vs. ftruncate rac fuse: wait for writeback in fuse_file_fallocate() Thanks. Regards, - Sedat - [1] http://git.kernel.org/cgit/linux/kernel/git/mszeredi/fuse.git/log/?h=for-linus -- To unsubscribe from this l

RE: [PATCH 1/5] ARM: Kconfig: Move if ARCH_S3C64XX statement to mach-s3c64xx/Kconfig

2013-09-30 Thread Kukjin Kim
Tomasz Figa wrote: > > All other platforms have this condition checked inside their own Kconfig > files, so for consistency this patch makes it this way for mach-s3c64xx > as well. > > Signed-off-by: Tomasz Figa > --- > arch/arm/Kconfig | 2 -- > arch/arm/mach-s3c64xx/Kconfig | 4 +

[BUG] Regression in 2fdac010 drivers/net/ethernet/via/via-velocity.c: update napi implementation

2013-09-30 Thread Ruslan N. Marchenko
Hi Julia et al., With this commit VIA NANO board get CPU lockup in random places on any network activity. The error is random, most of the times dead locked CPU on boot. After loading via-velocity module it hangs for a while and then spits kernel mesages about hanged tasks from varios places -

[PATCH] char: hwicap: Remove unnecessary dev_set_drvdata()

2013-09-30 Thread Michal Simek
Driver core clears the driver data to NULL after device_release or on probe failure, so just remove it from here. Signed-off-by: Michal Simek --- drivers/char/xilinx_hwicap/xilinx_hwicap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/char/xilinx_hwicap/xilinx_hwicap.c b/drivers/ch

Re: x86 force enabling perf events

2013-09-30 Thread Ingo Molnar
* Andi Kleen wrote: > > Frederic, > > I noticed that an allnoconfig x86 build builds perf events. The most straightforward way to support stripped-down kernels disabling perf events would be to allow hardware breakpoint support to be disable-able, under CONFIG_EXPERT=y or so. Thanks,

Re: [PATCH v2 19/20] mm, hugetlb: retry if failed to allocate and there is concurrent user

2013-09-30 Thread Joonsoo Kim
On Mon, Sep 16, 2013 at 10:09:09PM +1000, David Gibson wrote: > > > > > > > + *do_dequeue = false; > > > > spin_unlock(&hugetlb_lock); > > > > page = alloc_buddy_huge_page(h, NUMA_NO_NODE); > > > > if (!page) { > > > > > > I think the

Re: [PATCH] perf, tools: Fix sorting for 64bit entries

2013-09-30 Thread Namhyung Kim
Hi Andi, On Fri, 27 Sep 2013 16:39:24 -0700, Andi Kleen wrote: > From: Andi Kleen > > Some of the node comparisons in hist.c dropped the upper > 32bit by using an int variable to store the compare > result. This broke various 64bit fields, causing > incorrect collapsing (found for the TSX transac

[net-next PATCH V2] virtio-net: switch to use XPS to choose txq

2013-09-30 Thread Jason Wang
We used to use a percpu structure vq_index to record the cpu to queue mapping, this is suboptimal since it duplicates the work of XPS and loses all other XPS functionality such as allowing use to configure their own transmission steering strategy. So this patch switches to use XPS and suggest a de

Re: [PATCH 00/10] Convert to module_platform_driver() in video driver

2013-09-30 Thread Tomi Valkeinen
On 29/09/13 08:32, Hanjun Guo wrote: > This patch set just did one simple thing: convert to module_platform_driver() > in video driver to simplify the code. > > Hanjun Guo (10): > Video / hecubafb: Use module_platform_driver() to simplify code > Video / bfin-t350mcqb-fb: Use module_platform_dr

[PATCH] sched:rt: don't try to pull a running task

2013-09-30 Thread Yong Zhang
If we happen to pull a running task on other cpu, a WARNING will happen. But the very task will be pulled to this cpu finally. This pulling is dangerous since the task's private data could be broken. Fix it by skipping this kind of task. Signed-off-by: Yong Zhang Cc: Ingo Molnar Cc: Peter Zijlst

Re: [PATCH 01/21] drivers: remove unnecessary prom.h includes

2013-09-30 Thread Marc Kleine-Budde
On 09/26/2013 08:50 PM, Rob Herring wrote: > From: Rob Herring > > Remove unnecessary prom.h includes in preparation to remove implicit > includes of prom.h. > > Signed-off-by: Rob Herring > Cc: Wolfgang Grandegger > Cc: Marc Kleine-Budde > Cc: linux-...@vger.kernel.org > Cc: net...@vger.kern

[PATCH] mm, hugetlb: correct missing private flag clearing

2013-09-30 Thread Joonsoo Kim
We should clear the page's private flag when returing the page to the page allocator or the hugepage pool. This patch fixes it. Signed-off-by: Joonsoo Kim --- Hello, Andrew. I sent the new version of commit ('07443a8') before you did pull request, but it isn't included. It may be losted :) So I

Re: [PATCH 6/7] UBI: Fix memory leak in ubi_attach_fastmap() error path

2013-09-30 Thread Richard Genoud
2013/9/28 Richard Weinberger : > On error we have to free all three temporary lists. > > Reported-by: Richard Genoud > Signed-off-by: Richard Weinberger > --- > drivers/mtd/ubi/fastmap.c | 13 + > 1 file changed, 13 insertions(+) > > diff --git a/drivers/mtd/ubi/fastmap.c b/drivers/m

Re: [tip:sched/core] sched/balancing: Fix cfs_rq-> task_h_load calculation

2013-09-30 Thread Vladimir Davydov
On 09/29/2013 01:47 PM, Yuanhan Liu wrote: On Fri, Sep 20, 2013 at 06:46:59AM -0700, tip-bot for Vladimir Davydov wrote: Commit-ID: 7e3115ef5149fc502e3a2e80719dba54a8e7409d Gitweb:http://git.kernel.org/tip/7e3115ef5149fc502e3a2e80719dba54a8e7409d Author: Vladimir Davydov AuthorDate: Sat, 14

Re: qemu, numa: non-contiguous cpusets

2013-09-30 Thread Daniel P. Berrange
On Sun, Sep 29, 2013 at 05:10:44PM +0200, Borislav Petkov wrote: > Btw, > > while I got your attention, on a not-really related topic: how do we > feel about adding support for specifying a non-contiguous set of cpus > for a numa node in qemu with the -numa option? I.e., like this, for > example:

Re: [PATCH 7/7] UBI: Add some asserts to ubi_attach_fastmap()

2013-09-30 Thread Richard Genoud
2013/9/28 Richard Weinberger : > Add more paranioa asserts to make it easier to detect > implementation errors. > > Signed-off-by: Richard Weinberger > --- > drivers/mtd/ubi/fastmap.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/drivers/mtd/ubi/fastmap.c b/drivers/mtd/ubi/fastmap.

Re: [PATCH 1/2] remove all uses of printf's %n

2013-09-30 Thread Tetsuo Handa
Hello. As it seems that there is no critical problem (naming preference can easily be fixed if needed), can these patches go to linux-next? If these patches are accepted, Kees Cook will submit a patch which removes %n support from vsnprintf() ( https://lkml.org/lkml/2013/9/16/54 ). Regards.

[PATCH] mmc: vub300: Move away from using deprecated APIs

2013-09-30 Thread Ulf Hansson
Suspend and resume of cards are handled by the protocol layer and consequently the mmc_suspend|resume_host APIs are marked as deprecated. This means we can simplify the suspend|resume callbacks by removing the use of the deprecated APIs. Cc: Tony Olech Cc: linux-...@vger.kernel.org Signed-off-by

[PATCH] perf session: Fix infinite loop on invalid perf.data file

2013-09-30 Thread Namhyung Kim
From: Namhyung Kim perf-record updates the header in the perf.data file at termination. Without this update perf-report (and other processing built-ins) it caused an infinite loop when perf report (or something like) called. This is because the algorithm in __perf_session__process_events() depen

Re: [PATCHv5 0/4] Add Freescale FTM PWM driver.

2013-09-30 Thread Sascha Hauer
On Mon, Sep 30, 2013 at 02:13:27PM +0800, Xiubo Li wrote: > Hello, > > This patch series is the Freescale FTM PWM implementation. And there are 8 > channels most supported by the FTM PWM. This implementation is only > compatible with device tree definition. > > This patch series is based on lin

Re: [PATCH 10/27] mmc: vub300: Remove redundant suspend and resume callbacks

2013-09-30 Thread Ulf Hansson
On 27 September 2013 18:22, Alan Stern wrote: > On Thu, 26 Sep 2013, Ulf Hansson wrote: > >> Suspend and resume of cards are handled by the protocol layer and >> consequently the mmc_suspend|resume_host APIs are marked as deprecated. >> >> While moving away from using the deprecated APIs, there ar

Re: [PATCH v2 0/5] mm: migrate zbud pages

2013-09-30 Thread Krzysztof Kozlowski
On pią, 2013-09-27 at 17:00 -0500, Seth Jennings wrote: > I have to say that when I first came up with the idea, I was thinking > the address space would be at the zswap layer and the radix slots would > hold zbud handles, not struct page pointers. > > However, as I have discovered today, this is

Re: [PATCHv3 02/16] staging: usbip: Add kernel support for client ACLs

2013-09-30 Thread Dan Carpenter
The main thing is that there is an IS_ERR vs NULL check. The rest is just style nits. On Sat, Sep 28, 2013 at 07:42:39PM +0200, Dominik Paulus wrote: > +static ssize_t store_acl(struct device *dev, struct device_attribute *attr, > + const char *buf, size_t count) > +{ > +

Re: [PATCH RFC] media: rc: OF: Add Generic bindings for remote-control

2013-09-30 Thread Srinivas KANDAGATLA
On 27/09/13 14:57, Mauro Carvalho Chehab wrote: > Em Fri, 27 Sep 2013 14:26:12 +0100 > Srinivas KANDAGATLA escreveu: > >> On 27/09/13 12:34, Mark Rutland wrote: >> > + - rx-mode: Can be "infrared" or "uhf". rx-mode should be present iff > + the rx pins are wired up. >>> I'm unsure on th

Re: [PATCH 2/3] perf stat: Don't require a workload when using system wide or CPU options

2013-09-30 Thread Namhyung Kim
Hi David, On Sat, 28 Sep 2013 14:27:59 -0600, David Ahern wrote: > perf-stat can do system wide counters or one or more cpus. For > these options do not require a workload to be specified. > > Signed-off-by: David Ahern > Cc: Ingo Molnar > Cc: Frederic Weisbecker > Cc: Peter Zijlstra > Cc: Jir

Re: [PATCH] arm, kbuild: make "make install" not depend on vmlinux

2013-09-30 Thread Robert Richter
On 18.07.13 11:22:24, Michal Marek wrote: > > So Michal (or ARM people - whoever wants to take the patch), just take > > my ack. No objections. > > I can add it to the kbuild tree if needed. Otherwise you can add > Acked-by: Michal Marek . This didn't make it upstream yet, can somebody at it to a

Re: [PATCH] HID: roccat: Fix "cannot create duplicate filename" problems

2013-09-30 Thread Jiri Kosina
On Fri, 27 Sep 2013, Greg KH wrote: > > Fixing some wrong macro stringification/concatenation. > > > > Cc: Greg Kroah-Hartman > > Signed-off-by: Stefan Achatz > > --- > > drivers/hid/hid-roccat-kone.c |2 +- > > drivers/hid/hid-roccat-koneplus.c |4 ++-- > > drivers/hid/hid-roccat-

Re: [PATCH 11/63] mm: Close races between THP migration and PMD numa clearing

2013-09-30 Thread Mel Gorman
On Fri, Sep 27, 2013 at 02:26:56PM +0100, Mel Gorman wrote: > @@ -1732,9 +1732,9 @@ int migrate_misplaced_transhuge_page(struct mm_struct > *mm, > entry = maybe_pmd_mkwrite(pmd_mkdirty(entry), vma); > entry = pmd_mkhuge(entry); > > - page_add_new_anon_rmap(new_page, vma, haddr);

Re: [PATCH] anon_vmas: Convert the rwsem to an rwlock_t

2013-09-30 Thread Andrea Arcangeli
Hi everyone, On Sat, Sep 28, 2013 at 09:37:39PM +0200, Ingo Molnar wrote: > > * Ingo Molnar wrote: > > > If we do that then I suspect the next step will be queued rwlocks :-/ > > The current rwlock_t implementation is rather primitive by modern > > standards. (We'd probably have killed rwlock

Re: [PATCH V5 net-next 0/3] The huawei_cdc_ncm driver

2013-09-30 Thread Bjørn Mork
Enrico Mioso writes: > So this is a new, revised, edition of the huawei_cdc_ncm.c driver, which > supports devices resembling the NCM standard, but using it also as a mean > to encapsulate other protocols, as is the case for the Huawei E3131 and > E3251 modem devices. > Some precisations are ne

[PATCH 2/2] regulator: twl: Remove redundant of_match_ptr

2013-09-30 Thread Sachin Kamat
The data structure of_match_ptr() protects is always compiled in. Hence of_match_ptr() is not needed. Signed-off-by: Sachin Kamat --- drivers/regulator/twl-regulator.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/twl-regulator.c b/drivers/regulator/tw

[PATCH 1/2] regulator: ti-abb: Remove redundant of_match_ptr

2013-09-30 Thread Sachin Kamat
The data structure of_match_ptr() protects is always compiled in. Hence of_match_ptr() is not needed. Signed-off-by: Sachin Kamat --- drivers/regulator/ti-abb-regulator.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/ti-abb-regulator.c b/drivers/regula

[PATCH] sched: update sched_rt_[period|runtime]_us correctly

2013-09-30 Thread Yong Zhang
From: Yong Zhang The code fails to update tg->rt_bandwidth.[rt_period | rt_runtime] if we have RT_GROUP_SCHED enabled. And if we lower the value of sched_rt_runtime_us, we get error as "write error: Invalid argument". Fix it by calling tg_set_rt_bandwidth() instead when setting sched_rt_[period|

Re: [net-next PATCH V2] virtio-net: switch to use XPS to choose txq

2013-09-30 Thread Michael S. Tsirkin
On Mon, Sep 30, 2013 at 03:37:17PM +0800, Jason Wang wrote: > We used to use a percpu structure vq_index to record the cpu to queue > mapping, this is suboptimal since it duplicates the work of XPS and > loses all other XPS functionality such as allowing use to configure > their own transmission st

[PATCH 1/1] drivers/pps/clients/pps-gpio.c: Remove redundant of_match_ptr

2013-09-30 Thread Sachin Kamat
The data structure of_match_ptr() protects is always compiled in. Hence of_match_ptr() is not needed. Signed-off-by: Sachin Kamat --- drivers/pps/clients/pps-gpio.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pps/clients/pps-gpio.c b/drivers/pps/clients/pps-gpi

[PATCH] perf stat: Set child_pid after perf_evlist__prepare_workload()

2013-09-30 Thread Namhyung Kim
From: Namhyung Kim The commit acf2892270dc ("perf stat: Use perf_evlist__prepare/ start_workload()") converted to use the function but forgot to update child_pid. Fix it. Cc: David Ahern Cc: Stephane Eranian Signed-off-by: Namhyung Kim --- tools/perf/builtin-stat.c | 1 + 1 file changed, 1

Re: [PATCH] slub: Proper kmemleak tracking if CONFIG_SLUB_DEBUG disabled

2013-09-30 Thread Catalin Marinas
On Fri, Sep 27, 2013 at 09:38:27PM +0100, Frank Rowand wrote: > From: Roman Bobniev > > When kmemleak checking is enabled and CONFIG_SLUB_DEBUG is > disabled, the kmemleak code for small block allocation is > disabled. This results in false kmemleak errors when memory > is freed. > > Move the k

Re: qemu, numa: non-contiguous cpusets

2013-09-30 Thread Paolo Bonzini
Il 29/09/2013 17:10, Borislav Petkov ha scritto: > Btw, > > while I got your attention, on a not-really related topic: how do we > feel about adding support for specifying a non-contiguous set of cpus > for a numa node in qemu with the -numa option? I.e., like this, for > example: > > x86_64-soft

Re: [alsa-devel] [PATCH 2/2] [RESEND] snd-ac97-codec: Use complete ID when the codec is not known

2013-09-30 Thread Takashi Iwai
At Fri, 27 Sep 2013 20:28:03 +0200, Ondrej Zary wrote: > > Currently, if the codec ID is not known, the last byte of the ID is used as > name. > It's not helpful at all, use full codec ID instead. The full bytes are already shown at the beginning, no? It's masked because the upper three bytes ar

Re: [PATCH V5 net-next 2/3] net: huawei_cdc_ncm: Introduce the huawei_cdc_ncm driver

2013-09-30 Thread Oliver Neukum
On Mon, 2013-09-30 at 04:50 +, Enrico Mioso wrote: > +static int huawei_cdc_ncm_manage_power(struct usbnet *usbnet_dev, int on) > +{ > + struct huawei_cdc_ncm_state *drvstate = (void *)&usbnet_dev->data; > + int rv = 0; > + > + if ((on && atomic_add_return(1, &drvstate->pmcount) ==

[PATCH 3/3] i2c: xilinx: Use devm_* functions

2013-09-30 Thread Michal Simek
From: Kedareswara rao Appana Simplified the probe and remove functions using devm_* functions Signed-off-by: Kedareswara rao Appana Signed-off-by: Michal Simek --- drivers/i2c/busses/i2c-xiic.c | 69 +++ 1 file changed, 18 insertions(+), 51 deletions(-)

[PATCH 1/3] i2c: xilinx: Fix i2c sparse warnings

2013-09-30 Thread Michal Simek
From: Kedareswara rao Appana code changes to fix sparse warnings Signed-off-by: Kedareswara rao Appana Signed-off-by: Michal Simek --- drivers/i2c/busses/i2c-xiic.c | 23 +++ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/drivers/i2c/busses/i2c-xiic.c b/dr

[PATCH 2/3] i2c: xilinx: Set tx direction in write operation

2013-09-30 Thread Michal Simek
From: Kedareswara rao Appana In write operation, after filling address byte to tx fifo, set the direction of transfer to tx using control register. Signed-off-by: Kedareswara rao Appana Signed-off-by: Michal Simek --- drivers/i2c/busses/i2c-xiic.c | 5 + 1 file changed, 5 insertions(+) d

[PATCH v5] PWM: atmel-pwm: add PWM controller driver

2013-09-30 Thread Bo Shen
Add Atmel PWM controller driver based on PWM framework. This is the basic function implementation of Atmel PWM controller. It can work with PWM based led and backlight. Signed-off-by: Bo Shen --- Changes in v5: - call clk_disable directly, if so, it won't cause more than one channel enabl

[PATCH] ipc/sem.c: synchronize semop and semctl with IPC_RMID

2013-09-30 Thread Manfred Spraul
After acquiring the semlock spinlock, the operations must test that the array is still valid. - semctl() and exit_sem() would walk stale linked lists (ugly, but should be ok: all lists are empty) - semtimedop() would sleep forever - and if woken up due to a signal - access memory after free.

Re: [PATCH 1/4] driver core: introduce helper macro initcall_driver()

2013-09-30 Thread Mark Brown
On Mon, Sep 30, 2013 at 01:13:52PM +0800, Hanjun Guo wrote: > For some devices especially on platform/I2C/SPI bus, they want to > be initialized earlier than other devices, so the driver use initcall > such as subsys_initcall to make this device initialize earlier. We're trying to move away from n

Re: [PATCH 6/8] ALSA: ppc: keywest: Don't use i2c_client->driver

2013-09-30 Thread Takashi Iwai
At Sun, 29 Sep 2013 10:51:04 +0200, Lars-Peter Clausen wrote: > > The 'driver' field of the i2c_client struct is redundant and is going to be > removed. Use 'to_i2c_driver(client->dev.driver)' instead to get direct > access to the i2c_driver struct. > > Signed-off-by: Lars-Peter Clausen Acked-b

Re: [alsa-devel] [PATCH 1/2] [RESEND] snd-ac97-codec: Add ID for TI TLV320AIC27 codec

2013-09-30 Thread Takashi Iwai
At Fri, 27 Sep 2013 20:27:58 +0200, Ondrej Zary wrote: > > Add 0x54584e03 ID for TI TLV320AIC27 AC'97 codec according to datasheet: > http://www.ti.com/lit/ds/slas253a/slas253a.pdf > > The weird thing is that the chip is physically marked 320AD91. > > Signed-off-by: Ondrej Zary Applied now. T

[PATCH -tip V2] [BUGFIX] perf probe: Fix to find line information for probe list

2013-09-30 Thread Masami Hiramatsu
Fix to find the correct (as much as possible) line information for listing probes. Without this fix, perf probe --list action will show incorrect line information as below; # perf probe getname_flags # perf probe -l probe:getname_flags (on getname_flags@ksrc/linux-3/fs/namei.c) probe:getname_

Re: [PATCHv3] x86: EFI stub support for large memory maps

2013-09-30 Thread Matt Fleming
On Fri, 27 Sep, at 05:46:07PM, Linn Crosetto wrote: > Given that we have already successfully called exit_boot_services, can > we still make this call to free_pool? Urgh, good point. The answer is "no, not really". I'll add your change verbatim and push out the 'next' branch again. -- Matt Flem

Re: [ 062/117] ext4: fix ext4_writepages() in presence of truncate

2013-09-30 Thread Jan Kara
On Mon 30-09-13 00:07:11, Ben Hutchings wrote: > On Tue, 2013-09-24 at 17:18 -0700, Greg Kroah-Hartman wrote: > > 3.11-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Jan Kara > > > > commit 5f1132b2ba8c873f25982cf45917e8455fb6c96

Re: [RFT PATCH v1 6/7] amd64: avoid saving and restoring FPSIMD registers until threads access them

2013-09-30 Thread Will Deacon
On Fri, Sep 27, 2013 at 03:20:10PM +0100, Jiang Liu wrote: > On 09/27/2013 06:59 PM, Will Deacon wrote: > > On Fri, Sep 27, 2013 at 09:04:46AM +0100, Jiang Liu wrote: > >> diff --git a/arch/arm64/kernel/fpsimd.c b/arch/arm64/kernel/fpsimd.c > >> index 267e54a..a81af5f 100644 > >> --- a/arch/arm64/k

[PATCH v2] USB: gadget: f_fs: fix error handling

2013-09-30 Thread Robert Baldyga
Hello, This is update for my patch fixing error handling in functionfs module. I have fixed typos from previous version, and changed description for greater clearity as Sergei Shtylyov suggested. This patch add missing error check in ffs_func_bind() function, after ffs_do_descs() function call fo

[PATCH v2] USB: gadget: epautoconf: fix ep maxpacket check

2013-09-30 Thread Robert Baldyga
Hello, This is update for my patch fixing maxpacket check in epautoconfig. Now code is better arranged for clearity and take into account super speed devices, as Alan Stern suggested. This patch fixes validation of maxpacket value given in endpoint descriptor. Added check of maxpacket for bulk end

Re: [PATCH] tile: use a more conservative __my_cpu_offset in CONFIG_PREEMPT

2013-09-30 Thread Will Deacon
On Fri, Sep 27, 2013 at 09:13:15PM +0100, Chris Metcalf wrote: > On 9/26/2013 1:57 PM, Will Deacon wrote: > > Hi Chris, > > > > On Thu, Sep 26, 2013 at 06:24:53PM +0100, Chris Metcalf wrote: > >> [...] > >> +static inline unsigned long __my_cpu_offset(void) > >> +{ > >> + unsigned long tp; > >> +

Re: qemu, numa: non-contiguous cpusets

2013-09-30 Thread Borislav Petkov
On Mon, Sep 30, 2013 at 11:05:10AM +0200, Paolo Bonzini wrote: > I think there are already patches on the list to do that, as part of > the NUMA memory binding series from Wanlong Gao. Yeah: https://lists.gnu.org/archive/html/qemu-devel/2013-09/msg02833.html Although I don't see from it how the s

Re: [PATCH] extcon: arizona: Get pdata from arizona structure not device

2013-09-30 Thread Charles Keepax
On Mon, Sep 30, 2013 at 08:37:30AM +0900, Chanwoo Choi wrote: > No, extcon-arizona driver don't currently support DT to get platform data. > I cannot find some dt function to parse data from dts file. > You have to implement extcon-arizona driver by using DT binding style > to get platform data. I

Re: [PATCH -v1.1] x86, boot: Further compress CPUs bootup message

2013-09-30 Thread Borislav Petkov
On Mon, Sep 30, 2013 at 08:28:48AM +0200, Ingo Molnar wrote: > * H. Peter Anvin wrote: > > > If the goal is to feed this to the field width in printf, which I would > > think would be the dominant use, then you do have to account for the > > minus sign. > > The input here is always a nonzero p

Re: [PATCHv6 00/22] Transparent huge page cache: phase 1, everything but mmap()

2013-09-30 Thread Mel Gorman
On Tue, Sep 24, 2013 at 04:37:40PM -0700, Andrew Morton wrote: > On Mon, 23 Sep 2013 15:05:28 +0300 "Kirill A. Shutemov" > wrote: > > > It brings thp support for ramfs, but without mmap() -- it will be posted > > separately. > > We were never going to do this :( > > Has anyone reviewed these p

[RFC/query] kvm async_pf anon pined pages migration

2013-09-30 Thread chai wen
Hi all Async page fault in kvm currently pin user pages via get_user_pages. when doing page migration,the method can be found via page->mmapping->a_ops->migratepage to offline old pages and migrate to new pages. As to anonymous page there is no file mapping but a anon_vma.So the migration will fa

Re: [PATCHv6 00/22] Transparent huge page cache: phase 1, everything but mmap()

2013-09-30 Thread Mel Gorman
On Mon, Sep 30, 2013 at 11:02:49AM +0100, Mel Gorman wrote: > On Tue, Sep 24, 2013 at 04:37:40PM -0700, Andrew Morton wrote: > > On Mon, 23 Sep 2013 15:05:28 +0300 "Kirill A. Shutemov" > > wrote: > > > > > It brings thp support for ramfs, but without mmap() -- it will be posted > > > separately.

[PATCH 001/104] iwl4965: fix rfkill set state regression

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Stanislaw Gruszka commit b2fcc0aee58a3435566dd6d8501a0b32f28b upstream. My current 3.11 fix: commit 788f7a56fce1bcb2067b62b851a086fca48a0056 Author: Stanislaw Gruszka Date: Thu A

[PATCH 004/104] SUNRPC: Fix memory corruption issue on 32-bit highmem systems

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit 347e2233b7667e336d9f671f1a52dfa3f0416e2c upstream. Some architectures, such as ARM-32 do not return the same base address when you call kmap_atomic() twice on the

[PATCH 028/104] regmap: silence GCC warning

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Paul Bolle commit a8f28cfad8cd44d7c34b166d0e5ace1125dbee1f upstream. Building regmap.o triggers this GCC warning: drivers/base/regmap/regmap.c: In function ‘regmap_raw_read’: dri

[PATCH 035/104] cifs: don't instantiate new dentries in readdir for inodes that need to be revalidated immediately

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit 757c4f6260febff982276818bb946df89c1105aa upstream. David reported that commit c2b93e06 (cifs: only set ops for inodes in I_NEW state) caused a regression with mfsymlin

[PATCH 016/104] rculist: list_first_or_null_rcu() should use list_entry_rcu()

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit c34ac00caefbe49d40058ae7200bd58725cebb45 upstream. list_first_or_null() should test whether the list is empty and return pointer to the first entry if not in a RCU safe

[PATCH 047/104] 8139cp: Fix skb leak in rx_status_loop failure path.

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Dave Jones commit d06f5187469eee1b2932c02fd093d113cfc60d5e upstream. Introduced in cf3c4c03060b688cbc389ebc5065ebcce5653e96 ("8139cp: Add dma_mapping_error checking") Signed-off-by: Dav

[PATCH 042/104] fib_trie: remove potential out of bound access

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit aab515d7c32a34300312416c50314e755ea6f765 upstream. AddressSanitizer [1] dynamic checker pointed a potential out of bound access in leaf_walk_rcu() We could allocate

[PATCH 078/104] DocBook: upgrade media_api DocBook version to 4.2

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Andrzej Hajda commit 8bfd4a68ecc003c1a142f35551be846d6b13e822 upstream. Fixes the last three errors of media_api DocBook validatation: (...) media_api.xml:414: element imagedata: validit

Re: [PATCHv6 00/22] Transparent huge page cache: phase 1, everything but mmap()

2013-09-30 Thread Mel Gorman
On Tue, Sep 24, 2013 at 04:49:50PM -0700, Andi Kleen wrote: > > Sigh. A pox on whoever thought up huge pages. > > managing 1TB+ of memory in 4K chunks is just insane. > The question of larger pages is not "if", but only "when". > Remember that there are at least two separate issues there. One

[PATCH 102/104] [SCSI] sd: Fix potential out-of-bounds access

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 984f1733fcee3fbc78d47e26c5096921c5d9946a upstream. This patch fixes an out-of-bounds error in sd_read_cache_type(), found by Google's AddressSanitizer tool. When the l

[PATCH 093/104] memcg: fix multiple large threshold notifications

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Greg Thelen commit 2bff24a3707093c435ab3241c47dcdb5f16e432b upstream. A memory cgroup with (1) multiple threshold notifications and (2) at least one threshold >=2G was not reliable. Spe

[PATCH 101/104] ASoC: mc13783: add spi errata fix

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Steffen Trumtrar commit 9f6f0afbb9fdabf6dcac642dfec457f28981e3f8 upstream. The MC13783 Chip Errata, Rev. 4 says, that depending on SPI clock and main audio clock speed, the Audio Codec o

[PATCH 098/104] crypto: api - Fix race condition in larval lookup

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Herbert Xu commit 77dbd7a95e4a4f15264c333a9e9ab97ee27dc2aa upstream. crypto_larval_lookup should only return a larval if it created one. Any larval created by another entity must be proc

[PATCH 103/104] Revert "zram: use zram->lock to protect zram_free_page() in swap free notify path"

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Luis Henriques This reverts commit 9e443904906ca2b5b3ae71f34ac4a4fa6905623e, which was commit 57ab048532c0d975538cebd4456491b5c34248f4 upstream. This commit was identified as provoking s

[PATCH 086/104] HID: picolcd_core: validate output report details

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit 1e87a2456b0227ca4ab881e19a11bb99d164e792 upstream. A HID device could send a malicious output report that would cause the picolcd HID driver to trigger a NULL dereferenc

[PATCH 104/104] kernel-doc: bugfix - multi-line macros

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Santos commit 654784284430bf2739985914b65e09c7c35a7273 upstream. Prior to this patch the following code breaks: /** * multiline_example - this breaks kernel-doc */ #define mul

Re: [PATCH 1/4] driver core: introduce helper macro initcall_driver()

2013-09-30 Thread Wolfram Sang
On Mon, Sep 30, 2013 at 01:13:52PM +0800, Hanjun Guo wrote: > For some devices especially on platform/I2C/SPI bus, they want to > be initialized earlier than other devices, so the driver use initcall > such as subsys_initcall to make this device initialize earlier. And this is something we want to

[PATCH 100/104] ALSA: hda - Add Toshiba Satellite C870 to MSI blacklist

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 83f72151352791836a1b9c1542614cc9bf71ac61 upstream. Toshiba Satellite C870 shows interrupt problems occasionally when certain mixer controls like "Mic Switch" is toggl

[PATCH 097/104] ARM: PCI: versatile: Fix SMAP register offsets

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Peter Maydell commit 99f2b130370b904ca5300079243fdbcafa2c708b upstream. The SMAP register offsets in the versatile PCI controller code were all off by four. (This didn't have any observ

[PATCH 092/104] mm: fix aio performance regression for database caused by THP

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Khalid Aziz commit 7cb2ef56e6a8b7b368b2e883a0a47d02fed66911 upstream. I am working with a tool that simulates oracle database I/O workload. This tool (orion to be specific -

[PATCH 099/104] cifs: ensure that srv_mutex is held when dealing with ssocket pointer

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit 73e216a8a42c0ef3d08071705c946c38fdbe12b0 upstream. Oleksii reported that he had seen an oops similar to this: BUG: unable to handle kernel NULL pointer dereference at

[PATCH 094/104] intel-iommu: Fix leaks in pagetable freeing

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Williamson commit 3269ee0bd6686baf86630300d528500ac5b516d7 upstream. At best the current code only seems to free the leaf pagetables and the root. If you're unlucky enough to have

[PATCH 095/104] MIPS: ath79: Fix ar933x watchdog clock

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit a1191927ace7e6f827132aa9e062779eb3f11fa5 upstream. The watchdog device on the AR933x is connected to the AHB clock, however the current code uses the reference clock

[PATCH 096/104] ARM: PCI: versatile: Fix map_irq function to match hardware

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Peter Maydell commit f9b71fef12f0d6ac5c7051cfd87f7700f78c56b6 upstream. The PCI controller code for the Versatile board has never had the correct IRQ mapping for hardware. For many year

[PATCH 090/104] ocfs2: fix the end cluster offset of FIEMAP

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Jie Liu commit 28e8be31803b19d0d8f76216cb11b480b8a98bec upstream. Call fiemap ioctl(2) with given start offset as well as an desired mapping range should show extents if possible. Howev

[PATCH 085/104] HID: ntrig: validate feature report details

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit 875b4e3763dbc941f15143dd1a18d10bb0be303b upstream. A HID device could send a malicious feature report that would cause the ntrig HID driver to trigger a NULL dereference

[PATCH 087/104] HID: check for NULL field when setting values

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit be67b68d52fa28b9b721c47bb42068f0c1214855 upstream. Defensively check that the field to be worked on is not NULL. Signed-off-by: Kees Cook Signed-off-by: Jiri Kosina S

[PATCH 083/104] libceph: use pg_num_mask instead of pgp_num_mask for pg.seed calc

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Sage Weil commit 9542cf0bf9b1a3adcc2ef271edbcbdba03abf345 upstream. Fix a typo that used the wrong bitmask for the pg.seed calculation. This is normally unnoticed because in most cases

[PATCH 091/104] mm/huge_memory.c: fix potential NULL pointer dereference

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Libin commit a8f531ebc33052642b4bd7b812eedf397108ce64 upstream. In collapse_huge_page() there is a race window between releasing the mmap_sem read lock and taking the mmap_sem write lock

[PATCH 088/104] drm/i915: try not to lose backlight CBLV precision

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Jani Nikula commit cac6a5ae0118832936eb162ec4cedb30f2422bcc upstream. ACPI has _BCM and _BQC methods to set and query the backlight brightness, respectively. The ACPI opregion has variab

[PATCH 089/104] powerpc: Default arch idle could cede processor on pseries

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Vaidyanathan Srinivasan commit 363edbe2614aa90df706c0f19ccfa2a6c06af0be upstream. When adding cpuidle support to pSeries, we introduced two regressions: - The new cpuidle backend driv

[PATCH 082/104] exynos4-is: Fix entity unregistration on error path

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Sylwester Nawrocki commit d2b903b4427e417a73863cef36ad0796ea6b7404 upstream. This patch corrects media entities unregistration order to make sure the fimc.N.capture and fimc-lite video n

[PATCH 081/104] exynos4-is: Fix fimc-lite bayer formats

2013-09-30 Thread Luis Henriques
3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Arun Kumar K commit 3396b096c54a84603c51bd705effa88f7f5b0d76 upstream. The 10-bit and 12-bit Bayer output formats supported by FIMC-LITE actually use 16 bits where the extra bits are pad

  1   2   3   4   5   6   7   >