Re: [PATCH] i2c: rk3x: init module as subsys call

2016-01-05 Thread Heiko Stuebner
Hi Tao, Am Dienstag, 5. Januar 2016, 15:42:32 schrieb Huang, Tao: > On 2016年01月05日 15:02, Heiko Stuebner wrote: > > Hi Jianqun, > > > > Am Dienstag, 5. Januar 2016, 11:02:18 schrieb jianqun.xu: > >> From: Xu Jianqun > >> > >> There is a requirement from pmic device, which is on the i2c bus, > >

Re: [PATCH v2 06/32] s390: reuse asm-generic/barrier.h

2016-01-05 Thread Martin Schwidefsky
On Mon, 4 Jan 2016 22:42:44 +0200 "Michael S. Tsirkin" wrote: > On Mon, Jan 04, 2016 at 04:03:39PM +0100, Martin Schwidefsky wrote: > > On Mon, 4 Jan 2016 14:20:42 +0100 > > Peter Zijlstra wrote: > > > > > On Thu, Dec 31, 2015 at 09:06:30PM +0200, Michael S. Tsirkin wrote: > > > > On s390 read_

Re: [Propose] Isolate core_pattern in mnt namespace.

2016-01-05 Thread Eric W. Biederman
Dongsheng Yang writes: > On 12/24/2015 12:36 AM, Eric W. Biederman wrote: >> Dongsheng Yang writes: > [...] > > Hi Eric, > Happy new year and sorry for the late reply. >> >> Given the other constraints on an implementation the pid namespace looks >> by far the one best suited to host such

Re: [PATCH 5/8 v6] thermal: rcar: enable to use thermal-zone on DT

2016-01-05 Thread Kuninori Morimoto
Hi ping ? > From: Kuninori Morimoto > > This patch enables to use thermal-zone on DT if it was calles as > "renesas,rcar-thermal-gen2". > Previous style (= non thermal-zone) is still supported by > "renesas,rcar-thermal" to keep compatibility for "git bisect". > > Signed-off-by: Kuninori Mori

Re: arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'

2016-01-05 Thread Guenter Roeck
On 01/04/2016 11:23 PM, kbuild test robot wrote: Hi Guenter, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 168309855a7d1e16db751e9c647119fe2d2dc878 commit: 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e MIPS: VDSO: F

Re: [PATCH v2 22/32] s390: define __smp_xxx

2016-01-05 Thread Martin Schwidefsky
On Mon, 4 Jan 2016 22:18:58 +0200 "Michael S. Tsirkin" wrote: > On Mon, Jan 04, 2016 at 02:45:25PM +0100, Peter Zijlstra wrote: > > On Thu, Dec 31, 2015 at 09:08:38PM +0200, Michael S. Tsirkin wrote: > > > This defines __smp_xxx barriers for s390, > > > for use by virtualization. > > > > > > Som

Re: thinkpad_acpi: BUG: unable to handle kernel NULL pointer dereference

2016-01-05 Thread Pali Rohár
Hello, looks like this fault is in acpi video module, not in thinkpad. CCing Hans who introduced this acpi video brightness key change. Hans, can you look at this bug? On Monday 04 January 2016 18:33:47 Jeremiah Mahler wrote: > all, > > Just tried linux-next 20160104 on a Lenovo Carbon X1 and I

Re: arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'

2016-01-05 Thread Fengguang Wu
On Tue, Jan 05, 2016 at 12:09:14AM -0800, Guenter Roeck wrote: > On 01/04/2016 11:23 PM, kbuild test robot wrote: > >Hi Guenter, > > > >First bad commit (maybe != root cause): > > > >tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > >master > >head: 168309855a7d1e16db7

Reading the same block via partition and non-partitioned device gives different content

2016-01-05 Thread Andrei Borzenkov
[Please Cc me on reply; thank you] QEMU KVM virtual machine with openSUSE Tumbleweed (kernel 4.3.3-3-default); MD RAID1 with 1.2 metadata on /dev/vdb1 and /dev/vdc1. If I do mdadm /dev/mdX --fail /dev/vdb1 mdadm /dev/mdX --add /dev/vdd1 and wait for synchronization to finish and then look direc

Re: rsi: Delete unnecessary variable initialisations in rsi_send_mgmt_pkt()

2016-01-05 Thread SF Markus Elfring
> That said, if you figure out some change that produces significant > reductions in code or binary size on multiple architectures without > making things more complicated, less readable or making the code or > binary size larger, then by all means propose it. Are you looking also for "a proof" th

Re: [RESEND PATCH] rtc: rk808: rename rtc-rk808.c to rtc-rk8xx.c

2016-01-05 Thread Huang, Tao
Hi, Alessandro: On 2016年01月04日 21:59, Alessandro Zummo wrote: > On Mon, 4 Jan 2016 10:45:46 +0100 > Alexandre Belloni wrote: > >> I'm not sure it is useful to do that renaming. It is usual to have one >> driver that supports multiple chips named with the forst chip it >> supported. >> >> Also, w

Re: [PATCH] base/platform: Fix platform drivers with no probe callback (ex alarmtimer)

2016-01-05 Thread Uwe Kleine-König
Hello, I think this is the same problem that another Martin found and fixed in http://mid.gmane.org/1449132704-9952-1-git-send-email-martin.wi...@ts.fujitsu.com I didn't check, but thought Greg already picked that up?! Best regards Uwe -- Pengutronix e.K. | Uwe Klein

Re: [PATCH] i2c: rk3x: init module as subsys call

