Re: [PATCH-v2 4/7] mmc: sdhci-pxav3: Add pinctl setting according to bus clock

2015-09-07 Thread Jisheng Zhang
On Mon, 7 Sep 2015 16:48:38 +0530 Vaibhav Hiremath wrote: > Different bus clock may need different pin setting. > For example, fast bus clock like 208Mhz need pin drive fast > while slow bus clock prefer pin drive slow to guarantee > signal quality. > > So this patch creates two states, > - De

Re: [PATCH-v2 5/7] mmc: sdhci-pxav3: Fix HS200 mode support

2015-09-07 Thread Jisheng Zhang
On Mon, 7 Sep 2015 16:48:39 +0530 Vaibhav Hiremath wrote: > From: Kevin Liu > > IN case of MMC HS200 mode, current code does not enable > SD_CE_ATA_2.MMC_HS200 & SD_CE_ATA_2.MMC_CARD bit configurations. > > So this patch updates the above bit fields correctly. > > Signed-off-by: Tim Wang > S

Re: [PATCH V2 00/14] perf tools: Fix gaps propagating maps

2015-09-07 Thread Jiri Olsa
On Mon, Sep 07, 2015 at 05:27:42PM +0300, Adrian Hunter wrote: > Hi > > Here is V2 of "Fix gaps propagating maps" that fixes some problems > revealed by to d988d5ee6478 ("perf evlist: Open event on evsel cpus and > threads") > > Changes in V2: > Split into multiple patches > Add evse

Re: [PATCH-v2 4/7] mmc: sdhci-pxav3: Add pinctl setting according to bus clock

2015-09-07 Thread Jisheng Zhang
On Mon, 7 Sep 2015 16:48:38 +0530 Vaibhav Hiremath wrote: > Different bus clock may need different pin setting. > For example, fast bus clock like 208Mhz need pin drive fast > while slow bus clock prefer pin drive slow to guarantee > signal quality. > > So this patch creates two states, > - De

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-07 Thread Wanpeng Li
On 9/8/15 10:10 AM, Byungchul Park wrote: hello wanpeng, On Mon, Sep 07, 2015 at 05:45:20PM +0800, Wanpeng Li wrote: The sleeper task will be normalized when moved from fair_sched_class, in order that vruntime will be adjusted either the task is running or sleeping when moved back. The nomaliza

Re: [PATCH V2 03/14] perf tools: Remove redundant validation from perf_evlist__propagate_maps

2015-09-07 Thread Jiri Olsa
On Mon, Sep 07, 2015 at 05:27:45PM +0300, Adrian Hunter wrote: > The validation checks that the values that were just assigned, got > assigned i.e. the error can't ever happen. Subsequent patches will > call this code in places where errors are not being returned. > Changing those code paths to re

Re: [PATCH 07/12] mm, page_alloc: Distinguish between being unable to sleep, unwilling to sleep and avoiding waking kswapd

2015-09-07 Thread Joonsoo Kim
2015-08-24 21:09 GMT+09:00 Mel Gorman : > __GFP_WAIT has been used to identify atomic context in callers that hold > spinlocks or are in interrupts. They are expected to be high priority and > have access one of two watermarks lower than "min" which can be referred > to as the "atomic reserve". __G

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-07 Thread Byungchul Park
On Tue, Sep 08, 2015 at 02:23:56PM +0800, Wanpeng Li wrote: > On 9/8/15 2:14 PM, Byungchul Park wrote: > >On Tue, Sep 08, 2015 at 01:38:08PM +0800, Wanpeng Li wrote: > >>On 9/8/15 1:28 PM, Byungchul Park wrote: > >>>On Tue, Sep 08, 2015 at 11:46:01AM +0800, Wanpeng Li wrote: > On 9/7/15 10:02 P

Re: [PATCH V2 07/14] perf tools: Add evsel->own_cpus

2015-09-07 Thread Jiri Olsa
On Mon, Sep 07, 2015 at 05:27:49PM +0300, Adrian Hunter wrote: > perf_evlist__propagate_maps() cannot easily tell if an evsel > has its own cpu map. To make that simpler, keep a copy of > the PMU cpu map and adjust the propagation logic accordingly. > > Signed-off-by: Adrian Hunter > --- > tool

Re: [PATCH] arm64: kernel: Use a separate stack for irq interrupts.

2015-09-07 Thread AKASHI Takahiro
On 09/08/2015 10:45 AM, AKASHI Takahiro wrote: Jungseok, On 09/08/2015 01:34 AM, Jungseok Lee wrote: On Sep 8, 2015, at 1:06 AM, James Morse wrote: On 07/09/15 16:48, Jungseok Lee wrote: On Sep 7, 2015, at 11:36 PM, James Morse wrote: Hi James, Having to handle interrupts on top of an exis

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-07 Thread Byungchul Park
On Tue, Sep 08, 2015 at 02:28:17PM +0900, Byungchul Park wrote: > On Tue, Sep 08, 2015 at 11:46:01AM +0800, Wanpeng Li wrote: > > On 9/7/15 10:02 PM, Peter Zijlstra wrote: > > >Please always Cc at least the person who wrote the lines you modify. > > > > > >On Mon, Sep 07, 2015 at 05:45:20PM +0800,

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-07 Thread Wanpeng Li
On 9/8/15 2:32 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 03:14:26PM +0900, Byungchul Park wrote: On Tue, Sep 08, 2015 at 01:38:08PM +0800, Wanpeng Li wrote: On 9/8/15 1:28 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 11:46:01AM +0800, Wanpeng Li wrote: On 9/7/15 10:02 PM, Peter Z

