Re: [PATCH 2/3] PCI: Use device_match_always()

2016-06-10 Thread Bjorn Helgaas
On Mon, Jun 06, 2016 at 09:32:37AM +0200, Thierry Reding wrote: > From: Thierry Reding > > There is now a common implementation for a match function that will > always match, so the PCI-specific implementation can be removed. > > Signed-off-by: Thierry Reding Acked-by: Bjorn Helgaas I'm sort

Re: Using irq-crossbar.c

2016-06-10 Thread Lennart Sorensen
On Fri, Jun 10, 2016 at 05:37:30PM +0200, Sebastian Frias wrote: > We are trying to write a driver for an interrupt controller (actually more of > a crossbar) for an ARM-based SoC. > This IRQ crossbar has 128 inputs and 24 outputs, the outputs are connected > directly to the GIC. > The idea is th

[PATCH RFC] slub: reap free slabs periodically

2016-06-10 Thread Vladimir Davydov
SLUB stores a small number of free objects/slabs in per cpu/node caches to reduce contention on per node locks. The amount of memory wasted by this is limited by cpu_partial/min_partial tunables and is usually not more than one-two slabs per cpu per cache. Assuming a slab's average size being 4 pag

Re: Nokia N900: musb is in wrong state after boot

2016-06-10 Thread joerg Reisenweber
On Fri 10 June 2016 10:59:40 Bin Liu wrote: > The musb ug says the testmde is not used in normal operation, so my > opinion is force_host should not be used for hacking n900 host mode if > this is for real product development or support. You're aware N900 OS aka maemo is a) FOSS, and b) EOL at lea

Re: [PATCH 3/3] firmware: scpi: add device power domain support using genpd

2016-06-10 Thread Sudeep Holla
Hi, On 06/06/16 16:53, Sudeep Holla wrote: This patch hooks up the support for device power domain provided by SCPI using the Linux generic power domain infrastructure. Cc: "Rafael J. Wysocki" Cc: Kevin Hilman Cc: Ulf Hansson Cc: linux...@vger.kernel.org Signed-off-by: Sudeep Holla --- dr

Re: [PATCH][RT] netpoll: Always take poll_lock when doing polling

2016-06-10 Thread Sebastian Andrzej Siewior
On 06/10/2016 06:11 PM, Steven Rostedt wrote: >> It is true that in RT we don't have such a limit like in !RT. You would >> need to use __raise_softirq_irqoff_ksoft() instead the normal or + >> wakeup() since you may have timers pending and those need to go to the >> "other" ksoftirqd. >> But then

[PATCH] cris: v10: axisflashmap: remove unused ifdefs

2016-06-10 Thread Niklas Cassel
From: Niklas Cassel The Kconfig CONFIG_ETRAX_AXISFLASHMAP_MTD0WHOLE does not exist for crisv10, so remove it. Signed-off-by: Niklas Cassel --- arch/cris/arch-v10/drivers/axisflashmap.c | 19 --- 1 file changed, 19 deletions(-) diff --git a/arch/cris/arch-v10/drivers/axisflashm

Re: [PATCH] base: make module_create_drivers_dir race-free

2016-06-10 Thread Greg KH
On Fri, Jun 10, 2016 at 10:54:32AM +0200, Jiri Slaby wrote: > Modules which register drivers via standard path (driver_register) in > parallel can cause a warning: > WARNING: CPU: 2 PID: 3492 at ../fs/sysfs/dir.c:31 sysfs_warn_dup+0x62/0x80 > sysfs: cannot create duplicate filename '/module/saa7146

Re: [RFC PATCH v2 12/15] drivers: acpi: implement acpi_dma_configure

2016-06-10 Thread Bjorn Helgaas
On Tue, Jun 07, 2016 at 02:31:07PM +0100, Lorenzo Pieralisi wrote: > On DT based systems, the of_dma_configure() API implements DMA configuration > for a given device. On ACPI systems an API equivalent to of_dma_configure() > is missing which implies that it is currently not possible to set-up DMA

RE: [PATCH v2 2/3] mwifiex: move .get_tx_power logic to station ioctl file

2016-06-10 Thread Amitkumar Karwar
Hi Kalle/Javier, > From: Javier Martinez Canillas [mailto:jav...@osg.samsung.com] > Sent: Friday, June 10, 2016 8:07 PM > To: Kalle Valo > Cc: linux-kernel@vger.kernel.org; Julian Calaby; Shengzhen Li; Enric > Balletbo i Serra; Amitkumar Karwar; net...@vger.kernel.org; linux- > wirel...@vger.kerne

[PATCH] backlight: lp855x: Add enable regulator

2016-06-10 Thread Brian Norris
The LP8556 datasheet describes an EN/VDDIO input, which serves "both as a chip enable and as a power supply reference for PWM, SDA, and SCL inputs." The LP8556 that I'm testing doesn't respond properly if I try to talk I2C to it too quickly after enabling VDDIO, and the LP8555 datasheet mentions a

Re: [PATCH V2 1/1] iio: light: Added CM36672 Proximity Sensor Driver.

2016-06-10 Thread Rob Herring
On Thu, Jun 09, 2016 at 02:00:45AM -0700, Kevin Tsai wrote: > Added Vishay Capella CM36672 Proximity Sensor IIO driver. Support both > ACPI and Device Tree. > > Signed-off-by: Kevin Tsai > --- > V2: > Thanks commends from Peter Meerwald-Stadler, Jonathan Cameron, and Linux > Walleij. Updated fo

Re: [PATCH][RT] netpoll: Always take poll_lock when doing polling

