[3.19.y-ckt stable] Linux 3.19.8-ckt17

2016-03-21 Thread Kamal Mostafa
I am announcing the release of the Linux 3.19.8-ckt17 kernel. The updated 3.19.y-ckt tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.19.y and can be browsed at: http://kernel.ubuntu.com/git/ubuntu/linux.git/log/?h=linux-3.19.y The diff from v3.19.8-ckt16 is posted

Re: [3.19.y-ckt stable] Linux 3.19.8-ckt17

2016-03-21 Thread Kamal Mostafa
diff --git a/Documentation/devicetree/bindings/arm/omap/omap.txt b/Documentation/devicetree/bindings/arm/omap/omap.txt index 4f6a82c..cbe35b3 100644 --- a/Documentation/devicetree/bindings/arm/omap/omap.txt +++ b/Documentation/devicetree/bindings/arm/omap/omap.txt @@ -23,6 +23,7 @@ Optional proper

[PATCH v2] sched: Add preempt checks in preempt_schedule() code

2016-03-21 Thread Steven Rostedt
While testing the tracer preemptoff, I hit this strange trace: # cmd pid | time | caller # \ / | \| / <...>-259 0...10us : schedule <-worker_thread <...>-259 0d..10us : rcu_note_context_switch <-__schedule <...>-259 0

Re: [PATCH net-next 1/3] net: add the AF_KCM entries to family name tables

2016-03-21 Thread David Miller
Two things wrong with this submission: 1) You need to provide an initial "[PATCH net-next 0/3] ..." header posting explaining at a high level what this patch series is about and how it is implemented and why. 2) The net-next tree is closed at this time because we are in the merge window,

Re: [PATCH] net: smc911x: avoid unused variable warnings

2016-03-21 Thread David Miller
From: Arnd Bergmann Date: Mon, 21 Mar 2016 09:30:59 +0100 > The change to use the generic DMA engine API in the smc911x > driver has led to a harmless warning about unused local variables: > > smsc/smc911x.c: In function 'smc911x_probe': > smsc/smc911x.c:1796:20: error: unused variable 'param' >

Re: Page migration issue with UBIFS

2016-03-21 Thread Christoph Hellwig
On Wed, Mar 16, 2016 at 05:21:56PM +0300, Kirill A. Shutemov wrote: > > FYI, with a dummy ->migratepage() which returns only -EINVAL UBIFS does no > > longer explode upon page migration. > > Tomorrow I'll do more tests to make sure. > > Could you check if something like this would fix the issue. >

Re: [PATCH v5 3/9] dma-mapping: add dma_{map,unmap}_resource

2016-03-21 Thread Christoph Hellwig
On Thu, Mar 17, 2016 at 01:33:51PM +0200, Laurent Pinchart wrote: > The good news is that, given that no code uses this new API at the moment, > there isn't much to audit. The patch series implements the resource mapping > for arch/arm only, and makes use of it in the rcar-dmac driver only. Would

Re: [PATCH v4 2/2] mm, thp: avoid unnecessary swapin in khugepaged

