[PATCH] usb: gadget: s3c2410: fix clk resource leak and update

2013-05-10 Thread Libo Chen
From: Libo Chen currently, when clk_get(NULL,"usb-device") fail, it does not disable && put usb_bus_clock. It is incorrect. this patch use new interface devm_xxx instead of xxx then we no need to care about cleanup resource in err case that is boring and reduce code size. Signed-off-by: Libo Ch

Re: [RFC PATCHv2 2/2] PM: compile-time configuration of device suspend/resume watchdogs.

2013-05-10 Thread Colin Cross
On Fri, May 10, 2013 at 2:28 PM, Zoran Markovic wrote: > Power management debug option to configure device suspend/resume watchdogs. > Available options are: > 1. Enable/disable the feature. > 2. Select triggered watchdog action between: > - system panic (default) > - dump stac

Re: [RFC PATCHv2 1/2] drivers: power: Add watchdog timer to catch drivers which lockup during suspend/resume.

2013-05-10 Thread Colin Cross
On Fri, May 10, 2013 at 2:28 PM, Zoran Markovic wrote: > From: Benoit Goby > > Below is a patch from android kernel that detects a driver suspend/resume > lockup and captures dump in the kernel log. Please review and provide > comments. This paragraph should go below the --- line so it doesn't e

Re: Tux3 Report: Faster than tmpfs, what?

2013-05-10 Thread Daniel Phillips
Hi Dave, Thanks for the catch - I should indeed have noted that "modified dbench" was used for this benchmark, thus amplifying Tux3's advantage in delete performance. This literary oversight does not make the results any less interesting: we beat Tmpfs on that particular load. Beating tmpfs at any

Re: [ 00/73] 3.8.13-stable review

2013-05-10 Thread Satoru Takeuchi
At Thu, 9 May 2013 15:31:23 -0700, Greg Kroah-Hartman wrote: > > > NOTE: This is the LAST 3.8.y kernel release to be done by me. After > this one, it is end-of-life. You should have moved on to the 3.9.y > kernel series by now. > > > This is the start

RE: x86_mce: mce_start uses number of phsical cores instead of logical cores

2013-05-10 Thread Ming Lei
I read the section you pointed out: 15.10.4.1 Machine-Check Exception Handler for Error Recovery When writing a machine-check exception (MCE) handler to support software recovery from Uncorrected Recover- able (UCR) errors, consider the following: For processors on which CPUID reports DisplayFami

RE: [tip:x86/urgent] x86-64, init: Do not set NX bits on non-NX capable hardware

2013-05-10 Thread Yuhong Bao
(resending as plaintext) > During early init, we would incorrectly set the NX bit even if the NX > feature was not supported. Instead, only set this bit if NX is > actually available and enabled. We already do very early detection of > the NX bit to enable it in EFER, this simply extends this det

Re: [RFC 33/42] drivers/video/omap2: don't check resource with devm_ioremap_resource

2013-05-10 Thread Jingoo Han
On Friday, May 10, 2013 5:17 PM, Wolfram Sang wrote: > > devm_ioremap_resource does sanity checks on the given resource. No need to > duplicate this in the driver. > > Signed-off-by: Wolfram Sang Reviewed-by: Jingoo Han Best regards, Jingoo Han > --- > drivers/video/omap2/vrfb.c |5

Re: [RFC 34/42] drivers/video/omap2/dss: don't check resource with devm_ioremap_resource

2013-05-10 Thread Jingoo Han
On Friday, May 10, 2013 5:17 PM, Wolfram Sang wrote: > > devm_ioremap_resource does sanity checks on the given resource. No need to > duplicate this in the driver. > > Signed-off-by: Wolfram Sang It looks good. Reviewed-by: Jingoo Han Best regards, Jingoo Han > --- > drivers/video/omap2/dss

Re: [RFC 32/42] drivers/video: don't check resource with devm_ioremap_resource

2013-05-10 Thread Jingoo Han
On Friday, May 10, 2013 5:17 PM, Wolfram Sang wrote: > > devm_ioremap_resource does sanity checks on the given resource. No need to > duplicate this in the driver. > > Signed-off-by: Wolfram Sang CC'ed Tomi Valkeinen, Shawn Guo, Fabio Estevam It looks good. Reviewed-by: Jingoo Han Best rega

Re: [ 00/73] 3.9.2-stable review

2013-05-10 Thread Satoru Takeuchi
At Thu, 9 May 2013 15:24:50 -0700, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.9.2 release. > There are 73 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. >

Re: [RFC 23/42] drivers/spi: don't check resource with devm_ioremap_resource

2013-05-10 Thread Jingoo Han
On Friday, May 10, 2013 5:17 PM, Wolfram Sang wrote: > > devm_ioremap_resource does sanity checks on the given resource. No need to > duplicate this in the driver. > > Signed-off-by: Wolfram Sang > --- > drivers/spi/spi-bcm63xx.c|8 +--- > drivers/spi/spi-ep93xx.c |8

Re: [ 00/26] 3.4.45-stable review

2013-05-10 Thread Satoru Takeuchi
At Thu, 9 May 2013 15:34:14 -0700, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.4.45 release. > There are 26 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. >

Re: [RFC 09/42] drivers/i2c/busses: don't check resource with devm_ioremap_resource

