[PATCH] CREDITS: Update fingerprint for Geert Uytterhoeven

2016-09-18 Thread Geert Uytterhoeven
My old key was revoked in 2007. Signed-off-by: Geert Uytterhoeven --- CREDITS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CREDITS b/CREDITS index 2a3fbcd229e0..7cf4e5606d0a4911 100644 --- a/CREDITS +++ b/CREDITS @@ -3691,7 +3691,7 @@ S: Germany N: Geert Uytterhoeven

Re: [PATCH v14 0/4] Mediatek MT8173 CMDQ support

2016-09-18 Thread Horng-Shyang Liao
On Mon, 2016-09-05 at 09:44 +0800, HS Liao wrote: > Hi, > > This is Mediatek MT8173 Command Queue(CMDQ) driver. The CMDQ is used > to help write registers with critical time limitation, such as > updating display configuration during the vblank. It controls Global > Command Engine (GCE) hardware t

[PATCH] perf tests: Add dwarf unwind test for powerpc

2016-09-18 Thread Ravi Bangoria
User stack dump feature is recently added for powerpc. But there was no test case available to test it. This test works same as other on arch by preparing stack frame on perf test thread and comparing each frame by unwinding it. $ ./perf test 50 50: Test dwarf unwind: Ok User stack dump

[RFC PATCH] xhci: do not halt the secondary HCD

2016-09-18 Thread Joel Stanley
We can't halt the secondary HCD, because it's also the primary HCD, which will cause problems if we have devices attached to the primary HCD, like a keyboard. We've been carrying this in our Linux-as-a-bootloader environment for a little while now. The machines all have the same TI TUSB73x0 part,

[PATCH 1/2] media: mtk-mdp: fix build warning in arch x86

2016-09-18 Thread Minghsiu Tsai
This patch fix build warning in arch x86 Signed-off-by: Minghsiu Tsai --- drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c |1 + drivers/media/platform/mtk-mdp/mtk_mdp_vpu.c | 10 ++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/media/platform/mtk-mdp/mtk_mdp_m

[PATCH 2/2] media: mtk-mdp: fix build error

2016-09-18 Thread Minghsiu Tsai
This patch fix build error without CONFIG_PM_RUNTIME and CONFIG_PM_SLEEP Signed-off-by: Minghsiu Tsai --- drivers/media/platform/mtk-mdp/mtk_mdp_core.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/mtk-mdp/mtk_mdp_core.c b/drivers/media/platfo

[PATCH 0/2] Fix build warning and error in Mediatek MDP driver

2016-09-18 Thread Minghsiu Tsai
- Fix build warning in arch x86 - Fix build warning in kzalloc() and kfree() in arch x86 - Fix build error without CONFIG_PM_RUNTIME and CONFIG_PM_SLEEP v4l2-compliance test output: v4l2-compliance SHA : abc1453dfe89f244dccd3460d8e1a2e3091cbadb Driver Info: Driver name : mtk-mdp

Re: [PATCH -next] drm/i915: Fix non static symbol warning

2016-09-18 Thread Jani Nikula
On Sat, 17 Sep 2016, Wei Yongjun wrote: > From: Wei Yongjun > > Fixes the following sparse warning: > > drivers/gpu/drm/i915/intel_dp.c:1527:5: warning: > symbol 'intel_dp_compute_bpp' was not declared. Should it be static? > > Signed-off-by: Wei Yongjun > --- > drivers/gpu/drm/i915/intel_dp.c

Re: pyc files in source dir with O=

2016-09-18 Thread Jani Nikula
On Sun, 18 Sep 2016, Markus Heiser wrote: > Am 07.09.2016 um 15:28 schrieb Jani Nikula : > >> On Wed, 07 Sep 2016, Geert Uytterhoeven wrote: >>> When running "make htmldocs O=/path/to/somewhere", *.pyc files end up >>> in the source tree instead of in the build tree: >>> >>>$ git ls-files -o

Re: [PATCH v2 3/3] mm: enable CONFIG_MOVABLE_NODE on powerpc

2016-09-18 Thread Aneesh Kumar K.V
Reza Arbab writes: > Onlining memory into ZONE_MOVABLE requires CONFIG_MOVABLE_NODE. Enable > the use of this config option on PPC64 platforms. > > Signed-off-by: Reza Arbab > --- > Documentation/kernel-parameters.txt | 2 +- > mm/Kconfig | 2 +- > 2 files changed, 2 in

[PATCH 2/2] cris: use correct device_init() function signature

2016-09-18 Thread Daniel Wagner
From: Daniel Wagner The crisv32_intem_init() function doesn't match the necessary callback function signature. Newer gcc version are checking the pointer types and through an error if they don't match. Reported-by: kbuild test robot Signed-off-by: Daniel Wagner Cc: Mikael Starvik Cc: Jesper N

[PATCH 1/2] cris: don't compare incompatible pointer type

2016-09-18 Thread Daniel Wagner
From: Daniel Wagner intmem_allocaionts is list head. Comparing the list head with prev and next works so far because the entry was placed at the beginning of struct intmem_allocation. Let's use list_entry to recover the correct pointer and which makes this code slightly more robust. Newer gcc ve

[PATCH 0/2] cris: fix a couple of incompatible pointer types

