Re: [PATCH 2/9] perf, tools: Add support for text descriptions of events and alias add

2014-06-09 Thread Namhyung Kim
Hi Andi, On Mon, 9 Jun 2014 18:52:45 +0200, Andi Kleen wrote: >> Hmm.. this will print the description at right side and I think it'd be >> better if it prints in another line(s) like below: > > I think it's better to show the descriptions by default without > an extra option. I suspect most

Re: [Patch V4 08/42] x86, ACPI, irq: enhance error handling in function acpi_register_gsi()

2014-06-09 Thread Jiang Liu
On 2014/6/10 7:19, Thomas Gleixner wrote: > On Mon, 9 Jun 2014, Jiang Liu wrote: > >> Function mp_register_gsi() may return invalid GSI if error happens, >> so enhance acpi_register_gsi() to handle possible error cases. > > Can you please explain how that happens? I think I know it, but it'd >

Re: [Patch V4 12/42] x86, ioapic: kill static variable nr_irqs_gsi

2014-06-09 Thread Jiang Liu
Hi Thomas, This piece of code is inherited from current IOAPIC driver and I think it's a workaround for some weird platforms. For normal platforms with both 8259A and IOAPIC controllers, legacy ISA IRQs should be connected to both 8259A and IOAPIC pins (ignore timer and cascade

Re: [PATCH 5/7] cpufreq: intel_pstate: Remove redundant includes

2014-06-09 Thread Viresh Kumar
On 10 June 2014 02:30, Stratos Karafotis wrote: > Also put them in alphabetical order. > > Signed-off-by: Stratos Karafotis > --- > drivers/cpufreq/intel_pstate.c | 17 ++--- > 1 file changed, 2 insertions(+), 15 deletions(-) > > diff --git a/drivers/cpufreq/intel_pstate.c

Re: [PATCH 4/7] cpufreq: intel_pstate: Simplify code in intel_pstate_adjust_busy_pstate

2014-06-09 Thread Viresh Kumar
On 10 June 2014 02:30, Stratos Karafotis wrote: > Simplify the code by removing the inline functions > pstate_increase and pstate_decrease and use directly the > intel_pstate_set_pstate. > > Signed-off-by: Stratos Karafotis > --- > drivers/cpufreq/intel_pstate.c | 26 +++---

Re: [RFC PATCH 00/16 v3] A new CPU load metric for power-efficient scheduler: CPU ConCurrency

2014-06-09 Thread Yuyang Du
On Mon, Jun 09, 2014 at 05:48:48PM +0100, Morten Rasmussen wrote: Thanks, Morten. > > 2) CC vs. CPU utilization. CC is runqueue-length-weighted CPU utilization. > > If > > we change: "a = sum(concurrency * time) / period" to "a' = sum(1 * time) / > > period". Then a' is just about the CPU

Re: [for-next][PATCH 6/6] tracing: Fix leak of ring buffer data when new instances creation fails

2014-06-09 Thread Namhyung Kim
On Fri, 06 Jun 2014 12:30:40 -0400, Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > Yoshihiro Yunomae reported that the ring buffer data for a trace > instance does not get properly cleaned up when it fails. He proposed > a patch that manually cleaned the data up and addad a bunch of

Re: [RFC PATCH 07/16 v3] Init Workload Consolidation flags in sched_domain

2014-06-09 Thread Yuyang Du
On Mon, Jun 09, 2014 at 06:56:17PM +0100, Dietmar Eggemann wrote: Thanks, Dietmar. > I'm running these patches on my ARM TC2 on top of > kernel/git/torvalds/linux.git (v3.15-rc7-79-gfe45736f4134). There're > considerable changes in the area of sched domain setup since Vincent's > patchset

Re: [PATCH 1/7] cpufreq: intel_pstate: Remove duplicate CPU ID check

2014-06-09 Thread Viresh Kumar
On 10 June 2014 02:30, Stratos Karafotis wrote: > We check the CPU ID during driver init. There is no need > to do it again per logical CPU initialization. > > So, remove the duplicate check. > > Signed-off-by: Stratos Karafotis > --- > drivers/cpufreq/intel_pstate.c | 6 -- > 1 file

Re: [for-next][PATCH 4/6] tracing: Return error if ftrace_trace_arrays list is empty

2014-06-09 Thread Namhyung Kim
On Fri, 06 Jun 2014 12:30:38 -0400, Steven Rostedt wrote: > From: Yoshihiro YUNOMAE > > ftrace_trace_arrays links global_trace.list. However, global_trace > is not added to ftrace_trace_arrays if trace_alloc_buffers() failed. > As the result, ftrace_trace_arrays becomes an empty list. If >

Re: Change in security maintainer for a few weeks

2014-06-09 Thread James Morris
On Thu, 5 Jun 2014, Greg KH wrote: > Hi all, > > James has had to step back from doing kernel work for a few weeks, so > I've offered to step up and handle the security patches to get shuttled > to Linus for merging for a while. > > I'll take his git tree on kernel.org and push those to Linus

Re: [for-next][PATCH 3/6] tracing: Only calculate stats of tracepoint benchmarks for 2^32 times

2014-06-09 Thread Namhyung Kim
Hi Steve, On Fri, 06 Jun 2014 12:30:37 -0400, Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > When calculating the average and standard deviation, it is required that > the count be less than UINT_MAX, otherwise the do_div() will get > undefined results. After 2^32 counts of data,

[PATCH V2 Resend] cpufreq: cpufreq-cpu0: remove dependency on THERMAL and REGULATOR

