Re: [PATCH] [v2] arm64: define BUG() instruction without CONFIG_BUG

2017-03-21 Thread Will Deacon
On Tue, Mar 21, 2017 at 11:35:16AM +0100, Arnd Bergmann wrote: > On Mon, Mar 20, 2017 at 8:09 PM, Will Deacon wrote: > > >> > >> -#define BUG() do { \ > >> - _BUG_FLAGS(0); \ > >> - unreachable();

[PATCH net-next] net: convert sk_filter.refcnt from atomic_t to refcount_t

2017-03-21 Thread Elena Reshetova
refcount_t type and corresponding API should be used instead of atomic_t when the variable is used as a reference counter. This allows to avoid accidental refcounter overflows that might lead to use-after-free situations. Signed-off-by: Elena Reshetova Signed-off-by:

Re: [4/4] mwifiex: pcie: de-duplicate buffer allocation code

2017-03-21 Thread Kalle Valo
Brian Norris writes: > On Mon, Mar 20, 2017 at 05:08:35PM +, Kalle Valo wrote: >> Brian Norris wrote: >> > This code was duplicated as part of the PCIe FLR code added to this >> > driver. Let's de-duplicate it to: >> > >> > * make things

Re: [PATCH 1/3] soc: qcom: smd: Transition client drivers from smd to rpmsg

2017-03-21 Thread Kalle Valo
Marcel Holtmann writes: >> By moving these client drivers to use RPMSG instead of the direct SMD >> API we can reuse them ontop of the newly added GLINK wire-protocol >> support found in the 820 and 835 Qualcomm platforms. >> >> As the new (RPMSG-based) and old SMD

Re: sound: another deadlock in snd_seq_pool_done

2017-03-21 Thread Takashi Iwai
On Sat, 04 Mar 2017 17:31:21 +0100, Dmitry Vyukov wrote: > > Hello, > > The following program creates processes deadlocked in snd_seq_pool_done: > > https://gist.githubusercontent.com/dvyukov/97efc9cb6d63b1b2c7b737b82cc8b0d6/raw/3546b133ae0b2d3e1190ae7c1f4e240ce7ce132e/gistfile1.txt > > After

[tip:x86/debug] usb/doc: Add document for USB3 debug port usage

2017-03-21 Thread tip-bot for Lu Baolu
Commit-ID: 1b326277798aa820c1043617786609b9bb4bee78 Gitweb: http://git.kernel.org/tip/1b326277798aa820c1043617786609b9bb4bee78 Author: Lu Baolu AuthorDate: Tue, 21 Mar 2017 16:01:33 +0800 Committer: Ingo Molnar CommitDate: Tue, 21 Mar 2017

[tip:x86/debug] usb/serial: Add DBC debug device support to usb_debug

2017-03-21 Thread tip-bot for Lu Baolu
Commit-ID: 57fb47279a04cd53641dc5ae55a6d47e4f32a2fd Gitweb: http://git.kernel.org/tip/57fb47279a04cd53641dc5ae55a6d47e4f32a2fd Author: Lu Baolu AuthorDate: Tue, 21 Mar 2017 16:01:32 +0800 Committer: Ingo Molnar CommitDate: Tue, 21 Mar 2017

Re: [PATCH 01/11] net: usb: usbnet: add new api ethtool_{get|set}_link_ksettings

2017-03-21 Thread Oliver Neukum
Am Donnerstag, den 16.03.2017, 23:18 +0100 schrieb Philippe Reynes: > The ethtool api {get|set}_settings is deprecated. > We add the new api {get|set}_link_ksettings to this driver. > > As I don't have the hardware, I'd be very pleased if > someone may test this patch. > Unfortunately I lack

Re: [PATCH v8 0/5] usb: early: add support for early printk through USB3 debug port

2017-03-21 Thread Ingo Molnar
* Lu Baolu wrote: > xHCI debug capability (DbC) is an optional but standalone > functionality provided by an xHCI host controller. With DbC > hardware initialized, the system will present a debug device > through the USB3 debug port (normally the first USB3 port). >

Re: [PATCH v2] xfs: Honor FALLOC_FL_KEEP_SIZE when punching ends of files

2017-03-21 Thread Brian Foster
On Sun, Mar 19, 2017 at 09:54:51PM -0700, Calvin Owens wrote: > When punching past EOF on XFS, fallocate(mode=PUNCH_HOLE|KEEP_SIZE) will > round the file size up to the nearest multiple of PAGE_SIZE: > > calvinow@vm-disks/generic-xfs-1 ~$ dd if=/dev/urandom of=test bs=2048 > count=1 >

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-21 Thread Russell King - ARM Linux
On Tue, Mar 21, 2017 at 11:59:02AM +0100, Hans Verkuil wrote: > Ah, good to hear that -s works with MC. I was not sure about that. > Thanks for the feedback! Not soo good on iMX6: $ v4l2-compliance -d /dev/video10 -s --expbuf-device=/dev/video0 ... Input ioctls: test

Re: [PATCH] kvm: pass the virtual SEI syndrome to guest OS

2017-03-21 Thread Christoffer Dall
On Tue, Mar 21, 2017 at 02:32:29PM +0800, gengdongjiu wrote: > > > On 2017/3/20 23:08, James Morse wrote: > > Hi Dongjiu Geng, > > > > On 20/03/17 13:58, Marc Zyngier wrote: > >> On 20/03/17 12:28, gengdongjiu wrote: > >>> On 2017/3/20 19:24, Marc Zyngier wrote: > Please include James

