Re: [PATCH 2/3] arm: kprobes: remove kprobe_exceptions_notify

2017-03-06 Thread Russell King - ARM Linux
On Mon, Mar 06, 2017 at 11:37:20PM +0530, Naveen N. Rao wrote: > On 2017/02/08 01:24AM, Naveen N Rao wrote: > > ... as the weak variant will do. > > > > Signed-off-by: Naveen N. Rao > > --- > > arch/arm/probes/kprobes/core.c | 10 -- > > arch/arm64/kernel/probes/kprobes.c | 6 --

Re: [PATCH 4/5] IB/nes: Delete unnecessary braces

2017-03-06 Thread Joe Perches
On Mon, 2017-03-06 at 18:43 +0100, SF Markus Elfring wrote: > Do not use curly brackets at some source code places > where a single statement should be sufficient. [] > diff --git a/drivers/infiniband/hw/nes/nes_verbs.c > b/drivers/infiniband/hw/nes/nes_verbs.c [] > @@ -137,11 +136,7 @@ static str

[PATCH 2/2] x86/platform/uv: Use low priority low frequency NMI call chain

2017-03-06 Thread Mike Travis
Use the new NMI call chain NMI_LAST instead of the NMI_UNKNOWN call chain to eliminate the WARNING message about having multiple NMI handlers registering on the NMI UNKNOWN call chain. This "call only when not already claimed by another NMI handler" is required as the UV architecture cannot sustai

Re: [PATCH] scsi: qedf: Fix defective logging format and argument mismatches

2017-03-06 Thread Joe Perches
On Mon, 2017-03-06 at 10:17 -0800, Joe Perches wrote: > On Tue, 2017-03-07 at 02:03 +0800, kbuild test robot wrote: > > Hi Joe, > > Hi again Fengguang's robot. Rehi. OK, it is a new message. Patch sent.

Re: [PATCH 1/2] net: sched: make default fifo qdiscs appear in the dump

2017-03-06 Thread David Miller
From: Jiri Kosina Date: Mon, 6 Mar 2017 12:03:38 +0100 (CET) > Ah, right you are, thanks. The complete fix is not super trivial, as it > needs some more surgery to tc_dump_qdisc_root(), tc_dump_tclass_root() and > qdisc_match_from_root() (see 69012ae42 for some details). > > There are two opti

[PATCH -next] media/platform/mtk-jpeg: add slab.h to fix build errors

2017-03-06 Thread Randy Dunlap
1 insertion(+) --- linux-next-20170306.orig/drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c +++ linux-next-20170306/drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include

[PATCH] scsi: qedf: Use vsprintf extension %pad

2017-03-06 Thread Joe Perches
Using %llx for a dma_addr_t can lead to format/argument mismatches. Use %pad and the address of the dma_addr_t instead. Signed-off-by: Joe Perches --- drivers/scsi/qedf/qedf_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/qedf/qedf_main.c b/drivers/scs

Re: [PATCH] scsi: qedf: Fix defective logging format and argument mismatches