2016-09-18 Thread Daniel Wagner
From: Daniel Wagner Hi, I got a love letter from kbuild about incompatible pointer types. I added the new compiler flag [1] so it seems I am in charge cleaning up. kbuild tells me: All errors (new ones prefixed by >>): arch/cris/arch-v32/mm/intmem.c: In function 'crisv32_intmem_free': a

[PATCH] [media] st-hva: fix a copy-and-paste variable name error

2016-09-18 Thread Colin King
From: Colin Ian King The second check for an error on hva->lmi_err_reg appears to be a copy-and-paste error, it should be hva->emi_err_reg instead. Signed-off-by: Colin Ian King --- drivers/media/platform/sti/hva/hva-hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driv

Re: [PATCH V5] perf tools: adding support for address filters

2016-09-18 Thread Adrian Hunter
On 17/09/16 16:33, Masami Hiramatsu wrote: > On Fri, 16 Sep 2016 09:32:43 -0600 > Mathieu Poirier wrote: > >> On 13 September 2016 at 17:25, Masami Hiramatsu wrote: >>> On Tue, 13 Sep 2016 08:18:10 -0600 >>> Mathieu Poirier wrote: >>> On 13 September 2016 at 04:01, Adrian Hunter wro

linux-next: build failure after merge of the block tree

2016-09-18 Thread Stephen Rothwell
Hi Jens, After merging the block tree, today's linux-next build (powerpc allnoconfig) failed like this: In file included from block/blk-mq-pci.c:13:0: include/linux/blk-mq.h:57:18: error: field 'kobj' has incomplete type struct kobject kobj; ^ include/linux/blk-mq.h:121:2: er

[PATCH] kvm: svm: fix unsigned compare less than zero comparison

2016-09-18 Thread Colin King
From: Colin Ian King vm_data->avic_vm_id is a u32, so the check for a error return (less than zero) such as -EAGAIN from avic_get_next_vm_id currently has no effect whatsoever. Fix this by using a temporary int for the comparison and assign vm_data->avic_vm_id to this. I used an explicit u32 cast

Re: openrisc: Consolidate setup to use memblock instead of bootmem

2016-09-18 Thread Stafford Horne
On Sun, 18 Sep 2016, Guenter Roeck wrote: On Wed, Apr 06, 2016 at 07:08:41PM +0900, Stafford Horne wrote: Clearing out one todo item. This simplifies the boot process by using the memblock api throughout the init process. The old logic bootstrapped from memblock -> bootmem -> buddy allocator

Re: [patch v2] x86/platform/mellanox: introduce support for Mellanox systems platform

2016-09-18 Thread Guenter Roeck
On 09/15/2016 02:55 AM, vad...@mellanox.com wrote: From: Vadim Pasternak Enable system support for the Mellanox Technologies platform, which provides support for the next Mellanox basic systems: "msx6710", "msx6720", "msb7700", "msn2700", "msx1410", "msn2410", "msb7800", "msn2740", "msn2100" an

Re: [PATCH 5/7] openrisc: Support both old (or32) and new (or1k) toolchain

2016-09-18 Thread Stafford Horne
On Sun, 18 Sep 2016, Guenter Roeck wrote: Tested-by: Guenter Roeck If you plan to handle openrisc going forward, it would be great if you could consider updating MAINTAINERS. The web site and git repository have been unreachable for a long time. Thank you, Updating maintainers was kind o

Transaksjon

2016-09-18 Thread Jon S. Cunliffe
Dato: 9/18/2016 Jeg er Sir Jonathan Stephen Cunliffe, visesentralbanksjef , Finansiell stabilitet, Bank of England. Jeg har et interessant tilbud som er verdt (£ 11.5 millioner) for å dele med deg. Hvis du er interessert, kan du skrive tilbake til min personlige e-post: jonl1...@aol.co.uk for

[PATCH v10 RESEND 2/3] Documentation: kdump: Remind user of nr_cpus

2016-09-18 Thread Baoquan He
From: 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 Acked-by: Xunlei Pang --- Documentation/kdump/kdump.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/kdump/kdump.txt b/Documentation/kdu

[PATCH v10 RESEND 3/3] Documentation: kdump: Add description of enable multi-cpus support

2016-09-18 Thread Baoquan He
From: 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 Acked-by: Xunlei Pang --- Documentation/kdump/kdump.txt | 7 +++ 1

Re: [PATCH RESEND] powerpc: fix usage of _PAGE_RO in hugepage

2016-09-18 Thread Aneesh Kumar K.V
Christophe Leroy writes: > On some CPUs like the 8xx, _PAGE_RW hence _PAGE_WRITE is defined > as 0 and _PAGE_RO has to be set when a page is not writable > > _PAGE_RO is defined by default in pte-common.h, however BOOK3S/64 > doesn't include that file so _PAGE_RO has to be defined explicitly > in

[PATCH v10 RESEND 0/3] Documentation: Add description of enable multi-cpus support for kdump

2016-09-18 Thread Baoquan He
This is v10 post. In this patchset patch 1/3 is added to give more details about nr_cpus and maxcpus in kernel-parameters.txt. This is suggested by Jonathan since the description of them is unclear so that people can't see what's the exact difference between them. Otherwise no big further change fo

Re: [PATCH v4 1/6] x86/arch_prctl/64 Use SYSCALL_DEFINE2 to define sys_arch_prctl

