[PATCH 34/36] perf map browser: Use ui_browser__input_window()

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo a...@redhat.com Instead of an ad-hoc, libnewt based equivalent. Cc: David Ahern dsah...@gmail.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Jiri Olsa jo...@redhat.com Cc: Mike Galbraith efa...@gmx.de Cc: Namhyung Kim namhy...@gmail.com Cc: Paul Mackerras

[PATCH 11/36] perf stat: Refactor aggregation code

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Stephane Eranian eran...@google.com Refactor aggregation code by introducing a single aggr_mode variable and an enum for aggregation. Also refactor cpumap code having to do with cpu to socket mappings. All in preparation for extended modes, such as cpu - core. Also fix socket aggregation

[PATCH 19/36] perf: Add generic memory sampling interface

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Stephane Eranian eran...@google.com This patch adds PERF_SAMPLE_DATA_SRC. PERF_SAMPLE_DATA_SRC collects the data source, i.e., where did the data associated with the sampled instruction come from. Information is stored in a perf_mem_data_src structure. It contains opcode, mem level, tlb,

[PATCH 16/36] perf/x86: Improve sysfs event mapping with event string

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Stephane Eranian eran...@google.com This patch extends Jiri's changes to make generic events mapping visible via sysfs. The patch extends the mechanism to non-generic events by allowing the mappings to be hardcoded in strings. This mechanism will be used by the PEBS-LL patch later on.

[PATCH 18/36] perf/core: Add weighted samples

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Andi Kleen a...@linux.intel.com For some events it's useful to weight sample with a hardware provided number. This expresses how expensive the action the sample represent was. This allows the profiler to scale the samples to be more informative to the programmer. There is already the

[PATCH 05/36] perf tools: Get rid of die() calls from trace-event-info.c

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com Now remove all remaining die() calls and convert them to check return value and propagate it. Signed-off-by: Namhyung Kim namhy...@kernel.org Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo Molnar mi...@kernel.org Cc: Paul Mackerras pau...@samba.org

[PATCH 07/36] perf tools: Get rid of malloc_or_die() in trace-event-read.c

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com Check return value of malloc() and fail if error. Now read_string() can return NULL also check its return value and bail out. Signed-off-by: Namhyung Kim namhy...@kernel.org Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo Molnar mi...@kernel.org Cc:

[PATCH 08/36] perf tools: Get rid of read_or_die() in trace-event-read.c

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com Rename it to do_read and original do_read to __do_read, and check their return value. Signed-off-by: Namhyung Kim namhy...@kernel.org Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo Molnar mi...@kernel.org Cc: Paul Mackerras pau...@samba.org Cc: Peter

[PATCH] pinctrl: tegra: add suspend-resume support

2013-03-28 Thread Bibek Basu
From: Pritesh Raithatha praitha...@nvidia.com This patch adds suspend and resume callbacks to the pinctrl-tegra driver. Based on work by: Pritesh Raithatha praitha...@nvidia.com Signed-off-by: Pritesh Raithatha praitha...@nvidia.com Signed-off-by: Bibek Basu bb...@nvidia.com ---

[PATCH 06/36] perf tools: Handle failure case in trace_report()

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com If pevent allocation in read_trace_init() fails, trace_report() will return -1 and *ppevent is set to NULL. Its callers should check this case and handle it properly. This is also a preparation for the removal of *die() calls. Signed-off-by: Namhyung Kim

[PATCH 14/36] perf report: Add --no-demangle option

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com It's sometimes useful to see undemangled raw symbol name for example other tools using the perf output to do manipulation of binaries. Signed-off-by: Namhyung Kim namhy...@kernel.org Suggested-by: William Cohen wco...@redhat.com Cc: Ingo Molnar

[PATCH 02/36] perf tools: Let get_tracing_file() return NULL to indicate failure.

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com So that it can be used by other places. Signed-off-by: Namhyung Kim namhy...@kernel.org Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo Molnar mi...@kernel.org Cc: Paul Mackerras pau...@samba.org Cc: Peter Zijlstra a.p.zijls...@chello.nl Cc: Steven

[PATCH 01/36] perf tools: Get rid of redundant _FILE_OFFSET_BITS definition

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com We define it in the Makefile so no need to duplicate it. Signed-off-by: Namhyung Kim namhy...@kernel.org Cc: Ingo Molnar mi...@kernel.org Cc: Paul Mackerras pau...@samba.org Cc: Peter Zijlstra a.p.zijls...@chello.nl Link:

[PATCH 10/36] perf tools: Cleanup calc_data_size logic

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com It's for calculating whole trace data size during reading. However relation functions are called only in this file, no need to conditionalize it with tricky +1 offset and rename the variable to more meaningful name like trace_data_size. Signed-off-by:

[BUG] Crash with NULL pointer dereference in bond_handle_frame in -rt (possibly mainline)

2013-03-28 Thread Steven Rostedt
Hi, I'm currently debugging a crash in an old 3.0-rt kernel that one of our customers is seeing. The bug happens with a stress test that loads and unloads the bonding module in a loop (I don't know all the details as I'm not the one that is directly interacting with the customer). But the bug