Re: [Qemu-devel] [PATCH 19/23] userfaultfd: activate syscall

2015-09-07 Thread Bharata B Rao
On Tue, Sep 08, 2015 at 04:08:06PM +1000, Michael Ellerman wrote: > On Wed, 2015-08-12 at 10:53 +0530, Bharata B Rao wrote: > > On Tue, Aug 11, 2015 at 03:48:26PM +0200, Andrea Arcangeli wrote: > > > Hello Bharata, > > > > > > On Tue, Aug 11, 2015 at 03:37:29PM +0530, Bharata B Rao wrote: > > > >

Re: eata fails to load on post 4.2 kernels

2015-09-07 Thread Jiang Liu
On 2015/9/8 14:32, Arthur Marsh wrote: > > > Jiang Liu wrote on 08/09/15 14:49: >> Hi Auhur, >> Could you please help to apply the test patch >> against the latest mainstream linux kernel? >> Thanks! >> Gerry > > Done, and it appears to work properly thanks! Hi Authur, We just got the root c

Re: [4.2, Regression] Queued spinlocks cause major XFS performance regression

2015-09-07 Thread Davidlohr Bueso
On Mon, 07 Sep 2015, Linus Torvalds wrote: On Sun, Sep 6, 2015 at 11:57 PM, Peter Zijlstra wrote: Just to continue the argument for arguments sake, the function is named 'virt' (not paravirt) and tests the HYPERVISOR CPUID bit. How is that not appropriately named? Well, I think right now on

Re: eata fails to load on post 4.2 kernels

2015-09-07 Thread Arthur Marsh
Jiang Liu wrote on 08/09/15 14:49: Hi Auhur, Could you please help to apply the test patch against the latest mainstream linux kernel? Thanks! Gerry Done, and it appears to work properly thanks! Arthur. [0.00] Initializing cgroup subsys cpuset [0.00] Initializing cgro

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-07 Thread Byungchul Park
On Tue, Sep 08, 2015 at 03:14:26PM +0900, Byungchul Park wrote: > On Tue, Sep 08, 2015 at 01:38:08PM +0800, Wanpeng Li wrote: > > On 9/8/15 1:28 PM, Byungchul Park wrote: > > >On Tue, Sep 08, 2015 at 11:46:01AM +0800, Wanpeng Li wrote: > > >>On 9/7/15 10:02 PM, Peter Zijlstra wrote: > > >>>Please a

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-07 Thread Wanpeng Li
On 9/8/15 2:14 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 01:38:08PM +0800, Wanpeng Li wrote: On 9/8/15 1:28 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 11:46:01AM +0800, Wanpeng Li wrote: On 9/7/15 10:02 PM, Peter Zijlstra wrote: Please always Cc at least the person who wrote th

[PATCH v18 0/4] ARM: rk3288: Add PM Domain support

2015-09-07 Thread Caesar Wang
Thank you all for providing inputs and comments on previous versions of this patchset. Especially thanks to the (Kevin, Heiko, Dmitry, Doug, ULF, Michael). Add power domain drivers based on generic power domain for Rockchip platform, and support RK3288 SoCs. Verified on url = https://chro

[PATCH v18 4/4] ARM: dts: add the support power-domain node on RK3288 SoCs

2015-09-07 Thread Caesar Wang
We can add more domains node in the future. This patch add the needed clocks into power-controller. As the discuess about all the device clocks being listed in the power-domains itself. There are several reasons as follows: Firstly, the clocks need be turned off to save power when the system ente

[PATCH v18 1/4] dt-bindings: add document of Rockchip power domains

2015-09-07 Thread Caesar Wang
This add the necessary binding documentation for the power domains found on Rockchip SoCs. Signed-off-by: jinkun.hong Signed-off-by: Caesar Wang --- Changes in v18: - remove the notes of domains from dt-binding. Changes in v17: - add the decription in detail for RK3288 SoCs. Changes in v16:

[PATCH v18 2/4] ARM: power-domain: rockchip: add all the domain type on RK3288 SoCs

2015-09-07 Thread Caesar Wang
According to a description from TRM, add all the power domains. At the moment, we can support some domains on RK3288. We can add more types on RK3288 in the future, that's need to do. Signed-off-by: Caesar Wang --- Changes in v18: None Changes in v17: - delete the ugly chart in the commit. Ch

[PATCH v18 3/4] soc: rockchip: power-domain: Add power domain driver

2015-09-07 Thread Caesar Wang
This driver is found on RK3288 SoCs. In order to meet high performance and low power requirements, a power management unit is designed or saving power when RK3288 in low power mode. The RK3288 PMU is dedicated for managing the power of the whole chip. PMU can work in the Low Power Mode by setting

[PATCH v7 2/5] dt-bindings: Add a binding for Mediatek xHCI host controller

2015-09-07 Thread Chunfeng Yun
add a DT binding documentation of xHCI host controller for the MT8173 SoC from Mediatek. Signed-off-by: Chunfeng Yun --- .../devicetree/bindings/usb/mt8173-xhci.txt| 52 ++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/mt81

[PATCH v7 1/5] dt-bindings: Add usb3.0 phy binding for MT65xx SoCs