2013-05-10 Thread Jingoo Han
On Friday, May 10, 2013 5:17 PM, Wolfram Sang wrote: > > devm_ioremap_resource does sanity checks on the given resource. No need to > duplicate this in the driver. > > Signed-off-by: Wolfram Sang > --- > drivers/i2c/busses/i2c-davinci.c|6 +- > drivers/i2c/busses/i2c-designw

Re: [ 00/12] 3.0.78-stable review

2013-05-10 Thread Satoru Takeuchi
At Thu, 9 May 2013 15:37:13 -0700, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.0.78 release. > There are 12 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. >

Re: [RFC 39/42] arch/arm/plat-samsung: don't check resource with devm_ioremap_resource

2013-05-10 Thread Jingoo Han
On Friday, May 10, 2013 5:17 PM, Wolfram Sang wrote: > > devm_ioremap_resource does sanity checks on the given resource. No need to > duplicate this in the driver. > > Signed-off-by: Wolfram Sang Reviewed-by: Jingoo Han Best regards, Jingoo Han > --- > arch/arm/plat-samsung/adc.c |5 ---

Re: [PATCH] ARM: exynos: dts: Fixed vbus-gpios

2013-05-10 Thread Jingoo Han
On Thursday, May 09, 2013 2:37 AM, Doug Anderson wrote: > > The 'samsung,vbus-gpio' was submitted before pinmux landed for > exynos5250 and uses the old-style gpio specifier. Fix the two > exynos5250 boards that use it. > > Signed-off-by: Doug Anderson Acked-by: Jingoo Han Best regards, Jing

Re: [PATCH] ARM: mmc: bcm281xx SDHCI driver

2013-05-10 Thread Stephen Warren
On 05/08/2013 11:55 PM, Christian Daudt wrote: > Add SDHCI driver for the Broadcom 281xx SoCs. Also > add bindings for it into bcm281xx dts files. > Still missing: > - power managemement > diff --git a/drivers/mmc/host/sdhci-bcm-kona.c > b/drivers/mmc/host/sdhci-bcm-kona.c > + /* > + *

Re: [PATCH -v8 01/11] CPU hotplug: Provide a generic helper to disable/enable CPU hotplug

2013-05-10 Thread Robin Holt
On Fri, May 10, 2013 at 10:03:24AM -0700, Andrew Morton wrote: > On Fri, 10 May 2013 13:11:51 +0200 "Rafael J. Wysocki" wrote: > > > ... > > > > > cpu_hotplug_disable() doesn't get compiled unless we've defined > > > CONFIG_PM_SLEEP_SMP. I cannot begin to imagine what the logic is > > > behind t

Re: [PATCH] radeon: Allow disabling UVD

2013-05-10 Thread Parag Warudkar
On Wed, 8 May 2013, Parag Warudkar wrote: > > > On Wed, 8 May 2013, Christian König wrote: > > > If you want to hack a bit on it you could try commenting out the calls to > > "radeon_set_uvd_clocks" in radeon_uvd.c. That should give you the default > > clocks of 100Mhz, not enough for usable

Re: [PATCH 1/7] posix-cpu-timers: don't account cpu timer after stopped thread runtime accounting

2013-05-10 Thread KOSAKI Motohiro
On Fri, May 10, 2013 at 8:17 PM, Frederic Weisbecker wrote: > On Mon, May 06, 2013 at 11:16:40PM -0400, Olivier Langlois wrote: >> On Tue, 2013-05-07 at 01:47 +0200, Frederic Weisbecker wrote: >> > On Fri, May 03, 2013 at 12:47:42AM -0400, kosaki.motoh...@gmail.com wrote: >> > > From: KOSAKI Motoh

Re: [PATCH 2/7] posix-cpu-timers: fix acounting delta_exec twice

2013-05-10 Thread KOSAKI Motohiro
>> @@ -250,8 +250,13 @@ void thread_group_cputimer(struct task_struct *tsk, >> struct task_cputime *times) >>* values through the TIMER_ABSTIME flag, therefore we have >>* to synchronize the timer to the clock every time we start >>* it. >> +

[PATCH] module: Add section ".ref.data" into kmemleak-scan-area.

2013-05-10 Thread majianpeng
In commit 523c81135,it used "__refdata" on event_class_ftrace_##call. It will cause kmemleak to misjudge because when loading module it did not add '.ref.data' into kmemleak-scan-area. Signed-off-by: Jianpeng Ma --- kernel/module.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH -v10 00/11] Shutdown from reboot_cpuid without stopping other cpus.

2013-05-10 Thread Robin Holt
We recently noticed that reboot of a 1024 cpu machine takes approx 16 minutes of just stopping the cpus. The slowdown was tracked to commit f96972f. The current implementation does all the work of hot removing the cpus before halting the system. We are switching to just migrating to the reboot_c

Re: [PATCH 1/3] x86/sched/context_tracking: Call new schedule_preempt_user() from entry_64.S

2013-05-10 Thread Frederic Weisbecker
On Fri, May 10, 2013 at 05:12:26PM -0400, Steven Rostedt wrote: > +/* > + * This is a entry point to the scheduler() just before going > + * back to user space. This is called with irqs disabled > + * which prevents races with the CONTEXT_TRACKING updates. > + */ > +asmlinkage void __sched schedule

[GIT PULL] NTB bug fixes for v3.10

