Re: [PATCH 1/4] net: hix5hd2_gmac: add tx scatter-gather feature

2016-08-14 Thread Dongpo Li
Hi Rob, Many thanks for your review. On 2016/8/13 2:43, Rob Herring wrote: > On Thu, Aug 11, 2016 at 05:01:52PM +0800, Dongpo Li wrote: >> From: Li Dongpo >> >> The "hix5hd2" is SoC name, add the generic ethernet driver name. >> The "hisi-gemac-v1" is the basic version and "hisi-gemac-v2" adds >>

Re: [PATCH v3 4/4] arm64: apply __ro_after_init to some objects

2016-08-14 Thread Jisheng Zhang
Hi Mark, On Fri, 12 Aug 2016 13:43:45 +0100 Mark Rutland wrote: > Hi, > > There are still a few missing includes as of this patch, and I have a > small nit about one file as commented below. > > Please fix up the includes. > > On Fri, Aug 12, 2016 at 04:01:11PM +0800, Jisheng Zhang wrote: > >

[PATCH] powerpc/powernv: Initialise nest mmu

2016-08-14 Thread Alistair Popple
POWER9 contains an off core mmu called the nest mmu (NMMU). This is used by other hardware units on the chip to translate virtual addresses into real addresses. The unit attempting an address translation provides the majority of the context required for the translation request except for the base a

[PATCH v4 1/3] arm64: vdso: add __init section marker to alloc_vectors_page

2016-08-14 Thread Jisheng Zhang
It is not needed after booting, this patch moves the alloc_vectors_page function to the __init section. Signed-off-by: Jisheng Zhang --- arch/arm64/kernel/vdso.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/vdso.c b/arch/arm64/kernel/vdso.c index 076312b.

[PATCH v4 3/3] arm64: apply __ro_after_init to some objects

2016-08-14 Thread Jisheng Zhang
These objects are set during initialization, thereafter are read only. Previously I only want to mark vdso_pages, vdso_spec, vectors_page and cpu_ops as __read_mostly from performance point of view. Then inspired by Kees's patch[1] to apply more __ro_after_init for arm, I think it's better to mark

Re: [PATCH v3 3/3] drm/mediatek: fix the wrong pixel clock when resolution is 4K

2016-08-14 Thread Bibby Hsieh
Hi, Philipp, On Thu, 2016-08-11 at 09:15 +0200, Philipp Zabel wrote: > Am Donnerstag, den 04.08.2016, 10:38 +0800 schrieb Bibby Hsieh: > > From: Junzhi Zhao > > > > Pixel clock should be 297MHz when resolution is 4K. > > > > Signed-off-by: Junzhi Zhao > > Signed-off-by: Bibby Hsieh > > --- >

[PATCH v4 2/3] arm64: vdso: constify vm_special_mapping used for aarch32 vectors page

2016-08-14 Thread Jisheng Zhang
The vm_special_mapping spec which is used for aarch32 vectors page is never modified, so mark it as const. Signed-off-by: Jisheng Zhang --- arch/arm64/kernel/vdso.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/vdso.c b/arch/arm64/kernel/vdso.c index e320e

[PATCH v4 0/3] arm64: put objects into proper sections

2016-08-14 Thread Jisheng Zhang
This series tries to put some objects into proper sections. patch1 puts alloc_vectors_page() into .init section. This is a clean up patch. patch2 constify vm_special_mapping used for aarch32 vectors page. patch3 apply __ro_after_init to some objects Previously I only want to mark vdso_pages, vdso

Re: [PATCH v3 2/3] drm: simpledrm: add fbdev fallback support

2016-08-14 Thread Daniel Vetter
On Sun, Aug 14, 2016 at 06:52:05PM +0200, Noralf Trønnes wrote: > Create a simple fbdev device during SimpleDRM setup so legacy user-space > and fbcon can use it. > > Original work by David Herrmann. > > Cc: dh.herrm...@gmail.com > Signed-off-by: Noralf Trønnes > --- > > Changes from version 2:

[PATCH] fjes: Delete owner assignment

2016-08-14 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 15 Aug 2016 08:34: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/net/fjes/fjes_main.c | 1 - 1 file changed, 1 deletion(-)

