Re: [PATCH v6 0/5] dma-mapping: Patches for speeding up allocation

2016-01-29 Thread Doug Anderson
Hi, On Fri, Jan 29, 2016 at 1:52 PM, Olof Johansson wrote: > On Tue, Jan 26, 2016 at 4:39 PM, Doug Anderson wrote: >> Hi, >> >> On Tue, Jan 26, 2016 at 3:59 PM, Andrew Morton >> wrote: >>> On Mon, 11 Jan 2016 09:30:22 -0800 Douglas Anderson >>> wrote: >>> This series of patches will spee

Re: [RESEND PATCH v4] x86/PCI: Recognize that Interrupt Line 255 means "not connected"

2016-01-29 Thread Bjorn Helgaas
On Fri, Jan 29, 2016 at 11:40:14AM +0800, Chen Fan wrote: > Per the x86-specific footnote to PCI spec r3.0, sec 6.2.4, the value 255 in > the Interrupt Line register means "unknown" or "no connection." > Previously, when we couldn't derive an IRQ from the _PRT, we fell back to > using the value fro

Re: [PATCH v6 0/5] dma-mapping: Patches for speeding up allocation

2016-01-29 Thread Doug Anderson
Hi, On Fri, Jan 29, 2016 at 1:58 PM, Doug Anderson wrote: >> I think it makes sense to send these through Russell's tracker for him >> to merge, especially since I don't think there are any dependencies on >> them for SoC-specific patches coming up. > > Sounds good. I'll make the nitfixes and I'

Re: [tip:x86/asm] x86/syscalls: Remove __SYSCALL_COMMON and __SYSCALL_X32

2016-01-29 Thread Brian Gerst
On Fri, Jan 29, 2016 at 4:23 PM, H. Peter Anvin wrote: > On January 29, 2016 3:34:44 AM PST, tip-bot for Andy Lutomirski > wrote: >>Commit-ID: 32324ce15ea8cb4c8acc28acb2fd36fabf73e9db >>Gitweb: >>http://git.kernel.org/tip/32324ce15ea8cb4c8acc28acb2fd36fabf73e9db >>Author: Andy Lutomirski >

Re: [PATCH 1/3] x86: Honour passed pgprot in track_pfn_insert() and track_pfn_remap()

2016-01-29 Thread Andy Lutomirski
On Fri, Jan 29, 2016 at 6:49 AM, Matthew Wilcox wrote: > On Tue, Jan 26, 2016 at 09:44:24PM -0800, Andy Lutomirski wrote: >> On Tue, Jan 26, 2016 at 8:40 PM, Matthew Wilcox >> wrote: >> > On Mon, Jan 25, 2016 at 09:33:35AM -0800, Andy Lutomirski wrote: >> >> On Mon, Jan 25, 2016 at 9:25 AM, Matt

Re: [tpmdd-devel] [PATCH] tpm, tpm_crb: fix control area resource mapping

2016-01-29 Thread Jarkko Sakkinen
On Fri, Jan 29, 2016 at 01:48:27PM -0700, Jason Gunthorpe wrote: > On Thu, Jan 28, 2016 at 11:13:59PM -0800, Jarkko Sakkinen wrote: > > > - struct resource tmp = {}; > > - > > - tmp.start = start; > > - tmp.end = start + size - 1; > > - tmp.flags = IORESOURCE_MEM; > > + struct resource n

Re: [PATCH V8 23/23] perf tools: adding coresight etm PMU record capabilities

2016-01-29 Thread Mathieu Poirier
On 29 January 2016 at 14:12, Arnaldo Carvalho de Melo wrote: > Em Fri, Jan 29, 2016 at 10:37:48AM -0700, Mathieu Poirier escreveu: >> On 29 January 2016 at 03:34, Adrian Hunter wrote: >> > On 25/01/16 23:10, Arnaldo Carvalho de Melo wrote: >> >> Em Mon, Jan 25, 2016 at 01:51:18PM -0700, Mathieu P

Re: [tip:x86/asm] x86/syscalls: Remove __SYSCALL_COMMON and __SYSCALL_X32

2016-01-29 Thread Andy Lutomirski
On Fri, Jan 29, 2016 at 2:19 PM, Brian Gerst wrote: > On Fri, Jan 29, 2016 at 4:23 PM, H. Peter Anvin wrote: >> On January 29, 2016 3:34:44 AM PST, tip-bot for Andy Lutomirski >> wrote: >>>Commit-ID: 32324ce15ea8cb4c8acc28acb2fd36fabf73e9db >>>Gitweb: >>>http://git.kernel.org/tip/32324ce15ea8c

Re: [tpmdd-devel] [PATCH] tpm, tpm_crb: fix control area resource mapping

2016-01-29 Thread Jarkko Sakkinen
On Fri, Jan 29, 2016 at 02:21:08PM -0800, Jarkko Sakkinen wrote: > On Fri, Jan 29, 2016 at 01:48:27PM -0700, Jason Gunthorpe wrote: > > On Thu, Jan 28, 2016 at 11:13:59PM -0800, Jarkko Sakkinen wrote: > > > > > - struct resource tmp = {}; > > > - > > > - tmp.start = start; > > > - tmp.end = start

Re: [CRIU] x86: Hardware breakpoints are not always triggered