[PATCH 01/11] staging: speakup: Moved logical to previous line.

2017-03-21 Thread Arushi Singhal
Moved logical operator to previous line to fix the following checkpatch issue: CHECK: Logical continuations should be on the previous line. Signed-off-by: Arushi Singhal --- drivers/staging/speakup/main.c | 12 ++-- 1 file changed, 6 insertions(+), 6

[PATCH 02/11] staging: speakup: Remove multiple assignments

2017-03-21 Thread Arushi Singhal
This patch fixes the checkpatch.pl warning "multiple assignments should be avoided." Signed-off-by: Arushi Singhal --- drivers/staging/speakup/main.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git

[PATCH 03/11] staging: speakup: Simplify "NULL" comparisons

2017-03-21 Thread Arushi Singhal
Fixed coding style for null comparisons in speakup driver to be more consistant with the rest of the kernel coding style. Replaced 'x != NULL' with 'x' and 'x = NULL' with '!x'. Signed-off-by: Arushi Singhal --- drivers/staging/speakup/selection.c | 2 +-

[PATCH 06/11] staging: speakup: Moved OR operator to previous line.

2017-03-21 Thread Arushi Singhal
Moved logical OR operator to previous line to fix the following checkpatch issue: CHECK: Logical continuations should be on the previous line. Signed-off-by: Arushi Singhal --- drivers/staging/speakup/main.c | 8 1 file changed, 4 insertions(+), 4

[PATCH 08/11] staging: speakup: Removed Unnecessary parentheses.

2017-03-21 Thread Arushi Singhal
Unnecessary parentheses are removed to improve readability. Signed-off-by: Arushi Singhal --- drivers/staging/speakup/kobjects.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/speakup/kobjects.c

[PATCH 09/11] staging: speakup: Simplify the NULL comparisons

2017-03-21 Thread Arushi Singhal
Fixed coding style for null comparisons in speakup driver to be more consistant with the rest of the kernel coding style. Replaced 'x != NULL' with 'x' and 'x = NULL' with '!x'. Signed-off-by: Arushi Singhal --- drivers/staging/speakup/fakekey.c | 2 +-

Re: [1/3] powerpc/mm: move mmap_sem unlock up from do_sigbus

2017-03-21 Thread Michael Ellerman
On Tue, 2017-02-14 at 16:45:10 UTC, Laurent Dufour wrote: > Move mmap_sem releasing in the do_sigbus()'s unique caller : mm_fault_error() > > No functional changes. > > Signed-off-by: Laurent Dufour Series applied to powerpc next, thanks.

Re: [v2, 16/23] MAINTAINERS: Add file patterns for powerpc device tree bindings

2017-03-21 Thread Michael Ellerman
On Sun, 2017-03-12 at 13:17:00 UTC, Geert Uytterhoeven wrote: > Submitters of device tree binding documentation may forget to CC > the subsystem maintainer if this is missing. > > Signed-off-by: Geert Uytterhoeven > Cc: Benjamin Herrenschmidt >

[PATCH 07/11] staging: speakup: spaces preferred around operator

2017-03-21 Thread Arushi Singhal
Fixed the checkpatch.pl issues like: CHECK: spaces preferred around that '&' (ctx:VxV) CHECK: spaces preferred around that '|' (ctx:VxV) CHECK: spaces preferred around that '-' (ctx:VxV) CHECK: spaces preferred around that '+' (ctx:VxV) etc. Signed-off-by: Arushi Singhal

[PATCH 05/11] staging: speakup: Remove multiple assignments

2017-03-21 Thread Arushi Singhal
This patch fixes the checkpatch.pl warning "multiple assignments should be avoided." Signed-off-by: Arushi Singhal --- drivers/staging/speakup/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/speakup/main.c

[PATCH 11/11] staging: speakup: Fix alignment with parenthesis.

2017-03-21 Thread Arushi Singhal
This patch fixes the warnings reported by checkpatch.pl for please use a blank line after function/struct/union/enum declarations. Signed-off-by: Arushi Singhal --- drivers/staging/speakup/speakup_apollo.c | 2 +- drivers/staging/speakup/speakup_decext.c | 4

[PATCH 10/11] staging: speakup: Match alignment with open parenthesis.

2017-03-21 Thread Arushi Singhal
Fix checkpatch issues: "CHECK: Alignment should match open parenthesis". Signed-off-by: Arushi Singhal --- drivers/staging/speakup/main.c | 2 +- drivers/staging/speakup/selection.c | 2 +- drivers/staging/speakup/serialio.c | 2 +-

Re: drivers/pcmcia: NO_IRQ removal for electra_cf.c

2017-03-21 Thread Michael Ellerman
On Sat, 2016-09-10 at 10:01:30 UTC, Michael Ellerman wrote: > We'd like to eventually remove NO_IRQ on powerpc, so remove usages of it > from electra_cf.c which is a powerpc-only driver. > > Signed-off-by: Michael Ellerman Applied to powerpc next.

[PATCH 04/11] staging: speakup: fixes braces {} should be used on all arms of this statement

2017-03-21 Thread Arushi Singhal
This patch fixes the checks reported by checkpatch.pl for braces {} should be used on all arms of this statement. Signed-off-by: Arushi Singhal --- drivers/staging/speakup/main.c | 35 +++-

