[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

[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

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

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 4/5] NVMe: add blk polling support

2015-11-06 Thread Keith Busch
On Fri, Nov 06, 2015 at 03:46:07PM -0800, Elliott, Robert (Persistent Memory) wrote: > > -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:

[RFC] kprobes: Use percpu counter to collect nhit statistics

2015-11-06 Thread Martin KaFai Lau
When doing ebpf+kprobe on some hot TCP functions (e.g. tcp_rcv_established), the kprobe_dispatcher shows up in 'perf report'. In kprobe_dispatcher(), there is a lot of cache bouncing in 'tk->nhit++'. 'tk->nhit' and 'tk->tp.flags' also share the same cacheline. perf report (cycles:pp): 8.30%

[PATCH] staging: lustre: remove IOC_LIBCFS_PING_TEST ioctl

2015-11-06 Thread y
From: James Simmons The ioctl IOC_LIBCFS_PING_TEST has not been used in ages. The recent nidstring changes which moved all the nidstring operations from libcfs to the LNet layer but this ioctl code was still using an nidstring operation that was causing an circular dependency

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

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

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.

[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

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

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] 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- > > >

[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

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,

Re: [PATCH] jbd2: get rid of superfluous __GFP_REPEAT

2015-11-06 Thread Tetsuo Handa
On 2015/11/07 1:17, mho...@kernel.org wrote: > From: Michal Hocko > > jbd2_alloc is explicit about its allocation preferences wrt. the > allocation size. Sub page allocations go to the slab allocator > and larger are using either the page allocator or vmalloc. This > is all good

Re: [PATCH 3.10 00/24] 3.10.93-stable review

2015-11-06 Thread Guenter Roeck
On 11/06/2015 11:24 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.93 release. There are 24 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

[RFC] kprobes: Use percpu counter to collect nhit statistics

2015-11-06 Thread Martin KaFai Lau
When doing ebpf+kprobe on some hot TCP functions (e.g. tcp_rcv_established), the kprobe_dispatcher shows up in 'perf report'. In kprobe_dispatcher(), there is a lot of cache bouncing in 'tk->nhit++'. 'tk->nhit' and 'tk->tp.flags' also share the same cacheline. perf report (cycles:pp): 8.30%

[PATCH v6] 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. Signed-off-by: J. German Rivera --- CHANGE HISTORY: Changes in v6: - Addressed comment from

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 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] 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 ---

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

[PATCH v2 4/4] usb: dwc2: host: Giveback URB in tasklet context

2015-11-06 Thread Douglas Anderson
In commit 94dfd7edfd5c ("USB: HCD: support giveback of URB in tasklet context") support was added to give back the URB in tasklet context. Let's take advantage of this in dwc2. This speeds up the dwc2 interrupt handler considerably. Note that this requires the change ("usb: dwc2: host: Add a

Re: [PATCH 4.1 00/86] 4.1.13-stable review

2015-11-06 Thread Guenter Roeck
On 11/06/2015 11:21 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.1.13 release. There are 86 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 3.14 00/37] 3.14.57-stable review

2015-11-06 Thread Guenter Roeck
On 11/06/2015 11:24 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.14.57 release. There are 37 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH v4 3/4] Add PTP_SYS_OFFSET_PRECISE for driver crosstimestamping