2016-01-29 Thread Andrew Vagin
On Thu, Jan 28, 2016 at 02:42:25PM -0800, Andrey Wagin wrote: > On Thu, Jan 28, 2016 at 10:33:28PM +0100, Paolo Bonzini wrote: > > > > > > On 28/01/2016 09:31, Andrey Wagin wrote: > > > I tried to print drX registers after a break-point. Looks like they > > > are set correctly. > > > > Can you t

Re: [PATCH] mm: do not let vdso pages into LRU rotation

2016-01-29 Thread Andy Lutomirski
On Thu, Jan 28, 2016 at 1:33 PM, Johannes Weiner wrote: > On Wed, Jan 27, 2016 at 12:32:16PM -0800, Andy Lutomirski wrote: >> On Wed, Jan 27, 2016 at 11:39 AM, Johannes Weiner wrote: >> > Could the VDSO be a VM_MIXEDMAP to keep the initial unmanaged pages >> > out of the VM while allowing COW int

Re: [RFC][PATCH] mips: Fix arch_spin_unlock()

2016-01-29 Thread Paul E. McKenney
On Fri, Jan 29, 2016 at 09:59:59AM +, Will Deacon wrote: > On Thu, Jan 28, 2016 at 02:31:31PM -0800, Paul E. McKenney wrote: [ . . . ] > > For Linux in general, this is a question: How strict do we want to be > > about matching the type of write with the corresponding read? My > > default ap

[PATCH] i2c: designware: balance clk enable/disable on removal

2016-01-29 Thread Alexey Khoroshilov
It seems clk_disable_unprepare() is missed in dw_i2c_plat_remove(), so the patch adds it. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/i2c/busses/i2c-designware-platdrv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/

Re: [tpmdd-devel] [PATCH] tpm, tpm_crb: fix control area resource mapping

2016-01-29 Thread Jason Gunthorpe
On Fri, Jan 29, 2016 at 02:26:54PM -0800, Jarkko Sakkinen wrote: > On Fri, Jan 29, 2016 at 02:21:08PM -0800, Jarkko Sakkinen wrote: > > On Fri, Jan 29, 2016 at 01:48:27PM -0700, Jason Gunthorpe wrote: > > > On Thu, Jan 28, 2016 at 11:13:59PM -0800, Jarkko Sakkinen wrote: > > > > > > > - stru

[PATCH V13 00/10] dma: add Qualcomm Technologies HIDMA driver

2016-01-29 Thread Sinan Kaya
The Qualcomm Technologies HIDMA device has been designed to support virtualization technology. The driver has been divided into two to follow the hardware design. 1. HIDMA Management driver 2. HIDMA Channel driver Each HIDMA HW consists of multiple channels. These channels share some set of commo

Re: computing drop-able caches

2016-01-29 Thread Johannes Weiner
On Fri, Jan 29, 2016 at 01:21:47PM -0800, Daniel Walker wrote: > On 01/28/2016 05:55 PM, Johannes Weiner wrote: > >On Thu, Jan 28, 2016 at 05:29:41PM -0800, Daniel Walker wrote: > >>On 01/28/2016 05:03 PM, Daniel Walker wrote: > >>[regarding MemAvaiable] > >> > >>This new metric purportedly helps u

[PATCH V13 03/10] dma: add Qualcomm Technologies HIDMA management driver

2016-01-29 Thread Sinan Kaya
The Qualcomm Technologies HIDMA device has been designed to support virtualization technology. The driver has been divided into two to follow the hardware design. 1. HIDMA Management driver 2. HIDMA Channel driver Each HIDMA HW consists of multiple channels. These channels share some set of commo

[PATCH V13 01/10] dma: qcom_bam_dma: move to qcom directory

2016-01-29 Thread Sinan Kaya
Creating a QCOM directory for all QCOM DMA source files. Signed-off-by: Sinan Kaya Reviewed-by: Andy Gross --- drivers/dma/Kconfig| 11 ++- drivers/dma/Makefile | 2 +- drivers/dma/qcom/Kconfig | 8 d

[PATCH V13 08/10] dma: qcom_hidma: read the channel id from HW

2016-01-29 Thread Sinan Kaya
Removing the flexibility to choose the event channel as there is no real use case right now. We have been using the values in ACPI that match the HW defaults. OS is reading the event-channel from the HW register now. Signed-off-by: Sinan Kaya --- .../devicetree/bindings/dma/qcom_hidma_mgmt.txt

Re: Linux 3.10.96

2016-01-29 Thread Greg KH
diff --git a/Makefile b/Makefile index eb120001bc12..c88ea5d8d19c 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 10 -SUBLEVEL = 95 +SUBLEVEL = 96 EXTRAVERSION = NAME = TOSSUG Baby Fish diff --git a/arch/arm64/kernel/ptrace.c b/arch/arm64/kernel/ptrace.c index 33

Linux 3.10.96

2016-01-29 Thread Greg KH
I'm announcing the release of the 3.10.96 kernel. All users of the 3.10 kernel series must upgrade. The updated 3.10.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.10.y and can be browsed at the normal kernel.org git web browser:

[PATCH V13 10/10] vfio, platform: add QTI HIDMA reset driver

2016-01-29 Thread Sinan Kaya
In situations where the userspace driver is stopped abnormally and the VFIO platform device is released, the assigned HW device currently is left running. As a consequence the HW device might continue issuing IRQs and performing DMA accesses. This patch is implementing a reset driver for HIDMA pla

Linux 3.14.60