[GIT PATCH] char/misc fixes for 3.9-rc4

2013-03-28 Thread Greg KH
The following changes since commit 3d374d09f16f64ab4d71704cbe621514d36cd0b1: final removal of CONFIG_EXPERIMENTAL (2013-03-12 16:30:27 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ tags/char-misc-3.9-rc4 for you to fetch

[GIT PATCH] Driver core fixes for 3.9-rc4

2013-03-28 Thread Greg KH
The following changes since commit a937536b868b8369b98967929045f1df54234323: Linux 3.9-rc3 (2013-03-17 15:59:32 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/ tags/driver-core-3.9-rc4 for you to fetch changes up to

[GIT PATCH] Staging driver fixes for 3.9-rc4

2013-03-28 Thread Greg KH
The following changes since commit a937536b868b8369b98967929045f1df54234323: Linux 3.9-rc3 (2013-03-17 15:59:32 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-3.9-rc4 for you to fetch changes up to

[GIT PATCH] TTY/Serial fixes for 3.9-rc4

2013-03-28 Thread Greg KH
The following changes since commit c51d41a1dd8f23a06a4ed651ebb9617de7f59368: tty: serial: fix typo SERIAL_S3C2412 (2013-03-12 08:53:23 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/ tags/tty-3.9-rc4 for you to fetch changes up

[GIT PATCH] USB fixes for 3.9-rc4

2013-03-28 Thread Greg KH
The following changes since commit 8bb9660418e05bb1845ac1a2428444d78e322cc7: Linux 3.9-rc4 (2013-03-23 16:52:44 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-3.9-rc4 for you to fetch changes up to

Re: [PATCH] OMAP3 ROM Random Number Generator support

2013-03-28 Thread Pali Rohár
On Thursday 28 March 2013 10:52:28 Russell King - ARM Linux wrote: On Wed, Mar 27, 2013 at 02:09:18PM -0700, Tony Lindgren wrote: + setup_timer(idle_timer, omap3_rom_idle_rng, 0); + rng_clk = clk_get_sys(omap_rng, ick); Why is this using clk_get_sys when it should be using clk_get()

Re: [PATCH v2 12/13] rwsem: do not block readers at head of queue if other readers are active

2013-03-28 Thread Peter Hurley
On Fri, 2013-03-15 at 03:54 -0700, Michel Lespinasse wrote: This change fixes a race condition where a reader might determine it needs to block, but by the time it acquires the wait_lock the rwsem has active readers and no queued waiters. In this situation the reader can just in parallel

Re: [BUG] Crash with NULL pointer dereference in bond_handle_frame in -rt (possibly mainline)

2013-03-28 Thread Eric Dumazet
On Thu, 2013-03-28 at 13:16 -0400, Steven Rostedt wrote: Hi, I'm currently debugging a crash in an old 3.0-rt kernel that one of our customers is seeing. The bug happens with a stress test that loads and unloads the bonding module in a loop (I don't know all the details as I'm not the one

Re: [PATCH 4/4] pinctrl: re-enable old state in case of error in pinctrl_select_state

2013-03-28 Thread Richard GENOUD
On [mer., 27.03.2013 17:55:45], Stephen Warren wrote: On 03/25/2013 08:47 AM, Richard Genoud wrote: If a new state is applied, the groups configured in the old state but not in the new state are disabled. If something goes wrong and the new state can't be applied, we have to re-enable

RE: [RFC] mm: remove swapcache page early

2013-03-28 Thread Dan Magenheimer
From: Hugh Dickins [mailto:hu...@google.com] Subject: RE: [RFC] mm: remove swapcache page early On Wed, 27 Mar 2013, Dan Magenheimer wrote: From: Hugh Dickins [mailto:hu...@google.com] Subject: Re: [RFC] mm: remove swapcache page early The issue you are raising here is (2). You

Re: [PATCH 4/4] pinctrl: re-enable old state in case of error in pinctrl_select_state

2013-03-28 Thread Stephen Warren
On 03/28/2013 11:34 AM, Richard GENOUD wrote: On [mer., 27.03.2013 17:55:45], Stephen Warren wrote: On 03/25/2013 08:47 AM, Richard Genoud wrote: If a new state is applied, the groups configured in the old state but not in the new state are disabled. If something goes wrong and the new state

Re: [RT LATENCY] 249 microsecond latency caused by slub's unfreeze_partials() code.

2013-03-28 Thread Christoph Lameter
Two patches against slub to enable deconfiguring cpu_partial support. First one is a bug fix (Pekka please pick up this one or use Joonsoo's earlier one). Subject: slub: Fix object counts in acquire_slab It seems that we were overallocating objects from the slab queues since get_partial_node()

Re: [RT LATENCY] 249 microsecond latency caused by slub's unfreeze_partials() code.

2013-03-28 Thread Christoph Lameter
This patch requires the earlier bug fix. Subject: slub: Make cpu partial slab support configurable cpu partial support can introduce level of indeterminism that is not wanted in certain context (like a realtime kernel). Make it configurable. Signed-off-by: Christoph Lameter c...@linux.com

Re: [BUG] Crash with NULL pointer dereference in bond_handle_frame in -rt (possibly mainline)

2013-03-28 Thread Steven Rostedt
On Thu, 2013-03-28 at 10:29 -0700, Eric Dumazet wrote: Nothing :( bug introduced in commit 35d48903e9781975e823b359ee85c257c9ff5c1c (bonding: fix rx_handler locking) CC Jiri Fix seems simple : diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index

Re: 3.8.4: ohci question

2013-03-28 Thread Alan Stern
On Thu, 28 Mar 2013, Udo van den Heuvel wrote: On 2013-03-28 15:35, Alan Stern wrote: When my dmesg gives me a growing number of lines like the one below, what is going on? ohci_hcd :00:12.0: urb 88023025c500 path 2 ep1in 6c16 cc 6 -- status -71 Please let me know!

Re: [PATCH] pinctrl: tegra: add suspend-resume support

2013-03-28 Thread Stephen Warren
On 03/28/2013 11:11 AM, Bibek Basu wrote: From: Pritesh Raithatha praitha...@nvidia.com This patch adds suspend and resume callbacks to the pinctrl-tegra driver. Based on work by: Pritesh Raithatha praitha...@nvidia.com Those two lines are somewhat implied by the fact the commit's git

Re: [PATCH] OMAP3 ROM Random Number Generator support

2013-03-28 Thread Pali Rohár
On Wednesday 27 March 2013 23:25:24 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [130327 15:08]: I will remove above code for checking omap type from hw rand driver, because same code is in omap part which creating platform_device for this driver. So soc.h is not needed. OK

Re: [PATCH 1/6] net-next: replace obsolete NLMSG_* with type safe nlmsg_*

2013-03-28 Thread David Miller
From: Thomas Graf tg...@suug.ch Date: Thu, 28 Mar 2013 14:32:16 + On 03/28/13 at 12:47am, Hong Zhiguo wrote: diff --git a/net/ipv4/udp_diag.c b/net/ipv4/udp_diag.c index 505b30a..467fb92 100644 --- a/net/ipv4/udp_diag.c +++ b/net/ipv4/udp_diag.c @@ -64,9 +64,9 @@ static int

Re: [PATCH 5/6] scsi: replace obsolete NLMSG_* with type safe nlmsg_*

2013-03-28 Thread David Miller
From: Thomas Graf tg...@suug.ch Date: Thu, 28 Mar 2013 14:45:02 + On 03/28/13 at 12:53am, Hong Zhiguo wrote: Signed-off-by: Hong Zhiguo honk...@gmail.com There are some formatting errors but the Netlink bits themselves look good. I'll fix these up too when I commit. -- To unsubscribe

Re: [PATCH REPOST 2/7] kbuild: fixdep: support concatenated dep files

2013-03-28 Thread Stephen Warren
On 03/21/2013 12:23 PM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com The current use-case for fixdep is: a source file is run through a single processing step, which creates a single dependency file as a side-effect, which fixdep transforms into the file used by the kernel

Re: [PATCH 1/6] net-next: replace obsolete NLMSG_* with type safe nlmsg_*

2013-03-28 Thread Thomas Graf
On 03/29/13 at 12:08am, Hong zhi guo wrote: Thanks, Thomas. But I didn't change any formatting. Just do the substitution in place. Your change would require reformatting on the lines following your change because the required level of indentation changed. I don't want to cause you unneeded pain

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

2013-03-28 Thread Greg KH
On Wed, Mar 27, 2013 at 02:41:34PM +1100, Stephen Rothwell wrote: Hi Greg, After merging the usb tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/usb/serial/usb-serial.c: In function 'usb_serial_probe': drivers/usb/serial/usb-serial.c:887:3: error: 'struct

Re: [PATCH] compat/compat-drivers/linux-next: fb skip_vt_switch

2013-03-28 Thread Luis R. Rodriguez
On Thu, Mar 28, 2013 at 9:19 AM, Julia Lawall julia.law...@lip6.fr wrote: On Thu, 28 Mar 2013, Jesse Barnes wrote: - info-skip_vt_switch = true; + fb_enable_skip_vt_switch(info); So we'd then have to just add this static inline change for each new driver... There

Re: [PATCH 4/4] pinctrl: re-enable old state in case of error in pinctrl_select_state

2013-03-28 Thread Richard GENOUD
On [jeu., 28.03.2013 11:38:23], Stephen Warren wrote: On 03/28/2013 11:34 AM, Richard GENOUD wrote: On [mer., 27.03.2013 17:55:45], Stephen Warren wrote: On 03/25/2013 08:47 AM, Richard Genoud wrote: If a new state is applied, the groups configured in the old state but not in the new

[PATCH] ARM: perf: fix group validation when using enable_on_exec

2013-03-28 Thread Will Deacon
Events may be created with attr-disabled == 1 and attr-enable_on_exec == 1, which confuses the group validation code because events with the PERF_EVENT_STATE_OFF are not considered candidates for scheduling, which may lead to failure at group scheduling time. This patch fixes the validation check

Re: [PATCH] compat/compat-drivers/linux-next: fb skip_vt_switch

2013-03-28 Thread Julia Lawall
On Thu, 28 Mar 2013, Luis R. Rodriguez wrote: On Thu, Mar 28, 2013 at 9:19 AM, Julia Lawall julia.law...@lip6.fr wrote: On Thu, 28 Mar 2013, Jesse Barnes wrote: - info-skip_vt_switch = true; + fb_enable_skip_vt_switch(info); So we'd then have to just add this

Re: [PATCH V3 3/7] workqueue: Add helpers to schedule work on any cpu

2013-03-28 Thread Tejun Heo
On Thu, Mar 21, 2013 at 11:29:37AM -0700, Tejun Heo wrote: Yes, I actually like that part a lot although I do wish the idle check was inlined. What I'm wondering is whether the kinda out-of-band decision via sched_select_cpu() is justified given that it can and is likely to go through full

Re: [PATCH] Makefile: allow no update .config build

2013-03-28 Thread Randy Dunlap
On 03/28/13 00:28, liguang wrote: if we pull some commits from other git repo which bring in a few CONFIG_* options, then we have to build all again, but we do assure these options are not interesting for us, so the long waiting build will be offending. this change help us to avoid

Re: [PATCH] ARM: dove: fix Dove cpu type from V7 to PJ4

2013-03-28 Thread Russell King - ARM Linux
On Thu, Mar 28, 2013 at 01:06:54PM -0400, Jason Cooper wrote: On Sat, Mar 23, 2013 at 04:06:51PM +0100, Sebastian Hesselbarth wrote: The CPU used in Marvell Dove SoCs is a PJ4 Sheeva core. Using CONFIG_CPU_PJ4 instead of CONFIG_CPU_V7 will also allow to enable iWMMXt extensions on Dove.

Re: [RFC PATCH 2/3] perf: Add persistent event facilities

2013-03-28 Thread Robert Richter
Boris, in general your approach looks good. Just a question and some comments below. On 15.03.13 14:06:28, Borislav Petkov wrote: Add a barebones implementation for registering persistent events with perf. For that, we don't destroy the buffers when they're unmapped; also, we map them

Re: [PATCH 5/5] cgroup: Remove subsys.active flag

2013-03-28 Thread Tejun Heo
On Thu, Mar 28, 2013 at 03:21:49PM +0800, Li Zefan wrote: The only user was cpuacct. Signed-off-by: Li Zefan lize...@huawei.com Acked-by: Tejun Heo t...@kernel.org Please feel free to route through -tip with the other cpuacct changes. Thanks. -- tejun -- To unsubscribe from this list:

RE: [RFC] mm: remove swapcache page early

2013-03-28 Thread Dan Magenheimer
From: Minchan Kim [mailto:minc...@kernel.org] Subject: Re: [RFC] mm: remove swapcache page early Hi Dan, On Wed, Mar 27, 2013 at 03:24:00PM -0700, Dan Magenheimer wrote: From: Hugh Dickins [mailto:hu...@google.com] Subject: Re: [RFC] mm: remove swapcache page early I believe

Re: [PATCH 1/2] ARM: irq: Call irqchit_init if no init_irq function is specified

2013-03-28 Thread Maxime Ripard
Le 28/03/2013 16:49, Arnd Bergmann a écrit : On Thursday 28 March 2013, Russell King - ARM Linux wrote: On Thu, Mar 28, 2013 at 03:25:42PM +, Arnd Bergmann wrote: if (IS_DEFINED(CONFIG_OF) !machine_desc-init_irq) irqchip_init(); else

Re: linux-next: Tree for Mar 28 (broadcom/bnx2x)

2013-03-28 Thread David Miller
From: Randy Dunlap rdun...@infradead.org Date: Thu, 28 Mar 2013 10:08:37 -0700 On 03/27/13 22:28, Stephen Rothwell wrote: Hi all, The next linux-next release will be on Tuesday April 2. Changes since 20130327: on i386: drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c: In function

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-28 Thread Douglas Gilbert
On 13-03-28 05:57 AM, Johan Hovold wrote: On Tue, Mar 26, 2013 at 05:09:59PM -0400, Douglas Gilbert wrote: On 13-03-26 03:27 PM, Johan Hovold wrote: On Fri, Mar 15, 2013 at 06:37:12PM +0100, Nicolas Ferre wrote: On some revisions of AT91 SoCs, the RTC IMR register is not working. Instead of

Re: [PATCH 1/2] mm: remove CONFIG_HOTPLUG ifdefs

2013-03-28 Thread Greg Kroah-Hartman
On Thu, Mar 28, 2013 at 10:23:38AM +0800, Yijing Wang wrote: CONFIG_HOTPLUG is going away as an option, cleanup CONFIG_HOTPLUG ifdefs in mm files. Signed-off-by: Yijing Wang wangyij...@huawei.com Cc: Minchan Kim minc...@kernel.org Cc: Mel Gorman mgor...@suse.de Cc: Bartlomiej

Re: [PATCH 2/2] ARM: remove mach .init_irq for irqchip_init users

2013-03-28 Thread Maxime Ripard
Hi Simon, Le 28/03/2013 13:42, Simon Horman a écrit : On Thu, Mar 28, 2013 at 10:41:44AM +0100, Maxime Ripard wrote: Now that the arm core code calls irqchip_init, we can remove it from all the machines that were using it. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com ---

[PATCH V2 0/2] cpufreq: ondemand: add AMD specific powersave bias

2013-03-28 Thread Jacob Shin
This patchset adds AMD specific powersave bias function to the ondemand governor; which can be used to help ondemand governor make more power conscious frequency change decisions based on feedback from hardware (availble on AMD Family 16h and above). Hardware feedback tells software how sensitive

Re: Fwd: [PATCH v2] drivers/crypto/nx: fix init race, alignmasks and GCM bug

2013-03-28 Thread Benjamin Herrenschmidt
On Thu, 2013-03-28 at 11:32 -0500, Kent Yoder wrote: Hi Ben, will you carry this patch in the linuxppc-dev tree? I can but I'm on vacation until end of April roughly. Cheers, Ben. Thanks, Kent -- Forwarded message -- From: Kent Yoder shpedoi...@gmail.com Date: Wed, Mar

[PATCH V2 1/2] cpufreq: ondemand: allow custom powersave_bias_target function to be registered

2013-03-28 Thread Jacob Shin
This allows for another [arch specific] driver to hook into existing powersave bias function of the ondemand governor. i.e. This allows AMD specific powersave bias function (in a separate AMD specific driver) to aid ondemand governor's frequency transition deicisions. Signed-off-by: Jacob Shin

[RFE PATCH] hrtimer, add expiry time overflow check in hrtimer_interrupt

2013-03-28 Thread Prarit Bhargava
The settimeofday01 test in the LTP testsuite effectively does gettimeofday(current time); settimeofday(Jan 1, 1970 + 100 seconds); settimeofday(current time); This test causes a stack trace to be displayed on the console during the setting of timeofday to Jan 1, 1970 +

[PATCH V2 2/2] cpufreq: AMD frequency sensitivity feedback powersave bias for ondemand governor

2013-03-28 Thread Jacob Shin
Future AMD processors, starting with Family 16h, can provide software with feedback on how the workload may respond to frequency change -- memory-bound workloads will not benefit from higher frequency, where as compute-bound workloads will. This patch enables this frequency sensitivity feedback to

Re: [PATCH] compat/compat-drivers/linux-next: fb skip_vt_switch

2013-03-28 Thread Luis R. Rodriguez
On Thu, Mar 28, 2013 at 11:10 AM, Julia Lawall julia.law...@lip6.fr wrote: On Thu, 28 Mar 2013, Luis R. Rodriguez wrote: Thanks Julia! I'll be sure to try to add this to compat-drivers if the upstream fb patch is not accepted. If it is accepted we would not need this at all! Then I guess

Re: intel_pstate_timer_func divide by zero oops

2013-03-28 Thread Parag Warudkar
On Thu, Mar 28, 2013 at 11:35 AM, Dirk Brandewie dirk.brande...@gmail.com wrote: pid_param_set() is on the stack which means that something is changing the debugfs parameters or the stack is FUBAR. I somehow doubt the stack is messed up as the call traces are always identical.

Re: [PATCH 1/6] net-next: replace obsolete NLMSG_* with type safe nlmsg_*

2013-03-28 Thread David Miller
From: Hong Zhiguo honk...@gmail.com Date: Thu, 28 Mar 2013 00:47:04 +0800 Signed-off-by: Hong Zhiguo honk...@gmail.com Applied with formatting fixes up in nlmsg_alloc() calls. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH 2/6] audit: replace obsolete NLMSG_* with type safe nlmsg_*

2013-03-28 Thread David Miller
From: Hong Zhiguo honk...@gmail.com Date: Thu, 28 Mar 2013 00:49:06 +0800 Signed-off-by: Hong Zhiguo honk...@gmail.com Applied. -- 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

Re: [PATCH 3/6] selinux: replace obsolete NLMSG_* with type safe nlmsg_*

2013-03-28 Thread David Miller
From: Hong Zhiguo honk...@gmail.com Date: Thu, 28 Mar 2013 00:49:35 +0800 Signed-off-by: Hong Zhiguo honk...@gmail.com Applied. -- 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

Re: [PATCH 4/6] gdm72xx: replace obsolete NLMSG_* with type safe nlmsg_*

2013-03-28 Thread David Miller
From: Hong Zhiguo honk...@gmail.com Date: Thu, 28 Mar 2013 00:52:17 +0800 Signed-off-by: Hong Zhiguo honk...@gmail.com Applied. -- 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

Re: [PATCH 5/6] scsi: replace obsolete NLMSG_* with type safe nlmsg_*

2013-03-28 Thread David Miller
From: Hong Zhiguo honk...@gmail.com Date: Thu, 28 Mar 2013 00:53:15 +0800 Signed-off-by: Hong Zhiguo honk...@gmail.com Applied with formatting fixed up. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH 6/6] connector: replace obsolete NLMSG_* with type safe nlmsg_*

2013-03-28 Thread David Miller
From: Hong Zhiguo honk...@gmail.com Date: Thu, 28 Mar 2013 00:54:56 +0800 Signed-off-by: Hong Zhiguo honk...@gmail.com Applied. -- 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

Re: [PATCH 1/2] hugetlbfs: stop setting VM_DONTDUMP in initializing vma(VM_HUGETLB)

2013-03-28 Thread Naoya Horiguchi
On Thu, Mar 28, 2013 at 09:03:16PM +0400, Konstantin Khlebnikov wrote: Naoya Horiguchi wrote: Currently we fail to include any data on hugepages into coredump, because VM_DONTDUMP is set on hugetlbfs's vma. This behavior was recently introduced by commit 314e51b98 mm: kill vma flag VM_RESERVED

Re: [PATCH v4 0/6] Generic PHY Framework

2013-03-28 Thread David Miller
You really need to CC: net...@vger.kernel.org rather than me explicitly on this patch set. Thanks. -- 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

Re: [PATCH] include/linux: printk is needed in filter.h when CONFIG_BPF_JIT is defined

2013-03-28 Thread David Miller
Please post networking patches to net...@vger.kernel.org, thanks. -- 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

Bug in ks8851.c

2013-03-28 Thread Max . Nekludov
According to the Datasheet (page 52): 15-12 Reserved 11-0 RXBC Receive Byte Count This field indicates the present received frame byte size. I suppose the code has a bug: rxh = ks8851_rdreg32(ks, KS_RXFHSR); rxstat = rxh 0x; rxlen = rxh 16;

Bug in ks8851.c

2013-03-28 Thread Max . Nekludov
- Forwarded by Max Nekludov/USE/Elster on 28.03.2013 22:29 - | | From: | | --| |Max Nekludov/USE/Elster

Re: [PATCH v3] [RFC] arm: use PSCI if available

2013-03-28 Thread Rob Herring
On 03/28/2013 10:39 AM, Nicolas Pitre wrote: On Thu, 28 Mar 2013, Rob Herring wrote: On 03/28/2013 09:51 AM, Nicolas Pitre wrote: On Thu, 28 Mar 2013, Stefano Stabellini wrote: - the interface to bring up secondary cpus is different and based on PSCI, in fact Xen is going to add a PSCI

Re: [PATCH 1/2] ARM: irq: Call irqchit_init if no init_irq function is specified

2013-03-28 Thread Rob Herring
On 03/28/2013 09:51 AM, Russell King - ARM Linux wrote: On Thu, Mar 28, 2013 at 09:48:18AM -0500, Rob Herring wrote: On 03/28/2013 04:41 AM, Maxime Ripard wrote: + if (machine_desc-init_irq) + machine_desc-init_irq(); + else + irqchip_init(); There needs to be an

[PATCH 1/2] xhci: Use ilog2() rather than __ffs() for calculating SEGMENT_SHIFT

2013-03-28 Thread David Howells
Use ilog2() rather than __ffs() for calculating SEGMENT_SHIFT as ilog2() can be worked out at compile time, whereas __ffs() must be calculated at runtime. Signed-off-by: David Howells dhowe...@redhat.com cc: Sarah Sharp sarah.a.sh...@linux.intel.com cc: Greg Kroah-Hartman

[PATCH 2/2] xhci: Rename SEGMENT_SIZE and SEGMENT_SHIFT as the former is used in a.out.h

2013-03-28 Thread David Howells
Rename SEGMENT_SIZE and SEGMENT_SHIFT as the former is used in a.out.h. Signed-off-by: David Howells dhowe...@redhat.com cc: Sarah Sharp sarah.a.sh...@linux.intel.com cc: Greg Kroah-Hartman gre...@linuxfoundation.org cc: linux-...@vger.kernel.org --- drivers/usb/host/xhci-mem.c | 16

Re: [PATCH v5 1/3] block: Add support for reinsert a dispatched req

2013-03-28 Thread Jens Axboe
On Wed, Mar 27 2013, tlin...@codeaurora.org wrote: Hi Jens Add support for reinserting a dispatched request back to the scheduler's internal data structures. This capability is used by the device driver when it chooses to interrupt the current request transmission and execute another

Re: dm-crypt performance

2013-03-28 Thread Tejun Heo
Hello, (cc'ing Vivek and Jens for the iosched related bits) On Tue, Mar 26, 2013 at 04:28:38PM -0400, Mike Snitzer wrote: On Tue, Mar 26 2013 at 4:05pm -0400, Milan Broz gmazyl...@gmail.com wrote: On Mon, Mar 25, 2013 at 11:47:22PM -0400, Mikulas Patocka wrote: For best performance

Re: [PATCH v2 01/13] rwsem: make the waiter type an enumeration rather than a bitmask

2013-03-28 Thread Rik van Riel
On 03/15/2013 06:54 AM, Michel Lespinasse wrote: We are not planning to add some new waiter flags, so we can convert the waiter type into an enumeration. Background: David Howells suggested I do this back when I tried adding a new waiter type for unfair readers. However, I believe the cleanup

Re: [PATCH 1/2] ARM: irq: Call irqchit_init if no init_irq function is specified

2013-03-28 Thread Russell King - ARM Linux
On Thu, Mar 28, 2013 at 01:40:09PM -0500, Rob Herring wrote: On 03/28/2013 09:51 AM, Russell King - ARM Linux wrote: On Thu, Mar 28, 2013 at 09:48:18AM -0500, Rob Herring wrote: On 03/28/2013 04:41 AM, Maxime Ripard wrote: + if (machine_desc-init_irq) + machine_desc-init_irq();

Re: [PATCH v2 02/13] rwsem: shorter spinlocked section in rwsem_down_failed_common()

2013-03-28 Thread Rik van Riel
On 03/15/2013 06:54 AM, Michel Lespinasse wrote: This change reduces the size of the spinlocked and TASK_UNINTERRUPTIBLE sections in rwsem_down_failed_common(): - We only need the sem-wait_lock to insert ourselves on the wait_list; the waiter node can be prepared outside of the wait_lock. -

Re: [PATCH v2 03/13] rwsem: move rwsem_down_failed_common code into rwsem_down_{read,write}_failed

2013-03-28 Thread Rik van Riel
On 03/15/2013 06:54 AM, Michel Lespinasse wrote: Remove the rwsem_down_failed_common function and replace it with two identical copies of its code in rwsem_down_{read,write}_failed. This is because we want to make different optimizations in rwsem_down_{read,write}_failed; we are adding this

Re: [PATCH v2 00/13] rwsem fast-path write lock stealing

2013-03-28 Thread Peter Hurley
On Fri, 2013-03-15 at 03:54 -0700, Michel Lespinasse wrote: These patches extend Alex Shi's work (which added write lock stealing on the rwsem slow path) in order to provide rwsem write lock stealing on the fast path (that is, without taking the rwsem's wait_lock). Since none of Alex's

Linux 3.0.71

2013-03-28 Thread Greg KH
I'm announcing the release of the 3.0.71 kernel. All users of the 3.0 kernel series must upgrade. The updated 3.0.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.0.y and can be browsed at the normal kernel.org git web browser:

Linux 3.4.38

2013-03-28 Thread Greg KH
I'm announcing the release of the 3.4.38 kernel. All users of the 3.4 kernel series must upgrade. The updated 3.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.4.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH v2 04/13] rwsem: simplify rwsem_down_read_failed

2013-03-28 Thread Rik van Riel
On 03/15/2013 06:54 AM, Michel Lespinasse wrote: When trying to acquire a read lock, the RWSEM_ACTIVE_READ_BIAS adjustment doesn't cause other readers to block, so we never have to worry about waking them back after canceling this adjustment in rwsem_down_read_failed(). We also never want to

Linux 3.8.5

2013-03-28 Thread Greg KH
I'm announcing the release of the 3.8.5 kernel. All users of the 3.8 kernel series must upgrade. The updated 3.8.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.8.y and can be browsed at the normal kernel.org git web browser:

Re: Bug in ks8851.c

2013-03-28 Thread Linus Torvalds
Max, please cc the actual maintainers of the driver. The patch looks sane, though. I assume you've tested it in practice? You also seem to have based this on an ancient version, the code has long since moved from drivers/net/ks8851.c to drivers/net/ethernet/micrel/ks8851.c (back in June of

Re: 3.9-rc1 regression in arm dtb build

2013-03-28 Thread Pavel Machek
On Thu 2013-03-28 08:49:20, Stephen Warren wrote: On 03/28/2013 03:29 AM, Pavel Machek wrote: ... There's change that makes it pretty much impossible to build dtbs reliably between different kernel versions, because it leaves old dtbs around, and they survive even make clean. One

Re: dm-crypt performance

2013-03-28 Thread Vivek Goyal
On Thu, Mar 28, 2013 at 11:53:27AM -0700, Tejun Heo wrote: Hello, (cc'ing Vivek and Jens for the iosched related bits) On Tue, Mar 26, 2013 at 04:28:38PM -0400, Mike Snitzer wrote: On Tue, Mar 26 2013 at 4:05pm -0400, Milan Broz gmazyl...@gmail.com wrote: On Mon, Mar 25, 2013 at

Re: [PATCH] epoll: fix sparse error on RCU assignment

2013-03-28 Thread Eric Wong
Oleg Nesterov o...@redhat.com wrote: On 03/14, Eric Wong wrote: Oleg Nesterov o...@redhat.com wrote: On 03/10, Eric Wong wrote: This fixes the following sparse error when using CONFIG_SPARSE_RCU_POINTER=y and make C=2 fs/eventpoll.o fs/eventpoll.c:514:17: error:

Re: [PATCH 1/2] hugetlbfs: stop setting VM_DONTDUMP in initializing vma(VM_HUGETLB)

2013-03-28 Thread Ben Hutchings
On Thu, Mar 28, 2013 at 12:04:29PM -0400, Naoya Horiguchi wrote: [...] I guess you mean this patch violates one/both of these rules: - It must fix a problem that causes a build error (but not for things marked CONFIG_BROKEN), an oops, a hang, data corruption, a real security issue, or

Re: dm-crypt performance

2013-03-28 Thread Tejun Heo
Hello, On Thu, Mar 28, 2013 at 03:33:43PM -0400, Vivek Goyal wrote: I am curious why out of order bio is a problem. Doesn't the elevator already merge bio's with existing requests and if merging does not happen then requests are sorted in order. So why ordering is not happening properly with

[PATCH -mm] epoll: cleanup: use RCU_INIT_POINTER when nulling

2013-03-28 Thread Eric Wong
It is always safe to use RCU_INIT_POINTER to NULL a pointer. This results in slightly smaller/faster code. Signed-off-by: Eric Wong normalper...@yhbt.net Cc: Andrew Morton a...@linux-foundation.org --- Andrew: Sorry for the noise and requiring these cleanups. Would you want a squashed commit

Re: [PATCH 1/2] hugetlbfs: stop setting VM_DONTDUMP in initializing vma(VM_HUGETLB)

2013-03-28 Thread Naoya Horiguchi
On Thu, Mar 28, 2013 at 07:39:01PM +, Ben Hutchings wrote: On Thu, Mar 28, 2013 at 12:04:29PM -0400, Naoya Horiguchi wrote: [...] I guess you mean this patch violates one/both of these rules: - It must fix a problem that causes a build error (but not for things marked

Re: 3.9-rc1 regression in arm dtb build

2013-03-28 Thread Olof Johansson
On Thu, Mar 28, 2013 at 08:33:23PM +0100, Pavel Machek wrote: On Thu 2013-03-28 08:49:20, Stephen Warren wrote: On 03/28/2013 03:29 AM, Pavel Machek wrote: ... There's change that makes it pretty much impossible to build dtbs reliably between different kernel versions, because it leaves

[PATCH 0/5 v11] iommu/fsl: Freescale PAMU driver and IOMMU API implementation.

2013-03-28 Thread Varun Sethi
This patchset provides the Freescale PAMU (Peripheral Access Management Unit) driver and the corresponding IOMMU API implementation. PAMU is the IOMMU present on Freescale QorIQ platforms. PAMU can authorize memory access, remap the memory address, and remap the I/O transaction type. This set

[PATCH 2/5 v11] powerpc: Add iommu domain pointer to device archdata

2013-03-28 Thread Varun Sethi
Add an iommu domain pointer to device (powerpc) archdata. Devices are attached to iommu domains and this pointer provides a mechanism to correlate between a device and the associated iommu domain. This field is set when a device is attached to a domain. Signed-off-by: Varun Sethi

[PATCH 3/5 v11] iommu/fsl: Add the window permission flag as a parameter to iommu_window_enable API.

2013-03-28 Thread Varun Sethi
Each iommu window can have access permissions associated with it. Extended the window_enable API to incorporate window access permissions. In case of PAMU each window can have its specific set of permissions. Signed-off-by: Varun Sethi varun.se...@freescale.com --- - no change in v11. - no

[PATCH 4/5 v11] iommu/fsl: Add additional iommu attributes required by the PAMU driver.

2013-03-28 Thread Varun Sethi
Added the following domain attributes for the FSL PAMU driver: 1. Added new iommu stash attribute, which allows setting of the LIODN specific stash id parameter through IOMMU API. 2. Added an attribute for enabling/disabling DMA to a particular memory window. 3. Added domain attribute to

[PATCH 1/5 v11] iommu/fsl: Make iova dma_addr_t in the iommu_iova_to_phys API.

2013-03-28 Thread Varun Sethi
This is required in case of PAMU, as it can support a window size of up to 64G (even on 32bit). Signed-off-by: Varun Sethi varun.se...@freescale.com --- changes in v11: - Made iova dma_addr_t instead of u64. - no change in v10. drivers/iommu/amd_iommu.c |2 +-

Re: [PATCHv3 03/10] ARM: smp_twd: Divorce smp_twd from local timer API

2013-03-28 Thread Stephen Boyd
On 03/28/13 08:22, Mark Rutland wrote: This works on my A9x4 coretile, bringing CPUs up and down via /sys/devices/system/cpu/*/online, so: Tested-by: Mark Rutland mark.rutl...@arm.com Thanks. I still need to resolve patch #1 though. Otherwise, is there any reason we couldn't now use the

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