2016-06-10 Thread Eric Dumazet
On Fri, 2016-06-10 at 17:30 +0200, Sebastian Andrzej Siewior wrote: > * Steven Rostedt | 2016-05-26 19:56:41 [-0400]: > > >For example: > > > > > > > > napi_schedule_prep() > >test_and_set_bit(NAPI_STATE_SCHED, &n->state) > > > > > > > > sk_busy_loop() > > > > do { > >

Re: [PATCH v2 01/13] pwm: Add new helpers to create/manipulate PWM states

2016-06-10 Thread Boris Brezillon
Hi Thierry, On Fri, 10 Jun 2016 17:21:09 +0200 Thierry Reding wrote: > On Wed, Jun 08, 2016 at 06:34:36PM +0200, Boris Brezillon wrote: > > The pwm_prepare_new_state() helper prepares a new state object > > containing the current PWM state except for the polarity and period > > fields which are

Re: [PATCH v4 37/44] s390: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Gerald Schaefer
On Fri, 10 Jun 2016 12:11:54 +0200 Krzysztof Kozlowski wrote: > Split out subsystem specific changes for easier reviews. This will be > squashed with main commit. > > Signed-off-by: Krzysztof Kozlowski > --- > arch/s390/include/asm/dma-mapping.h | 1 - > arch/s390/pci/pci_dma.c |

[ANNOUNCE] 4.6.2-rt5

2016-06-10 Thread Sebastian Andrzej Siewior
Dear RT folks! I'm pleased to announce the v4.6.2-rt5 patch set. Changes since v4.6.2-rt4: - "Schedule while atomic" fixup in cgroup / memcontrol. Patch by Mike Galbraith. - Rename of "work-simple" to "swork" to align with "swait". Patch by Mike Galbraith. Known issues - C

Re: [PATCH 2/3] PCI: Use device_match_always()

2016-06-10 Thread Thierry Reding
On Fri, Jun 10, 2016 at 11:13:43AM -0500, Bjorn Helgaas wrote: > On Mon, Jun 06, 2016 at 09:32:37AM +0200, Thierry Reding wrote: > > From: Thierry Reding > > > > There is now a common implementation for a match function that will > > always match, so the PCI-specific implementation can be removed

Re: [PATCH 2/3] staging: lustre: lnet: Allocate MEs and small MDs in own kmem_caches

2016-06-10 Thread Greg Kroah-Hartman
A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Fri, Jun 10, 2016 at 03:25:28PM +, Faccini, Bruno wrote: > Hello, > The intent of this patch is not to solve the corruptions for sure, but > only to avoid the concerned MEs/small-MDs LNet struct

[PATCH v2 1/2] mfd: ti-smusbdig: Add support for the TI SM-USB-DIG

2016-06-10 Thread Andrew F. Davis
The TI SM-USB-DIG is a USB to SPI/I2C/1Wire/GPIO adapter. Add MFD core support. Signed-off-by: Andrew F. Davis --- drivers/mfd/Kconfig | 8 +++ drivers/mfd/Makefile| 2 + drivers/mfd/ti-smusbdig.c | 138 include/linux/mfd

[PATCH v2 2/2] i2c: ti-smusbdig: add TI SM-USB-DIG I2C bus driver

2016-06-10 Thread Andrew F. Davis
Add support for the I2C bus functionality of the TI SM-USB-DIG. Signed-off-by: Andrew F. Davis --- drivers/i2c/busses/Kconfig | 10 ++ drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-ti-smusbdig.c | 189 +++ 3 files changed, 200 ins

[GIT PULL] hwmon fixes for v4.7-rc3

2016-06-10 Thread Guenter Roeck
Hi Linus, Please pull hwmon fixes for Linux v4.7-rc3 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-for-linus-v4.7-rc3 Thanks, Guenter -- The following changes since commit af8c34ce6ae32addda3788d54a7e340cad22516b: Linux 4.7-rc2 (2016-0

Re: [PATCH 02/27] mm, vmscan: Move lru_lock to the node

2016-06-10 Thread Vlastimil Babka
On 06/09/2016 08:04 PM, Mel Gorman wrote: > Node-based reclaim requires node-based LRUs and locking. This is a > preparation patch that just moves the lru_lock to the node so later patches > are easier to review. It is a mechanical change but note this patch makes > contention worse because the LRU

Re: [PATCH v2 5/6] dt-bindings: add Sharp LQ123P1JX31 panel binding

2016-06-10 Thread Doug Anderson
Rob, On Fri, Jun 10, 2016 at 6:42 AM, Rob Herring wrote: > On Wed, Jun 08, 2016 at 07:52:45PM +0800, Yakir Yang wrote: >> The Sharp LQ123P1JX31 is an 12.3" 2400x1600 TFT-LCD panel >> connected using eDP interfaces. >> >> Signed-off-by: Yakir Yang >> --- >> Changes in v2: >> - Add dt-bindings of

Re: [PATCH v3 08/20] pwm: Add PWM Capture support

2016-06-10 Thread Thierry Reding
On Fri, Jun 10, 2016 at 03:38:54PM +0100, Lee Jones wrote: > On Fri, 10 Jun 2016, Thierry Reding wrote: > > > On Wed, Jun 08, 2016 at 10:21:23AM +0100, Lee Jones wrote: > > > Supply a PWM Capture call-back Op in order to pass back > > > information obtained by running analysis on PWM a signal. > >

Re: [PATCH v2 06/20] drm: i915: Rely on the default ->best_encoder() behavior where appropriate

2016-06-10 Thread Daniel Vetter
On Fri, Jun 10, 2016 at 05:24:12PM +0200, Daniel Vetter wrote: > On Tue, Jun 07, 2016 at 01:48:01PM +0200, Boris Brezillon wrote: > > For all outputs except dp_mst, we have a 1:1 relationship between > > connectors and encoders and the driver is relying on the atomic helpers: > > we can drop the cu

Re: [PATCH V3 1/3] x86/ioapic: Support hot-removal of IOAPICs present during boot

2016-06-10 Thread Bjorn Helgaas
On Wed, Jun 08, 2016 at 05:32:44PM +0800, Rui Wang wrote: > v3: Previous versions break mips. This version fixes it. > > IOAPICs present during system boot aren't added to ioapic_list, > thus are unable to be hot-removed. Fix it by calling > acpi_ioapic_add() during root bus enumeration. > > Sign

Re: [PATCH v5 1/1] hwmon: Add support for INA3221 Triple Current/Voltage Monitors

2016-06-10 Thread Guenter Roeck
On Fri, Jun 10, 2016 at 10:32:33AM -0500, Andrew F. Davis wrote: > Add support for the the INA3221 26v capable, Triple channel, > Bi-Directional, Zero-Drift, Low-/High-Side, Current/Voltage Monitor > with I2C interface. > > Signed-off-by: Andrew F. Davis Applied to -next. Can you by any chance

Re: [PATCH][RT] netpoll: Always take poll_lock when doing polling

2016-06-10 Thread Steven Rostedt
On Fri, 10 Jun 2016 18:20:22 +0200 Sebastian Andrzej Siewior wrote: > > We actually triggered a starvation due to this. I was just seeing if > > Alison hit the same issue we did in our tests. > > Okay. Didn't get this information from him. But this is only because > the softirqs not running in

Re: [PATCH 1/4] of: Add device tree bindings for Evatronix

2016-06-10 Thread Ricard Wanderlof
On Fri, 10 Jun 2016, Boris Brezillon wrote: > > The use cases as I see are as follows: > > > > a) Two identical chips sharing all but the CS lines, in order to implement > > a seemingly-larger address space. (e.g. two 256 Mbit chips implementing a > > 4 GB area). In this case, for certain oper

Re: [PATCH v2 01/13] pwm: Add new helpers to create/manipulate PWM states

2016-06-10 Thread Thierry Reding
On Fri, Jun 10, 2016 at 06:29:42PM +0200, Boris Brezillon wrote: > On Fri, 10 Jun 2016 17:21:09 +0200, Thierry Reding > wrote: > > On Wed, Jun 08, 2016 at 06:34:36PM +0200, Boris Brezillon wrote: [...] > > > + * according to your need before calling pwm_apply_state(). > > > > Maybe mention tha

Re: NFS/d_splice_alias breakage

2016-06-10 Thread Oleg Drokin
On Jun 9, 2016, at 9:33 PM, Oleg Drokin wrote: > > On Jun 6, 2016, at 7:36 PM, Oleg Drokin wrote: > >> Well, I have some bad news. >> >> This patch does not fix the issue 100% of the time apparently, I just hit it >> again. > > Ok, so now finally a piece of good news. > Whatever was causing

Re: [PATCH V8 5/9] pci, acpi: add acpi hook to assign domain number.

2016-06-10 Thread Tomasz Nowicki
On 10.06.2016 17:49, Lorenzo Pieralisi wrote: On Fri, Jun 10, 2016 at 04:14:58PM +0100, Lorenzo Pieralisi wrote: Hi Bjorn, Tomasz, On Tue, Jun 07, 2016 at 07:15:59PM -0500, Bjorn Helgaas wrote: [...] diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index eb431b5..2b52178 100644 --- a/drive

Re: [PATCH v3 2/2] arm64: dts: Fix broken architected timer interrupt trigger

2016-06-10 Thread David Daney
On 06/10/2016 12:23 AM, Marc Zyngier wrote: On Thu, 09 Jun 2016 14:06:02 -0700 David Daney wrote: I spoke too soon... On 06/09/2016 11:11 AM, David Daney wrote: On 06/06/2016 10:56 AM, Marc Zyngier wrote: The ARM architected timer specification mandates that the interrupt associated with ea

[PATCH 1/2] dt-bindings: add Sharp LQ123P1JX31 panel binding

2016-06-10 Thread Douglas Anderson
The Starry KR122EA0SRA is a 12.2", 1920x1200 TFT-LCD panel connected using eDP interfaces. Signed-off-by: Douglas Anderson --- .../devicetree/bindings/display/panel/starry,kr122ea0sra.txt | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 Documentation/devicetree/bindings/di

[PATCH 2/2] drm/panel: simple: Add support for Starry KR122EA0SRA 1920x1200 panel

2016-06-10 Thread Douglas Anderson
The Starry KR122EA0SRA is a 12.2", 1920x1200 TFT-LCD panel connected using eDP interfaces. EDID shows: Detailed mode: Clock 147.000 MHz, 263 mm x 164 mm 1920 1936 1952 1984 hborder 0 1200 1215 1217 1235 vborder 0 -hsync -vsync Manufacturer-spe

Re: [PATCH 3/4] mtd: nand: Add support for Evatronix NANDFLASH-CTRL

2016-06-10 Thread Ricard Wanderlof
On Fri, 10 Jun 2016, Boris Brezillon wrote: > > Something that I am mildly miffed about is that I've posted this driver > > twice before on the mtd list (although, admittedly, not directly addressed > > to any maintainer), first as an RFC and later as a complete patch, without > > a single res

Re: [PATCH v3 2/2] arm64: dts: Fix broken architected timer interrupt trigger

2016-06-10 Thread Marc Zyngier
On 10/06/16 17:50, David Daney wrote: > On 06/10/2016 12:23 AM, Marc Zyngier wrote: >> On Thu, 09 Jun 2016 14:06:02 -0700 >> David Daney wrote: >> >>> I spoke too soon... >>> >>> On 06/09/2016 11:11 AM, David Daney wrote: On 06/06/2016 10:56 AM, Marc Zyngier wrote: > The ARM architected t

Re: [PATCH v3 2/3] drm/arm: Add support for Mali Display Processors

2016-06-10 Thread Liviu Dudau
On Fri, Jun 10, 2016 at 04:33:13PM +0200, Daniel Vetter wrote: > On Fri, Jun 10, 2016 at 09:52:59AM +0100, Liviu Dudau wrote: > > On Thu, Jun 09, 2016 at 08:56:29PM +0200, Daniel Vetter wrote: > > I'm seeing ->disable being called at HPD event time, which is soon after > > ->probe. > > > > > This

Re: [PATCH 1/2] dt-bindings: add Sharp LQ123P1JX31 panel binding

2016-06-10 Thread Doug Anderson
Hi, On Fri, Jun 10, 2016 at 9:50 AM, Douglas Anderson wrote: > The Starry KR122EA0SRA is a 12.2", 1920x1200 TFT-LCD panel connected > using eDP interfaces. > > Signed-off-by: Douglas Anderson > --- > .../devicetree/bindings/display/panel/starry,kr122ea0sra.txt | 7 > +++ > 1 file cha

Re: linux-next: manual merge of the device-mapper tree with the block tree

2016-06-10 Thread Mike Snitzer
On Thu, Jun 09 2016 at 12:02am -0400, Stephen Rothwell wrote: > Hi all, > > On Thu, 9 Jun 2016 13:59:32 +1000 Stephen Rothwell > wrote: > > > > 50d14ab0130a ("dm: move request-based code out to dm-rq.[hc]") > > By the way, resolving these conflicts would have been easier if this > commit ha

[PATCH v2 2/2] drm/panel: simple: Add support for Starry KR122EA0SRA 1920x1200 panel

2016-06-10 Thread Douglas Anderson
The Starry KR122EA0SRA is a 12.2", 1920x1200 TFT-LCD panel connected using eDP interfaces. EDID shows: Detailed mode: Clock 147.000 MHz, 263 mm x 164 mm 1920 1936 1952 1984 hborder 0 1200 1215 1217 1235 vborder 0 -hsync -vsync Manufacturer-spe

Re: [PATCH v2] mmc: Set pref erase size based on size.

2016-06-10 Thread Grant Grundler
On Thu, Jun 2, 2016 at 5:27 PM, Gwendal Grignou wrote: > If available, eMMC stack uses HC_ERASE_GRP_SIZE as preferred erase size. > However, that size is the minimal size we must use, not the optimal size. > Calculate the optimal size based on whole device size and fall back to > HC_ERASE_GRP_SIZE

Re: [PATCH 1/4] of: Add device tree bindings for Evatronix

2016-06-10 Thread Boris Brezillon
On Fri, 10 Jun 2016 18:46:24 +0200 Ricard Wanderlof wrote: > On Fri, 10 Jun 2016, Boris Brezillon wrote: > > > > The use cases as I see are as follows: > > > > > > a) Two identical chips sharing all but the CS lines, in order to > > > implement > > > a seemingly-larger address space. (e.g. tw

Re: Nokia N900: musb is in wrong state after boot

2016-06-10 Thread Nishanth Menon
On 06/10/2016 11:15 AM, joerg Reisenweber wrote: Sorry for butting in... > On Fri 10 June 2016 10:59:40 Bin Liu wrote: >> The musb ug says the testmde is not used in normal operation, so my >> opinion is force_host should not be used for hacking n900 host mode if >> this is for real product devel

[PATCH] autofs4: Fix endless loop in autofs4_write

2016-06-10 Thread Laurent Dufour
The 'commit e9a7c2f1a548 ("autofs4: coding style fixes")' removed the check done on the __vfs_write()'s returned value in autofs4_write(). This may lead to a spinning process which can't catch any signal. Call stack showed in xmon could be : [c003a76c7500] c030df74 __vfs_write+0x134/0x

Re: rst2pdf (was [PATCH 00/10] Documentation/Sphinx)

2016-06-10 Thread Markus Heiser
Am 07.06.2016 um 08:44 schrieb Jani Nikula : > On Tue, 07 Jun 2016, Markus Heiser wrote: >> I looked closer to rst2pdf, it supports only the docutils reST, but >> not the sphinx superset ... >> >> - >> $ rst2pdf index.rst >> index.rst:15: (ERROR/3) Unknown interpreted text role "

Re: [PATCH] arm64: cpuinfo: Expose MIDR_EL1 and REVIDR_EL1 to sysfs

2016-06-10 Thread Will Deacon
On Fri, Jun 10, 2016 at 04:19:44PM +0100, Suzuki K Poulose wrote: > From: Steve Capper > > It can be useful for JIT software to be aware of MIDR_EL1 and > REVIDR_EL1 to ascertain the presence of any core errata that could > affect codegen. > > This patch exposes these registers through sysfs: >

Re: [PATCH v5 1/2] mm, kasan: improve double-free detection

2016-06-10 Thread Dmitry Vyukov
On Fri, Jun 10, 2016 at 7:03 PM, Andrey Ryabinin wrote: > > > On 06/09/2016 08:00 PM, Andrey Ryabinin wrote: >> On 06/07/2016 09:03 PM, Kuthonuzo Luruo wrote: >> >> Next time, when/if you send patch series, send patches in one thread, i.e. >> patches should be replies to the cover letter. >> Your

[PATCH v2 1/2] dt-bindings: add Starry KR122EA0SRA panel binding

2016-06-10 Thread Douglas Anderson
The Starry KR122EA0SRA is a 12.2", 1920x1200 TFT-LCD panel connected using eDP interfaces. Signed-off-by: Douglas Anderson --- Changes in v2: - Proper title (sorry!) .../devicetree/bindings/display/panel/starry,kr122ea0sra.txt | 7 +++ 1 file changed, 7 insertions(+) create mode 1006

Re: [PATCH 1/4] of: Add device tree bindings for Evatronix

2016-06-10 Thread Ricard Wanderlof
On Fri, 10 Jun 2016, Boris Brezillon wrote: > > Basically, in the general case, the controller can handle a matrix of > > nand flash chips. There can be a number of banks, each of which can > > have a number of individual CS lines. For the (in this case academic) > > case of 3 banks and 4 chip

[PATCH v2 0/6] support gpmi on i.MX6UL/7D and HW bitflip on i.MX6QP/7D

2016-06-10 Thread Han Xu
add support for gpmi nand on i.MX6UL and i.MX7D, document the related properties in DT and add the HW bitflip detection and correction for i.MX6QP and i.MX7D. v1 ---> v2: fix several indent and open parenthesis issues drop off the void cast rebase to latest code and adopt to SW bitflip code split

[PATCH v2 3/6] mtd: nand: gpmi: add GPMI NAND support for i.MX6QP

2016-06-10 Thread Han Xu
support GPMI NAND on i.MX6QP Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 9 + drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 5 - 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi-

[PATCH v2 1/6] mtd: nand: gpmi: add GPMI NAND support for i.MX7D

2016-06-10 Thread Han Xu
support GPMI NAND on i.MX7D Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/bch-regs.h | 14 +++--- drivers/mtd/nand/gpmi-nand/gpmi-lib.c | 10 ++ drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 30 -- drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 7 +-

[PATCH v2 2/6] mtd: nand: gpmi: document the clocks and clock-names in DT property

2016-06-10 Thread Han Xu
add the clocks and clock-names in DT property, gpmi-io clock is mandatory for all platforms, but some platforms, such as i.MX6Q may need more extra clocks for submodules. More details please refer to the SoC reference manual. Signed-off-by: Han Xu --- Documentation/devicetree/bindings/mtd/gpmi-n

Re: [PATCH v5 1/2] mm, kasan: improve double-free detection

2016-06-10 Thread Andrey Ryabinin
On 06/09/2016 08:00 PM, Andrey Ryabinin wrote: > On 06/07/2016 09:03 PM, Kuthonuzo Luruo wrote: > > Next time, when/if you send patch series, send patches in one thread, i.e. > patches should be replies to the cover letter. > Your patches are not linked together, which makes them harder to trac

Re: [PATCH 0/7] add reST/sphinx-doc to linux documentation

2016-06-10 Thread Jani Nikula
On Fri, 10 Jun 2016, Markus Heiser wrote: > Am 08.06.2016 um 21:49 schrieb Jonathan Corbet : >> But please, >> at this point, let's build on Jani's work and go from there. Things have >> waited for long enough while we've gone around on this; I think what we >> have is a good starting point. > >

Re: Nokia N900: musb is in wrong state after boot

2016-06-10 Thread joerg Reisenweber
On Fri 10 June 2016 12:04:43 Nishanth Menon wrote: > I think there was some unfortunately choice of words used in the > thread. It is TI intention to support community effort [...] > software, unfortunately these modes do not tend to be well tested and > the typical "official disclaimer" is "Not fo

Re: [PATCH v2 1/2] dt-bindings: add Starry KR122EA0SRA panel binding

2016-06-10 Thread Emil Velikov
Hi Douglas, On 10 June 2016 at 18:02, Douglas Anderson wrote: > The Starry KR122EA0SRA is a 12.2", 1920x1200 TFT-LCD panel connected > using eDP interfaces. > > Signed-off-by: Douglas Anderson > --- > Changes in v2: > - Proper title (sorry!) > > .../devicetree/bindings/display/panel/starry,kr12

Re: [RFC v4 01/14] regulator: of: Add helper for getting all supplies

2016-06-10 Thread Rob Herring
On Thu, Jun 09, 2016 at 01:42:02PM +0200, Krzysztof Kozlowski wrote: > On 06/09/2016 12:29 PM, Mark Brown wrote: > > On Thu, Jun 09, 2016 at 11:44:18AM +0200, Krzysztof Kozlowski wrote: > >> Few drivers have a need of getting regulator supplies without knowing > >> their names: > >> 1. The Simple F

[PATCH V2] ARM64: config: Enable MAX77620 pinctrl/gpio/rtc for Tegra210 P2180

2016-06-10 Thread Laxman Dewangan
NVIDIA's Tegra210 Jetson platform (P2180) uses the MAX77620 as PMIC. Enable GPIO, Pincontrol and RTC driver for this device. Signed-off-by: Laxman Dewangan --- Changes from V1: - MFD and regulator is already enabled, enabling remaining driver. arch/arm64/configs/defconfig | 3 +++ 1 file change

Re: [PATCH v3 2/2] arm64: dts: Fix broken architected timer interrupt trigger

2016-06-10 Thread David Daney
On 06/10/2016 09:56 AM, Marc Zyngier wrote: On 10/06/16 17:50, David Daney wrote: On 06/10/2016 12:23 AM, Marc Zyngier wrote: On Thu, 09 Jun 2016 14:06:02 -0700 David Daney wrote: I spoke too soon... On 06/09/2016 11:11 AM, David Daney wrote: On 06/06/2016 10:56 AM, Marc Zyngier wrote: Th

Re: [PATCH v5 3/4] tpm: Allow TPM chip drivers to override reported command durations

2016-06-10 Thread Ed Swierk
On Fri, Jun 10, 2016 at 5:19 AM, Jarkko Sakkinen wrote: > On Wed, Jun 08, 2016 at 04:00:17PM -0700, Ed Swierk wrote: >> Some TPM chips report bogus command durations in their capabilities, >> just as others report incorrect timeouts. Rework tpm_get_timeouts() >> to allow chip drivers to override e

Re: [PATCH 2/2] drm: Add DT bindings documentation for OpenCores VGA/LCD controller

2016-06-10 Thread Rob Herring
On Thu, Jun 09, 2016 at 03:33:19PM +0200, Andrea Merello wrote: > Signed-off-by: Andrea Merello > Cc: Stefan Kristiansson > Cc: Tomi Valkeinen > Cc: Francesco Diotalevi > Cc: Claudio Lorini > --- > .../bindings/display/opencores,ocdrm.txt | 27 > ++ > 1 file cha

Re: [PATCH 1/3] dt-bindings: Update Renesas R-Car FCP DT binding

2016-06-10 Thread Rob Herring
On Thu, Jun 09, 2016 at 02:41:32PM +0100, Kieran Bingham wrote: > The FCP driver, can also support the FCPF variant for FDP1 compatible Drop the comma. > processing. > > Signed-off-by: Kieran Bingham > --- > Documentation/devicetree/bindings/media/renesas,fcp.txt | 4 +++- > 1 file changed, 3

[PATCH] media: fix media devnode ioctl/syscall and unregister race

2016-06-10 Thread Shuah Khan
Media devnode open/ioctl could be in progress when media device unregister is initiated. System calls and ioctls check media device registered status at the beginning, however, there is a window where unregister could be in progress without changing the media devnode status to unregistered. proces

Re: [PATCH v5 2/5] ACPI / processor_idle: Add support for Low Power Idle(LPI) states

2016-06-10 Thread Sudeep Holla
Hi Rafael, On 11/05/16 16:37, Sudeep Holla wrote: ACPI 6.0 introduced an optional object _LPI that provides an alternate method to describe Low Power Idle states. It defines the local power states for each node in a hierarchical processor topology. The OSPM can use _LPI object to select a local

Re: [PATCH 2/3] dt-bindings: Document Renesas R-Car FCP power-domains usage

2016-06-10 Thread Rob Herring
On Thu, Jun 09, 2016 at 02:41:33PM +0100, Kieran Bingham wrote: > The power domain must be specified to bring the device out of module > standby. Document this in the example provided, so that new additions > are not missed. > > Signed-off-by: Kieran Bingham > --- > Documentation/devicetree/bind

Re: [PATCH v3 1/2] clocksource/arm_arch_timer: Force per-CPU interrupt to be level-triggered

2016-06-10 Thread David Daney
On 06/10/2016 12:29 AM, Marc Zyngier wrote: On Thu, 09 Jun 2016 14:10:48 -0700 David Daney wrote: On 06/06/2016 10:56 AM, Marc Zyngier wrote: The ARM architected timer produces level-triggered interrupts (this is mandated by the architecture). Unfortunately, most device-trees get this wrong,

Re: Nokia N900: musb is in wrong state after boot

2016-06-10 Thread Bin Liu
Hi, On Fri, Jun 10, 2016 at 06:15:26PM +0200, joerg Reisenweber wrote: > On Fri 10 June 2016 10:59:40 Bin Liu wrote: > > The musb ug says the testmde is not used in normal operation, so my > > opinion is force_host should not be used for hacking n900 host mode if > > this is for real product devel

Re: [PATCH 3/3] dt-bindings: Add Renesas R-Car FDP1 bindings

2016-06-10 Thread Rob Herring
On Thu, Jun 09, 2016 at 02:41:34PM +0100, Kieran Bingham wrote: > The FDP1 is a de-interlacing module which converts interlaced video to > progressive video. It is also capable of performing pixel format conversion > between YCbCr/YUV formats and RGB formats. > > Signed-off-by: Kieran Bingham > -

Re: [PATCH V2 3/5] Documentation/devicetree/bindings: b850v3_lvds_dp

2016-06-10 Thread Rob Herring
On Thu, Jun 09, 2016 at 06:25:03PM +0200, Peter Senna Tschudin wrote: > Devicetree bindings documentation for the GE B850v3 LVDS/DP++ > display bridge. > > Cc: Enric Balletbo i Serra > Cc: Philipp Zabel > Cc: Rob Herring > Cc: Fabio Estevam > Signed-off-by: Peter Senna Tschudin > --- > Change

Re: [PATCH v4 39/44] sparc: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread David Miller
From: Krzysztof Kozlowski Date: Fri, 10 Jun 2016 12:11:56 +0200 > Split out subsystem specific changes for easier reviews. This will be > squashed with main commit. > > Signed-off-by: Krzysztof Kozlowski If you split the method signatures from the type changes to the pointers that they are ass

[PATCH] phy: marvell: remove LED config override

2016-06-10 Thread Clemens Gruber
Configuring the PHY LED registers for the Marvell 88E1510 and others is not possible, because regardless of the values in marvell,reg-init, it is later overridden in m88e1121_config_aneg with a non-standard default. This became visible after we moved the call of marvell_of_reg_init in commit 79be1

[PATCH v2 4/6] mtd: nand: gpmi: correct bitflip for erased NAND page

2016-06-10 Thread Han Xu
i.MX6QP and i.MX7D BCH module integrated a new feature to detect the bitflip number for erased NAND page. So for these two platform, set the erase threshold to ecc_strength and if bitflip detected, GPMI driver will correct the data to all 0xFF. Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nan

[PATCH v2 5/6] mtd: nand: gpmi: support NAND on i.MX6UL

2016-06-10 Thread Han Xu
support GPMI NAND on i.MX6UL Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 9 + drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 5 - 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi-

[PATCH v2 6/6] mtd: nand: gpmi: document the new supported chip in DT

2016-06-10 Thread Han Xu
listed all supported chips in DT. Signed-off-by: Han Xu --- Documentation/devicetree/bindings/mtd/gpmi-nand.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mtd/gpmi-nand.txt b/Documentation/devicetree/bindings/mtd/gpmi-nand.txt index c

Re: [PATCH V2 00/11] net: mediatek: various small fixes

2016-06-10 Thread David Miller
From: John Crispin Date: Fri, 10 Jun 2016 13:30:15 +0200 > > > On 10/06/2016 13:27, John Crispin wrote: >> This series contains various small fixes that we stumbled across while >> doing thorough testing and code level reviewing of the driver. The only >> patch that sticks out is the first one,

Re: [PATCH 02/27] mm, vmscan: Move lru_lock to the node

2016-06-10 Thread Peter Zijlstra
On Fri, Jun 10, 2016 at 06:39:26PM +0200, Vlastimil Babka wrote: > On 06/09/2016 08:04 PM, Mel Gorman wrote: > > Node-based reclaim requires node-based LRUs and locking. This is a > > preparation patch that just moves the lru_lock to the node so later patches > > are easier to review. It is a mecha

Re: [PATCH 2/2] rxrpc: Limit the listening backlog

2016-06-10 Thread David Miller
From: David Howells Date: Fri, 10 Jun 2016 14:40:28 +0100 > David Howells wrote: > >> +else if (backlog > max) >> +break; > > Oops. Please ignore this version of the patch - I forgot to commit a change > to it before posting. You also forgot to include a "0/2"

Re: [PATCH V2 00/11] net: mediatek: various small fixes

2016-06-10 Thread John Crispin
On 10/06/2016 19:46, David Miller wrote: > From: John Crispin > Date: Fri, 10 Jun 2016 13:30:15 +0200 > >> >> >> On 10/06/2016 13:27, John Crispin wrote: >>> This series contains various small fixes that we stumbled across while >>> doing thorough testing and code level reviewing of the driver.

Re: [PATCH 1/2] rxrpc: Trim line-terminal whitespace [ver #2]

2016-06-10 Thread David Miller
From: David Howells Date: Fri, 10 Jun 2016 14:41:21 +0100 > Hi Dave, > > Can you please add these two patches to net-next? > > Thanks, > David David, please stop telling me which tree things go into this way. There is a clear, documented, way to do this properly with your patches themselves.

Re: [PATCH v2] Documentation/devicetree: document cavium-pip rx-delay/tx-delay properties

2016-06-10 Thread Rob Herring
On Thu, Jun 09, 2016 at 11:37:28PM +0300, Aaro Koskinen wrote: > Document cavium-pip rx-delay/tx-delay properties. Currently the board > specific values need to be hardcoded in the platform code, which we > want to avoid when moving to DT-only booting. > > Signed-off-by: Aaro Koskinen > --- > >

Re: [PATCH v2 5/6] dt-bindings: add Sharp LQ123P1JX31 panel binding

2016-06-10 Thread Rob Herring
On Fri, Jun 10, 2016 at 11:40 AM, Doug Anderson wrote: > Rob, > > On Fri, Jun 10, 2016 at 6:42 AM, Rob Herring wrote: >> On Wed, Jun 08, 2016 at 07:52:45PM +0800, Yakir Yang wrote: >>> The Sharp LQ123P1JX31 is an 12.3" 2400x1600 TFT-LCD panel >>> connected using eDP interfaces. >>> >>> Signed-off

Re: [PATCH v3 2/4] Documentation: Add documentation for APM X-Gene SoC PMU DTS binding

2016-06-10 Thread Rob Herring
On Thu, Jun 09, 2016 at 06:24:50PM -0700, Tai Nguyen wrote: > Signed-off-by: Tai Nguyen > --- > .../devicetree/bindings/perf/apm-xgene-pmu.txt | 112 > + > 1 file changed, 112 insertions(+) > create mode 100644 Documentation/devicetree/bindings/perf/apm-xgene-pmu.txt Ac

Re: [PATCH] soc: qcom: Update properties for smem state referencing

2016-06-10 Thread Rob Herring
On Thu, Jun 09, 2016 at 09:11:22PM -0700, Bjorn Andersson wrote: > Update the property names to match device tree bindings, the correct > values should be qcom,smem-states and qcom,smem-state-names. > > Also update the #qcom,smem-state-cells for consistency, before we merge > any users of these pr

Re: [RFC 10/12] x86, rwsem: simplify __down_write

2016-06-10 Thread Paul E. McKenney
On Thu, Jun 09, 2016 at 07:36:40PM +0200, Peter Zijlstra wrote: > On Thu, Jun 09, 2016 at 03:40:58PM +0100, David Howells wrote: > > Peter Zijlstra wrote: > > > > > Blergh; so looking at more asm there's still a few tricks we cannot do. > > > So while overall size is down, some paths do end up mo

Re: [PATCH 03/27] mm, vmscan: Move LRU lists to node

2016-06-10 Thread Vlastimil Babka
[+CC Michal Hocko] On 06/09/2016 08:04 PM, Mel Gorman wrote: > This moves the LRU lists from the zone to the node and all related data > such as counters, tracing, congestion tracking and writeback tracking. > This is mostly a mechanical patch but note that it introduces a number > of anomalies. F

[PATCH] dt-bindings: Add vendor prefix for Starry

2016-06-10 Thread Douglas Anderson
>From their website: http://www.b001.com.cn/ Starry appears to be a company involved in LCD panels and related components. Signed-off-by: Douglas Anderson --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/b

Re: [PATCH 2/2] dt-binding: remoteproc: Introduce Hexagon loader binding

2016-06-10 Thread Rob Herring
On Thu, Jun 09, 2016 at 10:53:00PM -0700, Bjorn Andersson wrote: > This document defines the binding for a component that loads firmware > and control the life cycle of a self-authenticating Qualcomm Hexagon > core. > > Signed-off-by: Bjorn Andersson > --- > .../devicetree/bindings/remoteproc/qc

Re: [PATCH v2 1/2] dt-bindings: add Starry KR122EA0SRA panel binding

2016-06-10 Thread Doug Anderson
Emil, On Fri, Jun 10, 2016 at 10:26 AM, Emil Velikov wrote: > Hi Douglas, > > On 10 June 2016 at 18:02, Douglas Anderson wrote: >> The Starry KR122EA0SRA is a 12.2", 1920x1200 TFT-LCD panel connected >> using eDP interfaces. >> >> Signed-off-by: Douglas Anderson >> --- >> Changes in v2: >> - Pr

[PATCH] mm: add missing kernel-doc in mm/memory.c::do_set_pte()

2016-06-10 Thread Randy Dunlap
From: Randy Dunlap Fix kernel-doc warning in mm/memory.c: ..//mm/memory.c:2881: warning: No description found for parameter 'old' Signed-off-by: Randy Dunlap --- mm/memory.c |1 + 1 file changed, 1 insertion(+) --- lnx-47-rc2.orig/mm/memory.c +++ lnx-47-rc2/mm/memory.c @@ -2870,6 +2870,7

[PATCH] debugobjects.h: fix trivial kernel-doc warning

2016-06-10 Thread Randy Dunlap
From: Randy Dunlap Add ':' to fix trivial kernel-doc warning in : ..//include/linux/debugobjects.h:63: warning: No description found for parameter 'is_static_object' Signed-off-by: Randy Dunlap --- include/linux/debugobjects.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- lnx

Re: [PATCH v4 2/7] leds: documentation: 'ide-disk' to 'disk-activity'

2016-06-10 Thread Rob Herring
On Fri, Jun 10, 2016 at 07:59:57AM +0200, Stephan Linz wrote: > Cc: Joseph Jezak > Cc: Jörg Sommer > Signed-off-by: Stephan Linz > --- > Documentation/devicetree/bindings/leds/common.txt| 3 ++- > Documentation/devicetree/bindings/leds/leds-gpio.txt | 4 ++-- > Documentation/laptops/asus-la

[PATCH V4 3/3] i2c: qup: Fix error handling

2016-06-10 Thread Sricharan R
Among the bus errors reported from the QUP_MASTER_STATUS register only NACK is considered and transfer gets suspended, while other errors are ignored. Correct this and suspend the transfer for other errors as well. This avoids unnecessary 'timeouts' which happens when waiting for events that would

[PATCH V4 1/3] i2c: qup: Fix broken dma when CONFIG_DEBUG_SG is enabled

2016-06-10 Thread Sricharan R
With CONFIG_DEBUG_SG is enabled and when dma mode is used, below dump is seen, [ cut here ] kernel BUG at include/linux/scatterlist.h:140! Internal error: Oops - BUG: 0 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.4.0-00459-g9f087b9-dirty

[PATCH V4 2/3] i2c: qup: Fix wrong value of index variable

2016-06-10 Thread Sricharan R
index gets incremented during check to determine if the messages can be transferred with dma. But not reset after that, resulting in wrong start value in subsequent loop, causing failure. Fix it. Signed-off-by: Sricharan R --- drivers/i2c/busses/i2c-qup.c | 2 ++ 1 file changed, 2 insertions(+)

Re: PROBLEM: Resume form hibernate broken by setting NX on gap

2016-06-10 Thread Kees Cook
On Thu, Jun 9, 2016 at 9:14 PM, Logan Gunthorpe wrote: > Hey, > > I've still be trying to figure this out as I have time. > > I tried printing a couple restore addresses and nothing I can find seems > anywhere near the rodata/ex_table boundary. > > I tried with the (badly formatted) below and got

[PATCH V4 0/3] i2c: qup: Some misc fixes

2016-06-10 Thread Sricharan R
One for fixing the bug with CONFIG_DEBUG_SG enabled, another to suspend the transfer for all errors instead of just for NACK and one for correcting the wrong initial value for index variable. [V4] Added little more description to patch#1 and split a change in to a new patch. [V3] Added more

Re: [PATCH v2 5/6] dt-bindings: add Sharp LQ123P1JX31 panel binding

2016-06-10 Thread Doug Anderson
Hi, On Fri, Jun 10, 2016 at 10:54 AM, Rob Herring wrote: >> In general Yakir's bindings document match a huge chunk of the current >> existing bindings. Do this: >> cd Documentation/devicetree/bindings/display/panel >> grep -C20 "This binding is compatible with the simple-panel" * >> >> You'

RE: [PATCH V4 0/3] i2c: qup: Some misc fixes

2016-06-10 Thread Sricharan
+Wolfram. Sorry Missed. >-Original Message- >From: linux-arm-kernel [mailto:linux-arm-kernel-boun...@lists.infradead.org] >On Behalf Of Sricharan R >Sent: Friday, June 10, 2016 11:38 PM >To: linux-arm-...@vger.kernel.org; ntel...@codeaurora.org; >ga...@codeaurora.org; linux-kernel@vger.k

<    1   2   3   4   5   6   7   8   9   >