2016-01-29 Thread Greg KH
I'm announcing the release of the 3.14.60 kernel. All users of the 3.14 kernel series must upgrade. The updated 3.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.14.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 3.14.60

2016-01-29 Thread Greg KH
diff --git a/Makefile b/Makefile index c2a6ec4d8803..502255cebc9a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 14 -SUBLEVEL = 59 +SUBLEVEL = 60 EXTRAVERSION = NAME = Remembering Coco diff --git a/arch/arm64/include/asm/kvm_emulate.h b/arch/arm64/include/asm/k

[PATCH V13 09/10] vfio, platform: add support for ACPI while detecting the reset driver

2016-01-29 Thread Sinan Kaya
The code is using the compatible DT string to associate a reset driver with the actual device itself. The compatible string does not exist on ACPI based systems. HID is the unique identifier for a device driver instead. The change allows a driver to register with DT compatible string or ACPI HID an

[PATCH V13 07/10] dma: qcom_hidma: add support for object hierarchy

2016-01-29 Thread Sinan Kaya
In order to create a relationship model between the channels and the management object, we are adding support for object hierarchy to the drivers. This patch simplifies the userspace application development. We will not have to traverse different firmware paths based on device tree or ACPI baed ker

[PATCH V13 06/10] dma: qcom_hidma: add debugfs hooks

2016-01-29 Thread Sinan Kaya
Add debugfs hooks for debugging the execution behavior of the DMA channel. The debugfs hooks get initialized by the probe function and uninitialized by the remove function. A stats file is created in debugfs. The stats file will show the information about each HIDMA channel as well as each asynchr

[PATCH V13 05/10] dma: qcom_hidma: implement lower level hardware interface

2016-01-29 Thread Sinan Kaya
This patch implements the hardware hooks for the HIDMA channel driver. The main functions of interest are: - hidma_ll_init - hidma_ll_request - hidma_ll_queue_request - hidma_ll_hw_start OS layer calls the hidma_ll_init function during probe to set up the hardware. At this moment, the number of s

Re: [tpmdd-devel] [PATCH] tpm, tpm_crb: fix control area resource mapping

2016-01-29 Thread Jarkko Sakkinen
On Fri, Jan 29, 2016 at 03:33:34PM -0700, Jason Gunthorpe wrote: > On Fri, Jan 29, 2016 at 02:26:54PM -0800, Jarkko Sakkinen wrote: > > On Fri, Jan 29, 2016 at 02:21:08PM -0800, Jarkko Sakkinen wrote: > > > On Fri, Jan 29, 2016 at 01:48:27PM -0700, Jason Gunthorpe wrote: > > > > On Thu, Jan 28, 201

[PATCH V13 04/10] dma: add Qualcomm Technologies HIDMA channel driver

2016-01-29 Thread Sinan Kaya
This patch adds support for hidma engine. The driver consists of two logical blocks. The DMA engine interface and the low-level interface. The hardware only supports memcpy/memset and this driver only support memcpy interface. HW and driver doesn't support slave interface. Signed-off-by: Sinan Kay

[PATCH 1/2] sched,time: remove pointless divides from __acct_update_integrals

2016-01-29 Thread riel
From: Rik van Riel When running a microbenchmark calling an invalid syscall number in a loop, on a nohz_full CPU, we spend a full 9% of our CPU time in __acct_update_integrals. This function converts cputime_t to jiffies, to a timeval, only to convert the timeval back to microseconds before disc

[PATCH 0/2] sched,time: reduce nohz_full syscall overhead 40%

2016-01-29 Thread riel
Running with nohz_full introduces a fair amount of overhead. Specifically, various things that are usually done from the timer interrupt are now done at syscall, irq, and guest entry and exit times. However, some of the code that is called every single time has only ever worked at jiffy resolution

[PATCH 2/2] sched,time: call __acct_update_integrals once a jiffy

2016-01-29 Thread riel
From: Rik van Riel Because __acct_update_integrals does nothing unless the time interval in question exceeds a jiffy, there is no real reason to call it more than once a jiffy from the syscall, irq, and guest entry & exit paths. If tasks get rescheduled frequently, the scheduler will still updat

[PATCH V13 02/10] dma: hidma: Add Device Tree binding

2016-01-29 Thread Sinan Kaya
Add documentation for the Qualcomm Technologies HIDMA binding. Signed-off-by: Sinan Kaya Acked-by: Rob Herring --- .../devicetree/bindings/dma/qcom_hidma_mgmt.txt| 92 ++ 1 file changed, 92 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/qcom_hidm

Re: computing drop-able caches

2016-01-29 Thread Rik van Riel
On 01/28/2016 08:55 PM, Johannes Weiner wrote: > On Thu, Jan 28, 2016 at 05:29:41PM -0800, Daniel Walker wrote: >> On 01/28/2016 05:03 PM, Daniel Walker wrote: >> [regarding MemAvaiable] >> >> This new metric purportedly helps usrespace assess available memory. But, >> its again based on heuristic,

Re: [PATCH 2/2] sched,time: call __acct_update_integrals once a jiffy