Re: [PATCH] drm/udl: Ensure channel is selected before using the device.

2016-08-14 Thread Daniel Vetter
On Sun, Aug 14, 2016 at 07:19:35PM +0100, Jamie Lentin wrote: > Lift configuration command from udlfb. If this command is not sent, > then the device never outputs a signal, it's status LED is continually > flashing and occasional "udlfb: wait for urb interrupted" messages are > produced. > > Test

Re: ARC stable backport request

2016-08-14 Thread Alexey Brodkin
Hi Greg, On Sun, 2016-08-14 at 17:39 +0200, Greg KH wrote: > On Wed, May 25, 2016 at 05:13:31PM +0530, Vineet Gupta wrote: > > > > Hi, > > > > Can we please backport a6416f57ce57fb390b "ARC: use ASL assembler mnemonic". > > Newer binutils don't like ASL instruction and fail to build kernels prio

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

2016-08-14 Thread Ard Biesheuvel
On 15 August 2016 at 07:57, Jisheng Zhang wrote: > Hi Ard, > > On Mon, 15 Aug 2016 12:52:14 +0800 Jisheng Zhang wrote: > >> 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 _

Re: [lockdep] drm/i915: possible circular locking dependency in i915 driver init

2016-08-14 Thread Daniel Vetter
On Sun, Aug 14, 2016 at 11:01:35PM +0900, Masami Hiramatsu wrote: > Hello, > > I've found a suspicious circular locking dependency in i915 by lockdep. > It seems main driver initialization thread and sub fbdev configuration > thread take locks in different order implicitly. Please check it. > > T

[PATCH] mtd/maps/pismo: Delete owner assignment

2016-08-14 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 15 Aug 2016 08:05:33 +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/mtd/maps/pismo.c | 1 - 1 file changed, 1 deletion(-) di

Re: [PATCH v6 0/5] /dev/random - a new approach

2016-08-14 Thread Stephan Mueller
Am Freitag, 12. August 2016, 15:22:08 CEST schrieb Theodore Ts'o: Hi Theodore, > On Fri, Aug 12, 2016 at 11:34:55AM +0200, Stephan Mueller wrote: > > - correlation: the interrupt noise source is closely correlated to the > > HID/ > > block noise sources. I see that the fast_pool somehow "smears"

Re: [PATCH v9 0/2] [media] atmel-isc: add driver for Atmel ISC

2016-08-14 Thread Wu, Songjun
On 8/12/2016 15:32, Hans Verkuil wrote: One quick question: On 08/11/2016 09:06 AM, Songjun Wu wrote: The Image Sensor Controller driver includes two parts. 1) Driver code to implement the ISC function. 2) Device tree binding documentation, it describes how to add the ISC in device tree.

Re: [PATCH] Staging: rtl8723au: os_intfs: fixed case statement is variable issue

2016-08-14 Thread Johannes Berg
On Sun, 2016-08-14 at 05:23 -0700, Joe Perches wrote: >  > Maybe this test should be sparse version checked after > sparse is updated. *If* sparse ever gets updated :) I don't think it's been updated much lately. That said, I'm not even sure how, and what version, etc. so obviously that'd have to

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

