[PATCH v2] clocksource: sun4i: Clear interrupts after stopping timer in probe function

2016-08-14 Thread Chen-Yu Tsai
The bootloader (U-boot) sometimes uses this timer for various delays. It uses it as a ongoing counter, and does comparisons on the current counter value. The timer counter is never stopped. In some cases when the user interacts with the bootloader, or lets it idle for some time before loading

[PATCH v2] clocksource: sun4i: Clear interrupts after stopping timer in probe function

2016-08-14 Thread Chen-Yu Tsai
The bootloader (U-boot) sometimes uses this timer for various delays. It uses it as a ongoing counter, and does comparisons on the current counter value. The timer counter is never stopped. In some cases when the user interacts with the bootloader, or lets it idle for some time before loading

Re: [PATCH 3.2 44/94] wext: Fix 32 bit iwpriv compatibility issue with 64 bit Kernel

2016-08-14 Thread Johannes Berg
On Sat, 2016-08-13 at 17:42 +, Ben Hutchings wrote: > 3.2.82-rc1 review patch.  If anyone has any objections, please let me > know. > > -- > > From: Prasun Maiti > > commit 3d5fdff46c4b2b9534fa2f9fc78e90a48e0ff724 upstream. > Did you just include

Re: [PATCH 3.2 44/94] wext: Fix 32 bit iwpriv compatibility issue with 64 bit Kernel

2016-08-14 Thread Johannes Berg
On Sat, 2016-08-13 at 17:42 +, Ben Hutchings wrote: > 3.2.82-rc1 review patch.  If anyone has any objections, please let me > know. > > -- > > From: Prasun Maiti > > commit 3d5fdff46c4b2b9534fa2f9fc78e90a48e0ff724 upstream. > Did you just include this by accident? You had

[PATCH] mmc: sdhci-brcmstb: Delete owner assignment

2016-08-14 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 15 Aug 2016 07:32:45 +0200 The field "owner" is set by core. Thus delete an extra initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring ---

[PATCH] mmc: sdhci-brcmstb: Delete owner assignment

2016-08-14 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 15 Aug 2016 07:32:45 +0200 The field "owner" is set by core. Thus delete an extra initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring --- drivers/mmc/host/sdhci-brcmstb.c | 1 - 1 file changed, 1

RE: [PATCH] nvme/quirk: Add a delay before checking device ready for memblaze device

2016-08-14 Thread Wenbo Wang
Keith, Is this patch accepted? Thanks. -Original Message- From: Wenbo Wang Sent: Tuesday, August 9, 2016 11:18 AM To: 'keith.bu...@intel.com'; 'ax...@fb.com' Cc: linux-n...@lists.infradead.org; linux-kernel@vger.kernel.org Subject: [PATCH] nvme/quirk: Add a delay before checking device

RE: [PATCH] nvme/quirk: Add a delay before checking device ready for memblaze device

2016-08-14 Thread Wenbo Wang
Keith, Is this patch accepted? Thanks. -Original Message- From: Wenbo Wang Sent: Tuesday, August 9, 2016 11:18 AM To: 'keith.bu...@intel.com'; 'ax...@fb.com' Cc: linux-n...@lists.infradead.org; linux-kernel@vger.kernel.org Subject: [PATCH] nvme/quirk: Add a delay before checking device

Re: [PATCH v2] clocksource/drivers/time-armada-370-xp: Fix the clock reference

2016-08-14 Thread Stefan Roese
On 10.08.2016 15:14, Gregory CLEMENT wrote: While converting the init function to return an error, the wrong clock was get. This lead to wrong clock rate and slow down the kernel. For example, before the patch a typical boot was around 15s after it was 1 minute slower. Fixes: 12549e27c63c

Re: [PATCH v2] clocksource/drivers/time-armada-370-xp: Fix the clock reference

2016-08-14 Thread Stefan Roese
On 10.08.2016 15:14, Gregory CLEMENT wrote: While converting the init function to return an error, the wrong clock was get. This lead to wrong clock rate and slow down the kernel. For example, before the patch a typical boot was around 15s after it was 1 minute slower. Fixes: 12549e27c63c

Re: [PATCH] edac: wq: Remove deprecated create_singlethread_workqueue

2016-08-14 Thread Borislav Petkov
On Sat, Aug 13, 2016 at 10:11:24PM +0530, Bhaktipriya Shridhar wrote: > alloc_ordered_workqueue() with WQ_MEM_RECLAIM set replaces > deprecated create_singlethread_workqueue(). This is the identity > conversion. > > wq has been identity converted since it is used to detect things like > ECC

Re: [PATCH] edac: wq: Remove deprecated create_singlethread_workqueue

2016-08-14 Thread Borislav Petkov
On Sat, Aug 13, 2016 at 10:11:24PM +0530, Bhaktipriya Shridhar wrote: > alloc_ordered_workqueue() with WQ_MEM_RECLAIM set replaces > deprecated create_singlethread_workqueue(). This is the identity > conversion. > > wq has been identity converted since it is used to detect things like > ECC