2014-06-09 Thread Viresh Kumar
cpufreq-cpu0 uses thermal framework to register a cooling device, but doesn't depend on it as there are dummy calls provided by thermal layer when CONFIG_THERMAL=n. And when these calls fail, the driver is still usable. Similar explanation is valid for regulators as well. We do have dummy calls

Re: [PATCH 15/15] perf tools: Support spark lines in perf stat

2014-06-09 Thread Ingo Molnar
* Jiri Olsa wrote: > From: Andi Kleen > > perf stat -rX prints the stddev for multiple measurements. Call it "--repeat X", that's how most people know it. > Just looking at the stddev for judging the quality of the data > is a bit dangerous The simplest sanity check is to just look

Re: [PATCHv4 00/13] perf tools: Speedup DWARF unwind

2014-06-09 Thread Namhyung Kim
Hi Jiri, On Wed, 4 Jun 2014 16:36:49 +0200, Jiri Olsa wrote: > hi, > trying to speedup DWARF unwind report code by factoring > related code: > - caching sample's registers access > - keep dso data file descriptor open for the > life of the dso object > - replace dso cache code by

MESSAGE FROM JAZMIN FOX FIN AID

2014-06-09 Thread jazmin fox
-- Are you in need of a personal loan? or you are in need of a business loan? We offer loans from the range individual and cooperate bodies in need of financial support are application? only about 18 years for the applicant available. contact us by e-mail, though. onto a fast and easy loan

[PATCH Resend] cpufreq: tegra: update comment for clarity

2014-06-09 Thread Viresh Kumar
Tegra's driver got updated a bit (00917dd cpufreq: Tegra: implement intermediate frequency callbacks) and implements new 'intermediate freq' infrastructure of core. Above commit updated comments about when to call clk_prepare_enable(pll_x_clk) and Doug wasn't satisfied with those comments and said

[PATCH] blk-mq: kick requeue list in blk_mq_requeue_request()

2014-06-09 Thread Ming Lei
blk_mq_requeue_request() should kick off the requeue list so that the request can be scheduled to queue finally. In nvme conversion patch, blk_mq_requeue_request() is called to requeue failed request from completion handler, this patch fixes the issue and makes the block API working as expected.

[PATCH 1/3] watchdog: dw_wdt: Remove the un-necessary check after platform_get_resource()

2014-06-09 Thread George Cherian
devm_ioremap_resource() checks for valid resource. Remove the un-necessary check after platform_get_resource(). Signed-off-by: George Cherian --- drivers/watchdog/dw_wdt.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/watchdog/dw_wdt.c b/drivers/watchdog/dw_wdt.c index

[PATCH 3/3] watchdog: shwdt: Remove the unnecessary check of resource after platform_get_resource()

2014-06-09 Thread George Cherian
devm_ioremap_resource check for a valid resource. Remove the unnecessary check. Also group platform_get_resource and devm_ioremap_resource together for better readability. Signed-off-by: George Cherian --- drivers/watchdog/shwdt.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff

[PATCH 2/3] watchdog: lantiq_wdt: Remove the un-necessary check of resource after platform_get_resource()

2014-06-09 Thread George Cherian
devm_ioremap_resource() checks for valid resource. Remove the un-necessary check after platform_get_resource(). Signed-off-by: George Cherian --- drivers/watchdog/lantiq_wdt.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/watchdog/lantiq_wdt.c b/drivers/watchdog/lantiq_wdt.c

Re: mm,x86: warning at arch/x86/mm/pat.c:781 untrack_pfn+0x65/0xb0()

2014-06-09 Thread Hugh Dickins
On Sat, 7 Jun 2014, Sasha Levin wrote: > On 04/11/2014 08:50 AM, Sasha Levin wrote: > > Hi all, > > > > While fuzzing with trinity inside a KVM tools guest running the latest -next > > kernel I've stumbled on the following: > > Ping? Still happening (rarely on -next): > > [ 5818.038245]

Re: mm: NULL ptr deref in remove_migration_pte

2014-06-09 Thread Hugh Dickins
On Tue, 27 May 2014, Sasha Levin wrote: > On 05/26/2014 04:05 PM, Hugh Dickins wrote: > > On Fri, 23 May 2014, Sasha Levin wrote: > > > >> Ping? > >> > >> On 05/05/2014 11:51 AM, Sasha Levin wrote: > >>> Did anyone have a chance to look at it? I still see it in -next. > >>> > >>> > >>> Thanks, >

[PATCH v2 1/1] platform/chrome: Probe multiple i2c adapters of the same name

2014-06-09 Thread Scot Doyle
The chromeos_laptop module probes the first i2c adapter with a specific name for expected hardware. However, the Acer C720 Chromebook has two i2c adapters with the same name. This patch probes each i2c adapter with a specific name in turn, until locating the expected hardware. Thanks to Mika

Re: [PATCH 1/2] auditsc: audit_krule mask accesses need bounds checking

2014-06-09 Thread Greg KH
On Mon, Jun 09, 2014 at 09:04:16PM -0700, Andy Lutomirski wrote: > On Mon, Jun 9, 2014 at 7:57 PM, Greg KH wrote: > > On Mon, Jun 09, 2014 at 05:51:37PM -0700, Andy Lutomirski wrote: > >> [cc list trimmed, security@ added] > >> > >> On Mon, Jun 9, 2014 at 5:31 PM, Greg KH wrote: > >> > On Mon,