2016-03-21 Thread Michal Hocko
[I am sorry I haven't responded sooner but I was busy with other stuff] On Sun 20-03-16 20:07:39, Ebru Akagunduz wrote: > Currently khugepaged makes swapin readahead to improve > THP collapse rate. This patch checks vm statistics > to avoid workload of swapin, if unnecessary. So that > when system

Re: [PATCH v5 2/4] Documentation: Bindings: Add STM32 DWMAC glue

2016-03-21 Thread Joachim Eastwood
On 21 March 2016 at 13:40, Rob Herring wrote: > On Sat, Mar 19, 2016 at 12:00:22AM +0800, Chen-Yu Tsai wrote: >> Hi, >> >> On Fri, Mar 18, 2016 at 11:37 PM, Alexandre TORGUE >> wrote: >> > +- clocks: Must contain a phandle for each entry in clock-names. >> > +- clock-names: Should be "stmmaceth"

Re: [PATCH] net: phy: at803x: don't depend on GPIOLIB

2016-03-21 Thread Sebastian Frias
Hi Uwe, On 03/21/2016 02:54 PM, Uwe Kleine-König wrote: >> >> Two things: >> - I suppose that in such hypothetical case the dependency on GPIOLIB >> would be required and thus be there > > I don't agree. There are bugs out there, and maybe the reason is as > simple as "the implementor of the re

Re: [PATCH v2 4/4] nmi_backtrace: generate one-line reports for idle cpus

2016-03-21 Thread Peter Zijlstra
On Wed, Mar 16, 2016 at 01:02:13PM -0400, Chris Metcalf wrote: > diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c > index 48958d3cec9e..37afd721ec99 100644 > --- a/scripts/mod/modpost.c > +++ b/scripts/mod/modpost.c > @@ -887,8 +887,8 @@ static void check_section(const char *modname, stru

Re: [PATCH 3/3] block: implement (some of) fallocate for block devices

2016-03-21 Thread Christoph Hellwig
On Tue, Mar 15, 2016 at 12:42:44PM -0700, Darrick J. Wong wrote: > #include > #include > #include > +#include Maybe keep this before asm/uaccess.h > +long blkdev_fallocate(struct file *file, int mode, loff_t start, loff_t len) should be marked static. > + /* We haven't a primitive fo

Re: [RFC][PATCH v5 1/2] printk: Make printk() completely async

2016-03-21 Thread Jan Kara
On Mon 21-03-16 23:58:32, Sergey Senozhatsky wrote: > Hello Jan, > > On (03/21/16 15:32), Jan Kara wrote: > [..] > > > we have 2 spin locks in vprintk_emit() -- logbuf_lock and sem->lock. and N > > > CPUs can concurrently lockup on those two locks, which already makes a > > > single static pointer

Re: [PATCH net 01/10] net: hns: bug fix about ping6

2016-03-21 Thread David Miller
From: Yisen Zhuang Date: Mon, 21 Mar 2016 19:06:32 +0800 > From: Kejian Yan > > The current upstreaming code fails to ping other IPv6 net device, because > the enet receives the multicast packets with the src mac addr whick is the

Re: [PATCH] f2fs: support access control via key management

2016-03-21 Thread Christoph Hellwig
On Tue, Mar 15, 2016 at 09:37:25AM -0700, Jaegeuk Kim wrote: > I agree that I must follow FS convention here. > But, in order to make this clear out, could you please elaborate why this is > not > allowed? > > I wrote this patch totally based on per-file encryption in which users cannot > access

Re: [PATCH net 03/10] net: hns: add uc match for debug ports

2016-03-21 Thread David Miller
From: Yisen Zhuang Date: Mon, 21 Mar 2016 19:06:34 +0800 > + (void)hns_mac_set_promisc(mac_cb, (u8)!!en); This cast to void is unnecssary. > +static void hns_gmac_set_uc_match(void *mac_drv, u16 en) > +{ > + struct mac_driver *drv = (struct mac_driver *)mac_drv; Casts from void pointer

Re: [PATCH 1/3] leds: triggers: add support for RGB triggers

2016-03-21 Thread Jacek Anaszewski
On 03/19/2016 08:11 PM, Heiner Kallweit wrote: Am 18.03.2016 um 14:10 schrieb Jacek Anaszewski: On 03/17/2016 08:53 PM, Heiner Kallweit wrote: Am 17.03.2016 um 14:41 schrieb Jacek Anaszewski: Hi Heiner, On 03/13/2016 06:14 PM, Heiner Kallweit wrote: Add basic support for RGB triggers. Trigge

Re: [PATCH v2 4/4] nmi_backtrace: generate one-line reports for idle cpus

2016-03-21 Thread Peter Zijlstra
On Wed, Mar 16, 2016 at 01:02:13PM -0400, Chris Metcalf wrote: > diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c > index 9f7c21c22477..d569ae7fde37 100644 > --- a/arch/x86/kernel/process.c > +++ b/arch/x86/kernel/process.c > @@ -298,7 +298,7 @@ void arch_cpu_idle(void) > /* >

Re: [PATCH v11 01/13] vmstat: add quiet_vmstat_sync function

2016-03-21 Thread Chris Metcalf
On 03/21/2016 10:34 AM, Michal Hocko wrote: On Fri 11-03-16 17:10:11, Chris Metcalf wrote: In commit f01f17d3705b ("mm, vmstat: make quiet_vmstat lighter") the quiet_vmstat() function became asynchronous, in the sense that the vmstat work was still scheduled to run on the core when the function

Re: [PATCH 4/7] scatterlist: add sg_alloc_table_from_buf() helper

2016-03-21 Thread Boris Brezillon
On Tue, 8 Mar 2016 12:15:12 +0100 Boris Brezillon wrote: > sg_alloc_table_from_buf() provides an easy solution to create an sg_table > from a virtual address pointer. This function takes care of dealing with > vmallocated buffers, buffer alignment, or DMA engine limitations (maximum > DMA transf

Re: [PATCH] cpufreq: rockchip: add driver

2016-03-21 Thread Heiko Stübner
Am Montag, 21. März 2016, 16:13:40 schrieb Heiko Stübner: > Hi, > > Am Montag, 21. März 2016, 21:24:32 schrieb Feng Xiao: > > 在 2016/3/21 17:58, Viresh Kumar 写道: > > > On 21-03-16, 10:54, Heiko Stübner wrote: > > >> I hadn't seen that yet ... nice that cpufreq-dt now also supports > > >> clusters

Re: [PATCH v5 5/6] samples: livepatch: mark as livepatch module

2016-03-21 Thread Josh Poimboeuf
On Wed, Mar 16, 2016 at 03:47:07PM -0400, Jessica Yu wrote: > Mark the module as a livepatch module so that the module loader can > appropriately identify and initialize it. > > Signed-off-by: Jessica Yu > --- > samples/livepatch/livepatch-sample.c | 1 + > 1 file changed, 1 insertion(+) > > di

[PATCH 2/2] perf, tools: Fix documentation of :ppp in perf list

2016-03-21 Thread Andi Kleen
From: Andi Kleen Correctly document what is implemented for :ppp on Intel CPUs in recent kernels. Signed-off-by: Andi Kleen --- tools/perf/Documentation/perf-list.txt | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/perf/Documentation/perf-list.txt b/tools/perf/

[PATCH 1/2] perf, tools: Document event specifications better

2016-03-21 Thread Andi Kleen
From: Andi Kleen Document some undocumented features for specifying events in the perf list manpage: - Event groups - Leader sampling - How to specify raw PMU events in the new syntax Signed-off-by: Andi Kleen --- tools/perf/Documentation/perf-list.txt | 49 ++

[PATCHv3 1/9] EDAC: Altera L2 Kconfig change from select to depends upon.

2016-03-21 Thread tthayer
From: Thor Thayer Force L2 cache dependency instead of forcing selection of L2 cache. Signed-off-by: Thor Thayer --- v2/3 No change --- drivers/edac/Kconfig |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig index 37755e6..6c

[PATCHv3 2/9] EDAC, altera: Move Device structs and defines to header file

2016-03-21 Thread tthayer
From: Thor Thayer Move the device structs and defines to altera_edac.h in preparation for adding the Arria10 L2 cache ECC. Signed-off-by: Thor Thayer --- v2: Split original patch into smaller patches. Move private data and defines into header file. v3: Commented description above defines. -

[PATCHv3 9/9] ARM: dts: Add Altera Arria10 L2 Cache EDAC devicetree entry

2016-03-21 Thread tthayer
From: Thor Thayer Add the device tree entries needed to support the Altera L2 cache EDAC on the Arria10 chip. Signed-off-by: Thor Thayer --- v2 Match register value (l2-ecc@ffd06010) v3 Set ecc_manager to beginning of system_manager. Add sysman phandle. Move IRQs into ecc_manager from childr

[PATCHv3 7/9] EDAC, altera: Addition of Arria10 L2 Cache ECC

2016-03-21 Thread tthayer
From: Thor Thayer Addition of the Arria10 L2 Cache ECC handling. Addition of private data structure for Arria10 L2 cache ECC and the probe function for it. The Arria10 ECC device IRQs are in a shared register so the ECC Manager parent/child relationship requires a different probe function. Signe

[PATCHv3 8/9] ARM: socfpga: Enable Arria10 L2 cache ECC on startup

2016-03-21 Thread tthayer
From: Thor Thayer Enable ECC for Arria10 L2 cache on machine startup. The ECC has to be enabled before data is stored in memory otherwise the ECC will fail on reads. Use DT_MACHINE to select Arria10 L2 cache function. Signed-off-by: Thor Thayer Acked-by: Dinh Nguyen --- v2: Split into 2 separa

[PATCHv3 5/9] EDAC, altera: Add register offset for ECC Error Inject

2016-03-21 Thread tthayer
From: Thor Thayer In preparation for the Arria10 peripheral ECCs, a register offset from the ECC base was added to the private data structure to index to the error injection register. Signed-off-by: Thor Thayer --- v2: Split large patch into smaller patches. Add an ECC error inject offset t

[PATCHv3 4/9] EDAC, altera: Abstract ECC Enable Mask in check_deps()

2016-03-21 Thread tthayer
From: Thor Thayer In preparation for the Arria10 peripheral ECCs, the ECC Enable mask is used in place of hard coded masks in the check dependency functions. Signed-off-by: Thor Thayer --- v3: This change added. --- drivers/edac/altera_edac.c |9 +++-- 1 file changed, 7 insertions(+),

Re: net/bluetooth: workqueue destruction WARNING in hci_unregister_dev

2016-03-21 Thread Jiri Slaby
Hello, On 03/18/2016, 09:52 PM, Tejun Heo wrote: > On Thu, Mar 17, 2016 at 01:00:13PM +0100, Jiri Slaby wrote: I have not done that yet, but today, I see: destroy_workqueue: name='req_hci0' pwq=88002f590300 wq->dfl_pwq=88002f591e00 pwq->refcnt=2 pwq->nr_active=0 delayed_work

[PATCHv3 3/9] EDAC, altera: Remove platform device from check_deps()

2016-03-21 Thread tthayer
From: Thor Thayer In preparation for the Arria10 peripheral ECCs, the platform device parameter is removed from the check_deps() functions because it is not needed and makes the Arria10 check_deps() cleaner. Signed-off-by: Thor Thayer --- v3: This change added. --- drivers/edac/altera_edac.c

[PATCHv3 6/9] Documentation: dt: socfpga: Add Altera Arria10 L2 cache binding

2016-03-21 Thread tthayer
From: Thor Thayer Add the device tree bindings needed to support the Altera L2 cache on the Arria10 chip. Since all the peripherals share IRQs, the IRQ fields are now in the ecc_manager. Signed-off-by: Thor Thayer --- v2 Correct spelling of Arria10 in patch title. v3 Major restructuring change

Re: Delete flush cache all in arm64 platform.

2016-03-21 Thread Laura Abbott
On 03/21/2016 03:08 AM, Mark Rutland wrote: [adding LAKML] On Mon, Mar 21, 2016 at 04:07:47PM +0800, Chen Feng wrote: Hi Mark, Hi, With 68234df4ea7939f98431aa81113fbdce10c4a84b arm64: kill flush_cache_all() The documented semantics of flush_cache_all are not possible to provide for arm64 (s

Re: [PATCH v2 4/4] nmi_backtrace: generate one-line reports for idle cpus

2016-03-21 Thread Chris Metcalf
On 03/21/2016 11:38 AM, Peter Zijlstra wrote: On Wed, Mar 16, 2016 at 01:02:13PM -0400, Chris Metcalf wrote: diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 48958d3cec9e..37afd721ec99 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -887,8 +887,8 @@ static void

Re: [patch] direct-io: propagate -ENOSPC errors

2016-03-21 Thread Christoph Hellwig
On Mon, Mar 14, 2016 at 05:10:00PM -0400, Jeff Moyer wrote: > dio_bio_complete turns all errors into -EIO. This is historical, > since you used to only get 1 bit precision for errors (BIO_UPTODATE). > Now that we get actual error codes, we can return the appropriate > code to userspace. File syst

Re: [GIT] Networking

2016-03-21 Thread Yishai Hadas
On 3/19/2016 6:42 AM, David Miller wrote: There is a merge conflict against the RDMA tree pull wrt the mlx4 driver, which I don't know how to resolve. Can you please point on the conflict ? is it still open that needs our input ?

Series adding Arria10 L2 Cache EDAC

2016-03-21 Thread tthayer
This version refactors how the EDAC is configured for Arria10 since the ECC hardware is significantly different than Cyclone5 and Arria5. Since all the IRQs are shared, a new probe function based on the xgene codebase was used. [PATCHv3 1/9] EDAC: Altera L2 Kconfig change from select to depends [

[PATCH] net: add description for sk argument of skb_fclone_busy()

2016-03-21 Thread Luis de Bethencourt
The description for the sk argument of the skb_fclone_busy function is missing. Adding it. Signed-off-by: Luis de Bethencourt --- Hi, I notice this when running make htmldocs. It gives the following warning: .//include/linux/skbuff.h:923: warning: No description found for parameter 'sk' Thanks,

Re: [PATCH 1/2] arm64: Store breakpoint single step state into pstate

2016-03-21 Thread Will Deacon
On Mon, Mar 21, 2016 at 08:37:49AM +, He Kuang wrote: > From: Wang Nan > > Store breakpoint single step state into pstate to fix the > recursion issue on ARM64. > > Signed-off-by: Kaixu Xia > Signed-off-by: Hanjun Guo > --- > arch/arm64/include/asm/debug-monitors.h | 9 ++ > arch/arm

Re: [PATCH v2] drm/radeon: evergreen_hpd_init()/_fini(): fix HPD IRQ bitset

2016-03-21 Thread Alex Deucher
osmetic one. > > All of the above applies analogously to evergreen_hpd_fini(). > > Silence UBSAN by checking ->hpd.hpd for RADEON_HPD_NONE before oring it > into the 'enabled' bitset in evergreen_hpd_init() or the 'disabled' bitset > in evergreen_hpd_fini() r

Re: [PATCH v18 19/22] richacl: Add richacl xattr handler

2016-03-21 Thread Christoph Hellwig
On Tue, Mar 15, 2016 at 05:05:26PM -0400, J. Bruce Fields wrote: > > That people get confused between the attr used by the xattr syscall > > interface and the attr used to store things on disk or the protocol. > > This has happened every time we have non-native support, e.g. XFS, NFS, > > CIFS, ntf

Re: [PATCH net 06/10] net: hns: fix return value of the function about rss

2016-03-21 Thread David Miller
From: Yisen Zhuang Date: Mon, 21 Mar 2016 19:06:37 +0800 > diff --git a/drivers/net/ethernet/hisilicon/hns/hns_ethtool.c > b/drivers/net/ethernet/hisilicon/hns/hns_ethtool.c > index 3c4a3bc..f3a5e05 100644 > --- a/drivers/net/ethernet/hisilicon/hns/hns_ethtool.c > +++ b/drivers/net/ethernet/hisi

Re: [RESEND RFC 3/3] nvmem: Add 'nvmem-composite' driver

2016-03-21 Thread Andrey Smirnov
>> a-node { >> nvmem-cells = <&cell_a &cell_b>, ; >> nvmem-cell-names = "some-data", "more-data"; >> }; >> > Should have replied you long back :-) No worries :-) >> >> and I want "more-data" to reference only one phandle, how would this be >> handled? >> > yes this would f

[GIT PULL] arm64: perf updates for 4.6

2016-03-21 Thread Will Deacon
Hi Linus, I have another mixed bag of ARM-related perf patches here. It's about 25% CPU and 75% interconnect, but with drivers/bus/ languishing without an obvious maintainer or tree, Olof and I agreed to keep all of these PMU patches together. I suspect a whole load of code from drivers/bus/arm-*

[PATCH 5/9] x86: Add documentation for rd/wr fs/gs base

2016-03-21 Thread Andi Kleen
From: Andi Kleen v2: Minor updates to documentation requested in review. v3: Update for new gcc and various improvements. Signed-off-by: Andi Kleen --- Documentation/x86/fsgs.txt | 109 + 1 file changed, 109 insertions(+) create mode 100644 Documenta

Updated version of RD/WR FS/GS BASE patchkit

2016-03-21 Thread Andi Kleen
This is a reworked version of my older fsgsbase patchkit. Main changes: - Ported to new entry/* code, which simplified it somewhat - Now has a test program - Fixed ptrace/core dump support - Better documentation - Some minor fixes improvement This adds kernel support for some Intel instructions th

[PATCH 3/9] x86: Make old K8 swapgs workaround conditional

2016-03-21 Thread Andi Kleen
From: Andi Kleen Every gs selector/index reload always paid an extra MFENCE between the two SWAPGS. This was to work around an old bug in early K8 steppings. All other CPUs don't need the extra mfence. Patch the extra MFENCE only in for K8. v2: Use set_cpu_bug() v3: Use ALTERNATIVE directly Sig

[PATCH 7/9] x86: Add self test code for fsgsbase

2016-03-21 Thread Andi Kleen
From: Andi Kleen Add a simple tester. By default it runs 1 iterations, but can also run forever with tfsgs_64 0 Signed-off-by: Andi Kleen --- tools/testing/selftests/x86/Makefile | 3 +- tools/testing/selftests/x86/tfsgs.c | 151 +++ 2 files changed, 153

Re: [PATCH v2] dmaengine: vdma: Add 64 bit addressing support to the driver

2016-03-21 Thread Laurent Pinchart
Hi Anurag, On Wednesday 23 Sep 2015 15:12:36 Anurag Kumar Vulisha wrote: > On Monday, September 21, 2015 9:27 PM Vinod Koul wrote: > > On Thu, Aug 27, 2015 at 09:19:18PM +0530, Anurag Kumar Vulisha wrote: > >> This VDMA is a soft ip, which can be programmed to support > >> 32 bit addressing or gr

[PATCH 4/9] x86: Enumerate kernel FSGS capability in AT_HWCAP2

2016-03-21 Thread Andi Kleen
From: Andi Kleen The kernel needs to explicitely enable RD/WRFSBASE to handle context switch correctly. So the application needs to know if it can safely use these instruction. Just looking at the CPUID bit is not enough because it may be running in a kernel that does not enable the instructions.

[PATCH 6/9] x86: Use rd/wr fs/gs base in arch_prctl

2016-03-21 Thread Andi Kleen
From: Andi Kleen Convert arch_prctl to use the new instructions to change fs/gs if available, instead of using MSRs. This is merely a small performance optimization, no new functionality. With the new instructions the syscall is really obsolete, as everything can be set directly in ring 3. But

[PATCH 2/9] x86: Add support for rd/wr fs/gs base

2016-03-21 Thread Andi Kleen
From: Andi Kleen Introduction: IvyBridge added four new instructions to directly write the fs and gs 64bit base registers. Previously this had to be done with a system call to write to MSRs. The main use case is fast user space threading and switching the fs/gs registers quickly there. Another u

[PATCH 8/9] x86: Support arbitrary fs/gs base in getregs

2016-03-21 Thread Andi Kleen
From: Andi Kleen The ptrace code for fs/gs base made some assumptions on the state of fs/gs which are not true anymore on kernels running with FSGSBASE. With the new instructions it is very easy to access the values, and they are always stored in the thread struct. So just implement the straight

[PATCH 1/9] x86: Add intrinsics/macros for new rd/wr fs/gs base instructions

2016-03-21 Thread Andi Kleen
From: Andi Kleen Add C intrinsics and assembler macros for the new rd/wr fs/gs base instructions and for swapgs. Very straight forward. Used in followon patch. For assembler only a few standard registers used by entry_64.S are defined. v2: Use __always_inline Signed-off-by: Andi Kleen --- ar

[PATCH 9/9] x86: Save FS/GS base in core dump

2016-03-21 Thread Andi Kleen
From: Andi Kleen Add FS/GS base dumping to the standard ELF_CORE_COPY_REGS macro I think this is only used in some special cases, the majority of core dumps seem to go through the getregs interface also used by ptrace. Signed-off-by: Andi Kleen --- arch/x86/include/asm/elf.h | 11 +--

Re: [PATCH v2 4/4] nmi_backtrace: generate one-line reports for idle cpus

2016-03-21 Thread Chris Metcalf
On 03/21/2016 11:42 AM, Peter Zijlstra wrote: On Wed, Mar 16, 2016 at 01:02:13PM -0400, Chris Metcalf wrote: diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c index 9f7c21c22477..d569ae7fde37 100644 --- a/arch/x86/kernel/process.c +++ b/arch/x86/kernel/process.c @@ -298,7 +298,7

Re: [GIT PULL] Protection Keys (pkeys) support

2016-03-21 Thread Linus Torvalds
On Mon, Mar 21, 2016 at 12:34 AM, Ingo Molnar wrote: > > Furthermore, I'd reorganize the 'arch settings' section into 4 groups, the > following way: > > 1) Options that are fundamentally only set on x86-32 kernels: > > 2) Options that are fundamentally only set on x86-64 kernels: > > 3) Bi-arch op

Re: rcu_preempt self-detected stall on CPU from 4.5-rc3, since 3.17

2016-03-21 Thread Jacob Pan
On Fri, 18 Mar 2016 16:56:41 -0700 "Paul E. McKenney" wrote: > On Fri, Mar 18, 2016 at 02:00:11PM -0700, Josh Triplett wrote: > > On Thu, Feb 25, 2016 at 04:56:38PM -0800, Paul E. McKenney wrote: > > > On Thu, Feb 25, 2016 at 04:13:11PM +1100, Ross Green wrote: > > > > On Wed, Feb 24, 2016 at 8:2

∑ oi

2016-03-21 Thread wq
Olá boa oportunidade iPhone 6s, 358 Eur Produtos Samsung, guitarra, bicicleta, televisão, dj podemos oferecer transporte livre si te: slooone. com

КЛИЕНТСКИЕ БАЗЫ! Тел\Viber\Whatsapp: КЛИЕНTCКИЕ БА3Ьl! Tел: +79IЗ9З9З506 Email: eteteri...@gmail.com Skype: prodawez389 Узнайте подробнее!!!

2016-03-21 Thread linux-kernel@vger.kernel.org
КЛИЕНТСКИЕ БАЗЫ ДАННЫХ ДЛЯ ПРОДАЖИ ВАШИХ ТОВАРОВ И УСЛУГ! Собираем по интернет под заказ базы данных потенциальных клиентов для Бизнеса! По базе можно звонить, писать, слать факсы и email,вести любые прямые активные продажи Ваших товаров и услуг! Уже завтра огромная клиентская база у Вас, остае

[PATCH] net: add description for len argument of dev_get_phys_port_name

2016-03-21 Thread Luis de Bethencourt
When the function dev_get_phys_port_name was added it missed a description for it's len argument. Adding it. Fixes: db24a9044ee1 ("net: add support for phys_port_name") Signed-off-by: Luis de Bethencourt --- Hi, Noticed this when running make htmldocs. It gives the following warning: .//net/core

Re: [PATCH v5 4/6] livepatch: reuse module loader code to write relocations

2016-03-21 Thread Petr Mladek
On Wed 2016-03-16 15:47:06, Jessica Yu wrote: > Reuse module loader code to write relocations, thereby eliminating the need > for architecture specific relocation code in livepatch. Specifically, reuse > the apply_relocate_add() function in the module loader to write relocations > instead of duplic

Re: [PATCH v2 4/4] nmi_backtrace: generate one-line reports for idle cpus

2016-03-21 Thread Peter Zijlstra
On Mon, Mar 21, 2016 at 12:15:12PM -0400, Chris Metcalf wrote: > On 03/21/2016 11:42 AM, Peter Zijlstra wrote: > >The most common idle function for x86 is: mwait_idle_with_hints(), > >trouble is, its an inline, so I'm not sure adding __cpuidle to it does > >anything. > > No, you're right, it woul

Re: [PATCH 0/3] fs, mm: get rid of PAGE_CACHE_* and page_cache_{get,release} macros

2016-03-21 Thread Kirill A. Shutemov
On Mon, Mar 21, 2016 at 11:25:09AM -0500, Christoph Lameter wrote: > On Mon, 21 Mar 2016, Kirill A. Shutemov wrote: > > > PAGE_CACHE_{SIZE,SHIFT,MASK,ALIGN} macros were introduced *long* time ago > > with promise that one day it will be possible to implement page cache with > > bigger chunks than

Re: [PATCH-vs-togreg v2 1/2] iio: ina2xx-adc: update the CALIB. register when RShunt changes

2016-03-21 Thread Marc Titinger
On 20/03/2016 12:24, Jonathan Cameron wrote: On 14/03/16 10:20, Marc Titinger wrote: The user (or an init script) may setup RShunt via sysfs after the driver was initialized, for instance based on the EEPROM contents of a modular probe. The calibration register must be set accordingly. Signed

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Get rid of intel_dp_dpcd_read_wake()

2016-03-21 Thread Lyude Paul
On Fri, 2016-03-18 at 20:05 +0200, Ville Syrjälä wrote: > On Fri, Mar 18, 2016 at 07:00:29PM +0100, Daniel Vetter wrote: > > > > On Fri, Mar 18, 2016 at 06:41:40PM +0200, Ville Syrjälä wrote: > > > > > > On Fri, Mar 18, 2016 at 06:12:35PM +0200, Ville Syrjälä wrote: > > > > > > > > On Fri, Mar 1

Re: [PATCH] Remove v850 from linux/elf-em.h

2016-03-21 Thread David Daney
On 03/18/2016 06:15 PM, Rob Landley wrote: On 03/18/2016 12:46 PM, David Daney wrote: I am not going to comment on it any more, but [commenting more] Yes you are. (And did then too.) On 03/17/2016 07:32 PM, Rob Landley wrote: [...] As I explained last email, userspace uses the libc header,

Re: [PATCH 0/3] fs, mm: get rid of PAGE_CACHE_* and page_cache_{get,release} macros

2016-03-21 Thread Christoph Lameter
On Mon, 21 Mar 2016, Kirill A. Shutemov wrote: > PAGE_CACHE_{SIZE,SHIFT,MASK,ALIGN} macros were introduced *long* time ago > with promise that one day it will be possible to implement page cache with > bigger chunks than PAGE_SIZE. > > This promise never materialized. And unlikely will. So we dec

Re: [PATCHv4 08/25] thp: support file pages in zap_huge_pmd()

2016-03-21 Thread Aneesh Kumar K.V
"Kirill A. Shutemov" writes: > [ text/plain ] > On Mon, Mar 21, 2016 at 10:03:29AM +0530, Aneesh Kumar K.V wrote: >> "Kirill A. Shutemov" writes: >> >> > [ text/plain ] >> > On Fri, Mar 18, 2016 at 07:23:41PM +0530, Aneesh Kumar K.V wrote: >> >> "Kirill A. Shutemov" writes: >> >> >> >> > [ te

Re: [RESEND PATCH V7 4/6] i2c: qup: Add bam dma capabilities

2016-03-21 Thread Wolfram Sang
> enabled. I have patch like below to fix it, but wanted to ask you if it > would correct to have this in the > original patch or should I sent a separate fix ? Sorry for the mess on this. Once a patch is applied, it is in linux-next, so you need to send incremental patches to fix things. sig

Re: [PATCH v5 4/6] livepatch: reuse module loader code to write relocations

2016-03-21 Thread Josh Poimboeuf
On Mon, Mar 21, 2016 at 05:31:57PM +0100, Petr Mladek wrote: > > diff --git a/kernel/livepatch/core.c b/kernel/livepatch/core.c > > index 780f00c..2aa20fa 100644 > > --- a/kernel/livepatch/core.c > > +++ b/kernel/livepatch/core.c > > +static int klp_resolve_symbols(Elf_Shdr *relasec, struct module

Re: [PATCH v2 4/4] nmi_backtrace: generate one-line reports for idle cpus

2016-03-21 Thread Peter Zijlstra
The below annotates the two most used idle functions on x86 --- a/arch/x86/kernel/acpi/cstate.c +++ b/arch/x86/kernel/acpi/cstate.c @@ -152,7 +152,7 @@ int acpi_processor_ffh_cstate_probe(unsi } EXPORT_SYMBOL_GPL(acpi_processor_ffh_cstate_probe); -void acpi_processor_ffh_cstate_enter(struct

Re: [PATCH v5 2/6] module: preserve Elf information for livepatch modules

2016-03-21 Thread Petr Mladek
On Wed 2016-03-16 15:47:04, Jessica Yu wrote: > For livepatch modules, copy Elf section, symbol, and string information > from the load_info struct in the module loader. Persist copies of the > original symbol table and string table. > > Livepatch manages its own relocation sections in order to re

Re: [Patch V2 1/4] iommu/vt-d: replace *hdr with hdr[0] in struct dmar_drhd_unit

2016-03-21 Thread Thomas Gleixner
On Mon, 21 Mar 2016, Wei Yang wrote: > On Sun, Mar 20, 2016 at 04:42:29PM +0100, Thomas Gleixner wrote: > >On Sun, 20 Mar 2016, Wei Yang wrote: > > > >> hdr in struct dmar_drhd_unit is used to point the DMAR hardware unit copied > >> at the end of struct dmar_drhd_unit. One zero-sized array may be

[PATCH RESEND] cpufreq: powernv: Define per_cpu chip pointer to optimize hot-path

2016-03-21 Thread Shilpasri G Bhat
From: Michael Neuling "96c4726f01cd cpufreq: powernv: Remove cpu_to_chip_id() from hot-path" introduced 'core_to_chip_map' array to cache the chip-id of all cores. Replace this with per_cpu variable that stores the pointer to the chip-array. This removes the linear lookup and provides a neater an

Re: [RESEND RFC 3/3] nvmem: Add 'nvmem-composite' driver

2016-03-21 Thread Srinivas Kandagatla
On 21/03/16 16:12, Andrey Smirnov wrote: a-node { nvmem-cells = <&cell_a &cell_b>, ; nvmem-cell-names = "some-data", "more-data"; }; Should have replied you long back :-) No worries :-) and I want "more-data" to reference only one phandle, how would this be hand

Re: [PATCH 0/3] fs, mm: get rid of PAGE_CACHE_* and page_cache_{get,release} macros

2016-03-21 Thread Christoph Lameter
On Mon, 21 Mar 2016, Kirill A. Shutemov wrote: > We do have anon-THP pages on LRU. My huge tmpfs patchset also put > file-THPs on LRU list. So they are on the LRU as 4k units? Tried to look it up. > > Will this actually work if we have really huge memory (100s of TB) where > > almost everything

[PATCH v11] cpufreq: powernv: Add sysfs attributes to show throttle stats

2016-03-21 Thread Shilpasri G Bhat
Create sysfs attributes to export throttle information in /sys/devices/system/cpu/cpuX/cpufreq/throttle_stats directory. The newly added sysfs files are as follows: 1)/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/turbo_stat 2)/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/sub-turbo_stat

Re: [PATCH 1/1] mtd: spi-nor: add an alternative method to support memory >16MiB

2016-03-21 Thread Brian Norris
On Mon, Mar 21, 2016 at 11:33:49AM +0100, Cyrille Pitchen wrote: > This patch provides an alternative mean to support memory above 16MiB > (128Mib) by replacing 3byte address op codes by their associated 4byte > address versions. > > Using the dedicated 4byte address op codes doesn't change the in

Re: [PATCH 1/3] mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macros

2016-03-21 Thread Linus Torvalds
On Mon, Mar 21, 2016 at 5:06 AM, Kirill A. Shutemov wrote: > > This patch contains automated changes generated with coccinelle using > script below. For some reason, coccinelle doesn't patch header files. > I've called spatch for them manually. Looks good. Mind reminding me and re-sending the pa

Re: [RFC5 PATCH v6 00/21] ILP32 for ARM64

2016-03-21 Thread Arnd Bergmann
On Monday 21 March 2016 11:52:54 Andreas Schwab wrote: > Arnd Bergmann writes: > > > What exactly do you need to define F_GETLK64 for on LP64? > > To override the generic definitions. Ok, got it. I misread that part as adding definitions for LP64, but it is correctly removing the definitions f

Re: [PATCH 0/3] fs, mm: get rid of PAGE_CACHE_* and page_cache_{get,release} macros

2016-03-21 Thread Kirill A. Shutemov
On Mon, Mar 21, 2016 at 11:59:25AM -0500, Christoph Lameter wrote: > On Mon, 21 Mar 2016, Kirill A. Shutemov wrote: > > > We do have anon-THP pages on LRU. My huge tmpfs patchset also put > > file-THPs on LRU list. > > So they are on the LRU as 4k units? Tried to look it up. One entry on LRU per

Applied "regulator: Remove unneded check for regulator supply" to the regulator tree

2016-03-21 Thread Mark Brown
The patch regulator: Remove unneded check for regulator supply has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hour

[PATCH 0/2] rtc: abx80x: Handle autocalibration and oscillator failure

2016-03-21 Thread Mylene JOSSERAND
The current patches handle the autocalibration and the oscillator failure for ABX80X RTC. The autocalibration is handled using sysfs entries and the oscillator failure bit is handled only for the XT Oscillator. Mylene JOSSERAND (2): rtc: abx80x: handle autocalibration rtc: abx80x: handle the o

Re: [PATCH 1/3] mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macros

2016-03-21 Thread Kirill A. Shutemov
On Mon, Mar 21, 2016 at 10:02:23AM -0700, Linus Torvalds wrote: > On Mon, Mar 21, 2016 at 5:06 AM, Kirill A. Shutemov > wrote: > > > > This patch contains automated changes generated with coccinelle using > > script below. For some reason, coccinelle doesn't patch header files. > > I've called spa

[PATCH v2 1/2] ASoC: codecs: add TA5720 digital amplifier DT bindings

2016-03-21 Thread Andreas Dannenberg
The Texas Instruments TAS5720L/M device is a high-efficiency mono Class-D audio power amplifier optimized for high transient power capability to use the dynamic power headroom of small loudspeakers. Its digital time division multiplexed (TDM) interface enables up to 16 devices to share the same bus

[PATCH 2/2] rtc: abx80x: handle the oscillator failure bit

2016-03-21 Thread Mylene JOSSERAND
Handle the Oscillator Failure ('OF') bit from Oscillator Status register (0x1D). This bit is cleared on set_time function and is read each time the date/time is read, but only in case of XT Oscillator selection. In RC mode, this bit is always set. Signed-off-by: Mylene JOSSERAND --- drivers/rtc/

[PATCH 0/2] Re-work UV BAU enable/disable logic, add documentation

2016-03-21 Thread Alex Thorlton
Hey everyone, This is a fairly simple change to disable the UV BAU by default (see commit message for reasoning) and to add some documentation to kernel-parameters.txt to explain the new parameter. Let me know what you think! Alex Thorlton (2): Disable UV BAU by default Add documentation for

[PATCH 2/2] Add documentation for the bau parameter

2016-03-21 Thread Alex Thorlton
This commit updates kernel-parameters.txt with some information about the new "bau" parameter. Signed-off-by: Alex Thorltlon Cc: Jonathan Corbet Cc: Hedi Berriche Cc: linux-kernel@vger.kernel.org --- Documentation/kernel-parameters.txt | 8 1 file changed, 8 insertions(+) diff --git

[PATCH 1/2] Disable UV BAU by default

2016-03-21 Thread Alex Thorlton
For several years, the common practice has been to boot UVs with the "nobau" parameter on the command line, to disable the BAU. We've decided that it makes more sense to just disable the BAU by default in the kernel, and provide the option to turn it on, if desired. Signed-off-by: Alex Thorlton

Re: [RFC][PATCH v5 1/2] printk: Make printk() completely async

2016-03-21 Thread Sergey Senozhatsky
On (03/21/16 16:33), Jan Kara wrote: [..] > > > And by calling wake_up_process() under logbuf_lock, you actually introduce > > > recursion issues for printk_deferred() messages which are supposed to be > > > working from under rq->lock and similar. So I think you have to keep this > > > section out

[PATCH v2 0/2] ASoC: codecs: add support for TAS5720 digital amplifier

2016-03-21 Thread Andreas Dannenberg
Driver for TI's TAS5720L/M digital audio amplifiers. The driver should be pretty standard except the optional interrupt-based fault reporting. Some background on the fault reporting since that might be a discussion of interest. The code should have that documented rather well but I wanted to bring

Re: [PATCH 1/1] mtd: spi-nor: add an alternative method to support memory >16MiB

2016-03-21 Thread Cyrille Pitchen
Hi Brian, Le 21/03/2016 18:01, Brian Norris a écrit : > On Mon, Mar 21, 2016 at 11:33:49AM +0100, Cyrille Pitchen wrote: >> This patch provides an alternative mean to support memory above 16MiB >> (128Mib) by replacing 3byte address op codes by their associated 4byte >> address versions. >> >> Usi

[PATCH net-next v2 2/2] netlink: add support for NIC driver ioctls

2016-03-21 Thread David Decotigny
From: David Decotigny By returning -ENOIOCTLCMD, sock_do_ioctl() falls back to calling dev_ioctl(), which provides support for NIC driver ioctls, which includes ethtool support. This is similar to the way ioctls are handled in udp.c or tcp.c. This removes the requirement that ethtool for example

Re: [PATCH v2 4/4] nmi_backtrace: generate one-line reports for idle cpus

2016-03-21 Thread Peter Zijlstra
On Mon, Mar 21, 2016 at 01:12:39PM -0400, Chris Metcalf wrote: > I do see mwait used in the ACPI 4.0 Processor Aggregator Device driver, but > this seems sufficiently far removed from regular cpuidle that I don't > think it's appropriate to tag the power_saving_thread() function - > the initial com

[PATCH 1/2] rtc: abx80x: handle autocalibration

2016-03-21 Thread Mylene JOSSERAND
The autocalibration is separated in two bits to set in Oscillator Control register (0x1c) : - OSEL bit to select the oscillator type (XT or RC). - ACAL bit to select the autocalibration type. These functionnalities are exported in sysfs entries : "oscillator" and "autocalibration". Respectively,

[PATCH v2 2/2] ASoC: codecs: add support for TAS5720 digital amplifier

2016-03-21 Thread Andreas Dannenberg
The Texas Instruments TAS5720L/M device is a high-efficiency mono Class-D audio power amplifier optimized for high transient power capability to use the dynamic power headroom of small loudspeakers. Its digital time division multiplexed (TDM) interface enables up to 16 devices to share the same bus

Re: [PATCH] remoteproc: st: fix check of syscon_regmap_lookup_by_phandle() return value

2016-03-21 Thread Bjorn Andersson
On Sat, Mar 19, 2016 at 6:31 AM, Vladimir Zapolskiy wrote: > syscon_regmap_lookup_by_phandle() returns either a valid pointer to > struct regmap or ERR_PTR() error value, check for NULL is invalid and > on error path may lead to oops, the change corrects the check. > > Signed-off-by: Vladimir Zapo

<    1   2   3   4   5   6   7   8   9   >