Re: [PATCH 0/2] "big hammer" for DAX msync/fsync correctness

2015-11-06 Thread H. Peter Anvin
On 11/06/15 15:17, Dan Williams wrote: >> >> Is it really required to do that on all cpus? > > I believe it is, but I'll double check. > It's required on all CPUs on which the DAX memory may have been dirtied. This is similar to the way we flush TLBs. -hpa -- To unsubscribe from

[PATCH v4] string_helpers: fix precision loss for some inputs

2015-11-06 Thread James Bottomley
From: James Bottomley It was noticed that we lose precision in the final calculation for some inputs. The most egregious example is size=3000 blk_size=1900 in units of 10 should yield 5.70 MB but in fact yields 3.00 MB (oops). This is because the current algorithm doesn't correctly account for

Re: [GIT] Networking

2015-11-06 Thread Andy Lutomirski
On Fri, Nov 6, 2015 at 7:27 AM, David Laight wrote: >> From: Linus Torvalds >> Sent: 03 November 2015 20:45 >> On Tue, Nov 3, 2015 at 12:05 PM, Linus Torvalds >> wrote: >> > result = add_overflow( >> > mul_overflow(sec, SEC_CONVERSION, ), >> > mul_overflow(nsec,

Re: [RFC] namei: prevent sgid-hardlinks for unmapped gids

2015-11-06 Thread Andy Lutomirski
On Fri, Nov 6, 2015 at 4:16 PM, Kees Cook wrote: > On Fri, Nov 6, 2015 at 4:11 PM, Kees Cook wrote: >> On Fri, Nov 6, 2015 at 2:30 PM, Andy Lutomirski wrote: >>> On Fri, Nov 6, 2015 at 1:59 PM, Kees Cook wrote: Adding Ted, who might know how this all hooks together. (The context is

Re: [PATCH 07/19] drm/panel: simple: Add timings for the Olimex LCD-OLinuXino-4.3TS

2015-11-06 Thread Maxime Ripard
Hi Thierry, On Fri, Oct 30, 2015 at 06:32:30PM +0100, Thierry Reding wrote: > On Fri, Oct 30, 2015 at 03:20:53PM +0100, Maxime Ripard wrote: > > Add support for the Olimex LCD-OLinuXino-4.3TS panel to the DRM simple > > panel driver. > > > > It is a 480x272 panel connected through a 24-bits RGB

Re: [PATCH] CPPC-CPUFreq: Delete an unnecessary check before the function call "kfree"

2015-11-06 Thread Rafael J. Wysocki
On Friday, November 06, 2015 07:12:28 AM Viresh Kumar wrote: > On 05-11-15, 21:15, SF Markus Elfring wrote: > > From: Markus Elfring > > Date: Thu, 5 Nov 2015 21:10:29 +0100 > > > > The kfree() function tests whether its argument is NULL and then > > returns immediately. Thus the test around the

Re: [PATCH V4] PM / OPP: Add debugfs support

2015-11-06 Thread Rafael J. Wysocki
On Thursday, November 05, 2015 03:02:50 PM Viresh Kumar wrote: > This patch adds debugfs support to OPP layer to export OPPs and their > properties for all the devices. > > This creates a top level directory: /sys/kernel/debug/opp and then > device specific directories (based on device names)

Re: [RFC PATCH 00/28] Linux Kernel Library

2015-11-06 Thread Richard Weinberger
Am 04.11.2015 um 15:15 schrieb Octavian Purdila: > We could redefine the syscalls/libc symbols to call lkl_sys_ functions > in launch-lkl, e.g.: > > int opendir(const char *path) > { >return lkl_opendir(new_path) > } To get a better feeling how LKL behaves I've started with a tool to mount

Re: [linux-sunxi] [PATCH 11/19] drm: sun4i: Add composite output

2015-11-06 Thread Maxime Ripard
On Mon, Nov 02, 2015 at 01:53:20PM +1100, Jonathan Liu wrote: > > + ret = sun4i_tv_init(drm); > > + if (ret) { > > + dev_err(drm->dev, "Couldn't create our RGB output\n"); > > RGB should be composite. Seems like a copy-paste error. Good catch. Thanks! Maxime -- Maxime

Re: [PATCH 03/10] sysfs: added __compat_only_sysfs_link_entry_to_kobj()

2015-11-06 Thread Jeremiah Mahler
Jarkko, On Fri, Oct 16, 2015 at 09:40:22PM +0300, Jarkko Sakkinen wrote: > Added a new function __compat_only_sysfs_link_group_to_kobj() that adds > a symlink from attribute or group to a kobject. This needed for > maintaining backwards compatibility with PPI attributes in the TPM > driver. > >

Re: [PATCH] arm: Use kernel mm when updating section permissions

2015-11-06 Thread Laura Abbott
On 11/06/2015 03:49 PM, Kees Cook wrote: On Fri, Nov 6, 2015 at 3:41 PM, Laura Abbott wrote: On 11/06/2015 12:46 PM, Russell King - ARM Linux wrote: On Fri, Nov 06, 2015 at 10:44:32AM -0800, Laura Abbott wrote: with my test patch. I think setting both current->active_mm and _mm is

Re: [RFC] namei: prevent sgid-hardlinks for unmapped gids

2015-11-06 Thread Kees Cook
On Fri, Nov 6, 2015 at 4:11 PM, Kees Cook wrote: > On Fri, Nov 6, 2015 at 2:30 PM, Andy Lutomirski wrote: >> On Fri, Nov 6, 2015 at 1:59 PM, Kees Cook wrote: >>> Adding Ted, who might know how this all hooks together. (The context >>> is that a write() or truncate() on a setgid file clears the

Re: [RFC] namei: prevent sgid-hardlinks for unmapped gids

2015-11-06 Thread Kees Cook
On Fri, Nov 6, 2015 at 2:30 PM, Andy Lutomirski wrote: > On Fri, Nov 6, 2015 at 1:59 PM, Kees Cook wrote: >> Adding Ted, who might know how this all hooks together. (The context >> is that a write() or truncate() on a setgid file clears the setgid, >> but mmap writes don't.) >> >> On Wed, Nov 4,

Re: [PATCH 04/19] clk: sunxi: Add TCON channel1 clock

2015-11-06 Thread Maxime Ripard
Hi, On Fri, Oct 30, 2015 at 02:37:34PM -0700, Stephen Boyd wrote: > On 10/30, Maxime Ripard wrote: > > The TCON is a controller generating the timings to output videos signals, > > acting like both a CRTC and an encoder. > > > > It has two channels depending on the output, each channel being

Re: [PATCH 04/19] clk: sunxi: Add TCON channel1 clock

2015-11-06 Thread Maxime Ripard
Hi, On Sat, Oct 31, 2015 at 05:53:26PM +0800, Chen-Yu Tsai wrote: > On Fri, Oct 30, 2015 at 10:20 PM, Maxime Ripard > wrote: > > The TCON is a controller generating the timings to output videos signals, > > acting like both a CRTC and an encoder. > > > > It has two channels depending on the

Re: [RFC] usb: dwc2: hcd: fix split schedule issue

2015-11-06 Thread Doug Anderson
lyz@, On Fri, Nov 6, 2015 at 1:36 AM, Yunzhi Li wrote: > Fix dwc2 split schedule sequence issue. Not schedule a SSPLIT_IN > packet between SSPLIT-begin and SSPLIT-end. > > Signed-off-by: Yunzhi Li > --- > drivers/usb/dwc2/hcd.c | 4 > 1 file changed, 4 insertions(+) > > diff --git

Re: [PATCH] Intel device IDs SATA

2015-11-06 Thread Alexandra Yates
Hi Tejun, On 11/06/2015 10:42 AM, Andy Shevchenko wrote: On Tue, Nov 3, 2015 at 9:09 PM, Alexandra Yates wrote: Adding Intel codename Lewisburg platform device IDs for SATA. Signed-off-by: Alexandra Yates --- drivers/ata/ahci.c | 18 ++ 1 file changed, 18 insertions(+)

Re: [RFC PATCH 3/3] sched: introduce synchronized idle injection

2015-11-06 Thread Jacob Pan
On Fri, 6 Nov 2015 08:45:10 +0100 Peter Zijlstra wrote: > On Thu, Nov 05, 2015 at 03:36:25PM -0800, Jacob Pan wrote: > > > I did some testing with the code below, it shows random > > [ 150.442597] NOHZ: local_softirq_pending 02 > > [ 153.032673] NOHZ: local_softirq_pending 202 > > [

Re: [PATCH] arm: Use kernel mm when updating section permissions

2015-11-06 Thread Kees Cook
On Fri, Nov 6, 2015 at 3:41 PM, Laura Abbott wrote: > On 11/06/2015 12:46 PM, Russell King - ARM Linux wrote: >> >> On Fri, Nov 06, 2015 at 10:44:32AM -0800, Laura Abbott wrote: >>> >>> with my test patch. I think setting both current->active_mm and _mm >>> is sufficient. Maybe explicitly setting

Re: [PATCH] arm: Use kernel mm when updating section permissions

2015-11-06 Thread Kees Cook
On Fri, Nov 6, 2015 at 2:37 PM, Kevin Hilman wrote: > Kees Cook writes: > >> On Fri, Nov 6, 2015 at 1:06 PM, Kevin Hilman wrote: > > [...] > >> Well, all the stuff I wrote tests for in lkdtm expect the kernel to >> entirely Oops, and examining the Oops from outside is needed to verify >> it was

RE: [PATCH 4/5] NVMe: add blk polling support

2015-11-06 Thread Elliott, Robert (Persistent Memory)
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Jens Axboe > Sent: Friday, November 6, 2015 11:20 AM ... > Subject: [PATCH 4/5] NVMe: add blk polling support > > Add nvme_poll(), which will check a specific

Re: [PATCH] arm: Use kernel mm when updating section permissions

2015-11-06 Thread Laura Abbott
On 11/06/2015 12:46 PM, Russell King - ARM Linux wrote: On Fri, Nov 06, 2015 at 10:44:32AM -0800, Laura Abbott wrote: with my test patch. I think setting both current->active_mm and _mm is sufficient. Maybe explicitly setting swapper_pg_dir would be cleaner? Please, stop thinking like this.

Re: [PATCH v3 4/4] ARM: BCM: Add SMP support for Broadcom 4708

2015-11-06 Thread Hauke Mehrtens
On 11/07/2015 12:27 AM, Hauke Mehrtens wrote: > On 11/06/2015 11:54 PM, Jon Mason wrote: >> On Fri, Nov 06, 2015 at 10:42:41PM +0100, Hauke Mehrtens wrote: >>> On 11/06/2015 10:11 PM, Kapil Hali wrote: From: Jon Mason Add SMP support for Broadcom's 4708 SoCs.

Re: [PATCH 01/19] clk: sunxi: Add display clock

2015-11-06 Thread Maxime Ripard
Hi Stephen, Thanks for your feedback! On Fri, Oct 30, 2015 at 02:29:02PM -0700, Stephen Boyd wrote: > > + > > + mux = kzalloc(sizeof(*mux), GFP_KERNEL); > > + if (!mux) > [..] > > + goto free_reset; > > + } > > + > > + return; > > + > > +free_reset: > > + kfree(reset_data); >

Re: [PATCH v2] mmc: sdhci-msm: Boost controller core clock

2015-11-06 Thread Bjorn Andersson
On Fri 06 Nov 00:10 PST 2015, Ulf Hansson wrote: > On 6 November 2015 at 02:42, Bjorn Andersson wrote: > > On Mon, Jul 6, 2015 at 4:53 AM, Ivan T. Ivanov > > wrote: > >> Ensure SDCC is working with maximum clock otherwise card > >> detection could be extremely slow, up to 7 seconds. > >> > >>

Re: [PATCH] powerpc: allow cross-compilation of ppc64 kernel

2015-11-06 Thread Segher Boessenkool
On Fri, Nov 06, 2015 at 04:55:49PM -0600, Segher Boessenkool wrote: > On Fri, Nov 06, 2015 at 03:09:40PM -0600, Scott Wood wrote: > > Why is GCC building ppc64 object files but telling the linker --oformat > > elf32- > > powerpcle? Are different options somehow being passed to GCC in one case >

Re: [PATCH v3 4/4] ARM: BCM: Add SMP support for Broadcom 4708

2015-11-06 Thread Hauke Mehrtens
On 11/06/2015 11:54 PM, Jon Mason wrote: > On Fri, Nov 06, 2015 at 10:42:41PM +0100, Hauke Mehrtens wrote: >> On 11/06/2015 10:11 PM, Kapil Hali wrote: >>> From: Jon Mason >>> >>> Add SMP support for Broadcom's 4708 SoCs. >>> >>> Signed-off-by: Jon Mason >>> Acked-by: Hauke Mehrtens >>>

Re: [PATCH] powerpc: allow cross-compilation of ppc64 kernel

2015-11-06 Thread Scott Wood
On Fri, 2015-11-06 at 23:22 +0100, Laurent Vivier wrote: > Le 06/11/2015 22:09, Scott Wood a écrit : > > On Thu, 2015-11-05 at 12:47 +0100, Laurent Vivier wrote: > > > When I try to cross compile a ppc64 kernel, it generally > > > fails on the VDSO stage. This is true for powerpc64 cross- > > >

RE: [PATCH v2 03/11] staging: fsl-mc: Added generic MSI support for FSL-MC devices

2015-11-06 Thread Jose Rivera
> -Original Message- > From: Marc Zyngier [mailto:marc.zyng...@arm.com] > Sent: Friday, November 06, 2015 11:51 AM > To: Rivera Jose-B46482; gre...@linuxfoundation.org; a...@arndb.de; > de...@driverdev.osuosl.org; linux-kernel@vger.kernel.org > Cc: Yoder Stuart-B08248; katz Itai-RM05202;

Re: [PATCH] Intel device IDs for PCH

2015-11-06 Thread Alexandra Yates
Hi Andy, On 11/06/2015 10:44 AM, Andy Shevchenko wrote: On Tue, Nov 3, 2015 at 9:25 PM, Alexandra Yates wrote: Adding Intel codename Lewisburg platform device IDs for PCH. Signed-off-by: Alexandra Yates --- drivers/mfd/lpc_ich.c | 15 +++ 1 file changed, 15 insertions(+)

Re: [PATCH 0/2] "big hammer" for DAX msync/fsync correctness

2015-11-06 Thread Dan Williams
On Fri, Nov 6, 2015 at 9:35 AM, Thomas Gleixner wrote: > On Fri, 6 Nov 2015, Dan Williams wrote: >> On Fri, Nov 6, 2015 at 12:06 AM, Thomas Gleixner wrote: >> > Just for the record. Such a flush mechanism with >> > >> > on_each_cpu() >> > wbinvd() >> > ... >> > >> > will

[PATCH V2] Intel device IDs for PCH

2015-11-06 Thread Alexandra Yates
Adding Intel codename Lewisburg platform device IDs for PCH. Signed-off-by: Alexandra Yates Reviewed-by: Andy Shevchenko --- drivers/mfd/lpc_ich.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/mfd/lpc_ich.c b/drivers/mfd/lpc_ich.c index c5a9a08..1486033 100644

Re: [PATCH v3 4/4] ARM: BCM: Add SMP support for Broadcom 4708

2015-11-06 Thread Scott Branden
Hi Hauke, On 15-11-06 01:42 PM, Hauke Mehrtens wrote: On 11/06/2015 10:11 PM, Kapil Hali wrote: From: Jon Mason Add SMP support for Broadcom's 4708 SoCs. Signed-off-by: Jon Mason Acked-by: Hauke Mehrtens Tested-by: Hauke Mehrtens Signed-off-by: Kapil Hali I tested this on a Netgear

[PATCH 0/4] x86 entry stuff, maybe for 4.4

2015-11-06 Thread Andy Lutomirski
The first patch is a bit ugly, but it fixes a bug that could affect lockdep. That bug is very minor and may not be observable at all, but I don't really want to bet on it. The other three are intended to fix a performance regression in the entry rework that Frédéric objected to. They're much

[PATCH 2/4] context_tracking: Switch to new static_branch API

2015-11-06 Thread Andy Lutomirski
This is much less error-prone than the old code. Signed-off-by: Andy Lutomirski --- include/linux/context_tracking_state.h | 4 ++-- kernel/context_tracking.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/context_tracking_state.h

[PATCH 4/4] x86/entry/64: Bypass enter_from_user_mode on non-context-tracking boots

2015-11-06 Thread Andy Lutomirski
On CONFIG_CONTEXT_TRACKING kernels that have context tracking disabled at runtime (which includes most distro kernels), we still have the overhead of a call to enter_from_user_mode in interrupt and exception entries. If jump labels are available, this uses the jump label infrastructure to skip

[PATCH 1/4] x86/entry/64: Fix irqflag tracing wrt context tracking

2015-11-06 Thread Andy Lutomirski
Paolo pointed out that enter_from_user_mode could be called while irqflags were traced as though IRQs were on. In principle, this could confuse lockdep. It doesn't cause any problems that I've seen in any configuration, but if I build with CONFIG_DEBUG_LOCKDEP=y, enable a nohz_full CPU, and add

Re: [PATCH] powerpc: allow cross-compilation of ppc64 kernel

2015-11-06 Thread Benjamin Herrenschmidt
On Fri, 2015-11-06 at 15:09 -0600, Scott Wood wrote: > On Thu, 2015-11-05 at 12:47 +0100, Laurent Vivier wrote: > > When I try to cross compile a ppc64 kernel, it generally > > fails on the VDSO stage. This is true for powerpc64 cross- > > compiler, but also when I try to build a ppc64le kernel >

[PATCH 3/4] x86/asm: Add asm macros for static keys/jump labels

2015-11-06 Thread Andy Lutomirski
Unfortunately, these only work if HAVE_JUMP_LABEL. In principle, we could do some serious surgery on the core jump label infrastructure to keep the patch infrastructure available on x86 on all builds, but that's probably not worth it. Signed-off-by: Andy Lutomirski ---

Re: [GIT PULL] tracing: Updates for 4.4

2015-11-06 Thread Steven Rostedt
On Fri, 6 Nov 2015 17:52:06 -0500 Steven Rostedt wrote: > I'll have to add something to my scripts that pulls in any merge > breakage, such that when I run the scripts to generate the pull > request, it adds them in automatically. Because obviously, the manual > approach isn't working for me. I

Re: [PATCH] arm: Use kernel mm when updating section permissions

2015-11-06 Thread Kevin Hilman
On Fri, Nov 6, 2015 at 2:37 PM, Kevin Hilman wrote: > Kees Cook writes: > >> On Fri, Nov 6, 2015 at 1:06 PM, Kevin Hilman wrote: > > [...] > >> Well, all the stuff I wrote tests for in lkdtm expect the kernel to >> entirely Oops, and examining the Oops from outside is needed to verify >> it was

Re: Improvement of trails and tutorials to become a kernel developer / maintainer

2015-11-06 Thread Albino B Neto
2015-11-06 15:15 GMT-02:00 Patrick Plattes : > ello, > > I'm interested since a very long time in kernel development, but I > never saw the right path to become familiar with parts of the kernel. > I read a bit of ipc code and ext* code, but since I often don't know > any possible next steps I

[PATCH] sound: fix check for error condition of register_chrdev()

2015-11-06 Thread Alexey Khoroshilov
init_oss_soundcore() compares returned value of register_chrdev() with -1, while other error codes can be returned. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- sound/sound_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH] powerpc: allow cross-compilation of ppc64 kernel

2015-11-06 Thread Segher Boessenkool
On Fri, Nov 06, 2015 at 03:09:40PM -0600, Scott Wood wrote: > Why is GCC building ppc64 object files but telling the linker --oformat elf32- > powerpcle? Are different options somehow being passed to GCC in one case > versus the other? This was changed for GCC 6 in ,

Re: [PATCH v3 4/4] ARM: BCM: Add SMP support for Broadcom 4708

2015-11-06 Thread Jon Mason
On Fri, Nov 06, 2015 at 10:42:41PM +0100, Hauke Mehrtens wrote: > On 11/06/2015 10:11 PM, Kapil Hali wrote: > > From: Jon Mason > > > > Add SMP support for Broadcom's 4708 SoCs. > > > > Signed-off-by: Jon Mason > > Acked-by: Hauke Mehrtens > > Tested-by: Hauke Mehrtens > > Signed-off-by:

Re: [GIT PULL] tracing: Updates for 4.4

2015-11-06 Thread Steven Rostedt
On Fri, 6 Nov 2015 14:15:48 -0800 Linus Torvalds wrote: > On Fri, Nov 6, 2015 at 2:09 PM, Stephen Rothwell > wrote: > > > > This was reported against linux-next on Nov 2 by Sergey Senozhatsky who > > supplied a fix patch that I then used as the merge conflict resolution > > from Nov 3 onward

RE: [PATCH] arm64: dts: Added syscon-reboot node for FSL's LS2080A SoC

2015-11-06 Thread Jose Rivera
> -Original Message- > From: Javier Martinez Canillas [mailto:jav...@dowhile0.org] > Sent: Friday, November 06, 2015 4:13 PM > To: Rivera Jose-B46482 > Cc: Rob Herring; Mark Rutland; devicet...@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; Linux Kernel; Sharma Bhupesh-B45370;

Re: [PATCH] Staging: wilc1000: Declare *wilc in init_wilc_driver to fix build error

2015-11-06 Thread kbuild test robot
Hi Punit, [auto build test WARNING on staging/staging-testing] [also build test WARNING on next-20151106] [cannot apply to v4.3] url: https://github.com/0day-ci/linux/commits/Punit-Vara/Staging-wilc1000-Declare-wilc-in-init_wilc_driver-to-fix-build-error/20151107-060255 config: i386

[PATCHv4 5/6] x86/pci: Initial commit for new VMD device driver

2015-11-06 Thread Keith Busch
The Intel Volume Management Device (VMD) is an integrated endpoint on the platform's PCIe root complex that acts as a host bridge to a secondary PCIe domain. BIOS can reassign one or more root ports to appear within a VMD domain instead of the primary domain. The immediate benefit is that

[PATCHv4 1/6] msi: Relax msi_domain_alloc() to support parentless MSI irqdomains

2015-11-06 Thread Keith Busch
From: Liu Jiang Previously msi_domain_alloc() assumes MSI irqdomains always have parent irqdomains, but that's not true for the new Intel VMD devices. So relax msi_domain_alloc() to support parentless MSI irqdomains. Signed-off-by: Jiang Liu Signed-off-by: Liu Jiang --- kernel/irq/msi.c | 8

[PATCHv4 2/6] pci: skip child bus with conflicting resources

2015-11-06 Thread Keith Busch
And use the max bus resource from the parent rather than assume 255. Signed-off-by: Keith Busch --- drivers/pci/probe.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 8361d27..1cb3be7 100644 ---

[PATCHv4 0/6] Driver for new VMD device

2015-11-06 Thread Keith Busch
Version 4 after re-working the irq domain hierarchies. v3 -> v4: Patch from Jiang to allow parent-less msi irq domain. Separated kernel API dependency exports into their own patch. Removed the vmd irq domain hierarchy, and instead use a msi irq domain. This pushed all the irq

[PATCHv4 3/6] Export msi and irq functions for module use

2015-11-06 Thread Keith Busch
Signed-off-by: Keith Busch --- drivers/pci/msi.c | 2 ++ kernel/irq/irqdomain.c | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index 4a7da3c..5fb932b 100644 --- a/drivers/pci/msi.c +++ b/drivers/pci/msi.c @@ -1119,6 +1119,7 @@ struct pci_dev

[PATCHv4 4/6] x86-pci: allow pci domain specific dma ops

2015-11-06 Thread Keith Busch
New x86 pci h/w will require DMA operations specific to that domain. This patch allows those domains to register their operations, and sets devices as they are discovered in that domain to use them. Signed-off-by: Keith Busch --- arch/x86/include/asm/device.h | 10 ++

[PATCHv4 6/6] pciutils: Allow 32-bit domains

2015-11-06 Thread Keith Busch
PCI-e segments will continue to use the lower 16 bits as required by ACPI. Special domains may use the full 32-bits. Signed-off-by: Keith Busch --- lib/filter.c |2 +- lib/pci.h|2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/filter.c b/lib/filter.c index

Re: [PATCH 0/5] Initial support for polled IO

2015-11-06 Thread Keith Busch
On Fri, Nov 06, 2015 at 10:20:18AM -0700, Jens Axboe wrote: > Hi, > > This is a basic framework for supporting polled IO with the block > layer stack, and added support for sync O_DIRECT IO and the NVMe > driver. > > There are a few things missing to truly productize this, but it's > very useful

Re: [PATCH 4/4] mm: prepare page_referenced() and page_idle to new THP refcounting

2015-11-06 Thread Andrew Morton
On Fri, 6 Nov 2015 12:29:21 +0200 "Kirill A. Shutemov" wrote: > > page_mapcount() is getting pretty bad too. > > Do you want me to uninline slow path (PageCompound())? I guess so. Uninlining all of page_mapcount() does this: gcc-4.4.4: textdata bss dec hex filename

Re: [PATCH] Preserve task state in reentrant calls to ___wait_event

2015-11-06 Thread Rafael J. Wysocki
On Friday, November 06, 2015 08:44:08 PM Chris Bainbridge wrote: > In the ACPI SBS initialisation, a reentrant call to wait_event_timeout() > causes an intermittent boot stall of several minutes usually following > the "Switching to clocksource tsc" message. This stall is caused by: > > 1.

Re: [PATCH] arm: Use kernel mm when updating section permissions

2015-11-06 Thread Kevin Hilman
Kees Cook writes: > On Fri, Nov 6, 2015 at 1:06 PM, Kevin Hilman wrote: [...] > Well, all the stuff I wrote tests for in lkdtm expect the kernel to > entirely Oops, and examining the Oops from outside is needed to verify > it was the correct type of Oops. I don't think testing via lkdtm can >

Re: [PATCH v5 1/4] dt-bindings: mfd: s2mps11: add documentation for s2mps15 PMIC

2015-11-06 Thread Rob Herring
On Fri, Oct 30, 2015 at 11:55:31AM +0530, Alim Akhtar wrote: > From: Thomas Abraham > > Add dt-binding documentation for s2mps15 PMIC device. The s2mps15 device > is similar to s2mps11/14 PMIC device and has 27 LDO and 10 buck regulators. > This also supports RTC and three 32.768KHz clock

Re: [PATCH 09/19] drm: sun4i: Add DT bindings documentation

2015-11-06 Thread Maxime Ripard
Hi Rob, On Fri, Oct 30, 2015 at 11:40:03AM -0500, Rob Herring wrote: > > +Display Engine Backend > > +-- > > + > > +The display engine backend exposes layers and sprites to the > > +system. It's split into two components, the frontend and backend, the > > +frontend doing

Re: [RFC] namei: prevent sgid-hardlinks for unmapped gids

2015-11-06 Thread Andy Lutomirski
On Fri, Nov 6, 2015 at 1:59 PM, Kees Cook wrote: > Adding Ted, who might know how this all hooks together. (The context > is that a write() or truncate() on a setgid file clears the setgid, > but mmap writes don't.) > > On Wed, Nov 4, 2015 at 9:59 AM, Andy Lutomirski wrote: >> On Tue, Nov 3,

[PATCH 0/4] nvdimm: Add an IOCTL pass thru for DSM calls

2015-11-06 Thread Jerry Hoemann
The NVDIMM code in the kernel supports an IOCTL interface to user space based upon the Intel Example DSM: http://pmem.io/documents/NVDIMM_DSM_Interface_Example.pdf This interface cannot be used by other NVDIMM DSMs that support incompatible functions. This patch set adds a generic

[PATCH 4/4] nvdimm: rename functions that aren't IOCTL passthru

2015-11-06 Thread Jerry Hoemann
rename functions acpi_nfit_ctl, __nd_ioctl, ndctl, to *_intel to denote that the functions implement the Intel example _DSM. Signed-off-by: Jerry Hoemann --- drivers/acpi/nfit.c| 6 +++--- drivers/nvdimm/bus.c | 15 --- drivers/nvdimm/dimm_devs.c | 6 +++---

[PATCH 1/4] nvdimm: Add wrapper for IOCTL pass thru.

2015-11-06 Thread Jerry Hoemann
Add IOCTL type 'P' to denote NVDIMM_TYPE_PASSTHRU. Add struct ndn_pkg which the pass thru IOCTL interfaces uses. ndn_pkg serves as a wrapper for the data being passed to the underlying DSM and specifies siz data in a uniform manner allowing the kernel to call the DSM without knowing specifics of

[PATCH 2/4] nvdimm: Add IOCTL pass thru

2015-11-06 Thread Jerry Hoemann
Add internal data structure for ndctl_passthru call. Signed-off-by: Jerry Hoemann --- include/linux/libnvdimm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/libnvdimm.h b/include/linux/libnvdimm.h index 3f021dc..01117e1 100644 --- a/include/linux/libnvdimm.h +++

[PATCH 3/4] nvdimm: Add IOCTL pass thru

2015-11-06 Thread Jerry Hoemann
Add functions acpi_nfit_ctl_passthru and __nd_ioctl_passthru which allow kernel to call a nvdimm's _DSM as a passthru without the marshaling code of the nd_cmd_desc. Signed-off-by: Jerry Hoemann --- drivers/acpi/nfit.c | 85 + drivers/nvdimm/bus.c | 105

[PATCH] ideapad-laptop: include Yoga 3 1170 in add rfkill whitelist

2015-11-06 Thread Arnd Bergmann
This changes the entry to the whitelist of machines that do not have a physical rfkill switch. Unfortunately, the Yoga 3 generation seems to use upper-case letters for the YOGA 3 Pro-1370, while it uses normal capitalization for its Yoga 3 1170 and 1470 siblings. In order to catch all variants of

Re: [PATCH] Staging: wilc1000: Declare *wilc in init_wilc_driver to fix build error

2015-11-06 Thread punit vara
On Sat, Nov 7, 2015 at 3:47 AM, punit vara wrote: > On Sat, Nov 7, 2015 at 3:39 AM, punit vara wrote: >> On Sat, Nov 7, 2015 at 3:29 AM, Punit Vara wrote: >>> This patch is to the linux_wlan.c file that fixes declaration of *wilc >>> to remove following error while building it. >>> >>> make

Re: [PATCH] powerpc: allow cross-compilation of ppc64 kernel

2015-11-06 Thread Laurent Vivier
Le 06/11/2015 22:09, Scott Wood a écrit : > On Thu, 2015-11-05 at 12:47 +0100, Laurent Vivier wrote: >> When I try to cross compile a ppc64 kernel, it generally >> fails on the VDSO stage. This is true for powerpc64 cross- >> compiler, but also when I try to build a ppc64le kernel >> on a ppc64

RE: [lustre-devel] [PATCH 07/10] staging: lustre: Handle nodemask on UMP machines

2015-11-06 Thread Simmons, James A.
>All warnings (new ones prefixed by >>): > > In file included from include/linux/bitops.h:36:0, >from > drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/linux/libcfs.h:44, >from >

Re: [PATCH] Staging: wilc1000: Declare *wilc in init_wilc_driver to fix build error

2015-11-06 Thread punit vara
On Sat, Nov 7, 2015 at 3:39 AM, punit vara wrote: > On Sat, Nov 7, 2015 at 3:29 AM, Punit Vara wrote: >> This patch is to the linux_wlan.c file that fixes declaration of *wilc >> to remove following error while building it. >> >> make drivers/staging/wilc1000/linux_wlan.o >>

Re: [PATCH] Staging: wilc1000: Declare *wilc in init_wilc_driver to fix build error

2015-11-06 Thread Dan Carpenter
Oh... Sorry. I got your email confused with someone else. > > diff --git a/drivers/staging/wilc1000/linux_wlan.c > > b/drivers/staging/wilc1000/linux_wlan.c > > index 2a5b36f..0805050 100644 > > --- a/drivers/staging/wilc1000/linux_wlan.c > > +++ b/drivers/staging/wilc1000/linux_wlan.c > > @@

Re: [PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-11-06 Thread Rafael J. Wysocki
On Friday, November 06, 2015 11:58:40 AM Grygorii Strashko wrote: > On 11/06/2015 02:13 AM, Rafael J. Wysocki wrote: > > On Thursday, November 05, 2015 11:19:03 PM Pavel Machek wrote: > >> On Mon 2015-10-19 23:54:24, Grygorii Strashko wrote: > >>> It is unsafe [1] if probing of devices will happen

Re: [GIT PULL] tracing: Updates for 4.4

2015-11-06 Thread Linus Torvalds
On Fri, Nov 6, 2015 at 2:09 PM, Stephen Rothwell wrote: > > This was reported against linux-next on Nov 2 by Sergey Senozhatsky who > supplied a fix patch that I then used as the merge conflict resolution > from Nov 3 onward (which everyone involved knew about) ... Ok, so the problem is that

Re: [PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-11-06 Thread Rafael J. Wysocki
On Thursday, November 05, 2015 06:07:45 PM Greg Kroah-Hartman wrote: > On Fri, Nov 06, 2015 at 03:04:10AM +0100, Rafael J. Wysocki wrote: > > On Thursday, November 05, 2015 04:09:57 PM Greg Kroah-Hartman wrote: > > > On Thu, Nov 05, 2015 at 11:38:23PM +0100, Rafael J. Wysocki wrote: > > > > On

Re: [PATCH] UBIFS: Delete unnecessary checks before the function call "iput"

2015-11-06 Thread Richard Weinberger
On Wed, Nov 4, 2015 at 8:10 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 4 Nov 2015 20:00:42 +0100 > > The iput() function tests whether its argument is NULL and then > returns immediately. Thus the test around the call is not needed. > > This issue was detected by using the

Re: [PATCH] arm64: dts: Added syscon-reboot node for FSL's LS2080A SoC

2015-11-06 Thread Javier Martinez Canillas
Hello J. German, On Fri, Nov 6, 2015 at 6:48 PM, J. German Rivera wrote: > Added sys-reboot node to the FSL's LS2080A SoC DT to leverage > the ARM-generic reboot mechanism for this SoC. This mechanism > is enabled through CONFIG_POWER_RESET_SYSCON. > What's in the changelog ends as a part of

Re: [PATCH 03/19] clk: sunxi: Add TCON channel0 clock

2015-11-06 Thread Maxime Ripard
Hi, On Sat, Oct 31, 2015 at 06:19:59PM +0800, Chen-Yu Tsai wrote: > > +#define SUN4I_A10_TCON_CH0_RESET_SHIFT 29 > > This is sun5i specific. > > A10s manual says bit 30 is the LCD reset, while bit 29 is the TV > encoder reset. A13/R8 don't mention TCON_CH0 clock. A10/A20 have no > separate TV

Re: [PATCH v2 1/2] dt-bindings: sound: Add DT bindings for Broadcom Cygnus audio

2015-11-06 Thread Simran Rai
Hi Mark, On 11/6/2015 2:31 AM, Mark Brown wrote: On Thu, Nov 05, 2015 at 12:01:52PM -0800, Simran Rai wrote: On 11/4/2015 6:07 AM, Mark Brown wrote: On Mon, Nov 02, 2015 at 02:11:23PM -0800, Simran Rai wrote: + Interfaces grouping of serial port. In multi-channel stereo, use + "2_0", in

Re: [PATCH] Staging: wilc1000: Declare *wilc in init_wilc_driver to fix build error

2015-11-06 Thread punit vara
On Sat, Nov 7, 2015 at 3:29 AM, Punit Vara wrote: > This patch is to the linux_wlan.c file that fixes declaration of *wilc > to remove following error while building it. > > make drivers/staging/wilc1000/linux_wlan.o > drivers/staging/wilc1000/linux_wlan.c:1824:24: error: ‘wilc’ undeclared > >

Re: [GIT PULL] tracing: Updates for 4.4

2015-11-06 Thread Stephen Rothwell
Hi Linus, On Fri, 6 Nov 2015 13:37:48 -0800 Linus Torvalds wrote: > > So where did this all fail? Nobody ever looked at the warnings from > linux-next? Or it wasn't even in linux-next long enough to really ever > trigger? This was reported against linux-next on Nov 2 by Sergey Senozhatsky who

RE: [lustre-devel] [PATCH] staging: lustre: lnet: klnds: socklnd: Move extern declarations to header

2015-11-06 Thread Simmons, James A.
>From: lustre-devel [mailto:lustre-devel-boun...@lists.lustre.org] On Behalf Of >Amitoj Kaur Chawla >Sent: Friday, November 06, 2015 9:57 AM >To: oleg.dro...@intel.com; andreas.dil...@intel.com; >gre...@linuxfoundation.org; lustre-de...@lists.lustre.org; >de...@driverdev.osuosl.org;

RE: [PATCH] Staging: lustre: dir: Remove wrapper function

2015-11-06 Thread Simmons, James A.
>From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On Behalf >Of Shivani Bhardwaj >Sent: Friday, November 06, 2015 11:55 AM >To: gre...@linuxfoundation.org >Cc: oleg.dro...@intel.com; de...@driverdev.osuosl.org; >andreas.dil...@intel.com; linux-kernel@vger.kernel.org;

Re: [PATCH] Staging: wilc1000: Declare *wilc in init_wilc_driver to fix build error

2015-11-06 Thread Dan Carpenter
On Sat, Nov 07, 2015 at 03:29:23AM +0530, Punit Vara wrote: > This patch is to the linux_wlan.c file that fixes declaration of *wilc > to remove following error while building it. > > make drivers/staging/wilc1000/linux_wlan.o > drivers/staging/wilc1000/linux_wlan.c:1824:24: error: ‘wilc’

RE: [PATCH 1/3] Staging: lustre: module: Replace function calls

2015-11-06 Thread Simmons, James A.
>From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On Behalf >Of Shivani Bhardwaj >Sent: Friday, November 06, 2015 12:18 PM >To: gre...@linuxfoundation.org >Cc: oleg.dro...@intel.com; de...@driverdev.osuosl.org; >andreas.dil...@intel.com; linux-kernel@vger.kernel.org >Subject:

[PATCH] arm64: dts: Added syscon-reboot node for FSL's LS2080A SoC

2015-11-06 Thread J. German Rivera
Added sys-reboot node to the FSL's LS2080A SoC DT to leverage the ARM-generic reboot mechanism for this SoC. This mechanism is enabled through CONFIG_POWER_RESET_SYSCON. CHANGE HISTORY: Changes in v3: - Addressed comment from Stuart Yoder * Fixed commit message to refer to LS2080A instead of

Re: [PATCH v4 1/2] watchdog: imx2_wdt: add external reset support via 'ext-reset-output' dt prop

2015-11-06 Thread Guenter Roeck
On Fri, Nov 06, 2015 at 11:53:42AM -0800, Tim Harvey wrote: > On Thu, Nov 5, 2015 at 2:23 PM, Guenter Roeck wrote: > > On Thu, Nov 05, 2015 at 04:19:21PM -0500, Akshay Bhat wrote: > >> From: Tim Harvey > >> > >> The IMX6 watchdog supports assertion of a signal (WDOG_B) which > >> can be pinmux'd

RE: [PATCH 2/3] Staging: lustre: tracefile: Remove wrapper function

2015-11-06 Thread Simmons, James A.
>-Original Message- >From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On Behalf >Of Shivani Bhardwaj >Sent: Friday, November 06, 2015 12:19 PM >To: gre...@linuxfoundation.org >Cc: oleg.dro...@intel.com; de...@driverdev.osuosl.org; >andreas.dil...@intel.com;

RE: [PATCH 1/3] Staging: lustre: ldlm_pool: Remove unneeded wrapper function

2015-11-06 Thread Simmons, James A.
>-Original Message- >From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On Behalf >Of Shivani Bhardwaj >Sent: Friday, November 06, 2015 12:43 PM >To: gre...@linuxfoundation.org >Cc: oleg.dro...@intel.com; de...@driverdev.osuosl.org; >andreas.dil...@intel.com;

RE: [PATCH 2/3] Staging: lustre: ldlm_pool: Drop wrapper function

2015-11-06 Thread Simmons, James A.
>-Original Message- >From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On Behalf >Of Shivani Bhardwaj >Sent: Friday, November 06, 2015 12:44 PM >To: gre...@linuxfoundation.org >Cc: oleg.dro...@intel.com; de...@driverdev.osuosl.org; >andreas.dil...@intel.com;

RE: [PATCH 3/3] Staging: lustre: ldlm_pool: Drop unneeded wrapper function

2015-11-06 Thread Simmons, James A.
>-Original Message- >From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On Behalf >Of Shivani Bhardwaj >Sent: Friday, November 06, 2015 12:45 PM >To: gre...@linuxfoundation.org >Cc: oleg.dro...@intel.com; de...@driverdev.osuosl.org; >andreas.dil...@intel.com;

Re: [RFC] namei: prevent sgid-hardlinks for unmapped gids

2015-11-06 Thread Kees Cook
Adding Ted, who might know how this all hooks together. (The context is that a write() or truncate() on a setgid file clears the setgid, but mmap writes don't.) On Wed, Nov 4, 2015 at 9:59 AM, Andy Lutomirski wrote: > On Tue, Nov 3, 2015 at 10:58 PM, Willy Tarreau wrote: >> On Tue, Nov 03, 2015

[PATCH] Staging: wilc1000: Declare *wilc in init_wilc_driver to fix build error

2015-11-06 Thread Punit Vara
This patch is to the linux_wlan.c file that fixes declaration of *wilc to remove following error while building it. make drivers/staging/wilc1000/linux_wlan.o drivers/staging/wilc1000/linux_wlan.c:1824:24: error: ‘wilc’ undeclared Signed-off-by: Punit Vara ---

Re: [PATCH 2/3] staging: rtl8188eu: if/else replaced by min_t

2015-11-06 Thread Dan Carpenter
On Fri, Nov 06, 2015 at 11:42:50PM +0200, Andy Shevchenko wrote: > On Fri, Nov 6, 2015 at 5:18 PM, Ivan Safonov wrote: > > psecuritypriv->authenticator_ie[0] = (unsigned > > char)psecnetwork->IELength; > > > > - if ((psecnetwork->IELength-12) < (256-1)) > > -

Re: [RFC PATCH 0/3] CFS idle injection

2015-11-06 Thread Dietmar Eggemann
On 11/06/2015 07:10 PM, Jacob Pan wrote: On Fri, 6 Nov 2015 18:30:01 + Dietmar Eggemann wrote: On 05/11/15 10:12, Peter Zijlstra wrote: People, trim your emails! On Wed, Nov 04, 2015 at 08:58:30AM -0800, Jacob Pan wrote: I also like #2 too. Specially now that it is not limited to a

Re: [PATCH v2 2/3] dmaengine: ti-dma-crossbar: dra7: Support for reserving DMA event ranges

2015-11-06 Thread Rob Herring
On Fri, Oct 30, 2015 at 10:00:37AM +0200, Peter Ujfalusi wrote: > In eDMA the events are directly mapped to a DMA channel (for example DMA > event 14 can only be handled by DMA channel 14). If the memcpy is enabled > on the eDMA, there is a possibility that the crossbar driver would assign > DMA

[PATCH] dt-bindings: ak4554: extension should be .txt

2015-11-06 Thread Raphael Poggi
Signed-off-by: Raphaël Poggi --- Documentation/devicetree/bindings/sound/ak4554.c | 11 --- Documentation/devicetree/bindings/sound/ak4554.txt | 11 +++ 2 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 Documentation/devicetree/bindings/sound/ak4554.c

Re: [PATCH v4] um: net: replace GFP_KERNEL with GFP_ATOMIC when spinlock is held

2015-11-06 Thread Richard Weinberger
Am 29.10.2015 um 16:30 schrieb Saurabh Sengar: > since GFP_KERNEL with GFP_ATOMIC while spinlock is held, > as code while holding a spinlock should be atomic. > GFP_KERNEL may sleep and can cause deadlock, > where as GFP_ATOMIC may fail but certainly avoids deadlockdex > f70dd54..d898f6c 100644 >

Re: [PATCH 2/3] staging: rtl8188eu: if/else replaced by min_t

2015-11-06 Thread Andy Shevchenko
On Fri, Nov 6, 2015 at 5:18 PM, Ivan Safonov wrote: > Duplicated code removed. > > Signed-off-by: Ivan Safonov > --- > drivers/staging/rtl8188eu/core/rtw_cmd.c | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/drivers/staging/rtl8188eu/core/rtw_cmd.c >

<    1   2   3   4   5   6   7   8   9   10   >