[RESEND PATCH 00/11] staging:speakup: Multiple Checkpatch issues.

2017-03-21 Thread Arushi Singhal
Improve readability by fixing multiple checkpatch.pl issues in speakup driver. Arushi Singhal (11): staging: speakup: Moved logical to previous line. staging: speakup: Remove multiple assignments staging: speakup: Simplify "NULL" comparisons staging: speakup: fixes braces {} should be

Re: [PATCHv2 00/10] Nokia N950 basic display support

2017-03-21 Thread Tomi Valkeinen
On 20/03/17 13:29, Tomi Valkeinen wrote: > Hi, > > On 05/03/17 01:50, Sebastian Reichel wrote: >> Hi, >> >> Some of you may remember, that I sent a series for the N950 display >> some time ago. N950 has command mode DSI panel, so the main part of >> the patchset takes care of adding manual

Re: [v3 3/5] coresight: add support for debug module

2017-03-21 Thread Leo Yan
On Tue, Mar 21, 2017 at 10:16:45AM +, Suzuki K Poulose wrote: [...] > >>In my opinion booting with "nohlt" on the cmd line is sufficient to > >>determine if we should use the driver or not. That way we also avoid > >>declaring yet another sysfs flag, something I really want to avoid. > > >

[PATCH v18 3/3] usb: typec: add driver for Intel Whiskey Cove PMIC USB Type-C PHY

2017-03-21 Thread Heikki Krogerus
This adds driver for the USB Type-C PHY on Intel WhiskeyCove PMIC which is available on some of the Intel Broxton SoC based platforms. Signed-off-by: Heikki Krogerus Reviewed-by: Mika Westerberg Reviewed-and-Tested-by: Felipe

[PATCH v18 2/3] usb: USB Type-C connector class

2017-03-21 Thread Heikki Krogerus
The purpose of USB Type-C connector class is to provide unified interface for the user space to get the status and basic information about USB Type-C connectors on a system, control over data role swapping, and when the port supports USB Power Delivery, also control over power role swapping and

[PATCH v18 0/3] USB Type-C Connector class

2017-03-21 Thread Heikki Krogerus
The USB Type-C class is meant to provide unified interface to the userspace to present the USB Type-C ports in a system. Changes since v17: - Small documentation improvements. Changes since v16: - Using PTR_ERR_OR_ZERO macro in typec_init(). Changes since v15: - "stingification" as proposed by

[PATCH v18 1/3] lib/string: add sysfs_match_string helper

2017-03-21 Thread Heikki Krogerus
Make a simple helper for matching strings with sysfs attribute files. In most parts the same as match_string(), except sysfs_match_string() uses sysfs_streq() instead of strcmp() for matching. This is more convenient when used with sysfs attributes. Signed-off-by: Heikki Krogerus

Re: [RFC][PATCH v2 2/2] cpufreq: schedutil: Avoid decreasing frequency of busy CPUs

2017-03-21 Thread Patrick Bellasi
On 21-Mar 09:50, Vincent Guittot wrote: > On 20 March 2017 at 22:46, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > The way the schedutil governor uses the PELT metric causes it to > > underestimate the CPU utilization in some cases.

[PATCH v2] f2fs: fix race condition in between free nid allocator/initializer

2017-03-21 Thread Chao Yu
In below concurrent case, allocated nid can be loaded into free nid cache and be allocated again. Thread AThread B - f2fs_create - f2fs_new_inode - alloc_nid - __insert_nid_to_list(ALLOC_NID_LIST) - f2fs_balance_fs_bg

Re: [PATCH v2 06/14] mmc: dw_mmc: simplify optional reset handling

2017-03-21 Thread Jaehoon Chung
Hi All, On 03/21/2017 03:10 AM, Ulf Hansson wrote: > On 20 March 2017 at 12:00, Philipp Zabel wrote: >> On Mon, 2017-03-20 at 11:49 +0100, Andrzej Hajda wrote: >>> On 20.03.2017 11:27, Philipp Zabel wrote: >> [...] diff --git a/include/linux/reset.h

[PATCH 1/2] f2fs: introduce __drop_inmem_page

2017-03-21 Thread Chao Yu
Introduce a separated inner help __drop_inmem_page in order to: a. enhance readability, b. use INMEM_INVALIDATE for better tracing, c. avoid useless loop. Signed-off-by: Chao Yu --- fs/f2fs/data.c | 2 +- fs/f2fs/f2fs.h | 1 + fs/f2fs/segment.c

[PATCH 2/2] f2fs: fix recording invalid last_victim

2017-03-21 Thread Chao Yu
When doing garbage collection, we try to record segment offset which locates at next one of last victim, using it as the start offset in next searching. But in some corner cases, recorded offset may cross the end of main segment area, it will cause incorrectly searching in dirty_segmap bitmap.

[PATCH 1/2] netfilter: ipset: Remove unnecessary cast on void pointer

2017-03-21 Thread simran singhal
The following Coccinelle script was used to detect this: @r@ expression x; void* e; type T; identifier f; @@ ( *((T *)e) | ((T *)x)[...] | ((T*)x)->f | - (T*) e ) Signed-off-by: simran singhal --- --This is my contribution to the netfilter project of

[PATCH 2/2] netfilter: Remove unnecessary cast on void pointer