2016-01-05 Thread Huang, Tao
Hi, Heiko: On 2016年01月05日 16:00, Heiko Stuebner wrote: > Hi Tao, > > Am Dienstag, 5. Januar 2016, 15:42:32 schrieb Huang, Tao: >> I don't think this is a good idea. This will trigger a lots of init call >> failed. Before pmic init, all i2c device driver transmit will failed, >> and because i2c i

Re: [PATCH] Add possibility to set /dev/tty number

2016-01-05 Thread Pierre Paul MINGOT
2016-01-04 19:41 GMT+01:00 Austin S. Hemmelgarn : > On 2016-01-04 12:11, Greg KH wrote: >> >> On Mon, Jan 04, 2016 at 11:57:33AM -0500, Austin S. Hemmelgarn wrote: >>> >>> On 2016-01-04 10:43, Greg KH wrote: On Mon, Jan 04, 2016 at 04:34:56PM +0100, Pierre Paul MINGOT wrote: > > H

Re: [PATCH v2 15/32] powerpc: define __smp_xxx

2016-01-05 Thread Michael S. Tsirkin
On Tue, Jan 05, 2016 at 09:36:55AM +0800, Boqun Feng wrote: > Hi Michael, > > On Thu, Dec 31, 2015 at 09:07:42PM +0200, Michael S. Tsirkin wrote: > > This defines __smp_xxx barriers for powerpc > > for use by virtualization. > > > > smp_xxx barriers are removed as they are > > defined correctly b

[PATCH 1/2] f2fs: check node id earily when readahead NAT page

2016-01-05 Thread Chao Yu
Add node id check in ra_node_page and get_node_page_ra like get_node_page. Signed-off-by: Chao Yu --- fs/f2fs/node.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index 6d5f548..c1ddf3d 100644 --- a/fs/f2fs/node.c +++ b/fs/f2fs/no

[STABLE] kernel oops which can be fixed by peterz's patches