2013-05-10 Thread Jon Mason
Hi Linus, Below are a number of NTB bug fixes for v3.10. These correct a few Smatch/Coverity errors, as well as addressing some other issues in the NTB driver. Thanks, Jon The following changes since commit c1be5a5b1b355d40e6cf79cc979eb66dafa24ad1: Linux 3.9 (2013-04-28 17:36:01 -0700) are a

Re: [PATCH] x86/sched/dynamic-ticks: Call new schedule_irq_disable() for scheduling in entry_64.S

2013-05-10 Thread Frederic Weisbecker
On Thu, May 09, 2013 at 08:47:09PM -0400, Steven Rostedt wrote: > On Fri, 2013-05-10 at 02:22 +0200, Frederic Weisbecker wrote: > > > > > @@ -654,6 +653,7 @@ sysret_check: > > > LOCKDEP_SYS_EXIT > > > DISABLE_INTERRUPTS(CLBR_NONE) > > > TRACE_IRQS_OFF > > > +sysret_check_irqsoff: > > > mo

Re: [PATCH v3] mm: remove compressed copy from zram in-memory

2013-05-10 Thread Konrad Rzeszutek Wilk
On Fri, May 10, 2013 at 4:44 AM, Minchan Kim wrote: > Hi Konrad, > > On Thu, May 09, 2013 at 04:15:42PM -0400, Konrad Rzeszutek Wilk wrote: >> On Thu, May 09, 2013 at 08:41:57AM +0900, Minchan Kim wrote: >> >> Hey Michan, > ^-n > > It's a only thing I can know better than other native spea

[PATCH 03/10] clk: mvebu: add Dove SoC-centric clock init

2013-05-10 Thread Sebastian Hesselbarth
This is moving core clock and clock gating init for Dove to its own file and adds a Kconfig option. Also init functions are added and declared so they get called on of_clk_init. Signed-off-by: Sebastian Hesselbarth --- Cc: Jason Cooper Cc: Andrew Lunn Cc: Russell King Cc: Gregory Clement Cc:

[PATCH 04/10] clk: mvebu: add Kirkwood SoC-centric clock init

2013-05-10 Thread Sebastian Hesselbarth
This is moving core clock and clock gating init for Kirkwood to its own file and adds a Kconfig option. Also init functions are added and declared so they get called on of_clk_init. Signed-off-by: Sebastian Hesselbarth --- Cc: Jason Cooper Cc: Andrew Lunn Cc: Russell King Cc: Gregory Clement

[PATCH 01/10] clk: mvebu: introduce per-clock-gate flags

2013-05-10 Thread Sebastian Hesselbarth
Clock gates found on MVEBU SoCs get registered by a common function. To allow specific SoCs to provide tweaks introduce flags to the clock gate descriptor instead of filling up the common function SoC specific tweaks. Signed-off-by: Sebastian Hesselbarth --- Cc: Jason Cooper Cc: Andrew Lunn Cc:

[PATCH 06/10] clk: mvebu: add Armada XP SoC-centric clock init

2013-05-10 Thread Sebastian Hesselbarth
This is moving core clock and clock gating init for Armada XP to its own file and adds a Kconfig option. Also init functions are added and declared so they get called on of_clk_init. Signed-off-by: Sebastian Hesselbarth --- Cc: Jason Cooper Cc: Andrew Lunn Cc: Russell King Cc: Gregory Clement

[PATCH 10/10] clk: mvebu: desintegrate obsolete file

2013-05-10 Thread Sebastian Hesselbarth
Switch from function-centric to soc-centric clock drivers now makes a bunch of files obsolete. This deletes all files and Kconfig options that are not required anymore. Signed-off-by: Sebastian Hesselbarth --- Cc: Jason Cooper Cc: Andrew Lunn Cc: Russell King Cc: Gregory Clement Cc: Thomas Pe

[PATCH 07/10] ARM: dove: move DT boards to SoC-centric clock init

2013-05-10 Thread Sebastian Hesselbarth
SoC centric clock init for Dove can be used by calling of_clk_init. Use it and get rid of mvebu_clocks_init. Signed-off-by: Sebastian Hesselbarth --- Cc: Jason Cooper Cc: Andrew Lunn Cc: Russell King Cc: Gregory Clement Cc: Thomas Petazzoni Cc: Mike Turquette Cc: linux-arm-ker...@lists.infr

[PATCH 09/10] ARM: mvebu: move DT boards to SoC-centric clock init

2013-05-10 Thread Sebastian Hesselbarth
SoC centric clock init for Armada 370/XP can be used by calling of_clk_init. Use it and get rid of mvebu_clocks_init. Signed-off-by: Sebastian Hesselbarth --- Cc: Jason Cooper Cc: Andrew Lunn Cc: Russell King Cc: Gregory Clement Cc: Thomas Petazzoni Cc: Mike Turquette Cc: linux-arm-ker...@l

[PATCH 08/10] ARM: kirkwood: move DT boards to SoC-centric clock init

2013-05-10 Thread Sebastian Hesselbarth
SoC centric clock init for Kirkwood can be used by calling of_clk_init. Use it and get rid of mvebu_clocks_init. Signed-off-by: Sebastian Hesselbarth --- Cc: Jason Cooper Cc: Andrew Lunn Cc: Russell King Cc: Gregory Clement Cc: Thomas Petazzoni Cc: Mike Turquette Cc: linux-arm-ker...@lists.

[PATCH 05/10] clk: mvebu: add Armada 370 SoC-centric clock init

