Re: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core

2016-04-25 Thread Roger Quadros
Hi, On 21/04/16 09:38, Jun Li wrote: > Hi, > > ... >> >> /** >> + * usb_gadget_start - start the usb gadget controller and connect to >> +bus >> + * @gadget: the gadget device to start >> + * >> + * This is external API for use by OTG core. >> + * >> + * Start the usb device controller and

Re: [PATCHv3 1/5] efi/runtime-wrappers: detect FW irq flag corruption

2016-04-25 Thread Matt Fleming
On Mon, 25 Apr, at 03:12:01PM, Robin Murphy wrote: > >+static void efi_call_virt_check_flags(unsigned long flags, const char *call) > >+{ > >+unsigned long cur_flags; > >+bool mismatch; > >+ > >+local_save_flags(cur_flags); > >+ > >+mismatch = !!((cur_flags ^ flags) &

Re: [PATCH] mfd: tps6105x: Remove linux/regulator/driver.h include

2016-04-25 Thread Lee Jones
On Wed, 20 Apr 2016, Mark Brown wrote: > This driver makes no use of linux/regulator/driver.h which should only > be used by drivers implementing a regulator. Since it's unlikely to > ever need anything from there remove the include. > > Signed-off-by: Mark Brown > --- >

Re: [PATCH V3 14/18] coresight: tmc: keep track of memory width

2016-04-25 Thread Suzuki K Poulose
On 22/04/16 18:14, Mathieu Poirier wrote: Accessing the HW configuration register each time the memory width is needed simply doesn't make sense. It is much more efficient to read the value once and keep a reference for later use. Signed-off-by: Mathieu Poirier ---

Re: [PATCH 05/28] mm, page_alloc: Inline the fast path of the zonelist iterator

2016-04-25 Thread Vlastimil Babka
On 04/15/2016 10:58 AM, Mel Gorman wrote: > The page allocator iterates through a zonelist for zones that match > the addressing limitations and nodemask of the caller but many allocations > will not be restricted. Despite this, there is always functional call > overhead which builds up. > > This

Re: [PATCH 1/2] clocksource: sp804: Add support for OX810SE 24bit timer width

2016-04-25 Thread Neil Armstrong
On 04/22/2016 09:53 AM, Thomas Gleixner wrote: > On Fri, 22 Apr 2016, Daniel Lezcano wrote: > >> On Fri, Apr 01, 2016 at 04:22:38PM +0200, Neil Armstrong wrote: >>> In order to support the Dual-Timer on the Oxford Semiconductor OX810SE SoC, >>> implement variable counter width, keeping 32bit as

Re: [PATCH V3 13/18] coresight: tmc: make sysFS and Perf mode mutually exclusive

2016-04-25 Thread Mathieu Poirier
On 25 April 2016 at 08:52, Suzuki K Poulose wrote: > On 25/04/16 15:48, Mathieu Poirier wrote: >> >> On 25 April 2016 at 08:32, Suzuki K Poulose >> wrote: >>> >>> On 22/04/16 18:14, Mathieu Poirier wrote: > > +

[PATCH 5/5] gcov: disable -Wmaybe-uninitialized warning

2016-04-25 Thread Arnd Bergmann
When gcov profiling is enabled, we see a lot of spurious warnings about possibly uninitialized variables being used: arch/arm/mm/dma-mapping.c: In function 'arm_coherent_iommu_map_page': arch/arm/mm/dma-mapping.c:1085:16: warning: 'start' may be used uninitialized in this function

[PATCH 3/5] gcov: disable for COMPILE_TEST

2016-04-25 Thread Arnd Bergmann
Enabling gcov is counterproductive to compile testing: it significantly increases the kernel image size, compile time, and it produces lots of false positive "may be used uninitialized" warnings as the result of missed optimizations. This is in line with how UBSAN_SANITIZE_ALL and

Re: [Drbd-dev] [PATCH 05/30] drbd: Introduce new disk config option rs-discard-granularity

2016-04-25 Thread Bart Van Assche
On 04/25/2016 05:10 AM, Philipp Reisner wrote: As long as the value is 0 the feature is disabled. With setting it to a positive value, DRBD limits and aligns its resync requests to the rs-discard-granularity setting. If the sync source detects all zeros in such a block, the resync target

Re: [PATCH 17/41] Documentation: dt: mtd: fix spelling mistake

2016-04-25 Thread Rob Herring
On Mon, Apr 25, 2016 at 01:24:14AM +0100, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom Applied, thanks. Rob > --- > Documentation/devicetree/bindings/mtd/brcm,brcmnand.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH 18/41] Documentation: dt: net: fix spelling mistakes

2016-04-25 Thread Rob Herring
On Mon, Apr 25, 2016 at 01:24:15AM +0100, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom Applied, thanks. Rob > --- > Documentation/devicetree/bindings/net/hisilicon-hns-nic.txt | 2 +- > Documentation/devicetree/bindings/net/stmmac.txt| 4 ++-- >

Re: [PATCH 20/41] Documentation: dt: pinctrl: fix spelling mistake

2016-04-25 Thread Rob Herring
On Mon, Apr 25, 2016 at 01:24:17AM +0100, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom Applied, thanks. Rob > --- > Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH 14/41] Documentation: dt: media: fix spelling mistake

2016-04-25 Thread Rob Herring
On Mon, Apr 25, 2016 at 01:24:11AM +0100, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom Applied, thanks. Rob > --- > Documentation/devicetree/bindings/media/xilinx/video.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH 15/41] Documentation: dt: mfd: fix spelling mistakes

2016-04-25 Thread Rob Herring
On Mon, Apr 25, 2016 at 01:24:12AM +0100, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom Applied, thanks. Rob > --- > Documentation/devicetree/bindings/mfd/qcom-rpm.txt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

Re: [PATCH 16/41] Documentation: dt: mmc: fix spelling mistake

2016-04-25 Thread Rob Herring
On Mon, Apr 25, 2016 at 01:24:13AM +0100, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom Applied, thanks. Rob > --- > Documentation/devicetree/bindings/mmc/mmc-pwrseq-emmc.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH 13/41] Documentation: dt: interrupt-controller: fix spelling mistakes

2016-04-25 Thread Rob Herring
On Mon, Apr 25, 2016 at 01:24:10AM +0100, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom Applied, thanks. Rob > --- > .../devicetree/bindings/interrupt-controller/ti,omap4-wugen-mpu | 4 > ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

Re: [PATCH 3/5] ARM: dts: introduce MPS2 AN385/AN386

2016-04-25 Thread Sudeep Holla
On 25/04/16 13:03, Vladimir Murzin wrote: On 25/04/16 12:32, Arnd Bergmann wrote: On Monday 25 April 2016 11:15:35 Vladimir Murzin wrote: + +#include "mps2.dtsi" + +/ { +model = "ARM MPS2 Application Note 385/386"; +compatible = "arm,mps2"; + +aliases { +serial0 = +

Re: [PATCH 12/41] Documentation: dt: input: fix spelling mistakes

2016-04-25 Thread Rob Herring
On Mon, Apr 25, 2016 at 01:24:09AM +0100, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom Applied, thanks. Rob > --- > Documentation/devicetree/bindings/input/ads7846.txt | 2 +- > Documentation/devicetree/bindings/input/touchscreen/fsl-mx25-tcq.txt |

Re: [PATCH v4 1/7] mfd: da8xx-cfgchip: New header file for CFGCHIP registers.

2016-04-25 Thread Lee Jones
On Thu, 14 Apr 2016, David Lechner wrote: > We will be using a generic syscon device for the TI DA8XX SoC CFGCHIPx > retisters. This will be used by a number of planned drivers including a > new USB PHY driver and common clock framework drivers. > > The same defines are removed from the

Re: [PATCHv3 1/5] efi/runtime-wrappers: detect FW irq flag corruption

2016-04-25 Thread Robin Murphy
On 25/04/16 15:24, Matt Fleming wrote: On Mon, 25 Apr, at 04:18:41PM, Ard Biesheuvel wrote: On 25 April 2016 at 16:15, Matt Fleming wrote: On Mon, 25 Apr, at 03:12:01PM, Robin Murphy wrote: +static void efi_call_virt_check_flags(unsigned long flags, const char

[PATCH v7 06/15] dt-bindings: i2c: Add Octeon cn78xx TWSI

2016-04-25 Thread Jan Glauber
Add compatible string for Cavium Octeon cn78XX SOCs TWSI. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Signed-off-by: Jan Glauber

Re: [PATCH 0/3] mainline and mmotm compaction fixes

2016-04-25 Thread Michal Hocko
On Mon 25-04-16 15:34:26, Vlastimil Babka wrote: [...] > > 1. Fix crash in release_pages() from compact_zone() from > > kcompactd_do_work(): > > kcompactd needs to INIT_LIST_HEAD on the new freepages_held list. > > This one should be addressed by dropping the following from mmotm from now: >

Re: [PATCH 4/5] regulator: core: Add early supply resolution for a bypassed regulator

2016-04-25 Thread Jon Hunter
On 22/04/16 14:53, Mark Brown wrote: > * PGP Signed by an unknown key > > On Fri, Apr 22, 2016 at 12:26:57PM +0100, Jon Hunter wrote: > >> OK. Sorry if I have misunderstood you here, but this sounds more like >> Thierry's initial proposal [0] but ignoring the any errors returned (and >> we need

Re: [PATCH] usb: ehci-platform: add reset controller number in struct ehci_platform_priv

2016-04-25 Thread Alan Stern
On Sat, 23 Apr 2016, Jiancheng Xue wrote: > Some generic-ehci compatible controllers have more than one reset signal > lines, e.g., Synopsys DWC USB2.0 Host-AHB Controller has two resets bus_reset > and roothub_reset. Two more resets are added in this patch in order for this > kind of controller

Re: [PATCH v2 1/8] drm/rect: Add some drm_clip_rect utility functions

2016-04-25 Thread Ville Syrjälä
On Mon, Apr 25, 2016 at 04:03:13PM +0200, Noralf Trønnes wrote: > > Den 25.04.2016 15:02, skrev Ville Syrjälä: > > On Mon, Apr 25, 2016 at 02:55:52PM +0200, Noralf Trønnes wrote: > >> Den 25.04.2016 14:39, skrev Ville Syrjälä: > >>> On Sun, Apr 24, 2016 at 10:48:55PM +0200, Noralf Trønnes wrote:

Re: [PATCH V3 14/18] coresight: tmc: keep track of memory width

2016-04-25 Thread Suzuki K Poulose
On 25/04/16 15:55, Mathieu Poirier wrote: On 25 April 2016 at 08:41, Suzuki K Poulose wrote: On 22/04/16 18:14, Mathieu Poirier wrote: Accessing the HW configuration register each time the memory width is needed simply doesn't make sense. It is much more efficient to

[PATCH v2] MAINTAINERS: fix Rajendra Nayak's address

2016-04-25 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- v2: replace with new address instead of just removing the old one --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 1d5b4be..81ebdab 100644 --- a/MAINTAINERS +++

Re: [PATCH 3/3] mtd: brcmnand: respect ECC algorithm set by NAND subsystem

2016-04-25 Thread Boris Brezillon
On Fri, 22 Apr 2016 13:23:15 +0200 Rafał Miłecki wrote: > It's more reliable than guessing based on ECC strength. It allows using > NAND on devices with BCH-1 (e.g. D-Link DIR-885L). Brian, Kamal, could you add your Ack on this patch. > > Signed-off-by: Rafał Miłecki

Re: [PATCH 1/2] x86/arch_prctl: add ARCH_SET_{COMPAT,NATIVE} to change compatible mode

2016-04-25 Thread Peter Zijlstra
On Thu, Apr 21, 2016 at 04:27:19PM -0700, Andy Lutomirski wrote: > > Did that help? Or did I confuse you moar? > > > > I think I'm starting to get it. What if we rearrange slightly, like this: > > perf_sample_data already has a struct perf_regs in it. We could add a > flags field to the first

Re: [PATCH V3 13/18] coresight: tmc: make sysFS and Perf mode mutually exclusive

2016-04-25 Thread Mathieu Poirier
On 25 April 2016 at 09:11, Suzuki K Poulose wrote: > On 25/04/16 16:05, Mathieu Poirier wrote: >> >> On 25 April 2016 at 08:52, Suzuki K Poulose >> wrote: >>> >>> On 25/04/16 15:48, Mathieu Poirier wrote: On 25 April 2016 at 08:32,

RE: [PATCH] dmaengine: dmatest: Add support for scatter-gather DMA mode

2016-04-25 Thread Ramon Fried
Wow. Thanks a lot ! -Original Message- From: Kedareswara rao Appana [mailto:appana.durga@xilinx.com] Sent: Monday, April 25, 2016 11:48 AM To: vinod.k...@intel.com; dan.j.willi...@intel.com; Ramon Fried Cc: dmaeng...@vger.kernel.org;

RE: [PATCH] cpufreq: governor: Fix prev_load initialization in cpufreq_governor_start()

2016-04-25 Thread Chen, Yu C
Hi, > -Original Message- > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Sent: Monday, April 25, 2016 9:08 AM > To: Linux PM list > Cc: Linux Kernel Mailing List; Viresh Kumar; Chen, Yu C > Subject: [PATCH] cpufreq: governor: Fix prev_load initialization in >

Re: [PATCH 4/4] ARM: remove duplicate const qualifier

2016-04-25 Thread Nicolas Pitre
On Mon, 25 Apr 2016, Eric Engestrom wrote: > On Mon, Apr 25, 2016 at 01:38:18PM +0200, Arnd Bergmann wrote: > > Maybe say you you found it (llvm, sparse, coccinelle?), and why this > > is causing a problem for anyone. If it's just unnecessary but not > > harmful, I'd probably ignore the patch. >

Re: [PATCH V3 10/18] coresight: tmc: getting the right read_count on tmc_open()

2016-04-25 Thread Mathieu Poirier
On 25 April 2016 at 04:47, Suzuki K Poulose wrote: > On 22/04/16 18:14, Mathieu Poirier wrote: >> >> In function tmc_open(), if tmc_read_prepare() fails variable >> drvdata->read_count is not decremented, causing unwanted >> access to drvdata->buf and very likely, a crash

Re: [PATCH v1 4/5] perf: Introduce address range filtering

2016-04-25 Thread Peter Zijlstra
On Fri, Apr 22, 2016 at 07:19:11PM +0300, Alexander Shishkin wrote: > +/* > + * Address range filtering: limiting the data to certain > + * instruction address ranges. Filters are ioctl()ed to us from > + * userspace as ascii strings. > + * > + * Filter string format: > + * > + * ACTION

[PATCH v7 15/15] i2c: thunderx: Add smbus alert support

2016-04-25 Thread Jan Glauber
Add smbus alert interrupt support. Signed-off-by: Jan Glauber --- drivers/i2c/busses/i2c-cavium.h| 6 ++ drivers/i2c/busses/i2c-thunderx-core.c | 35 ++ 2 files changed, 41 insertions(+) diff --git

[PATCH v7 13/15] i2c: thunderx: Add i2c driver for ThunderX SOC

2016-04-25 Thread Jan Glauber
The ThunderX SOC uses the same i2c block as the Octeon SOC. The main difference is that on ThunderX the device is a PCI device so device probing is done via PCI, interrupts are MSIX and the clock is taken from device tree. Signed-off-by: Jan Glauber ---

[PATCH v7 08/15] i2c: octeon: Improve performance if interrupt is early

2016-04-25 Thread Jan Glauber
From: Peter Swain There is a race between the TWSI interrupt and the condition that is required before proceeding: Low-level: interrupt flag bit must be set High-level controller: valid bit must be clear If the interrupt comes too early and the condition is not met the wait

[PATCH v7 14/15] i2c: octeon,thunderx: Move register offsets to struct

2016-04-25 Thread Jan Glauber
The register offsets are different between Octeon and ThunderX so move them into the algorithm struct and get rid of the define. Signed-off-by: Jan Glauber --- drivers/i2c/busses/i2c-cavium.c| 28 +-- drivers/i2c/busses/i2c-cavium.h|

[PATCH] net: davinci_mdio: Set of_node in the mdio bus

2016-04-25 Thread J.D. Schroeder
From: "J.D. Schroeder" Assigns the of_node from the platform device to the of_node of the mdio bus so that it can be used in the mdio driver to properly match a bus in the DT with a phandle in of_mdio_find_bus(). Signed-off-by: J.D. Schroeder

Re: [PATCH V3 13/18] coresight: tmc: make sysFS and Perf mode mutually exclusive

2016-04-25 Thread Suzuki K Poulose
On 25/04/16 15:48, Mathieu Poirier wrote: On 25 April 2016 at 08:32, Suzuki K Poulose wrote: On 22/04/16 18:14, Mathieu Poirier wrote: + spin_lock_irqsave(>spinlock, flags); + if (drvdata->reading) { + ret = -EINVAL; + goto

Re: [PATCH v2] z3fold: the 3-fold allocator for compressed pages

2016-04-25 Thread Vitaly Wool
On Mon, Apr 25, 2016 at 9:28 AM, Vlastimil Babka wrote: > On 04/22/2016 01:22 AM, Andrew Morton wrote: >> >> So... why don't we just replace zbud with z3fold? (Update the changelog >> to answer this rather obvious question, please!) > > > There was discussion between Seth and

[PATCH v2] livepatch: Add some basic LivePatch documentation

2016-04-25 Thread Petr Mladek
LivePatch framework deserves some documentation, definitely. This is an attempt to provide some basic info. I hope that it will be useful for both LivePatch producers and also potential developers of the framework itself. Signed-off-by: Petr Mladek --- This version

Re: [Drbd-dev] [PATCH 04/30] drbd: Implement handling of thinly provisioned storage on resync target nodes

2016-04-25 Thread Bart Van Assche
On 04/25/2016 05:10 AM, Philipp Reisner wrote: If during resync we read only zeroes for a range of sectors assume that these secotors can be discarded on the sync target node. Hello Phil, With which interconnect(s) has this patch been tested? I'm afraid that for high-speed interconnects this

Re: [PATCH 19/41] Documentation: dt: opp: fix spelling mistake

2016-04-25 Thread Rob Herring
On Mon, Apr 25, 2016 at 01:24:16AM +0100, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom Applied, thanks. Rob > --- > Documentation/devicetree/bindings/opp/opp.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH v6 07/12] usb: otg: add OTG/dual-role core

2016-04-25 Thread Roger Quadros
Peter, On 21/04/16 09:52, Peter Chen wrote: > On Tue, Apr 05, 2016 at 05:05:12PM +0300, Roger Quadros wrote: >> It provides APIs for the following tasks >> >> - Registering an OTG/dual-role capable controller >> - Registering Host and Gadget controllers to OTG core >> - Providing inputs to and

Re: [PATCHv3 1/5] efi/runtime-wrappers: detect FW irq flag corruption

2016-04-25 Thread Ard Biesheuvel
On 25 April 2016 at 16:15, Matt Fleming wrote: > On Mon, 25 Apr, at 03:12:01PM, Robin Murphy wrote: >> >+static void efi_call_virt_check_flags(unsigned long flags, const char >> >*call) >> >+{ >> >+unsigned long cur_flags; >> >+bool mismatch; >> >+ >> >+

Re: [PATCH 1/3] kbuild: call adjust_autoksyms.sh from source directory

2016-04-25 Thread Nicolas Pitre
On Mon, 25 Apr 2016, Arnd Bergmann wrote: > When building with separate object trees, scripts/adjust_autoksyms.sh > cannot be called from the object directory: > > /bin/bash: scripts/adjust_autoksyms.sh: No such file or directory > > This adds a $(src) prefix, as we do for all other shell

[PATCH v3] z3fold: the 3-fold allocator for compressed pages

2016-04-25 Thread Vitaly Wool
This patch introduces z3fold, a special purpose allocator for storing compressed pages. It is designed to store up to three compressed pages per physical page. It is a ZBUD derivative which allows for higher compression ratio keeping the simplicity and determinism of its predecessor. This patch

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

2016-04-25 Thread Niklas Söderlund
Hi Christoph, On 2016-04-21 06:49:42 -0700, Christoph Hellwig wrote: > On Wed, Apr 13, 2016 at 03:29:17PM +0200, Niklas S?derlund wrote: > > > Yes, it would be good to do an audit of all the ARM dma_ops as well > > > as generic code like drivers/base/dma-*.c, lib/dma-debug.c and > > >

[PATCH v7 05/15] i2c: octeon: Enable High-Level Controller

2016-04-25 Thread Jan Glauber
From: David Daney Use High-Level Controller (HLC) when possible. The HLC can read/write up to 8 bytes and is completely optional. The most important difference of the HLC is that it only requires one interrupt for a transfer (up to 8 bytes) where the low-level

Re: [PATCH V3 12/18] coresight: tmc: dump system memory content only when needed

2016-04-25 Thread Mathieu Poirier
On 25 April 2016 at 05:16, Suzuki K Poulose wrote: > On 22/04/16 18:14, Mathieu Poirier wrote: >> >> Calling tmc_etf/etr_dump_hw() is required only when operating from >> sysFS. When working from Perf, the system memory is harvested >> from the AUX trace API. >> >>

Re: [PATCH 0/2] Support MPS2 Timer

2016-04-25 Thread Daniel Lezcano
On Mon, Apr 25, 2016 at 09:45:42AM +0100, Vladimir Murzin wrote: > Hi, > > These patches allow to use simple 32 bits general purpose countdown > timers found on MPS2 platform. > > Following [1], please, consider to merge them into clocksource tree. > > [1] https://lkml.org/lkml/2016/4/23/190 >

Re: [PATCH 8/8] writeback: throttle buffered writeback

2016-04-25 Thread Jens Axboe
On 04/25/2016 05:41 AM, xiakaixu wrote: 于 2016/4/24 5:37, Jens Axboe 写道: On 04/23/2016 02:21 AM, xiakaixu wrote: diff --git a/block/blk-core.c b/block/blk-core.c index 40b57bf4852c..d941f69dfb4b 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -39,6 +39,7 @@ #include "blk.h"

Re: [PATCH v2] clk: sunxi: predivider handling for factors clock

2016-04-25 Thread Chen-Yu Tsai
Hi, On Wed, Apr 20, 2016 at 12:47 AM, Vishnu Patekar wrote: > For A31 ahb1 and a83t ahb1 clocks have predivider for certain parent. > To handle this, this patch adds predivider table with parent index, > prediv shift and width, parents with predivider will have

Re: 4.6-rc5 on arm (nokia n900): spinlock bad magic on CPU#0,

2016-04-25 Thread Pavel Machek
Hi! > First time such thing happened, normally N900 is very stable. Second time, within a day. It seems rather repeatable. I tested 4.4 rather heavily, and seen any backtraces... Oh, and some saboteur seemed to turn on ipv6 on my wifi. Probably unrelated Best regards,

Re: [PATCH V3 13/18] coresight: tmc: make sysFS and Perf mode mutually exclusive

2016-04-25 Thread Suzuki K Poulose
On 25/04/16 16:05, Mathieu Poirier wrote: On 25 April 2016 at 08:52, Suzuki K Poulose wrote: On 25/04/16 15:48, Mathieu Poirier wrote: On 25 April 2016 at 08:32, Suzuki K Poulose wrote: On 22/04/16 18:14, Mathieu Poirier wrote: +

Re: [PATCH v5] rtl8712: Fixed alignment to match open parenthesis

2016-04-25 Thread Dan Carpenter
On Mon, Apr 25, 2016 at 08:36:48AM +, Parth Sane wrote: > Fixed alignment to match open parenthesis. > Signed-off-by: Parth Sane > > --- Leave a blank line before the Signed-off-by. Really you are resending patches too quickly. You should wait over night or a few

Re: [PATCH] MAINTAINERS: remove defunct spear mailing list

2016-04-25 Thread Viresh Kumar
You missed sending this to the Maintainers :( On Mon, Apr 25, 2016 at 8:48 PM, Eric Engestrom wrote: > It looks like the email address for this mailing list doesn't exist anymore: > : host mxb-00178001.gslb.pphosted.com[91.207.212.93] > said:

Re: [PATCH v2] mmc: dw_mmc: Wait for data transfer after response errors.

2016-04-25 Thread Enric Balletbo Serra
Oh, damn, I didn't include the proper tags, [PATCH v2] mmc: dw_mmc: Wait for data transfer after response errors. [PATCH v2] mmc: dw_mmc: Fix UHS tuning on some brand of cards should be [PATCH v2 0/1] mmc: dw_mmc: Fix UHS tuning on some brand of cards [PATCH v2 1/1] mmc: dw_mmc: Wait for data

Re: [PATCH v2] mmc: dw_mmc: Fix UHS tuning on some brand of cards.

2016-04-25 Thread Enric Balletbo Serra
Oh, damn, I didn't include the proper tags, [PATCH v2] mmc: dw_mmc: Wait for data transfer after response errors. [PATCH v2] mmc: dw_mmc: Fix UHS tuning on some brand of cards should be [PATCH v2 0/1] mmc: dw_mmc: Fix UHS tuning on some brand of cards [PATCH v2 1/1] mmc: dw_mmc: Wait for data

Re: [PATCH V3 14/18] coresight: tmc: keep track of memory width

2016-04-25 Thread Suzuki K Poulose
On 25/04/16 16:25, Mathieu Poirier wrote: On 25 April 2016 at 09:09, Suzuki K Poulose wrote: On 25/04/16 15:55, Mathieu Poirier wrote: On 25 April 2016 at 08:41, Suzuki K Poulose wrote: On 22/04/16 18:14, Mathieu Poirier wrote: Accessing

Re: [PATCH 10/10] cpufreq: mvebu: Use generic platdev driver

2016-04-25 Thread Viresh Kumar
On 25-04-16, 17:26, Arnd Bergmann wrote: > On Monday 25 April 2016 18:26:05 Viresh Kumar wrote: > > On 25-04-16, 14:53, Arnd Bergmann wrote: > > > On Monday 25 April 2016 08:30:41 Viresh Kumar wrote: > > > > > I realize that the ordering is fixed through the way that the kernel > > > is linked,

Re: [GIT PULL] EFI urgent fix

2016-04-25 Thread Ingo Molnar
* Matt Fleming wrote: > Folks, please pull the following fix from Laszlo that ensures we don't > perform an out-of-bounds access when matching EFI variable names > against the variable protection whitelist. > > The following changes since commit

Re: [PATCH] powercap/intel_rapl: Add support for Kabylake

2016-04-25 Thread Jacob Pan
On Mon, 25 Apr 2016 16:20:17 +0200 "Rafael J. Wysocki" wrote: > How urgent is this? > > Can we live without it in 4.6 in particular? not urgent.

[RESEND PATCH 0/5] gcov fixes and maybe-uninitialized warnings

2016-04-25 Thread Arnd Bergmann
Hi Michal, This is a resend of a series I originally sent back in February, but unfortunately I never heard back from you. Could you apply these patches for v4.7? [PATCH 1/5] Kbuild: change CC_OPTIMIZE_FOR_SIZE definition [PATCH 2/5] Kbuild: disable 'maybe-uninitialized' warning for [PATCH 3/5]

Re: [PATCH V3] powerpc: Implement {cmp}xchg for u8 and u16

2016-04-25 Thread Peter Zijlstra
On Mon, Apr 25, 2016 at 06:10:51PM +0800, Pan Xinhui wrote: > > So I'm not actually _that_ familiar with the PPC LL/SC implementation; > > but there are things a CPU can do to optimize these loops. > > > > For example, a CPU might choose to not release the exclusive hold of the > > line for a

[PATCH 1/5] Kbuild: change CC_OPTIMIZE_FOR_SIZE definition

2016-04-25 Thread Arnd Bergmann
CC_OPTIMIZE_FOR_SIZE disables the often useful -Wmaybe-unused warning, because that causes a ridiculous amount of false positives when combined with -Os. This means a lot of warnings don't show up in testing by the developers that should see them with an 'allmodconfig' kernel that has

[PATCH 2/5] Kbuild: disable 'maybe-uninitialized' warning for CONFIG_PROFILE_ALL_BRANCHES

2016-04-25 Thread Arnd Bergmann
CONFIG_PROFILE_ALL_BRANCHES confuses gcc-5.x to the degree that it prints incorrect warnings about a lot of variables that it thinks can be used uninitialized, e.g.: i2c/busses/i2c-diolan-u2c.c: In function 'diolan_usb_xfer': i2c/busses/i2c-diolan-u2c.c:391:16: warning: 'byte' may be used

Re: [PATCH 10/10] cpufreq: mvebu: Use generic platdev driver

2016-04-25 Thread Arnd Bergmann
On Monday 25 April 2016 20:59:14 Viresh Kumar wrote: > On 25-04-16, 17:26, Arnd Bergmann wrote: > > On Monday 25 April 2016 18:26:05 Viresh Kumar wrote: > > > On 25-04-16, 14:53, Arnd Bergmann wrote: > > > > What are the downsides of moving armada_xp_pmsu_cpufreq_init() > > > > into

[PATCH V3 1/1] perf hists: clear dummy entry accumulated period

2016-04-25 Thread kan . liang
From: Kan Liang The accumulated period for dummy entry should also be 0. Otherwise, the total overhead could be overcounted. [perf]$ perf record -e '{LLC-load-misses,cpu/instructions/}' --call-graph=lbr ./tchain [perf]$ perf report --stdio # To display the perf.data header

Re: [PATCH v4] ASoC: docs: add clocking examples for DAI formats

2016-04-25 Thread Peter Rosin
Hi! On 2016-04-21 22:58, Peter Rosin wrote: > +See the official I2S specification > +https://www.sparkfun.com/datasheets/BreakoutBoards/I2SBUS.pdf I've searched for a bit, and the best I can find is (IMHO)

Re: [PATCH v4 2/2] KVM: move vcpu id checking to archs

2016-04-25 Thread Radim Krčmář
2016-04-22 16:50+0200, Greg Kurz: > Just to be sure I haven't missed something: > - change the spec to introduce the MAX_VCPU_ID concept > - update all related checks in KVM > - provide a KVM_CAP_MAX_VCPU_ID for userspace That is it, thanks a lot! (From nitpicks that come to my mind ...

Re: [PATCHv3 1/5] efi/runtime-wrappers: detect FW irq flag corruption

2016-04-25 Thread Mark Rutland
On Mon, Apr 25, 2016 at 03:24:35PM +0100, Matt Fleming wrote: > On Mon, 25 Apr, at 04:18:41PM, Ard Biesheuvel wrote: > > On 25 April 2016 at 16:15, Matt Fleming wrote: > > > On Mon, 25 Apr, at 03:12:01PM, Robin Murphy wrote: > > >> >+static void

Re: [PATCH] hwmon: sch5636: trivial fix of spelling mistake on revision

2016-04-25 Thread Guenter Roeck
On 04/24/2016 02:55 PM, Colin King wrote: From: Colin Ian King fix spelling mistake, revison -> revision Signed-off-by: Colin Ian King Applied to hwmon-next. Thanks, Guenter

Re: [PATCH V3 13/18] coresight: tmc: make sysFS and Perf mode mutually exclusive

2016-04-25 Thread Suzuki K Poulose
On 22/04/16 18:14, Mathieu Poirier wrote: The sysFS and Perf access methods can't be allowed to interfere with one another. As such introducing guards to access functions that prevents moving forward if a TMC is already being used. Signed-off-by: Mathieu Poirier

[PATCH v7 00/15] i2c-octeon and i2c-thunderx drivers

2016-04-25 Thread Jan Glauber
Hi Wolfram, v7 implements the changes from your review plus some comments from David. I've moved the flush writeq patch before the HLC patch, because it is already needed there and seems quite trivial and I've added a new patch to disable the SMBUS QUICK support as discussed. This series for the

[PATCH v7 01/15] i2c: octeon: Improve error status checking

2016-04-25 Thread Jan Glauber
Introduce a function that checks for valid status codes depending on the phase of a transmit or receive. Also add all existing status codes and improve error handling for various states. The Octeon TWSI has an "assert acknowledge" bit (TWSI_CTL_AAK) that is required to be set in master receive

[PATCH v7 02/15] i2c: octeon: Use i2c recovery framework

2016-04-25 Thread Jan Glauber
Switch to the i2c bus recovery framework using generic SCL recovery. If this fails try to reset the hardware. The recovery is triggered during START on timeout of the interrupt or failure to reach the START / repeated-START condition. The START function is moved to xfer and while at it remove the

[PATCH v7 04/15] i2c: octeon: Add flush writeq helper function

2016-04-25 Thread Jan Glauber
From: Peter Swain Add helper function that reads back a value after writing to make sure the write is finished and use it in octeon_i2c_write_int(). Signed-off-by: Peter Swain Signed-off-by: Jan Glauber ---

Re: [PATCH V3 14/18] coresight: tmc: keep track of memory width

2016-04-25 Thread Mathieu Poirier
On 25 April 2016 at 08:41, Suzuki K Poulose wrote: > On 22/04/16 18:14, Mathieu Poirier wrote: >> >> Accessing the HW configuration register each time the memory >> width is needed simply doesn't make sense. It is much more >> efficient to read the value once and keep a

Re: [PATCH v2] z3fold: the 3-fold allocator for compressed pages

2016-04-25 Thread Seth Jennings
On Mon, Apr 25, 2016 at 2:28 AM, Vlastimil Babka wrote: > On 04/22/2016 01:22 AM, Andrew Morton wrote: >> >> On Tue, 19 Apr 2016 11:48:45 +0200 Vitaly Wool >> wrote: >> >>> This patch introduces z3fold, a special purpose allocator for storing >>> compressed

Re: [PATCH] [RFC] net: dsa: mv88e6xxx: Pre-initialize err in mv88e6xxx_port_bridge_join()

2016-04-25 Thread Vivien Didelot
Hi Geert, Geert Uytterhoeven writes: > drivers/net/dsa/mv88e6xxx.c: In function ‘mv88e6xxx_port_bridge_join’: > drivers/net/dsa/mv88e6xxx.c:2184: warning: ‘err’ may be used uninitialized in > this function Interesting, I don't have those warnings on 207afda1b5036009...

Re: [PATCH 38/41] Documentation: virtual: fix spelling mistake

2016-04-25 Thread Radim Krčmář
2016-04-25 14:00+0200, Cornelia Huck: > On Mon, 25 Apr 2016 07:37:04 +0100 > Eric Engestrom wrote: >> Signed-off-by: Eric Engestrom >> --- >> Documentation/virtual/kvm/devices/s390_flic.txt | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >>

Re: [PATCH 0/6] Add Shared MDIO framework for iProc based SoCs

2016-04-25 Thread Andrew Lunn
On Thu, Apr 21, 2016 at 02:48:37PM +0530, Pramod Kumar wrote: > Broadcom iProc based SoCs uses MDIO bus for programming PHYs belonging to > different I/O subsystem like USB, SATA, PCIe, ETHERNET etc. Every subsystem > is referred as "Master" When a master is selected, all PHYs belonging to > this

Re: [PATCH 1/3] kbuild: call adjust_autoksyms.sh from source directory

2016-04-25 Thread Arnd Bergmann
On Monday 25 April 2016 10:18:56 Nicolas Pitre wrote: > On Mon, 25 Apr 2016, Arnd Bergmann wrote: > > > When building with separate object trees, scripts/adjust_autoksyms.sh > > cannot be called from the object directory: > > > > /bin/bash: scripts/adjust_autoksyms.sh: No such file or directory

[PATCH 1/1] [RFC] workqueue: fix ghost PENDING flag while doing MQ IO

2016-04-25 Thread Roman Pen
Hi, This is RFC, because for last couple of days I hunt a mystery bug and since now I do not have a strong feeling that the following story is nothing but bug's trick and attempt to cheat me. [Sorry, the whole story and explanation are quite long] The bug is reproduced quite often on our server

Re: [PATCH v2 02/11] xen/hvmlite: Bootstrap HVMlite guest

2016-04-25 Thread Borislav Petkov
On Mon, Apr 25, 2016 at 10:42:15AM -0400, Boris Ostrovsky wrote: > Hmm... I thought that everything specified in boot.txt was ABI. But those are not there. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.

Re: [PATCH v2 5/5] dax: handle media errors in dax_do_io

2016-04-25 Thread Jeff Moyer
"h...@infradead.org" writes: > On Sat, Apr 23, 2016 at 06:08:37PM +, Verma, Vishal L wrote: >> direct_IO might fail with -EINVAL due to misalignment, or -ENOMEM due >> to some allocation failing, and I thought we should return the original >> -EIO in such cases so that

Re: [PATCH 1/3] kbuild: call adjust_autoksyms.sh from source directory

2016-04-25 Thread Nicolas Pitre
On Mon, 25 Apr 2016, Arnd Bergmann wrote: > On Monday 25 April 2016 10:18:56 Nicolas Pitre wrote: > > On Mon, 25 Apr 2016, Arnd Bergmann wrote: > > > > > When building with separate object trees, scripts/adjust_autoksyms.sh > > > cannot be called from the object directory: > > > > > >

[PATCH 4/5] gcov: disable tree-loop-im to reduce stack usage

2016-04-25 Thread Arnd Bergmann
Enabling CONFIG_GCOV_PROFILE_ALL produces us a lot of warnings like lib/lz4/lz4hc_compress.c: In function 'lz4_compresshcctx': lib/lz4/lz4hc_compress.c:514:1: warning: the frame size of 1504 bytes is larger than 1024 bytes [-Wframe-larger-than=] After some investigation, I found that this

[PATCH v6] rtl8712: Fixed alignment to match open parenthesis

2016-04-25 Thread Parth Sane
Fixed alignment to match open parenthesis. Signed-off-by: Parth Sane --- Changes in v6: -Added line before Signed-off message drivers/staging/rtl8712/hal_init.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git

[PATCH] bfs: rename should update mtime

2016-04-25 Thread Salah Triki
bfs_rename should update mtime on target. Signed-off-by: Salah Triki --- fs/bfs/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/bfs/dir.c b/fs/bfs/dir.c index 3ec6113..d5902d9 100644 --- a/fs/bfs/dir.c +++ b/fs/bfs/dir.c @@ -252,7 +252,7 @@

Re: [PATCH v2 1/8] drm/rect: Add some drm_clip_rect utility functions

2016-04-25 Thread Noralf Trønnes
Den 25.04.2016 15:02, skrev Ville Syrjälä: On Mon, Apr 25, 2016 at 02:55:52PM +0200, Noralf Trønnes wrote: Den 25.04.2016 14:39, skrev Ville Syrjälä: On Sun, Apr 24, 2016 at 10:48:55PM +0200, Noralf Trønnes wrote: Add some utility functions for struct drm_clip_rect. Looks like mostly you're

Re: [PATCH] mfd: twl4030-power: Fix driver path in file comment

2016-04-25 Thread Lee Jones
On Tue, 19 Apr 2016, Javier Martinez Canillas wrote: > The driver's file path in the comment is wrong, use the correct one. > > Signed-off-by: Javier Martinez Canillas > > --- > > drivers/mfd/twl4030-power.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >

[PATCH] rtlwifi: rtl818x: Deinline indexed IO functions, save 21568 bytes

2016-04-25 Thread Denys Vlasenko
rtl818x_ioread8_idx: 151 bytes, 29 calls rtl818x_ioread16_idx: 151 bytes, 11 calls rtl818x_ioread32_idx: 151 bytes, 5 calls rtl818x_iowrite8_idx: 157 bytes, 117 calls rtl818x_iowrite16_idx: 158 bytes, 74 calls rtl818x_iowrite32_idx: 157 bytes, 22 calls Each of these functions has a pair of mutex

Re: [PATCH 3.12 00/78] 3.12.59-stable review

2016-04-25 Thread Shuah Khan
On 04/22/2016 05:05 AM, Jiri Slaby wrote: > This is the start of the stable review cycle for the 3.12.59 release. > There are 78 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

Re: [PATCH] mfd: intel_quark_i2c_gpio: Remove CLK_IS_ROOT

2016-04-25 Thread Lee Jones
On Tue, 19 Apr 2016, Stephen Boyd wrote: > This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate > CLK_IS_ROOT", 2016-02-02) so remove it. > > Cc: Andy Shevchenko > Signed-off-by: Stephen Boyd > --- >

[PATCH v7 12/15] i2c: octeon: Split the driver into two parts

2016-04-25 Thread Jan Glauber
Move common functionality into a separate file in preparation of the re-use from the ThunderX i2c driver. Signed-off-by: Jan Glauber --- drivers/i2c/busses/Makefile | 3 +- drivers/i2c/busses/i2c-cavium.c | 799 +

  1   2   3   4   5   6   7   8   9   10   >