2015-11-06 Thread Christopher Hall
Richard/Thomas: On Tue, 13 Oct 2015 06:59:26 -0700, Richard Cochran wrote: On Mon, Oct 12, 2015 at 11:45:21AM -0700, Christopher S. Hall wrote: +struct ptp_sys_offset_precise { + unsigned int rsv[4];/* Reserved for future use. */ + struct

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

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,

[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

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

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

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

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: [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 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 v3 07/11] staging: fsl-mc: Populate the IRQ pool for an MC bus instance

2015-11-06 Thread J. German Rivera
Scan the corresponding DPRC container to get total count of IRQs needed by all its child DPAA2 objects. Then, preallocate a set of MSI IRQs with the DPRC's ICID (GIT-ITS device Id) to populate the the DPRC's IRQ pool. Each child DPAA2 object in the DPRC and the DPRC object itself will allocate

[PATCH v3 01/11] irqdomain: Added domain bus token DOMAIN_BUS_FSL_MC_MSI

2015-11-06 Thread J. German Rivera
Since an FSL-MC bus is a new bus type that is neither PCI nor PLATFORM, we need a new domain bus token to disambiguate the IRQ domain for FSL-MC MSIs. Signed-off-by: J. German Rivera --- CHANGE HISTORY Changes in v3: none Changes in v2: none

Re: [PATCH 4.2 000/110] 4.2.6-stable review

2015-11-06 Thread Guenter Roeck
On 11/06/2015 11:18 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.2.6 release. There are 110 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH v3 01/12] pwm: introduce default period and polarity concepts

2015-11-06 Thread Alexandre Belloni
On 21/09/2015 at 11:33:18 +0200, Boris Brezillon wrote : > When requested by a user, the PWM is assigned a default period and polarity > extracted from the DT, the platform data or statically set by the driver. > Those default values are currently stored in the period and polarity > fields of the

Re: [PATCH] sysfs: add devm_sysfs_create_group() and friends

2015-11-06 Thread Greg Kroah-Hartman
On Fri, Oct 30, 2015 at 08:13:11AM -0700, Dmitry Torokhov wrote: > On Fri, Oct 30, 2015 at 07:40:37AM -0700, Greg Kroah-Hartman wrote: > > On Fri, Oct 30, 2015 at 04:47:06AM -0700, Dmitry Torokhov wrote: > > > Many drivers create additional driver-specific device attributes when > > > binding to

Re: [PATCH 5/5] comedi: driver: Fix - BIT macro used coding style issue

2015-11-06 Thread Greg KH
On Fri, Nov 06, 2015 at 07:57:46PM +0530, Ranjith wrote: > BIT macro is used for defining bit location instead of shifting > operator - coding style issue > > Signed-off-by: Ranjith T > --- > drivers/staging/comedi/drivers/ii_pci20kc.c | 70 >

Re: [PATCH] lustre: obdclass: fix sparse warning

2015-11-06 Thread Greg KH
On Sun, Nov 01, 2015 at 02:12:29PM +0530, Paul Davies C wrote: > Fix the following warning given by sparse: > > drivers/staging/lustre/lustre/obdclass/cl_lock.c:690:5: warning: symbol > 'cl_lock_mutex_try' was not declared. Should it be static? > > Signed-off-by: Paul Davies C

Re: [PATCH] staging: lustre: lnet: selftest: Move extern declarations to headers

2015-11-06 Thread Greg KH
On Fri, Nov 06, 2015 at 02:04:21AM +0530, Amitoj Kaur Chawla wrote: > This patch moves extern declarations to respective header files. > > This patch also removes extern keyword from function declarations > since functions have the extern specifier by default. > > Signed-off-by: Amitoj Kaur

Re: [PATCH v4] sched: fix incorrect wait time and wait count statistics

2015-11-06 Thread Joonwoo Park
On Fri, Nov 06, 2015 at 02:57:49PM +0100, Peter Zijlstra wrote: > On Tue, Oct 27, 2015 at 09:46:53PM -0700, Joonwoo Park wrote: > > @@ -1272,6 +1272,15 @@ void set_task_cpu(struct task_struct *p, unsigned > > int new_cpu) > > WARN_ON_ONCE(p->state != TASK_RUNNING && p->state != TASK_WAKING &&

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

2015-11-06 Thread Greg KH
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: [lustre-devel] [PATCH 07/10] staging: lustre: Handle nodemask on UMP machines

2015-11-06 Thread Greg Kroah-Hartman
On Fri, Nov 06, 2015 at 10:18:17PM +, Simmons, James A. wrote: > >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, > >

Re: [PATCH 4.2 000/110] 4.2.6-stable review

2015-11-06 Thread Greg Kroah-Hartman
On Fri, Nov 06, 2015 at 07:53:08PM -0700, Shuah Khan wrote: > On 11/06/2015 12:18 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.2.6 release. > > There are 110 patches in this series, all will be posted as a response > > to this one. If anyone has any

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

2015-11-06 Thread Krzysztof Kozlowski
W dniu 07.11.2015 o 07:33, Rob Herring pisze: > 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

[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

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

[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

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

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

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

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

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

2015-11-06 Thread Alim Akhtar
Hi Rob, On Sat, Nov 7, 2015 at 4:03 AM, Rob Herring wrote: > 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

[RFC PATCH] usb: dwc2: host: Rewrite the microframe scheduler

2015-11-06 Thread Douglas Anderson
The old microframe scheduler was terribly hard to follow and (it seemed to me) that it had some bugs in it. Let's re-write it in a simpler, easier-to-read way. Hopefully this will work better. Note: no known problems are fixed by this patch, and in fact I can see very little impact of the

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

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

[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

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:

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

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)

[PATCH v3 2/3] sound: soc: Add Cygnus audio DAI driver

2015-11-06 Thread Simran Rai
This patch adds Cygnus audio DAI driver. It supports I2S, TDM and SPDIF modes and uses three clocks derived from PLL. This patchset has been tested on Cygnus wireless audio bcm958305K board. Signed-off-by: Lori Hikichi Signed-off-by: Simran Rai

[PATCH v3 1/3] dt-bindings: sound: Add DT bindings for Broadcom Cygnus audio

2015-11-06 Thread Simran Rai
Add bindings for audio driver in Broadcom Cygnus. Signed-off-by: Lori Hikichi Signed-off-by: Simran Rai Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- .../bindings/sound/brcm,cygnus-audio.txt

[PATCH v3 3/3] sound: soc: Add Cygnus audio DMA driver

2015-11-06 Thread Simran Rai
This patch adds Cygnus audio DMA driver. It supports playback and capture modes and uses ringbuffers for data transfer. Signed-off-by: Lori Hikichi Signed-off-by: Simran Rai Reviewed-by: Ray Jui Reviewed-by: Arun Parameswaran

[PATCH v3 0/3] sound: soc: Add audio support for Broadcom Cygnus SoC

2015-11-06 Thread Simran Rai
Hi, This patchset contains audio support for Broadcom's Cygnus SoC. It contains DT bindings and core audio driver. The audio driver supports both capture and playback of Audio PCM samples over I2S/TDM interface and provides playback support over SPDIF interface. This patchset is derived from a

Re: [PATCH 3.14 00/37] 3.14.57-stable review

2015-11-06 Thread Shuah Khan
On 11/06/2015 12:24 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.14.57 release. > There are 37 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [BUG, bisect, PATCH 04/10] tpm: move the PPI attributes to character device directory.

2015-11-06 Thread Jeremiah Mahler
Jarkko, On Wed, Nov 04, 2015 at 10:17:05AM -0800, Jeremiah Mahler wrote: > Jarkko, all, > > On Fri, Oct 16, 2015 at 09:40:23PM +0300, Jarkko Sakkinen wrote: > > Moved PPI attributes to the character device directory. This aligns with > > the sysfs guidelines and makes them race free because they

Re: [PATCH 4.2 000/110] 4.2.6-stable review

2015-11-06 Thread Shuah Khan
On 11/06/2015 12:18 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.2.6 release. > There are 110 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 4.1 00/86] 4.1.13-stable review

2015-11-06 Thread Shuah Khan
On 11/06/2015 12:21 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.1.13 release. > There are 86 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

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

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

[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

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() >> >

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

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: [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, >>

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

[PATCH v2 0/4] dwc2: Speed up the interrupt handler quite a bit

2015-11-06 Thread Douglas Anderson
The dwc2 interrupt handler is quite slow. On rk3288 with a few things plugged into the ports and with cpufreq locked at 696MHz (to simulate real world idle system), I can easily observe dwc2_handle_hcd_intr() taking > 120 us, sometimes > 150 us. Note that SOF interrupts come every 125 us with

[PATCH v2 2/4] usb: dwc2: host: Get aligned DMA in a more supported way

2015-11-06 Thread Douglas Anderson
All other host controllers who want aligned buffers for DMA do it a certain way. Let's do that too instead of working behind the USB core's back. This makes our interrupt handler not take forever and also rips out a lot of code, simplifying things a bunch. This also has the side effect of

[PATCH v2 3/4] usb: dwc2: host: Add a delay before releasing periodic bandwidth

2015-11-06 Thread Douglas Anderson
We'd like to be able to use HCD_BH in order to speed up the dwc2 host interrupt handler quite a bit. However, according to the kernel doc for usb_submit_urb() (specifically the part about "Reserved Bandwidth Transfers"), we need to keep a reservation active as long as a device driver keeps

[PATCH v2 1/4] usb: dwc2: rockchip: Make the max_transfer_size automatic

2015-11-06 Thread Douglas Anderson
Previously we needed to set the max_transfer_size to explicitly be 65535 because the old driver would detect that our hardware could support much bigger transfers and then would try to do them. This wouldn't work since the DMA alignment code couldn't support it. Later in commit e8f8c14d9da7

Re: [PATCH 2/3] usb: dwc2: host: Giveback URB in tasklet context

2015-11-06 Thread Doug Anderson
Alan, On Fri, Nov 6, 2015 at 7:40 AM, Alan Stern wrote: > On Thu, 5 Nov 2015, Doug Anderson wrote: > >> Alan, >> >> On Thu, Nov 5, 2015 at 7:19 AM, Alan Stern wrote: >> > On Wed, 4 Nov 2015, Doug Anderson wrote: >> > >> >> In the ChromeOS

Re: [PATCH 3.10 00/24] 3.10.93-stable review

2015-11-06 Thread Shuah Khan
On 11/06/2015 12:24 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.10.93 release. > There are 24 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [BUG, 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: [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

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

[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

[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

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

  1   2   3   4   5   6   7   8   9   10   >