2016-09-18 Thread kbuild test robot
Hi Kyle, [auto build test ERROR on linus/master] [also build test ERROR on v4.8-rc7 next-20160916] [cannot apply to tip/x86/core] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto fo

[PATCH v10 RESEND 1/3] docs: kernel-parameter : Improve the description of nr_cpus and maxcpus

2016-09-18 Thread Baoquan He
>From the old description people still can't get what's the exact difference between nr_cpus and maxcpus. Especially in kdump kernel nr_cpus is always suggested if it's implemented in ARCH. The reason is nr_cpus is used to limit the max number of possible cpu in system, the sum of already plugged c

RE: usb device to ether is not identification in 64bit Windows OS

2016-09-18 Thread Lipengcheng
Hi, In windows official web, download a new linux.inf file, and add our hisilicon usb id. Now it can be used correct identification in PC windows 64bit OS. At the same time, it can also be used correctly in PC windows 32bit OS. windows official web: https://msdn.microsoft.com/zh-cn/windo

Re: [PATCH v6 0/6] Add MT8173 MDP Driver

2016-09-18 Thread Minghsiu Tsai
On Wed, 2016-09-14 at 14:43 +0200, Hans Verkuil wrote: > Hi Minghsiu, > > v6 looks good, but I get these warnings when compiling it for i686: > > linux-git-i686: WARNINGS > > /home/hans/work/build/media-git/drivers/media/platform/mtk-mdp/mtk_mdp_vpu.c: > In function 'mtk_mdp_vpu_handle_init_ack

Re: [PATCH net-next 00/11] rxrpc: Tracepoint addition and improvement

2016-09-18 Thread David Miller
From: David Howells Date: Sun, 18 Sep 2016 00:21:29 +0100 > Tagged thusly: > > git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git > rxrpc-rewrite-20160917-2 Pulled.

Re: [PATCH v10 3/3] Documentation: kdump: add description of enable multi-cpus support

2016-09-18 Thread Baoquan He
On 09/19/16 at 12:01pm, Baoquan He wrote: > From: 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 > Acked-by: Xu

Re: [PATCH net-next 00/14] rxrpc: Fixes & miscellany

2016-09-18 Thread David Miller
From: David Howells Date: Sun, 18 Sep 2016 00:17:44 +0100 > Tagged thusly: > > git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git > rxrpc-rewrite-20160917-1 Pulled.

Re: [PATCH v2 2/3] powerpc: get hugetlbpage handling more generic

2016-09-18 Thread Aneesh Kumar K.V
Christophe Leroy writes: > +#else > +static void hugepd_free(struct mmu_gather *tlb, void *hugepte) > +{ > + BUG(); > +} > + > #endif I was expecting that BUG will get removed in the next patch. But I don't see it in the next patch. Considering @@ -475,11 +453,10 @@ static void free_hugep

[PATCH] ARC: [plat-eznps] add missing atomic_fetch_xxx operations

2016-09-18 Thread Noam Camus
From: Noam Camus Build brekeage since last changes to generic atomic operations. Added couple of missing macros which are now mandatory Signed-off-by: Noam Camus --- arch/arc/include/asm/atomic.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arc/include/asm/ato

Re: [PATCH v2 2/3] powerpc: get hugetlbpage handling more generic

2016-09-18 Thread Aneesh Kumar K.V
Christophe Leroy writes: > Today there are two implementations of hugetlbpages which are managed > by exclusive #ifdefs: > * FSL_BOOKE: several directory entries points to the same single hugepage > * BOOK3S: one upper level directory entry points to a table of hugepages > > In preparation of imp

Re: [PATCH 112/124] staging: lustre: ptlrpc: remove unnecessary EXPORT_SYMBOL

2016-09-18 Thread kbuild test robot
Hi frank, [auto build test ERROR on staging/staging-testing] [cannot apply to v4.8-rc7 next-20160916] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record wh

Re: [PATCH resend] sctp: Remove some redundant code

2016-09-18 Thread David Miller
From: Christophe JAILLET Date: Fri, 16 Sep 2016 23:05:35 +0200 > In commit 311b21774f13 ("sctp: simplify sk_receive_queue locking"), a call > to 'skb_queue_splice_tail_init()' has been made explicit. Previously it was > hidden in 'sctp_skb_list_tail()' > > Now, the code around it looks redundant

[PATCH v7 6/6] powerpc: pSeries: Add pv-qspinlock build config/make

2016-09-18 Thread Pan Xinhui
pSeries run as a guest and might need pv-qspinlock. Signed-off-by: Pan Xinhui --- arch/powerpc/kernel/Makefile | 1 + arch/powerpc/platforms/pseries/Kconfig | 8 2 files changed, 9 insertions(+) diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index fe

[PATCH v7 5/6] powerpc/pv-qspinlock: powerpc support pv-qspinlock

2016-09-18 Thread Pan Xinhui
The default pv-qspinlock uses qspinlock(native version of pv-qspinlock). pv_lock initialization should be done in bootstage with irq disabled. And if we run as a guest with powerKVM/pHyp shared_processor mode, restore pv_lock_ops callbacks to pv-qspinlock(pv version) which makes full use of virtual

[PATCH v7 1/6] pv-qspinlock: use cmpxchg_release in __pv_queued_spin_unlock

