Re: [PATCH 21/60] staging: lustre: ptlrpc: correct use of list_add_tail()

2017-01-31 Thread Dan Carpenter
On Sat, Jan 28, 2017 at 07:04:49PM -0500, James Simmons wrote: > From: "John L. Hammond" > > In sptlrpc_gc_add_sec() swap the arguments to list_add_tail() so that > it does what we meant it to do. > Huh... This is from before lustre was merged into staging. What are

Re: [PATCH v2] clk: add more managed APIs

2017-01-31 Thread Geert Uytterhoeven
Hi Günter, On Mon, Jan 30, 2017 at 11:51 PM, Guenter Roeck wrote: > On Mon, Jan 30, 2017 at 09:42:28PM +, Russell King - ARM Linux wrote: >> On Mon, Jan 30, 2017 at 11:22:14AM -0800, Guenter Roeck wrote: >> > Maybe the additional calls make sense; I can imagine they

Re: [PATCH 14/60] staging: lustre: lov: Ensure correct operation for large object sizes

2017-01-31 Thread Dan Carpenter
On Sat, Jan 28, 2017 at 07:04:42PM -0500, James Simmons wrote: > From: Nathaniel Clark > > If a backing filesystem (ZFS) returns that it supports very large > (LLONG_MAX) object sizes, that should be correctly supported. This > fixes the check for unitialized

Re: [PATCH] powerpc/mm: fix a hardcode on memory boundary checking

2017-01-31 Thread Michael Ellerman
Rui Teng writes: > The offset of hugepage block will not be 16G, if the expected > page is more than one. Calculate the totol size instead of the > hardcode value. I assume you found this by code inspection and not by triggering an actual bug? cheers > diff --git

Re: [PATCH v3] PCI: Xilinx NWL: Modifying irq chip for legacy interrupts

2017-01-31 Thread Marc Zyngier
On Tue, Jan 31 2017 at 08:59:12 AM, Bharat Kumar Gogada wrote: > - Adding mutex lock for protecting legacy mask register > - Few wifi end points which only support legacy interrupts, > performs hardware reset functionalities after disabling interrupts > by

Re: [tip:core/rcu] lockdep: Make RCU suspicious-access splats use pr_err

2017-01-31 Thread Dmitry Vyukov
On Tue, Jan 31, 2017 at 9:51 AM, Ingo Molnar wrote: > > * Dmitry Vyukov wrote: > >> On Tue, Jan 31, 2017 at 8:54 AM, tip-bot for Paul E. McKenney >> wrote: >> > Commit-ID: 4d4f88fa235f7f9ef8213564dc1804144332238b >> > Gitweb: >> >

Re: mm: sleeping function called from invalid context shmem_undo_range

2017-01-31 Thread Kirill A. Shutemov
On Tue, Jan 31, 2017 at 09:27:41AM +0100, Dmitry Vyukov wrote: > Hello, > > I've got the following report while running syzkaller fuzzer on > fd694aaa46c7ed811b72eb47d5eb11ce7ab3f7f1: This should help: >From fb85b3fe273decb11c558d56257193424b8f071a Mon Sep 17 00:00:00 2001 From: "Kirill A.

Re: [PULL v2] ARM: DTS: Fix broken GICv2 register maps

2017-01-31 Thread Marc Zyngier
On Tue, Jan 31 2017 at 05:06:48 AM, Olof Johansson wrote: > Hi Marc, > > On Mon, Jan 30, 2017 at 08:53:09AM +, Marc Zyngier wrote: >> ARM-soc folks, >> >> Please find below the pull request for a DT fix affecting a large >> number of 32bit platforms, which has been acked by

[PATCH 14/17] net: stmmac: print phy information

2017-01-31 Thread Corentin Labbe
When a PHY is found, printing which one was found (and which type/model) is a good information to know. Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH] [RFC] fs: Possible filp_open race experiment

2017-01-31 Thread Marek Vasut
On 01/31/2017 08:05 AM, Greg Kroah-Hartman wrote: > On Tue, Jan 31, 2017 at 06:29:36AM +0100, Marek Vasut wrote: >> +CC Greg, LKML as I don't quite know where this should go. > > You do know about linux-fsdevel, right? No, wasn't aware of it, sorry. >> On 01/18/2017 12:16 AM, Marek Vasut wrote:

Re: [PATCH v3 00/24] i.MX Media Driver

2017-01-31 Thread Philipp Zabel
On Mon, 2017-01-30 at 13:06 +, Russell King - ARM Linux wrote: > > The central issue seems to be that I think media pad links / media bus > > formats should describe physical links, such as parallel or serial > > buses, and the formats of pixels flowing through them, whereas Steve > > would

Re: [PATCH 16/17] net: stmmac: remove unused variable in sysfs_display_ring

2017-01-31 Thread Giuseppe CAVALLARO
On 1/31/2017 10:11 AM, Corentin Labbe wrote: The u64 x variable in sysfs_display_ring is unused. This patch remove it. Signed-off-by: Corentin Labbe well spot Acked-by: Giuseppe Cavallaro ---

Re: [PATCH v3 00/24] i.MX Media Driver

2017-01-31 Thread Russell King - ARM Linux
On Mon, Jan 30, 2017 at 05:22:01PM -0800, Steve Longerbeam wrote: > Edit: I see a subdev that is missing: the video mux. Did you enable > CONFIG_VIDEO_MULTIPLEXER? Yes, and that's where the problem is - the video-multiplexer is missing the module aliases to allow it to be automatically loaded.