2017-03-21 Thread simran singhal
The following Coccinelle script was used to detect this: @r@ expression x; void* e; type T; identifier f; @@ ( *((T *)e) | ((T *)x)[...] | ((T*)x)->f | - (T*) e ) Signed-off-by: simran singhal --- --This is my contribution to the netfilter project of

[PATCH] scsi: ufs: remove the duplicated checking for supporting clkscaling

2017-03-21 Thread Jaehoon Chung
There are same conditions for checking whether supporting clkscaling or not. When ufshcd is supporting clkscaling, active_reqs should be decreased by two. Signed-off-by: Jaehoon Chung --- drivers/scsi/ufs/ufshcd.c | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH 0/2] netfilter: Remove unnecessary cast on void pointer

2017-03-21 Thread simran singhal
This patch series remove unnecessary cast on void pointer. simran singhal (2): netfilter: ipset: Remove unnecessary cast on void pointer netfilter: Remove unnecessary cast on void pointer net/netfilter/ipset/ip_set_bitmap_gen.h | 4 ++-- net/netfilter/ipset/ip_set_core.c | 2 +-

[tip:x86/debug] usb/early: Add driver for xhci debug capability

2017-03-21 Thread tip-bot for Lu Baolu
Commit-ID: aeb9dd1de98c1a5f2007ea5d2a154c1244caf8a0 Gitweb: http://git.kernel.org/tip/aeb9dd1de98c1a5f2007ea5d2a154c1244caf8a0 Author: Lu Baolu AuthorDate: Tue, 21 Mar 2017 16:01:30 +0800 Committer: Ingo Molnar CommitDate: Tue, 21 Mar 2017

[tip:x86/debug] x86/timers: Add simple udelay calibration

2017-03-21 Thread tip-bot for Lu Baolu
Commit-ID: dd759d93f4dd4fd2f345a78ad1223bb3edf3ee7b Gitweb: http://git.kernel.org/tip/dd759d93f4dd4fd2f345a78ad1223bb3edf3ee7b Author: Lu Baolu AuthorDate: Tue, 21 Mar 2017 16:01:29 +0800 Committer: Ingo Molnar CommitDate: Tue, 21 Mar 2017

[tip:x86/debug] x86/earlyprintk: Add support for earlyprintk via USB3 debug port

2017-03-21 Thread tip-bot for Lu Baolu
Commit-ID: 1b5aeebf3a92273b4d85aeff37a16037bc3c3abf Gitweb: http://git.kernel.org/tip/1b5aeebf3a92273b4d85aeff37a16037bc3c3abf Author: Lu Baolu AuthorDate: Tue, 21 Mar 2017 16:01:31 +0800 Committer: Ingo Molnar CommitDate: Tue, 21 Mar 2017

[PATCH] btmrvl: fix spelling mistake: "unregester" -> "unregister"

2017-03-21 Thread Colin King
From: Colin Ian King trivial fix to spelling mistake in debug message Signed-off-by: Colin Ian King --- drivers/bluetooth/btmrvl_sdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bluetooth/btmrvl_sdio.c

Re: [PATCH] stm class: Document the stm_ftrace

2017-03-21 Thread Chunyan Zhang
On 21 March 2017 at 15:33, Alexander Shishkin wrote: > On 21 March 2017 at 07:57, Chunyan Zhang wrote: >> On 20 March 2017 at 19:09, Alexander Shishkin >> wrote: >>> Chunyan Zhang

Re: [PATCH v8 0/5] usb: early: add support for early printk through USB3 debug port

2017-03-21 Thread Greg Kroah-Hartman
On Tue, Mar 21, 2017 at 12:33:28PM +0100, Ingo Molnar wrote: > > * Lu Baolu wrote: > > > xHCI debug capability (DbC) is an optional but standalone > > functionality provided by an xHCI host controller. With DbC > > hardware initialized, the system will present a debug

Re: [RFC][PATCH v2 2/2] cpufreq: schedutil: Avoid decreasing frequency of busy CPUs