Re: [PATCH 2/2] KVM: nVMX: postpone VMCS changes on MSR_IA32_APICBASE write

2016-08-14 Thread Wanpeng Li
2016-08-12 19:39 GMT+08:00 Radim Krčmář : > 2016-08-12 18:14+0800, Wanpeng Li: >> 2016-08-12 17:44 GMT+08:00 Radim Krčmář : >>> 2016-08-12 14:07+0800, Wanpeng Li: 2016-08-09 2:16 GMT+08:00 Radim Krčmář : > If vmcs12 does not

Re: [PATCH 2/2] KVM: nVMX: postpone VMCS changes on MSR_IA32_APICBASE write

2016-08-14 Thread Wanpeng Li
2016-08-12 19:39 GMT+08:00 Radim Krčmář : > 2016-08-12 18:14+0800, Wanpeng Li: >> 2016-08-12 17:44 GMT+08:00 Radim Krčmář : >>> 2016-08-12 14:07+0800, Wanpeng Li: 2016-08-09 2:16 GMT+08:00 Radim Krčmář : > If vmcs12 does not intercept APIC_BASE writes, then KVM will handle the > write

[PATCH] [media] radio-si470x-i2c: Delete owner assignment

2016-08-14 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 15 Aug 2016 07:01:56 +0200 The field "owner" is set by core. Thus delete an extra initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring ---

Re: [PATCH] x86/power/64: Use __pa() for physical address computation

2016-08-14 Thread Ingo Molnar
* Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The value of temp_level4_pgt is the physical address of the > top-level page directory, so use __pa() to compute it. > > Signed-off-by: Rafael J. Wysocki >

[PATCH] [media] radio-si470x-i2c: Delete owner assignment

2016-08-14 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 15 Aug 2016 07:01:56 +0200 The field "owner" is set by core. Thus delete an extra initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring --- drivers/media/radio/si470x/radio-si470x-i2c.c | 1 - 1 file

Re: [PATCH] x86/power/64: Use __pa() for physical address computation

2016-08-14 Thread Ingo Molnar
* Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The value of temp_level4_pgt is the physical address of the > top-level page directory, so use __pa() to compute it. > > Signed-off-by: Rafael J. Wysocki > --- > arch/x86/power/hibernate_64.c |2 +- > 1 file changed, 1

Re: [PATCH v3 0/7] x86: Rewrite switch_to()

2016-08-14 Thread Ingo Molnar
* Brian Gerst wrote: > > Something like this: > > > > taskset 1 perf stat -a -e '{instructions,cycles}' --repeat 10 perf bench > > sched pipe > > > > ... will give a very good idea about the general impact of these changes on > > context switch overhead. > > Before: >

Re: [PATCH v3 0/7] x86: Rewrite switch_to()