Re: [PATCH v2 1/2] iommu/dma: Add support for DMA_ATTR_FORCE_CONTIGUOUS

2017-01-31 Thread Geert Uytterhoeven
Hi Robin, On Fri, Jan 27, 2017 at 6:50 PM, Robin Murphy wrote: > On 27/01/17 15:34, Geert Uytterhoeven wrote: >> Add helpers for allocating physically contiguous DMA buffers to the >> generic IOMMU DMA code. This can be useful when two or more devices >> with different

Re: [PATCH] Staging: omap4iss: fix coding style issues

2017-01-31 Thread Laurent Pinchart
On Tuesday 31 Jan 2017 12:42:51 Sakari Ailus wrote: > On Mon, Jan 30, 2017 at 07:47:40PM +0200, Laurent Pinchart wrote: > > > @@ -678,8 +679,8 @@ iss_video_get_selection(struct file *file, void *fh, > > > struct v4l2_selection *sel) if (subdev == NULL) > > > > > > return -EINVAL; > > >

Re: [PATCH] [RFC] fs: Possible filp_open race experiment

2017-01-31 Thread Greg Kroah-Hartman
On Tue, Jan 31, 2017 at 11:08:05AM +0100, Marek Vasut wrote: > On 01/31/2017 08:05 AM, Greg Kroah-Hartman wrote: > > On Tue, Jan 31, 2017 at 06:29:36AM +0100, Marek Vasut wrote: > >> +CC Greg, LKML as I don't quite know where this should go. > > > > You do know about linux-fsdevel, right? > >

Re: Q: lockdep_assert_held_read() after downgrade_write()

2017-01-31 Thread Peter Zijlstra
On Mon, Jan 30, 2017 at 02:30:45PM -0700, Jens Axboe wrote: > On 01/30/2017 02:25 PM, J. R. Okajima wrote: > > Peter Zijlstra, > > > > May I ask you a question? > > v4.10-rc1 got a commit > > f831948 2016-11-30 locking/lockdep: Provide a type check for > > lock_is_held > > I've tested a

Re: [PATCH 001] staging: wlan-ng: Add tabstop preceding the statement

2017-01-31 Thread Maksymilian Piechota
On Mon, Jan 30, 2017 at 08:00:36PM -0800, Joe Perches wrote: > On Mon, 2017-01-30 at 17:44 +0100, Greg Kroah-Hartman wrote: > > On Mon, Jan 30, 2017 at 11:31:42AM -0500, Maksymilian Piechota wrote: > > > This patch fixes the checkpatch.pl warning: > > > > > > WARNING: Statements should start on a

Re: [PATCH] arm: mvebu: Fix whitespace in armada-xp-98dx3236.dtsi

2017-01-31 Thread Gregory CLEMENT
Hi Chris, On mar., janv. 31 2017, Chris Packham wrote: > Change sequences of 8 spaces to hard-tabs. > > Signed-off-by: Chris Packham Here again I directly squashed this patch in "ARM: dts: mvebu: Add device tree for

Re: [PATCH v3 3/8] ASoC: Add sun8i digital audio codec

2017-01-31 Thread kbuild test robot
: https://github.com/0day-ci/linux/commits/Myl-ne-Josserand/Add-sun8i-A33-audio-driver/20170131-181539 coccinelle warnings: (new ones prefixed by >>) >> sound/soc/sunxi/sun8i-codec.c:487:3-8: No need to set .owner here. The core >> will do it. Please review and possibly fold

Re: [PATCH v2] drm: remove unnecessary fault wrappers

2017-01-31 Thread Daniel Vetter
On Mon, Jan 30, 2017 at 03:14:38PM -0700, Ross Zwisler wrote: > On Mon, Jan 30, 2017 at 03:09:39PM -0700, Ross Zwisler wrote: > > > This patch applies cleanly to mmots/master, which is currently at > > v4.10-rc5-mmots-2017-01-26-15-49. > > Which may not be what you want... The reason I was

Re: [PATCH v8 2/3] drm/panel: Add support for S6E3HA2 panel driver on TM2 board

2017-01-31 Thread Inki Dae
2017년 01월 31일 17:54에 Thierry Reding 이(가) 쓴 글: > On Tue, Jan 31, 2017 at 09:01:07AM +0900, Inki Dae wrote: >> >> >> 2017년 01월 24일 10:50에 Hoegeun Kwon 이(가) 쓴 글: >>> Dear Thierry, >>> >>> Could you please review this patch? >> >> Thierry, I think this patch has been reviewed enough but no comment

[PATCH 04/17] net: stmmac: remove freesoftware address

2017-01-31 Thread Corentin Labbe
This patch fix the checkpatch warning about free software address. Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/chain_mode.c | 4 drivers/net/ethernet/stmicro/stmmac/common.h | 4

Re: [GIT PULL] phy: for 4.11

2017-01-31 Thread Greg KH
On Mon, Jan 30, 2017 at 05:19:23PM +0530, Kishon Vijay Abraham I wrote: > Hi Greg, > > Please find the phy pull request for 4.11 merge window below. > > This adds couple of Qualcomm PHY drivers (HSIC and HS) and a > USB3 phy driver used in Broadcom NSP SoC. This also includes minor > fixes and

Re: [PATCH 00/17] net: stmmac: misc fix