2013-05-10 Thread Sebastian Hesselbarth
This is moving core clock and clock gating init for Armada 370 to its own file and adds a Kconfig option. Also init functions are added and declared so they get called on of_clk_init. Signed-off-by: Sebastian Hesselbarth --- Cc: Jason Cooper Cc: Andrew Lunn Cc: Russell King Cc: Gregory Clement

[PATCH 00/10] clk: mvebu: restructure SoC clock drivers

2013-05-10 Thread Sebastian Hesselbarth
Marvell EBU SoCs share some common clock functions that register core clocks or clock gates from SoC specific data. These clock drivers are organized by function and over time the drivers filled up with #ifdefs to separate different SoC specific code. This patch set first adds a new element to clo

[PATCH 02/10] clk: mvebu: add common clock functions for core clk and clk gating

2013-05-10 Thread Sebastian Hesselbarth
Based on the current common functions for core clocks and clock gating control, new common functions are joined in a single file. Given the opportunity, names of functions and structs are unified, and also a Kconfig entry is added. Signed-off-by: Sebastian Hesselbarth --- Cc: Jason Cooper Cc: An

Re: [PATCH 2/7] posix-cpu-timers: fix acounting delta_exec twice

2013-05-10 Thread Frederic Weisbecker
On Fri, May 03, 2013 at 12:47:43AM -0400, kosaki.motoh...@gmail.com wrote: > From: KOSAKI Motohiro > > Currently glibc rt/tst-cpuclock2 test(*) sporadically fails because > scheduler delta can be accounted twice from thread_group_cputimer() > and account_group_exec_runtime(). > > Finally, clock_

[PATCH] rtc: add in ability to push out an existing wakealarm using sysfs

2013-05-10 Thread Bernie Thompson
This adds in the ability for the rtc sysfs code to handle += characters at the beginning of a wakealarm setting string. This will allow the user to attempt to push out an existing wakealarm by a provided amount. In the case that the += characters are provided but the alarm is not active -EVINVAL i

Re: [PATCH v3 1/3] posix_timers: do not account group_exec_runtime for dying autoreaped tasks

2013-05-10 Thread Frederic Weisbecker
On Mon, May 06, 2013 at 11:35:50PM -0400, Olivier Langlois wrote: > Frederic, > > On Tue, 2013-05-07 at 01:18 +0200, Frederic Weisbecker wrote: > > On Mon, Apr 29, 2013 at 02:04:09PM -0400, Olivier Langlois wrote: > > > > > > > > > Forbids the cputimer to drift ahead of its process clock by > >

Re: high-speed disk I/O is CPU-bound?

2013-05-10 Thread Eric Wong
Cc-ing Jens David Oostdyk wrote: > Hello, > > I have a few relatively high-end systems with hardware RAIDs which > are being used for recording systems, and I'm trying to get a better > understanding of contiguous write performance. > > The hardware that I've tested with includes two high-end I

Re: [PATCH 1/7] posix-cpu-timers: don't account cpu timer after stopped thread runtime accounting

2013-05-10 Thread Frederic Weisbecker
On Mon, May 06, 2013 at 11:16:40PM -0400, Olivier Langlois wrote: > On Tue, 2013-05-07 at 01:47 +0200, Frederic Weisbecker wrote: > > On Fri, May 03, 2013 at 12:47:42AM -0400, kosaki.motoh...@gmail.com wrote: > > > From: KOSAKI Motohiro > > > > > > When tsk->signal->cputimer->running is 1, signal

[PATCH 01/18] ring-buffer: Select IRQ_WORK

2013-05-10 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" As the wake up logic for waiters on the buffer has been moved from the tracing code to the ring buffer, it requires also adding IRQ_WORK as the wake up code is performed via irq_work. This fixes compile breakage when a user of the ring buffer is selected but trac

[PATCH 00/18] tracing/kprobes: Update kprobes with new ftrace changes

2013-05-10 Thread Steven Rostedt
Linus, The majority of these changes are from Masami Hiramatsu bringing kprobes up to par with the latest changes to ftrace (multi buffering and the new function probes). He also discovered and fixed some bugs in doing so. When pulling in his patches, I also found a few minor bugs as well and fi

[PATCH 06/18] ftrace: Cleanup regex_lock and ftrace_lock around hash updating

2013-05-10 Thread Steven Rostedt
From: Masami Hiramatsu Cleanup regex_lock and ftrace_lock locking points around ftrace_ops hash update code. The new rule is that regex_lock protects ops->*_hash read-update-write code for each ftrace_ops. Usually, hash update is done by following sequence. 1. allocate a new local hash and copy

[PATCH 18/18] tracing/kprobes: Support soft-mode disabling

2013-05-10 Thread Steven Rostedt
From: Masami Hiramatsu Support soft-mode disabling on kprobe-based dynamic events. Soft-disabling is just ignoring recording if the soft disabled flag is set. Link: http://lkml.kernel.org/r/20130509054454.30398.7237.stgit@mhiramat-M0-7522 Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Tom Zanuss

[PATCH 13/18] ftrace: Fix function probe when more than one probe is added

2013-05-10 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" When the first function probe is added and the function tracer is updated the functions are modified to call the probe. But when a second function is added, it updates the function records to have the second function also update, but it fails to update the actual

[PATCH 15/18] tracing/kprobes: Increment probe hit-count even if it is used by perf