2016-08-14 Thread Ingo Molnar
* Brian Gerst wrote: > > Something like this: > > > > taskset 1 perf stat -a -e '{instructions,cycles}' --repeat 10 perf bench > > sched pipe > > > > ... will give a very good idea about the general impact of these changes on > > context switch overhead. > > Before: > Performance counter

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-14 Thread Ingo Molnar
* Linus Torvalds wrote: > Make sure you actually use "perf record -e cycles:pp" or something > that uses PEBS to get real profiles using CPU performance counters. Btw., 'perf record -e cycles:pp' is the default now for modern versions of perf tooling (on most x86

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-14 Thread Ingo Molnar
* Linus Torvalds wrote: > Make sure you actually use "perf record -e cycles:pp" or something > that uses PEBS to get real profiles using CPU performance counters. Btw., 'perf record -e cycles:pp' is the default now for modern versions of perf tooling (on most x86 systems) - if you do 'perf

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-14 Thread Dave Chinner
On Sun, Aug 14, 2016 at 07:53:40PM -0700, Linus Torvalds wrote: > On Sun, Aug 14, 2016 at 7:28 PM, Dave Chinner wrote: > >> > >> Maybe your symbol table came from a old kernel, and functions moved > >> around enough that the profile attributions ended up bogus. > > > > No, I

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-14 Thread Dave Chinner
On Sun, Aug 14, 2016 at 07:53:40PM -0700, Linus Torvalds wrote: > On Sun, Aug 14, 2016 at 7:28 PM, Dave Chinner wrote: > >> > >> Maybe your symbol table came from a old kernel, and functions moved > >> around enough that the profile attributions ended up bogus. > > > > No, I don't think so. I

[PATCH v2] drm/tegra: dpaux: Modify error handling

2016-08-14 Thread Amitoj Kaur Chawla
devm_pinctrl_register returns an ERR_PTR in case of error and should have an IS_ERR check instead of a null check. The Coccinelle semantic patch used to make this change is as follows: @@ expression e; @@ e = devm_pinctrl_register(...); if( -!e +IS_ERR(e) ) { <+... return -

[PATCH v2] drm/tegra: dpaux: Modify error handling

2016-08-14 Thread Amitoj Kaur Chawla
devm_pinctrl_register returns an ERR_PTR in case of error and should have an IS_ERR check instead of a null check. The Coccinelle semantic patch used to make this change is as follows: @@ expression e; @@ e = devm_pinctrl_register(...); if( -!e +IS_ERR(e) ) { <+... return -

Re: [PATCH v3 3/4] arm64: kaslr: Fix incorrect placement of __initdata and __read_mostly

2016-08-14 Thread Jisheng Zhang
Hi Ard, On Fri, 12 Aug 2016 14:02:40 +0200 Ard Biesheuvel wrote: > Hi Jisheng, > > On 12 August 2016 at 10:01, Jisheng Zhang wrote: > > __initdata and __read_mostly should be placed after the variable name > > for the variable to be placed in the intended section. > > >

Re: [PATCH v3 3/4] arm64: kaslr: Fix incorrect placement of __initdata and __read_mostly

2016-08-14 Thread Jisheng Zhang
Hi Ard, On Fri, 12 Aug 2016 14:02:40 +0200 Ard Biesheuvel wrote: > Hi Jisheng, > > On 12 August 2016 at 10:01, Jisheng Zhang wrote: > > __initdata and __read_mostly should be placed after the variable name > > for the variable to be placed in the intended section. > > > > Why?

[PATCH] drm/nouveau/tegra: Modify error handling

2016-08-14 Thread Amitoj Kaur Chawla
iommu_domain_alloc returns NULL on error so replace an incorrect IS_ERR check with a NULL check. The Coccinelle semantic patch used to find this issue is as follows: @@ expression e; statement S; @@ *e = iommu_domain_alloc(...); if (IS_ERR(e)) S Signed-off-by: Amitoj Kaur Chawla

[PATCH] drm/nouveau/tegra: Modify error handling

2016-08-14 Thread Amitoj Kaur Chawla
iommu_domain_alloc returns NULL on error so replace an incorrect IS_ERR check with a NULL check. The Coccinelle semantic patch used to find this issue is as follows: @@ expression e; statement S; @@ *e = iommu_domain_alloc(...); if (IS_ERR(e)) S Signed-off-by: Amitoj Kaur Chawla ---

[lkp] 8700e3e7c4: BUG: unable to handle kernel NULL pointer dereference at 000001fc

2016-08-14 Thread kernel test robot
FYI, we noticed the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 8700e3e7c4857d28ebaa824509934556da0b3e76 ("Soft RoCE driver") in testcase: boot on test machine: 1 threads qemu-system-i386 -enable-kvm with 256M memory caused below changes:

[lkp] 8700e3e7c4: BUG: unable to handle kernel NULL pointer dereference at 000001fc

2016-08-14 Thread kernel test robot
FYI, we noticed the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 8700e3e7c4857d28ebaa824509934556da0b3e76 ("Soft RoCE driver") in testcase: boot on test machine: 1 threads qemu-system-i386 -enable-kvm with 256M memory caused below changes:

[lkp] [usb] ad05399d68: BUG: unable to handle kernel NULL pointer dereference at 0000000000000012

2016-08-14 Thread kernel test robot
FYI, we noticed the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git testing/next commit ad05399d68b6ae1649cdcfc82ce3ffea1a7c5104 ("usb: udc: core: fix error handling") in testcase: boot on test machine: 1 threads qemu-system-x86_64 -enable-kvm -cpu SandyBridge

[lkp] [usb] ad05399d68: BUG: unable to handle kernel NULL pointer dereference at 0000000000000012

2016-08-14 Thread kernel test robot
FYI, we noticed the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git testing/next commit ad05399d68b6ae1649cdcfc82ce3ffea1a7c5104 ("usb: udc: core: fix error handling") in testcase: boot on test machine: 1 threads qemu-system-x86_64 -enable-kvm -cpu SandyBridge

Loan Application

2016-08-14 Thread Lisa Collins
Do You Need A Loan Of Any Kind ? If Yes Email Now For More Info on internationalloanp...@gmail.com Benötigen Sie ein Darlehen jeglicher Art? Wenn ja E-Mail jetzt für mehr Info auf internationalloanp...@gmail.com

Loan Application

2016-08-14 Thread Lisa Collins
Do You Need A Loan Of Any Kind ? If Yes Email Now For More Info on internationalloanp...@gmail.com Benötigen Sie ein Darlehen jeglicher Art? Wenn ja E-Mail jetzt für mehr Info auf internationalloanp...@gmail.com

Re: [PATCH] mlxsw: spectrum_router: Fix use after free

2016-08-14 Thread David Miller
From: Vincent Stehlé Date: Sun, 14 Aug 2016 15:38:29 +0200 > In mlxsw_sp_router_fib4_add_info_destroy(), the fib_entry pointer is used > after it has been freed by mlxsw_sp_fib_entry_destroy(). Use a temporary > variable to fix this. > > Fixes: 61c503f976b5449e

Re: [PATCH] mlxsw: spectrum_router: Fix use after free

2016-08-14 Thread David Miller
From: Vincent Stehlé Date: Sun, 14 Aug 2016 15:38:29 +0200 > In mlxsw_sp_router_fib4_add_info_destroy(), the fib_entry pointer is used > after it has been freed by mlxsw_sp_fib_entry_destroy(). Use a temporary > variable to fix this. > > Fixes: 61c503f976b5449e ("mlxsw: spectrum_router:

Re: [RFC 1/2] netvsc: reference counting fix

2016-08-14 Thread David Miller
From: Stephen Hemminger Date: Sat, 13 Aug 2016 11:35:59 -0700 > This is how I think it should be fixed, but not tested yet. > > Subjec: netvsc: use device not module reference counts > > Fix how the cross-device reference counting is handled. When VF is >

Re: [RFC 1/2] netvsc: reference counting fix

2016-08-14 Thread David Miller
From: Stephen Hemminger Date: Sat, 13 Aug 2016 11:35:59 -0700 > This is how I think it should be fixed, but not tested yet. > > Subjec: netvsc: use device not module reference counts > > Fix how the cross-device reference counting is handled. When VF is > associated with the synthetic

Re: [PATCH v2 0/3] Make /proc per net namespace objects belong to container

2016-08-14 Thread David Miller
From: Dmitry Torokhov Date: Wed, 10 Aug 2016 14:35:59 -0700 > Currently [almost] all /proc objects belong to the global root, even if > data belongs to a given namespace within a container and (at least for > sysctls) we work around permssions checks to allow

Re: [PATCH v2 0/3] Make /proc per net namespace objects belong to container

2016-08-14 Thread David Miller
From: Dmitry Torokhov Date: Wed, 10 Aug 2016 14:35:59 -0700 > Currently [almost] all /proc objects belong to the global root, even if > data belongs to a given namespace within a container and (at least for > sysctls) we work around permssions checks to allow container's root to > access the

Re: [PATCH] vcodec: mediatek: bug fix and code refine for mt8173 v4l2 Encoder

2016-08-14 Thread Tiffany Lin
Hi Hans, On Sun, 2016-08-14 at 13:40 +0200, Hans Verkuil wrote: > On 08/12/2016 04:35 PM, Tiffany Lin wrote: > > This patch include fixs: > > 1. Remove unused include in mtk_vcodec_drv.h > > 2. Fix visible_height larger than coded_height issue in s_fmt_out > > 3. Add timestamp and

Re: [PATCH] vcodec: mediatek: bug fix and code refine for mt8173 v4l2 Encoder

2016-08-14 Thread Tiffany Lin
Hi Hans, On Sun, 2016-08-14 at 13:40 +0200, Hans Verkuil wrote: > On 08/12/2016 04:35 PM, Tiffany Lin wrote: > > This patch include fixs: > > 1. Remove unused include in mtk_vcodec_drv.h > > 2. Fix visible_height larger than coded_height issue in s_fmt_out > > 3. Add timestamp and

[PATCH for v4.8] vcodec:mediatek: Refine VP8 encoder driver

2016-08-14 Thread Tiffany Lin
This patch remove field and function that unused anymore Signed-off-by: Tiffany Lin --- .../media/platform/mtk-vcodec/venc/venc_vp8_if.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git

[PATCH for v4.8] vcodec:mediatek: Refine VP8 encoder driver

2016-08-14 Thread Tiffany Lin
This patch remove field and function that unused anymore Signed-off-by: Tiffany Lin --- .../media/platform/mtk-vcodec/venc/venc_vp8_if.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c

[PATCH for v4.8] vcodec:mediatek: Refine H264 encoder driver

2016-08-14 Thread Tiffany Lin
This patch : 1. remove field and function that unused anymore 2. add support V4L2_MPEG_VIDEO_H264_LEVEL_4_2 Signed-off-by: Tiffany Lin --- .../media/platform/mtk-vcodec/venc/venc_h264_if.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff

[PATCH for v4.8] vcodec:mediatek: Refine H264 encoder driver

2016-08-14 Thread Tiffany Lin
This patch : 1. remove field and function that unused anymore 2. add support V4L2_MPEG_VIDEO_H264_LEVEL_4_2 Signed-off-by: Tiffany Lin --- .../media/platform/mtk-vcodec/venc/venc_h264_if.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git

linux-next: Tree for Aug 15

2016-08-14 Thread Stephen Rothwell
Hi all, Changes since 20160812: The net-next tree gained a conflict against the net tree. The akpm tree lost a patch that turned up elsewhere. Non-merge commits (relative to Linus' tree): 1667 1761 files changed, 70815 insertions(+), 19458 deletions(-)

linux-next: Tree for Aug 15

2016-08-14 Thread Stephen Rothwell
Hi all, Changes since 20160812: The net-next tree gained a conflict against the net tree. The akpm tree lost a patch that turned up elsewhere. Non-merge commits (relative to Linus' tree): 1667 1761 files changed, 70815 insertions(+), 19458 deletions(-)

[PATCH for v4.8] vcodec:mediatek: change H264 profile default to profile high

2016-08-14 Thread Tiffany Lin
This patch change default H264 profile from V4L2_MPEG_VIDEO_H264_PROFILE_MAIN to V4L2_MPEG_VIDEO_H264_PROFILE_HIGH Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH for v4.8] vcodec:mediatek: change H264 profile default to profile high

2016-08-14 Thread Tiffany Lin
This patch change default H264 profile from V4L2_MPEG_VIDEO_H264_PROFILE_MAIN to V4L2_MPEG_VIDEO_H264_PROFILE_HIGH Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Linux 4.8-rc2

2016-08-14 Thread Linus Torvalds
We've had a week since the merge window closed, and rc2 is out. Go test it. The diffstat for rc2 looks unusual, in that only about 1/6th is drivers (normally drivers account for about half the bulk of the updates). Instead, it's dominated by arch updates, and fs/ and mm/. But that's most likely

Linux 4.8-rc2

2016-08-14 Thread Linus Torvalds
We've had a week since the merge window closed, and rc2 is out. Go test it. The diffstat for rc2 looks unusual, in that only about 1/6th is drivers (normally drivers account for about half the bulk of the updates). Instead, it's dominated by arch updates, and fs/ and mm/. But that's most likely

[PATCH for v4.8] vcodec:mediatek: Add timestamp and timecode copy for V4L2 Encoder

2016-08-14 Thread Tiffany Lin
This patch add copying timestamp and timecode from src buffer to dst buffer Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c | 23 1 file changed, 19 insertions(+), 4 deletions(-) diff --git

[PATCH for v4.8] vcodec:mediatek: Add timestamp and timecode copy for V4L2 Encoder

2016-08-14 Thread Tiffany Lin
This patch add copying timestamp and timecode from src buffer to dst buffer Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c | 23 1 file changed, 19 insertions(+), 4 deletions(-) diff --git

Re: [RFC 0/4] RFC: Add Checmate, BPF-driven minor LSM

2016-08-14 Thread Sargun Dhillon
On Mon, Aug 15, 2016 at 12:57:44AM +0200, Mickaël Salaün wrote: > Hi, > > I've been working on an extension to seccomp-bpf since last year and > published > a first RFC about it [1]. I'm working on a second RFC/PoC which use eBPF > instead of cBPF and is more close to a common LSM than the

[PATCH for v4.8] vcodec:mediatek: Fix visible_height larger than coded_height issue in s_fmt_out

2016-08-14 Thread Tiffany Lin
The original code add extra 32 line to visible_height. It is incorrect, 32 line should be add to coded_height. The purpose is that user space could calcuate real buffer size needed by using coded_width * coded_height. But this method will make v4l2-compliance test fail, since g_fmt != s_fmt(g_fmt)

Re: [RFC 0/4] RFC: Add Checmate, BPF-driven minor LSM

2016-08-14 Thread Sargun Dhillon
On Mon, Aug 15, 2016 at 12:57:44AM +0200, Mickaël Salaün wrote: > Hi, > > I've been working on an extension to seccomp-bpf since last year and > published > a first RFC about it [1]. I'm working on a second RFC/PoC which use eBPF > instead of cBPF and is more close to a common LSM than the

[PATCH for v4.8] vcodec:mediatek: Fix visible_height larger than coded_height issue in s_fmt_out

2016-08-14 Thread Tiffany Lin
The original code add extra 32 line to visible_height. It is incorrect, 32 line should be add to coded_height. The purpose is that user space could calcuate real buffer size needed by using coded_width * coded_height. But this method will make v4l2-compliance test fail, since g_fmt != s_fmt(g_fmt)

Re: [PATCH v9 06/10] clk: mediatek: Add MT2701 clock support

2016-08-14 Thread James Liao
Hi Stephen, On Fri, 2016-08-12 at 17:44 -0700, Stephen Boyd wrote: > On 06/22, Erin Lo wrote: > > diff --git a/drivers/clk/mediatek/clk-mt2701-bdp.c > > b/drivers/clk/mediatek/clk-mt2701-bdp.c > > new file mode 100644 > > index 000..81f628c > > --- /dev/null > > +++

Re: [PATCH v9 06/10] clk: mediatek: Add MT2701 clock support

2016-08-14 Thread James Liao
Hi Stephen, On Fri, 2016-08-12 at 17:44 -0700, Stephen Boyd wrote: > On 06/22, Erin Lo wrote: > > diff --git a/drivers/clk/mediatek/clk-mt2701-bdp.c > > b/drivers/clk/mediatek/clk-mt2701-bdp.c > > new file mode 100644 > > index 000..81f628c > > --- /dev/null > > +++

Re: [PATCH 1/2] block: skd_main: Neaten pr_debug uses by adding and using skd_dbg

2016-08-14 Thread Joe Perches
On Mon, 2016-08-15 at 10:53 +0800, kbuild test robot wrote: > Hi Joe, Hi Fengguang. None of these are "new" errors, it's just using a new and different call. I'm not suggesting these shouldn't be fixed later, just that these shouldn't be fixed in this specific patch as it would intermix a style

Re: [PATCH 1/2] block: skd_main: Neaten pr_debug uses by adding and using skd_dbg

2016-08-14 Thread Joe Perches
On Mon, 2016-08-15 at 10:53 +0800, kbuild test robot wrote: > Hi Joe, Hi Fengguang. None of these are "new" errors, it's just using a new and different call. I'm not suggesting these shouldn't be fixed later, just that these shouldn't be fixed in this specific patch as it would intermix a style

Re: [PATCH v3] vfio : add aer process

2016-08-14 Thread Zhou Jie
ping On 2016/8/2 11:57, Zhou Jie wrote: During aer err occurs and resume do following to protect device from being accessed. 1. Make config space read only. 2. Disable INTx/MSI Interrupt. 3. Do nothing for bar regions. Signed-off-by: Zhou Jie --- v2-v3: 1. Call

Re: [PATCH v3] vfio : add aer process

2016-08-14 Thread Zhou Jie
ping On 2016/8/2 11:57, Zhou Jie wrote: During aer err occurs and resume do following to protect device from being accessed. 1. Make config space read only. 2. Disable INTx/MSI Interrupt. 3. Do nothing for bar regions. Signed-off-by: Zhou Jie --- v2-v3: 1. Call init_completion() in

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-14 Thread Linus Torvalds
On Sun, Aug 14, 2016 at 7:28 PM, Dave Chinner wrote: >> >> Maybe your symbol table came from a old kernel, and functions moved >> around enough that the profile attributions ended up bogus. > > No, I don't think so. I don't install symbol tables on my test VMs, > I let

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-14 Thread Linus Torvalds
On Sun, Aug 14, 2016 at 7:28 PM, Dave Chinner wrote: >> >> Maybe your symbol table came from a old kernel, and functions moved >> around enough that the profile attributions ended up bogus. > > No, I don't think so. I don't install symbol tables on my test VMs, > I let /proc/kallsyms do that work

Re: [PATCH 1/2] block: skd_main: Neaten pr_debug uses by adding and using skd_dbg

2016-08-14 Thread kbuild test robot
Hi Joe, [auto build test WARNING on linus/master] [also build test WARNING on v4.8-rc1 next-20160812] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH 1/2] block: skd_main: Neaten pr_debug uses by adding and using skd_dbg

2016-08-14 Thread kbuild test robot
Hi Joe, [auto build test WARNING on linus/master] [also build test WARNING on v4.8-rc1 next-20160812] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v9 01/10] clk: fix initial state of critical clock's parents

2016-08-14 Thread James Liao
Hi Stephen, On Fri, 2016-08-12 at 17:39 -0700, Stephen Boyd wrote: > On 08/12, James Liao wrote: > > On Wed, 2016-08-10 at 14:09 -0700, Stephen Boyd wrote: > > > (Including lists) > > > > > > On 08/09, James Liao wrote: > > > > On Wed, 2016-08-03 at 13:46 +0800, James Liao wrote: > > > >> > > >

[PATCH for v4.8] vcodec:mediatek: Fix fops_vcodec_release flow for V4L2 Encoder

2016-08-14 Thread Tiffany Lin
This patch fix that mtk_vcodec_venc_release should be called after v4l2_m2m_ctx_release Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c |7 ++- .../media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c |6 +- 2 files changed,

Re: [PATCH v9 01/10] clk: fix initial state of critical clock's parents

2016-08-14 Thread James Liao
Hi Stephen, On Fri, 2016-08-12 at 17:39 -0700, Stephen Boyd wrote: > On 08/12, James Liao wrote: > > On Wed, 2016-08-10 at 14:09 -0700, Stephen Boyd wrote: > > > (Including lists) > > > > > > On 08/09, James Liao wrote: > > > > On Wed, 2016-08-03 at 13:46 +0800, James Liao wrote: > > > >> > > >

[PATCH for v4.8] vcodec:mediatek: Fix fops_vcodec_release flow for V4L2 Encoder

2016-08-14 Thread Tiffany Lin
This patch fix that mtk_vcodec_venc_release should be called after v4l2_m2m_ctx_release Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c |7 ++- .../media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c |6 +- 2 files changed, 11 insertions(+), 2

[PATCH for v4.8] vcodec:mediatek:code refine for v4l2 Encoder driver

2016-08-14 Thread Tiffany Lin
This patch remove unused header and define from haeder files Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h |1 - .../media/platform/mtk-vcodec/mtk_vcodec_intr.h|1 - 2 files changed, 2 deletions(-) diff --git

[PATCH for v4.8] vcodec:mediatek:code refine for v4l2 Encoder driver

2016-08-14 Thread Tiffany Lin
This patch remove unused header and define from haeder files Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h |1 - .../media/platform/mtk-vcodec/mtk_vcodec_intr.h|1 - 2 files changed, 2 deletions(-) diff --git

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-14 Thread Dave Chinner
On Sun, Aug 14, 2016 at 06:37:33PM -0700, Linus Torvalds wrote: > On Sun, Aug 14, 2016 at 5:48 PM, Dave Chinner wrote: > >> > >> Does this attached patch help your contention numbers? > > > > No. If anything, it makes it worse. Without the patch, I was > > measuring 36-37% in

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-14 Thread Dave Chinner
On Sun, Aug 14, 2016 at 06:37:33PM -0700, Linus Torvalds wrote: > On Sun, Aug 14, 2016 at 5:48 PM, Dave Chinner wrote: > >> > >> Does this attached patch help your contention numbers? > > > > No. If anything, it makes it worse. Without the patch, I was > > measuring 36-37% in

Re: [PATCH 4.4 133/146] ovl: Copy up underlying inodes ->i_mode to overlay inode

2016-08-14 Thread Eryu Guan
On Sun, Aug 14, 2016 at 04:52:16PM +0200, Greg Kroah-Hartman wrote: > > Did a fix for this ever get into Linus's tree? > > thanks, > > greg k-h Yes, please see commit c1892c37769c ("vfs: fix deadlock in file_remove_privs() on overlayfs"), which is tagged as "stable". Thanks, Eryu

Re: [PATCH 4.4 133/146] ovl: Copy up underlying inodes ->i_mode to overlay inode

2016-08-14 Thread Eryu Guan
On Sun, Aug 14, 2016 at 04:52:16PM +0200, Greg Kroah-Hartman wrote: > > Did a fix for this ever get into Linus's tree? > > thanks, > > greg k-h Yes, please see commit c1892c37769c ("vfs: fix deadlock in file_remove_privs() on overlayfs"), which is tagged as "stable". Thanks, Eryu

[PATCH 0/2] block: skd_main: Neatening and object size reduction

2016-08-14 Thread Joe Perches
Joe Perches (2): block: skd_main: Neaten pr_debug uses by adding and using skd_dbg block: skd_main: Reduce dynamic_debug size drivers/block/skd_main.c | 604 ++- 1 file changed, 228 insertions(+), 376 deletions(-) -- 2.8.0.rc4.16.g56331f8

[PATCH 2/2] block: skd_main: Reduce dynamic_debug size

2016-08-14 Thread Joe Perches
Delete __func__ and __LINE__ from skd_dbg. skd_main does not enable DEBUG so these skd_dbg/pr_debug uses are not enabled unless dynamic_debug is enabled. dynamic_debug can optionally emit __func__ and __LINE__ so the default use of %s:%d is not necessary. $ size drivers/block/skd_main.o*

[PATCH 1/2] block: skd_main: Neaten pr_debug uses by adding and using skd_dbg

2016-08-14 Thread Joe Perches
Shorten and neaten the code around these pr_debug uses. Removes ~150 lines of essentially noise by using a standardized macro. Miscellanea: o Coalesce formats adding missing space where appropriate o Realign arguments Signed-off-by: Joe Perches --- drivers/block/skd_main.c

[PATCH 0/2] block: skd_main: Neatening and object size reduction

2016-08-14 Thread Joe Perches
Joe Perches (2): block: skd_main: Neaten pr_debug uses by adding and using skd_dbg block: skd_main: Reduce dynamic_debug size drivers/block/skd_main.c | 604 ++- 1 file changed, 228 insertions(+), 376 deletions(-) -- 2.8.0.rc4.16.g56331f8

[PATCH 2/2] block: skd_main: Reduce dynamic_debug size

2016-08-14 Thread Joe Perches
Delete __func__ and __LINE__ from skd_dbg. skd_main does not enable DEBUG so these skd_dbg/pr_debug uses are not enabled unless dynamic_debug is enabled. dynamic_debug can optionally emit __func__ and __LINE__ so the default use of %s:%d is not necessary. $ size drivers/block/skd_main.o*

[PATCH 1/2] block: skd_main: Neaten pr_debug uses by adding and using skd_dbg

2016-08-14 Thread Joe Perches
Shorten and neaten the code around these pr_debug uses. Removes ~150 lines of essentially noise by using a standardized macro. Miscellanea: o Coalesce formats adding missing space where appropriate o Realign arguments Signed-off-by: Joe Perches --- drivers/block/skd_main.c | 605

[PATCH v6] vcodec: mediatek: Add g/s_selection support for V4L2 Encoder

2016-08-14 Thread Tiffany Lin
This patch add g/s_selection for MT8173 V4L2 Encoder. Only output queue support g/s_selection to configure crop. The top/left of active rectangle should always be (0,0) Signed-off-by: Tiffany Lin --- v6: - remove unused err variable from s_selection v5: - remove

[PATCH v6] vcodec: mediatek: Add g/s_selection support for V4L2 Encoder

2016-08-14 Thread Tiffany Lin
This patch add g/s_selection for MT8173 V4L2 Encoder. Only output queue support g/s_selection to configure crop. The top/left of active rectangle should always be (0,0) Signed-off-by: Tiffany Lin --- v6: - remove unused err variable from s_selection v5: - remove visible_height change to a

[GIT PULL] Thermal management updates for v4.8-rc2

2016-08-14 Thread Zhang Rui
Hi, Linus, Please pull from   git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next to receive the latest Thermal Management updates for v4.8-rc2 with top-most commit 1577ddfac75ff9690ebd0d210bc7f1345c9d29ef:   Merge branches 'thermal-intel' and 'thermal-core' into next (2016-08-

[GIT PULL] Thermal management updates for v4.8-rc2

2016-08-14 Thread Zhang Rui
Hi, Linus, Please pull from   git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next to receive the latest Thermal Management updates for v4.8-rc2 with top-most commit 1577ddfac75ff9690ebd0d210bc7f1345c9d29ef:   Merge branches 'thermal-intel' and 'thermal-core' into next (2016-08-

Re: [PATCH] mailbox-Hi6220: Delete owner assignment

2016-08-14 Thread Leo Yan
On Sun, Aug 14, 2016 at 09:18:53PM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 14 Aug 2016 21:08:41 +0200 > > The field "owner" is set by core. Thus delete an extra initialisation. > > Generated by:

Re: [PATCH] mailbox-Hi6220: Delete owner assignment

2016-08-14 Thread Leo Yan
On Sun, Aug 14, 2016 at 09:18:53PM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 14 Aug 2016 21:08:41 +0200 > > The field "owner" is set by core. Thus delete an extra initialisation. > > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci > Signed-off-by:

Re: [PATCH 1/3] mem-hotplug: introduce movablenode option

2016-08-14 Thread Xishi Qiu
On 2016/8/12 7:13, Andrew Morton wrote: > On Thu, 4 Aug 2016 19:23:54 +0800 Xishi Qiu wrote: > >> This patch introduces a new boot option movablenode. >> >> To support memory hotplug, boot option "movable_node" is needed. And to >> support debug memory hotplug, boot option

Re: [PATCH 1/3] mem-hotplug: introduce movablenode option

2016-08-14 Thread Xishi Qiu
On 2016/8/12 7:13, Andrew Morton wrote: > On Thu, 4 Aug 2016 19:23:54 +0800 Xishi Qiu wrote: > >> This patch introduces a new boot option movablenode. >> >> To support memory hotplug, boot option "movable_node" is needed. And to >> support debug memory hotplug, boot option "movable_node" and

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-14 Thread Linus Torvalds
On Sun, Aug 14, 2016 at 5:48 PM, Dave Chinner wrote: >> >> Does this attached patch help your contention numbers? > > No. If anything, it makes it worse. Without the patch, I was > measuring 36-37% in _raw_spin_unlock_irqrestore. With the patch, it > is 42-43%. Write

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-14 Thread Linus Torvalds
On Sun, Aug 14, 2016 at 5:48 PM, Dave Chinner wrote: >> >> Does this attached patch help your contention numbers? > > No. If anything, it makes it worse. Without the patch, I was > measuring 36-37% in _raw_spin_unlock_irqrestore. With the patch, it > is 42-43%. Write throughtput is the same at

Re: [RFC 5/7] Bluetooth: hci_nokia: Introduce new driver

2016-08-14 Thread Sebastian Reichel
Hi Paul, On Sun, Aug 14, 2016 at 07:54:28PM -0400, Paul Gortmaker wrote: > On Fri, Aug 12, 2016 at 11:14 PM, Sebastian Reichel wrote: > > This driver adds support for Nokia H4+ procotol used > > for example by Nokia's internet tablets (N770 - N950). > > > > [...] > > > > +config

Re: [RFC 5/7] Bluetooth: hci_nokia: Introduce new driver

2016-08-14 Thread Sebastian Reichel
Hi Paul, On Sun, Aug 14, 2016 at 07:54:28PM -0400, Paul Gortmaker wrote: > On Fri, Aug 12, 2016 at 11:14 PM, Sebastian Reichel wrote: > > This driver adds support for Nokia H4+ procotol used > > for example by Nokia's internet tablets (N770 - N950). > > > > [...] > > > > +config BT_HCIUART_NOKIA

Re: [RFC PATCH v7 7/7] Restartable sequences: self-tests

2016-08-14 Thread Boqun Feng
On Sun, Aug 14, 2016 at 03:02:20PM +, Mathieu Desnoyers wrote: > - On Aug 12, 2016, at 9:28 PM, Boqun Feng boqun.f...@gmail.com wrote: > > > On Fri, Aug 12, 2016 at 06:11:45PM +, Mathieu Desnoyers wrote: > >> - On Aug 12, 2016, at 12:35 PM, Boqun Feng boqun.f...@gmail.com wrote: >

Re: [RFC PATCH v7 7/7] Restartable sequences: self-tests

2016-08-14 Thread Boqun Feng
On Sun, Aug 14, 2016 at 03:02:20PM +, Mathieu Desnoyers wrote: > - On Aug 12, 2016, at 9:28 PM, Boqun Feng boqun.f...@gmail.com wrote: > > > On Fri, Aug 12, 2016 at 06:11:45PM +, Mathieu Desnoyers wrote: > >> - On Aug 12, 2016, at 12:35 PM, Boqun Feng boqun.f...@gmail.com wrote: >

  1   2   3   4   5   6   7   8   9   10   >