2017-01-31 Thread Giuseppe CAVALLARO
Hello Corentin On 1/31/2017 10:11 AM, Corentin Labbe wrote: Hello I am currently working on dwmac-sun8i glue driver for Allwinner H3/A83T/A64. This serie is the result of all minor problem found in the stmmac driver. thank for this effort, many changes are to tidy up some part of the code so

Re: [PATCH v3] PCI: Xilinx NWL: Modifying irq chip for legacy interrupts

2017-01-31 Thread Marc Zyngier
On Tue, Jan 31 2017 at 09:34:43 AM, Bharat Kumar Gogada wrote: > > On Tue, Jan 31 2017 at 08:59:12 AM, Bharat Kumar Gogada >> wrote: >> > - Adding mutex lock for protecting legacy mask register >> > - Few wifi end points which

Re: [PATCH 01/11] [media] s5p-mfc: Rename IS_MFCV8 macro

2017-01-31 Thread Smitha T Murthy
On Wed, 2017-01-18 at 15:51 +0100, Andrzej Hajda wrote: > On 18.01.2017 11:01, Smitha T Murthy wrote: > > This patch renames macro IS_MFCV8 to IS_MFCV8_PLUS so that the MFCv8 > > code can be resued for MFCv10.10 support. Since the MFCv8 specific code > > holds good for MFC v10.10 also. > > > >

[PATCH v2] drm/color: Document CTM eqations

2017-01-31 Thread Brian Starkey
Explicitly state the expected CTM equations in the kerneldoc for the CTM property, and the form of the matrix on struct drm_color_ctm. Cc: Ville Syrjälä Cc: Lionel Landwerlin Cc: Daniel Vetter Signed-off-by:

Re: [PATCH v3 5/8] ASoC: codecs: Add sun8i-a33 binding documentation

2017-01-31 Thread Maxime Ripard
On Tue, Jan 31, 2017 at 11:05:49AM +0100, Mylène Josserand wrote: > Add the documentation for dt-binding of the digital audio codec driver > and the audio card driver for Sun8i-a33 SoCs. > > Signed-off-by: Mylène Josserand Acked-by: Maxime Ripard

Re: [PATCH 15/17] net: stmmac: remove dead code in stmmac_tx_clean

2017-01-31 Thread Giuseppe CAVALLARO
On 1/31/2017 10:11 AM, Corentin Labbe wrote: Since commit cf32deec16e4 ("stmmac: add tx_skbuff_dma to save descriptors used by PTP"), the struct dma_desc *p in stmmac_tx_clean was not used at all. This patch remove this dead code. Signed-off-by: Corentin Labbe

Re: [PATCH v8 2/3] drm/panel: Add support for S6E3HA2 panel driver on TM2 board

2017-01-31 Thread Krzysztof Kozlowski
On Tue, Jan 31, 2017 at 12:37 PM, Inki Dae wrote: > 2017-01-31 19:01 GMT+09:00 Krzysztof Kozlowski : >> On Tue, Jan 31, 2017 at 11:34 AM, Inki Dae wrote: >>> >>> >>> 2017년 01월 31일 18:22에 Krzysztof Kozlowski 이(가) 쓴 글: On Tue, Jan 31,

Re: [PATCH v2 16/25] dt-bindings: power: supply: add AXP20X/AXP22X battery DT binding

2017-01-31 Thread Quentin Schulz
Hi, On 29/01/2017 17:47, Sebastian Reichel wrote: > Hi, > > On Fri, Jan 27, 2017 at 09:54:49AM +0100, Quentin Schulz wrote: >> - added x-powers,constant-charge-current property to set the >> maximal default constant current charge of the battery, > > Since this is information about the

Re: [PATCH -next] platform: x86: fix silead_dmi build error and depends