2013-05-10 Thread Steven Rostedt
From: Masami Hiramatsu Increment probe hit-count for profiling even if it is used by perf tool. Same thing has already done in trace_uprobe. Link: http://lkml.kernel.org/r/20130509054436.30398.21133.stgit@mhiramat-M0-7522 Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Tom Zanussi Cc: Oleg Neste

[PATCH 17/18] tracing/kprobes: Support ftrace_event_file base multibuffer

2013-05-10 Thread Steven Rostedt
From: Masami Hiramatsu Support multi-buffer on kprobe-based dynamic events by using ftrace_event_file. Link: http://lkml.kernel.org/r/20130509054449.30398.88343.stgit@mhiramat-M0-7522 Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Tom Zanussi Cc: Oleg Nesterov Cc: Srikar Dronamraju Signed-off

[PATCH 14/18] tracing/kprobes: Use bool for retprobe checker

2013-05-10 Thread Steven Rostedt
From: Masami Hiramatsu Use bool instead of int for kretprobe checker. Link: http://lkml.kernel.org/r/20130509054431.30398.38561.stgit@mhiramat-M0-7522 Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Tom Zanussi Signed-off-by: Masami Hiramatsu Signed-off

[PATCH 05/18] ftrace, kprobes: Fix a deadlock on ftrace_regex_lock

2013-05-10 Thread Steven Rostedt
From: Masami Hiramatsu Fix a deadlock on ftrace_regex_lock which happens when setting an enable_event trigger on dynamic kprobe event as below. sh-2.05b# echo p vfs_symlink > kprobe_events sh-2.05b# echo vfs_symlink:enable_event:kprobes:p_vfs_symlink_0 > set_ftrace_filter

[PATCH 11/18] ftrace: Fix locking in register_ftrace_function_probe()

2013-05-10 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" The iteration of the ftrace function list and the call to ftrace_match_record() need to be protected by the ftrace_lock. Signed-off-by: Steven Rostedt --- kernel/trace/ftrace.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ker

[PATCH 12/18] ftrace: Fix the output of enabled_functions debug file

2013-05-10 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" The enabled_functions debugfs file was created to be able to see what functions have been modified from nops to calling a tracer. The current method uses the counter in the function record. As when a ftrace_ops is registered to a function, its count increases. Bu

Re: [PATCH v2] jbd2: Fix block tag checksum verification brokenness

2013-05-10 Thread Al Viro
On Fri, May 10, 2013 at 04:38:07PM -0700, Darrick J. Wong wrote: > Al Viro complained of a ton of bogosity with regards to the jbd2 block tag > header checksum. This one checksum is 16 bits, so cut off the upper 16 bits > and treat it as a 16-bit value and don't mess around with be32* conversions.

[PATCH 07/18] tracing/kprobes: Fix to increment return event probe hit-count

2013-05-10 Thread Steven Rostedt
From: Masami Hiramatsu Fix to increment probe hit-count for function return event. Link: http://lkml.kernel.org/r/20130509054424.30398.34058.stgit@mhiramat-M0-7522 Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Tom Zanussi Cc: Oleg Nesterov Cc: Srikar Dronamraju Signed-off-by: Masami Hiramats

[PATCH 04/18] ftrace: Have ftrace_regex_write() return either read or error

2013-05-10 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" As ftrace_regex_write() reads the result of ftrace_process_regex() which can sometimes return a positive number, only consider a failure if the return is negative. Otherwise, it will skip possible other registered probes and by returning a positive number that was

[PATCH 02/18] tracing: Dont succeed if event_enable_func did not register anything

2013-05-10 Thread Steven Rostedt
From: Masami Hiramatsu Return 0 instead of the number of activated ftrace function probes if event_enable_func succeeded and return an error code if it failed or did not register any functions. But it currently returns the number of registered functions and if it didn't register anything, it retu

[PATCH 08/18] tracing: Indicate enabled soft-mode in enable file

2013-05-10 Thread Steven Rostedt
From: Masami Hiramatsu Indicate enabled soft-mode event as "1*" in "enable" file for each event, because it can be soft-disabled when disable_event trigger is hit. Link: http://lkml.kernel.org/r/20130509054426.30398.28202.stgit@mhiramat-M0-7522 Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc: Fred

[PATCH 10/18] tracing: Add helper function trace_create_new_event() to remove duplicate code

2013-05-10 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Both __trace_add_new_event() and __trace_early_add_new_event() do basically the same thing, except that __trace_add_new_event() does a little more. Instead of having duplicate code between the two functions, add a helper function trace_create_new_event() that bot

[PATCH 16/18] tracing/kprobes: Pass trace_probe directly from dispatcher

2013-05-10 Thread Steven Rostedt
From: Masami Hiramatsu Pass the pointer of struct trace_probe directly from probe dispatcher to handlers. This removes redundant container_of macro uses. Same thing has already done in trace_uprobe. Link: http://lkml.kernel.org/r/20130509054441.30398.69112.stgit@mhiramat-M0-7522 Cc: Frederic We

[PATCH 09/18] tracing: Modify soft-mode only if theres no other referrer

2013-05-10 Thread Steven Rostedt
From: Masami Hiramatsu Modify soft-mode flag only if no other soft-mode referrer (currently only the ftrace triggers) by using a reference counter in each ftrace_event_file. Without this fix, adding and removing several different enable/disable_event triggers on the same event clear soft-mode bi

[PATCH 03/18] tracing: Return error if register_ftrace_function_probe() fails for event_enable_func()

