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

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

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

[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

[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

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

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

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

2017-03-06 Thread Randy Dunlap
tek.com> Cc: Mauro Carvalho Chehab <mche...@kernel.org> --- drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c |1 + 1 file changed, 1 insertion(+) --- linux-next-20170306.orig/drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c +++ linux-next-20170306/drivers/media/platform/mtk-jpeg/mtk_jpe

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

2017-03-06 Thread Randy Dunlap
-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

[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

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

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

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

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

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

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

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

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

[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

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

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 >

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 >

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

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

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

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

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

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

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

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

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

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

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

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

[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

[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

[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

[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

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

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

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

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

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

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

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

[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

[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

[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

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

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

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

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

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

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

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

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

[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

[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

[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

[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

[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

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

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

[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

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

[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

[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

[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

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

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

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

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

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

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

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

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

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

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

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

Re: [PATCH] objtool: drop redundant flags generation

2017-03-06 Thread Josh Poimboeuf
ool and comparing the generated > binaries > in tools/objtool/arch/x86/decode.o with diff. > > Patch is against 4.11-rc1 (localversion-next is next-20170306) > > arch/x86/tools/gen-insn-attr-x86.awk | 12 ++-- > tools/objtool/arch/x86/insn/gen

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

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

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

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

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

[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

<    4   5   6   7   8   9   10   11   12   13   >