2017-01-31 Thread Hans de Goede
Hi, On 31-01-17 01:44, Randy Dunlap wrote: From: Randy Dunlap This driver cannot be built as a loadable module, so it should not be built unless I2C=y and INPUT=y. Fixes this build error: drivers/built-in.o: In function `silead_ts_dmi_init':

Re: ibmvtpm byteswapping inconsistency

2017-01-31 Thread Michael Ellerman
Tyrel Datwyler writes: > On 01/29/2017 08:32 PM, Michael Ellerman wrote: >> Tyrel Datwyler writes: >>> >>> Byte | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 >>>

[PATCH] x86/mce: Make timer handling more robust

2017-01-31 Thread Thomas Gleixner
Erik reported that on a preproduction hardware a CMCI storm triggers the BUG_ON in add_timer_on(). The reason is that the per CPU MCE timer is started by the CMCI logic before the MCE cpu hotplug callback starts the timer with add_timer_on(). So the timer is already queued which triggers the BUG.

Re: [PATCH v8 2/3] drm/panel: Add support for S6E3HA2 panel driver on TM2 board

2017-01-31 Thread Thierry Reding
On Tue, Jan 31, 2017 at 09:01:07AM +0900, Inki Dae wrote: > > > 2017년 01월 24일 10:50에 Hoegeun Kwon 이(가) 쓴 글: > > Dear Thierry, > > > > Could you please review this patch? > > Thierry, I think this patch has been reviewed enough but no comment > from you. Seems you are busy. I will pick up this.

Re: WARNING: CPU: 1 PID: 15 at kernel/sched/sched.h:804 assert_clock_updated.isra.62.part.63+0x25/0x27

2017-01-31 Thread Ingo Molnar
* Mike Galbraith wrote: > On Tue, 2017-01-31 at 08:28 +0100, Ingo Molnar wrote: > > * Mike Galbraith wrote: > > > > > On Mon, 2017-01-30 at 11:59 +, Matt Fleming wrote: > > > > On Sat, 28 Jan, at 08:21:05AM, Mike Galbraith wrote: > > > > > Running Steven's

[PATCH 17/17] net: stmmac: replace unsigned by u32

2017-01-31 Thread Corentin Labbe
checkpatch complains about two unsigned without type after. Since the value return is u32, it is simpler to replace it by u32 instead of "unsigned int" Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 4 ++-- 1 file changed, 2

[PATCH] PCI: Xilinx NWL: Remove mask for messages not supported by AXI

2017-01-31 Thread Bharat Kumar Gogada
- Removing support for vendor defined messages which are not suppoerted by AXI Signed-off-by: Bharat Kumar Gogada --- drivers/pci/host/pcie-xilinx-nwl.c | 14 +- 1 files changed, 1 insertions(+), 13 deletions(-) diff --git a/drivers/pci/host/pcie-xilinx-nwl.c

[PATCH 13/17] net: stmmac: Implement NAPI for TX

2017-01-31 Thread Corentin Labbe
The stmmac driver run TX completion under NAPI but without checking the work done by the TX completion function. This patch add work/budget to the TX completion function. The visible effect is that it keep the driver longer under NAPI and boost performance. Under dwmac-sun8i the iperf goes from

[PATCH nf-next v2] netfilter: allow logging from non-init namespaces

2017-01-31 Thread Michal Kubecek
Commit 69b34fb996b2 ("netfilter: xt_LOG: add net namespace support for xt_LOG") disabled logging packets using the LOG target from non-init namespaces. The motivation was to prevent containers from flooding kernel log of the host. The plan was to keep it that way until syslog namespace

[PATCH v3 3/8] ASoC: Add sun8i digital audio codec

2017-01-31 Thread Mylène Josserand
Add the sun8i audio codec which handles the digital register of A33 codec. The driver handles only the basic playback from the DAC to headphones. All other features (microphone, capture, etc) will be added later. Signed-off-by: Mylène Josserand ---

Re: [PATCH 12/17] net: stmmac: rename rx_crc to rx_crc_errors

2017-01-31 Thread Giuseppe CAVALLARO
On 1/31/2017 10:11 AM, Corentin Labbe wrote: The ethtool stat counter rx_crc from stmmac is mis-named, the name seems to speak about the number of RX CRC done, but in fact it is about errors. This patch rename it to rx_crc_errors, just like the same ifconfig counter. Signed-off-by: Corentin

[PATCH v3 1/8] ASoC: sun4i-i2s: Update binding documentation to include A31

2017-01-31 Thread Mylène Josserand
Add a new compatible for sun4i-i2s driver to handle some SoCs that have a reset line that must be asserted/deasserted. This new compatible, "allwinner,sun6i-a31-i2s", requires the property "resets" which should be a phandle to the reset line. Except these differences, the compatible is identical

[PATCH v3 2/8] ASoC: sun4i-i2s: Add quirks to handle a31 compatible

2017-01-31 Thread Mylène Josserand
Some SoCs have a reset line that must be asserted/deasserted. This patch adds a quirk to handle the new compatible "allwinner,sun6i-a31-i2s" which will deassert the reset line on probe function and assert it on remove's one. This new compatible is useful in case of A33 codec driver, for example.

[PATCH v3 7/8] ARM: dts: sun8i: parrot: Enable audio nodes

2017-01-31 Thread Mylène Josserand
Enable the audio codec and the audio dai for the sun8i R16 Parrot board. Signed-off-by: Mylène Josserand --- arch/arm/boot/dts/sun8i-r16-parrot.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-r16-parrot.dts

Re: [PATCH 10/17] net: stmmac: Correct the error message about invalid speed

2017-01-31 Thread Giuseppe CAVALLARO
On 1/31/2017 10:11 AM, Corentin Labbe wrote: Add 1000 as a valid speed in the error message about invalid speed in stmmac_adjust_link() Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v3 8/8] ARM: dts: sun8i: sinlinx: Enable audio nodes

2017-01-31 Thread Mylène Josserand
Enable the audio codec and the audio dai for the sun8i A33 sinlinx board. Signed-off-by: Mylène Josserand --- arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts | 12 1 file changed, 12 insertions(+) diff --git

Re: [PATCH v3 4/8] ASoC: sun8i-codec-analog: Add amplifier event to fix first delay

2017-01-31 Thread Maxime Ripard
On Tue, Jan 31, 2017 at 11:05:48AM +0100, Mylène Josserand wrote: > When playing a sound for the first time, a short delay, where the audio > file is not played, can be noticed. > On a second play (right after), the sound is played correctly. > If we wait a short time (~5 sec which corresponds to

Re: [PATCH v3 3/8] ASoC: Add sun8i digital audio codec

2017-01-31 Thread Maxime Ripard
On Tue, Jan 31, 2017 at 11:05:47AM +0100, Mylène Josserand wrote: > Add the sun8i audio codec which handles the digital register of > A33 codec. > The driver handles only the basic playback from the DAC to headphones. > All other features (microphone, capture, etc) will be added later. > >

Re: [PATCH 2/3] mmc: host: omap_hsmmc: use generic_cmd6_time to program timeout value for CMD6

2017-01-31 Thread Ulf Hansson
[...] >>> + /* >>> +* Set an arbitrary 100ms data timeout for >>> commands with >>> +* busy signal and no indication of busy_timeout. >>> +*/ >>> + if (!timeout) >> >> This is a bug

Re: [Intel-gfx] [Linux v4.10.0-rc1+] Still call-traces after suspend-resume (pm? i915? cpu/hotplug?)

2017-01-31 Thread Imre Deak
Hi Rafael, On Mon, Jan 30, 2017 at 11:44:37PM +0100, Rafael J. Wysocki wrote: > On 1/24/2017 2:33 AM, Sedat Dilek wrote: > >On Fri, Dec 30, 2016 at 3:02 PM, Rafael J. Wysocki wrote: > >>On Fri, Dec 30, 2016 at 12:40 PM, Sedat Dilek wrote: > >>>Hi, > >>>

Re: [PATCH] dt-bindings: mmc: sunxi: Document A64 eMMC compatible

2017-01-31 Thread Ulf Hansson
On 30 January 2017 at 14:27, Maxime Ripard wrote: > We introduced recently a new compatible to deal with the A64 eMMC > controller, let's document its binding. > > Signed-off-by: Maxime Ripard Thanks, applied for next! I also

Re: [PATCH 001] staging: wlan-ng: Add tabstop preceding the statement

2017-01-31 Thread Joe Perches
On Tue, 2017-01-31 at 06:04 -0500, Maksymilian Piechota wrote: > On Mon, Jan 30, 2017 at 08:00:36PM -0800, Joe Perches wrote: > > On Mon, 2017-01-30 at 17:44 +0100, Greg Kroah-Hartman wrote: > > > On Mon, Jan 30, 2017 at 11:31:42AM -0500, Maksymilian Piechota wrote: > > > > This patch fixes the

Re: WARNING: CPU: 1 PID: 15 at kernel/sched/sched.h:804 assert_clock_updated.isra.62.part.63+0x25/0x27

2017-01-31 Thread Mike Galbraith
On Tue, 2017-01-31 at 09:54 +0100, Ingo Molnar wrote: > > Fast ain't gonna happen, 5bf728f02218 bricked. > > :-/ > > Next point would be f9a42e0d58cf I suspect, to establish that Linus's latest > kernel is fine. That means it's in one of the ~200 -tip commits - should be > bisectable in 8-10

[PATCH v2 1/4] perf tools: Create for_each_event macro for tracepoints iteration

2017-01-31 Thread Taeung Song
Such as for_each_subsystem and for_each_event in util/parse-events.c, add new macros 'for_each_event' for easy iteration over the tracepoints in order to be more compact and readable. Cc: Steven Rostedt Cc: Frederic Weisbecker Cc: Jiri Olsa

Re: [Intel-gfx] [Linux v4.10.0-rc1+] Still call-traces after suspend-resume (pm? i915? cpu/hotplug?)

2017-01-31 Thread Rafael J. Wysocki
On 1/31/2017 11:58 AM, Imre Deak wrote: Hi Rafael, Hi, On Mon, Jan 30, 2017 at 11:44:37PM +0100, Rafael J. Wysocki wrote: On 1/24/2017 2:33 AM, Sedat Dilek wrote: On Fri, Dec 30, 2016 at 3:02 PM, Rafael J. Wysocki wrote: On Fri, Dec 30, 2016 at 12:40 PM, Sedat Dilek

[PATCH v2 3/4] perf tools: Check NULL after zalloc() and Use zfree() instead of free() in parse-events.c

2017-01-31 Thread Taeung Song
Currently there are several parts not checking NULL after allocating with zalloc() or asigning NULL value to a pointer variable after doing free(). So I fill in code checking NULL and use zfree() instead of free(). Cc: Namhyung Kim Cc: Jiri Olsa

[PATCH v2 4/4] perf tools: Increase index if perf_evsel__new_idx() succeeded

2017-01-31 Thread Taeung Song
Cc: Jiri Olsa Cc: Namhyung Kim Signed-off-by: Taeung Song --- tools/perf/util/parse-events.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c

Re: [PATCH 1/2] gpio: Rename devm_get_gpiod_from_child()

2017-01-31 Thread Boris Brezillon
On Mon, 30 Jan 2017 17:06:07 -0800 Dmitry Torokhov wrote: > On Mon, Jan 30, 2017 at 04:41:48PM +0100, Boris Brezillon wrote: > > Rename devm_get_gpiod_from_child() into > > devm_fwnode_get_gpiod_from_child() to reflect the fact that this > > function is operating on a

RE: [PATCH v5 0/2] PM / devfreq: Change the device name on sysfs entry

2017-01-31 Thread MyungJoo Ham
>These patches change the name of sysfs entry for devfreq/devfreq-event device >as following: >- old >For devfreq, /sys/class/devfreq/[non-standard device name] >For devfreq-event, /sys/class/devfreq-event/event.(X) > >- new >For devfreq, /sys/class/devfreq/devfreq(X) >For devfreq-event,

mm: sleeping function called from invalid context shmem_undo_range

2017-01-31 Thread Dmitry Vyukov
Hello, I've got the following report while running syzkaller fuzzer on fd694aaa46c7ed811b72eb47d5eb11ce7ab3f7f1: BUG: sleeping function called from invalid context at mm/shmem.c:852 in_atomic(): 1, irqs_disabled(): 0, pid: 529, name: khugepaged 3 locks held by khugepaged/529: #0:

[PATCH 09/17] net: stmmac: replace ENOSYS by EINVAL

2017-01-31 Thread Corentin Labbe
As said by checkpatch ENOSYS means 'invalid syscall nr' and nothing else. This patch replace ENOSYS by the more appropriate value EINVAL. Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH 02/11] [media] s5p-mfc: Adding initial support for MFC v10.10

2017-01-31 Thread Smitha T Murthy
On Wed, 2017-01-18 at 16:10 +0100, Andrzej Hajda wrote: > On 18.01.2017 11:02, Smitha T Murthy wrote: > > Adding the support for MFC v10.10, with new register file and > > necessary hw control, decoder, encoder and structural changes. > > > > CC: Rob Herring > > CC:

Re: [PATCH] [media] s5p-mfc: Align stream buffer and CPB buffer to 512

2017-01-31 Thread Smitha T Murthy
On Wed, 2017-01-18 at 15:37 +0100, Andrzej Hajda wrote: > Hi Smitha, > > On 18.01.2017 10:37, Smitha T Murthy wrote: > > >From MFCv6 onwards encoder stream buffer and decoder CPB buffer > > Unexpected char at the beginning. > > > need to be aligned with 512. > > Patch below adds checks only

[PATCH 05/17] net: stmmac: remplace asm/io.h by linux/io.h

2017-01-31 Thread Corentin Labbe
This patch fix the checkpatch warning about asm/io.h. Sorting all includes in the process. Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: stmmac: GMAC_RGSMIIIS reports bogus values

2017-01-31 Thread Giuseppe CAVALLARO
On 1/27/2017 11:23 AM, Alexey Brodkin wrote: That's why my initial proposal was to ignore whatever we read from this register if we have MDIO bus instantiated already. sorry for my late reply, I agree with this approach, according to the HW and platform configuration the driver has to

Re: [PATCH 02/17] net: stmmac: Remove the bus_setup function pointer

2017-01-31 Thread Giuseppe CAVALLARO
On 1/31/2017 10:11 AM, Corentin Labbe wrote: The bus_setup function pointer is not used at all, this patch remove it. indeed this was used and documented on some previous kernels where some ST40/SH4 platforms (w/o DT). It's ok to remove it in the new MAC generation; I do not think that ST

Re: [PATCH 17/17] net: stmmac: replace unsigned by u32

2017-01-31 Thread Giuseppe CAVALLARO
On 1/31/2017 10:11 AM, Corentin Labbe wrote: checkpatch complains about two unsigned without type after. Since the value return is u32, it is simpler to replace it by u32 instead of "unsigned int" Signed-off-by: Corentin Labbe Acked-by: Giuseppe Cavallaro

Re: [PATCH 00/17] net: stmmac: misc fix

2017-01-31 Thread Giuseppe CAVALLARO
On 1/31/2017 11:23 AM, Joao Pinto wrote: Hi Peppe, Às 10:00 AM de 1/31/2017, Giuseppe CAVALLARO escreveu: Hello Corentin On 1/31/2017 10:11 AM, Corentin Labbe wrote: Hello I am currently working on dwmac-sun8i glue driver for Allwinner H3/A83T/A64. This serie is the result of all minor

Re: [PATCH v3 1/1] DM: inplace compressed DM target

2017-01-31 Thread kbuild test robot
/20170131-154811 base: https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next config: cris-allyesconfig (attached as .config) compiler: cris-linux-gcc (GCC) 6.2.0 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross

Re: [PATCH 0/3] mmc: host: omap_hsmmc: miscellaneous fixes

2017-01-31 Thread Ulf Hansson
On 31 January 2017 at 11:34, Ravikumar wrote: > > > On Tuesday 31 January 2017 03:45 PM, Ulf Hansson wrote: >> >> On 30 January 2017 at 11:11, Ravikumar Kattekola wrote: >>> >>> A few issues have been identified during mmc testing and following >>> set of patches fixes

Re: [PATCH V6 4/5] LPC: Support the device-tree LPC host on Hip06/Hip07

2017-01-31 Thread Alexander Graf
On 31/01/2017 11:07, John Garry wrote: On 30/01/2017 20:08, Alexander Graf wrote: Alex, Thanks for checking. On 24/01/2017 08:05, zhichang.yuan wrote: The low-pin-count(LPC) interface of Hip06/Hip07 accesses the peripherals in I/O port addresses. This patch implements the LPC host

scsi: BUG in scsi_init_io

2017-01-31 Thread Dmitry Vyukov
Hello, The following program triggers BUG in scsi_init_io: kernel BUG at drivers/scsi/scsi_lib.c:1043! invalid opcode: [#1] SMP KASAN Modules linked in: CPU: 0 PID: 2899 Comm: a.out Not tainted 4.10.0-rc5+ #201 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011

Re: [PATCH 1/2] gpio: Rename devm_get_gpiod_from_child()

2017-01-31 Thread Boris Brezillon
On Tue, 31 Jan 2017 01:11:55 -0800 Dmitry Torokhov wrote: > On Tue, Jan 31, 2017 at 10:07:21AM +0100, Boris Brezillon wrote: > > On Tue, 31 Jan 2017 00:44:47 -0800 > > Dmitry Torokhov wrote: > > > > > On Tue, Jan 31, 2017 at 09:04:32AM

[PATCH 15/17] net: stmmac: remove dead code in stmmac_tx_clean

2017-01-31 Thread Corentin Labbe
Since commit cf32deec16e4 ("stmmac: add tx_skbuff_dma to save descriptors used by PTP"), the struct dma_desc *p in stmmac_tx_clean was not used at all. This patch remove this dead code. Signed-off-by: Corentin Labbe ---

[PATCH v3 6/8] ARM: dts: sun8i: Add audio codec, dai and card for A33

2017-01-31 Thread Mylène Josserand
Add the audio codec, dai and a simple card to be able to use the audio stream of the builtin codec on sun8i SoC. This commit adds also an audio-routing for the sound card node to link the analog DAPM widgets (Right/Left DAC) and the digital one's as they are created in different drivers.

[PATCH v3 0/8] Add sun8i A33 audio driver

2017-01-31 Thread Mylène Josserand
Hello everyone, This a V3 of my Allwinner A33 (sun8i) audio codec driver. Tested on linux-next-20170131 tag. Changes since V2: - Removed patches from v2 already merged: commit ebad64d193779 ("ASoC: sun4i-i2s: Increase DMA max burst to 8") commit 603a0c8af9cb2 (&

[PATCH v3 4/8] ASoC: sun8i-codec-analog: Add amplifier event to fix first delay

2017-01-31 Thread Mylène Josserand
When playing a sound for the first time, a short delay, where the audio file is not played, can be noticed. On a second play (right after), the sound is played correctly. If we wait a short time (~5 sec which corresponds to the aplay timeout), the delay is back. This patch fixes it by using an

[PATCH v3 5/8] ASoC: codecs: Add sun8i-a33 binding documentation

2017-01-31 Thread Mylène Josserand
Add the documentation for dt-binding of the digital audio codec driver and the audio card driver for Sun8i-a33 SoCs. Signed-off-by: Mylène Josserand --- .../devicetree/bindings/sound/sun8i-a33-codec.txt | 75 ++ 1 file changed, 75

Re: squashfs-tools: Add -offset option to skip n bytes at the start of the file

2017-01-31 Thread Ritesh Raj Sarraf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hello Phillip, Good to hear from you. When the emails bounced, I was wondering if you are still active or not. On Tue, 2017-01-31 at 02:57 +, Phillip Lougher wrote: > > The repo at kernel.org is the official repo.  It hasn't been updated in a

Re: [PATCH 14/17] net: stmmac: print phy information

2017-01-31 Thread Giuseppe CAVALLARO
On 1/31/2017 10:11 AM, Corentin Labbe wrote: When a PHY is found, printing which one was found (and which type/model) is a good information to know. Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 1 + 1 file changed, 1

Re: [PATCH 03/17] net: stmmac: fix some typos in comments

2017-01-31 Thread Giuseppe CAVALLARO
On 1/31/2017 10:11 AM, Corentin Labbe wrote: This patch fix some typos in comments. Signed-off-by: Corentin Labbe Acked-by: Giuseppe Cavallaro --- drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c | 6 +++---

Re: [PATCH 00/17] net: stmmac: misc fix

2017-01-31 Thread Joao Pinto
Às 10:33 AM de 1/31/2017, Giuseppe CAVALLARO escreveu: > On 1/31/2017 11:23 AM, Joao Pinto wrote: >> >> Hi Peppe, >> >> Às 10:00 AM de 1/31/2017, Giuseppe CAVALLARO escreveu: >>> Hello Corentin >>> >>> On 1/31/2017 10:11 AM, Corentin Labbe wrote: Hello I am currently working on

Re: [PATCH 07/17] net: stmmac: replace stmmac_mdio_busy_wait by readl_poll_timeout

2017-01-31 Thread Giuseppe CAVALLARO
On 1/31/2017 10:11 AM, Corentin Labbe wrote: The stmmac_mdio_busy_wait() function do the same job than readl_poll_timeout(). So is is better to replace it. Signed-off-by: Corentin Labbe I just wonder if you also tested it, this impacts all the platforms where SMA

Re: [PATCH v8 2/3] drm/panel: Add support for S6E3HA2 panel driver on TM2 board

2017-01-31 Thread Inki Dae
2017-01-31 19:01 GMT+09:00 Krzysztof Kozlowski : > On Tue, Jan 31, 2017 at 11:34 AM, Inki Dae wrote: >> >> >> 2017년 01월 31일 18:22에 Krzysztof Kozlowski 이(가) 쓴 글: >>> On Tue, Jan 31, 2017 at 2:01 AM, Inki Dae wrote: 2017년

Re: [PATCH 07/17] net: stmmac: replace stmmac_mdio_busy_wait by readl_poll_timeout

2017-01-31 Thread Giuseppe CAVALLARO
On 1/31/2017 11:39 AM, Corentin Labbe wrote: On Tue, Jan 31, 2017 at 11:13:49AM +0100, Giuseppe CAVALLARO wrote: On 1/31/2017 10:11 AM, Corentin Labbe wrote: The stmmac_mdio_busy_wait() function do the same job than readl_poll_timeout(). So is is better to replace it. Signed-off-by: Corentin

Re: [PATCH v4 3/7] x86: put msr-index.h in uapi

2017-01-31 Thread Nicolas Dichtel
Le 30/01/2017 à 15:51, Russell King - ARM Linux a écrit : > On Mon, Jan 23, 2017 at 05:52:45PM +0100, Borislav Petkov wrote: >> On Mon, Jan 23, 2017 at 03:58:37PM +0100, Nicolas Dichtel wrote: >>> This header file is exported, thus move it to uapi. >> >> Why? Why is this damn thing exported in the

Re: [PATCH 06/14] s390/qeth: use atomic_dec_not_zero()

2017-01-31 Thread Ursula Braun
ACK - compile-tested successfully on s390. On 01/30/2017 07:47 PM, Fabian Frederick wrote: > instead of atomic_add_unless(value, -1, 0) > > Signed-off-by: Fabian Frederick > --- > drivers/s390/net/qeth_core_main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >

Re: WARNING: CPU: 1 PID: 15 at kernel/sched/sched.h:804 assert_clock_updated.isra.62.part.63+0x25/0x27

2017-01-31 Thread Mike Galbraith
On Tue, 2017-01-31 at 08:45 +0100, Ingo Molnar wrote: > * Mike Galbraith wrote: > > > On Tue, 2017-01-31 at 08:28 +0100, Ingo Molnar wrote: > > > * Mike Galbraith wrote: > > > > > > Weeell, I'll have to take your word for it, as tip g35669bb7fd46 grew > > > > an

Re: [tip:core/rcu] lockdep: Make RCU suspicious-access splats use pr_err

2017-01-31 Thread Dmitry Vyukov
On Tue, Jan 31, 2017 at 8:54 AM, tip-bot for Paul E. McKenney wrote: > Commit-ID: 4d4f88fa235f7f9ef8213564dc1804144332238b > Gitweb: http://git.kernel.org/tip/4d4f88fa235f7f9ef8213564dc1804144332238b > Author: Paul E. McKenney > AuthorDate:

Re: [PATCH 1/4] dt-bindings: Add binding for brcm,bcm2835-sdhost.

2017-01-31 Thread Gerd Hoffmann
On Mo, 2017-01-30 at 22:37 +0100, Stefan Wahren wrote: > > Gerd Hoffmann hat am 27. Januar 2017 um 12:36 > > geschrieben: > > > > > > From: Eric Anholt > > > > This is the other SD controller on the platform, which can be swapped > > to the role of SD card

Re: [tip:sched/core] sched/core: Add debugging code to catch missing update_rq_clock() calls

2017-01-31 Thread Michael Ellerman
Matt Fleming writes: > On Tue, 31 Jan, at 08:24:53AM, Michael Ellerman wrote: >> >> I'm hitting this on multiple powerpc systems: >> >> [ 38.339126] rq->clock_update_flags < RQCF_ACT_SKIP >> [ 38.339134] [ cut here ] >> [ 38.339142]

Re: [PATCH 22/60] staging: lustre: fid: fix race in fid allocation

2017-01-31 Thread Dan Carpenter
On Sat, Jan 28, 2017 at 07:04:50PM -0500, James Simmons wrote: > - if (!fid_is_zero(>lcs_fid) && > - fid_oid(>lcs_fid) < seq->lcs_width) { > + if (unlikely(!fid_is_zero(>lcs_fid) && > + fid_oid(>lcs_fid) < seq->lcs_width)) { What

Re: [PATCH 1/2] gpio: Rename devm_get_gpiod_from_child()

2017-01-31 Thread Boris Brezillon
On Tue, 31 Jan 2017 00:44:47 -0800 Dmitry Torokhov wrote: > On Tue, Jan 31, 2017 at 09:04:32AM +0100, Boris Brezillon wrote: > > On Mon, 30 Jan 2017 17:06:07 -0800 > > Dmitry Torokhov wrote: > > > > > On Mon, Jan 30, 2017 at 04:41:48PM

Re: [PATCH] hwmon: Relax name attribute validation for new APIs

2017-01-31 Thread Jean Delvare
Hi Guenter, Dmitry, On Fri, 27 Jan 2017 19:49:49 -0800, Guenter Roeck wrote: > While invalid name attributes are really not desirable and do mess up > libsensors, enforcing valid names has the detrimental effect of driving > users away from using the new hardware monitoring API, especially those

[PATCH v3] PCI: Xilinx NWL: Modifying irq chip for legacy interrupts

2017-01-31 Thread Bharat Kumar Gogada
- Adding mutex lock for protecting legacy mask register - Few wifi end points which only support legacy interrupts, performs hardware reset functionalities after disabling interrupts by invoking disable_irq and then re-enable using enable_irq, they enable hardware interrupts first and then virtual

Re: [tip:core/rcu] lockdep: Make RCU suspicious-access splats use pr_err

2017-01-31 Thread Ingo Molnar
* Dmitry Vyukov wrote: > FWIW my vote is for: > > == > WARNING: suspicious RCU usage > == For heaven's sake make it: = WARNING: suspicious RCU usage = (Note the

Re: workqueue lockup due to process_unsol_events stuck in azx_rirb_get_response

2017-01-31 Thread Takashi Iwai
On Mon, 30 Jan 2017 16:02:38 +0100, Vlastimil Babka wrote: > > On 01/25/2017 06:06 PM, Takashi Iwai wrote: > > The code path is related with the runtime PM, so it's likely depending > > on the device state, e.g. long-time pause or such. I don't think Win > > 10 plays a role, but who knows. > > >

Re: [PATCH v3 21/24] media: imx: Add MIPI CSI-2 Receiver subdev driver

2017-01-31 Thread Philipp Zabel
On Tue, 2017-01-31 at 00:01 +, Russell King - ARM Linux wrote: [...] > The iMX6 manuals call for a very specific seven sequence of initialisation > for CSI2, which begins with: > > 1. reset the D-PHY. > 2. place MIPI sensor in LP-11 state > 3. perform D-PHY initialisation > 4. configure CSI2

  1   2   3   4   5   6   7   8   9   10   >