2013-05-10 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" register_ftrace_function_probe() returns the number of functions it registered, which can be zero, it can also return a negative number if something went wrong. But event_enable_func() only checks for the case that it didn't register anything, it needs to also che

RE: [PATCH 4/4] driver: provide sysfs interfaces to access SMX parameter

2013-05-10 Thread Ren, Qiaowei
On 2013-05-10, Matthew Garrett wrote: > On Fri, 2013-05-10 at 07:05 +, Ren, Qiaowei wrote: >> On 2013-05-08, Matthew Garrett wrote: >>> On Tue, 2013-05-07 at 22:55 +0800, Qiaowei Ren wrote: >>> +What: /sys/devices/platform/intel_txt/parameter/acm_max_size +Date:

[PATCH] jbd2: Always set journal superblock checksum when writing out superblock

2013-05-10 Thread Darrick J. Wong
Add a few missing calls to jbd2_superblock_csum_set just prior to calling jbd2_write_superblock. This fixes complaints about corrupt journals if metadata checksumming and journal checksumming are both enabled. Signed-off-by: Darrick J. Wong --- fs/jbd2/journal.c |2 ++ 1 file changed, 2 ins

[PATCH v2] jbd2: Fix block tag checksum verification brokenness

2013-05-10 Thread Darrick J. Wong
Al Viro complained of a ton of bogosity with regards to the jbd2 block tag header checksum. This one checksum is 16 bits, so cut off the upper 16 bits and treat it as a 16-bit value and don't mess around with be32* conversions. Fortunately metadata checksumming is still "experimental" and not in a

Re: [PATCH RFC] clk: Introduce userspace clock driver

2013-05-10 Thread Sören Brinkmann
On Fri, May 10, 2013 at 04:25:45PM -0700, Saravana Kannan wrote: > On 05/10/2013 04:06 PM, Sören Brinkmann wrote: > >On Fri, May 10, 2013 at 04:01:25PM -0700, Saravana Kannan wrote: > >>On 05/10/2013 03:18 PM, Mike Turquette wrote: > > >>>I think that Soren wants something with a stable interface

Re: [RFC 1/8] serial:st-asc: Add ST ASC driver.

2013-05-10 Thread Russell King - ARM Linux
On Wed, May 08, 2013 at 09:36:13AM -0700, Greg KH wrote: > On Wed, May 08, 2013 at 06:31:48PM +0200, Arnd Bergmann wrote: > > On Wednesday 08 May 2013, Greg KH wrote: > > > > just mention there is not hardware reason to not use the generic ttySx > > > > in place of ttyAS as we have only one IP that

Re: [PATCH RFC] clk: Introduce userspace clock driver

2013-05-10 Thread Saravana Kannan
On 05/10/2013 04:06 PM, Sören Brinkmann wrote: On Fri, May 10, 2013 at 04:01:25PM -0700, Saravana Kannan wrote: On 05/10/2013 03:18 PM, Mike Turquette wrote: I think that Soren wants something with a stable interface that he can use for his Zynq use case. Regarding that, why not write an act

Re: [PATCH RFC] clk: Introduce userspace clock driver

2013-05-10 Thread Sören Brinkmann
On Fri, May 10, 2013 at 03:18:10PM -0700, Mike Turquette wrote: > On Fri, May 10, 2013 at 11:49 AM, Emilio López wrote: > > Hi, > > > > El 10/05/13 15:15, Sören Brinkmann escribió: > >> Hi Emilio, > >> > >> On Fri, May 10, 2013 at 02:44:44PM -0300, Emilio López wrote: > >>> Hi, > >>> > >>> El 10/0

Re: [PATCH RFC] clk: Introduce userspace clock driver

2013-05-10 Thread Sören Brinkmann
On Fri, May 10, 2013 at 04:01:25PM -0700, Saravana Kannan wrote: > On 05/10/2013 03:18 PM, Mike Turquette wrote: > >On Fri, May 10, 2013 at 11:49 AM, Emilio López wrote: > >>Hi, > >> > >>El 10/05/13 15:15, Sören Brinkmann escribió: > >>>Hi Emilio, > >>> > >>>On Fri, May 10, 2013 at 02:44:44PM -030

Re: [PATCH v2 1/2] clk: Disable unused clocks after deferred probing is done

2013-05-10 Thread Saravana Kannan
On 05/09/2013 11:45 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: On 11:35 Thu 09 May , Saravana Kannan wrote: With deferred probing, late_initcall() is too soon to declare a clock as unused. Wait for deferred probing to finish before declaring a clock as unused. Since deferred probing is done

Re: [PATCH RFC] clk: Introduce userspace clock driver

2013-05-10 Thread Saravana Kannan
On 05/10/2013 03:18 PM, Mike Turquette wrote: On Fri, May 10, 2013 at 11:49 AM, Emilio López wrote: Hi, El 10/05/13 15:15, Sören Brinkmann escribió: Hi Emilio, On Fri, May 10, 2013 at 02:44:44PM -0300, Emilio López wrote: Hi, El 10/05/13 14:31, Soren Brinkmann escribió: The userspace cloc

[GIT PULL] Final round of SCSI updates for the 3.9+ merge window

2013-05-10 Thread James Bottomley
This is the final round of SCSI patches for the merge window. It consists mostly of driver updates (bnx2fc, ibmfc, fnic, lpfc, be2iscsi, pm80xx, qla4x and ipr). There's also the power management updates that complete the patches in Jens' tree, an iscsi refcounting problem fix from the last pull,