2016-09-18 Thread Pan Xinhui
cmpxchg_release() is more lighweight than cmpxchg() on some archs(e.g. PPC), moreover, in __pv_queued_spin_unlock() we only needs a RELEASE in the fast path(pairing with *_try_lock() or *_lock()). And the slow path has smp_store_release too. So it's safe to use cmpxchg_release here. Suggested-by:

[PATCH v7 3/6] powerpc: pseries/Kconfig: Add qspinlock build config

2016-09-18 Thread Pan Xinhui
pseries will use qspinlock by default. Signed-off-by: Pan Xinhui --- arch/powerpc/platforms/pseries/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/platforms/pseries/Kconfig b/arch/powerpc/platforms/pseries/Kconfig index bec90fb..f669323 100644 --- a/arch/powerpc/platfo

[PATCH v7 0/6] Implement qspinlock/pv-qspinlock on ppc

2016-09-18 Thread Pan Xinhui
Hi All, this is the fairlock patchset. You can apply them and build successfully. patches are based on 4.8-rc4. qspinlock can avoid waiter starved issue. It has about the same speed in single-thread and it can be much faster in high contention situations especially when the spinlock is embedded

[PATCH v7 4/6] powerpc: lib/locks.c: Add cpu yield/wake helper function

2016-09-18 Thread Pan Xinhui
Add two corresponding helper functions to support pv-qspinlock. For normal use, __spin_yield_cpu will confer current vcpu slices to the target vcpu(say, a lock holder). If target vcpu is not specified or it is in running state, such conferging to lpar happens or not depends. Because hcall itself

[PATCH v7 2/6] powerpc/qspinlock: powerpc support qspinlock

2016-09-18 Thread Pan Xinhui
This patch add basic code to enable qspinlock on powerpc. qspinlock is one kind of fairlock implemention. And seen some performance improvement under some scenarios. queued_spin_unlock() release the lock by just one write of NULL to the ->locked field which sits at different places in the two endi

Re: [PATCH v2 1/3] powerpc: port 64 bits pgtable_cache to 32 bits

2016-09-18 Thread Aneesh Kumar K.V
Christophe Leroy writes: > Today powerpc64 uses a set of pgtable_caches while powerpc32 uses > standard pages when using 4k pages and a single pgtable_cache > if using other size pages. > > In preparation of implementing huge pages on the 8xx, this patch > replaces the specific powerpc32 handling

[PATCH v2 3/3] ARM: dts: imx6qdl-apalis: Use enable-gpios property for backlight

2016-09-18 Thread Sanchayan Maity
Use enable-gpios property of PWM backlight driver for backlight control. Signed-off-by: Sanchayan Maity --- Changes since v1: Fix commit message v1: https://lkml.org/lkml/2016/9/14/55 --- arch/arm/boot/dts/imx6qdl-apalis.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/ar

[PATCH v2 1/3] ARM: dts: imx6qdl-apalis: Do not rely on DDC I2C bus bitbang for HDMI

2016-09-18 Thread Sanchayan Maity
Remove the use of DDC I2C bus bitbang to support reading of EDID and rely on support from internal HDMI I2C master controller instead. As a result remove the device tree property ddc-i2c-bus. Signed-off-by: Sanchayan Maity --- Changes since v1: Change the ranking in i2c aliases v1: https://lkml

[PATCH v2 2/3] ARM: dts: imx6q-apalis-ixora: Remove use of pwm-leds

2016-09-18 Thread Sanchayan Maity
Remove use of pwm-leds and use the standard /sys/class/pwm interface from PWM subsystem. Signed-off-by: Sanchayan Maity Acked-by: Marcel Ziswiler --- v1: https://lkml.org/lkml/2016/9/14/55 --- arch/arm/boot/dts/imx6q-apalis-ixora.dts | 22 -- 1 file changed, 22 deletions(-)

[PATCH v2] serial: 8250_pci: Use symbolic constants for EXAR's MPIO registers

2016-09-18 Thread Jan Kiszka
Less magic that only requires comments. Signed-off-by: Jan Kiszka --- Changes in v2: - move new constants from uapi header into driver drivers/tty/serial/8250/8250_pci.c | 55 +++--- 1 file changed, 34 insertions(+), 21 deletions(-) diff --git a/drivers/tty/se

Re: [PATCH 3/5] ipc/sem: optimize perform_atomic_semop()