2015-09-07 Thread Chunfeng Yun
add a DT binding documentation of usb3.0 phy for MT65xx SoCs from Mediatek. Signed-off-by: Chunfeng Yun --- .../devicetree/bindings/phy/phy-mt65xx-usb.txt | 69 ++ 1 file changed, 69 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/phy-mt65xx-usb.tx

[PATCH v7 5/5] arm64: dts: mediatek: add xHCI & usb phy for mt8173

2015-09-07 Thread Chunfeng Yun
add xHCI and phy drivers for MT8173-EVB Signed-off-by: Chunfeng Yun --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 16 +++ arch/arm64/boot/dts/mediatek/mt8173.dtsi| 44 + 2 files changed, 60 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt817

[PATCH v7 3/5] usb: phy: add usb3.0 phy driver for mt65xx SoCs

2015-09-07 Thread Chunfeng Yun
support usb3.0 phy of mt65xx SoCs Signed-off-by: Chunfeng Yun --- drivers/phy/Kconfig | 9 + drivers/phy/Makefile | 1 + drivers/phy/phy-mt65xx-usb3.c | 456 ++ 3 files changed, 466 insertions(+) create mode 100644 drivers/phy/phy-m

[PATCH v7 4/5] xhci: mediatek: support MTK xHCI host controller

2015-09-07 Thread Chunfeng Yun
There some vendor quirks for MTK xhci host controller: 1. It defines some extra SW scheduling parameters for HW to minimize the scheduling effort for synchronous and interrupt endpoints. The parameters are put into reseved DWs of slot context and endpoint context. 2. Its IMODI unit for Interr

[PATCH v7 0/5] Mediatek xHCI support

2015-09-07 Thread Chunfeng Yun
The patch supports MediaTek's xHCI controller. There are some differences from xHCI spec: 1. The interval is specified in 250 * 8ns increments for Interrupt Moderation Interval(IMODI) of the Interrupter Moderation(IMOD) register, it is 8 times as much as that defined in xHCI spec. 2. For the valu

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-07 Thread Byungchul Park
On Tue, Sep 08, 2015 at 01:38:08PM +0800, Wanpeng Li wrote: > On 9/8/15 1:28 PM, Byungchul Park wrote: > >On Tue, Sep 08, 2015 at 11:46:01AM +0800, Wanpeng Li wrote: > >>On 9/7/15 10:02 PM, Peter Zijlstra wrote: > >>>Please always Cc at least the person who wrote the lines you modify. > >>> > >>>On

Re: [Qemu-devel] [PATCH 19/23] userfaultfd: activate syscall

2015-09-07 Thread Michael Ellerman
On Wed, 2015-08-12 at 10:53 +0530, Bharata B Rao wrote: > On Tue, Aug 11, 2015 at 03:48:26PM +0200, Andrea Arcangeli wrote: > > Hello Bharata, > > > > On Tue, Aug 11, 2015 at 03:37:29PM +0530, Bharata B Rao wrote: > > > May be it is a bit late to bring this up, but I needed the following fix > > >

Re: [PATCH 3/7] devcg: Added infrastructure for rdma device cgroup.

2015-09-07 Thread Haggai Eran
On 07/09/2015 23:38, Parav Pandit wrote: > diff --git a/include/linux/device_cgroup.h b/include/linux/device_cgroup.h > index 8b64221..cdbdd60 100644 > --- a/include/linux/device_cgroup.h > +++ b/include/linux/device_cgroup.h > @@ -1,6 +1,57 @@ > +#ifndef _DEVICE_CGROUP > +#define _DEVICE_CGROUP >

Re: [PATCH 4/7] devcg: Added rdma resource tracker object per task

2015-09-07 Thread Haggai Eran
On 07/09/2015 23:38, Parav Pandit wrote: > @@ -2676,7 +2686,7 @@ static inline int thread_group_empty(struct task_struct > *p) > * Protects ->fs, ->files, ->mm, ->group_info, ->comm, keyring > * subscriptions and synchronises with wait4(). Also used in procfs. Also > * pins the final relea

Re: [GIT PULL] Please pull NFS client changes