2017-03-21 Thread Rafael J. Wysocki
On Tue, Mar 21, 2017 at 7:40 AM, Viresh Kumar wrote: > On 20-03-17, 22:46, Rafael J. Wysocki wrote: >> Index: linux-pm/kernel/sched/cpufreq_schedutil.c > >> +static void sugov_update_commit(struct sugov_cpu *sg_cpu, >> + struct sugov_policy

Re: [PATCH 2/4] perf annotate: Avoid division by zero when calculating percent

2017-03-21 Thread Arnaldo Carvalho de Melo
Em Tue, Mar 21, 2017 at 11:14:07AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Mar 21, 2017 at 07:20:20AM +0900, Taeung Song escreveu: > > And, > > I tested by perf-stat on the same situation as below. > > > > $ perf stat -e "{cycles,page-faults,branch-misses}" ./old > 6623856 > >

Re: [PATCH v5] staging: Use buf_lock instead of mlock and Refactor code

2017-03-21 Thread kbuild test robot
Hi simran, [auto build test WARNING on iio/togreg] [also build test WARNING on v4.11-rc3 next-20170321] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/simran-singhal/staging-Use-buf_lock

Re: [RFC][PATCH v2 2/2] cpufreq: schedutil: Avoid decreasing frequency of busy CPUs

2017-03-21 Thread Rafael J. Wysocki
On Tuesday, March 21, 2017 02:37:08 PM Vincent Guittot wrote: > On 21 March 2017 at 14:22, Peter Zijlstra wrote: > > On Tue, Mar 21, 2017 at 09:50:28AM +0100, Vincent Guittot wrote: > >> On 20 March 2017 at 22:46, Rafael J. Wysocki wrote: > > > >> > To

[PATCH] pci: dwc: hisi needs PCI_HOST_COMMON

2017-03-21 Thread Arnd Bergmann
Without PCI_HOST_COMMON support enabled, we get a link error: drivers/pci/dwc/built-in.o: In function `hisi_pcie_map_bus': pcie-hisi.c:(.text+0x8860): undefined reference to `pci_ecam_map_bus' drivers/pci/dwc/built-in.o: In function `hisi_pcie_almost_ecam_probe': pcie-hisi.c:(.text+0x88b4):

Re: [PATCH 2/4] perf annotate: Avoid division by zero when calculating percent

2017-03-21 Thread Taeung Song
Hi, On 03/21/2017 11:21 PM, Arnaldo Carvalho de Melo wrote: Em Tue, Mar 21, 2017 at 11:14:07AM -0300, Arnaldo Carvalho de Melo escreveu: Em Tue, Mar 21, 2017 at 07:20:20AM +0900, Taeung Song escreveu: And, I tested by perf-stat on the same situation as below. $ perf stat -e

[PATCH] PCI: dwc: fix crash seen due to missing ops

2017-03-21 Thread Niklas Cassel
PID: 1 Comm: swapper/0 Not tainted 4.11.0-rc3-next-20170321 #1 Hardware name: Axis ARTPEC-6 Platform task: db098000 task.stack: db096000 PC is at dw_pcie_writel_dbi+0x2c/0xd0 ... While at it, fix the same problem for pcie-designware-plat. Fixes: 442ec4c04d12 ("PCI: dwc: all: Split struc

Re: [RFC][PATCH v2 2/2] cpufreq: schedutil: Avoid decreasing frequency of busy CPUs

2017-03-21 Thread Rafael J. Wysocki
On Tuesday, March 21, 2017 02:38:42 PM Patrick Bellasi wrote: > On 21-Mar 15:26, Rafael J. Wysocki wrote: > > On Tuesday, March 21, 2017 02:37:08 PM Vincent Guittot wrote: > > > On 21 March 2017 at 14:22, Peter Zijlstra wrote: > > > > On Tue, Mar 21, 2017 at 09:50:28AM

[PATCH v3 2/2] ASoC: codec: wm8960: Relax bit clock computation

2017-03-21 Thread Daniel Baluta
WM8960 derives bit clock from sysclock using BCLKDIV[3:0] of R8 clocking register (See WM8960 datasheet, page 71). There are use cases, like this: aplay -Dhw:0,0 -r 48000 -c 1 -f S20_3LE -t raw audio48k20b_3LE1c.pcm where no BCLKDIV applied to sysclock can give us the exact requested bitclk, so

Re: [PATCH] powerpc: sysdev: cpm1: Optimise gpio bit calculation

2017-03-21 Thread Christophe LEROY
Le 10/03/2017 à 16:41, Segher Boessenkool a écrit : On Fri, Mar 10, 2017 at 03:41:23PM +0100, Christophe LEROY wrote: gpio_get() and gpio_set() are used extensively by some GPIO based drivers like SPI, NAND, so it may be worth it as it doesn't impair readability (if anyone prefers, we could

Re: [RFC][PATCH v2 2/2] cpufreq: schedutil: Avoid decreasing frequency of busy CPUs

2017-03-21 Thread Peter Zijlstra
On Tue, Mar 21, 2017 at 03:46:07PM +0100, Rafael J. Wysocki wrote: > @@ -207,6 +212,8 @@ static void sugov_update_single(struct u > if (!sugov_should_update_freq(sg_policy, time)) > return; > > + sg_policy->overload = this_rq()->rd->overload; > + Same problem as before;

[PATCH v4 2/6] media: uapi: Add RGB and YUV bus formats for Synopsys HDMI TX Controller

2017-03-21 Thread Neil Armstrong
In order to describe the RGB and YUV bus formats used to feed the Synopsys DesignWare HDMI TX Controller, add missing formats to the list of Bus Formats. Documentation for these formats is added in a separate patch. Reviewed-by: Archit Taneja Signed-off-by: Neil

[PATCH v4 1/6] drm: bridge: dw-hdmi: Extract PHY interrupt setup to a function

2017-03-21 Thread Neil Armstrong
From: Laurent Pinchart In preparation for adding PHY operations to handle RX SENSE and HPD, group all the PHY interrupt setup code in a single location and extract it to a separate function. Signed-off-by: Laurent Pinchart

Re: [PATCH v12 4/9] mmc: cavium: Work-around hardware bug on cn6xxx and cnf7xxx

2017-03-21 Thread David Daney
On 03/21/2017 01:58 AM, Arnd Bergmann wrote: On Mon, Mar 20, 2017 at 9:45 PM, David Daney wrote: On 03/17/2017 07:13 AM, Ulf Hansson wrote: My point is really that we should avoid exporting SoC specific APIs which shall be called from drivers. This is old fashion.

[PATCH v4 3/6] documentation: media: Add documentation for new RGB and YUV bus formats

2017-03-21 Thread Neil Armstrong
Add documentation for added Bus Formats to describe RGB and YUV formats used as input to the Synopsys DesignWare HDMI TX Controller. Signed-off-by: Neil Armstrong --- Documentation/media/uapi/v4l/subdev-formats.rst | 871 +++- 1 file changed, 857

[PATCH v4 0/6] drm: bridge: dw-hdmi: Add support for Custom PHYs

2017-03-21 Thread Neil Armstrong
The Amlogic GX SoCs implements a Synopsys DesignWare HDMI TX Controller in combination with a very custom PHY. Thanks to Laurent Pinchart's changes, the HW report the following : Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy) The following differs from common PHY integration

Re: [PATCH 1/5] x86: Implement __WARN using UD0

2017-03-21 Thread Josh Poimboeuf
On Tue, Mar 21, 2017 at 04:14:46PM +0100, Peter Zijlstra wrote: > > to WARN, they should probably be renamed to describe their new purpose, > > like: > > > > "report_bug" -> "report_bug_or_warning" > > "fixup_bug" -> "fixup_bug_or_warning" > > > > On a related note, if warn and bug are

Re: [PATCH] PCI: ACPI: Fix ThunderX PEM initialization

2017-03-21 Thread David Daney
On 03/21/2017 07:17 AM, Tomasz Nowicki wrote: Hi Bjorn, On 21.03.2017 14:47, Bjorn Helgaas wrote: On Tue, Mar 21, 2017 at 07:38:07AM -0400, Jon Masters wrote: On 03/16/2017 12:25 PM, David Daney wrote: On 03/16/2017 07:32 AM, Jon Masters wrote: Yes, it is now contains "CAVxxx" as _HID for

Re: [RFC PATCH] net: phy: Don't miss phy_suspend() on PHY_HALTED for PHYs with interrupts

2017-03-21 Thread Florian Fainelli
On 03/21/2017 03:09 AM, Roger Quadros wrote: > On 20/03/17 18:41, Florian Fainelli wrote: >> On 03/16/2017 12:46 AM, Roger Quadros wrote: >>> On 15/03/17 17:49, Andrew Lunn wrote: On Wed, Mar 15, 2017 at 05:00:08PM +0200, Roger Quadros wrote: > Andrew, > > On 15/03/17 16:08,

Re: [PATCH] blk-mq: add statistics for tag allocation failures

2017-03-21 Thread Jens Axboe
On 03/21/2017 12:24 PM, Hannes Reinecke wrote: > Signed-off-by: Hannes Reinecke This needs better justification, since it comes with none. -- Jens Axboe

Re: [PATCH] ipv6: make sure to initialize sockc.tsflags before first use

2017-03-21 Thread Soheil Hassas Yeganeh
On Tue, Mar 21, 2017 at 12:14 PM, Alexander Potapenko wrote: > In the case udp_sk(sk)->pending is AF_INET6, udpv6_sendmsg() would > jump to do_append_data, skipping the initialization of sockc.tsflags. > Fix the problem by moving sockc.tsflags initialization earlier. > > The

[PATCH] blk-mq: add statistics for tag allocation failures

2017-03-21 Thread Hannes Reinecke
Signed-off-by: Hannes Reinecke --- block/blk-mq-debugfs.c | 15 +++ block/blk-mq-tag.c | 6 -- block/blk-mq-tag.h | 3 +++ 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c index

[PATCH v22 06/11] clocksource: arm_arch_timer: refactor MMIO timer probing.

2017-03-21 Thread fu . wei
From: Fu Wei Currently the code to probe MMIO architected timers mixes DT parsing with actual poking of hardware. This makes the code harder than necessary to understand, and makes it difficult to add support for probing via ACPI. This patch factors all the DT-specific logic

[PATCH v22 05/11] clocksource: arm_arch_timer: introduce some new structs to prepare for GTDT

2017-03-21 Thread fu . wei
From: Fu Wei The patch introduce two new structs: arch_timer_mem, arch_timer_mem_frame. And also introduce a new define: ARCH_TIMER_MEM_MAX_FRAMES These will be used for refactoring the memory-mapped timer init code to prepare for GTDT Signed-off-by: Fu Wei

Re: [PATCH] x86/mm: set x32 syscall bit in SET_PERSONALITY()

2017-03-21 Thread Dmitry Safonov
On 03/21/2017 06:55 PM, Dmitry Safonov wrote: After my changes to mmap(), its code now relies on the bitness of performing syscall. According to that, it chooses the base of allocation: mmap_base for 64-bit mmap() and mmap_compat_base for 32-bit syscall. It was done by: commit 1b028f784e8c

Re: [PATCH v3 7/8] clk: qcom: Add MSM8960/APQ8064 LPASS clock controller (LCC) driver

2017-03-21 Thread Linus Walleij
When looking at this and trying to adapt it to MSM8660/APQ8060 like Neil did with MDM9615 I get pretty confused. On Tue, Jan 20, 2015 at 3:05 AM, Stephen Boyd wrote: > Add an LCC driver for MSM8960/APQ8064 that supports the i2s, > slimbus, and pcm clocks. > > Change-Id:

Re: [RFC 2/2] fanotify: emit FAN_MODIFY_DIR on filesystem changes

2017-03-21 Thread Jan Kara
On Tue 21-03-17 11:38:49, J. Bruce Fields wrote: > On Sun, Mar 19, 2017 at 11:19:43AM +0100, Jan Kara wrote: > > On Tue 14-03-17 13:18:01, Amir Goldstein wrote: > > > On Tue, Mar 14, 2017 at 1:03 AM, Filip Štědronský > > > wrote: > > > > Besause fanotify requires `struct

[PATCH v22 10/11] clocksource: arm_arch_timer: add GTDT support for memory-mapped timer

2017-03-21 Thread fu . wei
From: Fu Wei The patch add memory-mapped timer register support by using the information provided by the new GTDT driver of ACPI. Signed-off-by: Fu Wei Reviewed-by: Hanjun Guo --- drivers/clocksource/arm_arch_timer.c | 35

Re: [PATCH 05/20] ARM: implement pci_remap_cfgspace() interface

2017-03-21 Thread Russell King - ARM Linux
On Tue, Mar 21, 2017 at 03:26:36PM +, Lorenzo Pieralisi wrote: > I assumed that in plain terms, the difference between MT_DEVICE and > MT_UNCACHED is write posting (aka bufferable) behaviour (across CPU > architecture versions) and that does not affect write ordering rules. Having looked it

Re: [Outreachy kernel] [PATCH 0/2] IIO coding tasks

2017-03-21 Thread Alison Schofield
On Tue, Mar 21, 2017 at 05:39:38PM +0100, Julia Lawall wrote: > > > On Tue, 21 Mar 2017, Arushi Singhal wrote: > > > On Tue, Mar 21, 2017 at 9:33 PM, Alison Schofield > > wrote: > > On Tue, Mar 21, 2017 at 07:00:17PM +0530, Arushi Singhal wrote: > > >

[PATCH v7 1/2] dt-bindings: Add GPCv2 power gating driver

2017-03-21 Thread Andrey Smirnov
Add DT bindings for power domain driver for GPCv2 IP block found in i.MX7 SoCs. Cc: yurov...@gmail.com Cc: Lucas Stach Cc: Rob Herring Cc: Mark Rutland Cc: Fabio Estevam Cc: Dong Aisheng

[PATCH v7 0/2] GPCv2 power gating driver

2017-03-21 Thread Andrey Smirnov
Shawn, Here's v7 of GPCv2 patches with feedback from Dong incorporated. Let me know if you want to do any of renaming that Dong suggested and if there's more to be improved in general. Thanks, Andrey Smirnov Changes since v6 (see [v6]): - Drop .readable_reg related code -

Re: [PATCH v5] staging: Use buf_lock instead of mlock and Refactor code

2017-03-21 Thread SIMRAN SINGHAL
On Tue, Mar 21, 2017 at 8:01 PM, kbuild test robot <l...@intel.com> wrote: > Hi simran, > > [auto build test WARNING on iio/togreg] > [also build test WARNING on v4.11-rc3 next-20170321] > [if your patch is applied to the wrong git tree, please drop us a note to > help imp

Re: [PATCH 06/11] net: usb: mcs7830: use new api ethtool_{get|set}_link_ksettings

2017-03-21 Thread poma
On 16.03.2017 23:18, Philippe Reynes wrote: > The ethtool api {get|set}_settings is deprecated. > We move this driver to new api {get|set}_link_ksettings. > > As I don't have the hardware, I'd be very pleased if > someone may test this patch. > > Signed-off-by: Philippe Reynes

[PATCH v4 4/6] drm: bridge: dw-hdmi: Switch to V4L bus format and encodings

2017-03-21 Thread Neil Armstrong
Some display pipelines can only provide non-RBG input pixels to the HDMI TX Controller, this patch takes the pixel format from the plat_data if provided. Signed-off-by: Neil Armstrong --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 326 +-

Re: [PATCH 3/3] net: stmmac: Use AVB mode by default

2017-03-21 Thread Joao Pinto
Às 3:12 PM de 3/21/2017, Thierry Reding escreveu: > From: Thierry Reding > > Prior to the recent multi-queue changes the driver would configure the > queues to use the AVB mode, but the mode then got switched to DCB. The > hardware still works fine in DCB mode, but my testing

[PATCH v2 03/13] drm/meson: Add support for components

2017-03-21 Thread Neil Armstrong
This patch adds support for optional components connected through the Device Tree endpoints scheme. Signed-off-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_drv.c | 113 +- 1 file changed, 99 insertions(+), 14 deletions(-) diff

[PATCH v2 07/13] drm/meson: Add support for HDMI encoder and DW-HDMI bridge + PHY

2017-03-21 Thread Neil Armstrong
The Amlogic Meson GXBB/GXL/GXM SoCs embeds a Synopsys DesignWare HDMI TX Controller with a custom Bridge + PHY around the Controller. This driver makes uses of all the custom PHY plat data callbacks and enables the compatible HDMI modes to be configured as a drm_encoder instance. Signed-off-by:

Re: [PATCH 1/4] regmap: irq: Fix lost interrupts by introducing handle_reread

2017-03-21 Thread Tony Lindgren
* Charles Keepax [170321 02:24]: > On Mon, Mar 20, 2017 at 08:33:42AM -0700, Tony Lindgren wrote: > > * Charles Keepax [170320 08:15]: > > > On Thu, Mar 16, 2017 at 05:36:30PM -0700, Tony Lindgren wrote: > > > > At least

[PATCH v3 04/11] Documentation: DT: bindings: mfd: add A33 GPADC binding

2017-03-21 Thread Quentin Schulz
This patch adds documentation for the A33 GPADC binding. Signed-off-by: Quentin Schulz --- v3: - fixed missing allwinner in front of compatible, - updated compatible to allwinner,sun8i-a33-ths to better reflect the datasheet's name, - updated example's

Re: [PATCH 1/5] x86: Implement __WARN using UD0

2017-03-21 Thread Peter Zijlstra
On Tue, Mar 21, 2017 at 10:32:52AM -0500, Josh Poimboeuf wrote: > On Tue, Mar 21, 2017 at 04:14:46PM +0100, Peter Zijlstra wrote: > > > > +static int fixup_bug(struct pt_regs *regs, int trapnr) > > > > +{ > > > > + if (trapnr != X86_TRAP_UD) > > > > + return 0; > > > > + > > >

Re: [PATCH v6 06/11] drivers: perf: hisi: Add support for Hisilicon Djtag driver

2017-03-21 Thread Mark Rutland
On Fri, Mar 10, 2017 at 01:28:22AM -0500, Anurup M wrote: > From: Tan Xiaojun > > The Hisilicon Djtag is an independent component which connects > with some other components in the SoC by Debug Bus. This driver > can be configured to access the registers of connecting

RE: [tpmdd-devel] [PATCH v3 2/7] tpm: validate TPM 2.0 commands

2017-03-21 Thread Alexander.Steffen
> > There are a few special cases that need some thought though. For > > example, it is possible to use an upgrade to switch the TPM family > > from 1.2 to 2.0 (or vice versa). In this case it seems useful to let > > the kernel reinitialize the TPM driver, so it uses the correct > > timeouts for

Re: linux-next-20170320 break stmmac on dwmac-sunxi

2017-03-21 Thread Giuseppe CAVALLARO
Hello Corentin yes, bisect process is really good approach to me. Pls give us more details. Recently the multi DMA channel logic has been added so it could be that something is needed to allow your platform to manage the new code. Or we introduced some regression. If I have some other idea, I

[PATCH RT] tty: serial: st-asc: Make the locking RT aware

2017-03-21 Thread lionel.debieve
From: Lionel Debieve The lock is a sleeping lock and local_irq_save() is not the standard implementation now. Working for both -RT and non RT. Signed-off-by: Lionel Debieve --- drivers/tty/serial/st-asc.c | 8 +++- 1 file changed, 3

[PATCH v22 03/11] clocksource: arm_arch_timer: refactor arch_timer_needs_probing

2017-03-21 Thread fu . wei
From: Fu Wei When system init with device-tree, we don't know which node will be initialized first. And the code in arch_timer_common_init should wait until per-cpu timer and MMIO timer are both initialized. So we need arch_timer_needs_probing to detect the init status of

[PATCH v22 02/11] clocksource: arm_arch_timer: separate out device-tree code and remove arch_timer_detect_rate

2017-03-21 Thread fu . wei
From: Fu Wei Currently, the counter frequency detection call(arch_timer_detect_rate) includes getting the frequency from the device-tree property, the per-cpu arch-timer and the memory-mapped (MMIO) timer interfaces. But reading device-tree property will be needed only when

Re: [PATCH net-next] stmmac: call stmmac_init_phy from stmmac_dvr_probe

2017-03-21 Thread Florian Fainelli
On 03/21/2017 02:04 AM, Niklas Cassel wrote: > On 03/20/2017 11:07 PM, Florian Fainelli wrote: >> >> (snip) >>> >>> However, it is kind of sad that drivers are so inconsistent of what goes >>> in probe and what goes in ndo_open...which is tied together with the >>> whole mess of when certain

[PATCH v22 04/11] clocksource: arm_arch_timer: move arch_timer_needs_of_probing into DT init call

2017-03-21 Thread fu . wei
From: Fu Wei Because arch_timer_needs_of_probing is only for booting with device-tree, but arch_timer_common_init is a generic init call which shouldn't include the FW-specific code. It's better to put arch_timer_needs_of_probing into DT init function. But for per-cpu timer,

[PATCH v3 01/11] ARM: sun8i: a33: add operating-points-v2 property to all nodes

2017-03-21 Thread Quentin Schulz
The OPP are declared as shared but no operating points are declared for cpu1, 2 and 3. Thus, the following error happens during the boot: cpu cpu1: dev_pm_opp_of_get_sharing_cpus: Couldn't find tcpu_dev node. This patch applies the operating points to each cpu of the A33. Signed-off-by: Quentin

Re: [PATCH v2 0/2] HID: hiddev: move hiddev's minor number and refactoring

2017-03-21 Thread Jiri Kosina
On Fri, 3 Mar 2017, Jaejoong Kim wrote: > Jaejoong Kim (2): > HID: cp2112: use proper hidraw name with minor number > HID: hiddev: reallocate hiddev's minor number Applied to for-4.12/hiddev. Thanks, -- Jiri Kosina SUSE Labs

[PATCH] drivers: staging: vt6656: fixed coding style errors

2017-03-21 Thread Prasant Jalan
Fixed coding style errors. No errors with checkpatch.pl Signed-off-by: Prasant Jalan --- drivers/staging/vt6656/rf.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/staging/vt6656/rf.c b/drivers/staging/vt6656/rf.c index

<    3   4   5   6   7   8   9   10   11   12   >