2017-03-06 Thread kbuild test robot
Hi Joe, [auto build test WARNING on scsi/for-next] [also build test WARNING on v4.11-rc1 next-20170306] [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/Joe-Perches/scsi-qedf-Fix-defective

Re: [PATCH v4] x86/mce: Don't participate in rendezvous process once nmi_shootdown_cpus() was made

2017-03-06 Thread Luck, Tony
On Mon, Mar 06, 2017 at 12:16:54PM +0100, Borislav Petkov wrote: > On Thu, Feb 23, 2017 at 09:36:52PM +0800, Xunlei Pang wrote: > > We met an issue for kdump: after kdump kernel boots up, > > and there comes a broadcasted mce in first kernel, the > > other cpus remaining in first kernel will enter

Re: [PATCH stable-4.9 2/2] mm, vmscan: consider eligible zones in get_scan_count

2017-03-06 Thread MegaBrutal
Hi Michal, I'm over a very long kernel bisection, and if I made no mistake in testing commits, this patch fixes a kernel bug which affects my HP Compaq dc5800 machine with 32 bit Ubuntu OS. The bug manifests itself with "NMI watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [kswapd0:38]" messages

Re: [PATCHv4 00/33] 5-level paging

2017-03-06 Thread Linus Torvalds
On Mon, Mar 6, 2017 at 5:53 AM, Kirill A. Shutemov wrote: > Here is v4 of 5-level paging patchset. Please review and consider applying. I think we should just aim for this being in 4.12. I don't see any real reason to delay merging it, the main question in my mind is which tree it would go throug

Re: [RFC PATCH v2 01/32] x86: Add the Secure Encrypted Virtualization CPU feature

2017-03-06 Thread Brijesh Singh
On 03/04/2017 04:11 AM, Borislav Petkov wrote: > On Fri, Mar 03, 2017 at 03:01:23PM -0600, Brijesh Singh wrote: > > This looks like a wraparound... > > $ test-apply.sh /tmp/brijesh.singh.delta > checking file Documentation/admin-guide/kernel-parameters.txt > Hunk #1 succeeded at 2144 (offset -9 l

[PATCH v4 5/7] perf/sdt: Warn when number of events recorded are not equal to cached events

2017-03-06 Thread Ravi Bangoria
If number of events found from probe-cache is not equal to number of existing events(fetched from uprobe_events), and somehow we decides to record only existing events, we warn user about the same. For ex, $ sudo ./perf probe sdt_libpthread:mutex_release Added new events: sdt_libpthrea

[PATCH 5/5] IB/nes: Improve size determinations in two functions

2017-03-06 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 6 Mar 2017 18:12:37 +0100 Replace the specification of two data structures by pointer dereferences as the parameter for the operator "sizeof" to make the corresponding size determinations a bit safer according to the Linux coding style convention. Signed-off-by: M

Re: [PATCH] iommu/arm-smmu: Report smmu type in dmesg

2017-03-06 Thread Robin Murphy
On 06/03/17 13:58, Robert Richter wrote: > The ARM SMMU detection especially depends from system firmware. For > better diagnostic, log the detected type in dmesg. This paragraph especially depends from grammar. I think. > The smmu type's name is now stored in struct arm_smmu_type and ACPI > code

RE: [PATCH] tpm/tpm_crb: enter the low power state upon device suspend

2017-03-06 Thread Winkler, Tomas
> > On Mon, Mar 06, 2017 at 01:53:35AM +0200, Tomas Winkler wrote: > > This fix enables a platform to enter the idle state (suspend-to-idle) > > > > The driver needs to request explicitly go_idle upon completion from > > the pm suspend handler. > > The runtime pm is disabled on suspend during pre

Re: [RFC PATCH v4 26/28] x86: Allow kexec to be used with SME

2017-03-06 Thread Tom Lendacky
+kexec-list On 3/6/2017 11:58 AM, Tom Lendacky wrote: On 3/1/2017 3:25 AM, Dave Young wrote: Hi Tom, Hi Dave, On 02/17/17 at 10:43am, Tom Lendacky wrote: On 2/17/2017 9:57 AM, Konrad Rzeszutek Wilk wrote: On Thu, Feb 16, 2017 at 09:47:55AM -0600, Tom Lendacky wrote: Provide support so t

Re: [PATCH v3] KVM: nVMX: reset nested_run_pending if the vCPU is going to be reset

2017-03-06 Thread Jim Mattson
On Mon, Mar 6, 2017 at 4:33 AM, David Hildenbrand wrote: > Am 06.03.2017 um 13:03 schrieb Wanpeng Li: >> From: Wanpeng Li >> >> Reported by syzkaller: >> >> WARNING: CPU: 1 PID: 27742 at arch/x86/kvm/vmx.c:11029 >> nested_vmx_vmexit+0x5c35/0x74d0 arch/x86/kvm/vmx.c:11029 >> CPU: 1 PID

Re: [PATCH] scsi: qedf: Fix defective logging format and argument mismatches

2017-03-06 Thread Joe Perches
On Tue, 2017-03-07 at 02:03 +0800, kbuild test robot wrote: > Hi Joe, Hi again Fengguang's robot. > [auto build test WARNING on scsi/for-next] > [also build test WARNING on v4.11-rc1 next-20170306] > [if your patch is applied to the wrong git tree, please drop us a note to &

Re: [PATCH] auxdisplay: img-ascii-lcd: add missing sentinel entry in img_ascii_lcd_matches

2017-03-06 Thread Javier Martinez Canillas
Hello Paul, On 02/24/2017 06:56 PM, Paul Burton wrote: > Hi Dmitry, > > On Monday, 20 February 2017 21:39:11 PST Dmitry Torokhov wrote: >> The OF device table must be terminated, otherwise we'll be walking past >> it and into areas unknown. >> >> This causes KASAN errors reported by 0day kernel t

Re: [PATCH 2/3] arm: kprobes: remove kprobe_exceptions_notify

2017-03-06 Thread Naveen N. Rao
On 2017/02/08 01:24AM, Naveen N Rao wrote: > ... as the weak variant will do. > > Signed-off-by: Naveen N. Rao > --- > arch/arm/probes/kprobes/core.c | 10 -- > arch/arm64/kernel/probes/kprobes.c | 6 -- > 2 files changed, 16 deletions(-) With the generic changes in this series

[PATCH v5.1 15/15] livepatch: allow removal of a disabled patch

2017-03-06 Thread Josh Poimboeuf
Currently we do not allow patch module to unload since there is no method to determine if a task is still running in the patched code. The consistency model gives us the way because when the unpatching finishes we know that all tasks were marked as safe to call an original function. Thus every ne

[PATCH 2/3] ASoC: dio2125: add dio2125 amp driver

2017-03-06 Thread Jerome Brunet
The dio2125 is a stereo output driver with adjustable gain. Signed-off-by: Jerome Brunet --- sound/soc/codecs/Kconfig | 5 ++ sound/soc/codecs/Makefile | 2 + sound/soc/codecs/dio2125.c | 120 + 3 files changed, 127 insertions(+) create mode 10

Re: [PATCH v2 6/9] kasan: improve slab object description

2017-03-06 Thread Andrey Konovalov
On Mon, Mar 6, 2017 at 6:05 PM, Andrey Konovalov wrote: > On Mon, Mar 6, 2017 at 5:12 PM, Andrey Ryabinin > wrote: >> On 03/06/2017 04:45 PM, Andrey Konovalov wrote: >>> On Fri, Mar 3, 2017 at 3:39 PM, Andrey Ryabinin >>> wrote: On 03/03/2017 04:52 PM, Alexander Potapenko wrote:

Re: Regression in 4.11 - PowerPC crashes on boot, bisected to commit 5657933dbb6e

2017-03-06 Thread Bart Van Assche
On Thu, 2017-03-02 at 16:14 +1100, Benjamin Herrenschmidt wrote: > On Wed, 2017-03-01 at 21:26 -0600, Larry Finger wrote: > > My Powerbook G4 Aluminum generates a fatal splat early in the boot process, > > just  > > after identifying the driver for the disk. Unfortunately, it turns off > > almost

Re: [PATCH v6 0/4] drm/dp: Implement CRC debugfs API

2017-03-06 Thread Sean Paul
On Fri, Mar 03, 2017 at 02:39:32PM +0100, Tomeu Vizoso wrote: > Hi, > > this series builds up on the API for exposing captured CRCs through > debugfs. > > It adds new DP helpers for starting and stopping CRC capture and gets > the Rockchip driver to use it. > > With these patches, tests in IGT s

Re: [PATCH] scsi: qedf: Fix defective logging format and argument mismatches

2017-03-06 Thread kbuild test robot
Hi Joe, [auto build test WARNING on scsi/for-next] [also build test WARNING on v4.11-rc1 next-20170306] [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/Joe-Perches/scsi-qedf-Fix-defective

[PATCH 4/5] IB/nes: Delete unnecessary braces

2017-03-06 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 6 Mar 2017 17:55:43 +0100 Do not use curly brackets at some source code places where a single statement should be sufficient. Signed-off-by: Markus Elfring --- drivers/infiniband/hw/nes/nes_verbs.c | 84 +++ 1 file changed, 27 ins

[PATCH 0/5] IB/nes: Fine-tuning for some function implementations

2017-03-06 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 6 Mar 2017 18:26:34 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (5): Use kcalloc() in nes_init_mgt_qp() Use kcalloc() in nes_reg_user_mr() Adjust 16 checks for null pointers Delete unnecessary bra

Re: [PATCH v6 1/3] drm_fourcc: Add new P010, P016 video format

2017-03-06 Thread Ayaka
從我的 iPad 傳送 > Ville Syrjälä 於 2017年3月6日 下午9:06 寫道: > >> On Sun, Mar 05, 2017 at 06:00:31PM +0800, Randy Li wrote: >> P010 is a planar 4:2:0 YUV with interleaved UV plane, 10 bits >> per channel video format. >> >> P016 is a planar 4:2:0 YUV with interleaved UV plane, 16 bits >> per channel vi

Re: [RFC PATCH v4 26/28] x86: Allow kexec to be used with SME

2017-03-06 Thread Tom Lendacky
On 3/1/2017 3:25 AM, Dave Young wrote: Hi Tom, Hi Dave, On 02/17/17 at 10:43am, Tom Lendacky wrote: On 2/17/2017 9:57 AM, Konrad Rzeszutek Wilk wrote: On Thu, Feb 16, 2017 at 09:47:55AM -0600, Tom Lendacky wrote: Provide support so that kexec can be used to boot a kernel when SME is enabl

Re: [PATCH v6 4/4] drm/rockchip: Implement CRC debugfs API

2017-03-06 Thread Emil Velikov
Hi Tomeu, Pardon for dropping in late. On 3 March 2017 at 13:39, Tomeu Vizoso wrote: > Implement the .set_crc_source() callback and call the DP helpers > accordingly to start and stop CRC capture. > > This is only done if this CRTC is currently using the eDP connector. > > v3: Remove superfluous

Re: [PATCH v2 3/3] ARM64: dts: meson-gx: Add MALI nodes for GXBB and GXL

2017-03-06 Thread Kevin Hilman
Neil Armstrong writes: > On 03/04/2017 01:38 PM, Andreas Färber wrote: >> Am 03.03.2017 um 20:29 schrieb Kevin Hilman: >>> Neil Armstrong writes: On 03/02/2017 01:31 PM, Andreas Färber wrote: > Am 01.03.2017 um 11:46 schrieb Neil Armstrong: >> The same MALI-450 MP3 GPU is present in

[PATCH 2/2] regulator: tps65132: add device-tree binding

2017-03-06 Thread Venkat Reddy Talla
Adding tps65132 regulator devicetree binding documentation Signed-off-by: Venkat Reddy Talla --- .../bindings/regulator/tps65132-regulator.txt | 46 ++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/tps65132-regulator.tx

[PATCH 3/5] IB/nes: Adjust 16 checks for null pointers

2017-03-06 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 6 Mar 2017 16:54:03 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script "checkpatch.pl" pointed information out like the following. Comparison to NULL could be written !… Thus fix the affected source code pla

[PATCH 2/5] IB/nes: Use kcalloc() in nes_reg_user_mr()

2017-03-06 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 6 Mar 2017 16:26:25 +0100 A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus reuse the corresponding function "kcalloc". This issue was detected by using the Coccinelle software. Sig

Re: Question Regarding ERMS memcpy

2017-03-06 Thread Logan Gunthorpe
On 06/03/17 12:28 AM, H. Peter Anvin wrote: > On 03/05/17 23:01, Logan Gunthorpe wrote: >> >> On 05/03/17 12:54 PM, Borislav Petkov wrote: >>> Logan, wanna give that a try, see if it takes care of your issue? >> >> Well honestly my issue was solved by fixing my kernel config. I have no >> idea wh

[PATCH 1/5] IB/nes: Use kcalloc() in nes_init_mgt_qp()

2017-03-06 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 6 Mar 2017 16:07:41 +0100 * A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus reuse the corresponding function "kcalloc". This issue was detected by using the Coccinelle softwa

[PATCH v4 1/7] perf/sdt: Introduce util func is_sdt_event()

2017-03-06 Thread Ravi Bangoria
Factor out the SDT event name checking routine as is_sdt_event(). Signed-off-by: Ravi Bangoria --- tools/perf/util/parse-events.h | 12 tools/perf/util/probe-event.c | 9 + 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/tools/perf/util/parse-events.h b/too

Re: [PATCH V3] perf: qcom: Add L3 cache PMU driver

2017-03-06 Thread Mark Rutland
Hi, On Mon, Mar 06, 2017 at 10:29:25AM -0500, Agustin Vega-Frias wrote: > On 2017-03-03 09:50, Mark Rutland wrote: > >Hi Augustin, Apologies for the typo here, btw. > >On Thu, Mar 02, 2017 at 03:58:32PM -0500, Agustin Vega-Frias wrote: > >>The driver exports formatting and event information to s

Re: [RFC PATCH 06/12] staging: android: ion: Remove crufty cache support

2017-03-06 Thread Emil Velikov
On 6 March 2017 at 10:29, Daniel Vetter wrote: > On Fri, Mar 03, 2017 at 10:46:03AM -0800, Laura Abbott wrote: >> On 03/03/2017 08:39 AM, Laurent Pinchart wrote: >> > Hi Daniel, >> > >> > On Friday 03 Mar 2017 10:56:54 Daniel Vetter wrote: >> >> On Thu, Mar 02, 2017 at 01:44:38PM -0800, Laura Abbo

Re: [PATCH v5 2/2] perf probe: add sdt probes arguments into the uprobe cmd string

2017-03-06 Thread Masami Hiramatsu
On Wed, 14 Dec 2016 01:07:32 +0100 Alexis Berlemont wrote: > An sdt probe can be associated with arguments but they were not passed > to the user probe tracing interface (uprobe_events); this patch adapts > the sdt argument descriptors according to the uprobe input format. > > As the uprobe pars

Re: net: heap out-of-bounds in fib6_clean_node/rt6_fill_node/fib6_age/fib6_prune_clone

2017-03-06 Thread David Ahern
On 3/4/17 1:15 PM, Eric Dumazet wrote: > On Sat, 2017-03-04 at 19:57 +0100, Dmitry Vyukov wrote: >> On Fri, Mar 3, 2017 at 8:12 PM, David Ahern wrote: >>> On 3/3/17 6:39 AM, Dmitry Vyukov wrote: I am getting heap out-of-bounds reports in fib6_clean_node/rt6_fill_node/fib6_age/fib6_prune_

Re: [PATCH 2/3] mtd: Add support for reading MTD devices via the nvmem API

2017-03-06 Thread Alban
On Fri, 3 Mar 2017 23:21:29 +0100 Richard Weinberger wrote: > Am 03.03.2017 um 15:11 schrieb Boris Brezillon: > >> And add a list of successfully added notifiers, along with their > >> data pointer, to the MTD device. That's simple and would also remove > >> the need for notifier to have a privat

Re: [PATCH] netfilter: Use pr_cont where appropriate

2017-03-06 Thread Pablo Neira Ayuso
On Tue, Feb 28, 2017 at 02:09:24PM -0800, Joe Perches wrote: > Logging output was changed when simple printks without KERN_CONT > are now emitted on a new line and KERN_CONT is required to continue > lines so use pr_cont. > > Miscellanea: > > o realign arguments > o use print_hex_dump instead of

Re: [PATCH] x86, kasan: add KASAN checks to atomic operations

2017-03-06 Thread Mark Rutland
On Mon, Mar 06, 2017 at 05:27:44PM +0100, Dmitry Vyukov wrote: > On Mon, Mar 6, 2017 at 5:20 PM, Mark Rutland wrote: > > On Mon, Mar 06, 2017 at 03:24:23PM +0100, Dmitry Vyukov wrote: > >> On Mon, Mar 6, 2017 at 2:01 PM, Peter Zijlstra > >> wrote: > >> > On Mon, Mar 06, 2017 at 01:58:51PM +0100,

Re: [PATCH] objtool: drop redundant flags generation

2017-03-06 Thread Josh Poimboeuf
Further the maintainers list emitted for > the >two files differ. > > Patch was checked by manual review of the diff between the initial file and > the > regenerated file after the below patch was applied. > Second verification was by make tools/objtool and compari

Re: [PATCH] netfilter: remove redundant check on ret being non-zero

2017-03-06 Thread Pablo Neira Ayuso
On Tue, Feb 28, 2017 at 11:31:15AM +, Colin King wrote: > From: Colin Ian King > > ret is initialized to zero and if it is set to non-zero in the > xt_entry_foreach loop then we exit via the out_free label. Hence > the check for ret being non-zero is redundant and can be removed. > > Detecte

Re: [PATCH v2 6/9] kasan: improve slab object description

2017-03-06 Thread Andrey Konovalov
On Mon, Mar 6, 2017 at 5:12 PM, Andrey Ryabinin wrote: > On 03/06/2017 04:45 PM, Andrey Konovalov wrote: >> On Fri, Mar 3, 2017 at 3:39 PM, Andrey Ryabinin >> wrote: >>> >>> >>> On 03/03/2017 04:52 PM, Alexander Potapenko wrote: On Fri, Mar 3, 2017 at 2:31 PM, Andrey Ryabinin wrote:

[PATCHv6 2/5] x86/mm: add task_size parameter to mmap_base()

2017-03-06 Thread Dmitry Safonov
To correctly handle 32-bit and 64-bit mmap() syscalls, we need different mmap bases to start allocation from. So, introduce mmap_legacy_base() helper and change mmap_base() to return base address according to specified task size. It'll prepare the mmap base computing code for splitting mmap_base on

Re: [PATCH] clk: tegra: mark TEGRA210_CLK_DBGAPB as always on

2017-03-06 Thread Geert Uytterhoeven
Hi Peter, On Mon, Mar 6, 2017 at 3:28 PM, Peter De Schrijver wrote: > On Mon, Mar 06, 2017 at 09:58:29AM +, Jon Hunter wrote: >> On 06/03/17 08:38, Peter De Schrijver wrote: >> > On Thu, Mar 02, 2017 at 05:56:49PM +, Jon Hunter wrote: >> >> On 28/02/17 15:19, Peter De Schrijver wrote: >>

Re: [PATCH] irqchip: crossbar: Fix incorrect type of register size

2017-03-06 Thread Franck Demathieu
On Mon, Mar 06, 2017 at 02:56:14PM +, Marc Zyngier wrote: > On Mon, Mar 06 2017 at 1:41:06 pm GMT, Franck Demathieu > wrote: > > The 'size' variable is unsigned according to the dt-bindings. > > As this variable is used as integer in other places, create a new variable > > that allows to fix

Re: [PATCH 03/12] gpio: omap: use devm_irq_alloc_descs()

2017-03-06 Thread Tony Lindgren
* Bartosz Golaszewski [170304 08:33]: > This driver never frees the allocated interrupt descriptors. Fix it by > using a resource managed variant of irq_alloc_descs(). > > Signed-off-by: Bartosz Golaszewski Would be good to get Aaro's ack on this one. Regards, Tony > --- > drivers/gpio/gpio

Re: stack frame unwindind KASAN errors

2017-03-06 Thread Josh Poimboeuf
On Mon, Mar 06, 2017 at 02:52:01PM +0800, Daniel J Blueman wrote: > Thanks Josh! > > With this patch, the KASAN warning still occurs, but at > unwind_get_return_address+0x1d3/0x130 instead; the rest of the trace > is identical. > > (gdb) list *(unwind_get_return_address+0x1d3) > 0x8112bca

Re: [PATCH v2] pinctrl: samsung: Calculate GPIO base for pinctrl_add_gpio_range

2017-03-06 Thread Charles Keepax
On Sat, Mar 04, 2017 at 08:20:11PM +0900, Tomasz Figa wrote: > Hi Charles, > > 2017-03-01 2:04 GMT+09:00 Charles Keepax > : > > As the pinctrl is now added before the GPIOs are registered we need to > > manually calculate what the GPIO base will be, otherwise the base for > > each gpio_range will

Re: v4.10: kernel stack frame pointer .. has bad value (null)

2017-03-06 Thread Pavel Machek
On Thu 2017-03-02 17:45:14, Josh Poimboeuf wrote: > On Fri, Feb 24, 2017 at 11:04:39PM -0600, Josh Poimboeuf wrote: > > On Thu, Feb 23, 2017 at 09:10:39PM +0100, Pavel Machek wrote: > > > Hi! > > > > > > > > > > > > > Somehow, startup_32_smp() is on the stack twice. The stack > > > > > > > unwi

Re: [PATCH] x86, kasan: add KASAN checks to atomic operations

2017-03-06 Thread Andrey Ryabinin
On 03/06/2017 05:24 PM, Dmitry Vyukov wrote: > Let me provide more context and design alternatives. > > There are also other archs, at least arm64 for now. > There are also other tools. For KTSAN (race detector) we will > absolutely need to hook into atomic ops. For KMSAN (uses of unit > values)

[PATCH v3 2/3] gpio: wm831x: Add basic device tree support

2017-03-06 Thread Charles Keepax
Now the wm831x-core has basic DT support we can update this driver to allow use of the GPIOs within a device tree system. Signed-off-by: Charles Keepax Acked-by: Linus Walleij --- No changes since v2. drivers/gpio/gpio-wm831x.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff -

[PATCH v3 3/3] mfd: wm831x: Add device tree binding document

2017-03-06 Thread Charles Keepax
Add a device tree binding document for the wm831x series of PMICs. Currently only support for the registering the device and the GPIOs are actually implemented in the driver. Signed-off-by: Charles Keepax --- Changes since v2: - Flesh the binding some more with some additional features of the d

[PATCH v3 1/3] mfd: wm831x: Add basic device tree binding

2017-03-06 Thread Charles Keepax
Add the basic ability to register the device through device tree, more work is needed to get each individual sub-driver functioning correctly but this is enough to get the device to probe from device tree. Signed-off-by: Charles Keepax --- No changes since v2. drivers/mfd/wm831x-core.c |

[PATCH 1/2] regulator: tps65132: add regulator driver for TI TPS65132

2017-03-06 Thread Venkat Reddy Talla
Adding regulator driver for the device TI TPS65132 which is single inductor - dual output power supply device. TPS65132 device is designed to support general positive/negative driven applications like TFT display panels. TPS65132 regulator driver supports to enable/disable and set voltage on its o

[PATCH 2/2] drm: mali-dp: Fix smart layer not going to composition

2017-03-06 Thread Liviu Dudau
From: Mihail Atanassov Use rectangle 1 as a generic plane. Existing code already sets the smart layer bounding box size + offset. The rectangles' offsets are relative to the bounding box, so there is no need to set R1's offset (reset value is 0), just its size which is the same as the bounding bo

[PATCH 1/2] drm: mali-dp: Remove mclk rate management

2017-03-06 Thread Liviu Dudau
From: Mihail Atanassov The rate of mclk depends on the use-case. If no downscaling is required, then mclk == pxlclk is a valid option; with downscaling however, the rate at which mclk runs determines how much a plane can be downscaled before composition. This is a system integration + power manag

[PATCH 0/2] drm: mali-dp: Fixes for v4.11-rc2

2017-03-06 Thread Liviu Dudau
A couple of fixes that I have queued in my tree waiting for the dust to settle on the main drm pull request. Best regards, Liviu Mihail Atanassov (2): drm: mali-dp: Remove mclk rate management drm: mali-dp: Fix smart layer not going to composition drivers/gpu/drm/arm/malidp_crtc.c | 3 +-

Re: [PATCH 10/26] brcmsmac: reindent split functions

2017-03-06 Thread Kalle Valo
Arend Van Spriel writes: > On 2-3-2017 17:38, Arnd Bergmann wrote: >> In the previous commit I left the indentation alone to help reviewing >> the patch, this one now runs the three new functions through 'indent -kr -8' >> with some manual fixups to avoid silliness. >> >> No changes other than w

Re: [PATCH 08/26] brcmsmac: make some local variables 'static const' to reduce stack size

2017-03-06 Thread Kalle Valo
Arend Van Spriel writes: > On 2-3-2017 17:38, Arnd Bergmann wrote: >> With KASAN and a couple of other patches applied, this driver is one >> of the few remaining ones that actually use more than 2048 bytes of >> kernel stack: >> >> broadcom/brcm80211/brcmsmac/phy/phy_n.c: In function >> 'wlc_p

Re: [PATCH] EDAC, xgene: fix spelling mistake: "procesing" -> "processing"

2017-03-06 Thread Borislav Petkov
On Wed, Feb 22, 2017 at 08:52:15PM -0800, Loc Ho wrote: > Hi, > > > > > trivial fix to spelling mistake in dev_err message > > > > Signed-off-by: Colin Ian King > > Reviewed-by: Loc Ho Applied, thanks. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim t

Re: [PATCH 1/9] mm: fix 100% CPU kswapd busyloop on unreclaimable nodes

2017-03-06 Thread Johannes Weiner
On Mon, Mar 06, 2017 at 10:37:40AM +0900, Minchan Kim wrote: > On Fri, Mar 03, 2017 at 08:59:54AM +0100, Michal Hocko wrote: > > On Fri 03-03-17 10:26:09, Minchan Kim wrote: > > > On Tue, Feb 28, 2017 at 04:39:59PM -0500, Johannes Weiner wrote: > > > > @@ -3316,6 +3325,9 @@ static int balance_pgdat

Re: [PATCH 1/4] net: thunderx: Fix IOMMU translation faults

2017-03-06 Thread Robin Murphy
On 06/03/17 12:57, Sunil Kovvuri wrote: >>> >>> We are seeing a 0.75Mpps drop with IP forwarding rate due to that. >>> Hence I have restricted calling DMA interfaces to only when IOMMU is >>> enabled. >> >> What's 0.07Mpps as a percentage of baseline? On a correctly configured >> coherent arm64 sy

[PATCH v4 4/7] perf/sdt: Clean uprobe_events when event(out of multiple events) parsing fails

2017-03-06 Thread Ravi Bangoria
User may ask for multiple events in the same record command like, perf record -a -e sdt_1:* -e sdt_2:* If sdt_1:* events are already added to uprobe_events and sdt_2:* event parsing fails, clean sdt_1:* events from uprobe_events. Signed-off-by: Ravi Bangoria --- tools/perf/builtin-record.c

[PATCH] regulator: core: use snprintf() instead of scnprintf()

2017-03-06 Thread Bartosz Golaszewski
When creating the link to the device sysfs entry, the regulator core calls scnprintf() and then checks if the returned value is greater or equal than the buffer size. The former can never happen as scnprintf() returns the number of bytes that were actually written to the buffer, not the bytes that

Re: [RFC PATCH 00/12] Ion cleanup in preparation for moving out of staging

2017-03-06 Thread Daniel Vetter
On Mon, Mar 06, 2017 at 05:02:05PM +0200, Laurent Pinchart wrote: > Hi Daniel, > > On Monday 06 Mar 2017 11:38:20 Daniel Vetter wrote: > > On Fri, Mar 03, 2017 at 06:45:40PM +0200, Laurent Pinchart wrote: > > > - I haven't seen any proposal how a heap-based solution could be used in a > > > generi

Re: [PATCH 11/29] drivers, media: convert cx88_core.refcount from atomic_t to refcount_t

2017-03-06 Thread Sergei Shtylyov
Hello. On 03/06/2017 05:20 PM, Elena Reshetova wrote: refcount_t type and corresponding API should be used instead of atomic_t when the variable is used as a reference counter. This allows to avoid accidental refcounter overflows that might lead to use-after-free situations. Signed-off-by: Ele

Re: [PATCH] x86, kasan: add KASAN checks to atomic operations

2017-03-06 Thread Dmitry Vyukov
On Mon, Mar 6, 2017 at 5:20 PM, Mark Rutland wrote: > Hi, > > [roping in Will, since he loves atomics] > > On Mon, Mar 06, 2017 at 03:24:23PM +0100, Dmitry Vyukov wrote: >> On Mon, Mar 6, 2017 at 2:01 PM, Peter Zijlstra wrote: >> > On Mon, Mar 06, 2017 at 01:58:51PM +0100, Peter Zijlstra wrote: >

Re: [PATCH] x86, kasan: add KASAN checks to atomic operations

2017-03-06 Thread Mark Rutland
Hi, [roping in Will, since he loves atomics] On Mon, Mar 06, 2017 at 03:24:23PM +0100, Dmitry Vyukov wrote: > On Mon, Mar 6, 2017 at 2:01 PM, Peter Zijlstra wrote: > > On Mon, Mar 06, 2017 at 01:58:51PM +0100, Peter Zijlstra wrote: > >> On Mon, Mar 06, 2017 at 01:50:47PM +0100, Dmitry Vyukov wro

[PATCH] arm64: dts: NS2: convert "ok" to "okay"

2017-03-06 Thread Jon Mason
Per e-mail from Sergei Shtylyov, the DT spec dictates it should be "okay" (although "ok" is also recognized). Thus, changing all "ok" to "okay" in NS2 device tree files Suggested-by: Sergei Shtylyov Signed-off-by: Jon Mason --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 38

Re: [PATCH] mmc: sunxi: mask all Response Timeout error messages

2017-03-06 Thread Maxime Ripard
On Mon, Mar 06, 2017 at 06:32:41PM +0800, Icenowy Zheng wrote: > 06.03.2017, 18:04, "Maxime Ripard" : > > Hi, > > > > On Mon, Mar 06, 2017 at 12:45:35AM +0800, Icenowy Zheng wrote: > >>  Response Timeout is very usual: it will happen when trying to run some > >>  commands that do not belong to the

[PATCH v3 2/2] ARM: dts: bcm5301x: Add I2C support to the DT

2017-03-06 Thread Jon Mason
From: Jon Mason Add I2C support to the bcm5301x Device Tree. Since no driver changes are needed to enable this hardware, only the device tree changes are required to make this functional. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm5301x.dtsi | 10 ++ 1 file changed, 10 insertio

[PATCH v3 1/2] ARM: dts: bcm5301x: Add TWD WD Support to DT

2017-03-06 Thread Jon Mason
From: Jon Mason Add support for the ARM TWD Watchdog to the bcm5301x device tree. The ARM TWD timer allocated the register space for the WDT, so this patch necessitated shrinking that. Also, the GIC masks were added for these. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm5301x.dtsi | 15

[PATCH v3 0/2] ARM: dts: BCM5301X: TWD WD and i2c Support

2017-03-06 Thread Jon Mason
Changes in v3: * Dropped the "Correct GIC_PPI interrupt flags" patch from the series, as it was already accepted * Disabled the i2c bus by default, to follow current convention (per Florian) Changes in v2: * Rafal discovered an issue with the GIC_PPI flags being incorrect. Since there was a

Re: XTS Crypto Not Found In /proc/crypto Even After Compiled for 4.10.1.

2017-03-06 Thread Nathan Royce
I tried the patch you submitted, however it also fails for the most part. "For the most part" because "xts" is now found. $ grep xts /proc/crypto name : xts(aes) driver : xts(ecb-aes-s5p) Fail: * [ 21.057756] xor: using function: neon (352.000 MB/sec) [ 21.064243] Unable to

Re: [PATCH] x86, kasan: add KASAN checks to atomic operations

2017-03-06 Thread Mark Rutland
On Mon, Mar 06, 2017 at 04:20:13PM +0100, Peter Zijlstra wrote: > On Mon, Mar 06, 2017 at 03:24:23PM +0100, Dmitry Vyukov wrote: > > We could also provide a parallel implementation of atomic ops based on > > the new compiler builtins (__atomic_load_n and friends): > > https://gcc.gnu.org/onlinedocs

Re: [bdi_unregister] 165a5e22fa INFO: task swapper:1 blocked for more than 120 seconds.

2017-03-06 Thread Jan Kara
On Mon 06-03-17 07:44:55, James Bottomley wrote: > On Mon, 2017-03-06 at 16:14 +0100, Jan Kara wrote: > > On Mon 06-03-17 06:35:21, James Bottomley wrote: > > > On Mon, 2017-03-06 at 13:01 +0100, Jan Kara wrote: > > > > On Mon 06-03-17 11:27:33, Jan Kara wrote: > > > > > Hi, > > > > > > > > > > On

Re: [RFC PATCH 00/12] Ion cleanup in preparation for moving out of staging

2017-03-06 Thread Daniel Vetter
On Mon, Mar 06, 2017 at 11:58:05AM +0100, Mark Brown wrote: > On Mon, Mar 06, 2017 at 11:40:41AM +0100, Daniel Vetter wrote: > > > No one gave a thing about android in upstream, so Greg KH just dumped it > > all into staging/android/. We've discussed ION a bunch of times, recorded > > anything we'

Re: [PATCH 2/2] ARM: dts: motorola-cpcap-mapphone: add LEDs

2017-03-06 Thread Tony Lindgren
* Sebastian Reichel [170305 09:24]: > Signed-off-by: Sebastian Reichel > --- > arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi | 30 > ++ > 1 file changed, 30 insertions(+) > > diff --git a/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi > b/arch/arm/boot/dts/motorola-cp

Re: [PATCH v2 6/9] kasan: improve slab object description

2017-03-06 Thread Andrey Ryabinin
On 03/06/2017 04:45 PM, Andrey Konovalov wrote: > On Fri, Mar 3, 2017 at 3:39 PM, Andrey Ryabinin > wrote: >> >> >> On 03/03/2017 04:52 PM, Alexander Potapenko wrote: >>> On Fri, Mar 3, 2017 at 2:31 PM, Andrey Ryabinin >>> wrote: On 03/02/2017 04:48 PM, Andrey Konovalov wrote: > Change

Re: [PATCH 02/10] ARM: dts: N900: Add bluetooth

2017-03-06 Thread Tony Lindgren
* Sebastian Reichel [170304 04:00]: > Add bcm2048 node and its system clock to the N900 device tree file. > Apart from that a reference to the new clock has been added to > wl1251 (which uses it, too). > > Signed-off-by: Sebastian Reichel Picking this patch into omap-for-v4.12/dt thanks. Regar

[PATCH v3 2/9] kasan: unify report headers

2017-03-06 Thread Andrey Konovalov
Unify KASAN report header format for different kinds of bad memory accesses. Makes the code simpler. Signed-off-by: Andrey Konovalov --- mm/kasan/report.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/mm/kasan/report.c b/mm/kasan/report.c index

Re: [PATCH 01/10] ARM: dts: N9/N950: add bluetooth

2017-03-06 Thread Tony Lindgren
* Sebastian Reichel [170304 04:00]: > The Nokia N950 and N9 have a wl1271 (with nokia bootloader) bluetooth > module connected to second UART. > > Signed-off-by: Sebastian Reichel Picking this patch into omap-for-v4.12/dt thanks. Regards, Tony

[PATCH] genirq: Fix handling of nested shared IRQs

2017-03-06 Thread Charles Keepax
When an IRQ is nested the nested handler is called directly from within the threaded handler of the parent IRQ, however, the code in handle_nested_irq only calls a single handler. This means when a shared IRQ is nested only the first of the shared IRQ handlers will be run. This patch adds a loop to

[PATCH v3 6/9] kasan: improve slab object description

2017-03-06 Thread Andrey Konovalov
Changes slab object description from: Object at 880068388540, in cache kmalloc-128 size: 128 to: Object at 880068388540 belongs to cache kmalloc-128 of size 128 Access 123 bytes inside of 128-byte region [880068388540, 8800683885c0) This adds information about relative offset of

[PATCH v3 7/9] kasan: print page description after stacks

2017-03-06 Thread Andrey Konovalov
Moves page description after the stacks since it's less important. Signed-off-by: Andrey Konovalov --- mm/kasan/report.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/mm/kasan/report.c b/mm/kasan/report.c index 87f8293d7b79..09a5f5b4bc79 100644 --- a/mm/kasan

[PATCH v3 3/9] kasan: change allocation and freeing stack traces headers

2017-03-06 Thread Andrey Konovalov
Change stack traces headers from: Allocated: PID = 42 to: Allocated by task 42: Makes the report one line shorter and look better. Signed-off-by: Andrey Konovalov --- mm/kasan/report.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/mm/kasan/report.c b/mm/kasan

[PATCH v3 1/9] kasan: introduce helper functions for determining bug type

2017-03-06 Thread Andrey Konovalov
Introduce get_shadow_bug_type() function, which determines bug type based on the shadow value for a particular kernel address. Introduce get_wild_bug_type() function, which determines bug type for addresses which don't have a corresponding shadow value. Signed-off-by: Andrey Konovalov --- mm/kas

[PATCH v3 9/9] kasan: separate report parts by empty lines

2017-03-06 Thread Andrey Konovalov
Makes the report easier to read. Signed-off-by: Andrey Konovalov --- mm/kasan/report.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/mm/kasan/report.c b/mm/kasan/report.c index e5b762f4a6a4..2f3ff28b4d76 100644 --- a/mm/kasan/report.c +++ b/mm/kasan/report.c @@ -231,7 +231,9 @@ stat

[PATCH v3 5/9] kasan: change report header

2017-03-06 Thread Andrey Konovalov
Change report header format from: BUG: KASAN: use-after-free in unwind_get_return_address+0x28a/0x2c0 at addr 880069437950 Read of size 8 by task insmod/3925 to: BUG: KASAN: use-after-free in unwind_get_return_address+0x28a/0x2c0 Read of size 8 at addr 880069437950 by task insmod/3925

[PATCH v3 8/9] kasan: improve double-free report format

2017-03-06 Thread Andrey Konovalov
Changes double-free report header from: BUG: Double free or freeing an invalid pointer Unexpected shadow byte: 0xFB to: BUG: KASAN: double-free or invalid-free in kmalloc_oob_left+0xe5/0xef This makes a bug uniquely identifiable by the first report line. To account for removing of the unexpecte

[PATCH v3 4/9] kasan: simplify address description logic

2017-03-06 Thread Andrey Konovalov
Simplify logic for describing a memory address. Add addr_to_page() helper function. Makes the code easier to follow. Signed-off-by: Andrey Konovalov --- mm/kasan/report.c | 36 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/mm/kasan/report.c

[PATCH v3 0/9] kasan: improve error reports

2017-03-06 Thread Andrey Konovalov
This patchset improves KASAN reports by making them easier to read and a little more detailed. Also improves mm/kasan/report.c readability. Effectively changes a use-after-free report to: == BUG: KASAN: use-after-free in kmalloc_uaf+

Re: [RFC PATCH 10/12] staging: android: ion: Use CMA APIs directly

2017-03-06 Thread Daniel Vetter
On Mon, Mar 06, 2017 at 03:43:53PM +0200, Laurent Pinchart wrote: > Hi Daniel, > > On Monday 06 Mar 2017 11:32:04 Daniel Vetter wrote: > > On Fri, Mar 03, 2017 at 10:50:20AM -0800, Laura Abbott wrote: > > > On 03/03/2017 08:41 AM, Laurent Pinchart wrote: > > >> On Thursday 02 Mar 2017 13:44:42 Lau

<    1   2   3   4   5   6   7   8   9   10   >