Re: [PATCH 2/3] perf tools: Spare double comparison of callchain first entry

2014-01-16 Thread Namhyung Kim
Hi Arnaldo and Frederic, On Thu, 16 Jan 2014 17:47:34 -0200, Arnaldo Carvalho de Melo wrote: > Em Thu, Jan 16, 2014 at 06:34:58PM +0100, Frederic Weisbecker escreveu: >> On Thu, Jan 16, 2014 at 10:17:53AM +0900, Namhyung Kim wrote: >> > I think if the sort key doesn't contain "symbol", unmatch

Re: [PATCH] mtd: davinci_nand: Remove unnecessary labels from error path

2014-01-16 Thread Prabhakar Lad
Hi Brain, On Fri, Jan 17, 2014 at 10:46 AM, Prabhakar Lad wrote: > Hi Brian, > > On Fri, Jan 17, 2014 at 3:02 AM, Brian Norris > wrote: >> On Wed, Jan 15, 2014 at 01:38:26PM +0530, Prabhakar Lad wrote: >>> From: "Lad, Prabhakar" >>> >>> This patch removes the unnecessary labels from >>> the

Re: [PATCH] perf tools: Fix JIT profiling on heap

2014-01-16 Thread Namhyung Kim
Hi Gaurav, On Thu, 16 Jan 2014 20:23:27 +, Gaurav Jain wrote: > On 1/16/14, 9:37 AM, "Arnaldo Carvalho de Melo" > wrote: > >>Em Thu, Jan 16, 2014 at 10:49:31AM +0900, Namhyung Kim escreveu: >>> Gaurav reported that perf cannot profile JIT program if it executes >>> the code on heap. This

Re: [PATCH v3] ACPI: Fix acpi_evaluate_object() return value check

2014-01-16 Thread Jani Nikula
On Fri, 17 Jan 2014, Yijing Wang wrote: > Fix acpi_evaluate_object() return value check, > shoud acpi_status not int. Please spellcheck. > > Signed-off-by: Yijing Wang > --- > v2->v3: Fix compile error pointed out by Hanjun. > v1->v2: Add CC to related subsystem MAINTAINERS > --- >

Re: [PATCH v2 1/2] i2c: qup: Add device tree bindings information

2014-01-16 Thread Ivan T. Ivanov
Hi, On Thu, 2014-01-16 at 15:20 -0800, Bjorn Andersson wrote: > On Tue 14 Jan 00:57 PST 2014, Ivan T. Ivanov wrote: > > > > > Thanks Bjorn, > > > > I have prepared second version, but never send it out :-). > > One thing suggested by Mark was missed in this version. > > Yeah, Mattew told

Re: [PATCH 3/4] fix module autoloading for ACPI enumerated devices

2014-01-16 Thread Jarkko Nikula
On 01/16/2014 09:46 PM, Mark Brown wrote: On Thu, Jan 16, 2014 at 09:05:09PM +0800, Zhang Rui wrote: On Thu, 2014-01-16 at 13:27 +0100, Wolfram Sang wrote: This seems a gap to me but I'm not 100% sure. I saw Grant Likely introduced the OF style MODALIAS to platform bus, and OF style

Kconfig errors

2014-01-16 Thread Prabhakar Lad
Hi, On Linux-next branch I see following errors for davinci_all_defconfig & da8xx_omapl_defconfig configs, arch/arm/Kconfig:1966:error: recursive dependency detected! arch/arm/Kconfig:1966:symbol ZBOOT_ROM depends on AUTO_ZRELADDR arch/arm/Kconfig:2154:symbol AUTO_ZRELADDR is selected by

Re: [PATCH V2 1/1] Drivers: hv: Implement the file copy service

