[PATCH 28/32] sched: Update rq clock before idle balancing

2012-10-29 Thread Steven Rostedt
From: Frederic Weisbecker fweis...@gmail.com idle_balance() is called from schedule() right before we schedule the idle task. It needs to record the idle timestamp at that time and for this the rq clock must be accurate. If the CPU is running tickless we need to update the rq clock manually.

Re: [Patch v1 04/10] perf/x86: add memory profiling via PEBS Load Latency

2012-10-29 Thread Peter Zijlstra
On Mon, 2012-10-29 at 21:39 +0100, Stephane Eranian wrote: But I think the right mechanism would be one where you can add events at boot time based on CPU model. It could be used to add the common events as well in the common part of the init code. mlin once posted something like that, it

Re: [PATCHv5] Input: keypad: Add smsc ece1099 keypad driver

2012-10-29 Thread Dmitry Torokhov
On Mon, Oct 29, 2012 at 09:05:53PM +0200, Felipe Balbi wrote: Hi, On Mon, Oct 29, 2012 at 10:06:33AM -0700, Dmitry Torokhov wrote: [ big snip ] +static int __devexit smsc_remove(struct platform_device *pdev) +{ shouldn't you unregister the input device here ?? And that

Re: [dm-crypt] cryptsetup not working under 3.6 - RT patch set seem to break it

2012-10-29 Thread Tvrtko Ursulin
On 29/10/12 20:14, Tvrtko Ursulin wrote: On 29/10/12 19:47, Milan Broz wrote: On 10/29/2012 08:31 PM, Tvrtko Ursulin wrote: Just tried 3.6.4 and it is still broken. Is there anything else I could try to debug this? See response from response from Ondra on dmcrypt list - your kernel config is

[PATCH 27/32] sched: Update clock of nohz busiest rq before balancing

2012-10-29 Thread Steven Rostedt
From: Frederic Weisbecker fweis...@gmail.com move_tasks() and active_load_balance_cpu_stop() both need to have the busiest rq clock uptodate because they may end up calling can_migrate_task() that uses rq-clock_task to determine if the task running in the busiest runqueue is cache hot. Hence if

[PATCH 15/32] nohz/cpuset: New API to flush cputimes on nohz cpusets

2012-10-29 Thread Steven Rostedt
From: Frederic Weisbecker fweis...@gmail.com Provide a new API that sends an IPI to every CPUs included in nohz cpusets in order to flush their cputimes. It's going to be useful for those that want to see accurate cputimes on a nohz cpuset. Signed-off-by: Frederic Weisbecker fweis...@gmail.com

[PATCH 08/32] nohz/cpuset: Dont stop the tick if posix cpu timers are running

2012-10-29 Thread Steven Rostedt
From: Frederic Weisbecker fweis...@gmail.com If either a per thread or a per process posix cpu timer is running, don't stop the tick. TODO: restart the tick if it is stopped and a posix cpu timer is enqueued. Check we probably need a memory barrier for the per process posix timer that can be

[PATCH 21/32] nohz: Dont restart the tick before scheduling to idle

2012-10-29 Thread Steven Rostedt
From: Frederic Weisbecker fweis...@gmail.com If we were running adaptive tickless but then we schedule out and enter the idle task, we don't need to restart the tick because tick_nohz_idle_enter() is going to be called right away. The only thing we need to do is to save the jiffies such that

[PATCH 06/32] nohz/cpuset: Dont turn off the tick if rcu needs it

2012-10-29 Thread Steven Rostedt
From: Frederic Weisbecker fweis...@gmail.com If RCU is waiting for the current CPU to complete a grace period, don't turn off the tick. Unlike dynctik-idle, we are not necessarily going to enter into rcu extended quiescent state, so we may need to keep the tick to note current CPU's quiescent

Re: [V5 PATCH 05/26] node_states: introduce N_MEMORY

2012-10-29 Thread David Rientjes
On Mon, 29 Oct 2012, Lai Jiangshan wrote: We have N_NORMAL_MEMORY for standing for the nodes that have normal memory with zone_type = ZONE_NORMAL. And we have N_HIGH_MEMORY for standing for the nodes that have normal or high memory. (In other words, all memory.) But we don't have any

Re: linux-next: build failure after merge of the sound-asoc tree

2012-10-29 Thread Stephen Rothwell
Hi Mark, On Mon, 29 Oct 2012 18:15:34 + Mark Brown broo...@opensource.wolfsonmicro.com wrote: Honestly when I'm travelling with the automated build testing Fenguang and friends are doing it's actually faster to just push things up rather than doing testing of branches like this locally,

[PATCH 31/32] nohz/cpuset: Disable under some configs

2012-10-29 Thread Steven Rostedt
From: Frederic Weisbecker fweis...@gmail.com This shows the various things that are not yet handled by the nohz cpusets: perf events, irq work, irq time accounting. But there are further things that have yet to be handled: sched clock tick, runqueue clock, sched_class::task_tick(), rq clock, cpu

[PATCH 14/32] nohz/cpuset: Account user and system times in adaptive nohz mode

2012-10-29 Thread Steven Rostedt
From: Frederic Weisbecker fweis...@gmail.com If we are not running the tick, we are not anymore regularly counting the user/system cputime at every jiffies. To solve this, save a snapshot of the jiffies when we stop the tick and keep track of where we saved it: user or system. On top of this, we

Re: [dm-crypt] cryptsetup not working under 3.6 - regression from 3.4?

2012-10-29 Thread Milan Broz
On 10/29/2012 09:14 PM, Tvrtko Ursulin wrote: Unless RT patchset is the culprit. Hm.. that would be unexpected, but I guess it is worth a shot. I'll let you know what happens without -rt. Yes, try not patched mainline first. Focus on the crypto api - if the crypto modules are not loading

[PATCH 01/32] nohz: Move nohz load balancer selection into idle logic

2012-10-29 Thread Steven Rostedt
From: Frederic Weisbecker fweis...@gmail.com [ ** BUGGY PATCH: I need to put more thinking into this ** ] We want the nohz load balancer to be an idle CPU, thus move that selection to strict dyntick idle logic. Signed-off-by: Frederic Weisbecker fweis...@gmail.com Cc: Alessio Igor Bogani

[PATCH 13/32] nohz: Generalize tickless cpu time accounting

2012-10-29 Thread Steven Rostedt
From: Frederic Weisbecker fweis...@gmail.com When the CPU enters idle, it saves the jiffies stamp into ts-idle_jiffies, increment this value by one every time there is a timer interrupt and accounts jiffies - ts-idle_jiffies idle ticks when we exit idle. This way we still account the idle CPU

[PATCH 10/32] nohz/cpuset: Restart the tick if printk needs it

2012-10-29 Thread Steven Rostedt
From: Frederic Weisbecker fweis...@gmail.com If we are in nohz adaptive mode and printk is called, the tick is missing to wake up the logger. We need to restart the tick when that happens. Do this asynchronously by issuing a tick restart self IPI to avoid deadlocking with the current random

[PATCH 12/32] rcu: Restart tick if we enqueue a callback in a nohz/cpuset CPU

2012-10-29 Thread Steven Rostedt
From: Frederic Weisbecker fweis...@gmail.com If we enqueue an rcu callback, we need the CPU tick to stay alive until we take care of those by completing the appropriate grace period. Thus, when we call_rcu(), send a self IPI that checks rcu_needs_cpu() so that we restore a periodic tick

[PATCH 09/32] nohz/cpuset: Restart tick when nohz flag is cleared on cpuset

2012-10-29 Thread Steven Rostedt
From: Frederic Weisbecker fweis...@gmail.com Issue an IPI to restart the tick on a CPU that belongs to a cpuset when its nohz flag gets cleared. Signed-off-by: Frederic Weisbecker fweis...@gmail.com Cc: Alessio Igor Bogani abog...@kernel.org Cc: Andrew Morton a...@linux-foundation.org Cc: Avi

[PATCH 11/32] rcu: Restart the tick on non-responding adaptive nohz CPUs

2012-10-29 Thread Steven Rostedt
From: Frederic Weisbecker fweis...@gmail.com When a CPU in adaptive nohz mode doesn't respond to complete a grace period, issue it a specific IPI so that it restarts the tick and chases a quiescent state. Signed-off-by: Frederic Weisbecker fweis...@gmail.com Cc: Alessio Igor Bogani

[PATCH 04/32] x86: New cpuset nohz irq vector

2012-10-29 Thread Steven Rostedt
From: Frederic Weisbecker fweis...@gmail.com We need a way to send an IPI (remote or local) in order to asynchronously restart the tick for CPUs in nohz adaptive mode. This must be asynchronous such that we can trigger it with irqs disabled. This must be usable as a self-IPI as well for example

[PATCH 00/32] [RFC] nohz/cpuset: Start discussions on nohz CPUs

2012-10-29 Thread Steven Rostedt
A while ago Frederic posted a series of patches to get an idea on how to implement nohz cpusets. Where you can add a task to a cpuset and mark the set to be 'nohz'. When the task runs on a CPU and is the only task scheduled (nr_running == 1), the tick will stop. The idea is to give the task the

Re: [PATCH 00/26] pstore, mmc: add mmc as backend for pstore

2012-10-29 Thread Chris Ball
Hi, On Mon, Oct 29 2012, Kirill A. Shutemov wrote: On Tue, Oct 23, 2012 at 04:47:58PM +0300, Irina Tirdea wrote: These patches enable using the mmc card to store panic information. They include changes for pstore and mmc: - add block device backend for pstore - add logic in mmc for

[PATCH 05/32] nohz: Adaptive tick stop and restart on nohz cpuset

2012-10-29 Thread Steven Rostedt
From: Frederic Weisbecker fweis...@gmail.com When a CPU is included in a nohz cpuset, try to switch it to nohz mode from the interrupt exit path if it is running a single non-idle task. Then restart the tick if necessary if we are enqueuing a second task while the timer is stopped, so that the

Re: ipc, msgqueue: NULL ptr deref in msgrcv

2012-10-29 Thread Andrew Morton
On Sat, 27 Oct 2012 20:48:25 -0400 Sasha Levin sasha.le...@oracle.com wrote: My auto-bisect script just finished running. Looks like it's caused by: e32811fe04c759faf63c93b470e787b2328ceb04 is the first bad commit commit e32811fe04c759faf63c93b470e787b2328ceb04 Author: Stanislav Kinsbursky

Re: [PATCH 2/9] uuid: use random32_get_bytes()

2012-10-29 Thread Theodore Ts'o
On Sun, Oct 28, 2012 at 04:18:59PM +0900, Akinobu Mita wrote: Use random32_get_bytes() to generate 16 bytes of pseudo-random bytes. Signed-off-by: Akinobu Mita akinobu.m...@gmail.com Since your patch is going to allow users to set the random seed, it means that what had previously been a bad

Re: Build regressions/improvements in v3.7-rc3

2012-10-29 Thread Geert Uytterhoeven
On Mon, Oct 29, 2012 at 9:50 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: JFYI, when comparing v3.7-rc3 to v3.7-rc2[3], the summaries are: - build errors: +5/-6 - build warnings: +149/-2090 + error: file_storage.c: undefined reference to `usb_ep_autoconfig': = .init.text+0x10bc5),

Re: kmemleak report on isp1763 and sierra MC8705

2012-10-29 Thread Richard Retanubun
On 26/10/12 07:35 PM, Greg KH wrote: On Fri, Oct 26, 2012 at 05:57:23PM -0400, Richard Retanubun wrote: Hi Guys, I am debugging a reported kmemleak involving a sierra wireless MC8705 connected through isp1763 on powerpc linux-3.0.22 Does this also happen on 3.6.3? thanks, greg k-h Hi

Re: [RFC PATCH 4/9] irq_work: Let the arch tell us about self-IPI support

2012-10-29 Thread Frederic Weisbecker
2012/10/29 Steven Rostedt rost...@goodmis.org: On Mon, 2012-10-29 at 14:28 +0100, Frederic Weisbecker wrote: This prepares us to make printk working on nohz CPUs using irq work. -ENOTENOUGHINFO Please state how this prepares printk for nohz CPUS using irq_work. RIght, I'll add the details

Re: [V5 PATCH 08/26] memcontrol: use N_MEMORY instead N_HIGH_MEMORY

2012-10-29 Thread Michal Hocko
On Mon 29-10-12 13:40:39, David Rientjes wrote: On Mon, 29 Oct 2012, Michal Hocko wrote: N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. What is the difference of those two? Patch 5 in the series Strange, I

Re: [PATCH 1/2] kfifo: round up the fifo size power of 2

2012-10-29 Thread Andrew Morton
On Fri, 26 Oct 2012 15:56:57 +0800 Yuanhan Liu yuanhan@linux.intel.com wrote: Say, if we want to allocate a filo with size of 6 bytes, it would be safer to allocate 8 bytes instead of 4 bytes. ... --- a/kernel/kfifo.c +++ b/kernel/kfifo.c @@ -39,11 +39,11 @@ int __kfifo_alloc(struct

Re: [PATCH 1/2] rtc-imxdi: Support for i.MX53

2012-10-29 Thread Sascha Hauer
On Thu, Oct 18, 2012 at 06:06:08PM +0200, Roland Stigge wrote: This patch enables support for i.MX53 in addition to i.MX25 by enabling the driver on ARCH_MXC generally. Signed-off-by: Roland Stigge sti...@antcom.de Acked-by: Sascha Hauer s.ha...@pengutronix.de --- drivers/rtc/Kconfig |

Re: [PATCH 2/2] rtc-imxdi: Add devicetree support

2012-10-29 Thread Sascha Hauer
On Thu, Oct 18, 2012 at 06:06:09PM +0200, Roland Stigge wrote: This patch adds device tree support to the rtc-imxdi driver. Signed-off-by: Roland Stigge sti...@antcom.de Acked-by: Sascha Hauer s.ha...@pengutronix.de --- Documentation/devicetree/bindings/rtc/imxdi-rtc.txt | 17

Re: [PATCH] ARM: mach-imx: Support for DryIce RTC in i.MX53

2012-10-29 Thread Sascha Hauer
On Thu, Oct 18, 2012 at 06:06:10PM +0200, Roland Stigge wrote: This patch enables support for i.MX53 in addition to i.MX25 by providing a dummy clock on i.MX53 since this one doesn't have a separate clock for internal RTC but the driver requests one. Signed-off-by: Roland Stigge

Re: [RFC PATCH 9/9] printk: Wake up klogd using irq_work

2012-10-29 Thread Frederic Weisbecker
2012/10/29 Steven Rostedt rost...@goodmis.org: On Mon, 2012-10-29 at 14:28 +0100, Frederic Weisbecker wrote: klogd is woken up asynchronously from the tick in order to do it safely. However if printk is called when the tick is stopped, the reader won't be woken up until the next interrupt,

Re: [V5 PATCH 08/26] memcontrol: use N_MEMORY instead N_HIGH_MEMORY

2012-10-29 Thread David Rientjes
On Mon, 29 Oct 2012, Michal Hocko wrote: N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. What is the difference of those two? Patch 5 in the series Strange, I do not see that one at the mailing list.

Re: [PATCH v3 4/9] clear the memory to store struct page

2012-10-29 Thread Andrew Morton
On Fri, 26 Oct 2012 17:44:06 +0800 Wen Congyang we...@cn.fujitsu.com wrote: This patch has been acked by kosaki motohiro. Is it OK to be merged into -mm tree? I'd already merged the v2 patchset when you later sent out the v3 patchset which contains some of the material from v2 plus more

Re: [PATCH] Add device tree file for the armadeus apf27

2012-10-29 Thread Sascha Hauer
On Fri, Oct 26, 2012 at 06:29:40PM +0200, Philippe Reynes wrote: Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org --- arch/arm/boot/dts/imx27-apf27.dts | 96 + 1 files changed, 96 insertions(+), 0

Re: kmemleak report on isp1763 and sierra MC8705

2012-10-29 Thread Greg KH
On Mon, Oct 29, 2012 at 04:47:04PM -0400, Richard Retanubun wrote: On 26/10/12 07:35 PM, Greg KH wrote: On Fri, Oct 26, 2012 at 05:57:23PM -0400, Richard Retanubun wrote: Hi Guys, I am debugging a reported kmemleak involving a sierra wireless MC8705 connected through isp1763 on powerpc

Re: [PATCH] watchdog: Support imx watchdog on SOC_IMX53

2012-10-29 Thread Sascha Hauer
On Thu, Oct 25, 2012 at 01:28:33PM +0200, Roland Stigge wrote: This patch fixes watchdog support after devicetree switch for imx53 Signed-off-by: Roland Stigge sti...@antcom.de Applied, thanks Sascha --- arch/arm/mach-imx/Kconfig |1 + 1 file changed, 1 insertion(+) ---

Re: [PATCH 1/2] ARM: mach-imx: imx53.dtsi: pinctl update

2012-10-29 Thread Sascha Hauer
On Thu, Oct 25, 2012 at 01:26:39PM +0200, Roland Stigge wrote: This patch supplements pinctl support on i.MX53. Signed-off-by: Roland Stigge sti...@antcom.de Acked-by: Sascha Hauer s.ha...@pengutronix.de Shawn, probably better when you take this patch as it's quite likely that you collect

Re: [Patch v1 04/10] perf/x86: add memory profiling via PEBS Load Latency

2012-10-29 Thread Andi Kleen
Why do you need to replace the whole table? Because I am extending them with one or two events based on cpu model. That was the easiest way of doing this instead of playing some kind of malloc+copy trick. I did malloc and copy. BTW I still think my approach in the v4 Haswell patchkit

Re: [PATCH 2/2] ARM: mach-imx: CAN clock fix for i.MX53

2012-10-29 Thread Sascha Hauer
Roland, Do you have updates on this one? I think this patch is wrong, specifying the clock rate in the devicetree is only for PowerPC, so I think this needs further investigation. Sascha On Thu, Oct 25, 2012 at 01:26:40PM +0200, Roland Stigge wrote: This patch fixes CAN clocking on i.MX53.

Re: [PATCH] Input: introduce managed input devices (add devres support)

2012-10-29 Thread Henrik Rydberg
Either way, the code looks functional to me. So is that reviewed-by? I was thinking about this hunk: @@ -1972,7 +2084,20 @@ int input_register_device(struct input_dev *dev) mutex_unlock(input_mutex); + if (dev-devres_managed) { + dev_info(dev-dev.parent,

Re: [PATCH 2/2] ARM: mach-imx: CAN clock fix for i.MX53

2012-10-29 Thread Roland Stigge
On 29/10/12 22:20, Sascha Hauer wrote: Roland, Do you have updates on this one? I think this patch is wrong, specifying the clock rate in the devicetree is only for PowerPC, so I think this needs further investigation. Please ignore it for now. As discussed with Marc, the issue seemed to be

Re: [Patch v1 04/10] perf/x86: add memory profiling via PEBS Load Latency

2012-10-29 Thread Stephane Eranian
On Mon, Oct 29, 2012 at 10:16 PM, Andi Kleen a...@linux.intel.com wrote: Why do you need to replace the whole table? Because I am extending them with one or two events based on cpu model. That was the easiest way of doing this instead of playing some kind of malloc+copy trick. I did

Re: [V5 PATCH 08/26] memcontrol: use N_MEMORY instead N_HIGH_MEMORY

2012-10-29 Thread Michal Hocko
On Mon 29-10-12 14:08:05, David Rientjes wrote: On Mon, 29 Oct 2012, Michal Hocko wrote: N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. What is the difference of those two? Patch 5 in the

[ 000/101] 3.6.5-stable review

2012-10-29 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.6.5 release. There are 101 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Wed Oct 31 21:31:45 UTC 2012. Anything

[ 001/101] drm/radeon: add some new SI PCI ids

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher alexander.deuc...@amd.com commit b6aa22db7857ab7ed042d6c56b800bfc727cfdff upstream. Signed-off-by: Alex Deucher alexander.deuc...@amd.com Signed-off-by: Greg Kroah-Hartman

[ 002/101] drm/radeon: add error output if VM CS fails on cayman

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher alexander.deuc...@amd.com commit c71721324c612f7f040657ce9917d87f530f9784 upstream. So we know why the CS was rejected. Signed-off-by: Alex Deucher alexander.deuc...@amd.com

[ 011/101] x86-64: Fix page table accounting

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Jan Beulich jbeul...@suse.com commit 876ee61aadf01aa0db981b5d249cbdd53dc28b5e upstream. Commit 20167d3421a089a1bf1bd680b150dc69c9506810 (x86-64: Fix accounting in

[ 019/101] SUNRPC: Prevent races in xs_abort_connection()

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust trond.mykleb...@netapp.com commit 4bc1e68ed6a8b59be8a79eb719be515a55c7bc68 upstream. The call to xprt_disconnect_done() that is triggered by a successful connection reset will

[ 027/101] staging: zram: Fix handling of incompressible pages

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Nitin Gupta ngu...@vflare.org commit c8f2f0db1d0294aaf37e8a85bea9bbc4aaf5c0fe upstream. Change 130f315a (staging: zram: remove special handle of uncompressed page) introduced a bug in the

[ 032/101] staging: comedi: amplc_pc263: fix possible NULL deref during detach

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott abbo...@mev.co.uk commit 1d1171ffda585c1cab7bd7cf4bd8f8fd5923fb4a upstream. `pc263_detach()` is called by the comedi core to clean up if either `pc263_attach()` or

[ 038/101] ehci: fix Lucid nohandoff pci quirk to be more generic with BIOS versions

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Anisse Astier ani...@astier.eu commit c323dc023b9501e5d09582ec7efd1d40a9001d99 upstream. BIOS vendors keep changing the BIOS versions. Only match the beginning of the string to match all Lucid

[ 051/101] USB: qcserial: fix interface-data memory leak in error path

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit 961be09e1ead58509ed4bed0d5819a15d8613d8d upstream. Move interface data allocation to attach so that it is deallocated should usb-serial probe fail.

[ 067/101] USB: mos7840: fix urb leak at release

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit 65a4cdbb170e4ec1a7fa0e94936d47e24a17b0e8 upstream. Make sure control urb is freed at release. Signed-off-by: Johan Hovold jhov...@gmail.com Signed-off-by:

[ 081/101] b43: Fix oops on unload when firmware not found

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger larry.fin...@lwfinger.net commit f89ff6441df06abc2d95f3ef67525923032d6283 upstream. When b43 fails to find firmware when loaded, a subsequent unload will oops due to calling

[ 098/101] x86: efi: Turn off efi_enabled after setup on mixed fw/kernel

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Olof Johansson o...@lixom.net commit 5189c2a7c7769ee9d037d76c1a7b8550ccf3481c upstream. When 32-bit EFI is used with 64-bit kernel (or vice versa), turn off efi_enabled once setup is done.

[ 100/101] pnfsblock: fix non-aligned DIO read

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Peng Tao bergw...@gmail.com commit f742dc4a32587bff50b13dde9d8894b96851951a upstream. For DIO read, if it is not sector aligned, we should reject it and resend via MDS. Otherwise there might be

[ 079/101] mac80211: check if key has TKIP type before updating IV

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Stanislaw Gruszka sgrus...@redhat.com commit 4045f72bcf3c293c7c5932ef001742d8bb5ded76 upstream. This patch fix corruption which can manifest itself by following crash when switching on rfkill

[ 096/101] cfg80211/mac80211: avoid state mishmash on deauth

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Stanislaw Gruszka sgrus...@redhat.com commit 6863255bd0e48bc41ae5a066d5c771801e92735a upstream. Avoid situation when we are on associate state in mac80211 and on disassociate state in cfg80211.

[ 099/101] x86, mm: Use memblock memory loop instead of e820_RAM

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Yinghai Lu ying...@kernel.org commit 1f2ff682ac951ed82cc043cf140d2851084512df upstream. We need to handle E820_RAM and E820_RESERVED_KERNEL at the same time. Also memblock has page aligned

[ 101/101] pnfsblock: fix non-aligned DIO write

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Peng Tao bergw...@gmail.com commit 96c9eae638765c2bf2ca4f5a6325484f9bb69aa7 upstream. For DIO writes, if it is not blocksize aligned, we need to do internal serialization. It may slow down

Re: [RFC/PATCHSET 00/15] perf report: Add support to accumulate hist periods

2012-10-29 Thread Arun Sharma
On 10/29/12 12:08 PM, Peter Zijlstra wrote: Right, so I tried this and I would expect the callchains to be inverted too, so that when I expand say 'c' I would see that 'c' calls 'b' for 100% which calls 'a' for 100%. Instead I get the regular callchains, expanding 'c' gives me main calls it

[ 091/101] net/wireless: ipw2200: Fix panic occurring in ipw_handle_promiscuous_tx()

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Stanislav Yakovlev stas.yakov...@gmail.com commit bf11315eeda510ea4fc1a2bf972d8155d31d89b4 upstream. The driver does not count space of radiotap fields when allocating skb for radiotap packet.

[ 097/101] efi: Defer freeing boot services memory until after ACPI init

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Josh Triplett j...@joshtriplett.org commit 785107923a83d8456bbd8564e288a24d84109a46 upstream. Some new ACPI 5.0 tables reference resources stored in boot services memory, so keep that memory

[ 095/101] x86, mm: Undo incorrect revert in arch/x86/mm/init.c

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Yinghai Lu ying...@kernel.org commit f82f64dd9f485e13f29f369772d4a0e868e5633a upstream. Commit 844ab6f9 x86, mm: Find_early_table_space based on ranges that are actually being mapped

[ 094/101] x86, mm: Find_early_table_space based on ranges that are actually being mapped

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Jacob Shin jacob.s...@amd.com commit 844ab6f993b1d32eb40512503d35ff6ad0c57030 upstream. Current logic finds enough space for direct mapping page tables from 0 to end. Instead, we only need to

[ 093/101] Revert ath9k_hw: Updated AR9003 tx gain table for 5GHz

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau n...@openwrt.org commit 73b26df5fa1a6245d6fc982362518b620bc7c2fe upstream. This reverts commit a240dc7b3c7463bd60cf0a9b2a90f52f78aae0fd. This commit is reducing tx power by at

[ 01/54] drm/radeon: add some new SI PCI ids

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher alexander.deuc...@amd.com commit b6aa22db7857ab7ed042d6c56b800bfc727cfdff upstream. Signed-off-by: Alex Deucher alexander.deuc...@amd.com Signed-off-by: Greg Kroah-Hartman

[ 02/54] drm/radeon: add error output if VM CS fails on cayman

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher alexander.deuc...@amd.com commit c71721324c612f7f040657ce9917d87f530f9784 upstream. So we know why the CS was rejected. Signed-off-by: Alex Deucher alexander.deuc...@amd.com

[ 24/54] USB: whiteheat: fix memory leak in error path

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit c129197c99550d356cf5f69b046994dd53cd1b9d upstream. Make sure command buffer is deallocated in case of errors during attach. Signed-off-by: Johan Hovold

[ 35/54] ARM: SAMSUNG: Add naming of s3c64xx-spi devices

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Heiko Stuebner he...@sntech.de commit 308b3afb97dc342e9c4f958d8b4c459ae0e22bd7 upstream. Commit a5238e360b71 (spi: s3c64xx: move controller information into driver data) introduced separate

[ 46/54] cpufreq / powernow-k8: Remove usage of smp_processor_id() in preemptible code

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Herrmann andreas.herrma...@amd.com commit e4df1cbcc1f329e53a1fff7450b2229e0addff20 upstream. Commit 6889125b8b4e09c5e53e6ecab3433bed1ce198c9 (cpufreq/powernow-k8: workqueue user

[ 52/54] staging: comedi: amplc_pc236: fix invalid register access during detach

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott abbo...@mev.co.uk commit aaeb61a97b7159ebe30b18a422d04eeabfa8790b upstream. `pc236_detach()` is called by the comedi core if it attempted to attach a device and failed.

[ 49/54] x86, mm: Undo incorrect revert in arch/x86/mm/init.c

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Yinghai Lu ying...@kernel.org commit f82f64dd9f485e13f29f369772d4a0e868e5633a upstream. Commit 844ab6f9 x86, mm: Find_early_table_space based on ranges that are actually being mapped

[ 53/54] x86, mm: Use memblock memory loop instead of e820_RAM

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Yinghai Lu ying...@kernel.org commit 1f2ff682ac951ed82cc043cf140d2851084512df upstream. We need to handle E820_RAM and E820_RESERVED_KERNEL at the same time. Also memblock has page aligned

[ 50/54] efi: Defer freeing boot services memory until after ACPI init

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Josh Triplett j...@joshtriplett.org commit 785107923a83d8456bbd8564e288a24d84109a46 upstream. Some new ACPI 5.0 tables reference resources stored in boot services memory, so keep that memory

[ 51/54] x86: efi: Turn off efi_enabled after setup on mixed fw/kernel

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Olof Johansson o...@lixom.net commit 5189c2a7c7769ee9d037d76c1a7b8550ccf3481c upstream. When 32-bit EFI is used with 64-bit kernel (or vice versa), turn off efi_enabled once setup is done.

[ 54/54] drm/i915: no lvds quirk for Zotac ZDBOX SD ID12/ID13

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Sjoerd Simons sjoerd.sim...@collabora.co.uk commit 9756fe38d10b2bf90c81dc4d2f17d5632e135364 upstream. This box claims to have an LVDS interface but doesn't actually have one. Signed-off-by:

[ 45/54] bcma: fix unregistration of cores

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Piotr Haber pha...@broadcom.com commit 1fffa905adffbf0d3767fc978ef09afb830275eb upstream. When cores are unregistered, entries need to be removed from cores list in a safe manner. Reported-by:

[ 48/54] x86, mm: Find_early_table_space based on ranges that are actually being mapped

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jacob Shin jacob.s...@amd.com commit 844ab6f993b1d32eb40512503d35ff6ad0c57030 upstream. Current logic finds enough space for direct mapping page tables from 0 to end. Instead, we only need to

[ 47/54] Revert ath9k_hw: Updated AR9003 tx gain table for 5GHz

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau n...@openwrt.org commit 73b26df5fa1a6245d6fc982362518b620bc7c2fe upstream. This reverts commit a240dc7b3c7463bd60cf0a9b2a90f52f78aae0fd. This commit is reducing tx power by at

[ 36/54] ARM: at91/tc: fix typo in the DT document

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Josh Wu josh...@atmel.com commit 11930c530f3edf81160e4962e363d579f5cdce7e upstream. Signed-off-by: Josh Wu josh...@atmel.com Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com Acked-by:

Re: [PATCH v2 04/11] HID: hid-multitouch: support arrays for the split of the touches in a report

2012-10-29 Thread Henrik Rydberg
Hi Benjamin, Win8 certification introduced the ability to transmit two X and two Y per touch. The specification precises that it must be in an array, with a report count == 2. The number two never really enters the patch, so maybe it should be dropped to avoid confusion. It probably makes

[ 21/54] ehci: Add yet-another Lucid nohandoff pci quirk

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Anisse Astier ani...@astier.eu commit 8daf8b6086f9d575200cd0aa3797e26137255609 upstream. Board name changed on another shipping Lucid tablet. Signed-off-by: Anisse Astier ani...@astier.eu

[ 33/54] USB: mos7840: remove invalid disconnect handling

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit e681b66f2e19fadbe8a7e2a17900978cb6bc921f upstream. Remove private zombie flag used to signal disconnect and to prevent control urb from being submitted

[ 44/54] dmaengine: imx-dma: fix missing unlock on error in imxdma_xfer_desc()

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Wei Yongjun yongjun_...@trendmicro.com.cn commit 720dfd250e48a8c7fd1b2b8645955413989c4ee0 upstream. Add the missing unlock on the error handling path in function imxdma_xfer_desc().

[ 43/54] dmaengine: sirf: fix a typo in moving running dma_desc to active queue

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Barry Song baohua.s...@csr.com commit 26fd12209c08fe947be1828896ef4ffc5bd0e6df upstream. list_move_tail(schan-queued, schan-active) makes the list_empty(schan-queued) undefined, we either

Re: [PATCH 4/4] DMA: PL330: add device tree property for DMA_MEMCPY capability

2012-10-29 Thread Jassi Brar
On Mon, Oct 29, 2012 at 10:59 AM, Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com wrote: * Add device tree (DT) property (pl330,dma-memcpy) for DMA_MEMCPY capability and instead of setting this capability unconditionally in pl330_probe() do it only when property is present. Perhaps we

[ 39/54] mac80211: check if key has TKIP type before updating IV

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Stanislaw Gruszka sgrus...@redhat.com commit 4045f72bcf3c293c7c5932ef001742d8bb5ded76 upstream. This patch fix corruption which can manifest itself by following crash when switching on rfkill

[ 42/54] dmaengine: sirf: fix a typo in dma_prep_interleaved

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Barry Song baohua.s...@csr.com commit 5997e089e4c3a7f0958a8fb0a54ec2b5a6f06168 upstream. either DEV_TO_MEM or MEM_TO_DEV is supported, so change OR to AND. Signed-off-by: Barry Song

[ 40/54] Bluetooth: SMP: Fix setting unknown auth_req bits

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hedberg johan.hedb...@intel.com commit 065a13e2cc665f6547dc7e8a9d6b6565badf940a upstream. When sending a pairing request or response we should not just blindly copy the value that the

[ 41/54] freezer: exec should clear PF_NOFREEZE along with PF_KTHREAD

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov o...@redhat.com commit b40a79591ca918e7b91b0d9b6abd5d00f2e88c19 upstream. flush_old_exec() clears PF_KTHREAD but forgets about PF_NOFREEZE. Signed-off-by: Oleg Nesterov

[ 32/54] USB: mos7840: remove NULL-urb submission

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit 28c3ae9a8cf45f439c9a0779ebd0256e2ae72813 upstream. The private int_urb is never allocated so the submission from the control completion handler will always

Re: [PATCH v2 05/11] HID: hid-multitouch: get maxcontacts also from logical_max value

2012-10-29 Thread Henrik Rydberg
On Fri, Oct 26, 2012 at 10:44:21AM +0200, Benjamin Tissoires wrote: Win8 devices are required to present the feature Maximum Contact Number. Fortunately all win7 devices I've seen presents this feature. If the current value is 0, then, the driver can get the actual supported contact count by

[ 31/54] USB: mos7840: fix port-device leak in error path

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit 3eb55cc4ed88eee3b5230f66abcdbd2a91639eda upstream. The driver set the usb-serial port pointers to NULL on errors in attach, effectively preventing

[ 38/54] ARM: at91: at91sam9g10: fix SOC type detection

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Ivan Shugov ivan.shu...@gmail.com commit 3d9a0183dd3423353e9e363bcc261c1220d05f9f upstream. Newer at91sam9g10 SoC revision can't be detected, so the kernel can't boot with this kind of kernel

Re: [PATCH 1/4] DMA: PL330: fix locking in pl330_free_chan_resources()

2012-10-29 Thread Jassi Brar
On Mon, Oct 29, 2012 at 10:59 AM, Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com wrote: tasklet_kill() may sleep so call it before taking pch-lock. Fixes following lockup: [ 345.47] BUG: scheduling while atomic: cat/2383/0x0002 [ 345.47] Modules linked in: [ 345.47]

  1   2   3   4   5   6   7   8   9   10   >