linux-next: build failure after merge of the vhost tree

2014-06-09 Thread Stephen Rothwell
Hi Michael, After merging the vhost tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/vhost/scsi.c: In function 'vhost_scsi_handle_vq': drivers/vhost/scsi.c:1043:14: error: 'struct vhost_dev' has no member named 'acked_features' if (vs->dev.acked_features &

Re: [PATCH 1/1] platform/chrome: Probe multiple i2c adapters of the same name

2014-06-09 Thread Scot Doyle
That's a good point, I'll submit a new patch which documents this requirement. If this isn't a sufficiently robust solution, I understand. On Mon, 9 Jun 2014, Mika Westerberg wrote: On Fri, Jun 06, 2014 at 11:25:14PM +0100, Scot Doyle wrote: The chromeos_laptop module probes the first i2c

Re: [PATCH 1/2] auditsc: audit_krule mask accesses need bounds checking

2014-06-09 Thread Andy Lutomirski
On Mon, Jun 9, 2014 at 7:57 PM, Greg KH wrote: > On Mon, Jun 09, 2014 at 05:51:37PM -0700, Andy Lutomirski wrote: >> [cc list trimmed, security@ added] >> >> On Mon, Jun 9, 2014 at 5:31 PM, Greg KH wrote: >> > On Mon, Jun 09, 2014 at 07:35:57PM -0400, Josh Boyer wrote: >> >> On Mon, Jun 9, 2014

Re: [patch V3 5/7] rtmutex: Confine deadlock logic to futex

2014-06-09 Thread Lai Jiangshan
On 06/10/2014 08:59 AM, Steven Rostedt wrote: > On Mon, 09 Jun 2014 20:28:09 - > Thomas Gleixner wrote: > >> +/* >> + * Futex variant to allow full deadlock detection. >> + */ >> +int __rt_mutex_timed_lock(struct rt_mutex *lock, >> + struct hrtimer_sleeper *timeout) >>

[PATCH] net: phy: realtek: register/unregister multiple drivers properly

2014-06-09 Thread Jongsung Kim
Using phy_drivers_register/_unregister functions is proper way to handle multiple PHY drivers registration. For Realtek PHY drivers module, it fixes incomplete current error-handlings up and adds missed unregistration for the RTL8201CP driver. Signed-off-by: Jongsung Kim ---

Re: [patch V3 7/7] rtmutex: Avoid pointless requeueing in the deadlock detection chain walk

2014-06-09 Thread Jason Low
On Mon, Jun 9, 2014 at 6:20 PM, Steven Rostedt wrote: > On Mon, 09 Jun 2014 20:28:10 - > Thomas Gleixner wrote: > >> In case the dead lock detector is enabled we follow the lock chain to >> the end in rt_mutex_adjust_prio_chain, even if we could stop earlier >> due to the priority/waiter

Re: [patch V3 1/7] rtmutex: Deobfuscate chain walk

2014-06-09 Thread Lai Jiangshan
On 06/10/2014 04:59 AM, Steven Rostedt wrote: > On Mon, 09 Jun 2014 20:28:06 - > Thomas Gleixner wrote: > >> There is no point to keep the task ref across the check for lock >> owner. Drop the ref before that, so the protection context is clear. >> >> Found while documenting the chain walk.

[RFC PATCH V2] rt/aio: fix rcu garbage collection might_sleep() splat

2014-06-09 Thread Mike Galbraith
On Mon, 2014-06-09 at 10:08 +0800, Lai Jiangshan wrote: > Hi, rt-people > > I don't think it is the correct direction. > Softirq (including local_bh_disable()) in RT kernel should be preemptible. How about the below then? I was sorely tempted to post a tiny variant that dropped taking ctx_lock

Re: [patch V3 3/7] rtmutex: Document pi chain walk

2014-06-09 Thread Lai Jiangshan
On 06/10/2014 08:45 AM, Steven Rostedt wrote: > On Mon, 09 Jun 2014 20:28:08 - > Thomas Gleixner wrote: > >> Add commentry to document the chain walk and the protection mechanisms >> and their scope. >> >> Signed-off-by: Thomas Gleixner >> --- >> kernel/locking/rtmutex.c | 52 >>

Re: [patch V3 4/7] rtmutex: Siplify remove_waiter()

2014-06-09 Thread Jason Low
On Mon, Jun 9, 2014 at 5:53 PM, Steven Rostedt wrote: > On Mon, 09 Jun 2014 20:28:08 - > Thomas Gleixner wrote: > >> Exit right away, when the removed waiter was not the top prioriy >> waiter on the lock. Get rid of the extra indent level. >> >> Signed-off-by: Thomas Gleixner >> --- >>

Re: [patch V3 4/7] rtmutex: Siplify remove_waiter()

2014-06-09 Thread Lai Jiangshan
On 06/10/2014 08:53 AM, Steven Rostedt wrote: > On Mon, 09 Jun 2014 20:28:08 - > Thomas Gleixner wrote: > >> Exit right away, when the removed waiter was not the top prioriy >> waiter on the lock. Get rid of the extra indent level. >> >> Signed-off-by: Thomas Gleixner >> --- >>

Re: [PATCH V2] block: make nr_requests tunable for loop

2014-06-09 Thread Junxiao Bi
On 06/10/2014 11:12 AM, Jens Axboe wrote: > On 2014-06-09 20:50, Junxiao Bi wrote: >> On 06/10/2014 10:41 AM, Jens Axboe wrote: >>> On 2014-06-09 20:31, Junxiao Bi wrote: commit 7b5a3522 (loop: Limit the number of requests in the bio list) limit the request number in loop queue to

Re: [patch V3 2/7] rtmutex: Clarify the boost/deboost part

2014-06-09 Thread Jason Low
On Mon, Jun 9, 2014 at 1:28 PM, Thomas Gleixner wrote: > Add a separate local variable for the boost/deboost logic to make the > code more readable. Add comments where appropriate. > > Signed-off-by: Thomas Gleixner Reviewed-by: Jason Low -- To unsubscribe from this list: send the line

Re: [patch V3 1/7] rtmutex: Deobfuscate chain walk

2014-06-09 Thread Jason Low
On Mon, Jun 9, 2014 at 1:28 PM, Thomas Gleixner wrote: > There is no point to keep the task ref across the check for lock > owner. Drop the ref before that, so the protection context is clear. > > Found while documenting the chain walk. > > Signed-off-by: Thomas Gleixner Reviewed-by: Jason Low

Re: [Patch V4 11/42] x86, ioapic: kill unused global variable timer_through_8259

2014-06-09 Thread Jiang Liu
On 2014/6/9 22:41, Maciej W. Rozycki wrote: > On Mon, 9 Jun 2014, Jiang Liu wrote: > >> index d4aba16e6bbf..94a56c233e87 100644 >> --- a/arch/x86/kernel/apic/io_apic.c >> +++ b/arch/x86/kernel/apic/io_apic.c >> @@ -2638,8 +2638,6 @@ static int __init disable_timer_pin_setup(char *arg) >> } >>