2014-01-16 Thread Dan Carpenter
On Thu, Jan 16, 2014 at 10:42:01AM +0100, Olaf Hering wrote: > On Tue, Jan 14, K. Y. Srinivasan wrote: > > > +enum hv_fcopy_op { > > + START_FILE_COPY = 0, > > + WRITE_TO_FILE, > > + COMPLETE_FCOPY, > > + CANCEL_FCOPY, > > +}; > > + > > +struct hv_fcopy_hdr { > > + enum hv_fcopy_op

[PATCH] f2fs: avoid f2fs_balance_fs call during pageout

2014-01-16 Thread Jaegeuk Kim
This patch should resolve the following bug. = [ INFO: possible irq lock inversion dependency detected ] 3.13.0-rc5.f2fs+ #6 Not tainted - kswapd0/41 just changed the state of lock:

Re: [PATCHv3 0/8] zram stats rework and code cleanup

2014-01-16 Thread Minchan Kim
On Thu, Jan 16, 2014 at 04:12:08PM +0300, Sergey Senozhatsky wrote: > This patchset includes zram stats clean up and enhancements. > > Sergey Senozhatsky (8): > zram: drop `init_done' struct zram member > zram: do not pass rw argument to __zram_make_request() > zram: remove good and bad

Re: [PATCHv3 8/8] zram: move zram size warning to documentation

2014-01-16 Thread Minchan Kim
On Thu, Jan 16, 2014 at 04:12:16PM +0300, Sergey Senozhatsky wrote: > Move zram warning about disksize and size of memory correlation > to zram documentation. > > Signed-off-by: Sergey Senozhatsky Acked-by: Minchan Kim -- Kind regards, Minchan Kim -- To unsubscribe from this list: send the

[PATCHv10 1/2] ARM: dts: vf610: Add eDMA node

2014-01-16 Thread Jingchang Lu
Signed-off-by: Jingchang Lu Acked-by: Arnd Bergmann --- no changes in v10. changes in v9: remove include/dt-bindings/dma/vf610-edma.h, the request source ID is the same as SoC's reference manual. changes in v8: describe dmamux info in edma node to avoid confusion. change eDMA requst source

[PATCHv10 2/2] dma: Add Freescale eDMA engine driver support

2014-01-16 Thread Jingchang Lu
Add Freescale enhanced direct memory(eDMA) controller support. This module can be found on Vybrid and LS-1 SoCs. Signed-off-by: Alison Wang Signed-off-by: Jingchang Lu Acked-by: Arnd Bergmann --- changes in v10: define fsl_edma_mutex in fsl_edma_engine instead of global. minor changes of

[PATCHv10 0/2] dma: Add Freescale eDMA engine driver support

2014-01-16 Thread Jingchang Lu
This series add Freescale eDMA engine support. Jingchang Lu (2): ARM: dts: vf610: Add eDMA node dma: Add Freescale eDMA engine driver support Documentation/devicetree/bindings/dma/fsl-edma.txt | 76 arch/arm/boot/dts/vf610.dtsi | 30 ++

Re: [PATCHv3 7/8] zram: drop not used table `count' member

2014-01-16 Thread Minchan Kim
On Thu, Jan 16, 2014 at 04:12:15PM +0300, Sergey Senozhatsky wrote: > struct table `count' member is not used. > > Signed-off-by: Sergey Senozhatsky There is no gain with this patch in memory space ponit of view but it might reveal the lurking bug. Acked-by: Minchan Kim > --- >

Re: [PATCHv3 5/8] zram: remove zram stats code duplication

2014-01-16 Thread Minchan Kim
On Thu, Jan 16, 2014 at 04:12:13PM +0300, Sergey Senozhatsky wrote: > Introduce ZRAM_ATTR_RO macro that generates device_attribute > and default ATTR show() function for existing atomic64_t zram > stats. > > Signed-off-by: Sergey Senozhatsky Acked-by: Minchan Kim -- Kind regards, Minchan Kim

Re: [PATCHv3 4/8] zram: use atomic64_t for all zram stats

2014-01-16 Thread Minchan Kim
On Thu, Jan 16, 2014 at 04:12:12PM +0300, Sergey Senozhatsky wrote: > This is a preparation patch for stats code duplication removal. > > 1) use atomic64_t for `pages_zero' and `pages_stored' zram stats. > 2) `compr_size' and `pages_zero' struct zram_stats members did not > follow the existing

[PATCH RFC 1/6] net: rfkill: gpio: fix gpio name buffer size off by 1

2014-01-16 Thread Chen-Yu Tsai
snprintf should be passed the complete size of the buffer, including the space for '\0'. The previous code resulted in the *_reset and *_shutdown strings being truncated. Signed-off-by: Chen-Yu Tsai --- net/rfkill/rfkill-gpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH RFC 2/6] net: rfkill: gpio: use clk_prepare_enable/clk_disable_unprepare

2014-01-16 Thread Chen-Yu Tsai
rfkill-gpio calls clk_enable() without first calling clk_prepare(), resulting in a warning and no effect. Switch to clk_prepare_enable() and clk_disable_unprepare. Signed-off-by: Chen-Yu Tsai --- net/rfkill/rfkill-gpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCHv3 3/8] zram: remove good and bad compress stats