2016-01-29 Thread Rik van Riel
On 01/29/2016 05:23 PM, r...@redhat.com wrote: > From: Rik van Riel > This speeds up ... ok, that changelog got truncated :( Here is the full version: Because __acct_update_integrals does nothing unless the time interval in question exceeds a jiffy, there is no real reason to call it more tha

Re: [PATCH 2/2] block: use DAX for partition table reads

2016-01-29 Thread Matthew Wilcox
On Fri, Jan 29, 2016 at 07:18:46AM -0800, Dan Williams wrote: > diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h > index 29189aeace19..b1452c04f1a9 100644 > --- a/include/linux/blkdev.h > +++ b/include/linux/blkdev.h > @@ -1633,6 +1633,16 @@ struct blk_dax_ctl { > pfn_t pfn; > };

Re: [PATCH 3.10 00/53] 3.10.96-stable review

2016-01-29 Thread Kevin Hilman
Greg Kroah-Hartman writes: > On Thu, Jan 28, 2016 at 03:04:19AM -0800, kernelci.org bot wrote: >> stable-queue boot: 53 boots: 1 failed, 52 passed (v3.10.95-53-g3ebc76ed4936) >> >> Full Boot Summary: >> https://kernelci.org/boot/all/job/stable-queue/kernel/v3.10.95-53-g3ebc76ed4936/ >> Full Bui

[PATCH 2/2] clk: imx: return correct frequency for Ethernet PLL

2016-01-29 Thread Stefan Agner
The i.MX 7 designs Ethernet PLL provides a 1000MHz reference clock. Store the reference clock in the clk_pllv3 structure according to the PLL type. Signed-off-by: Stefan Agner --- drivers/clk/imx/clk-pllv3.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/clk/

[PATCH 1/2] clk: imx: do not sleep if IRQ's are still disabled

2016-01-29 Thread Stefan Agner
If a clock gets enabled early during boot time, it can lead to a PLL startup. The wait_lock function makes sure that the PLL is really stareted up before it gets used. However, the function sleeps which leads to scheduling and an error: bad: scheduling from the idle thread! ... Use udelay in case

Re: livepatch: Implement separate coming and going module notifiers

2016-01-29 Thread Jessica Yu
+++ Josh Poimboeuf [29/01/16 13:42 -0600]: On Fri, Jan 29, 2016 at 08:25:15PM +0100, Miroslav Benes wrote: On Fri, 29 Jan 2016, Josh Poimboeuf wrote: > On Fri, Jan 29, 2016 at 12:40:14PM -0500, Steven Rostedt wrote: > > [ Added Rusty, as he's still maintainer of the module code ] > > > > On Fri

[PATCH 2/3] cpufreq: intel_pstate: Replace timers with utilization update callbacks

2016-01-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Instead of using a per-CPU deferrable timer for utilization sampling and P-states adjustments, register a utilization update callback that will be invoked from the scheduler on utilization changes. The sampling rate is still the same as what was used for the deferrable ti

[PATCH 1/3] cpufreq: Add a mechanism for registering utilization update callbacks

2016-01-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Introduce a mechanism by which parts of the cpufreq subsystem ("setpolicy" drivers or the core) can register callbacks to be executed from cpufreq_update_util() which is invoked by the scheduler's update_load_avg() on CPU utilization changes. This allows the "setpolicy" d

[PATCH 3/3] cpufreq: governor: Replace timers with utilization update callbacks

2016-01-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Instead of using a per-CPU deferrable timer for queuing up governor work items, register a utilization update callback that will be invoked from the scheduler on utilization changes. The sampling rate is still the same as what was used for the deferrable timers and the ad

[PATCH 0/3] cpufreq: Replace timers with utilization update callbacks

2016-01-29 Thread Rafael J. Wysocki
Hi, The following patch series introduces a mechanism allowing the cpufreq core and "setpolicy" drivers to provide utilization update callbacks to be invoked by the scheduler on utilization changes. Those callbacks can be used to run the sampling and frequency adjustments code (intel_pstate) or t

Re: [PATCH 1/2] sched,time: remove pointless divides from __acct_update_integrals

2016-01-29 Thread Peter Zijlstra
On Fri, Jan 29, 2016 at 05:22:59PM -0500, r...@redhat.com wrote: > From: Rik van Riel > > When running a microbenchmark calling an invalid syscall number > in a loop, on a nohz_full CPU, we spend a full 9% of our CPU > time in __acct_update_integrals. > > This function converts cputime_t to jiff

Re: [GIT PULL] Power management and ACPI fixes for v4.5-rc2

2016-01-29 Thread Rafael J. Wysocki
On Fri, Jan 29, 2016 at 10:51 PM, Rafael J. Wysocki wrote: > Hi Linus, > > Please pull from > > git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ > pm+acpi-4.5-rc2 > > to receive the second batch of power management and ACPI updates for > v4.5-rc2 with top-most commit ad1ac9476

Re: [linux-review:James-Hogan/kbuild-Remove-stale-asm-generic-wrappers/20160119-183642] d979f99e9cc14e2667e9b6e268db695977e4197a BUILD DONE

2016-01-29 Thread Russell King - ARM Linux
On Fri, Jan 29, 2016 at 10:54:02PM +0100, Arnd Bergmann wrote: > Now that I think about it, I guess platforms that use values above > 0xfee0 can also easily get into trouble as that conflicts with the > PCI I/O space, the fixmap or other special areas documented in > Documentation/arm/memory.tx

Re: [PATCH] staging: rtl8723au: Fixes unnecessary return warning

2016-01-29 Thread Julian Calaby
Hi Bhaktipriya, On Sat, Jan 30, 2016 at 5:00 AM, Jes Sorensen wrote: > Bhaktipriya Shridhar writes: >> This patch fixes checkpatch.pl warning in rtw_mlme_ext.c file. >> WARNING: void function return statements are not generally useful >> >> Signed-off-by: Bhaktipriya Shridhar >> --- >> drivers

[PATCH 0/3] mm: memcontrol: simplify page->mem_cgroup pinning

2016-01-29 Thread Johannes Weiner
This simplifies the way page->mem_cgroup is pinned. After this series, lock_page_memcg() is simpler to use, and only necessary if the page is neither isolated from the LRU nor fully locked. fs/buffer.c| 18 - fs/xfs/xfs_aops.c | 7 +++ include/linux/m

[PATCH 1/3] mm: migrate: do not touch page->mem_cgroup of live pages

2016-01-29 Thread Johannes Weiner
Changing a page's memcg association complicates dealing with the page, so we want to limit this as much as possible. Page migration e.g. does not have to do that. Just like page cache replacement, it can forcibly charge a replacement page, and then uncharge the old page when it gets freed. Temporar

[PATCH 2/3] mm: simplify lock_page_memcg()

2016-01-29 Thread Johannes Weiner
Now that migration doesn't clear page->mem_cgroup of live pages anymore, it's safe to make lock_page_memcg() and the memcg stat functions take pages, and spare the callers from memcg objects. Suggested-by: Vladimir Davydov Signed-off-by: Johannes Weiner --- fs/buffer.c| 18 +

[PATCH 3/3] mm: remove unnecessary uses of lock_page_memcg()

2016-01-29 Thread Johannes Weiner
There are several users that nest lock_page_memcg() inside lock_page() to prevent page->mem_cgroup from changing. But the page lock prevents pages from moving between cgroups, so that is unnecessary overhead. Remove lock_page_memcg() in contexts with locked contexts and fix the debug code in the p

Re: [PATCH 2/2] dax: fix bdev NULL pointer dereferences

2016-01-29 Thread Ross Zwisler
On Fri, Jan 29, 2016 at 11:28:15AM -0700, Ross Zwisler wrote: > On Thu, Jan 28, 2016 at 01:38:58PM -0800, Christoph Hellwig wrote: > > On Thu, Jan 28, 2016 at 12:35:04PM -0700, Ross Zwisler wrote: > > > There are a number of places in dax.c that look up the struct block_device > > > associated with

Re: [PATCH 1/2] clk: imx: do not sleep if IRQ's are still disabled

2016-01-29 Thread Joshua Clayton
On Fri, 29 Jan 2016 14:49:23 -0800 Stefan Agner wrote: > If a clock gets enabled early during boot time, it can lead to a PLL > startup. The wait_lock function makes sure that the PLL is really > stareted up before it gets used. However, the function sleeps which s/stareted/started/

Staging: board: Fix checkpatch.pl issue

2016-01-29 Thread SirnamSwetha
This patch fixes the checkpatch issue. CHECK: Please don't use multiple blank lines Signed-off-by: SirnamSwetha --- drivers/staging/board/armadillo800eva.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/board/armadillo800eva.c b/drivers/staging/board/armadillo800eva.c index

[PATCH 4/4] dmi/ipmi: Add IPMI DMI devices as platform devices

2016-01-29 Thread minyard
From: Corey Minyard Have DMI create a platform device for every IPMI device it finds. This requires some modification of the IPMI driver to find the IPMI devices as platform devices. Signed-off-by: Corey Minyard Cc: Jean Delvare Cc: Andy Lutomirski --- drivers/char/ipmi/ipmi_si_intf.c | 42

[PATCH 1/4] dmi: remove const from return of dmi_find_device

2016-01-29 Thread minyard
From: Corey Minyard A fwnode_handle is being added to dmi_device, and that will need to be updated. So remove the const. Signed-off-by: Corey Minyard Cc: Jean Delvare Cc: Andy Lutomirski --- drivers/firmware/dmi_scan.c | 11 +-- include/linux/dmi.h | 10 +- 2 files c

[PATCH 0/4] dmi: Rework to get IPMI autoloading from DMI tables

2016-01-29 Thread minyard
The IPMI driver would not auto-load from DMI tables. So these patches creates a platform device from an IPMI DMI table entry, and then modify the IPMI driver to handle all this. I followed how ACPI works mostly, with a fwnode and such. But greatly simplified, of course :). I'm no sure if patch

[PATCH 2/4] dmi: Add a DMI firmware node and handling

2016-01-29 Thread minyard
From: Corey Minyard This is so that an IPMI platform device can be created from a DMI firmware entry. Signed-off-by: Corey Minyard Cc: Jean Delvare Cc: Andy Lutomirski --- drivers/firmware/dmi_scan.c | 34 -- include/linux/dmi.h | 24 ++

[PATCH 3/4] dmi: Move IPMI DMI scanning to the DMI code

2016-01-29 Thread minyard
From: Corey Minyard It makes more sense to be there, and it's cleaner with the upcoming conversion of IPMI DMI to a platform device. Signed-off-by: Corey Minyard Cc: Jean Delvare Cc: Andy Lutomirski --- drivers/char/ipmi/ipmi_si_intf.c | 119 +++ drivers/c

Staging: board: Blank lines aren't necessary before a close brace

2016-01-29 Thread SirnamSwetha
Fix checkpatch.pl issue CHECK: Blank lines aren't necessary before a close brace Signed-off-by: SirnamSwetha --- drivers/staging/board/board.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/board/board.c b/drivers/staging/board/board.c index 3eb5eb8..14427e8 100644 --- a/dr

[PATCHv2 3/3] arm64: ptdump: Indicate whether memory should be faulting

2016-01-29 Thread Laura Abbott
With CONFIG_DEBUG_PAGEALLOC, pages do not have the valid bit set when free in the buddy allocator. Add an indiciation to the page table dumping code that the valid bit is not set, 'F' for fault, to make this easier to understand. Signed-off-by: Laura Abbott --- arch/arm64/mm/dump.c | 5 + 1

Re: [PATCH] of: resolver: Add missing of_node_put

2016-01-29 Thread Frank Rowand
On 1/29/2016 9:33 AM, Pantelis Antoniou wrote: > Hi Rob, > >> On Jan 29, 2016, at 18:45 , Rob Herring wrote: >> >> On Wed, Jan 27, 2016 at 06:14:00PM +0200, Pantelis Antoniou wrote: >>> Hi Mark, >>> On Jan 27, 2016, at 18:05 , Mark Rutland wrote: On Wed, Jan 27, 2016 at 08:50:17PM

[PATCHv2 1/3] arm64: Drop alloc function from create_mapping

2016-01-29 Thread Laura Abbott
create_mapping is only used in fixmap_remap_fdt. All the create_mapping calls need to happen on existing translation table pages without additional allocations. Rather than have an alloc function be called and fail, just set it to NULL and catch it's use. Also change the name to create_mapping_noa

[PATCHv2 2/3] arm64: Add support for ARCH_SUPPORTS_DEBUG_PAGEALLOC

2016-01-29 Thread Laura Abbott
ARCH_SUPPORTS_DEBUG_PAGEALLOC provides a hook to map and unmap pages for debugging purposes. This requires memory be mapped with PAGE_SIZE mappings since breaking down larger mappings at runtime will lead to TLB conflicts. Check if debug_pagealloc is enabled at runtime and if so, map everyting wit

[PATCH v2 2/3] input: touchscreen: ad7879: fix default x/y axis assignment

2016-01-29 Thread Stefan Agner
The X/Y position measurements read from the controller are interpreted wrong. The first measurement X+ contains the Y position, and the second measurement Y+ the X position (see also Table 11 Register Table in the data sheet). The problem is already known and a swap option has been introduced: com

[PATCHv2 0/3] ARCH_SUPPORTS_DEBUG_PAGEALLOC for arm64

2016-01-29 Thread Laura Abbott
Hi, This is v2 of the series to add proper debug pagealloc support for arm64. Changes since v1: - Dropped the config for forcing pages and changed it to runtime detection. This now matches better with how x86 and other arches are being updated. That patch is now dropped completely and folded

[PATCH v2 3/3] input: touchscreen: ad7879: add device tree support

2016-01-29 Thread Stefan Agner
Add device tree support for the I2C and SPI variant of AD7879(-1). This allows to specify the touchscreen controller as a I2C client node or SPI slave device. Most of the options available in platform data are also available as device tree properties, the only exception being GPIO capabilities, whi

[PATCH v2 1/3] input: touchscreen: ad7879: move header to platform_data directory

2016-01-29 Thread Stefan Agner
The header file is used by the SPI and I2C variant of the driver. Therefore, move it to a more generic place under platform_data. Signed-off-by: Stefan Agner --- Changes since v1: - Move to include/linux/platform_data/ arch/blackfin/mach-bf527/boards/ezbrd.c| 2 +- arch/blackfin/mach-bf527

Re: [PATCH v5 04/14] clk: clk-pic32: Add PIC32 clock driver

2016-01-29 Thread Stephen Boyd
On 01/13, Joshua Henderson wrote: > diff --git a/drivers/clk/clk-pic32.c b/drivers/clk/clk-pic32.c > new file mode 100644 > index 000..9dc5f78 > --- /dev/null > +++ b/drivers/clk/clk-pic32.c > @@ -0,0 +1,1801 @@ > +/* > + * Purna Chandra Mandal, > + * Copyright (C) 2015 Microchip Technology Inc

Re: [PATCH 2/4] dmi: Add a DMI firmware node and handling

2016-01-29 Thread kbuild test robot
Hi Corey, [auto build test ERROR on char-misc/char-misc-testing] [also build test ERROR on v4.5-rc1 next-20160129] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/minyard-acm-org/dmi-Rework-to

Re: [PATCH 00/13] dtb: amd: Miscelleneous Updates for AMD Seattle DTS

2016-01-29 Thread Suravee Suthikulanit
On 1/28/2016 8:43 PM, Olof Johansson wrote: On Thu, Jan 28, 2016 at 2:20 PM, Suravee Suthikulanit wrote: Hi Olof, On 1/28/2016 3:39 PM, Olof Johansson wrote: Hi Suravee, On Wed, Jan 27, 2016 at 1:11 PM, Suravee Suthikulpanit wrote: From: Suravee Suthikulpanit This patch series contains

Re: livepatch: Implement separate coming and going module notifiers

2016-01-29 Thread Steven Rostedt
On Fri, 29 Jan 2016 17:58:29 -0500 Jessica Yu wrote: > diff --git a/kernel/module.c b/kernel/module.c > index 8358f46..eccd289 100644 > --- a/kernel/module.c > +++ b/kernel/module.c > @@ -979,8 +979,12 @@ SYSCALL_DEFINE2(delete_module, const char __user *, > name_user, > /* Final destructi

[PATCH] ARM: dts: vf610: Add alias for ethernet controller

2016-01-29 Thread Stefan Agner
Add alias for FEC ethernet on Vybrid to allow bootloaders (like U-Boot) patch-in the MAC address using this alias. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vfxxx.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi index

Re: [PATCH 2/2] dax: fix bdev NULL pointer dereferences

2016-01-29 Thread Dan Williams
On Fri, Jan 29, 2016 at 3:34 PM, Ross Zwisler wrote: > On Fri, Jan 29, 2016 at 11:28:15AM -0700, Ross Zwisler wrote: >> On Thu, Jan 28, 2016 at 01:38:58PM -0800, Christoph Hellwig wrote: >> > On Thu, Jan 28, 2016 at 12:35:04PM -0700, Ross Zwisler wrote: >> > > There are a number of places in dax.c

[PATCH] tpm: fix rollback when adding char dev fails

2016-01-29 Thread Jarkko Sakkinen
Fixed rollback and gave better names to the functions (more self-documenting, less confusing). Fixes: d972b0523f ("tpm: fix call order in tpm-chip.c") Signed-off-by: Jarkko Sakkinen cc: sta...@vger.kernel.org --- drivers/char/tpm/tpm-chip.c | 10 +- 1 file changed, 5 insertions(+), 5 del

Re: [PATCH v2] clk: Move vendor's Kconfig into CCF menu section

2016-01-29 Thread Stephen Boyd
On 01/28, James Liao wrote: > Move all vendor's Kconfig into CCF menu section to prevent > new drivers putting their Kconfig files in a wrong place. > > Some Kconigs need to modify at the same time to avoid build > warnings. > > Signed-off-by: James Liao > --- Applied to clk-next -- Qualcomm

Re: [PATCH] clk: rockchip: fix wrong mmc phase shift for rk3228

2016-01-29 Thread Stephen Boyd
On 01/26, Shawn Lin wrote: > mmc sample shift is 0 for rk3228 refer to user manaul. > So it's broken if we enable mmc tuning for rk3228. > > Fixes: 307a2e9ac ("clk: rockchip: add clock controller for rk3228") > Cc: Xing Zheng > Cc: Jeffy Chen > Signed-off-by: Shawn Lin > --- Acked-by: Stephen

Re: [PATCH RESEND v2 2/4] clk: iproc: Add support for Cygnus audio clocks

2016-01-29 Thread Stephen Boyd
On 01/26, Ray Jui wrote: > From: Simran Rai > > This patch adds support for Broadcom Cygnus audio PLL and leaf > clocks > > Signed-off-by: Simran Rai > Reviewed-by: Scott Branden > Signed-off-by: Ray Jui > --- Applied to clk-iproc -- Qualcomm Innovation Center, Inc. is a member of Code Aur

Re: [PATCH RESEND v2 3/4] clk: iproc: Remove __init from header

2016-01-29 Thread Stephen Boyd
On 01/26, Ray Jui wrote: > Remove __init macro from all function prototypes in clk-iproc.h > > Signed-off-by: Ray Jui > --- Applied to clk-iproc -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH RESEND v2 1/4] Documentation: dt-bindings: Add DT bindings for Cygnus audio clock

2016-01-29 Thread Stephen Boyd
On 01/26, Ray Jui wrote: > From: Simran Rai > > This patch adds audio clock device tree binding documentation to an > existing Cygnus clock DT bindings document. > > Signed-off-by: Simran Rai > Reviewed-by: Ray Jui > Reviewed-by: Lori Hikichi > Reviewed-by: Scott Branden > --- Applied to cl

Re: [RFC PATCH 11/19] cpufreq: assert policy->rwsem is held in __cpufreq_governor

2016-01-29 Thread Saravana Kannan
On 01/12/2016 02:20 AM, Viresh Kumar wrote: On 11-01-16, 17:35, Juri Lelli wrote: __cpufreq_governor works on policy, so policy->rwsem has to be held. Add assertion for such condition. Cc: "Rafael J. Wysocki" Cc: Viresh Kumar Signed-off-by: Juri Lelli --- drivers/cpufreq/cpufreq.c | 3 +++

[PATCH v2] block: use DAX for partition table reads

2016-01-29 Thread Dan Williams
Avoid populating pagecache when the block device is in DAX mode. Otherwise these page cache entries collide with the fsync/msync implementation and break data durability guarantees. Cc: Jan Kara Cc: Jeff Moyer Cc: Christoph Hellwig Cc: Dave Chinner Cc: Andrew Morton Reported-by: Ross Zwisler

Re: [PATCH v3 2/4] clk: s2mps11: allocate only one structure for clock init

2016-01-29 Thread Stephen Boyd
On 01/20, Andi Shyti wrote: > The driver allocates three structures, s2mpsxx_clk_init, for > three different clock types (s2mps11, s2mps13 and s2mps14). They > are quite similar but they differ only by the name. Only one of > these structures is used, while the others lie unused in the > memory. >

Re: [PATCH v3 3/4] clk: s2mps11: remove redundant static variables declaration

2016-01-29 Thread Stephen Boyd
On 01/20, Andi Shyti wrote: > The clk_table and clk_data are declared static. The clk_table > contains the three clock data stractures belonging to the s2mps11 > driver. In the probe function it gets stored into clk_data. > > Remove clk_table and refer directly to clk_data. > > clk_data, itself,

Re: [PATCH v3 4/4] clk: s2mps11: remove redundant code

2016-01-29 Thread Stephen Boyd
On 01/20, Andi Shyti wrote: > The definition of s2mps11_name is meant to resolve the name of a > given clock. Remove it because the clocks have the same name we > can get it directly from the s2mps11_clks_init structure. > > While in the probe function the s2mps11_clks is used only to > iterate th

Re: [PATCH v3 1/4] clk: s2mps11: merge two for loops in one

2016-01-29 Thread Stephen Boyd
On 01/20, Andi Shyti wrote: > the driver already loops once, there is no reason to loop again > for a different purpose. Merge the second loop into the first. > > Signed-off-by: Andi Shyti > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux F

Re: [PATCH v8 3/3] x86, mce: Add __mcsafe_copy()

2016-01-29 Thread Tony Luck
On Wed, Jan 13, 2016 at 8:39 PM, Borislav Petkov wrote: > On Wed, Jan 13, 2016 at 03:22:58PM -0800, Tony Luck wrote: >> Are there some examples of synthetic CPUID bits? > > X86_FEATURE_ALWAYS is one. The others got renamed into X86_BUG_* ones, > the remaining mechanism is the same, though. So som

Re: [PATCH v2] clk:gcc-msm8916: add missing mss_q6_bimc_axi clock

2016-01-29 Thread Stephen Boyd
On 01/04, Srinivas Kandagatla wrote: > This clock is required for loading the qdsp firmware. > > Signed-off-by: Srinivas Kandagatla > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

CONFIG_UBSAN_ALIGNMENT breaks x86-64 kernel with lockdep enabled

2016-01-29 Thread Mike Krinkin
Hi, option CONFIG_UBSAN_ALIGNMENT breaks x86-64 kernel with lockdep enabled, i. e kernel with CONFIG_UBSAN_ALIGNMENT fails to load without even any error message. The problem is that ubsan callbacks use spinlocks and might be called before lockdep is initialized. Particularly this line in the res

Re: [PATCH RESEND v2 4/4] ARM: dts: enable audio clock support for Cygnus

2016-01-29 Thread Ray Jui
Hi Florian, With Stephen merging the first 3 patches into the clk tree, could you please take this DT patch now? Thanks, Ray On 1/26/2016 5:18 PM, Ray Jui wrote: From: Simran Rai Add audio clock to the existing Broadcom Cygnus clock DT Signed-off-by: Simran Rai Reviewed-by: Ray Jui Rev

Re: [PATCH 2/4] dmi: Add a DMI firmware node and handling

2016-01-29 Thread kbuild test robot
Hi Corey, [auto build test WARNING on char-misc/char-misc-testing] [also build test WARNING on v4.5-rc1 next-20160129] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/minyard-acm-org/dmi

Re: [PATCH 2/2] clk: add clk_unregister_fixed_rate()

2016-01-29 Thread Stephen Boyd
On 01/06, Masahiro Yamada wrote: > Allow to unregister fixed rate clock. > > Signed-off-by: Masahiro Yamada > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH 1/2] clk: add clk_unregister_fixed_factor()

2016-01-29 Thread Stephen Boyd
On 01/06, Masahiro Yamada wrote: > Allow to unregister fixed factor clock. > > Signed-off-by: Masahiro Yamada > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH v2 14/38] clk: vt8500: fix sign of possible PLL values

2016-01-29 Thread Stephen Boyd
On 10/02, Andrzej Hajda wrote: > With unsigned values underflow in loops can occur resulting in > theoretically infinite loops. > > The problem has been detected using proposed semantic patch > scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. > > [1]: http://permalink.gmane.org/gmane

Re: [PATCH] clk: optimize the divider walk in clk_divider_bestdiv()

2016-01-29 Thread Stephen Boyd
On 01/05, Masahiro Yamada wrote: > Because _next_div() returns a valid divider, there is no need to > consult _is_valid_div() for the validity of the divider in every > iteration. > > Signed-off-by: Masahiro Yamada > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Co

[PATCH 2/3] f2fs: flush bios to handle cp_error in put_super

2016-01-29 Thread Jaegeuk Kim
Sometimes, if cp_error is set, there remains under-writeback pages, resulting in kernel hang in put_super. Signed-off-by: Jaegeuk Kim --- fs/f2fs/super.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 9962021..aa2d3d9 100644 --- a/fs/f2fs/super

[PATCH 3/3] f2fs: fix conflict on page->private usage

2016-01-29 Thread Jaegeuk Kim
This patch fixes confilct on page->private value between f2fs_trace_pid and atomic page. Signed-off-by: Jaegeuk Kim --- fs/f2fs/segment.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/segment.h b/fs/f2fs/segment.h index ee44d34..cd7111b 100644 --- a/fs/f2fs/segment.

[PATCH 1/3] f2fs: wait on page's writeback in writepages path

2016-01-29 Thread Jaegeuk Kim
Likewise f2fs_write_cache_pages, let's do for node and meta pages too. Especially, for node blocks, we should do this before marking its fsync and dentry flags. Signed-off-by: Jaegeuk Kim --- fs/f2fs/checkpoint.c | 4 +++- fs/f2fs/node.c | 5 +++-- 2 files changed, 6 insertions(+), 3 delet

<    2   3   4   5   6   7   8   >