2016-08-14 Thread Jisheng Zhang
Hi Ard, On Mon, 15 Aug 2016 12:52:14 +0800 Jisheng Zhang wrote: > 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 > > >

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

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 --- drivers/mmc/host/sdhci-brcmstb.c | 1 - 1 file changed, 1 deletio

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 r

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 ("cloc

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 memory

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 --- drivers/media/radio/si470x/radio-si470x-i2c.c | 1 - 1 file chang

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 insertion(+

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 st

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 reco

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

[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. > > > > Why? include/linux

[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 --- drivers/gp

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

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 ("mlxsw: spectrum_router: Implemen

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 interfac

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 data

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 a/drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c b/drivers/media/

[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 a/drivers/media/platf

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 a/drivers/media/platform/mtk-v

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 ju

[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 a/drivers/media/platform/mtk-vcodec/mtk_vcodec_e

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 firs

[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 > > +++ b/drivers/clk/mediatek/clk

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 init_completion() in vfio_pci

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: https://github.com/0day-ci/linux/commits/Joe-Perches/block-skd_main-Neaten-pr_debug-us

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 deleti

[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 a/drivers/media/platform/mtk-vcodec/mt

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 _raw_spin_unlock_irqr

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

[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 visible_height change to a separat

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

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

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

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

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: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-14 Thread Dave Chinner
On Fri, Aug 12, 2016 at 11:03:33AM -0700, Linus Torvalds wrote: > On Thu, Aug 11, 2016 at 8:56 PM, Dave Chinner wrote: > > On Thu, Aug 11, 2016 at 07:27:52PM -0700, Linus Torvalds wrote: > >> > >> I don't recall having ever seen the mapping tree_lock as a contention > >> point before, but it's not

[PATCH v6 1/2] Documentation: kdump: remind user of nr_cpus

2016-08-14 Thread Zhou Wenjian
nr_cpus can help to save memory. So we should remind user of it. Signed-off-by: Zhou Wenjian Acked-by: Baoquan He --- Documentation/kdump/kdump.txt | 2 +++- 1 file changed, 2 insertions(+) diff --git a/Documentation/kdump/kdump.txt b/Documentation/kdump/kdump.txt index 88ff63d..96da2b7 100644

[PATCH v6 2/2] Documentation: kdump: add description of enable multi-cpus support

2016-08-14 Thread Zhou Wenjian
multi-cpu support is useful to improve the performance of kdump in some cases. So add the description of enable multi-cpu support in dump-capture kernel. Signed-off-by: Zhou Wenjian Acked-by: Baoquan He --- Documentation/kdump/kdump.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a

[PATCH v6 0/2] update the doc of kdump

2016-08-14 Thread Zhou Wenjian
v5->v6: replace "we" with "you" v4->v5: move change log to cover letter v3->v4: update the description of bring up SMP dump-capture kernel v2->v3: add description of nr_cpus. v1->v2: change nr_cpus to maxcpus Zhou Wenjian (2): Documentation: kdump: remind user of nr_cpus Documentation: kdump:

Re: [PATCH 02/12] pinctrl: Add core pinctrl support for Aspeed SoCs

2016-08-14 Thread Andrew Jeffery
On Sat, 2016-08-13 at 10:58 +1000, Benjamin Herrenschmidt wrote: > On Fri, 2016-08-12 at 15:18 +0200, Linus Walleij wrote: > > > > I would probably prefer that option (introduce another field) > > but you should make the overall decision, it's no strong opinion > > from my side. > > > > > > > >

linux-next: manual merge of the net-next tree with the net tree

2016-08-14 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: kernel/bpf/verifier.c between commit: 747ea55e4f78 ("bpf: fix bpf_skb_in_cgroup helper naming") from the net tree and commit: 60d20f9195b2 ("bpf: Add bpf_current_task_under_cgroup helper") from the net-next tree.

Re: [PATCH 1/3] clk: meson: Add GXBB AO Clock and Reset controller driver

2016-08-14 Thread Paul Gortmaker
On Tue, Aug 9, 2016 at 5:13 AM, Neil Armstrong wrote: > Adds a Clock and Reset controller driver for the Always-On part > of the Amlogic Meson GXBB SoC. > > It exports paired Clocks and Resets lines that will be used by > peripherals in the Always-On subsystem. [...] > +static const struct of_de

[PATCH] drm: make drm_get_format_name thread-safe

2016-08-14 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- I moved the main bits to be the first diffs, shouldn't affect anything when applying the patch, but I wanted to ask: I don't like the hard-coded `32` the appears in both kmalloc() and snprintf(), what do you think? If you don't like it either, what would you sugg

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

2016-08-14 Thread Fengguang Wu
Hi Christoph, On Sun, Aug 14, 2016 at 06:17:24PM +0200, Christoph Hellwig wrote: Snipping the long contest: I think there are three observations here: (1) removing the mark_page_accessed (which is the only significant change in the parent commit) hurts the aim7/1BRD_48G-xfs-disk_rr-30

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

2016-08-14 Thread Paul Gortmaker
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). > --- > drivers/bluetooth/Kconfig | 10 + > drivers/bluetooth/Makefile| 1 + > drivers/bluetooth/hci_ldisc.c | 6

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:17:24PM +0200, Christoph Hellwig wrote: > Snipping the long contest: > > I think there are three observations here: > > (1) removing the mark_page_accessed (which is the only significant > change in the parent commit) hurts the > aim7/1BRD_48G-xfs-disk_rr-30

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

2016-08-14 Thread Mickaël Salaün
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 first RFC. I plan to publish this second RFC by the end of the month. Our appro

Re: [tip:x86/boot] x86/mm: Enable KASLR for physical mapping memory regions

2016-08-14 Thread Baoquan He
On 08/14/16 at 12:25am, Brian Gerst wrote: > On Fri, Jul 8, 2016 at 4:35 PM, tip-bot for Thomas Garnier > wrote: > > Commit-ID: 021182e52fe01c1f7b126f97fd6ba048dc4234fd > > Gitweb: > > http://git.kernel.org/tip/021182e52fe01c1f7b126f97fd6ba048dc4234fd > > Author: Thomas Garnier > > Auth

Re: [PATCH 3.16 304/305] netfilter: ensure number of counters is >0 in do_replace()

2016-08-14 Thread Ben Hutchings
On Sun, 2016-08-14 at 11:06 -0400, Dave Jones wrote: > On Sat, Aug 13, 2016 at 06:42:51PM +0100, Ben Hutchings wrote: >  > 3.16.37-rc1 review patch.  If anyone has any objections, please > let me know. >  >  >  > -- >  >  >  > From: Dave Jones >  >  >  > commit 1086bbe97a074844188c

Re: [PATCH 0/4] Use complete() instead of complete_all()

2016-08-14 Thread Wolfram Sang
On Fri, Aug 05, 2016 at 11:25:59AM +0200, Daniel Wagner wrote: > From: Daniel Wagner > > Hi, > > Using complete_all() is not wrong per se but it suggest that there > might be more than one reader. For -rt I am reviewing all > complete_all() users and would like to leave only the real ones in the

[ANNOUNCE] Git v2.10.0-rc0

2016-08-14 Thread Junio C Hamano
An early preview release Git v2.10.0-rc0 is now available for testing at the usual places. It is comprised of 589 non-merge commits since v2.9.0, contributed by 67 people, 20 of which are new faces. The tarballs are found at: https://www.kernel.org/pub/software/scm/git/testing/ The followin

Re: [PATCH] i2c: at91: fix support of the "alternative command" feature

2016-08-14 Thread Wolfram Sang
On Wed, Aug 03, 2016 at 04:58:26PM +0200, Ludovic Desroches wrote: > From: Cyrille Pitchen > > The "alternative command" feature was introduced with sama5d2 SoCs. > > Its purpose is to let the hardware i2c controller automatically send the > STOP condition on the i2c bus at the end of a data tra

Re: [PATCH] i2c: ocores: add missed clk_disable_unprepare() on failure paths

2016-08-14 Thread Wolfram Sang
On Thu, Aug 04, 2016 at 02:38:44AM +0300, Alexey Khoroshilov wrote: > clk_disable_unprepare() is missed on failure paths in ocores_i2c_probe(). > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov Applied to for-current, thanks! signature.a

[PATCH] ARM: pxa: remove irq init from dt machines

2016-08-14 Thread Robert Jarzmik
The init_irq and handle_irq can be declared through standard irqchip declaration and are not necessary in machine descriptions. This is another step towards the generic kernel for the pxa architecture. Signed-off-by: Robert Jarzmik Cc: Arnd Bergmann --- arch/arm/mach-pxa/generic.h | 3 --- ar

Re: [RESEND PATCH 1/2] i2c: cros-ec-tunnel: Fix usage of cros_ec_cmd_xfer()

2016-08-14 Thread Wolfram Sang
On Wed, Aug 10, 2016 at 01:37:18PM -0700, Brian Norris wrote: > cros_ec_cmd_xfer returns success status if the command transport > completes successfully, but the execution result is incorrectly ignored. > In many cases, the execution result is assumed to be successful, leading > to ignored errors

Re: [PATCH v2] eeprom: at24: check if the chip is functional in probe()

2016-08-14 Thread Wolfram Sang
On Fri, Aug 12, 2016 at 01:32:57PM +0200, Bartosz Golaszewski wrote: > The at24 driver doesn't check if the chip is functional in its probe > function. This leads to instantiating devices that are not physically > present. For example the cape EEPROMs for BeagleBone Black are defined > in the devic

Re: [PATCH] i2c: uniphier{-f}: don't print error when adding adapter fails

2016-08-14 Thread Wolfram Sang
On Tue, Aug 09, 2016 at 10:11:40PM +0200, Wolfram Sang wrote: > The core will do this for us now. > > Signed-off-by: Wolfram Sang Applied to for-next, thanks! signature.asc Description: PGP signature

Re: [PATCH] i2c: don't print error when adding adapter fails

2016-08-14 Thread Wolfram Sang
On Tue, Aug 09, 2016 at 01:36:16PM +0200, Wolfram Sang wrote: > Since v4.8-rc1, the I2C core will print detailed information when adding an > I2C > adapter fails. So, drivers can skip this now. > > I am still undecided if I apply this as a single patch or break it out. But > for > reviewing, avo

Re: Who reordered my disks (probably v4.8-rc1 problem)

2016-08-14 Thread james harvey
On Sun, Aug 14, 2016 at 5:09 AM, Pavel Machek wrote: >> Use static (persistent) naming instead, /dev/disk/by-label, >> /dev/disk/by-id, /dev/disk/by-uuid, and if gpt /dev/disk/by-partlabel >> and /dev/disk/by-partuuid > > Explain that to my bootloader. Kernel needs root= on a command line. It doe

[PATCH] trivial: remove exec bit from random files

2016-08-14 Thread Xose Vazquez Perez
These are not scripts. Cc: Jiri Kosina Cc: linux-kernel@vger.kernel.org Signed-off-by: Xose Vazquez Perez --- arch/nios2/boot/dts/10m50_devboard.dts | 0 arch/nios2/configs/10m50_defconfig | 0 arch/sh/boot/dts/j2_mimas_v2.dts

[PATCH] fix for sparse warning

2016-08-14 Thread Harinath Nampally
To fix the below warning added static qualifier "warning: symbol 'verify_sha256_digest' was not declared" Signed-off-by: Harinath Nampally --- arch/x86/purgatory/purgatory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/purgatory/purgatory.c b/arch/x86/purgato

[PATCH 4.6 21/56] regulator: qcom_smd: Remove list_voltage callback for rpm_smps_ldo_ops_fixed

2016-08-14 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Axel Lin commit 43160ffd12c8d1d331362362eea3c70e04b6f9c4 upstream. Use regulator_list_voltage_linear_range in rpm_smps_ldo_ops_fixed is wrong because it is used for fixed regulator without any

[PATCH 4.6 07/56] net: bgmac: Fix infinite loop in bgmac_dma_tx_add()

2016-08-14 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit e86663c475d384ab5f46cb5637e9b7ad08c5c505 ] Nothing is decrementing the index "i" while we are cleaning up the fragments we could not successful transmit. Fix

[PATCH 4.6 03/56] ppp: defer netns reference release for ppp channel

2016-08-14 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: WANG Cong [ Upstream commit 205e1e255c479f3fd77446415706463b282f94e4 ] Matt reported that we have a NULL pointer dereference in ppp_pernet() from ppp_connect_channel(), i.e. pch->chan_net is NU

[PATCH 4.6 04/56] tcp: make challenge acks less predictable

2016-08-14 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 75ff39ccc1bd5d3c455b6822ab09e533c551f758 ] Yue Cao claims that current host rate limiting of challenge ACKS (RFC 5961) could leak enough information to allow a pa

[PATCH 4.6 06/56] bonding: set carrier off for devices created through netlink

2016-08-14 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Beniamino Galvani [ Upstream commit 005db31d5f5f7c31cfdc43505d77eb3ca5cf8ec6 ] Commit e826eafa65c6 ("bonding: Call netif_carrier_off after register_netdevice") moved netif_carrier_off() from bo

  1   2   3   4   5   6   7   8   9   10   >