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

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] 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

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

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: [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 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 > >>

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

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 >>

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

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,

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)

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

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] 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:

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].

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 >

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:

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

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

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

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

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 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 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

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

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

[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

[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 ---

[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 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 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

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 >

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: > >

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

<    7   8   9   10   11   12