Re: [RFC][PATCH 2/2] cpufreq: schedutil: Force max frequency on busy CPUs

2017-03-27 Thread Vincent Guittot
On 25 March 2017 at 04:48, Joel Fernandes wrote: > Hi Vincent, > > On Thu, Mar 23, 2017 at 3:08 PM, Vincent Guittot > wrote: > [..] > So I'm not really aligned with the description of your problem: PELT > metric underestimates the load of the CPU. The PELT is just about > tracki

Re: Dell Inspiron 5558/0VNM2T hangs at resume from suspend when USB 3 is enabled

2017-03-27 Thread Mathias Nyman
On 24.03.2017 18:25, Diego Viola wrote: On Thu, Mar 23, 2017 at 2:12 PM, Diego Viola wrote: On Thu, Mar 23, 2017 at 2:02 PM, Mathias Nyman wrote: On 22.03.2017 19:51, Mathias Nyman wrote: On 22.03.2017 00:52, Diego Viola wrote: On Tue, Mar 21, 2017 at 12:29 PM, Diego Viola wrote: On Tu

RE: [PATCH v2 1/2] dts: arm64: add LS1043A DPAA support

2017-03-27 Thread Madalin-Cristian Bucur
> -Original Message- > From: Shawn Guo [mailto:shawn...@kernel.org] > Sent: Monday, March 27, 2017 9:27 AM > Subject: Re: [PATCH v2 1/2] dts: arm64: add LS1043A DPAA support > > On Wed, Mar 22, 2017 at 10:58:12AM +, Madalin-Cristian Bucur wrote: > > > > +&soc { > > > > + > > > > +/incl

Re: kvm: BUG in pte_list_remove

2017-03-27 Thread Wanpeng Li
2017-03-24 0:42 GMT+08:00 Dmitry Vyukov : > On Mon, Nov 14, 2016 at 10:43 AM, Dmitry Vyukov wrote: >> On Mon, Nov 14, 2016 at 10:34 AM, Paolo Bonzini wrote: >>> >>> >>> On 14/11/2016 10:03, Dmitry Vyukov wrote: Paolo, can you please also commit this test to tools/testing? We are fr

Re: [PATCH v1] Revert "extcon: usb-gpio: add support for ACPI gpio interface"

2017-03-27 Thread Andy Shevchenko
On Mon, 2017-03-27 at 13:18 +0900, Chanwoo Choi wrote: > Hi Andy, > > On 2017년 03월 22일 03:37, Andy Shevchenko wrote: > > The commit 942c7924a51e introduced a check for ACPI handle for the > > device that never appears on any ACPI-enabled platform so far. It > > seems > > a confusion with extcon-in

[PATCH 1/3] gpio - Add EXAR XRA1403 SPI GPIO expander driver

2017-03-27 Thread Nandor Han
This is a simple driver that provides a /sys/class/gpio interface for controlling and configuring the GPIO lines. It does not provide support for chip select or interrupts. Signed-off-by: Nandor Han Signed-off-by: Semi Malinen --- .../devicetree/bindings/vendor-prefixes.txt| 1 + driv

Re: [RFC][PATCH v3 2/2] cpufreq: schedutil: Avoid reducing frequency of busy CPUs prematurely

2017-03-27 Thread Vincent Guittot
On 25 March 2017 at 02:14, Sai Gurrappadi wrote: > Hi Rafael, > > On 03/21/2017 04:08 PM, Rafael J. Wysocki wrote: >> From: Rafael J. Wysocki >> >> The way the schedutil governor uses the PELT metric causes it to >> underestimate the CPU utilization in some cases. >> >> That can be easily demonst

[PATCH v3 3/3] perf annotate: Fix missing number of samples

2017-03-27 Thread Taeung Song
If running 'perf annotate --stdio -l --show-total-period', you can see a problem showing only zero '0' for number of samples. Before: $ perf annotate --stdio -l --show-total-period ... 0 :400816: push %rbp 0 :400817: mov%rsp,%rbp 0 :

[PATCH v3 1/3] perf annotate: Fix a bug reading link name from a build-id file

2017-03-27 Thread Taeung Song
It is wrong way to read link name from a build-id file. Because a build-id file is not symbolic link but build-id directory of it is symbolic link, so fix it. For example, if build-id file name gotten from dso__build_id_filename() is as below, /root/.debug/.build-id/4f/75c7d197c951659d1c1b8b5fd

Re: [RFC v5 2/9] sched/deadline: improve the tracking of active utilization

2017-03-27 Thread Juri Lelli
On 24/03/17 22:47, Luca Abeni wrote: > Hi Peter, > > On Fri, 24 Mar 2017 14:20:41 +0100 > Peter Zijlstra wrote: > > > On Fri, Mar 24, 2017 at 04:52:55AM +0100, luca abeni wrote: > > [...] > > > > In general I feel it would be nice to have a state diagram included > > somewhere near these two

[PATCH v3 2/3] perf annotate: Fix a bug of division by zero when calculating percent

2017-03-27 Thread Taeung Song
Currently perf-annotate with --print-line can print -nan(0x8) because of division by zero when calculating percent. The division by zero happen when a sum of samples is zero in symbol__get_source_line(), so fix it. For examples, After running 'perf record' like below, $ perf recor

[PATCH v3 0/3] perf annotate: Simple bugfixes

2017-03-27 Thread Taeung Song
Hi, perf-annotate has little bugs so I fix them. I'd appreciate some feedback on this patchset. :) Thanks, Taeung v3: - rebased on current acme/perf/core v2: - more clearly commit log messages (Arnaldo) - rebased on current acme/perf/core Taeung Song (3): perf annotate: Fix a bug reading lin

[PATCH v2] iio:adc: Driver for Linear Technology LTC2497 ADC

2017-03-27 Thread michael.hennerich
From: Michael Hennerich This patch adds support for the Analog Devices / Linear Technology LTC2497 ADCs. The LTC2497 is a 16-channel (eight differential), 16-bit, high precision, delta-sigma ADC with an automatic, differential, input current cancellation front end and a 2-wire, I2C interface. Si

Re: [PATCH] of: add stub for of_n_addr_cells

2017-03-27 Thread Arnd Bergmann
On Mon, Mar 27, 2017 at 7:54 AM, Tobias Regnery wrote: > On 24.03.17, Arnd Bergmann wrote: >> > >> > +static inline int of_n_addr_cells(struct device_node *np) >> > +{ >> > + return 0; >> > +} >> > + >> >> This looks good, but we should also do the same thing for of_n_size_cells(). >> >> I

[PATCH v2] ipmi: Fix kernel panic at ipmi_ssif_thread()

2017-03-27 Thread Joeseph Chang
From: Joeseph Chang Since patch v1 touch ssif_info->multi_pos and ssif_info->multi_data after ssif_i2c_send(). msg_written_handler can be called at any time after ssif_i2c_send(). There is possible to have concurrent access to ssif_info->multi_pos or ssif_info->multi_data at msg_written_handler.

[PATCH 3/3] Add XRA1403 support to MAINTAINERS file

2017-03-27 Thread Nandor Han
Add the XRA1403 support to MAINTAINERS list. Signed-off-by: Nandor Han --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 58b3a22..539c88c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13903,6 +13903,14 @@ L: linux-kernel@vger.kernel.

[PATCH] staging: speakup: fix warning for static declaration

2017-03-27 Thread Gustavo A. R. Silva
Fix the following sparse warning: symbol 'spk_serial_out' was not declared. Should it be static? Signed-off-by: Gustavo A. R. Silva --- drivers/staging/speakup/serialio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/speakup/serialio.c b/drivers/staging/spe

[PATCH] spi: spi-ti-qspi: Remove unused dma_dev variable

2017-03-27 Thread Vignesh R
commit 1351aaeb50b2 ("spi: spi-ti-qspi: Use dma_engine wrapper for dma memcpy call") introduced this warning: drivers/spi/spi-ti-qspi.c: In function 'ti_qspi_dma_xfer': drivers/spi/spi-ti-qspi.c:398:21: warning: unused variable 'dma_dev' [-Wunused-variable] struct dma_device *dma_dev = chan->de

[PATCH V5 1/4] arm64: dts: Add basic DT to support Spreadtrum's SP9860G

2017-03-27 Thread Chunyan Zhang
From: Orson Zhai SC9860G is a 8 cores of A53 SoC with 4G LTE support SoC from Spreadtrum. According to regular hierarchy of sprd dts, whale2.dtsi contains SoC peripherals IP nodes, sc9860.dtsi contains stuff related to ARM core stuff and sp9860g dts is for the board level. Signed-off-by: Orson

Re: [RFC v5 2/9] sched/deadline: improve the tracking of active utilization

2017-03-27 Thread Luca Abeni
On Fri, 24 Mar 2017 22:47:15 +0100 luca abeni wrote: [...] > > > + } else { > > > + /* > > > + * Since "dl_non_contending" is not set, the > > > + * task's utilization has already been removed > > > from > > > + * active utilization (either when the task > > > bl

[patch added to 3.12-stable] locking/static_keys: Add static_key_{en,dis}able() helpers

2017-03-27 Thread Jiri Slaby
From: Peter Zijlstra This patch has been added to the 3.12 stable tree. If you have any objections, please let us know. === commit e33886b38cc82a9fc3b2d655dfc7f50467594138 upstream. Add two helpers to make it easier to treat the refcount as boolean. [js] do not involve WARN_ON_ONC

[PATCH 0/3] XRA1403,gpio - add XRA1403 gpio expander driver

2017-03-27 Thread Nandor Han
The patchset will add a driver to support basic functionality for XRA1403 device. Features supported: - configure gpin as input/out - get/set gpio status Documentation: A gpio-xra1403.txt file was added to document the DTS bindings related to driver. Testing: 1. XRA1403 c

[PATCH] sched/core: switch to BUG_ON()

2017-03-27 Thread Nicholas Mc Guire
() when there is no core to run init on sounds resonable. Patch was compile-tested with: x86_64_defconfig (implies CONFIG_SMP=y) (some unrelated sparse warnings) Patch is against 4.11-rc4 (localversion-next is next-20170327) kernel/sched/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Build regressions/improvements in v4.11-rc4

2017-03-27 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.11-rc4[1] compared to v4.10[2]. Summarized: - build errors: +2/-1 - build warnings: +953/-479 JFYI, when comparing v4.11-rc4[1] to v4.11-rc3[3], the summaries are: - build errors: +2/-1 - build warnings: +146/-188 Ha

[GIT PULL] pin control fixes for v4.11 take two

2017-03-27 Thread Linus Walleij
Hi Linus, Here is a bunch of pin control fixes again. A bit more than I'd like for this subsystem at this point, but what can I do. They are all driver fixes for hardware issues, as like "we forgot", "we didn't think of the fact that this could happen", "oops that one goes there" etc. Please pull

Re: Build regressions/improvements in v4.11-rc4

2017-03-27 Thread Geert Uytterhoeven
On Mon, Mar 27, 2017 at 9:44 AM, Geert Uytterhoeven wrote: > JFYI, when comparing v4.11-rc4[1] to v4.11-rc3[3], the summaries are: > - build errors: +2/-1 + error: "vac_cache_size" [drivers/infiniband/sw/rxe/rdma_rxe.ko] undefined!: => N/A sparc64/sparc-allmodconfig > [1] > http://kisskb.

[RFC PATCH tip/master V2 0/8] kprobes/x86: Make kprobes instruction buffers read-only

2017-03-27 Thread Masami Hiramatsu
Hi, This is the 2nd version of the series, which has been updated only 8/8, built and tested correctly. (Sorry, in previous version I missed to build and tested different kernel.) This series tries to make kprobes instruction buffers read-only pages. Since those buffers are used for trampoline co

[RFC PATCH tip/master V2 1/8] kprobes/x86: Fix not to boost call far instruction

2017-03-27 Thread Masami Hiramatsu
Fix kprobe-booster not to boost call far instruction, because call may store the address in singlestep execution buffer to the stack, which should be modified after single stepping. Currently, this instruction will be filtered as not boostable in resume_execution(), so this is not a critical issue

Re: [PATCH] staging: speakup: fix warning for static declaration

2017-03-27 Thread Okash Khawaja
Hi Gustavo, On Mon, Mar 27, 2017 at 01:37:29AM -0500, Gustavo A. R. Silva wrote: > Fix the following sparse warning: > symbol 'spk_serial_out' was not declared. Should it be static? > > Signed-off-by: Gustavo A. R. Silva > --- > drivers/staging/speakup/serialio.c | 2 +- > 1 file changed, 1 ins

[RFC PATCH tip/master V2 2/8] kprobes/x86: Fix the description of __copy_instruction()

2017-03-27 Thread Masami Hiramatsu
Fix the description comment of __copy_instruction() function since it has already been changed to return the length of copied instruction. Signed-off-by: Masami Hiramatsu --- arch/x86/kernel/kprobes/core.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/x86/

[RFC PATCH tip/master V2 3/8] kprobes/x86: Use instruction decoder for booster

2017-03-27 Thread Masami Hiramatsu
Use x86 instruction decoder for checking whether the probed instruction is able to boost or not, instead of hand-written code. Signed-off-by: Masami Hiramatsu --- arch/x86/kernel/kprobes/core.c | 39 --- 1 file changed, 16 insertions(+), 23 deletions(-) dif

Re: [PATCH 2/6] hpet: remove unused writeq/readq function definitions

2017-03-27 Thread Corentin Labbe
improve the system] > > url: > https://github.com/0day-ci/linux/commits/Corentin-Labbe/hpet-misc-fix/20170327-070101 > config: i386-randconfig-x017-201713 (attached as .config) > compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 > reproduce: > # save the attached .co

Re: [PATCH] staging: speakup: fix warning for static declaration

2017-03-27 Thread Samuel Thibault
Gustavo A. R. Silva, on lun. 27 mars 2017 01:37:29 -0500, wrote: > Fix the following sparse warning: > symbol 'spk_serial_out' was not declared. Should it be static? > > Signed-off-by: Gustavo A. R. Silva Yes, indeed. Reviewed-by: Samuel Thibault Thanks > --- > drivers/staging/speakup/seria

Re: [PATCH v2 1/2] dts: arm64: add LS1043A DPAA support

2017-03-27 Thread Shawn Guo
On Mon, Mar 27, 2017 at 07:03:40AM +, Madalin-Cristian Bucur wrote: > > > > > + fman@1a0 { > > > > > + enet0: ethernet@e { > > > > > + }; > > > > > + > > > > > + enet1: ethernet@e2000 { > > > > > + }; > > > > > + > > > > > +

Re: [PATCH v2 06/18] arm64: arch_timer: Add infrastructure for multiple erratum detection methods

2017-03-27 Thread Daniel Lezcano
On Fri, Mar 24, 2017 at 01:51:47PM +, Marc Zyngier wrote: [ ... ] > > Hi Marc, > > > > I have been through the driver after applying the patchset. Again thanks for > > taking care of this. It is not a simple issue to solve, so here is my minor > > contribution. > > > > The resulting code so

[RFC PATCH tip/master V2 5/8] kprobes/x86: Make boostable flag boolean

2017-03-27 Thread Masami Hiramatsu
Make arch_specific_insn.boostable to boolean, since it has only 2 states, boostable or not. So it is better to use boolean from the viewpoint of code readability. Signed-off-by: Masami Hiramatsu --- arch/x86/include/asm/kprobes.h |7 +++ arch/x86/kernel/kprobes/core.c | 12 ++--

[RFC PATCH tip/master V2 7/8] kprobes/x86: Use probe_kernel_read instead of memcpy

2017-03-27 Thread Masami Hiramatsu
Use probe_kernel_read() for avoiding unexpected faults while copying kernel text in __recover_probed_insn(), __recover_optprobed_insn() and __copy_instruction(). Signed-off-by: Masami Hiramatsu --- Note that this is just an update patch which I had been sent to LKML last month ( https://lkml.

[RFC PATCH tip/master V2 6/8] kprobes/x86: Set kprobes pages readonly

2017-03-27 Thread Masami Hiramatsu
Set the pages which is used for kprobes' singlestep buffer and optprobe's trampoline instruction buffer to readonly. This can prevent unexpected (or unintended) instruction modification. This also passes rodata_test as below. Without this patch, rodata_test shows a warning: [ 10.041310] --

Re: [PATCH] staging: speakup: fix warning for static declaration

2017-03-27 Thread Samuel Thibault
Okash Khawaja, on lun. 27 mars 2017 08:51:02 +0100, wrote: > Thanks for this :) Could you also move the function higher in the same > file - above line 139 where all static functions are defined? I'd say no need for this. spk_serial_in is just above. Moving functions just for the sake of static v

Re: [PATCH] x86/boot: Support uncompressed kernel

2017-03-27 Thread Sebastian Andrzej Siewior
On 2017-03-24 13:35:40 [+0800], Chao Peng wrote: > > > > > kernel   kernel sizetime in decompress_kernel > > > > compressed (gzip)3.3M   53ms > > > > uncompressed 14M3ms > > > > Exactly, LZ4 is the fastest. It takes 16ms to complete the

[RFC PATCH tip/master V2 8/8] kprobes/x86: Consolidate insn decoder users for copying code

2017-03-27 Thread Masami Hiramatsu
Consolidate x86 instruction decoder users on the path of copying original code for kprobes. Kprobes decodes same instruction 3 times in maximum when preparing instruction buffer. The first time for getting the length of instruction, the 2nd for adjusting displacement, and the 3rd for checking whet

[PATCH v2 2/3] perf/sdt/x86: Move OP parser to tools/perf/arch/x86/

2017-03-27 Thread Ravi Bangoria
SDT marker argument is in N@OP format. N is the size of argument and OP is the actual assembly operand. OP is arch dependent component and hence it's parsing logic also should be placed under tools/perf/arch/. Signed-off-by: Ravi Bangoria --- tools/perf/arch/x86/util/perf_regs.c | 179 ++

[PATCH v2 1/3] perf/sdt/x86: Add renaming logic for (missing) 8 bit registers

2017-03-27 Thread Ravi Bangoria
I found couple of events using al, bl, cl and dl registers for argument. These are not directly accepted by uprobe_events and thus needs to be mapped to ax, bx, cx and dx respectively. Few ex, /usr/bin/qemu-system-s390x css_adapter_interrupt: 1@%bl css_chpid_add: 1@%cl 1@%sil 1@%dl

Re: [RFC v5 2/9] sched/deadline: improve the tracking of active utilization

2017-03-27 Thread Luca Abeni
Hi Juri, On Mon, 27 Mar 2017 08:17:45 +0100 Juri Lelli wrote: [...] > > > In general I feel it would be nice to have a state diagram > > > included somewhere near these two functions. It would be nice to > > > not have to dig out the PDF every time. > > > > Ok... Since I am not good at ascii a

Re: [PATCH 2/6] hpet: remove unused writeq/readq function definitions

2017-03-27 Thread Clemens Ladisch
Corentin Labbe wrote: > On Mon, Mar 27, 2017 at 07:49:34AM +0800, kbuild test robot wrote: >>drivers//char/hpet.c: In function 'hpet_timer_set_irq': drivers//char/hpet.c:207:7: error: implicit declaration of function 'readq' [-Werror=implicit-function-declaration] > > Wrongly believe

[PATCH v2 3/3] perf/sdt/powerpc: Add argument support

2017-03-27 Thread Ravi Bangoria
SDT marker argument is in N@OP format. Here OP is arch dependent component. Add powerpc logic to parse OP and convert it to uprobe compatible format. Signed-off-by: Ravi Bangoria --- tools/perf/arch/powerpc/util/perf_regs.c | 111 +++ 1 file changed, 111 insertions(+)

[PATCH v2 0/3] perf/sdt: Hardening argument support

2017-03-27 Thread Ravi Bangoria
SDT event argument support on x86 is recently added to Perf. But there are couple of issues with it. It lacks renaming mapping for few 8 bit registers: al, bl, cl and dl. SDT events using these registers in arguments are failing at 'perf probe'. Add renaming logic to that. (patch 1) It still has

[RFC PATCH tip/master V2 4/8] kprobes/x86: Do not modify singlestep buffer while resuming

2017-03-27 Thread Masami Hiramatsu
Do not modify singlestep execution buffer (kprobe.ainsn.insn) while resuming from single-stepping, instead, modifies the buffer to add a jump back instruction at preparing buffer. Signed-off-by: Masami Hiramatsu --- arch/x86/kernel/kprobes/core.c | 42 +++-

[PATCH 2/3] doc,dts - add XRA1403 DTS binding documentation

2017-03-27 Thread Nandor Han
Add the XRA1403 DTS binding documentation. Signed-off-by: Nandor Han --- .../devicetree/bindings/gpio/gpio-xra1403.txt | 37 ++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/gpio-xra1403.txt diff --git a/Documentation/device

Re: [PATCH v1 1/2] auxdisplay: Move panel.c to drivers/auxdisplay folder

2017-03-27 Thread Willy TARREAU
On Fri, Mar 24, 2017 at 04:19:43PM +0100, Geert Uytterhoeven wrote: > Hi Andy, > > On Fri, Mar 24, 2017 at 3:29 PM, Andy Shevchenko > wrote: > > On Fri, 2017-03-24 at 15:19 +0100, Geert Uytterhoeven wrote: > >> On Fri, Mar 24, 2017 at 3:06 PM, Andy Shevchenko > >> wrote: > >> > It looks like pan

RE: [PATCH v2 1/2] dts: arm64: add LS1043A DPAA support

2017-03-27 Thread Madalin-Cristian Bucur
> -Original Message- > From: Shawn Guo [mailto:shawn...@kernel.org] > Sent: Monday, March 27, 2017 10:56 AM > Subject: Re: [PATCH v2 1/2] dts: arm64: add LS1043A DPAA support > > On Mon, Mar 27, 2017 at 07:03:40AM +, Madalin-Cristian Bucur wrote: > > > > > > + fman@1a0 { > > > >

Re: [PATCH 4/4] zram: make deduplication feature optional

2017-03-27 Thread Sergey Senozhatsky
On (03/23/17 12:05), Joonsoo Kim wrote: > On Wed, Mar 22, 2017 at 09:00:59AM +0900, Minchan Kim wrote: > > On Thu, Mar 16, 2017 at 11:46:38AM +0900, js1...@gmail.com wrote: > > > From: Joonsoo Kim > > > > > > Benefit of deduplication is dependent on the workload so it's not > > > preferable to al

Re: [f2fs-dev] [PATCH 1/5] f2fs: relax node version check for victim data in gc

2017-03-27 Thread Chao Yu
On 2017/3/26 5:27, Jaegeuk Kim wrote: > On 03/25, Chao Yu wrote: >> Hi Jaegeuk, >> >> On 2017/3/25 15:59, Jaegeuk Kim wrote: >>> - has_not_enough_free_secs >>> node_secs: 0 dent_secs: 0 freed:0 free_segments:103 reserved:104 >>> >>> - f2fs_gc >>> - get_victim_by_default >

Re: [RFC v5 2/9] sched/deadline: improve the tracking of active utilization

2017-03-27 Thread Luca Abeni
On Fri, 24 Mar 2017 22:31:46 -0400 Steven Rostedt wrote: > On Fri, 24 Mar 2017 22:47:15 +0100 > luca abeni wrote: > > > Ok... Since I am not good at ascii art, would it be ok to add a > > textual description? If yes, I'll add a comment like: > > " > > The utilization of a task is added to the r

[PATCH] virtio-blk: add DISCARD support to virtio-blk driver

2017-03-27 Thread Changpeng Liu
Currently virtio-blk driver does not provide discard feature flag, so the filesystems which built on top of the block device will not send discard command. This is okay for HDD backend, but it will impact the performance for SSD backend. Add a feature flag VIRTIO_BLK_F_DISCARD and command VIRTIO_B

Re: [PATCH] sched/core: switch to BUG_ON()

2017-03-27 Thread Peter Zijlstra
On Mon, Mar 27, 2017 at 09:40:46AM +0200, Nicholas Mc Guire wrote: > Found by coccinelle: bugon.cocci > ./kernel/sched/core.c:5913:2-5: WARNING: Use BUG_ON instead of if condition > followed by BUG. Right, so I disagree with that here. > @@ -5909,8 +5909,8 @@ void __init sched_init_smp(void) >

Re: [PATCH v1 1/2] auxdisplay: Move panel.c to drivers/auxdisplay folder

2017-03-27 Thread Geert Uytterhoeven
On Mon, Mar 27, 2017 at 10:11 AM, Willy TARREAU wrote: > On Fri, Mar 24, 2017 at 04:19:43PM +0100, Geert Uytterhoeven wrote: >> On Fri, Mar 24, 2017 at 3:29 PM, Andy Shevchenko >> wrote: >> > On Fri, 2017-03-24 at 15:19 +0100, Geert Uytterhoeven wrote: >> >> On Fri, Mar 24, 2017 at 3:06 PM, Andy

ath: firmware panic! exccause: 0x0000000d

2017-03-27 Thread Nathan Royce
I find that every time all of the cpu cores are being used, when compiling the kernel source for example, I end up losing my wireless adapter. It seems to be an old issue: https://bbs.archlinux.org/viewtopic.php?id=182173 ARM ODroid XU4 $ uname -a Linux server 4.11.0-rc1-00315-g106e4da60209-dirty

[PULL REQUEST] mux for 4.12

2017-03-27 Thread Peter Rosin
Hi Greg, Today seemed like a good day to send you the pull request for the new mux controller subsystem. I hope the details are ok. If not, let me know and I'll try to rework it. I also included some text for the merge commit, if you want/need it: This adds a new mux controller subsystem with an

[git pull] m68k updates for 4.11 (take two)

2017-03-27 Thread Geert Uytterhoeven
Hi Linus, The following changes since commit c1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201: Linux 4.11-rc1 (2017-03-05 12:59:56 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git tags/m68k-for-v4.11-tag2 for you to fetch ch

Re: [PATCH] vmw_vmci: Fix irq allocation

2017-03-27 Thread Christoph Hellwig
Hi Petr, it seems like the minimal return value fix I sent a while ago finally made it to Linus for -rc4. But the rest of your patch still looks like a nice cleanup, so can you rebase and resend it?

Re: [PATCH v4 1/4] i2c: designware: wait for disable/enable only if necessary

2017-03-27 Thread Jarkko Nikula
On 03/26/2017 10:44 PM, Andrey Utkin wrote: Regression reported: https://bugzilla.kernel.org/show_bug.cgi?id=194969 Thanks, I commented the bug. -- Jarkko

Re: [RFC v5 5/9] sched/deadline: do not reclaim the whole CPU bandwidth

2017-03-27 Thread Peter Zijlstra
On Fri, Mar 24, 2017 at 10:38:31PM -0400, Steven Rostedt wrote: > > > > @@ -6716,6 +6716,12 @@ static void sched_dl_do_global(void) > > > > raw_spin_unlock_irqrestore(&dl_b->lock, flags); > > > > > > > > rcu_read_unlock_sched(); > > > > + if (dl_b->b

Re: [PATCH] staging: speakup: fix warning for static declaration

2017-03-27 Thread Okash Khawaja
On Mon, Mar 27, 2017 at 09:58:53AM +0200, Samuel Thibault wrote: > Okash Khawaja, on lun. 27 mars 2017 08:51:02 +0100, wrote: > > Thanks for this :) Could you also move the function higher in the same > > file - above line 139 where all static functions are defined? > > I'd say no need for this. s

[PATCH] HID: asus: Add missing Fn key maps on ASUS E200H

2017-03-27 Thread Takashi Iwai
The mapping of a few Fn combo keys seems missing since they are vendor specific usage page (0xff31). Add the mapping manually for sleep (Fn-F1), rfkill (Fn-F2), brightness down (Fn-F5), brightness up (Fn-F6), display toggle (Fn-F7), and touchpad toggle (Fn-F9). For the display toggle and the touch

Re: [PATCH v4 2/2] extable: verify address is read-only

2017-03-27 Thread kbuild test robot
/commits/Eddie-Kovsky/module-verify-address-is-read-only/20170327-142922 config: blackfin-BF561-EZKIT-SMP_defconfig (attached as .config) compiler: bfin-uclinux-gcc (GCC) 6.2.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross

Re: [RFC v5 2/9] sched/deadline: improve the tracking of active utilization

2017-03-27 Thread Juri Lelli
On 27/03/17 09:43, Luca Abeni wrote: > Hi Juri, > > On Mon, 27 Mar 2017 08:17:45 +0100 > Juri Lelli wrote: > [...] > > > > In general I feel it would be nice to have a state diagram > > > > included somewhere near these two functions. It would be nice to > > > > not have to dig out the PDF every

Re: [PATCH V8 1/3] irq: Add flags to request_percpu_irq function

2017-03-27 Thread Andrew Jones
On Thu, Mar 23, 2017 at 06:42:01PM +0100, Daniel Lezcano wrote: > diff --git a/drivers/clocksource/timer-nps.c b/drivers/clocksource/timer-nps.c > index da1f798..dbdb622 100644 > --- a/drivers/clocksource/timer-nps.c > +++ b/drivers/clocksource/timer-nps.c > @@ -256,7 +256,7 @@ static int __init np

Re: [PATCH v7 5/9] media: venus: vdec: add video decoder files

2017-03-27 Thread Hans Verkuil
On 25/03/17 23:30, Stanimir Varbanov wrote: > Thanks for the comments! > > On 03/24/2017 04:41 PM, Hans Verkuil wrote: >> Some comments and questions below: >> >> On 03/13/17 17:37, Stanimir Varbanov wrote: >>> This consists of video decoder implementation plus decoder >>> controls. >>> >>> Signed

Re: [PATCH] ARM: dts: sun7i: Use axp209.dtsi on A20-OLinuXino-Micro

2017-03-27 Thread Maxime Ripard
On Sat, Mar 25, 2017 at 06:05:33PM -0300, Ezequiel Garcia wrote: > This commit makes use of the axp209.dtsi file to define the > AXP209 PMIC. While here, define the rails that are enabled on > this board. > > Tested checking the regulator voltage varies according to the > CPU frequency. > > Signe

Re: [PATCH v7 5/9] media: venus: vdec: add video decoder files

2017-03-27 Thread Hans Verkuil
On 25/03/17 23:30, Stanimir Varbanov wrote: > Thanks for the comments! > > On 03/24/2017 04:41 PM, Hans Verkuil wrote: >> Some comments and questions below: >> >> On 03/13/17 17:37, Stanimir Varbanov wrote: >>> This consists of video decoder implementation plus decoder >>> controls. >>> >>> Signed

Re: [PATCH 4/5] clk: sunxi-ng: Add driver for A83T CCU

2017-03-27 Thread Maxime Ripard
Hi Chen-Yu, On Wed, Mar 22, 2017 at 02:50:31PM +0800, Chen-Yu Tsai wrote: > On Wed, Feb 15, 2017 at 5:49 PM, Maxime Ripard > wrote: > > On Tue, Feb 14, 2017 at 06:26:39PM +0800, Chen-Yu Tsai wrote: > >> On Tue, Feb 14, 2017 at 5:58 PM, Maxime Ripard > >> wrote: > >> > On Tue, Feb 14, 2017 at 11:

Re: [PATCH v2 2/2] ARM: dts: sun7i: Add CAN node and can0_pins_a pinctrl settings

2017-03-27 Thread Maxime Ripard
Hi Patrick, On Fri, Mar 24, 2017 at 10:52:19PM +0100, Patrick Menschel wrote: > The A20 SoC has an on-board CAN controller. This patch adds the device node > and the corresponding pinctrl settings for pins PH20 and PH21. > > The CAN controller is inherited from the A10 SoC and uses the same drive

Re: [PATCH] [media] platform: Order the Makefile alphabetically

2017-03-27 Thread Maxime Ripard
On Mon, Mar 20, 2017 at 11:22:02AM +0100, Maxime Ripard wrote: > Hi Mauro, > > On Tue, Mar 07, 2017 at 02:39:28PM +0100, Maxime Ripard wrote: > > The Makefile was a free for all without a clear order defined. Sort all the > > options based on the Kconfig symbol. > > > > Signed-off-by: Maxime Ripa

Re: [PATCH 7/15] dt-bindings: display: sun4i: Add allwinner,tcon-channel property

2017-03-27 Thread Maxime Ripard
On Fri, Mar 17, 2017 at 11:34:45AM +0800, Chen-Yu Tsai wrote: > On Thu, Mar 16, 2017 at 1:37 AM, Rob Herring wrote: > > On Tue, Mar 07, 2017 at 09:56:26AM +0100, Maxime Ripard wrote: > >> The Allwinner Timings Controller has two, mutually exclusive, channels. > >> When the binding has been introdu

[GIT PULL] EDAC updates for 4.11

2017-03-27 Thread Borislav Petkov
Hi Linus, normally I had this queued for 4.12 but Tony requested for the pnd2_edac driver to possibly land in 4.11 therefore I'm sending it to you now. It is a driver for new hardware which people don't have yet so it shouldn't cause any regressions. The couple of patches ontop of it show that Qi

Re: [PATCH] [media] platform: Order the Makefile alphabetically

2017-03-27 Thread Laurent Pinchart
Hi Maxime, Thank you for the patch. On Tuesday 07 Mar 2017 14:39:28 Maxime Ripard wrote: > The Makefile was a free for all without a clear order defined. Sort all the > options based on the Kconfig symbol. I've been annoyed in the past by not knowing where to put entries for new drivers. I thin

Re: [PATCH v7 5/9] media: venus: vdec: add video decoder files

2017-03-27 Thread Hans Verkuil
On 27/03/17 04:18, Nicolas Dufresne wrote: > Le dimanche 26 mars 2017 à 00:30 +0200, Stanimir Varbanov a écrit : +vb->planes[0].data_offset = data_offset; +vb->timestamp = timestamp_us * NSEC_PER_USEC; +vbuf->sequence = inst->sequence++; >>> >>> ti

Re: [PATCH 4/5] clk: sunxi-ng: Add driver for A83T CCU

2017-03-27 Thread Chen-Yu Tsai
On Mon, Mar 27, 2017 at 4:51 AM, Maxime Ripard wrote: > Hi Chen-Yu, > > On Wed, Mar 22, 2017 at 02:50:31PM +0800, Chen-Yu Tsai wrote: >> On Wed, Feb 15, 2017 at 5:49 PM, Maxime Ripard >> wrote: >> > On Tue, Feb 14, 2017 at 06:26:39PM +0800, Chen-Yu Tsai wrote: >> >> On Tue, Feb 14, 2017 at 5:58 P

Re: [PATCH v2 1/6] clk: sunxi-ng: Add sun4i/sun7i CCU driver

2017-03-27 Thread Maxime Ripard
Hi, Thanks a lot for working on this. On Sun, Mar 26, 2017 at 08:20:16PM +0300, Priit Laes wrote: > Introduce a clock controller driver for sun4i A10 and sun7i A20 > series SoCs. > > Signed-off-by: Priit Laes > --- > drivers/clk/sunxi-ng/Kconfig | 13 +- > drivers/clk/sunxi-

Re: [PATCH 2/6] hpet: remove unused writeq/readq function definitions

2017-03-27 Thread Corentin Labbe
On Mon, Mar 27, 2017 at 09:51:23AM +0200, Clemens Ladisch wrote: > Corentin Labbe wrote: > > On Mon, Mar 27, 2017 at 07:49:34AM +0800, kbuild test robot wrote: > >>drivers//char/hpet.c: In function 'hpet_timer_set_irq': > drivers//char/hpet.c:207:7: error: implicit declaration of function

Re: [RFC v5 2/9] sched/deadline: improve the tracking of active utilization

2017-03-27 Thread Claudio Scordino
Hi guys, 2017-03-27 10:20 GMT+02:00 Luca Abeni : > On Fri, 24 Mar 2017 22:31:46 -0400 > Steven Rostedt wrote: > >> On Fri, 24 Mar 2017 22:47:15 +0100 >> luca abeni wrote: >> >> > Ok... Since I am not good at ascii art, would it be ok to add a >> > textual description? If yes, I'll add a comment

Re: [PATCH v2 1/5] dt-bindings: update device tree binding for Allwinner PRCM CCUs

2017-03-27 Thread Maxime Ripard
On Thu, Mar 23, 2017 at 07:17:03AM +0800, Icenowy Zheng wrote: > > > 23.03.2017, 04:09, "Maxime Ripard" : > > On Wed, Mar 22, 2017 at 02:22:22AM +0800, Icenowy Zheng wrote: > >>  21.03.2017, 15:41, "Maxime Ripard" : > >>  > On Thu, Mar 16, 2017 at 01:28:04AM +0800, Icenowy Zheng wrote: > >>  >>  

Re: [PATCH v2 1/2] dts: arm64: add LS1043A DPAA support

2017-03-27 Thread Shawn Guo
On Mon, Mar 27, 2017 at 08:11:33AM +, Madalin-Cristian Bucur wrote: > Complex it is, mirroring the IP, but messy it is a word I would not use. Well, just my personal opinion. Shawn

[PATCH] staging: atomisp: fix an issue timeout value for checking error

2017-03-27 Thread Daeseok Youn
The timeout variable could be zero even if the bits has expected result. The checking expected bits again would be better instead whether the timeout value is zero or not. Signed-off-by: Daeseok Youn --- drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c | 6 +++--- 1 file changed, 3 inser

Re: [PATCH v9 15/15] irqchip: mbigen: Add ACPI support

2017-03-27 Thread Marc Zyngier
Hanjun, John, On 22/03/17 14:12, John Garry wrote: > On 21/03/2017 14:45, Lorenzo Pieralisi wrote: >> On Tue, Mar 07, 2017 at 08:40:10PM +0800, Hanjun Guo wrote: >>> From: Hanjun Guo >>> >>> With the preparation of platform msi support and interrupt producer >>> in DSDT, we can add mbigen ACPI su

Re: [PATCH v2 4/7] pinctrl: armada-37xx: Add gpio support

2017-03-27 Thread Linus Walleij
On Tue, Mar 21, 2017 at 7:28 PM, Gregory CLEMENT wrote: You should add something to your Kconfig including: select GPIOLIB select OF_GPIO or so... or depends on. You certainly need them. > +static int armada_37xx_gpiochip_register(struct platform_device *pdev, > +

Re: [PATCH v3] block: trace completion of all bios.

2017-03-27 Thread Christoph Hellwig
I don't really like the flag at all. I'd much prefer a __bio_endio with a 'bool trace' flag. Also please remove the manual tracing in dm.ċ. Once that is done I suspect we can also remove the block_bio_complete export.

Re: Random guest crashes since 5c34d002dcc7 ("virtio_pci: use shared interrupts for virtqueues")

2017-03-27 Thread Mike Galbraith
On Thu, 2017-03-23 at 15:56 +0100, Christoph Hellwig wrote: > Does the patch from Jason in the > > "[REGRESSION] 07ec51480b5e ("virtio_pci: use shared interrupts for > virtqueues") causes crashes in guest" > > thread fix the issue for you? That seems to eliminate explosions, but not the below.

Re: [PATCH] sched/core: switch to BUG_ON()

2017-03-27 Thread Nicholas Mc Guire
On Mon, Mar 27, 2017 at 10:24:40AM +0200, Peter Zijlstra wrote: > On Mon, Mar 27, 2017 at 09:40:46AM +0200, Nicholas Mc Guire wrote: > > > Found by coccinelle: bugon.cocci > > ./kernel/sched/core.c:5913:2-5: WARNING: Use BUG_ON instead of if condition > > followed by BUG. > > Right, so I disagre

Re: [PATCH v2 5/7] pinctrl: aramda-37xx: Add irqchip support

2017-03-27 Thread Linus Walleij
On Tue, Mar 21, 2017 at 7:28 PM, Gregory CLEMENT wrote: > The Armada 37xx SoCs can handle interrupt through GPIO. However it can > only manage the edge ones. > > The way the interrupt are managed are classical so we can use the generic > interrupt chip model. > > The only unusual "feature" is tha

skb_over_panic using UDP and 6lowpan / fakelb

2017-03-27 Thread David Palma
Hi, Sending a simple UDP packet (39 bytes long), over a 6lowpan interface (using fakelb), creates a kernel panic (skb_over_panic). Steps to reproduce, and more details, can be found in: https://github.com/PalmaITEM/6lowpan-skb_over_panic This bug has been reported in https://bugzilla.kernel.org

Re: [PATCH v2 3/7] pinctrl: armada-37xx: Add pin controller support for Armada 37xx

2017-03-27 Thread Linus Walleij
On Tue, Mar 21, 2017 at 7:28 PM, Gregory CLEMENT wrote: > The Armada 37xx SoC come with 2 pin controllers: one on the south > bridge (managing 28 pins) and one on the north bridge (managing 36 pins). > > At the hardware level the controller configure the pins by group and not > pin by pin. This c

Re: [PATCH v1 1/2] auxdisplay: Move panel.c to drivers/auxdisplay folder

2017-03-27 Thread Willy TARREAU
On Mon, Mar 27, 2017 at 10:26:07AM +0200, Geert Uytterhoeven wrote: > On Mon, Mar 27, 2017 at 10:11 AM, Willy TARREAU wrote: > > On Fri, Mar 24, 2017 at 04:19:43PM +0100, Geert Uytterhoeven wrote: > >> On Fri, Mar 24, 2017 at 3:29 PM, Andy Shevchenko > >> wrote: > >> > On Fri, 2017-03-24 at 15:19

Re: [PATCH] x86/boot: Support uncompressed kernel

2017-03-27 Thread Chao Peng
On Mon, 2017-03-27 at 09:58 +0200, Sebastian Andrzej Siewior wrote: > On 2017-03-24 13:35:40 [+0800], Chao Peng wrote: > > > > > > > > > > > > > > > > > > > > > kernel   kernel sizetime in > > > > > decompress_kernel > > > > > compressed (gzip)3.3M   53ms >

Re: [PATCH] trace: Make trace_hwlat timestamp y2038 safe

2017-03-27 Thread kbuild test robot
Hi Deepa, [auto build test WARNING on tip/perf/core] [also build test WARNING on v4.11-rc4 next-20170327] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Deepa-Dinamani/trace-Make-trace_hwlat

Re: [kernel-hardening] [PATCH v5 1/4] gcc-plugins: Add the initify gcc plugin

2017-03-27 Thread Andrew Donnellan
On 01/02/17 07:24, Kees Cook wrote: From: Emese Revfy The kernel already has a mechanism to free up code and data memory that is only used during kernel or module initialization. This plugin will teach the compiler to find more such code and data that can be freed after initialization. Curre

[PATCH 5/6] x86/mce: Deprecate /dev/mcelog

2017-03-27 Thread Borislav Petkov
From: Tony Luck Move all code relating to /dev/mcelog to a separate source file. /dev/mcelog driver can now operate from the machine check notifier with lowest prio. Boris: * Move the mce_helper and trigger functionality behind CONFIG_X86_MCELOG. Signed-off-by: Tony Luck Signed-off-by: Borisla

[PATCH 6/6] x86/mce: Do not register notifiers with invalid prio

2017-03-27 Thread Borislav Petkov
From: Borislav Petkov This is just a defensive precaution: do not register notifiers with a priority which would disrupt the error handling in the notifiers with prio higher than MCE_PRIO_EDAC. Signed-off-by: Borislav Petkov --- arch/x86/kernel/cpu/mcheck/mce.c | 5 +++-- 1 file changed, 3 ins

[PATCH 3/6] x86/MCE: Rename mce_log to mce_log_buffer

2017-03-27 Thread Borislav Petkov
From: Borislav Petkov It is confusing when staring at "struct mce_log mcelog" and then there's also a function called mce_log(). So call the buffer what it is. No functionality change. Signed-off-by: Borislav Petkov --- arch/x86/include/asm/mce.h | 2 +- arch/x86/kernel/cpu/mcheck/mce.

  1   2   3   4   5   6   7   8   9   10   >