Re: is L1 really disabled in iwlwifi

2013-05-10 Thread Bjorn Helgaas
[+cc Rafael, other pci_disable_link_state() users] On Wed, May 01, 2013 at 11:13:15AM -0600, Bjorn Helgaas wrote: > On Wed, May 1, 2013 at 2:31 AM, Emmanuel Grumbach wrote: > > [from Bjorn's mail] > >> In Emmanuel's case, we don't get _OSC control, so > >> pci_disable_link_state() does nothing. >

RE: x86_mce: mce_start uses number of phsical cores instead of logical cores

2013-05-10 Thread Luck, Tony
> So only one socket gets the machine check. So is there still a problem but > the fix will be different? > I think the error inject creates a real machine check, but since each CPU has > its own memory controller, > the machine check may only send to the CPU the error happens. If there is a rea

[PATCH] ttyprintk: Fix NULL pointer deref by setting tty_port ops after initializing port

2013-05-10 Thread Darrick J. Wong
tty_port_init() zeroes out the tty port, which means that we have to set the ops pointer /after/, not before this call. Otherwise, tty_port_open will crash when it tries to deref ops, which is now a NULL pointer. Signed-off-by: Darrick J. Wong --- drivers/char/ttyprintk.c |2 +- 1 file chan

Re: [PATCH RFC] clk: Introduce userspace clock driver

2013-05-10 Thread Mike Turquette
On Fri, May 10, 2013 at 11:49 AM, Emilio López wrote: > Hi, > > El 10/05/13 15:15, Sören Brinkmann escribió: >> Hi Emilio, >> >> On Fri, May 10, 2013 at 02:44:44PM -0300, Emilio López wrote: >>> Hi, >>> >>> El 10/05/13 14:31, Soren Brinkmann escribió: The userspace clock driver can be used to

RE: x86_mce: mce_start uses number of phsical cores instead of logical cores

2013-05-10 Thread Ming Lei
You are right, here is the boot information confirming this: smpboot: Booting Node 0, Processors #1 #2 #3 #4 #5 OK smpboot: Booting Node 1, Processors #6 #7 #8 #9 #10 #11 OK smpboot: Booting Node 0, Processors #12 #13 #14 #15 #16 #17 OK smpboot: Booting Node 1, Processors #18 #19 #20 #2

Re: [PATCH v2 3/8] pci: Add pci_hp_reset_slot

2013-05-10 Thread Alex Williamson
On Tue, 2013-05-07 at 20:57 -0600, Alex Williamson wrote: > Provide an interface to get to hotplug controller reset_slot callback > > Signed-off-by: Alex Williamson > --- > drivers/pci/hotplug/pci_hotplug_core.c | 24 > include/linux/pci_hotplug.h|8 +++

Re: NOHZ: WARNING: at arch/x86/kernel/smp.c:123 native_smp_send_reschedule

2013-05-10 Thread Frederic Weisbecker
On Fri, May 10, 2013 at 06:23:40PM +0200, Borislav Petkov wrote: > On Fri, May 10, 2013 at 05:43:50PM +0200, Frederic Weisbecker wrote: > > So either interrupts are spuriously enabled early, or ts->tick_stopped > > is not correctly initialized. > > Hmm, it can't be interrupts disabled because add_

Linux 3.6.11.3

2013-05-10 Thread Steven Rostedt
I'm announcing the release of the 3.6.11.3 kernel. The updated 3.6.11.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git v3.6-stable The patch can be downloaded at: https://www.kernel.org/pub/linux/kernel/projects/rt/3.6/stable/pat

[RFC PATCHv2 1/2] drivers: power: Add watchdog timer to catch drivers which lockup during suspend/resume.

2013-05-10 Thread Zoran Markovic
From: Benoit Goby Below is a patch from android kernel that detects a driver suspend/resume lockup and captures dump in the kernel log. Please review and provide comments. Rather than hard-lock the kernel, dump the suspend/resume thread stack and BUG() when a driver takes too long to suspend/res

[RFC PATCHv2 2/2] PM: compile-time configuration of device suspend/resume watchdogs.

2013-05-10 Thread Zoran Markovic
Power management debug option to configure device suspend/resume watchdogs. Available options are: 1. Enable/disable the feature. 2. Select triggered watchdog action between: - system panic (default) - dump stacktrace - log event 3. Select timeout value for the watchdo

[RFC PATCHv2 0/2] power: device suspend/resume watchdog

2013-05-10 Thread Zoran Markovic
Hi all, Attached are two patches addressing comments on the implementation of device suspend (and resume) watchdogs from the android kernel. I have squashed changes for the suspend and resume watchdogs as they address pretty much the same functionality, and also added compile-time configurability o

Re: [PATCH 06/11] net/bonding: take msecs_to_jiffies_min into use

2013-05-10 Thread Imre Deak
On Fri, 2013-05-10 at 15:58 +0200, Michal Kubecek wrote: > On Fri, May 10, 2013 at 03:13:24PM +0300, Imre Deak wrote: > > --- a/drivers/net/bonding/bond_main.c > > +++ b/drivers/net/bonding/bond_main.c > > @@ -1751,7 +1751,7 @@ int bond_enslave(struct net_device *bond_dev, struct > > net_device *s

[PATCH 1/3] x86/sched/context_tracking: Call new schedule_preempt_user() from entry_64.S

2013-05-10 Thread Steven Rostedt
I started testing the new NOHZ_FULL in the kernel and had some issues, so I started function tracing and this bug report came out: [23446.458073] [ cut here ] [23446.461028] WARNING: at /home/rostedt/work/git/linux-trace.git/kernel/rcutree.c:388 rcu_eqs_enter+0x4b/0x89() [

[PATCH 0/3] nohz: Some fixes and updates

2013-05-10 Thread Steven Rostedt
Frederic, Can you take these patches. The first patch will need to get an ack by one of the x86 maintainers. That one adds a new schedule_preempt_user() that is called before going back to user space in order to safely switch from user_context before calling schedule. The second patch prevents LO

[PATCH 3/3] nohz: Warn if the machine can not perform nohz_full

2013-05-10 Thread Steven Rostedt
If the user configures NO_HZ_FULL and defines nohz_full=XXX on the kerenl command line, or enables NO_HZ_FULL_ALL, but nohz fails due to the machine having a unstable clock, warn about it. We do not want users thinking that they are getting the benefit of nohz when their machine can not support it

[PATCH 2/3] nohz: Disable LOCKUP_DETECTOR when NO_HZ_FULL is enabled

2013-05-10 Thread Steven Rostedt
Trying to test the nohz_full code, I was not able to get it to work. Finally I enabled the tick_stop tracepoint and it showed: tick_stop:success=no msg=perf events running I talked to Frederic Weisbecker about this and he informed me that perf is used by the lockup detector. I checke

Re: SyS symbol munging.

2013-05-10 Thread Al Viro
On Fri, May 10, 2013 at 04:56:22PM -0400, Steven Rostedt wrote: > On Fri, May 10, 2013 at 09:05:03PM +0100, Al Viro wrote: > > On Fri, May 10, 2013 at 09:55:00PM +0200, Borislav Petkov wrote: > > > On Fri, May 10, 2013 at 12:35:10PM -0700, Andrew Morton wrote: > > > > I forget who did this initiall

Re: [PATCH v3 next/akpm] aio: convert the ioctx list to radix tree

2013-05-10 Thread Kent Overstreet
On Fri, May 10, 2013 at 01:40:15PM -0700, Andrew Morton wrote: > On Mon, 15 Apr 2013 14:40:55 +0300 Octavian Purdila > wrote: > > > When using a large number of threads performing AIO operations the > > IOCTX list may get a significant number of entries which will cause > > significant overhead.

RE: x86_mce: mce_start uses number of phsical cores instead of logical cores

2013-05-10 Thread Luck, Tony
> I used intel edac error injector and saw the same problem. I actually wrote > down the core numbers > and I saw mce got to 0-5 and 12-17, but not the others. I have 2 sockets, 24 > logical cores. Mauro: How does the EDAC injector work on E5645 (Westmere-EP)? Does it create a real error in m

Re: SyS symbol munging.

2013-05-10 Thread Steven Rostedt
On Fri, May 10, 2013 at 09:05:03PM +0100, Al Viro wrote: > On Fri, May 10, 2013 at 09:55:00PM +0200, Borislav Petkov wrote: > > On Fri, May 10, 2013 at 12:35:10PM -0700, Andrew Morton wrote: > > > I forget who did this initially and peeling back those layers with git > > > is tiresome. > > > > 1a9

Re: [PATCH 1/8] Add wait_on_atomic_t() and wake_up_atomic_t() [ver #2]

2013-05-10 Thread David Howells
Fengguang's kbuild bot found a compile error on one arch with this patch, so I've pushed a new version to the git tree. David -- 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

[PATCH] snd-es1968: Add radio support for MediaForte M56VAP

2013-05-10 Thread Ondrej Zary
Add support for TEA5757 tuner on MediaForte M56VAP sound+modem+radio card. The GPIO connection type is automatically detected (like snd-fm801 driver). Also add a safety subsystem vendor check to skip radio detection if vendor differs from ESS (so we don't touch GPIOs on laptops). Tested with SF64

Re: [PATCH v3 next/akpm] aio: convert the ioctx list to radix tree

2013-05-10 Thread Andrew Morton
On Mon, 15 Apr 2013 14:40:55 +0300 Octavian Purdila wrote: > When using a large number of threads performing AIO operations the > IOCTX list may get a significant number of entries which will cause > significant overhead. For example, when running this fio script: > > rw=randrw; size=256k ;dire

Re: EXT4 panic at jbd2_journal_put_journal_head() in 3.9+

2013-05-10 Thread David Daney
On 05/10/2013 12:27 PM, Theodore Ts'o wrote: Hmm, since you seem to be able to reproduce the problem reliably, any chance you can try bisecting the problem? I've looked at the commits that touch fs/jbd2 and nothing is jumping out at me. Also, how many CPU's do you have your system, and what kin

Re: 3.9-linux-next-20130501: OOPS in intel_pstate_sample

2013-05-10 Thread Bjorn Helgaas
[+cc Viresh, Srinivas, Dirk, cpufreq list] On Wed, May 1, 2013 at 3:03 PM, Martin Mokrejs wrote: > Hi, > I opened yet another bug https://bugzilla.kernel.org/show_bug.cgi?id=57411 . > > This is maybe a dupe of bug https://bugzilla.kernel.org/show_bug.cgi?id=57401 > (which is vanilla 3.9) but ha

  1   2   3   4   5   6   7   >