2014-01-16 Thread Minchan Kim
On Thu, Jan 16, 2014 at 04:12:11PM +0300, Sergey Senozhatsky wrote: > Remove `good' and `bad' compressed sub-requests stats. RW request may > cause a number of RW sub-requests. zram used to account `good' compressed > sub-queries (with compressed size less than 50% of original size), `bad' >

[PATCH RFC 3/6] net: rfkill: gpio: fix reversed clock enable state

2014-01-16 Thread Chen-Yu Tsai
rfkill-gpio has clk_enabled = blocked, which is true when rfkill blocks the device. This results in calling clock enable/disable at the wrong time. Reversing the value fixes this. Signed-off-by: Chen-Yu Tsai --- net/rfkill/rfkill-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH RFC 4/6] net: rfkill: gpio: add device tree support

2014-01-16 Thread Chen-Yu Tsai
Signed-off-by: Chen-Yu Tsai --- .../devicetree/bindings/rfkill/rfkill-gpio.txt | 26 ++ net/rfkill/rfkill-gpio.c | 23 +++ 2 files changed, 49 insertions(+) create mode 100644

[PATCH RFC 6/6] ARM: sun7i: cubietruck: enable bluetooth module

2014-01-16 Thread Chen-Yu Tsai
The CubieTruck has an AMPAK AP6210 WiFi+Bluetooth module. The Bluetooth part is a BCM20710 device connected to UART2 in the A20 SoC. The IC also requires a 32.768 KHz low power clock input for proper auto-detection of the main clock, and power enable and wake signals via GPIO. Signed-off-by:

[PATCH RFC 0/6] net: rfkill: gpio: Add device tree support

2014-01-16 Thread Chen-Yu Tsai
Hi everyone, This patch series adds device tree support to rfkill-gpio, and fixes some issues I ran into. This is so we can define and control RF devices through the device tree, such as the Broadcom BCM20710 UART-based Bluetooth device found on the CubieTruck, The CubieTruck uses a non-default

[PATCH RFC 5/6] net: rfkill: gpio: add clock-frequency device tree property

2014-01-16 Thread Chen-Yu Tsai
Some devices, such as Broadcom Bluetooth devices, require a specific clock rate for the clock tied to the rfkill device. Add clock-frequency property so we can specify this from the device tree. Signed-off-by: Chen-Yu Tsai --- Documentation/devicetree/bindings/rfkill/rfkill-gpio.txt | 2 ++

[GIT PULL] namespace fixes

2014-01-16 Thread Eric W. Biederman
Linus, Please pull the for-linus branch from the git tree: git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git for-linus HEAD: 41301ae78a99ead04ea42672a1ab72c6f44cc81d vfs: Fix a regression in mounting proc This is a set of 3 regression fixes. This fixes

[PATCH 1/6] numa,sched,mm: remove p->numa_migrate_deferred

2014-01-16 Thread riel
From: Rik van Riel Excessive migration of pages can hurt the performance of workloads that span multiple NUMA nodes. However, it turns out that the p->numa_migrate_deferred knob is a really big hammer, which does reduce migration rates, but does not actually help performance. Now that the

[PATCH 2/6] numa,sched: track from which nodes NUMA faults are triggered

2014-01-16 Thread riel
From: Rik van Riel Track which nodes NUMA faults are triggered from, in other words the CPUs on which the NUMA faults happened. This uses a similar mechanism to what is used to track the memory involved in numa faults. The next patches use this to build up a bitmap of which nodes a workload is

[PATCH 0/6] pseudo-interleaving for automatic NUMA balancing

2014-01-16 Thread riel
The current automatic NUMA balancing code base has issues with workloads that do not fit on one NUMA load. Page migration is slowed down, but memory distribution between the nodes where the workload runs is essentially random, often resulting in a suboptimal amount of memory bandwidth being

[PATCH 4/6] numa,sched: tracepoints for NUMA balancing active nodemask changes

2014-01-16 Thread riel
From: Rik van Riel Being able to see how the active nodemask changes over time, and why, can be quite useful. Cc: Peter Zijlstra Cc: Mel Gorman Cc: Ingo Molnar Cc: Chegu Vinod Signed-off-by: Rik van Riel Signed-off-by: Rik van Riel --- include/trace/events/sched.h | 34

[PATCH 3/6] numa,sched: build per numa_group active node mask from faults_from statistics

2014-01-16 Thread riel
From: Rik van Riel The faults_from statistics are used to maintain an active_nodes nodemask per numa_group. This allows us to be smarter about when to do numa migrations. Cc: Peter Zijlstra Cc: Mel Gorman Cc: Ingo Molnar Cc: Chegu Vinod Signed-off-by: Rik van Riel Signed-off-by: Rik van

[PATCH 6/6] numa,sched: normalize faults_from stats and weigh by CPU use

2014-01-16 Thread riel
From: Rik van Riel The tracepoint has made it abundantly clear that the naive implementation of the faults_from code has issues. Specifically, the garbage collector in some workloads will access orders of magnitudes more memory than the threads that do all the active work. This resulted in the

[PATCH 5/6] numa,sched,mm: use active_nodes nodemask to limit numa migrations

2014-01-16 Thread riel
From: Rik van Riel Use the active_nodes nodemask to make smarter decisions on NUMA migrations. In order to maximize performance of workloads that do not fit in one NUMA node, we want to satisfy the following criteria: 1) keep private memory local to each thread 2) avoid excessive NUMA migration

linux-next: Tree for Jan 17

2014-01-16 Thread Stephen Rothwell
Hi all, This tree fails (more than usual) the powerpc allyesconfig build. Changes since 20140116: Dropped tree: sh (complex merge conflicts against very old commits) The powerpc tree still had its build failure. The net-next tree gained a conflict against the net tree. The devicetree tree

I want to invest this fund.

2014-01-16 Thread Ms.Sarah Angus
Hi, Can you assist me to invest funds in your Country? if yes, then get back to me, so I can give you details and areas you can participate by being my partner. Ms. Sarah -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [Q] Why does kexec use device_shutdown rather than ubind them

2014-01-16 Thread Benjamin Herrenschmidt
On Thu, 2014-01-16 at 20:52 -0800, Eric W. Biederman wrote: > > I think we have largely survied until now because kdump is so popular > and kdump winds up having to reinitialize devices from any random > state. kdump also doesn't care too much if the device is still DMA'ing to the old kernel

Re: [PATCH] MODSIGN: Fix including certificate twice when the signing_key.x509

2014-01-16 Thread joeyli
於 四,2014-01-16 於 12:31 +,David Howells 提到: > > Are you asking for this to go upstream or into my devel-pekey branch? > > If upstream you want it to go upstream, I presume commit > d7ec435fdd03cfee70dba934ee384acc87bd6d00 doesn't fix the problem? > > David You are right. I tried the

[PATCH 2/2][v4] powerpc/config: Enable memory driver

2014-01-16 Thread Prabhakar Kushwaha
As Freescale IFC controller has been moved to driver to driver/memory. So enable memory driver in powerpc config Signed-off-by: Prabhakar Kushwaha --- Changes for v2: Sending as it is Changes for v3: Sending as it is Changes for v4: Rebased to

[PATCH 1/2][4] driver/memory:Move Freescale IFC driver to a common driver

2014-01-16 Thread Prabhakar Kushwaha
Freescale IFC controller has been used for mpc8xxx. It will be used for ARM-based SoC as well. This patch moves the driver to driver/memory and fix the header file includes. Also remove module_platform_driver() and instead call platform_driver_register() from subsys_initcall() to make

[PATCH] of: fix of_update_property()

2014-01-16 Thread Xiubo Li
The of_update_property() is intent to update a property in a node and if the property does not exist, will add it to the node. The second search of the property is possibly won't be found, that maybe removed by other thread just before the second search begain, if so just retry it.

Re: [RFC PATCH] sched: select_idle_sibling macro optimize

2014-01-16 Thread Alex Shi
On 01/17/2014 11:36 AM, Mike Galbraith wrote: > + > > >>> + /* skip single group domain */ > > >>> + if (sg == sg->next) > > >>> + continue; >>> > > >>> > > When is that gonna happen? >> > >> > I had seen this in a Intel platform, you may

Re: [patch/rfc] perf on raspberry-pi without overflow interrupt

2014-01-16 Thread Vince Weaver
On Thu, 16 Jan 2014, Peter Zijlstra wrote: > Yeah I suppose we could do something like that. Maybe something like: > > # cat /sys/bus/event_source/devices/cpu/flags > int precise filter wouldn't that violate the "one value per file" rule? I guess we could also stick it in the mmap page

Re: [PATCH net-next v2 3/3] reciprocal_divide: correction/update of the algorithm

2014-01-16 Thread Eric Dumazet
On Fri, 2014-01-17 at 05:29 +0100, Hannes Frederic Sowa wrote: > Also I doubt the performance drop for SLAB will be that massive. Also it was > already replaced by SLUB as the default SLAB allocator, which doesn't use > reciprocal_divide. Google servers use SLAB, not SLUB, for various reasons,

Re: [PATCH] mm/zswap: add writethrough option

2014-01-16 Thread Dan Streetman
On Wed, Jan 15, 2014 at 12:42 AM, Minchan Kim wrote: > Hello, > > On Tue, Jan 14, 2014 at 10:10:44AM -0500, Dan Streetman wrote: >> On Mon, Jan 13, 2014 at 7:11 PM, Minchan Kim wrote: >> > Hello Dan, >> > >> > Sorry for the late response and I didn't look at the code yet >> > because I am not

Re: gcc tickets for sparse attributes

2014-01-16 Thread H. Peter Anvin
On 01/16/2014 09:27 PM, H. Peter Anvin wrote: > Hi, > > I have filed gcc tickets asking for direct support in gcc for some > sparse extensions that we use heavily in the kernel: > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59850 > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59851 > Add:

[PATCH] MAINTAINERS: remove unnecessary EXYNOS DP DRIVER F: pattern

2014-01-16 Thread Jingoo Han
Remove unnecessary pattern for Exynos DP header from MAINTAINERS file. After the commit f9b1e01 "video: exynos_dp: remove non-DT support for Exynos Display Port", 'exynos_dp.h' has not been used. Signed-off-by: Jingoo Han --- MAINTAINERS |1 - 1 file changed, 1 deletion(-) diff --git

gcc tickets for sparse attributes

2014-01-16 Thread H. Peter Anvin
Hi, I have filed gcc tickets asking for direct support in gcc for some sparse extensions that we use heavily in the kernel: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59850 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59851 However, I would also like support for the context extensions, but I'm

Re: bio_integrity_verify() bug causing READ verify to be silently skipped

2014-01-16 Thread Nicholas A. Bellinger
On Fri, 2014-01-03 at 15:09 -0500, Martin K. Petersen wrote: > > "nab" == Nicholas A Bellinger writes: > > nab> Given that bio_integrity_verify() is using bio_for_each_segment(), > nab> the loop starts from the updated bio->bi_idx, and not a zero value, > nab> which ends up skipping

linux-next: manual merge of the pinctrl tree with the watchdog tree

2014-01-16 Thread Stephen Rothwell
Hi Linus, Today's linux-next merge of the pinctrl tree got a conflict in arch/arm/configs/bcm_defconfig between commit bd90ccd42c5d ("watchdog: bcm281xx: Watchdog Driver") from the watchdog tree and commit 54b1aa5a5b16 ("ARM: pinctrl: Add Broadcom Capri pinctrl driver") from the pinctrl tree. I

Re: [PATCH RT 4/8] rtmutex: use a trylock for waiter lock in trylock

2014-01-16 Thread Mike Galbraith
On Thu, 2014-01-16 at 23:22 -0500, Steven Rostedt wrote: > On Thu, 16 Jan 2014 04:08:57 +0100 > Mike Galbraith wrote: > > > On Wed, 2014-01-15 at 20:58 -0500, Steven Rostedt wrote: > > > > > > > 3.2.53-rt76-rc1 stable review patch. > > > If anyone has any objections, please let me know. > >

Re: [PATCH] mtd: davinci_nand: Remove unnecessary labels from error path

2014-01-16 Thread Prabhakar Lad
Hi Brian, On Fri, Jan 17, 2014 at 3:02 AM, Brian Norris wrote: > On Wed, Jan 15, 2014 at 01:38:26PM +0530, Prabhakar Lad wrote: >> From: "Lad, Prabhakar" >> >> This patch removes the unnecessary labels from >> the error path in probe function which did nothing >> than just returning error

Re: [RFC][PATCH] preempt: Debug for possible missed preemption checks

2014-01-16 Thread Andrew Morton
On Thu, 16 Jan 2014 23:57:51 -0500 Steven Rostedt wrote: > When PROVE_LOCKING and PREEMPT is configured, the preempt state > tracking is active. Testing this out, I added a module that did the > following: So I assume your kernel at least has no instances of this bug, so we don't need the patch

[RFC][PATCH] preempt: Debug for possible missed preemption checks

2014-01-16 Thread Steven Rostedt
Peter Zijlstra mentioned that he wanted to catch the following problem: local_irq_disable(); preempt_disable(); local_irq_enable(); local_irq_disable(); preempt_enable(); local_irq_enable(); Now what's wrong with the above? What happens if an interrupt comes in the middle of that (between

Re: [Q] Why does kexec use device_shutdown rather than ubind them

2014-01-16 Thread Eric W. Biederman
Benjamin Herrenschmidt writes: > Hi Folks ! > > Sorry for the semi-random CC list, not sure who owns kexec nowadays. So > we are working on a new crop of power servers for which the bootloader > is going to be using kexec. > > As expected, we've been chasing a number of reliability issues mostly

[PATCH] ACPI / processor: Return specific error value when mapping lapic id

2014-01-16 Thread Hanjun Guo
we usually return 0 for success in int returned function, and negative value when failed, but in processor_core.c, some function return 1 for success and 0 for failure which leads confusion sometimes, replace with specific error values to fix that. Signed-off-by: Hanjun Guo ---

[PATCH V2] cpuidle/governors: Fix logic in selection of idle states

2014-01-16 Thread Preeti U Murthy
The cpuidle governors today are not handling scenarios where no idle state can be chosen. Such scenarios coud arise if the user has disabled all the idle states at runtime or the latency requirement from the cpus is very strict. The menu governor returns 0th index of the idle state table when no

Re: linux-next: manual merge of the devicetree tree with the arm-soc tree

2014-01-16 Thread Jason Cooper
Stephen, On Fri, Jan 17, 2014 at 02:08:53PM +1100, Stephen Rothwell wrote: > Hi Grant, > > Today's linux-next merge of the devicetree tree got a conflict in > arch/arm/boot/dts/dove.dtsi between commits 40aad3c1a9b6 ("dt/bindings: > Remove all references to device_type "ethernet-phy"") and

Re: [PATCH net-next v2 3/3] reciprocal_divide: correction/update of the algorithm

2014-01-16 Thread Hannes Frederic Sowa
On Thu, Jan 16, 2014 at 06:33:37PM -0800, Eric Dumazet wrote: > On Fri, 2014-01-17 at 01:28 +0100, Hannes Frederic Sowa wrote: > > Jakub Zawadzki noticed that some divisions by reciprocal_divide() > > were not correct [1][2], which he could also show with BPF code after > > divisions are

Re: [PATCH RT 4/8] rtmutex: use a trylock for waiter lock in trylock

2014-01-16 Thread Steven Rostedt
On Thu, 16 Jan 2014 04:08:57 +0100 Mike Galbraith wrote: > On Wed, 2014-01-15 at 20:58 -0500, Steven Rostedt wrote: > > > > 3.2.53-rt76-rc1 stable review patch. > > If anyone has any objections, please let me know. > > Not sure this is needed without the tglx don't unconditionally raise >

[PATCH v3] ACPI: Fix acpi_evaluate_object() return value check

2014-01-16 Thread Yijing Wang
Fix acpi_evaluate_object() return value check, shoud acpi_status not int. Signed-off-by: Yijing Wang --- v2->v3: Fix compile error pointed out by Hanjun. v1->v2: Add CC to related subsystem MAINTAINERS --- drivers/gpu/drm/i915/intel_acpi.c | 24 ++--

Re: [PATCH REGRESSION FIX] x86 idle: restore mwait_idle()

2014-01-16 Thread Mike Galbraith
On Thu, 2014-01-16 at 14:00 -0800, Andy Lutomirski wrote: > On 01/14/2014 09:37 PM, Len Brown wrote: > > From: Len Brown > > > > In Linux-3.9 we removed the mwait_idle() loop: > > 'x86 idle: remove mwait_idle() and "idle=mwait" cmdline param' > > (69fb3676df3329a7142803bb3502fa59dc0db2e3) > > >

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

2014-01-16 Thread Stephen Rothwell
Hi all, On Fri, 10 Jan 2014 14:00:43 +1100 Stephen Rothwell wrote: > > After merging the kvm tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > arch/powerpc/kvm/../../../virt/kvm/kvm_main.c: In function 'kvm_vcpu_on_spin': >

Re: [PATCH v2] ACPI: Fix acpi_evaluate_object() return value check

2014-01-16 Thread Yijing Wang
>> diff --git a/drivers/gpu/drm/i915/intel_acpi.c >> b/drivers/gpu/drm/i915/intel_acpi.c >> index dfff090..7ea00e5 100644 >> --- a/drivers/gpu/drm/i915/intel_acpi.c >> +++ b/drivers/gpu/drm/i915/intel_acpi.c >> @@ -35,7 +35,7 @@ static int intel_dsm(acpi_handle handle, int func) >> union

Re: [PATCH v2 01/16] reset: add non CONFIG_RESET_CONTROLLER routines

2014-01-16 Thread Chen-Yu Tsai
Hi, On Fri, Jan 10, 2014 at 9:30 PM, Philipp Zabel wrote: > Hi, > > [Added Ivan, Stephen and Barry to Cc:] > > Am Freitag, den 10.01.2014, 15:00 +0800 schrieb Chen-Yu Tsai: >> Some drivers are shared between platforms that may or may not >> have RESET_CONTROLLER selected for them. > > I expected

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

2014-01-16 Thread Stephen Rothwell
Hi all, On Thu, 16 Jan 2014 14:51:08 -0800 "H. Peter Anvin" wrote: > > On 01/16/2014 02:34 PM, Stephen Rothwell wrote: > > > > On Thu, 16 Jan 2014 23:25:36 +0100 Peter Zijlstra > > wrote: > >> > >> On Fri, Jan 17, 2014 at 07:46:28AM +1100, Stephen Rothwell > >> wrote: > >>> > >>> On Thu, 16

Re: [PATCH v2] ACPI: Fix acpi_evaluate_object() return value check

2014-01-16 Thread Hanjun Guo
On 2014-1-17 9:29, Yijing Wang wrote: > Fix acpi_evaluate_object() return value check, > shoud acpi_status not int. > > Signed-off-by: Yijing Wang > --- > > v1->v2: Add CC to the related subsystem MAINTAINERS. > > --- > drivers/gpu/drm/i915/intel_acpi.c | 13 +++-- >

[Q] Why does kexec use device_shutdown rather than ubind them

2014-01-16 Thread Benjamin Herrenschmidt
Hi Folks ! Sorry for the semi-random CC list, not sure who owns kexec nowadays. So we are working on a new crop of power servers for which the bootloader is going to be using kexec. As expected, we've been chasing a number of reliability issues mostly due to drivers not behaving properly, such

Re: [PATCH] oprofile: check whether oprofile perf enabled in op_overflow_handler()

2014-01-16 Thread Weng Meiling
On 2014/1/17 3:36, Will Deacon wrote: > On Thu, Jan 16, 2014 at 11:52:45AM +, Robert Richter wrote: >> (cc'ing Will) > > Thanks Robert, > >> The problem of too low sample periods could be solved on ARM by using >> perf's interrupt throttling, you might play around with: >> >>

Re: [RFC PATCH] sched: select_idle_sibling macro optimize

2014-01-16 Thread Mike Galbraith
On Fri, 2014-01-17 at 10:14 +0800, Alex Shi wrote: > On 01/16/2014 09:52 PM, Mike Galbraith wrote: > > On Thu, 2014-01-16 at 21:13 +0800, Alex Shi wrote: > >> Add Mike Galbraith. > >> > >> Any one like to give some comments? > >> > >> On 01/15/2014 10:23 PM, Alex Shi wrote: > >>> If the sd

linux-next: manual merge of the tip tree with Linus' tree

2014-01-16 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in drivers/clocksource/cadence_ttc_timer.c between commit c1dcc927dae0 ("clocksource: cadence_ttc: Fix mutex taken inside interrupt context") from Linus' tree and commit dfded00902d7 ("clocksource: cadence_ttc_timer: Switch to

Re: Kernel stack overflows due to "powerpc: Remove ksp_limit on ppc64" with v3.13-rc8 on ppc32 (P2020)

2014-01-16 Thread Kevin Hao
On Fri, Jan 17, 2014 at 01:58:10PM +1100, Benjamin Herrenschmidt wrote: > On Fri, 2014-01-17 at 10:20 +0800, Kevin Hao wrote: > > On Thu, Jan 16, 2014 at 10:05:32AM -0800, Guenter Roeck wrote: > > > Hi all, > > > > > > I am getting kernel stack overflows with v3.13-rc8 on a system with P2020 > >

linux-next: manual merge of the dt-rh tree with the arm-soc tree

2014-01-16 Thread Stephen Rothwell
Hi Rob, Today's linux-next merge of the dt-rh tree got a conflict in Documentation/devicetree/bindings/vendor-prefixes.txt between commits 70e123373c05 ("rtc: Add support for Intersil ISL12057 I2C RTC chip") from the arm-soc tree and 53d6b36020c7 ("of: Add vendor prefix for LG Corporation") from

Re: Kernel stack overflows due to "powerpc: Remove ksp_limit on ppc64" with v3.13-rc8 on ppc32 (P2020)

2014-01-16 Thread Guenter Roeck
On 01/16/2014 06:58 PM, Benjamin Herrenschmidt wrote: On Fri, 2014-01-17 at 10:20 +0800, Kevin Hao wrote: On Thu, Jan 16, 2014 at 10:05:32AM -0800, Guenter Roeck wrote: Hi all, I am getting kernel stack overflows with v3.13-rc8 on a system with P2020 CPU. The kernel is patched for the target,

Re: [RFC PATCH] sched: select_idle_sibling macro optimize

2014-01-16 Thread Michael wang
On 01/17/2014 10:14 AM, Alex Shi wrote: [snip] >> >> When is that gonna happen? > > I had seen this in a Intel platform, you may have both CPU domain and MC > domain layer, because the domain flag is different, then they can not be > merged. and then the CPU domain just has one group. CPU and MC

linux-next: manual merge of the devicetree tree with the arm-soc tree

2014-01-16 Thread Stephen Rothwell
Hi Grant, Today's linux-next merge of the devicetree tree got a conflict in arch/arm/boot/dts/orion5x-lacie-ethernet-disk-mini-v2.dts between commit 6b6430e82331 ("ARM: orion5x: Fix typo in device_type property of phy node") from the arm-soc tree and commit 40aad3c1a9b6 ("dt/bindings: Remove all

linux-next: manual merge of the devicetree tree with the arm-soc tree

2014-01-16 Thread Stephen Rothwell
Hi Grant, Today's linux-next merge of the devicetree tree got a conflict in arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dts between commit 261e7735d0ed ("ARM: kirkwood: NETGEAR ReadyNAS Duo v2 .dts cleanup") from the arm-soc tree and commit 40aad3c1a9b6 ("dt/bindings: Remove all references

linux-next: manual merge of the devicetree tree with the arm-soc tree

2014-01-16 Thread Stephen Rothwell
Hi Grant, Today's linux-next merge of the devicetree tree got a conflict in arch/arm/boot/dts/dove.dtsi between commits 40aad3c1a9b6 ("dt/bindings: Remove all references to device_type "ethernet-phy"") and b31b32119abe ("ARM: dove: sort DT nodes by address") from the devicetree tree and commit

[PATCH 1/2] USB: at91: fix the number of endpoint parameter

2014-01-16 Thread Bo Shen
In sama5d3 SoC, there are 16 endpoints. As the USBA_NR_ENDPOINTS is only 7. So, fix it for sama5d3 SoC using the udc->num_ep. Signed-off-by: Bo Shen --- drivers/usb/gadget/atmel_usba_udc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/atmel_usba_udc.c

[PATCH 2/2] USB: at91: using USBA_NR_DMAS for DMA channels

2014-01-16 Thread Bo Shen
When the SoC is earlier than sama5d3 SoC, which have the same number endpoints and DMAs. However for sama5d3 SoC, it has different number for endpoints and DMAs. So, define USBA_NR_DMAs for DMA channels Signed-off-by: Bo Shen --- drivers/usb/gadget/atmel_usba_udc.c | 2 +-

Re: Kernel stack overflows due to "powerpc: Remove ksp_limit on ppc64" with v3.13-rc8 on ppc32 (P2020)

2014-01-16 Thread Benjamin Herrenschmidt
On Fri, 2014-01-17 at 10:20 +0800, Kevin Hao wrote: > On Thu, Jan 16, 2014 at 10:05:32AM -0800, Guenter Roeck wrote: > > Hi all, > > > > I am getting kernel stack overflows with v3.13-rc8 on a system with P2020 > > CPU. > > The kernel is patched for the target, but I don't think that is related.

RE: [PATCHv9 2/2] dma: Add Freescale eDMA engine driver support

2014-01-16 Thread Jingchang Lu
> -Original Message- > From: Mark Rutland [mailto:mark.rutl...@arm.com] > Sent: Thursday, January 16, 2014 7:12 PM > To: Lu Jingchang-B35083 > Cc: vinod.k...@intel.com; dan.j.willi...@intel.com; a...@arndb.de; > shawn@linaro.org; Pawel Moll; swar...@wwwdotorg.org; linux- >

Re: [RFC PATCH] sched: find the latest idle cpu

2014-01-16 Thread Nicolas Pitre
On Thu, 16 Jan 2014, Daniel Lezcano wrote: > The question raised when I looked closely how to fully integrate cpuidle with > the scheduler; in particular, the idle time. > The scheduler idle time is not the same than the cpuidle idle time. > A cpu can be idle for the scheduler 1s but it could be

Questionnaire: Valuation of contributions to FLOSS

2014-01-16 Thread Marcel Kühn
Hello everybody, I just wanna send out a quick reminder: I'm doing a study on the valuation of contributions to FLOSS projects and I'd really appreciate your participation. You can find it here: srv.bplaced.net Thanks a lot in advance! Cheers -- To unsubscribe from this list: send the line

Re: [PATCH net-next v2 3/3] reciprocal_divide: correction/update of the algorithm

2014-01-16 Thread Eric Dumazet
On Fri, 2014-01-17 at 01:28 +0100, Hannes Frederic Sowa wrote: > Jakub Zawadzki noticed that some divisions by reciprocal_divide() > were not correct [1][2], which he could also show with BPF code after > divisions are transformed into reciprocal_value() for runtime invariant > which can be passed

RE: [PATCHv9 2/2] dma: Add Freescale eDMA engine driver support

2014-01-16 Thread Jingchang Lu
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: Thursday, January 16, 2014 7:03 PM > To: Lu Jingchang-B35083 > Cc: vinod.k...@intel.com; dan.j.willi...@intel.com; shawn@linaro.org; > pawel.m...@arm.com; mark.rutl...@arm.com; swar...@wwwdotorg.org; linux- >

Re: Kernel stack overflows due to "powerpc: Remove ksp_limit on ppc64" with v3.13-rc8 on ppc32 (P2020)

2014-01-16 Thread Kevin Hao
On Thu, Jan 16, 2014 at 10:05:32AM -0800, Guenter Roeck wrote: > Hi all, > > I am getting kernel stack overflows with v3.13-rc8 on a system with P2020 CPU. > The kernel is patched for the target, but I don't think that is related. > Stack overflows are in different areas, but always in calls from

Re: [RFC PATCH] sched: select_idle_sibling macro optimize

2014-01-16 Thread Alex Shi
On 01/16/2014 09:52 PM, Mike Galbraith wrote: > On Thu, 2014-01-16 at 21:13 +0800, Alex Shi wrote: >> Add Mike Galbraith. >> >> Any one like to give some comments? >> >> On 01/15/2014 10:23 PM, Alex Shi wrote: >>> If the sd domain just has one group, then we must be caught the >>> i == target

[PATCH 3/3] ACPI: Introduce map_gic_id() to get apic id from MADT or _MAT method

2014-01-16 Thread Hanjun Guo
Get apic id from MADT or _MAT method is not implemented on arm/arm64, and ACPI 5.0 introduces GIC Structure for it, so this patch introduces map_gic_id() to get apic id followed the ACPI 5.0 spec. Signed-off-by: Hanjun Guo --- drivers/acpi/processor_core.c | 26 ++ 1

[PATCH 2/3] ACPI / processor_core: Rework _PDC related stuff to make it more arch-independent

2014-01-16 Thread Hanjun Guo
_PDC related stuff in processor_core.c is little bit X86/IA64 dependent, rework the code to make it more arch-independent, no functional change in this patch. The return value of acpi_processor_eval_pdc() should be 'acpi_status' but defined as 'int', fix it too. Signed-off-by: Hanjun Guo

[PATCH 1/3] ACPI / idle: Move idle_boot_override out of the arch directory

2014-01-16 Thread Hanjun Guo
Move idle_boot_override out of the arch directory to be a single enum including both platforms values, this will make it rather easier to avoid ifdefs around which definitions are for which processor in generally used ACPI code. IDLE_FORCE_MWAIT for IA64 is not used anywhere, so romove it. No

[PATCH 0/3] ACPI: Some patches to prepare for running ACPI on !x86 and !ia64

2014-01-16 Thread Hanjun Guo
Some of the ACPI code is arch-dependent and make the code can't be compiled on !x86 and !ia64, the first two patches just do some rework on the idle_boot_override and _PDC related stuff to make the ACPI code more arch-independent. The third patch just introduce map_gic_id() for ACPI processor

Re: [PATCH -next] sched/numa: document CLONE_VM behavior

2014-01-16 Thread Rik van Riel
On 01/15/2014 02:01 PM, Davidlohr Bueso wrote: > From: Davidlohr Bueso > > The changelog for Rik's "sched/numa: Stay on the same node if CLONE_VM" patch > serves well documented in the code. > > Signed-off-by: Davidlohr Bueso Reviewed-by: Rik van Riel -- All rights reversed -- To

Re: [PATCH] percpu_counter: unbreak __percpu_counter_add()

2014-01-16 Thread Ming Lei
On Fri, Jan 17, 2014 at 7:26 AM, Hugh Dickins wrote: > Commit 74e72f894d56 ("lib/percpu_counter.c: fix __percpu_counter_add()") > looked very plausible, but its arithmetic was badly wrong: obvious once > you see the fix, but maddening to get there from the weird tmpfs ENOSPCs > > Signed-off-by:

Re: [PATCH 3/4] fix module autoloading for ACPI enumerated devices

2014-01-16 Thread Zhang Rui
On Fri, 2014-01-17 at 02:28 +0100, Rafael J. Wysocki wrote: > On Thursday, January 16, 2014 04:04:35 PM Zhang Rui wrote: > > On Wed, 2014-01-15 at 17:08 +0200, Mika Westerberg wrote: > > > On Tue, Jan 14, 2014 at 04:46:37PM +0800, Zhang Rui wrote: > > > > diff --git a/drivers/base/platform.c

Re: [PATCH 2/2] Input: edt-ft5x06: Add DT support

2014-01-16 Thread Simon Budig
On 16/01/14 08:49, Lothar Waßmann wrote: >>> --- /dev/null >>> +++ b/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.txt >>> @@ -0,0 +1,31 @@ >>> +* EDT FT5x06 Multiple Touch Controller >>> + > [...] >>> +- threshold: allows setting the "click"-threshold in the range from 20 to >>>

Re: [PATCHv2 3/3] Input: edt-ft5x06: Add DT support

2014-01-16 Thread Simon Budig
Hi Dmitry On 17/01/14 01:26, Dmitry Torokhov wrote: >> + The following properties provide default values for the >> + corresponding parameters (see Documentation/input/edt-ft5x06.txt) >> +- edt,threshold: allows setting the "click"-threshold in the range from 20 >> to 80. >> +- edt,gain:

Re: [RFC PATCH 3/4] virtio_balloon: add pressure notification via a new virtqueue

2014-01-16 Thread Luiz Capitulino
On Thu, 16 Jan 2014 20:38:19 -0500 Luiz Capitulino wrote: > > What does qemu do with this information? > > There are two possible scenarios: > > 1. The balloon driver is currently inflating when it gets under > pressure > > QEMU resets "num_pages" to the current balloon size. This >

Re: [PATCH v4 02/15] clk: Allow drivers to pass in a regmap

2014-01-16 Thread Saravana Kannan
On 01/15/2014 01:36 AM, Mike Turquette wrote: Quoting Saravana Kannan (2014-01-13 19:54:42) On 01/08/2014 05:51 PM, Mike Turquette wrote: Quoting Stephen Boyd (2013-12-23 17:12:26) Add support to the clock core so that drivers can pass in a regmap. If no regmap is specified try to query the

[PATCH] clocksource: timer-sun5i: Switch to sched_clock_register()

2014-01-16 Thread Stephen Boyd
The 32 bit sched_clock interface supports 64 bits since 3.13-rc1. Upgrade to the 64 bit function to allow us to remove the 32 bit registration interface. Cc: Maxime Ripard Signed-off-by: Stephen Boyd --- Cc'in Ingo because this is simple enough to probably just apply to timers/core

Re: [RFC PATCH 3/4] virtio_balloon: add pressure notification via a new virtqueue

2014-01-16 Thread Luiz Capitulino
On Fri, 17 Jan 2014 09:10:47 +1030 Rusty Russell wrote: > Luiz Capitulino writes: > > From: Luiz capitulino > > > > This commit adds support to a new virtqueue called message virtqueue. > > OK, this needs a lot of thought (especially since reworking the virtio > balloon is on the TODO list

  1   2   3   4   5   6   7   8   9   10   >