2016-01-05 Thread Byungchul Park
Upstream commits to be applied == e3fca9e: sched: Replace post_schedule with a balance callback list 4c9a4bc: sched: Allow balance callbacks for check_class_changed() 8046d68: sched,rt: Remove return value from pull_rt_task() fd7a4be: sched, rt: Convert switched_{from,

Re: [RFC PATCH] arm64: perf test: Improbe bp_signal

2016-01-05 Thread Jiri Olsa
On Tue, Jan 05, 2016 at 04:58:00AM +, Wang Nan wrote: SNIP > diff --git a/tools/perf/tests/bp_signal.c b/tools/perf/tests/bp_signal.c > index fb80c9e..0bc4f76 100644 > --- a/tools/perf/tests/bp_signal.c > +++ b/tools/perf/tests/bp_signal.c > @@ -29,14 +29,55 @@ > > static int fd1; > stati

[PATCH 2/2] f2fs: introduce __get_node_page to reuse common code

2016-01-05 Thread Chao Yu
There are duplicated code in between get_node_page and get_node_page_ra, introduce __get_node_page to includes common parts of these two, and export get_node_page and get_node_page_ra by reusing __get_node_page. Signed-off-by: Chao Yu --- fs/f2fs/node.c | 88 +++--

Re: Nokia N900: Adjust MPU OPP values

2016-01-05 Thread Pali Rohár
On Saturday 02 January 2016 14:38:36 Nishanth Menon wrote: > On 01/02/2016 11:16 AM, Tony Lindgren wrote: > > * Pali Rohár [160102 06:31]: > >> Hello, > >> > >> MPU OPP table table (omap36xx_vddcore_volt_data) defined in > >> opp3xxx_data.c does not match Nokia N900 phone. For a long time we have

Re: [RESEND PATCH] rtc: rk808: rename rtc-rk808.c to rtc-rk8xx.c

2016-01-05 Thread Alexandre Belloni
Hi, On 05/01/2016 at 16:31:38 +0800, Huang, Tao wrote : > You and Alexandre are right. The rename is just make the driver more > readable, i.e. let people know this driver suit for more PMIC no just > rk808. In fact, I don't care the name is rk808 or rk8xx. > For this purpose, you can add the na

Re: [PATCH] i2c/designware: enable i2c controller to suspend/resume asynchronously

2016-01-05 Thread Jarkko Nikula
Hi On 12/24/2015 04:30 PM, Fu, Zhonghui wrote: Now, PM core supports asynchronous suspend/resume mode for devices during system suspend/resume, and the power state transition of one device may be completed in separate kernel thread. PM core ensures all power state transition dependency between d

Re: [PATCH v4 3/3] serial: amba-pl011: add ACPI support to AMBA probe

2016-01-05 Thread G Gregory
On 4 January 2016 at 23:13, Timur Tabi wrote: > On Wed, Dec 23, 2015 at 8:19 AM, Aleksey Makarov > wrote: >> From: Graeme Gregory >> >> In ACPI this device is only defined in SBSA mode so >> if we are coming from ACPI use this mode. >> >> Signed-off-by: Graeme Gregory >> Signed-off-by: Aleksey

Re: [RFC PATCH] arm64: perf test: Improbe bp_signal

2016-01-05 Thread Jiri Olsa
On Tue, Jan 05, 2016 at 04:58:00AM +, Wang Nan wrote: SNIP > + * - SIGUSR1 is delivered -> overflows_2 == 1 (nested signal) > + * - sig_handler_2 return > + * - sig_handler return > + * - fd3 event watchpoint hit -> count3 == 1 (wp and bp in one > insn)

Re: [PATCH v3 1/3] clocksource/vt8500: Increase the minimum delta

2016-01-05 Thread Daniel Lezcano
On 01/01/2016 02:24 PM, Roman Volkov wrote: From: Roman Volkov The vt8500 clocksource driver declares itself as capable to handle the minimum delay of 4 cycles by passing the value into clockevents_config_and_register(). The vt8500_timer_set_next_event() requires the passed cycles value to be a

Re: [RFC PATCH] arm64: perf test: Improbe bp_signal

2016-01-05 Thread Jiri Olsa
On Tue, Jan 05, 2016 at 04:58:00AM +, Wang Nan wrote: > Will Deacon [1] has some question on patch [2]. This patch improves > test__bp_signal so we can test: there's typo (s/Improbe/Improve) in subject ;-) jirka -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [PATCH 01/10] i2c-mux: add common core data for every mux instance

2016-01-05 Thread Peter Rosin
Hi Guenter, On 2016-01-04 16:37, Guenter Roeck wrote: > On 01/04/2016 07:10 AM, Peter Rosin wrote: >> From: Peter Rosin >> >> The initial core mux structure starts off small with only the parent >> adapter pointer, which all muxes have, and a priv pointer for mux >> driver private data. >> >> Add

Re: [RFC PATCH] arm64: perf test: Improbe bp_signal

2016-01-05 Thread Jiri Olsa
On Tue, Jan 05, 2016 at 04:58:00AM +, Wang Nan wrote: SNIP >* Following processing should happen: > @@ -141,6 +203,21 @@ int test__bp_signal(int subtest __maybe_unused) >* - fd1 event breakpoint hit -> count1 == 1 >* - SIGIO is delivered -> overflows == 1 >

Re: perf_event_open() ABI compatability

2016-01-05 Thread Peter Zijlstra
On Mon, Jan 04, 2016 at 05:19:13PM -0500, Vince Weaver wrote: > > So I think this might be revisiting an issue that has come up before, but > we're having backward compatability issues with PAPI and libpfm4 and > the perf_event_open() system call. > > If a user specifies exclude_guest=1 on an old

RE: [f2fs-dev] [PATCH 1/2] f2fs: check node id earily when readahead NAT page

2016-01-05 Thread Chao Yu
Hi Jaegeuk, This patch adds check for some missing cases in ("f2fs: return early when trying to read null nid "). Merging into that patch or merging separately is ok to me. Thanks, > -Original Message- > From: Chao Yu [mailto:chao2...@samsung.com] > Sent: Tuesday, January 05, 2016 4:52 P

[PATCH 1/1 v2] include/uapi/linux/sockios.h: mark SIOCRTMSG unused

2016-01-05 Thread Heinrich Schuchardt
IOCTL SIOCRTMSG does nothing but return EINVAL. So comment it as unused. SIOCRTMSG is only used in: * net/ipv4/af_inet.c * include/uapi/linux/sockios.h inet_ioctl calls ip_rt_ioctl. ip_rt_ioctl only handles SIOCADDRT and SIOCDELRT and returns -EINVAL otherwise. Signed-off-by: Heinrich Schuchard

Re: [STABLE] kernel oops which can be fixed by peterz's patches

2016-01-05 Thread Peter Zijlstra
On Tue, Jan 05, 2016 at 05:52:11PM +0900, Byungchul Park wrote: > > Upstream commits to be applied > == > > e3fca9e: sched: Replace post_schedule with a balance callback list > 4c9a4bc: sched: Allow balance callbacks for check_class_changed() > 8046d68: sched,rt: Remov

Re: [PATCH 1/5] perf tools: Fix segfault when using -s trace_fields

2016-01-05 Thread Jiri Olsa
On Tue, Jan 05, 2016 at 12:03:43PM +0900, Namhyung Kim wrote: > When the 'trace_fields' sort key is used explicitly for non-tracepoint > events, it'll get segfault since it assumed evsel->tp_format was set. > Skip those events in add_all_dynamic_fields(). Acked-by: Jiri Olsa thanks, jirka > >

[bug] wrong result of android callchain

2016-01-05 Thread He Kuang
I found a wrong result of aarch64 callchain when using perf script on a android phone. Here's the callchain record fragment from the output of perf script: init 369 [002] 339.970607: raw_syscalls:sys_enter: NR 22 (b, 7fd9e360a0, 10, , 0, 8) ...

[PATCH for v3.14.58 2/7] sched: Replace post_schedule with a balance callback list

2016-01-05 Thread Byungchul Park
From: Peter Zijlstra Generalize the post_schedule() stuff into a balance callback list. This allows us to more easily use it outside of schedule() and cross sched_class. Signed-off-by: Peter Zijlstra (Intel) Cc: ktk...@parallels.com Cc: rost...@goodmis.org Cc: juri.le...@gmail.com Cc: pang.xun.

[PATCH for v3.14.58 4/7] sched,rt: Remove return value from pull_rt_task()

2016-01-05 Thread Byungchul Park
From: Peter Zijlstra In order to be able to use pull_rt_task() from a callback, we need to do away with the return value. Since the return value indicates if we should reschedule, do this inside the function. Since not all callers currently do this, this can increase the number of reschedules du

[PATCH for v3.14.58 6/7] sched,dl: Remove return value from pull_dl_task()

2016-01-05 Thread Byungchul Park
From: Peter Zijlstra In order to be able to use pull_dl_task() from a callback, we need to do away with the return value. Since the return value indicates if we should reschedule, do this inside the function. Since not all callers currently do this, this can increase the number of reschedules du

[PATCH for v3.14.58 5/7] sched, rt: Convert switched_{from, to}_rt() / prio_changed_rt() to balance callbacks

2016-01-05 Thread Byungchul Park
From: Peter Zijlstra Remove the direct {push,pull} balancing operations from switched_{from,to}_rt() / prio_changed_rt() and use the balance callback queue. Again, err on the side of too many reschedules; since too few is a hard bug while too many is just annoying. Signed-off-by: Peter Zijlstra

[PATCH for v3.14.58 1/7] sched: Clean up idle task SMP logic

2016-01-05 Thread Byungchul Park
From: Peter Zijlstra The idle post_schedule flag is just a vile waste of time, furthermore it appears unneeded, move the idle_enter_fair() call into pick_next_task_idle(). Signed-off-by: Peter Zijlstra Cc: Daniel Lezcano Cc: Vincent Guittot Cc: alex@linaro.org Cc: mi...@kernel.org Cc: Ste

[PATCH for v3.14.58 7/7] sched, dl: Convert switched_{from, to}_dl() / prio_changed_dl() to balance callbacks

2016-01-05 Thread Byungchul Park
From: Peter Zijlstra Remove the direct {push,pull} balancing operations from switched_{from,to}_dl() / prio_changed_dl() and use the balance callback queue. Again, err on the side of too many reschedules; since too few is a hard bug while too many is just annoying. Signed-off-by: Peter Zijlstra

[PATCH for v3.14.58 3/7] sched: Allow balance callbacks for check_class_changed()

2016-01-05 Thread Byungchul Park
From: Peter Zijlstra In order to remove dropping rq->lock from the switched_{to,from}()/prio_changed() sched_class methods, run the balance callbacks after it. We need to remove dropping rq->lock because its buggy, suppose using sched_setattr()/sched_setscheduler() to change a running task from

Re: [PATCH -next] MIPS: VDSO: Fix build error with binutils 2.24 and earlier

2016-01-05 Thread Michal Marek
On 2015-12-24 13:57, James Hogan wrote: > On Thu, Dec 24, 2015 at 12:48:12PM +, James Hogan wrote: >> Hi Guenter, >> >> On Wed, Dec 23, 2015 at 09:04:31PM -0800, Guenter Roeck wrote: >>> Commit 2a037f310bab ("MIPS: VDSO: Fix build error") tries to fix a build >>> error seen with binutils 2.24 a

Re: [PATCH 2/5] perf tools: Add all matching dynamic sort keys for field name

2016-01-05 Thread Jiri Olsa
On Tue, Jan 05, 2016 at 12:03:44PM +0900, Namhyung Kim wrote: SNIP > static int add_dynamic_entry(struct perf_evlist *evlist, const char *tok) > { > char *str, *event_name, *field_name, *opt_name; > @@ -1995,7 +2017,12 @@ static int add_dynamic_entry(struct perf_evlist > *evlist, const c

Re: [PATCH] BTRFS: Runs the xor function if a Block has failed

2016-01-05 Thread David Sterba
On Wed, Dec 30, 2015 at 09:15:44PM -0500, Sanidhya Solanki wrote: > On Wed, 30 Dec 2015 18:18:26 +0100 > David Sterba wrote: > > > That's just the comment copied, the changelog does not explain why > > it's ok to do just the run_xor there. It does not seem trivial to me. > > Please describe that

[PATCH for v3.18.25 1/6] sched: Replace post_schedule with a balance callback list

2016-01-05 Thread Byungchul Park
From: Peter Zijlstra Generalize the post_schedule() stuff into a balance callback list. This allows us to more easily use it outside of schedule() and cross sched_class. Signed-off-by: Peter Zijlstra (Intel) Cc: ktk...@parallels.com Cc: rost...@goodmis.org Cc: juri.le...@gmail.com Cc: pang.xun.

[PATCH for v3.18.25 2/6] sched: Allow balance callbacks for check_class_changed()

2016-01-05 Thread Byungchul Park
From: Peter Zijlstra In order to remove dropping rq->lock from the switched_{to,from}()/prio_changed() sched_class methods, run the balance callbacks after it. We need to remove dropping rq->lock because its buggy, suppose using sched_setattr()/sched_setscheduler() to change a running task from

[PATCH for v3.18.25 3/6] sched,rt: Remove return value from pull_rt_task()

2016-01-05 Thread Byungchul Park
From: Peter Zijlstra In order to be able to use pull_rt_task() from a callback, we need to do away with the return value. Since the return value indicates if we should reschedule, do this inside the function. Since not all callers currently do this, this can increase the number of reschedules du

[PATCH for v3.18.25 5/6] sched,dl: Remove return value from pull_dl_task()

2016-01-05 Thread Byungchul Park
From: Peter Zijlstra In order to be able to use pull_dl_task() from a callback, we need to do away with the return value. Since the return value indicates if we should reschedule, do this inside the function. Since not all callers currently do this, this can increase the number of reschedules du

Re: [PATCH 3/5] perf tools: Add document for dynamic sort keys

2016-01-05 Thread Jiri Olsa
On Tue, Jan 05, 2016 at 12:03:45PM +0900, Namhyung Kim wrote: > Signed-off-by: Namhyung Kim Acked-by: Jiri Olsa thanks, jirka > --- > tools/perf/Documentation/perf-report.txt | 24 > 1 file changed, 24 insertions(+) > > diff --git a/tools/perf/Documentation/perf-repo

[PATCH for v3.18.25 6/6] sched, dl: Convert switched_{from, to}_dl() / prio_changed_dl() to balance callbacks

2016-01-05 Thread Byungchul Park
From: Peter Zijlstra Remove the direct {push,pull} balancing operations from switched_{from,to}_dl() / prio_changed_dl() and use the balance callback queue. Again, err on the side of too many reschedules; since too few is a hard bug while too many is just annoying. Signed-off-by: Peter Zijlstra

[PATCH for v3.18.25 4/6] sched, rt: Convert switched_{from, to}_rt() / prio_changed_rt() to balance callbacks

2016-01-05 Thread Byungchul Park
From: Peter Zijlstra Remove the direct {push,pull} balancing operations from switched_{from,to}_rt() / prio_changed_rt() and use the balance callback queue. Again, err on the side of too many reschedules; since too few is a hard bug while too many is just annoying. Signed-off-by: Peter Zijlstra

Re: [PATCH 4/5] perf tools: Support dynamic sort keys for -F/--fields

2016-01-05 Thread Jiri Olsa
On Tue, Jan 05, 2016 at 12:03:46PM +0900, Namhyung Kim wrote: > Now dynamic sort keys are supported for tracepoint events, add it to > output fields too. Acked-by: Jiri Olsa thanks, jirka -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to major

Re: [PATCH v2 4/6] clk: mediatek: Add MT2701 clock support

2016-01-05 Thread Philipp Zabel
Hi James, Am Dienstag, den 05.01.2016, 14:30 +0800 schrieb James Liao: > From: Shunli Wang > > Add MT2701 clock support, include topckgen, apmixedsys, > infracfg, pericfg and subsystem clocks. > > Signed-off-by: Shunli Wang > Signed-off-by: James Liao > --- > drivers/clk/mediatek/Kconfig

Re: [PATCH v2 22/32] s390: define __smp_xxx

2016-01-05 Thread Michael S. Tsirkin
On Tue, Jan 05, 2016 at 09:13:19AM +0100, Martin Schwidefsky wrote: > On Mon, 4 Jan 2016 22:18:58 +0200 > "Michael S. Tsirkin" wrote: > > > On Mon, Jan 04, 2016 at 02:45:25PM +0100, Peter Zijlstra wrote: > > > On Thu, Dec 31, 2015 at 09:08:38PM +0200, Michael S. Tsirkin wrote: > > > > This define

Re: [PATCH v2 5/6] reset: mediatek: mt2701 reset controller dt-binding file

2016-01-05 Thread Philipp Zabel
Am Dienstag, den 05.01.2016, 14:30 +0800 schrieb James Liao: > From: Shunli Wang > > Dt-binding file about reset controller is used to provide > kinds of definition, which is referenced by dts file and > IC-specified reset controller driver code. > > Signed-off-by: Shunli Wang > --- > .../dt-b

Re: [PATCH v2 6/6] reset: mediatek: mt2701 reset driver

2016-01-05 Thread Philipp Zabel
Am Dienstag, den 05.01.2016, 14:30 +0800 schrieb James Liao: > From: Shunli Wang > > In infrasys and perifsys, there are many reset > control bits for kinds of modules. These bits are > used as actual reset controllers to be registered > into kernel's generic reset controller framework. > > Sign

Re: [PATCH 5/5] perf evlist: Add -T/--trace option to show trace fields

2016-01-05 Thread Jiri Olsa
On Tue, Jan 05, 2016 at 12:03:47PM +0900, Namhyung Kim wrote: > To use dynamic sort keys, it might be good to add an option to see the > list of field names. > > $ perf evlist -T -i perf.data.sched > sched:sched_switch: > trace_fields=prev_comm,prev_pid,prev_prio,prev_state,next_comm,next_pid

RE: [f2fs-dev] [PATCH 1/3] f2fs: check the page status filled from disk

2016-01-05 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Sunday, January 03, 2016 9:26 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 1/3] f2fs: ch

RE: [f2fs-dev] [PATCH 2/3] f2fs: cover more area with nat_tree_lock

2016-01-05 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Sunday, January 03, 2016 9:26 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 2/3] f2fs: co

Re: [PATCH] Staging: speakup: Fix getting port information

2016-01-05 Thread Dan Carpenter
On Tue, Jan 05, 2016 at 02:19:12AM +0100, Samuel Thibault wrote: > --- a/drivers/staging/speakup/serialio.c > +++ b/drivers/staging/speakup/serialio.c > @@ -6,6 +6,9 @@ > #include "spk_priv.h" > #include "serialio.h" > > +#include > +#include > + I'm sorry to do this but can you add a commen

Re: [RFC PATCH 0/3] x86: Add support for guest DMA dirty page tracking

2016-01-05 Thread Michael S. Tsirkin
On Mon, Jan 04, 2016 at 07:11:25PM -0800, Alexander Duyck wrote: > >> The two mechanisms referenced above would likely require coordination with > >> QEMU and as such are open to discussion. I haven't attempted to address > >> them as I am not sure there is a consensus as of yet. My personal > >>

Re: [PATCH v6 2/7] dax: support dirty DAX entries in radix tree

2016-01-05 Thread Jan Kara
On Wed 23-12-15 12:39:15, Ross Zwisler wrote: > Add support for tracking dirty DAX entries in the struct address_space > radix tree. This tree is already used for dirty page writeback, and it > already supports the use of exceptional (non struct page*) entries. > > In order to properly track dirt

Re: [PATCH] arm: kernel: utilize hrtimer based broadcast

2016-01-05 Thread Thomas Gleixner
On Sat, 2 Jan 2016, Russell King - ARM Linux wrote: > On Tue, Dec 29, 2015 at 02:54:10PM +0100, Thomas Gleixner wrote: > > I have no real opinion about that patch. It does no harm to unconditionally > > setup the hrtimer based broadcast even if it's never used. > > > > Up to the arch maintainer to

Re: [PATCHv2 3/3] thermal: improve hot trip handling

2016-01-05 Thread Geert Uytterhoeven
Hi Eduardo, On Thu, Dec 17, 2015 at 8:13 PM, Eduardo Valentin wrote: > The idea is to add the choice to be notified only when temperature > crosses trip points. The trip points affected are the non-passive > trip points. > > It will check last temperature and current temperature against > the tri

Re: rsi: Delete unnecessary variable initialisations in rsi_send_mgmt_pkt()

2016-01-05 Thread Julian Calaby
Hi Markus, On Tue, Jan 5, 2016 at 7:29 PM, SF Markus Elfring wrote: >> That said, if you figure out some change that produces significant >> reductions in code or binary size on multiple architectures without >> making things more complicated, less readable or making the code or >> binary size la

Re: [PATCH v3 1/3] clocksource/vt8500: Increase the minimum delta

2016-01-05 Thread Roman Volkov
В Tue, 5 Jan 2016 10:01:07 +0100 Daniel Lezcano пишет: > On 01/01/2016 02:24 PM, Roman Volkov wrote: > > From: Roman Volkov > > > > The vt8500 clocksource driver declares itself as capable to handle > > the minimum delay of 4 cycles by passing the value into > > clockevents_config_and_register()

Re: [PATCH v5 01/11] arm-cci: Define CCI counter period

2016-01-05 Thread Suzuki K. Poulose
On 04/01/16 18:27, Mark Rutland wrote: On Mon, Jan 04, 2016 at 11:54:40AM +, Suzuki K. Poulose wrote: Instead of hard coding the period we program on the PMU counters, define a symbol. - u64 val = 1ULL << 31; - local64_set(&hwc->prev_count, val); - pmu_write_counter(eve

Re: [PATCH V5 9/9] hvsock: introduce Hyper-V VM Sockets feature

2016-01-05 Thread Vitaly Kuznetsov
Dexuan Cui writes: Just some minor nitpicks below -- I have to admit I didn't test the feature. [..skip..] > + > + if (sk->sk_err) { > + ret = -sk->sk_err; > + goto out_wait_error; > + } else { > + ret = 0; > + } > + > +out_wait: > + finish_w

Re: [PATCH v2 15/32] powerpc: define __smp_xxx

2016-01-05 Thread Boqun Feng
On Tue, Jan 05, 2016 at 10:51:17AM +0200, Michael S. Tsirkin wrote: > On Tue, Jan 05, 2016 at 09:36:55AM +0800, Boqun Feng wrote: > > Hi Michael, > > > > On Thu, Dec 31, 2015 at 09:07:42PM +0200, Michael S. Tsirkin wrote: > > > This defines __smp_xxx barriers for powerpc > > > for use by virtualiz

Re: [PATCH] lightnvm: add full block direct to the gc list

2016-01-05 Thread Wenwei Tao
You are right, a deadlock might occur if interrupt is not disabled. We might add the block to prio_list when we find the block is full in rrpc_alloc_addr and check whether all the writes are complete in rrpc_lun_gc, in this way we may avoid gcb allocation fail and irq disable issues. But this sti

[RFC PATCH v2] perf test: Improve bp_signal

2016-01-05 Thread Wang Nan
Will Deacon [1] has some question on patch [2]. This patch improves test__bp_signal so we can test: 1. A watchpoint and a breakpoint that fire on the same instruction 2. Nested signals Test result: On x86_64 and ARM64 (result are similar with patch [2] on ARM64): # ./perf test -v signal 17

Re: [PATCH v2 4/6] clk: mediatek: Add MT2701 clock support

2016-01-05 Thread James Liao
Hi Philipp, On Tue, 2016-01-05 at 10:30 +0100, Philipp Zabel wrote: > Hi James, > > Am Dienstag, den 05.01.2016, 14:30 +0800 schrieb James Liao: > > From: Shunli Wang > > > > Add MT2701 clock support, include topckgen, apmixedsys, > > infracfg, pericfg and subsystem clocks. > > > > Signed-off-

Re: [PATCH v5 05/11] arm-cci PMU: Delay counter writes to pmu_enable

2016-01-05 Thread Suzuki K. Poulose
On 04/01/16 19:24, Mark Rutland wrote: On Mon, Jan 04, 2016 at 11:54:44AM +, Suzuki K. Poulose wrote: Delay setting the event periods for enabled events to pmu::pmu_enable(). We mark the event.hw->state PERF_HES_ARCH for the events that we know have their counts recorded and have been starte

Re: [PATCH v2 5/6] reset: mediatek: mt2701 reset controller dt-binding file

2016-01-05 Thread James Liao
Hi Philipp, On Tue, 2016-01-05 at 10:31 +0100, Philipp Zabel wrote: > Am Dienstag, den 05.01.2016, 14:30 +0800 schrieb James Liao: > > From: Shunli Wang > > > > Dt-binding file about reset controller is used to provide > > kinds of definition, which is referenced by dts file and > > IC-specified

Re: [RFC PATCH 0/3] x86: Add support for guest DMA dirty page tracking

2016-01-05 Thread Dr. David Alan Gilbert
* Michael S. Tsirkin (m...@redhat.com) wrote: > On Mon, Jan 04, 2016 at 07:11:25PM -0800, Alexander Duyck wrote: > > >> The two mechanisms referenced above would likely require coordination > > >> with > > >> QEMU and as such are open to discussion. I haven't attempted to address > > >> them as I

Re: [PATCH] i2c: rk3x: init module as subsys call

2016-01-05 Thread Wolfram Sang
> > Tomeu from Collabora is working on some better scheme to optimize device > > probing order but it looks like this may be a bit off still. ... > I don't just talk about touch screen driver, most i2c device driver such > as input sensor/camera/rtc/battery will suffer. So people will see their

Re: [PATCH v3 1/3] clocksource/vt8500: Increase the minimum delta

2016-01-05 Thread Russell King - ARM Linux
On Tue, Jan 05, 2016 at 12:42:42PM +0300, Roman Volkov wrote: > Why multiply by two? Good question. Maybe there is a reserve for > stability. The value passed by the system to the set_next_event() should > be not lesser than this value, and theoretically, we should not > multiply MIN_OSCR_DELTA by

Re: [PATCH] base/platform: Fix platform drivers with no probe callback (ex alarmtimer)

2016-01-05 Thread Tero Roponen
On Tue, 5 Jan 2016, Uwe Kleine-König wrote: > Hello, > > I think this is the same problem that another Martin found and fixed in > > http://mid.gmane.org/1449132704-9952-1-git-send-email-martin.wi...@ts.fujitsu.com > > I didn't check, but thought Greg already picked that up?! I can confirm th

Re: [PATCH -next] MIPS: VDSO: Fix build error with binutils 2.24 and earlier

2016-01-05 Thread James Hogan
On Tue, Jan 05, 2016 at 10:20:59AM +0100, Michal Marek wrote: > On 2015-12-24 13:57, James Hogan wrote: > > On Thu, Dec 24, 2015 at 12:48:12PM +, James Hogan wrote: > >> Hi Guenter, > >> > >> On Wed, Dec 23, 2015 at 09:04:31PM -0800, Guenter Roeck wrote: > >>> Commit 2a037f310bab ("MIPS: VDSO:

4.3.3: error when plugging in USB stick

2016-01-05 Thread Rolf Eike Beer
[199328.874819] [ cut here ] [199328.874825] WARNING: CPU: 3 PID: 15727 at ../block/genhd.c:626 add_disk+0x43e/0x480() [199328.874827] Modules linked in: hid_cherry usb_storage cdc_phonet phonet hid_generic usbhid fuse ctr ccm af_packet nf_log_ipv6 xt_pkttype nf_log_ipv4

Re: [RFC PATCH v2] perf test: Improve bp_signal

2016-01-05 Thread Jiri Olsa
On Tue, Jan 05, 2016 at 09:57:55AM +, Wang Nan wrote: > Will Deacon [1] has some question on patch [2]. This patch improves > test__bp_signal so we can test: > > 1. A watchpoint and a breakpoint that fire on the same instruction > 2. Nested signals > > Test result: > > On x86_64 and ARM64

Re: [PATCH v3 1/3] clocksource/vt8500: Increase the minimum delta

2016-01-05 Thread Daniel Lezcano
On 01/05/2016 10:42 AM, Roman Volkov wrote: В Tue, 5 Jan 2016 10:01:07 +0100 Daniel Lezcano пишет: On 01/01/2016 02:24 PM, Roman Volkov wrote: From: Roman Volkov The vt8500 clocksource driver declares itself as capable to handle the minimum delay of 4 cycles by passing the value into clocke

Re: [PATCH] arm64: fix add kasan bug

2016-01-05 Thread Catalin Marinas
On Thu, Dec 31, 2015 at 10:09:09AM +, zhongjiang wrote: > From: zhong jiang > > In general, each process have 16kb stack space to use, but > stack need extra space to store red_zone when kasan enable. > the patch fix above question. > > Signed-off-by: zhong jiang > --- > arch/arm64/include

Re: [PATCH v4 5/6] mfd: dt-bindings: add device tree bindings for Hi3519 sysctrl

2016-01-05 Thread Philipp Zabel
Am Mittwoch, den 30.12.2015, 09:43 +0800 schrieb Jiancheng Xue: > Add device tree bindings for Hi3519 system controller. > > Signed-off-by: Jiancheng Xue > --- > Documentation/devicetree/bindings/mfd/hi3519.txt | 14 ++ > 1 file changed, 14 insertions(+) > create mode 100644 Documen

Re: [PATCH v4 1/6] clk: hisilicon: add CRG driver for hi3519 soc

2016-01-05 Thread Philipp Zabel
H Jiancheng, Am Mittwoch, den 30.12.2015, 09:43 +0800 schrieb Jiancheng Xue: > The CRG(Clock and Reset Generator) block provides clock > and reset signals for other modules in hi3519 soc. > > Signed-off-by: Jiancheng Xue > --- > .../devicetree/bindings/clock/hi3519-crg.txt | 46 +++ >

Re: [PATCH] arm64: fix add kasan bug

2016-01-05 Thread Catalin Marinas
On Mon, Jan 04, 2016 at 01:13:33PM -0800, Andrew Morton wrote: > On Thu, 31 Dec 2015 18:09:09 +0800 zhongjiang wrote: > > > From: zhong jiang > > > > In general, each process have 16kb stack space to use, but > > stack need extra space to store red_zone when kasan enable. > > the patch fix abov

Re: [PATCH] of/platform: export of_default_bus_match_table

2016-01-05 Thread Arnd Bergmann
On Tuesday 05 January 2016 11:17:53 Masahiro Yamada wrote: > Currently, drivers/bus/uniphier-system-bus.c is kept from being a > module due to the unresolved reference to of_default_bus_match_table. > > Refer to commit 326ea45aa827 ("bus: uniphier: allow only built-in > driver"). > > Signed-off-b

Re: [PATCH] rt2x00pci: Disable memory-write-invalidate when the driver exits

2016-01-05 Thread Helmut Schaa
On Tue, Jan 5, 2016 at 2:27 AM, Jia-Ju Bai wrote: > On 01/05/2016 12:50 AM, Helmut Schaa wrote: >> >> On Mon, Jan 4, 2016 at 8:55 AM, Jia-Ju Bai wrote: >>> >>> The driver calls pci_set_mwi to enable memory-write-invalidate when it >>> is initialized, but does not call pci_clear_mwi when it is rem

Re: Nokia N900: Broken lirc ir-rx51 driver

2016-01-05 Thread Pali Rohár
On Saturday 02 January 2016 09:06:57 Tony Lindgren wrote: > Hi, > > * Pali Rohár [160102 06:46]: > > --- a/drivers/media/rc/ir-rx51.c > > +++ b/drivers/media/rc/ir-rx51.c > > @@ -25,9 +25,9 @@ > > #include > > #include > > #include > > +#include > > > > -#include > > -#include > > +#in

Re: [PATCH] BTRFS: Adds an option to select RAID Stripe size

2016-01-05 Thread David Sterba
On Thu, Dec 31, 2015 at 08:46:36AM +0800, Qu Wenruo wrote: > > Let me note that a good reputation is also built from patch reviews > > (hint hint). > > I must admit I'm a bad reviewer. > As when I review something, I always has an eager to rewrite part or all > the patch to follow my idea, even i

Re: [bug] wrong result of android callchain

2016-01-05 Thread Peter Zijlstra
On Tue, Jan 05, 2016 at 05:14:37PM +0800, He Kuang wrote: > I found a wrong result of aarch64 callchain when using perf script on > a android phone. Might help to include the AARGH64 people then.. seeing I have no clue about all that. Cc's added, email preserved etc.. > > Here's the callchain re

Re: [PATCH 0/6] perf tools: Various fixes

2016-01-05 Thread Jiri Olsa
On Sun, Dec 27, 2015 at 12:57:16PM +0100, Jiri Olsa wrote: > On Fri, Dec 18, 2015 at 11:06:56AM +0200, Noel Grandin wrote: > > This series is > > > > Tested-By: Noel Grandin > > > > On 2015-12-17 10:26 PM, Jiri Olsa wrote: > > >hi, > > >sending several changes together: > > > - leftover for th

Re: [PATCH] mmc: host: arasan: sdhci-of-arasan: Remove no-hispd and no-cmd23 quirks for sdhci-arasan4.9a

2016-01-05 Thread Rameshwar Sahu
Hi Ulf, On Wed, Dec 23, 2015 at 6:59 PM, Rameshswar Prasad Sahu wrote: > From: Rameshwar Prasad Sahu > > The Arason SD host controller supports set block count command (cmd23) > and high speed mode. This patch re-enable both of these features that > was disabled. For device that doesn't support

Re: [PATCH v3 1/3] clocksource/vt8500: Increase the minimum delta

2016-01-05 Thread Daniel Lezcano
On 01/05/2016 11:00 AM, Russell King - ARM Linux wrote: On Tue, Jan 05, 2016 at 12:42:42PM +0300, Roman Volkov wrote: Why multiply by two? Good question. Maybe there is a reserve for stability. The value passed by the system to the set_next_event() should be not lesser than this value, and theor

Re: [PATCH V3 2/2] PM / OPP: Parse 'opp--' bindings

2016-01-05 Thread Geert Uytterhoeven
Hi Viresh, On Wed, Dec 9, 2015 at 3:31 AM, Viresh Kumar wrote: > OPP bindings (for few properties) allow a platform to choose a > value/range among a set of available options. The options are present as > opp--, where the platform needs to supply the string. > > The OPP properties which allow su

Re: [PATCH] BTRFS: Adds an option to select RAID Stripe size

2016-01-05 Thread David Sterba
On Wed, Dec 30, 2015 at 04:21:47PM -0500, Sanidhya Solanki wrote: > On Wed, 30 Dec 2015 17:17:22 +0100 > David Sterba wrote: > > > Let me note that a good reputation is also built from patch reviews > > (hint hint). > > Unfortunately, not too many patches coming in for BTRFS presently. > Mailing

Re: [RFC PATCH 0/3] x86: Add support for guest DMA dirty page tracking

2016-01-05 Thread Michael S. Tsirkin
On Tue, Jan 05, 2016 at 10:01:04AM +, Dr. David Alan Gilbert wrote: > * Michael S. Tsirkin (m...@redhat.com) wrote: > > On Mon, Jan 04, 2016 at 07:11:25PM -0800, Alexander Duyck wrote: > > > >> The two mechanisms referenced above would likely require coordination > > > >> with > > > >> QEMU an

Re: [PATCH 05/10] perf tools: Add dynamic sort key for tracepoint events

2016-01-05 Thread Jiri Olsa
On Mon, Dec 21, 2015 at 11:26:48PM +0900, Namhyung Kim wrote: SNIP > + free(str); > + return ret; > +} > + > static int __sort_dimension__add(struct sort_dimension *sd) > { > if (sd->taken) > @@ -1667,6 +1887,9 @@ static int sort_dimension__add(const char *tok, sort_dimension__ad

Re: [RFC/PATCH] perf report: Show random usage tip on the help line

2016-01-05 Thread Namhyung Kim
Hi, On Tue, Jan 05, 2016 at 02:32:47PM +0800, Wangnan (F) wrote: > > > On 2016/1/5 13:36, Namhyung Kim wrote: > >Currently perf report only shows a help message "For a higher level > >overview, try: perf report --sort comm,dso" unconditionally (even if > >the sort keys were used). Add more help

Re: [RFC PATCH 0/3] x86: Add support for guest DMA dirty page tracking

2016-01-05 Thread Dr. David Alan Gilbert
* Michael S. Tsirkin (m...@redhat.com) wrote: > On Tue, Jan 05, 2016 at 10:01:04AM +, Dr. David Alan Gilbert wrote: > > * Michael S. Tsirkin (m...@redhat.com) wrote: > > > On Mon, Jan 04, 2016 at 07:11:25PM -0800, Alexander Duyck wrote: > > > > >> The two mechanisms referenced above would likel

  1   2   3   4   5   6   7   8   9   10   >