Re: rb_erase oops.

2014-06-09 Thread Joonsoo Kim
On Mon, Jun 09, 2014 at 04:09:38PM -0700, David Rientjes wrote: > On Mon, 9 Jun 2014, Dave Jones wrote: > > > Kernel based on v3.15-7257-g963649d735c8 > > > > Dave > > > > Oops: [#1] PREEMPT SMP > > Modules linked in: dlci 8021q garp snd_seq_dummy bnep llc2 af_key bridge > > stp fuse

Re: [PATCH] x86: numa: drop ZONE_ALIGN

2014-06-09 Thread Luiz Capitulino
On Mon, 9 Jun 2014 14:57:16 -0700 (PDT) David Rientjes wrote: > On Mon, 9 Jun 2014, Luiz Capitulino wrote: > > > > > diff --git a/arch/x86/include/asm/numa.h b/arch/x86/include/asm/numa.h > > > > index 4064aca..01b493e 100644 > > > > --- a/arch/x86/include/asm/numa.h > > > > +++

Skrzynka Pocztowa Zostala Tymczasowo Zawieszona !!!

2014-06-09 Thread IT ADMIN
Szanowny uzytkowniku Niedawno wykryto nietypowe dzialania z konta e-mail, wiec skrzynka pocztowa zostala czasowo zawieszona przez administratora systemu, nalezy odzyskac swoje konto, klikajac na ponizszy link lub skopiuj do przegladarki:

Re: [PATCH V2] block: make nr_requests tunable for loop

2014-06-09 Thread Jens Axboe
On 2014-06-09 20:50, Junxiao Bi wrote: On 06/10/2014 10:41 AM, Jens Axboe wrote: On 2014-06-09 20:31, Junxiao Bi wrote: commit 7b5a3522 (loop: Limit the number of requests in the bio list) limit the request number in loop queue to not over 128. Since the "request_fn" of loop device is null,

Re: drivers/char/random.c: more ruminations

2014-06-09 Thread George Spelvin
>> I have an idea for a patch to change _xfer_secondary_pool >> to use extract_buf rather than extract_entropy; is all that >> FIPS stuff needed for purely internal transfers? > That's not the part of extract_entropy() which is critical. What's > critical is the control over only transfering

Re: [PATCH] mm/mempolicy: fix sleeping function called from invalid context

2014-06-09 Thread Li Zefan
On 2014/6/9 17:13, David Rientjes wrote: > On Mon, 9 Jun 2014, Gu Zheng wrote: > >>> I think your patch addresses the problem that you're reporting but misses >>> the larger problem with cpuset.mems rebinding on fork(). When the >>> forker's task_struct is duplicated (which includes

Re: [PATCH 1/2] auditsc: audit_krule mask accesses need bounds checking

2014-06-09 Thread Greg KH
On Mon, Jun 09, 2014 at 05:51:37PM -0700, Andy Lutomirski wrote: > [cc list trimmed, security@ added] > > On Mon, Jun 9, 2014 at 5:31 PM, Greg KH wrote: > > On Mon, Jun 09, 2014 at 07:35:57PM -0400, Josh Boyer wrote: > >> On Mon, Jun 9, 2014 at 6:46 PM, Greg KH wrote: > >> > > >> > But yes,

Re: [RFC PATCH 1/3] CMA: generalize CMA reserved area management functionality

2014-06-09 Thread Joonsoo Kim
On Thu, Jun 05, 2014 at 11:09:05PM +0530, Aneesh Kumar K.V wrote: > Joonsoo Kim writes: > > > Currently, there are two users on CMA functionality, one is the DMA > > subsystem and the other is the kvm on powerpc. They have their own code > > to manage CMA reserved area even if they looks really

Re: [patch V3 0/7] rtmutex: Code clarification and optimization

2014-06-09 Thread Lai Jiangshan
On 06/10/2014 08:35 AM, Steven Rostedt wrote: > On Mon, 9 Jun 2014 20:27:13 -0400 > Steven Rostedt wrote: > > >> So what branch do these apply to? I tried latest Linus master and it >> didn't apply. > > OK, they seem to be on tip/locking/urgent. Not yet in mainline. Thank you for share it,

Re: [Patch V4 01/42] x86, irq: update high address field when updating affinity for MSI IRQ

2014-06-09 Thread Jiang Liu
On 2014/6/10 7:46, Yinghai Lu wrote: > On Mon, Jun 9, 2014 at 1:19 AM, Jiang Liu wrote: >> If x2apic is enabled, the MSI high address field should also be aslo >> updated when setting affinity for MSI IRQ, otherwise the MSI IRQ may >> target wrong APIC IDs. > > Do you have any test case to

Re: [PATCH V2] block: make nr_requests tunable for loop

2014-06-09 Thread Junxiao Bi
On 06/10/2014 10:41 AM, Jens Axboe wrote: > On 2014-06-09 20:31, Junxiao Bi wrote: >> commit 7b5a3522 (loop: Limit the number of requests in the bio list) >> limit >> the request number in loop queue to not over 128. Since the >> "request_fn" of >> loop device is null, the requests number is not

Re: [PATCH] cpc925_edac: Use module_platform_driver()

2014-06-09 Thread Xie XiuQi
On 2014/6/9 22:40, Kefeng Wang wrote: > Move edac_op_state assignment operations to probe, then convert to > module_platform_drive() to eliminate boilerplate code, and use module_platform_driver() ;-) > cpc925_printk instead of printk. > > Signed-off-by: Kefeng Wang > --- >

Re: [RFC PATCH 2/3] DMA, CMA: use general CMA reserved area management framework

2014-06-09 Thread Joonsoo Kim
On Tue, Jun 03, 2014 at 09:00:48AM +0200, Michal Nazarewicz wrote: > On Tue, Jun 03 2014, Joonsoo Kim wrote: > > Now, we have general CMA reserved area management framework, > > so use it for future maintainabilty. There is no functional change. > > > > Signed-off-by: Joonsoo Kim > > Acked-by:

Re: [PATCH V2] block: make nr_requests tunable for loop

2014-06-09 Thread Jens Axboe
On 2014-06-09 20:31, Junxiao Bi wrote: commit 7b5a3522 (loop: Limit the number of requests in the bio list) limit the request number in loop queue to not over 128. Since the "request_fn" of loop device is null, the requests number is not allowed tuned. Make it tunable from sysfs can improve

Re: [RFC PATCH 1/3] CMA: generalize CMA reserved area management functionality

2014-06-09 Thread Joonsoo Kim
On Tue, Jun 03, 2014 at 08:56:00AM +0200, Michal Nazarewicz wrote: > On Tue, Jun 03 2014, Joonsoo Kim wrote: > > Currently, there are two users on CMA functionality, one is the DMA > > subsystem and the other is the kvm on powerpc. They have their own code > > to manage CMA reserved area even if

[PATCH v2] pinctrl: sh-pfc: r8a7791: Add HSCIF pin support

2014-06-09 Thread Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu Acked-by: Laurent Pinchart --- V2: - Add pin map for hscif2_data_d. - Add Acked-by: Laurent Pinchart drivers/pinctrl/sh-pfc/pfc-r8a7791.c | 250 +++ 1 file changed, 250 insertions(+) diff --git

RE: [REGRESSION] 3.15: Seems to turbo mode Intel Sandybridge Dual Core without need, overheating CPU

2014-06-09 Thread Doug Smythies
On 2014.06.08 14:42 Martin Steigerwald wrote: > Its not just me: > Please change intel_pstate default to disable > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1188647 That bug report is old, and made some sense at the time it was entered. Recent entries are all calling for it to be

Re: [PATCH] pinctrl: sh-pfc: r8a7791: Add HSCIF pin support

2014-06-09 Thread Nobuhiro Iwamatsu
Hi, 2014-06-09 20:25 GMT+09:00 Laurent Pinchart : > Hi Iwamatsu-san, > > Thank you for the patch. > > On Thursday 29 May 2014 09:52:09 Nobuhiro Iwamatsu wrote: > > A commit message would be nice. You're also missing hscif2_data_d. That could > be added later though, so I will add hscif2_data_d

[PATCH V2] block: make nr_requests tunable for loop

2014-06-09 Thread Junxiao Bi
commit 7b5a3522 (loop: Limit the number of requests in the bio list) limit the request number in loop queue to not over 128. Since the "request_fn" of loop device is null, the requests number is not allowed tuned. Make it tunable from sysfs can improve performance. The following test is done on a

[PATCH] cpc925_eadc: Use devm_ioremap_resource()

2014-06-09 Thread Kefeng Wang
Convert to devm_ioremap_resource() to simplify code. Signed-off-by: Kefeng Wang --- drivers/edac/cpc925_edac.c | 30 ++ 1 files changed, 6 insertions(+), 24 deletions(-) diff --git a/drivers/edac/cpc925_edac.c b/drivers/edac/cpc925_edac.c index df6575f..b335c14

Re: [PATCH] block: make nr_requests tunable for loop

2014-06-09 Thread Jens Axboe
On 2014-06-09 19:35, Junxiao Bi wrote: On 06/09/2014 11:53 PM, Jens Axboe wrote: On 2014-06-09 01:29, Andreas Mohr wrote: Hi, having had a look at current mainline sources, frankly I've (well, initially...) got trouble understanding what this patch is doing. It's replacing an aggressive

Re: [PATCH v3 00/05] staging: Emma Mobile USB driver and KZM9D board code V3

2014-06-09 Thread Simon Horman
On Mon, Jun 09, 2014 at 02:14:38PM +0900, Magnus Damm wrote: > On Sat, Jun 7, 2014 at 12:39 AM, Greg KH wrote: > > On Fri, Jun 06, 2014 at 07:44:08PM +0900, Magnus Damm wrote: > >> staging: Emma Mobile USB driver and KZM9D board code V3 > >> > >> [PATCH v3 01/05] staging: emxx_udc: Add Emma

Re: [PATCH v2 04/05] staging: board: Initial board staging support

2014-06-09 Thread Simon Horman
On Fri, Jun 06, 2014 at 09:07:44PM +0900, Magnus Damm wrote: > On Fri, May 30, 2014 at 8:10 AM, Simon Horman wrote: > > On Thu, May 29, 2014 at 10:27:30PM +0900, Magnus Damm wrote: > >> Hi Dan, > >> > >> On Thu, May 29, 2014 at 10:20 PM, Dan Carpenter > >> wrote: > >> > On Thu, May 29, 2014 at

RE: [PATCH for-next 00/15] Bug fixes for ocrdma driver

2014-06-09 Thread Selvin Xavier
> -Original Message- > From: Or Gerlitz [mailto:or.gerl...@gmail.com] > Sent: Tuesday, June 10, 2014 1:15 AM > To: Roland Dreier; Selvin Xavier > Cc: Steve Wise; linux-r...@vger.kernel.org; linux-kernel > Subject: Re: [PATCH for-next 00/15] Bug fixes for ocrdma driver > > On Wed, Jun 4,

Re: [PATCH] block: make nr_requests tunable for loop

2014-06-09 Thread Junxiao Bi
On 06/09/2014 11:53 PM, Jens Axboe wrote: > On 2014-06-09 01:29, Andreas Mohr wrote: >> Hi, >> >> having had a look at current mainline sources, >> frankly I've (well, initially...) got trouble understanding >> what this patch is doing. >> >> It's replacing an aggressive error-type bail-out

[PATCH 02/12] clk: mmp: add spin lock for clk-frac

2014-06-09 Thread Chao Xie
From: Chao Xie The register used by clk-frac may be shared with other clocks. So it needs to use spin lock to protect the register access. Signed-off-by: Chao Xie --- drivers/clk/mmp/clk-frac.c | 11 ++- drivers/clk/mmp/clk-mmp2.c | 2 +- drivers/clk/mmp/clk-pxa168.c | 2 +-

[PATCH 00/12] clk: mmp: clock device tree support

2014-06-09 Thread Chao Xie
From: Chao Xie The patch set focuses at support device tree for clock. The first part of the patches clk: mmp: add prefix "mmp" for structures defined for clk-frac clk: mmp: add spin lock for clk-frac clk: mmp: add init callback for clk-frac clk: mmp: move definiton of mmp_clk_frac to

[PATCH 01/12] clk: mmp: add prefix "mmp" for structures defined for clk-frac

2014-06-09 Thread Chao Xie
From: Chao Xie The structures defined for clk-frac will be used out side of clk-frac.c. To avoid conflicts, add prefix "mmp" for these structures' name. Signed-off-by: Chao Xie --- drivers/clk/mmp/clk-frac.c | 23 --- drivers/clk/mmp/clk-mmp2.c | 4 ++--

Re: [PATCHv3 2/3] regulator: s2mps11: Add support S2MPU02 regulator device

2014-06-09 Thread Chanwoo Choi
Hi Mark, On 06/10/2014 04:55 AM, Mark Brown wrote: > On Mon, Jun 09, 2014 at 03:15:47PM +0900, Chanwoo Choi wrote: >> This patch add S2MPU02 regulator device to existing S2MPS11 device driver >> because of little difference between S2MPS1x and S2MPU02. The S2MPU02 >> regulator device includes

[PATCH 06/12] clk: mmp: add mmp private gate clock

2014-06-09 Thread Chao Xie
From: Chao Xie Some SOCes have this kind of the gate clock 1. There are some bits to control the gate not only one bit. 2. Some clocks has operations of "out of reset" and "enable". To enable clock, we need do "out of reset" and "enable". To disable clock, we may not need "set to reset".

[PATCH 04/12] clk: mmp: move definiton of mmp_clk_frac to clk.h

2014-06-09 Thread Chao Xie
From: Chao Xie Move the definition of structure of mmp_clk_frac to clk.h. So device tree support can use this structure. Signed-off-by: Chao Xie --- drivers/clk/mmp/clk-frac.c | 8 drivers/clk/mmp/clk.h | 32 ++-- 2 files changed, 22 insertions(+),

Re: [PATCH 2/2] dt-bindings: regulator: Add regulator suspend state for PM state

2014-06-09 Thread Chanwoo Choi
Hi Mark, On 06/10/2014 04:16 AM, Mark Brown wrote: > On Mon, Jun 09, 2014 at 07:29:40PM +0900, Chanwoo Choi wrote: > >> +- regulator-initial-state: initial state for suspend state >> +- regulator-state-[standby/mem/disk] sub-root node for suspend state >> +regulator-volt: voltage consumers

[PATCH 05/12] clk: mmp: add clock type mix

2014-06-09 Thread Chao Xie
From: Chao Xie The clock type mix is a kind of clock combines "div" and "mux". This kind of clock can not allow to change div first then mux or change mux first or div. The reason is 1. Some clock has frequency change bit. Each time want to change the frequency, there are some operations

[PATCH 08/12] clk: mmp: add clock type master

2014-06-09 Thread Chao Xie
From: Chao Xie To support device tree for clock, we need pass the register base and range to the clock. There are many clock share same range of registers. For example, clk1 has register as 0xd4210010 while clk2 has 0xd42100c0. If we map the register seperately. There will waste some space. If

[PATCH 10/12] clk: mmp: add device tree support for composite type clock

2014-06-09 Thread Chao Xie
From: Chao Xie To parse composite clock from device tree file, there are some rules. The clock to be composited will be the child of the composite clock in device tree file. It can support the composition of (mux,div,gate) clock defined as common clock and (mix,gate) defined only for MMP series.

[PATCH 03/12] clk: mmp: add init callback for clk-frac

2014-06-09 Thread Chao Xie
From: Chao Xie For the clk-frac, if it has table, we need to make sure that the initial clock rate is one item of the table. If it is not, we use the first item in the table by default. Signed-off-by: Chao Xie --- drivers/clk/mmp/clk-frac.c | 40 1

[PATCH 09/12] clk: mmp: add spin lock automatic detection from device tree

2014-06-09 Thread Chao Xie
From: Chao Xie For Marvell MMP series SOC, many clocks share same register. In the operations of these clock, a spin lock is needed to avoid confilicts. When parse the clock from the device tree and register the clock, we do not know whether it share the register with others. So a common API is

[PATCH 11/12] clk: mmp: add device tree support for clocks.

2014-06-09 Thread Chao Xie
From: Chao Xie For MMP series SOC, it will use some types of clock. Add the device tree support for these kind of clocks. It includes mux/div/mix/gate/factor clock. Signed-off-by: Chao Xie Conflicts: drivers/clk/mmp/Makefile --- .../devicetree/bindings/clock/mmp/clk-div |

[PATCH 07/12] clk: mmp: add clock type composite for mix

2014-06-09 Thread Chao Xie
From: Chao Xie The general composite clock supports div/mux/gate. marvell SOCes have many clocks that need change div and mux together. So it need the composite clock that supports mix/gate. Signed-off-by: Chao Xie --- drivers/clk/mmp/Makefile| 3 +-

[PATCH 12/12] arm: mmp: support clock device tree for mmp platforms

2014-06-09 Thread Chao Xie
From: Chao Xie The platforms including pxa168/pxa910/mmp2. After add clock device tree support. There is no need to maintain mmp2-dt.c because it is same as mmp-dt.c now. The file will be removed. Compiling test for pxa168 because of lacking of platform. The platform is too old. Functonality

linux-next: manual merge of the vfs tree with the f2fs tree

2014-06-09 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the vfs tree got a conflict in fs/f2fs/data.c between commit b6fe5873cb42 ("f2fs: fix to recover data written by dio") from the f2fs tree and commits d8d3d94b80aa ("pass iov_iter to ->direct_IO()") and 31b140398ce5 ("switch {__,}blockdev_direct_IO() to

Re: [PATCH 3.4 47/88] mm: add kmap_to_page()

2014-06-09 Thread Ben Hutchings
On Mon, 2014-06-09 at 18:15 -0700, Hugh Dickins wrote: > On Mon, 9 Jun 2014, Greg Kroah-Hartman wrote: > > > 3.4-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Ben Hutchings > > > > commit

Re: drivers/char/random.c: more ruminations

2014-06-09 Thread Theodore Ts'o
On Mon, Jun 09, 2014 at 08:20:57PM -0400, George Spelvin wrote: > > I have an idea for a patch to change _xfer_secondary_pool > to use extract_buf rather than extract_entropy; is all that > FIPS stuff needed for purely internal transfers? That's not the part of extract_entropy() which is

Re: [PATCH 1/2] serial: core: Don't drop DTR if system console

2014-06-09 Thread Peter Hurley
On 06/09/2014 09:08 AM, One Thousand Gnomes wrote: On Wed, 4 Jun 2014 10:16:10 -0400 Peter Hurley wrote: If a tty is opened on a serial console, don't drop DTR on last tty close, on tty hangup, or when resetting port hardware via TIOCSSERIAL and TIOCSERCONFIG ioctls. Signed-off-by: Peter

Re: [patch V3 7/7] rtmutex: Avoid pointless requeueing in the deadlock detection chain walk

2014-06-09 Thread Steven Rostedt
On Mon, 09 Jun 2014 20:28:10 - Thomas Gleixner wrote: > In case the dead lock detector is enabled we follow the lock chain to > the end in rt_mutex_adjust_prio_chain, even if we could stop earlier > due to the priority/waiter constellation. > > But once we are not longer the top priority

Re: [PATCH 3.4 47/88] mm: add kmap_to_page()

2014-06-09 Thread Hugh Dickins
On Mon, 9 Jun 2014, Greg Kroah-Hartman wrote: > 3.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Ben Hutchings > > commit fcb8996728fb59eddf84678df7cb213b2c9a2e26 upstream. > > This is extracted from Mel Gorman's commit 5a178119b0fb

Re: [systemd-devel] [PATCH v5 12/14] autoconf: xen: enable explicit preference option for xenstored preference

2014-06-09 Thread Luis R. Rodriguez
On Wed, Jun 04, 2014 at 07:52:56PM -0700, Cameron Norman wrote: > On Wed, Jun 4, 2014 at 5:31 PM, Luis R. Rodriguez wrote: > > On Sun, Jun 01, 2014 at 08:15:47AM +0200, Lennart Poettering wrote: > >> On Fri, 30.05.14 01:29, Luis R. Rodriguez (mcg...@suse.com) wrote: > >> > >> > I'm cc'ing a few

Re: workqueue: WARN at at kernel/workqueue.c:2176

2014-06-09 Thread Lai Jiangshan
On 06/09/2014 10:01 PM, Jason J. Herne wrote: > On 06/05/2014 06:54 AM, Lai Jiangshan wrote: >> >> >> Subject: [PATCH] sched: migrate the waking tasks >> >> Current code skips to migrate the waking task silently when TTWU_QUEUE is >> enabled. >> >> When a task is waking, it is

RE: [PATCH 0/9] ARM: Berlin: USB support

2014-06-09 Thread Peter Chen
> > we are early in the cycle and I feel there will be a v2 of the chipidea > stub. IMHO, controlling the vbus regulator should not be business of the > phy driver, so ci will have to deal with it. > vbus handling has already in chipidea common code, it treats vbus as a regulator. So, the

Re: [PATCH 3.4 76/88] 8250/16?50: Add support for Broadcom TruManage redirected serial port

2014-06-09 Thread Ben Hutchings
On Mon, 2014-06-09 at 17:25 -0700, Greg Kroah-Hartman wrote: > 3.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Stephen Hurd > > commit ebebd49a8eab5e9aa1b1f8f1614ccc3c2120f886 upstream. > > Add support for the UART device present in

Re: [patch V3 6/7] rtmutex: Cleanup deadlock detector debug logic

2014-06-09 Thread Steven Rostedt
On Mon, 09 Jun 2014 20:28:10 - Thomas Gleixner wrote: > The conditions under which deadlock detection is conducted are unclear > and undocumented. > > Add constants instead of using 0/1 and provide a selection function > which hides the additional debug dependency from the calling code. >

Re: [PATCH 3.4 65/88] mpt2sas: Fix for issue Missing delay not getting set during system bootup

2014-06-09 Thread Ben Hutchings
On Mon, 2014-06-09 at 17:25 -0700, Greg Kroah-Hartman wrote: > 3.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: "Reddy, Sreekanth" > > commit 93cfcb8c998e3fe2c075fa61ab28f7b018e5049a upstream. The hash above is for 3.2.y, so you

Re: [patch V3 5/7] rtmutex: Confine deadlock logic to futex

2014-06-09 Thread Steven Rostedt
On Mon, 09 Jun 2014 20:28:09 - Thomas Gleixner wrote: > +/* > + * Futex variant to allow full deadlock detection. > + */ > +int __rt_mutex_timed_lock(struct rt_mutex *lock, > + struct hrtimer_sleeper *timeout) > +{ > + might_sleep(); > + > + return

Re: [patch V3 4/7] rtmutex: Siplify remove_waiter()

2014-06-09 Thread Steven Rostedt
On Mon, 09 Jun 2014 20:28:08 - Thomas Gleixner wrote: > Exit right away, when the removed waiter was not the top prioriy > waiter on the lock. Get rid of the extra indent level. > > Signed-off-by: Thomas Gleixner > --- > kernel/locking/rtmutex.c | 26 ++ > 1 file

Re: [PATCH 1/2] auditsc: audit_krule mask accesses need bounds checking

2014-06-09 Thread Andy Lutomirski
[cc list trimmed, security@ added] On Mon, Jun 9, 2014 at 5:31 PM, Greg KH wrote: > On Mon, Jun 09, 2014 at 07:35:57PM -0400, Josh Boyer wrote: >> On Mon, Jun 9, 2014 at 6:46 PM, Greg KH wrote: >> > >> > But yes, having something "real" might be good if the load gets higher, >> > right now it's

[PATCH 3.4 03/88] perf: Limit perf_event_attr::sample_period to 63 bits

2014-06-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 0819b2e30ccb93edf04876237b6205eef84ec8d2 upstream. Vince reported that using a large sample_period (one with bit 63 set) results in wreckage since while the sample_period

[PATCH 3.4 16/88] USB: Avoid runtime suspend loops for HCDs that cant handle suspend/resume

2014-06-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 8ef42ddd9a53b73e6fc3934278710c27f80f324f upstream. Not all host controller drivers have bus-suspend and bus-resume methods. When one doesn't, it will cause problems if

[PATCH 3.4 01/88] sched: Use CPUPRI_NR_PRIORITIES instead of MAX_RT_PRIO in cpupri check

2014-06-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" commit 6227cb00cc120f9a43ce8313bb0475ddabcb7d01 upstream. The check at the beginning of cpupri_find() makes sure that the task_pri variable does not exceed the

[PATCH 3.4 06/88] ARM: 8051/1: put_user: fix possible data corruption in put_user

2014-06-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Ryabinin commit 537094b64b229bf3ad146042f83e74cf6abe59df upstream. According to arm procedure call standart r2 register is call-cloberred. So after the result of x expression was put

[PATCH 3.4 05/88] mm/memory-failure.c: fix memory leak by race between poison and unpoison

2014-06-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Naoya Horiguchi commit 3e030ecc0fc7de10fd0da10c1c19939872a31717 upstream. When a memory error happens on an in-use page or (free and in-use) hugepage, the victim page is isolated with its

  1   2   3   4   5   6   7   8   9   10   >