2015-09-07 Thread Christoph Hellwig
On Tue, Sep 08, 2015 at 11:59:00AM +1000, Stephen Rothwell wrote: > This contains about 12 commits new since Sept 1 and the last 6 are only > appearing in linux-next today (though I did not do Friday and Monday's > linux-next). Not judging, just noting. And one of tese recent commits causes a reg

Re: [PATCH v2 6/6] selftests: exec: simpification the Makefile

2015-09-07 Thread Michael Ellerman
On Mon, 2015-09-07 at 22:04 +0800, Bamvor Jian Zhang wrote: > selftests: exec: simpification the Makefile Please give us a better subject, ie something like: selftests/exec: Revert to default emit rule > With the previous patch, the installation method change from install > to rsync. There is n

Re: Use (two) different compilers at build-time?

2015-09-07 Thread Sedat Dilek
On Tue, Sep 8, 2015 at 7:45 AM, Sedat Dilek wrote: > On Tue, Sep 8, 2015 at 12:30 AM, Sedat Dilek wrote: >> On Mon, Sep 7, 2015 at 11:20 PM, Sedat Dilek wrote: >>> On Mon, Sep 7, 2015 at 10:59 PM, Linus Torvalds >>> wrote: On Mon, Sep 7, 2015 at 1:53 PM, Sedat Dilek wrote: > > Tha

Re: [PATCH v2 5/6] selftests: change install command to rsync

2015-09-07 Thread Michael Ellerman
On Mon, 2015-09-07 at 22:04 +0800, Bamvor Jian Zhang wrote: > The command of install could not handle the special files in exec > testcases, change the default rule to rsync to fix this. > The result of installation is unchanged after this commit. > > Suggested-by: Michael Ellerman > Signed-off-b

[PATCH v2 2/4] perf: Add function to enable perf events in kernel with ring buffer

2015-09-07 Thread Takao Indoh
perf_event_create_kernel_counter is used to enable perf events in kernel without buffer for logging its events. This patch add new fucntion which enable perf events with ring buffer. Intel PT logger uses this to enable Intel PT and some associated events with its log buffer. Signed-off-by: Takao I

[PATCH v2 4/4] x86: Stop Intel PT and save its registers when panic occurs

2015-09-07 Thread Takao Indoh
When panic occurs, Intel PT logging is stopped to prevent it from overwrite its log buffer. The registers of Intel PT are saved in the memory on panic, they are needed for debugger to find the last position where Intel PT wrote data. Signed-off-by: Takao Indoh --- arch/x86/kernel/crash.c |9

[PATCH v2 0/4] x86: Intel Processor Trace Logger

2015-09-07 Thread Takao Indoh
Hi all, These patch series provide logging feature for Intel Processor Trace (Intel PT). Intel PT is a new feature of Intel CPU "Broadwell", it captures information about program execution flow. Here is a article about Intel PT. https://software.intel.com/en-us/blogs/2013/09/18/processor-tracing

[PATCH v2 3/4] perf/x86/intel/pt: Add Intel PT logger

2015-09-07 Thread Takao Indoh
This patch provides Intel PT logging feature. When system boots with a parameter "intel_pt_log", log buffers for Intel PT are allocated and logging starts, then processor flow information is written in the log buffer by hardware like flight recorder. This is very helpful to investigate a cause of k

[PATCH v2 1/4] perf/trace: Add function to find event type by name

2015-09-07 Thread Takao Indoh
This patch adds function to find struct trace_event by event name like "sched_switch" , and return its type so that Intel PT logger can enable the trace event in kernel. Intel PT logger needs this because it needs sched_switch tracing to collect side-band data. Signed-off-by: Takao Indoh --- inc

Re: [PATCH v2 4/6] selftests: mqueue: simpification the Makefile

2015-09-07 Thread Michael Ellerman
On Mon, 2015-09-07 at 22:04 +0800, Bamvor Jian Zhang wrote: > selftests: mqueue: simpification the Makefile This should be: selftests/mqueue: Simplify the Makefile And please write a change log, even for simple commits like this. You can say something like: Use make's implict rule for buil

Re: Use (two) different compilers at build-time?

2015-09-07 Thread Sedat Dilek
On Tue, Sep 8, 2015 at 12:30 AM, Sedat Dilek wrote: > On Mon, Sep 7, 2015 at 11:20 PM, Sedat Dilek wrote: >> On Mon, Sep 7, 2015 at 10:59 PM, Linus Torvalds >> wrote: >>> On Mon, Sep 7, 2015 at 1:53 PM, Sedat Dilek wrote: That does not work. >>> >>> .. because you didn't do what I tol

Re: [PATCH v2 3/6] selftests: mqueue: allow extra cflags

2015-09-07 Thread Michael Ellerman
On Mon, 2015-09-07 at 22:04 +0800, Bamvor Jian Zhang wrote: > change from = to += in order to pass the proper headers and librareis Please start your changelogs with a Capital letter, they are supposed to be proper English sentences. > (popt.h and libpopt.so) in order to build successful in cross

Re: [PATCH v2 2/6] selftests: only compile userfaultfd for x86 and powperpc

2015-09-07 Thread Michael Ellerman
On Mon, 2015-09-07 at 22:04 +0800, Bamvor Jian Zhang wrote: > Check it before compiling to avoid the failure of building and > installation. I asked you not to do this. http://lkml.kernel.org/r/1440991580.5735.4.ca...@ellerman.id.au Can you tell me why you ignored my comments? cheers -- To

Re: [PATCH v2 1/6] selftests: rename jump label to static_keys

2015-09-07 Thread Michael Ellerman
On Mon, 2015-09-07 at 22:04 +0800, Bamvor Jian Zhang wrote: > commit "2bf9e0a locking/static_keys: Provide a selftest" rename ^ d > jump_label directory to static_keys.

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-07 Thread Wanpeng Li
On 9/8/15 1:28 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 11:46:01AM +0800, Wanpeng Li wrote: On 9/7/15 10:02 PM, Peter Zijlstra wrote: Please always Cc at least the person who wrote the lines you modify. On Mon, Sep 07, 2015 at 05:45:20PM +0800, Wanpeng Li wrote: The sleeper task will

Re: [PATCH 1/2] crypto: testmgr: test IV value after a cipher operation

2015-09-07 Thread Herbert Xu
On Tue, Sep 08, 2015 at 05:23:59AM +0200, Stephan Mueller wrote: > Am Dienstag, 16. Juni 2015, 11:46:46 schrieb Boris Brezillon: > > Hi Herbert, > > >The crypto drivers are supposed to update the IV passed to the crypto > >request before calling the completion callback. > >Test for the IV value b

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-07 Thread Byungchul Park
On Tue, Sep 08, 2015 at 11:46:01AM +0800, Wanpeng Li wrote: > On 9/7/15 10:02 PM, Peter Zijlstra wrote: > >Please always Cc at least the person who wrote the lines you modify. > > > >On Mon, Sep 07, 2015 at 05:45:20PM +0800, Wanpeng Li wrote: > >>The sleeper task will be normalized when moved from

linux-next: Tree for Sep 8

2015-09-07 Thread Stephen Rothwell
Hi all, Please do not add material for v4.4 until after v4.3-rc1 is out. Changes since 20150903: I used the h8300 tree from next-20150828 since the current tree has been rebased onto something very old :-( The parisc-hd tree gained a conflict against Linus' tree. The v4l-dvb tree gained a conf

Re: eata fails to load on post 4.2 kernels

2015-09-07 Thread Jiang Liu
Hi Auhur, Could you please help to apply the test patch against the latest mainstream linux kernel? Thanks! Gerry On 2015/9/7 14:26, Arthur Marsh wrote: > > > Jiang Liu wrote on 07/09/15 12:36: >> On 2015/9/7 4:31, Arthur Marsh wrote: >>> Arthur Marsh wrote on 06/09/15 21:07: Arthur

Re: [PATCH] zram: don't copy invalid compression algorithms

2015-09-07 Thread Sergey Senozhatsky
On (09/08/15 13:50), Minchan Kim wrote: > For exmaple, disksize, max_comp_streams are changed only if > it is successful. > If your logic were right approach, we should change > max_comp_streams for *stupid* script although it doesn't check define stupid. is echo 210 > /sys/block/zram0/max_

Re: [PATCH v4 0/4] cpufreq-dt: add suspend frequency support

2015-09-07 Thread Viresh Kumar
On 08-09-15, 13:48, Krzysztof Kozlowski wrote: > Somehow my mind stuck on solving Exynos4x12 cpufreq issues. > > Right, it should go through Rafael's, probably except DTS patch (4/4) > because it depends on previous DTS changes. These changes are still in > arm-soc, not in Linus' tree [0]. That's

Re: [PATCH] leds:lp55xx: Correct Kconfig dependency for f/w user helper

2015-09-07 Thread Takashi Iwai
On Tue, 08 Sep 2015 02:30:07 +0200, Kim, Milo wrote: > > Hi Takashi, > > On 9/7/2015 11:19 PM, Jacek Anaszewski wrote: > > Hi Takashi, > > > > Thanks for chasing this. > > Milo, could you express your opinion? > > > > On 09/07/2015 02:25 PM, Takashi Iwai wrote: > >> The commit [b67893206fc0: leds

Re: [PATCH] zram: don't copy invalid compression algorithms

2015-09-07 Thread Sergey Senozhatsky
On (09/08/15 13:50), Minchan Kim wrote: [..] > And it's straightforward/consistent to change the thing's state > only if is successful. > what for? I provided several good reasons not to do this, because it makes life easier for users. we added this check in Jun 25, 2015 while this functionality

Re: [PATCH v6 1/2] perf,kvm/powerpc: Add kvm_perf.h for powerpc

2015-09-07 Thread Hemant Kumar
On 09/07/2015 10:40 AM, Michael Ellerman wrote: On Fri, 2015-09-04 at 17:51 -0300, Arnaldo Carvalho de Melo wrote: Em Tue, Sep 01, 2015 at 12:18:47PM +0530, Hemant Kumar escreveu: Should I try to process the 5 together, applying thest two first? Yes, this patchset needs to be applied befo

Re: [git pull] drm for 4.3

2015-09-07 Thread Dave Airlie
On 8 September 2015 at 14:04, Stephen Rothwell wrote: > Hi Dave, > > On Tue, 8 Sep 2015 13:01:21 +1000 Dave Airlie wrote: >> >> Is this to be a regular thing? because I know I'd prefer to merge >> fixes than wait for -rc1 to be an accurate copy of linux-next. > > It happens when I can (almost) ke

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

2015-09-07 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/net/ieee802154/at86rf230.c: In function 'at86rf230_stats_show': drivers/net/ieee802154/at86rf230.c:1650:6: error: void value not ignored as it ought to be ret = seq_printf(file, "SU

Re: [PATCH] zram: don't copy invalid compression algorithms

2015-09-07 Thread Minchan Kim
On Tue, Sep 08, 2015 at 10:58:31AM +0900, Sergey Senozhatsky wrote: > On (09/08/15 10:33), Sergey Senozhatsky wrote: > > > I don't understand your concern. To me, this patch makes sense to me. > > > Could you explain your point clearly, again? > > > > OK. suppose someone landed a typo in a 'zram d

Re: [PATCH v4 0/4] cpufreq-dt: add suspend frequency support

2015-09-07 Thread Krzysztof Kozlowski
On 08.09.2015 13:20, Viresh Kumar wrote: > On 08-09-15, 12:56, Krzysztof Kozlowski wrote: >> There were no comments from your side for this patchset nor for previous >> Marek's fix. After mentioned change and Bart's re-spin, do you plan to >> grab this patchset and send it for current v4.3 cycle? >

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

2015-09-07 Thread Maarten Lankhorst
Op 08-09-15 om 01:42 schreef Stephen Rothwell: > Hi all, > > On Thu, 3 Sep 2015 10:49:19 +1000 Stephen Rothwell > wrote: >> After merging the drm-misc tree, today's linux-next build (arm >> multi_v7_defconfig) failed like this: >> >> drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c: In function >> 'mdp

Re: [PATCH v4 0/4] cpufreq-dt: add suspend frequency support

2015-09-07 Thread Viresh Kumar
On 08-09-15, 12:56, Krzysztof Kozlowski wrote: > There were no comments from your side for this patchset nor for previous > Marek's fix. After mentioned change and Bart's re-spin, do you plan to > grab this patchset and send it for current v4.3 cycle? Why do you think it should go via Kukjin's tre

Re: [PATCH 2/3] selftests: add membarrier syscall test

2015-09-07 Thread Michael Ellerman
On Mon, 2015-09-07 at 16:01 +, Mathieu Desnoyers wrote: > - On Sep 3, 2015, at 11:36 PM, Michael Ellerman m...@ellerman.id.au wrote: > > On Thu, 2015-09-03 at 15:47 +, Mathieu Desnoyers wrote: > >> > >> My personal experience is that make headers_install does not necessarily > >> play

Re: [git pull] drm for 4.3

2015-09-07 Thread Stephen Rothwell
Hi Dave, On Tue, 8 Sep 2015 13:01:21 +1000 Dave Airlie wrote: > > Is this to be a regular thing? because I know I'd prefer to merge > fixes than wait for -rc1 to be an accurate copy of linux-next. It happens when I can (almost) keep up with Linus' merge rate (often I can't). It is not an issue

Re: [PATCH] powerpc32: memcpy: only use dcbz once cache is enabled

2015-09-07 Thread Michael Ellerman
On Mon, 2015-09-07 at 16:24 +0200, Christophe Leroy wrote: > memcpy() uses instruction dcbz to speed up copy by not wasting time > loading cache line with data that will be overwritten. > Some platform like mpc52xx do no have cache active at startup and > can therefore not use memcpy(). Allthough n

Re: [PATCH v4 0/4] cpufreq-dt: add suspend frequency support

2015-09-07 Thread Krzysztof Kozlowski
On 08.09.2015 11:46, Viresh Kumar wrote: > On 07-09-15, 17:41, Bartlomiej Zolnierkiewicz wrote: >> Hi, >> >> This patch series adds suspend frequency support (using opp-v2 >> bindings and suspend-opp functionality) to cpufreq-dt driver and >> then adds suspend opp for Exynos4412 based boards. >> >>

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-07 Thread Wanpeng Li
On 9/7/15 10:02 PM, Peter Zijlstra wrote: Please always Cc at least the person who wrote the lines you modify. On Mon, Sep 07, 2015 at 05:45:20PM +0800, Wanpeng Li wrote: The sleeper task will be normalized when moved from fair_sched_class, in order that vruntime will be adjusted either the tas

Re: [PATCH 1/2] crypto: testmgr: test IV value after a cipher operation

2015-09-07 Thread Stephan Mueller
Am Dienstag, 16. Juni 2015, 11:46:46 schrieb Boris Brezillon: Hi Herbert, >The crypto drivers are supposed to update the IV passed to the crypto >request before calling the completion callback. >Test for the IV value before considering the test as successful. May I ask whether there is anything

Re: [PATCH] kernel/sysctl.c: If "count" including the terminating byte '\0' the write system call should retrun success.

2015-09-07 Thread Sean Fu
On Fri, Aug 28, 2015 at 11:31 AM, Sean Fu wrote: > On Thu, Aug 27, 2015 at 4:32 PM, Sean Fu wrote: >> On Thu, Aug 27, 2015 at 10:32 AM, Steven Rostedt wrote: >>> On Thu, 27 Aug 2015 08:17:29 +0800 >>> Sean Fu wrote: strace execute result: write(3, "1\2\0", 3)= -1 E

Re: [git pull] drm for 4.3

2015-09-07 Thread Dave Airlie
On 8 September 2015 at 12:03, Stephen Rothwell wrote: > Hi Linus, > > On Fri, 4 Sep 2015 23:40:53 +0100 (IST) Dave Airlie wrote: >> >> This is the main pull request for the drm for 4.3. Nouveau is probably the >> biggest >> amount of changes in here, since it missed 4.2. Highlights below, along

Re: [v2,3/6] powerpc: kill mfvtb()

2015-09-07 Thread Kevin Hao
On Mon, Sep 07, 2015 at 07:29:42PM +1000, Michael Ellerman wrote: > On Mon, 2015-24-08 at 11:20:25 UTC, Kevin Hao wrote: > > This function is only used by get_vtb(). They are almost the same > > except the reading from the real register. Move the mfspr() to > > get_vtb() and kill the function mfvtb

[PATCH 0/2] perf: we can now read separate debug-info files based on a build ID

2015-09-07 Thread Dima Kogan
Date: Mon, 7 Sep 2015 19:27:01 -0700 (Please Cc me when replying; I'm not subscribed) Hi. Perf currently has trouble reading separate debug-info files when trying to look up symbols in a 'perf report'. According to the gdb documentation: https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-

[PATCH] ARM:mm: define arch-specific IOREMAP_MAX_ORDER only in !SMP && !LPAE case

2015-09-07 Thread Zhang Zhen
The arch-specific IOREMAP_MAX_ORDER is introduced in commit: ff0daca([ARM] Add section support to ioremap) and commit: a069c89 ([ARM] 3705/1: add supersection support to ioremap()). But supersections and sections mappings are only used in !SMP && !LPAE case. Otherwise, mapping is created using the

Re: [PATCH v4 0/4] cpufreq-dt: add suspend frequency support

2015-09-07 Thread Viresh Kumar
On 07-09-15, 17:41, Bartlomiej Zolnierkiewicz wrote: > Hi, > > This patch series adds suspend frequency support (using opp-v2 > bindings and suspend-opp functionality) to cpufreq-dt driver and > then adds suspend opp for Exynos4412 based boards. > > This patch series fixes suspend/resume support

Re: [PATCH v4 3/4] cpufreq-dt: add suspend frequency support

2015-09-07 Thread Viresh Kumar
On 07-09-15, 17:41, Bartlomiej Zolnierkiewicz wrote: > +#ifdef CONFIG_PM > + .suspend = cpufreq_generic_suspend, > +#endif I don't think there is any need of the #ifdef here. -- viresh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majo

Re: [PATCH V2 6/9] cpufreq: ondemand: queue work for policy->cpus together

2015-09-07 Thread Viresh Kumar
On 08-09-15, 07:41, Viresh Kumar wrote: > > > next_sampling = jiffies + usecs_to_jiffies(new_rate); > > > appointed_at = dbs_info->cdbs.dwork.timer.expires; > > > > For that to work we always need to do stuff for policy->cpus in sync. > > Do we? > > Hmm, we are not in 100% syn

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-07 Thread Byungchul Park
hello wanpeng, On Mon, Sep 07, 2015 at 05:45:20PM +0800, Wanpeng Li wrote: > The sleeper task will be normalized when moved from fair_sched_class, in > order that vruntime will be adjusted either the task is running or sleeping > when moved back. The nomalization in switch_to_fair for sleep task

Re: [PATCH V2 6/9] cpufreq: ondemand: queue work for policy->cpus together

2015-09-07 Thread Viresh Kumar
On 08-09-15, 03:33, Rafael J. Wysocki wrote: > > + /* Make sure the work is not canceled on policy->cpus */ > > I'm not sure what scenario can lead to that. Care to explain? CPUFREQ_GOV_STOP event called for the policy and so all its works are in canceled state. > > + if (!d

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

2015-09-07 Thread Wanpeng Li
Hi Paolo, Stephen, On 9/8/15 9:35 AM, Stephen Rothwell wrote: Hi all, 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 'grow_halt_poll_ns': arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:19

Re: [git pull] drm for 4.3

2015-09-07 Thread Stephen Rothwell
Hi Linus, On Fri, 4 Sep 2015 23:40:53 +0100 (IST) Dave Airlie wrote: > > This is the main pull request for the drm for 4.3. Nouveau is probably the > biggest > amount of changes in here, since it missed 4.2. Highlights below, along with > the usual > bunch of fixes. There are a few minor confli

Re: [PATCH] ARM: fix bug which lowmem size is limited to 760MB

2015-09-07 Thread Nicolas Pitre
On Tue, 8 Sep 2015, Russell King - ARM Linux wrote: > On Mon, Sep 07, 2015 at 03:40:36PM -0400, Nicolas Pitre wrote: > > On Mon, 7 Sep 2015, Arnd Bergmann wrote: > > > > > On Thursday 03 September 2015 21:24:00 Nicolas Pitre wrote: > > > > If 768MB targets were common place then it could be worth

Re: [PATCH V2 4/9] cpufreq: governor: Drop __gov_queue_work()

2015-09-07 Thread Viresh Kumar
On 08-09-15, 03:15, Rafael J. Wysocki wrote: > On Monday, July 27, 2015 05:58:09 PM Viresh Kumar wrote: > > __gov_queue_work() isn't required anymore and can be merged with > > gov_queue_work(). Do it. > > > > Signed-off-by: Viresh Kumar > > Quite frankly I don't see the point. But isn't that j

Re: [PATCH V2 3/9] cpufreq: ondemand: only queue canceled works from update_sampling_rate()

2015-09-07 Thread Viresh Kumar
On 08-09-15, 03:11, Rafael J. Wysocki wrote: > There really are two cases, either you pass a CPU or gov_queue_work() has to > walk policy->cpus. Right (At least for now, we are doing just that.) > Doing it the way you did hides that IMO. Maybe. But I see it otherwise. Adding special meaning to a

Re: [GIT PULL] Please pull NFS client changes

2015-09-07 Thread Stephen Rothwell
Hi Linus, On Mon, 07 Sep 2015 16:59:04 -0400 Trond Myklebust wrote: > > The following changes since commit 74d33293e467df61de1b1d8b2fbe29e550dec33b: > > Linux 4.2-rc5 (2015-08-02 18:34:55 -0700) > > are available in the git repository at: > > git://git.linux-nfs.org/projects/trondmy/linux

Re: [PATCH] zram: don't copy invalid compression algorithms

2015-09-07 Thread Sergey Senozhatsky
On (09/08/15 10:33), Sergey Senozhatsky wrote: > > I don't understand your concern. To me, this patch makes sense to me. > > Could you explain your point clearly, again? > > OK. suppose someone landed a typo in a 'zram device management' script > > echo llzo > /sys/block/zram0/comp_algorithm > -b

Re: [PATCH v2 1/5] perf probe: Split add_perf_probe_events()

2015-09-07 Thread Namhyung Kim
On Sun, Sep 06, 2015 at 03:47:37PM +0800, Wangnan (F) wrote: > Hi Namhyung, Hi, I'm off until Wednesday. I'll be able to take a look at it on Thursday. Thanks, Namhyung > > Thanks for this patchset. > > Could you plase have a look at patch 5/27 and 6/27 in my newest pull > request? > These

Re: [PATCH v5 0/5] Let the power allocator thermal governor run on any thermal zone

2015-09-07 Thread Daniel Kurtz
Hi Javi, On Mon, Sep 7, 2015 at 9:19 PM, Javi Merino wrote: > Relax the thermal governor requirements of sustainable_power and at > least two trip points so that it can be bound to any thermal zone. > Its behavior won't be optimal, it would be the best possible with the > data provided. I tested

Re: [PATCH] arm64: kernel: Use a separate stack for irq interrupts.

2015-09-07 Thread AKASHI Takahiro
Jungseok, On 09/08/2015 01:34 AM, Jungseok Lee wrote: On Sep 8, 2015, at 1:06 AM, James Morse wrote: On 07/09/15 16:48, Jungseok Lee wrote: On Sep 7, 2015, at 11:36 PM, James Morse wrote: Hi James, Having to handle interrupts on top of an existing kernel stack means the kernel stack must be

[PATCH] kasan: fix last shadow judgement in memory_is_poisoned_16()

2015-09-07 Thread Xishi Qiu
The shadow which correspond 16 bytes may span 2 or 3 bytes. If shadow only take 2 bytes, we can return in "if (likely(!last_byte)) ...", but it calculates wrong, so fix it. Signed-off-by: Xishi Qiu --- mm/kasan/kasan.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/mm

[PATCH V3 2/9] cpufreq: conservative: remove 'enable' field

2015-09-07 Thread Viresh Kumar
Conservative governor has its own 'enable' field to check if conservative governor is used for a CPU or not This can be checked by policy->governor with 'cpufreq_gov_conservative' and so this field can be dropped. Because its not guaranteed that dbs_info->cdbs.shared will a valid pointer for all

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

2015-09-07 Thread Stephen Rothwell
Hi all, 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 'grow_halt_poll_ns': arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:1931:2: error: implicit declaration of function 'trace_kvm_halt_p

Re: [PATCH V2 2/9] cpufreq: conservative: remove 'enable' field

2015-09-07 Thread Viresh Kumar
On 08-09-15, 02:17, Rafael J. Wysocki wrote: > > static inline unsigned int get_freq_target(struct cs_dbs_tuners *cs_tuners, > >struct cpufreq_policy *policy) > > { > > @@ -119,12 +132,14 @@ static int dbs_cpufreq_notifier(struct notifier_block > > *nb, un

Re: [PATCH v2] zram: fix possible use after free in zcomp_create()

2015-09-07 Thread Minchan Kim
On Tue, Sep 08, 2015 at 10:20:38AM +0900, Sergey Senozhatsky wrote: > On (09/08/15 10:07), Minchan Kim wrote: > [..] > > > + int ret; > > > > For the clarification, I want to call it as 'error' instead of ret. > > > > > > > > backend = find_backend(compress); > > > if (!backend) > > > @@ -3

Re: [PATCH] zram: don't copy invalid compression algorithms

2015-09-07 Thread Sergey Senozhatsky
On (09/08/15 10:14), Minchan Kim wrote: [..] > > NACK. > > > > This is intentional. We haven't returned 'invalid compression algorithm' > > error from comp_algorithm_store() historically, so someone's script can > > simply ignore it. However, the script will fail to init the device and > > user wi

Re: [PATCH v2] zram: fix possible use after free in zcomp_create()

2015-09-07 Thread Sergey Senozhatsky
On (09/08/15 10:07), Minchan Kim wrote: [..] > > + int ret; > > For the clarification, I want to call it as 'error' instead of ret. > > > > > backend = find_backend(compress); > > if (!backend) > > @@ -347,10 +348,10 @@ struct zcomp *zcomp_create(const char *compress, int > > max_str

[PATCH] Documentation: Remove misleading examples of the barriers in wake_*()

2015-09-07 Thread Boqun Feng
Two examples for barriers in wake_up() and co. in memory-barriers.txt are misleading, along with their explanations: 1. The example which wanted to explain the write barrier in wake_up() and co. [spotted by Oleg Nesterov ] 2. The example which wanted to explain that the write ba

Re: [PATCH] zram: don't copy invalid compression algorithms

2015-09-07 Thread Minchan Kim
Hey Sergey, On Tue, Sep 08, 2015 at 08:56:35AM +0900, Sergey Senozhatsky wrote: > On (09/07/15 21:48), Luis Henriques wrote: > > Validate the new compression algorithm before copying it into the zram > > 'compressor' field, keeping the old one if it's invalid. > > > > NACK. > > This is intentio

RE: [RFC PATCH] PM / Runtime: runtime: Add sysfs option for forcing runtime suspend

2015-09-07 Thread Tirdea, Irina
> -Original Message- > From: linux-input-ow...@vger.kernel.org > [mailto:linux-input-ow...@vger.kernel.org] On Behalf Of Rafael J. Wysocki > Sent: 08 September, 2015 0:20 > To: Tirdea, Irina > Cc: Alan Stern; linux...@vger.kernel.org; linux-in...@vger.kernel.org; > linux-kernel@vger.ker

RE: [PATCH v2 1/4] iio: bmc150: Use i2c regmap

2015-09-07 Thread Tirdea, Irina
> -Original Message- > From: Srinivas Pandruvada [mailto:srinivas.pandruv...@linux.intel.com] > Sent: 31 August, 2015 22:39 > To: Jonathan Cameron; Markus Pargmann; Tirdea, Irina > Cc: Lars-Peter Clausen; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; ker...@pengutronix.de >

  1   2   3   4   5   6   >