2016-09-18 Thread Manfred Spraul
Hi Davidlohr, On 09/13/2016 10:33 AM, Davidlohr Bueso wrote: @@ -1751,12 +1820,17 @@ SYSCALL_DEFINE4(semtimedop, int, semid, struct sembuf __user *, tsops, if (sop->sem_num >= max) max = sop->sem_num; if (sop->sem_flg & SEM_UNDO) -undos = 1; +

[PATCH V1 3/3] clk: Loongson1: Make use of GENMASK

2016-09-18 Thread Keguang Zhang
From: Kelvin Cheung Make use of GENMASK instead of open coding the equivalent operation, and update the PLL formula. Signed-off-by: Kelvin Cheung --- drivers/clk/loongson1/clk-loongson1b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/loongson1/clk-loongson1b.

[PATCH V1 2/3] clk: Loongson1: Update clocks of Loongson1B

2016-09-18 Thread Keguang Zhang
From: Kelvin Cheung This patch updates some clock names of Loongson1B, and adds AC97, DMA and NAND clock. Signed-off-by: Kelvin Cheung --- v1: Rebase the patch on clk: ls1x: Migrate to clk_hw based OF and registration APIs. --- drivers/clk/loongson1/clk-loongson1b.c | 23 +--

[PATCH V1 1/3] clk: Loongson1: Refactor Loongson1 clock

2016-09-18 Thread Keguang Zhang
From: Kelvin Cheung Factor out the common functions into loongson1/clk.c to support both Loongson1B and Loongson1C. And, put the rest into loongson1/clk-loongson1b.c. Signed-off-by: Kelvin Cheung --- v1: Rebase the patch on clk: ls1x: Migrate to clk_hw based OF and registration APIs. ---

[PATCH V1 0/3] Refactor Loongson1 clock

2016-09-18 Thread Keguang Zhang
From: Kelvin Cheung This patchset is to refactor Loongson1 clock, and update Loongson1B clocks. This applies on top of clk-next. Thanks! Changelog: v1: Rebase the patch on clk: ls1x: Migrate to clk_hw based OF and registration APIs. Kelvin Cheung (3): clk: Loongson1: Refactor Loongson

Re: [ISSUE] Memleak in LED sysfs on heavy usage

2016-09-18 Thread Daniel Gorsulowski
Hi Jacek, Am 16.09.2016 um 15:41 schrieb Jacek Anaszewski: On 09/16/2016 02:08 PM, Daniel Gorsulowski wrote: Hi Jacek, Am 16.09.2016 um 13:25 schrieb Jacek Anaszewski: On 09/16/2016 10:15 AM, Daniel Gorsulowski wrote: Hi Jacek, Am 16.09.2016 um 09:31 schrieb Jacek Anaszewski: Hi Daniel, O

[PATCH] dma-buf/sync_file: fix documentation error

2016-09-18 Thread Emilio López
The ioctl name and description on the documentation block don't match the ioctl being defined. This was probably overlooked while renaming the ioctls during the sync file destaging. This patch provides a more accurate description of what the ioctl actually does. Signed-off-by: Emilio López --- T

[PATCH v4 6/6] x86/arch_prctl Add ARCH_[GET|SET]_CPUID

2016-09-18 Thread Kyle Huey
Intel supports faulting on the CPUID instruction beginning with Ivy Bridge. When enabled, the processor will fault on attempts to execute the CPUID instruction with CPL>0. Exposing this feature to userspace will allow a ptracer to trap and emulate the CPUID instruction. When supported, this featur

[PATCH v4 4/6] x86/syscalls/32 Wire up arch_prctl on x86-32

2016-09-18 Thread Kyle Huey
Hook up arch_prctl to call do_arch_prctl on x86-32, and in 32 bit compat mode on x86-64. This allows us to have arch_prctls that are not specific to 64 bits. On UML, simply stub out this syscall. Signed-off-by: Kyle Huey --- arch/x86/entry/syscalls/syscall_32.tbl | 1 + arch/x86/kernel/process_

[PATCH v4 3/6] x86/arch_prctl Add a new do_arch_prctl

2016-09-18 Thread Kyle Huey
Add a new do_arch_prctl to handle arch_prctls that are not specific to 64 bits. Call it from the syscall entry point, but not any of the other callsites in the kernel, which all want one of the existing 64 bit only arch_prctls. Signed-off-by: Kyle Huey --- arch/x86/include/asm/proto.h | 1 + arc

[PATCH v4 5/6] x86/cpufeature Detect CPUID faulting support

2016-09-18 Thread Kyle Huey
Intel supports faulting on the CPUID instruction beginning with Ivy Bridge. When enabled, the processor will fault on attempts to execute the CPUID instruction with CPL>0. This will allow a ptracer to emulate the CPUID instruction. Bit 31 of MSR_PLATFORM_INFO advertises support for this feature. I

[PATCH v4 2/6] x86/arch_prctl/64 Rename do_arch_prctl to do_arch_prctl_64

2016-09-18 Thread Kyle Huey
In order to introduce new arch_prctls that are not 64 bit only, rename the existing 64 bit implementation to do_arch_prctl_64. Also rename the second argument to arch_prctl, which will no longer always be an address. Signed-off-by: Kyle Huey --- arch/x86/include/asm/proto.h | 4 +++- arch/x86/k

[PATCH v4 1/6] x86/arch_prctl/64 Use SYSCALL_DEFINE2 to define sys_arch_prctl

2016-09-18 Thread Kyle Huey
Signed-off-by: Kyle Huey --- arch/x86/kernel/process_64.c | 3 ++- arch/x86/um/syscalls_64.c| 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c index 63236d8..4d6363c 100644 --- a/arch/x86/kernel/process_64.c +++ b

[PATCH v4 0/6] x86/arch_prctl Add ARCH_[GET|SET]_CPUID for controlling the CPUID instruction

2016-09-18 Thread Kyle Huey
rr (http://rr-project.org/), a userspace record-and-replay reverse- execution debugger, would like to trap and emulate the CPUID instruction. This would allow us to a) mask away certain hardware features that rr does not support (e.g. RDRAND) and b) enable trace portability across machines by provi

there are unencrypted files in an encrypted directory in F2FS

2016-09-18 Thread xiakaixu
Hi Kim, According to the encryption design policy "all of the files or subdirectories in an encrypted directory must be encrypted". But the current f2fs code seems allow to there are unencrypted files in an encrypted directory. For example, the f2fs_create() and f2fs_mknod() functions call f2fs_

[PATCH 0/2] make POSIX timers configurable

2016-09-18 Thread Nicolas Pitre
Many embedded systems don't need the full POSIX timer support. Configuring them out provides a nice kernel image size reduction. When POSIX timers are configured out, the PTP clock subsystem should be left out as well. However a bunch of ethernet drivers currently *select* it in their Kconfig entr

[PATCH 1/2] ptp_clock: allow for it to be optional

2016-09-18 Thread Nicolas Pitre
In order to break the hard dependency between the PTP clock subsystem and ethernet drivers capable of being clock providers, this patch provides simple PTP stub functions to allow linkage of those drivers into the kernel even when the PTP subsystem is configured out. And to make it possible for PT

[PATCH 2/2] posix-timers: make it configurable

2016-09-18 Thread Nicolas Pitre
Many embedded systems typically don't need them. This removes about 22KB from the kernel binary size on ARM when configured out. Corresponding syscalls are routed to a stub logging the attempt to use those syscalls which should be enough of a clue if they were disabled without proper consideratio

[PATCH v10 1/3] docs: kernel-parameter : Improve the description of nr_cpus and maxcpus

2016-09-18 Thread Baoquan He
>From the old description people still can't get what's the exact difference between nr_cpus and maxcpus. Especially in kdump kernel nr_cpus is always suggested if it's implemented in ARCH. The reason is nr_cpus is used to limit the max number of possible cpu in system, the sum of already plugged c

[PATCH v10 0/3] Documentation: add description of enable multi-cpus support for kdump

2016-09-18 Thread Baoquan He
This is v10 post. In this patchset patch 1/3 is added to give more details about nr_cpus and maxcpus in kernel-parameters.txt. This is suggested by Jonathan since the description of them is unclear so that people can't see what's the exact difference between them. Otherwise no big further change fo

[PATCH v10 2/3] Documentation: kdump: remind user of nr_cpus

2016-09-18 Thread Baoquan He
From: 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 Acked-by: Xunlei Pang Signed-off-by: Baoquan He --- Documentation/kdump/kdump.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/kdump/kd

[PATCH v10 3/3] Documentation: kdump: add description of enable multi-cpus support

2016-09-18 Thread Baoquan He
From: 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 Acked-by: Xunlei Pang Signed-off-by: Baoquan He --- Documentation/kdu

Re: [PATCH linux-firmware 09/12] WHENCE: Fix metadata for snd-soc-skl firmware

2016-09-18 Thread Vinod Koul
On Sun, Sep 18, 2016 at 03:03:21AM +0100, Ben Hutchings wrote: > Fix filename 'intel/dsp_fw_bxtn.bin'. List all the files and their > versions, not just the symlinks. Delete the non-standard 'md5sum' > fields. Acked-by: Vinod Koul -- ~Vinod signature.asc Description: Digital signature

Re: [PATCH v3 03/15] lockdep: Refactor lookup_chain_cache()

2016-09-18 Thread Byungchul Park
On Thu, Sep 15, 2016 at 10:33:46AM -0500, Nilay Vaish wrote: > On 13 September 2016 at 04:45, Byungchul Park wrote: > > @@ -2215,6 +2178,75 @@ cache_hit: > > return 1; > > } > > > > +/* > > + * Look up a dependency chain. > > + */ > > +static inline struct lock_chain *lookup_chain_cache(u

Re: [PATCH 4/7 v3] sched: propagate load during synchronous attach/detach

2016-09-18 Thread Wanpeng Li
2016-09-12 15:47 GMT+08:00 Vincent Guittot : > When a task moves from/to a cfs_rq, we set a flag which is then used to > propagate the change at parent level (sched_entity and cfs_rq) during > next update. If the cfs_rq is throttled, the flag will stay pending until > the cfs_rw is unthrottled. > >

Re: [PATCH] random: Fix kernel panic due to system_wq use before init

2016-09-18 Thread Waiman Long
On 09/14/2016 03:19 PM, Linus Torvalds wrote: On Wed, Sep 14, 2016 at 12:14 PM, Waiman Long wrote: In the stack backtrace above, the kernel hadn't even reached SMP boot after about 50s. That was extremely slow. I tried the 4.7.3 kernel and it booted up fine. So I suspect that there may be too m

[RESEND PATCH 2/3] vcodec: mediatek: Add Mediatek JPEG Decoder Driver

2016-09-18 Thread Rick Chang
Add v4l2 driver for Mediatek JPEG Decoder Signed-off-by: Rick Chang Signed-off-by: Minghsiu Tsai --- drivers/media/platform/Kconfig | 15 + drivers/media/platform/Makefile |2 + drivers/media/platform/mtk-jpeg/Makefile |4 + drivers/media/pla

[RESEND PATCH 3/3] arm: dts: mt2701: Add node for Mediatek JPEG Decoder

2016-09-18 Thread Rick Chang
Signed-off-by: Rick Chang Signed-off-by: Minghsiu Tsai --- This patch depends on: CCF "arm: dts: mt2701: Add clock controller device nodes"[1] power domain patch "Mediatek MT2701 SCPSYS power domain support v7"[2] iommu and smi "Add the dtsi node of iommu and smi for mt2701"[3] [1] https:

[RESEND PATCH 1/3] dt-bindings: mediatek: Add a binding for Mediatek JPEG Decoder

2016-09-18 Thread Rick Chang
Add a DT binding documentation for Mediatek JPEG Decoder of MT2701 SoC. Signed-off-by: Rick Chang Signed-off-by: Minghsiu Tsai --- .../bindings/media/mediatek-jpeg-codec.txt | 35 ++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindi

[RESEND PATCH 0/3] Add Mediatek JPEG Decoder

2016-09-18 Thread Rick Chang
This series of patches provide a v4l2 driver to control Mediatek JPEG hw for decoding JPEG image and Motion JPEG bitstream. * Dependency The patch "arm: dts: mt2701: Add node for JPEG decoder" depends on: CCF "arm: dts: mt2701: Add clock controller device nodes"[1] power domain patch "Mediate

Re: [PATCH v3 15/15] lockdep: Crossrelease feature documentation

2016-09-18 Thread Byungchul Park
On Fri, Sep 16, 2016 at 10:47:06AM -0500, Nilay Vaish wrote: > On 13 September 2016 at 04:45, Byungchul Park wrote: > > This document describes the concept of crossrelease feature, which > > generalizes what causes a deadlock and how can detect a deadlock. > > > > Signed-off-by: Byungchul Park >

Re: [PATCH v3 15/15] lockdep: Crossrelease feature documentation

2016-09-18 Thread Byungchul Park
On Thu, Sep 15, 2016 at 12:25:51PM -0500, Nilay Vaish wrote: > On 13 September 2016 at 04:45, Byungchul Park wrote: > > This document describes the concept of crossrelease feature, which > > generalizes what causes a deadlock and how can detect a deadlock. > > > > Signed-off-by: Byungchul Park >

Re: Regression in 4.8 - CPU speed set very low

2016-09-18 Thread Larry Finger
On 09/14/2016 11:00 AM, Larry Finger wrote: On 09/09/2016 12:39 PM, Larry Finger wrote: I have found a regression in kernel 4.8-rc2 that causes the speed of my laptop with an Intel(R) Core(TM) i7-4600M CPU @ 2.90GHz to suddenly have a maximum cpu frequency of ~400 MHz. Unfortunately, I do not kn

Re: [PATCH] perf, tools: Handle events including .c and .o

2016-09-18 Thread Wangnan (F)
On 2016/9/18 22:56, Andi Kleen wrote: On Sun, Sep 18, 2016 at 06:20:04PM +0800, Wangnan (F) wrote: On 2016/9/18 9:02, Andi Kleen wrote: From: Andi Kleen This is a generic bug fix, but it helps with Sukadev's JSON event tree where such events can happen. Any event inclduing a .c/.o/.bpf cu

Re: [PATCH V2 1/7] dt-bindings: Update QorIQ TMU thermal bindings

2016-09-18 Thread Zhang Rui
On 三, 2016-09-14 at 11:40 -0500, Leo Li wrote: > On Wed, Jun 8, 2016 at 2:52 PM, Rob Herring wrote: > > > > On Tue, Jun 07, 2016 at 11:27:34AM +0800, Jia Hongtao wrote: > > > > > > For different types of SoC the sensor id and endianness may vary. > > > "#thermal-sensor-cells" is used to provide

Re: [PATCH v3 07/15] lockdep: Implement crossrelease feature

2016-09-18 Thread Byungchul Park
On Wed, Sep 14, 2016 at 10:11:17AM +0200, Peter Zijlstra wrote: > On Wed, Sep 14, 2016 at 11:27:22AM +0900, Byungchul Park wrote: > > > Well, there is, its just not trivially observable. We must be able to > > > acquire a in order to complete b, therefore there is a dependency. > > > > No. We cann

Re: Linux 4.8: Reported regressions as of Sunday, 2016-09-18

2016-09-18 Thread Dave Chinner
On Sun, Sep 18, 2016 at 03:20:53PM +0200, Thorsten Leemhuis wrote: > Hi! Here is my fourth regression report for Linux 4.8. It lists 14 > regressions I'm aware of. 5 of them are new; 1 mentioned in last > weeks report got fixed. > > As always: Are you aware of any other regressions? Then please l

[question] hugetlb: how to find who use hugetlb?

2016-09-18 Thread Xishi Qiu
On my system, I set HugePages_Total to 2G(1024 x 2M), and I use 1G hugetlb, but the HugePages_Free is not 1G(512 x 2M), it is 280(280 x 2M) left, HugePages_Rsvd is 0, it seems someone use 232(232 x 2M) hugetlb additionally. So how to find who use the additional hugetlb? I search every process an

Re: [PATCH v14 13/15] selftests/powerpc: Add ptrace tests for TM SPR registers

2016-09-18 Thread Simon Guo
On Wed, Sep 14, 2016 at 03:04:12PM +1000, Cyril Bur wrote: > On Mon, 2016-09-12 at 15:33 +0800, wei.guo.si...@gmail.com wrote: > > From: Anshuman Khandual > > > > This patch adds ptrace interface test for TM SPR registers. This > > also adds ptrace interface based helper functions related to TM >

Re: [PATCH net-next RESEND] xen-netfront: avoid packet loss when ethernet header crosses page boundary

2016-09-18 Thread David Miller
From: Vitaly Kuznetsov Date: Fri, 16 Sep 2016 12:59:14 +0200 > @@ -595,6 +596,19 @@ static int xennet_start_xmit(struct sk_buff *skb, struct > net_device *dev) > offset = offset_in_page(skb->data); > len = skb_headlen(skb); > > + /* The first req should be at least ETH_HLEN siz

Re: [PATCH][V2] net: r6040: add in missing white space in error message text

2016-09-18 Thread David Miller
From: Colin King Date: Fri, 16 Sep 2016 10:43:38 +0100 > From: Colin Ian King > > A couple of dev_err messages span two lines and the literal > string is missing a white space between words. Add the white > space and join the two lines into one. > > Signed-off-by: Colin Ian King Applied to n

Re: [PATCH v2 2/4] docs-rst: Add compressed video formats used on MT8173 codec driver

2016-09-18 Thread Tiffany Lin
Hi Hans, On Wed, 2016-09-14 at 13:51 +0200, Hans Verkuil wrote: > Hi Tiffany, > > On 09/09/2016 05:48 PM, Tiffany Lin wrote: > > Add V4L2_PIX_FMT_MT21C documentation > > > > Signed-off-by: Tiffany Lin > > --- > > Documentation/media/uapi/v4l/pixfmt-reserved.rst | 10 ++ > > 1 file ch

RE: [PATCH] ASoC: rt5663: fix platform_no_drv_owner.cocci warnings

2016-09-18 Thread Bard Liao
> -Original Message- > From: kbuild test robot [mailto:l...@intel.com] > Sent: Saturday, September 17, 2016 10:45 AM > To: Wei Yongjun > Cc: kbuild-...@01.org; Bard Liao; Oder Chiou; Liam Girdwood; Mark Brown; > Jaroslav Kysela; Takashi Iwai; Wei Yongjun; alsa-de...@alsa-project.org; > linu

Re: [GIT PULL] tpmdd updates for Linux 4.9

2016-09-18 Thread James Morris
On Thu, 15 Sep 2016, Jarkko Sakkinen wrote: > Hi James, > > This pull request contains tpmdd updates for Linux 4.9. There are no > major new features. This is purely a bug fix and cleanup release. > > /Jarkko > > The following changes since commit a39f44faa8c7d84dff7d1fc0bc851c6499f94d7b: > >

Re: [PATCH] ASoC: samsung: make audio interface/controller explicitly

2016-09-18 Thread kbuild test robot
ord what (public, well-known) commit your patch series was built on] [Check https://git-scm.com/docs/git-format-patch for more information] url: https://github.com/0day-ci/linux/commits/Randy-Li/ASoC-samsung-make-audio-interface-controller-explicitly/20160918-222618 base: https://git.kernel.

[PATCH 00/19] ARM: imx legacy: move peripheral initializations to .init_late

2016-09-18 Thread Vladimir Zapolskiy
The series moves registrations and initializations of all peripherals which are GPIO line consumers for all legacy (prior to DT) i.MX powered boards from .init_machine to .init_late init level. This is needed to proactively prevent boot time issues on the legacy boards due to the deprioritized init

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-18 Thread Ian Kent
On Sat, 2016-09-17 at 22:10 +0200, Mateusz Guzik wrote: > On Wed, Sep 14, 2016 at 02:14:45PM +0800, Ian Kent wrote: > > If an automount mount is clone(2)ed into a file system that is > > propagation private, when it later expires in the originating > > namespace subsequent calls to autofs ->d_autom

[PATCH] of: thermal: Fixed governor at each thermal zone

2016-09-18 Thread Inhyuk Kang
It is necessary to be added governor at each thermal_zone. Because some governors should be operated in the during the kernel booting in order to avoid heating problem. Default governor cannot be covered all thermal zones policy because some thermal zones want to apply different one. For example,

linux-next: manual merge of the f2fs tree with the ext4 tree

2016-09-18 Thread Stephen Rothwell
Hi Jaegeuk, Today's linux-next merge of the f2fs tree got a conflict in: fs/f2fs/dir.c between commit: 59aa5a3aeead ("fscrypto: make filename crypto functions return 0 on success") from the ext4 tree and commit: e06f86e61d7a ("f2fs crypto: avoid unneeded memory allocation in ->readdir")

Re: [PATCH] ASoC: samsung: make audio interface/controller explicitly

2016-09-18 Thread Ayaka
從我的 iPad 傳送 > Krzysztof Kozlowski 於 2016年9月19日 上午2:09 寫道: > >> On Sun, Sep 18, 2016 at 11:12:34PM +0800, ayaka wrote: >> >> >>> On 09/18/2016 10:42 PM, Krzysztof Kozlowski wrote: On Sun, Sep 18, 2016 at 10:09:11PM +0800, Randy Li wrote: It is simple sound card time, we could assign

Re: [PATCH v8 9/9] drm/mediatek: add support for Mediatek SoC MT2701

2016-09-18 Thread CK Hu
Hi, YT: On Mon, 2016-09-12 at 20:01 +0800, YT Shen wrote: > This patch add support for the Mediatek MT2701 DISP subsystem. > There is only one OVL engine in MT2701. > > Signed-off-by: YT Shen > --- > drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 6 ++ > drivers/gpu/drm/mediatek/mtk_disp_rd

  1   2   3   4   5   >