[PATCH 10/21] i2c: hix5hd2: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Peter Rosin
Because it looks neater. Signed-off-by: Peter Rosin --- drivers/i2c/busses/i2c-hix5hd2.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/i2c/busses/i2c-hix5hd2.c b/drivers/i2c/busses/i2c-hix5hd2.c index bb68957d3da5..399b64c4c620 100644 --- a/drivers/i2c/buss

[PATCH 20/21] i2c: stu300: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Peter Rosin
Because it looks neater. Also restructure debug output for resends, since that code as a result is only handling debug output. Signed-off-by: Peter Rosin --- drivers/i2c/busses/i2c-stu300.c | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/drivers/i2c/b

[PATCH 15/21] i2c: ocores: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Peter Rosin
Because it looks neater. Signed-off-by: Peter Rosin --- drivers/i2c/busses/i2c-ocores.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-ocores.c b/drivers/i2c/busses/i2c-ocores.c index 8c42ca7107b2..a540916689b2 100644 --- a/drivers/i2c/busses/i2c-o

[PATCH 21/21] i2c: xiic: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Peter Rosin
Because it looks neater. Signed-off-by: Peter Rosin --- drivers/i2c/busses/i2c-xiic.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/drivers/i2c/busses/i2c-xiic.c b/drivers/i2c/busses/i2c-xiic.c index c80527816ad0..1818c3b5c8d7 100644 --- a/drivers/i2c/busses/i2c

[PATCH 12/21] i2c: imx: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Peter Rosin
Because it looks neater. i2c_imx_dma_write and i2c_imx_write are always called with a write in msgs->flags, and i2c_imx_read with a read. Signed-off-by: Peter Rosin --- drivers/i2c/busses/i2c-imx.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/i2c/busses/

[PATCH 17/21] i2c: qup: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Peter Rosin
Because it looks neater. qup_i2c_write_tx_fifo_v1 is always called with a write in qup->msg->flags. Signed-off-by: Peter Rosin --- drivers/i2c/busses/i2c-qup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-qup.c b/drivers/i2c/busses/i2c-qup.c index 90

[PATCH 16/21] i2c: pasemi: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Peter Rosin
Because it looks neater. Signed-off-by: Peter Rosin --- drivers/i2c/busses/i2c-pasemi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-pasemi.c b/drivers/i2c/busses/i2c-pasemi.c index df1dbc92a024..55fd5c6f3cca 100644 --- a/drivers/i2c/busses/i2c-pasem

Re: [PATCH RFC 2/8] rcu: Clarify usage of cond_resched for tasks-RCU

2018-05-14 Thread Steven Rostedt
On Sun, 13 May 2018 20:15:35 -0700 "Joel Fernandes (Google)" wrote: > Recently we had a discussion about cond_resched unconditionally > recording a voluntary context switch [1]. > > Lets add a comment clarifying that how this API is to be used. > > [1] > https://lkml.kernel.org/r/1526027434-21

[PATCH 18/21] i2c: rcar: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Peter Rosin
Because it looks neater. Signed-off-by: Peter Rosin --- drivers/i2c/busses/i2c-rcar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-rcar.c b/drivers/i2c/busses/i2c-rcar.c index c6915b835396..17b91ddbe013 100644 --- a/drivers/i2c/busses/i2c-rcar.c +++

[PATCH 19/21] i2c: riic: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Peter Rosin
Because it looks neater. Signed-off-by: Peter Rosin --- drivers/i2c/busses/i2c-riic.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/busses/i2c-riic.c b/drivers/i2c/busses/i2c-riic.c index 95c2f1ce3cad..5f1fca7880b1 100644 --- a/drivers/i2c/busses/i2c-riic.c

[PATCH 13/21] i2c: kempld: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Peter Rosin
Because it looks neater. Signed-off-by: Peter Rosin --- drivers/i2c/busses/i2c-kempld.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-kempld.c b/drivers/i2c/busses/i2c-kempld.c index e879190b5d1d..1c874aaa0447 100644 --- a/drivers/i2c/busses/i2

[PATCH 14/21] i2c: mxs: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Peter Rosin
Because it looks neater. Signed-off-by: Peter Rosin --- drivers/i2c/busses/i2c-mxs.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/i2c/busses/i2c-mxs.c b/drivers/i2c/busses/i2c-mxs.c index e617bd600794..f62ae3d42232 100644 --- a/drivers/i2c/busses/i2c-mxs.c

[PATCH 11/21] i2c: imx-lpi2c: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Peter Rosin
Because it looks neater. Signed-off-by: Peter Rosin --- drivers/i2c/busses/i2c-imx-lpi2c.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/i2c/busses/i2c-imx-lpi2c.c b/drivers/i2c/busses/i2c-imx-lpi2c.c index e6da2c7a9a3e..159d23211600 100644 --- a/drivers/i2c/bus

[PATCH 09/21] i2c: emev2: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Peter Rosin
Because it looks neater. Signed-off-by: Peter Rosin --- drivers/i2c/busses/i2c-emev2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-emev2.c b/drivers/i2c/busses/i2c-emev2.c index d2e84480fbe9..ba9b6ea48a31 100644 --- a/drivers/i2c/busses/i2c-emev2.c

[PATCH 08/21] i2c: eg20t: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Peter Rosin
Because it looks neater. pch_i2c_writebytes is always called with a write in msgs->flags, and pch_i2c_readbytes with a read. Signed-off-by: Peter Rosin --- drivers/i2c/busses/i2c-eg20t.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/busses/i2c-eg20t.c b/dri

Re: [PATCH v3 3/4] phy: rockchip-typec: support variable phy config value

2018-05-14 Thread Sean Paul
On Mon, May 14, 2018 at 05:53:54PM +0800, Lin Huang wrote: > the phy config values used to fix in dp firmware, but some boards > need change these values to do training and get the better eye diagram > result. So support that in phy driver. > > Signed-off-by: Chris Zhong > Signed-off-by: Lin Huan

[PATCH 06/21] i2c: diolan: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Peter Rosin
Because it looks neater and allows factoring out some code that is now common between if and else. Signed-off-by: Peter Rosin --- drivers/i2c/busses/i2c-diolan-u2c.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/i2c/busses/i2c-diolan-u2c.c b/drivers/i2c

[PATCH 04/21] i2c: aspeed: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Peter Rosin
Because it looks neater. Signed-off-by: Peter Rosin --- drivers/i2c/busses/i2c-aspeed.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-aspeed.c b/drivers/i2c/busses/i2c-aspeed.c index 7d4aeb4465b3..60e4d0e939a3 100644 --- a/drivers/i2c/busses/i2c-asp

[PATCH 02/21] i2c: algo: pca: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Peter Rosin
Because it looks neater. Signed-off-by: Peter Rosin --- drivers/i2c/algos/i2c-algo-pca.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/i2c/algos/i2c-algo-pca.c b/drivers/i2c/algos/i2c-algo-pca.c index e370804ec8bc..883a290f6a4d 100644 --- a/drivers/i2c/algos/i2c

[PATCH v5 0/2] acpi: apei: Improve PCIe error handling with FFS

2018-05-14 Thread Alexandru Gagniuc
The purpose of these changes is to see if we can safely de-escalate the situation and notify the appropriate error handler. Since FFS reports errors through NMIs or other non-standard mechanism, we have to be just a little more careful with reporting the error. We're concerned with things, such as

[PATCH v5 1/2] acpi: apei: Rename ghes_severity() to ghes_cper_severity()

2018-05-14 Thread Alexandru Gagniuc
ghes_severity() is a misnomer in this case, as it implies the severity of the entire GHES structure. Instead, it maps one CPER value to a GHES_SEV* value. ghes_cper_severity() is clearer. Signed-off-by: Alexandru Gagniuc --- drivers/acpi/apei/ghes.c | 17 - 1 file changed, 8 inse

[PATCH v5 2/2] acpi: apei: Do not panic() on PCIe errors reported through GHES

2018-05-14 Thread Alexandru Gagniuc
The policy was to panic() when GHES said that an error is "Fatal". This logic is wrong for several reasons, as it doesn't take into account what caused the error. PCIe fatal errors indicate that the link to a device is either unstable or unusable. They don't indicate that the machine is on fire, a

Re: [PATCH v7 04/10] drivers: qcom: rpmh: add RPMH helper functions

2018-05-14 Thread Lina Iyer
On Fri, May 11 2018 at 14:14 -0600, Doug Anderson wrote: Hi, On Fri, May 11, 2018 at 8:06 AM, Lina Iyer wrote: As I've said I haven't reviewed RPMh in any amount of detail and so perhaps I don't understand something. OK, I dug a little more and coded up something for you. Basically you're do

Re: [PATCH 10/18] arm64: convert native/compat syscall entry to C

2018-05-14 Thread Mark Rutland
On Mon, May 14, 2018 at 03:43:36PM +0100, Dave Martin wrote: > On Mon, May 14, 2018 at 12:58:05PM +0100, Mark Rutland wrote: > > On Mon, May 14, 2018 at 12:07:30PM +0100, Dave Martin wrote: > > > On Mon, May 14, 2018 at 10:46:32AM +0100, Mark Rutland wrote: > > > > +{ > > > > + if (!system_su

Re: [PATCH 1/1] s390: vfio-ccw: push down unsupported IDA check

2018-05-14 Thread Cornelia Huck
On Mon, 14 May 2018 16:44:29 +0200 Halil Pasic wrote: > On 05/14/2018 04:00 PM, Cornelia Huck wrote: > > On Mon, 14 May 2018 15:37:17 +0200 > > Halil Pasic wrote: > > > >> On 05/14/2018 01:55 PM, Cornelia Huck wrote: > >>> On Wed, 9 May 2018 19:36:47 +0200 > >>> Halil Pasic wrote: > >>>

[PATCH 00/21] i2c: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Peter Rosin
Hi! The nice little inline i2c_8bit_addr_from_msg is not getting enough use. This series improves the situation and drops a bunch of lines in the process. I have only compile-tested (that part fine, at least over here). Cheers, Peter Peter Rosin (21): i2c: algo: bit: make use of i2c_8bit_addr

Re: [PATCH v2] i2c: i801: fix unused-function warning

2018-05-14 Thread Jean Delvare
On Mon, 14 May 2018 11:33:26 +0200, Anders Roxell wrote: > With CONFIG_PM, we get a harmless build warning: > drivers/i2c/busses/i2c-i801.c:1723:12: warning: ‘i801_resume’ defined but not > used [-Wunused-function] > static int i801_resume(struct device *dev) > ^~~ > drivers/i

Re: [PATCH] perf/ring_buffer: ensure atomicity and order of updates

2018-05-14 Thread Peter Zijlstra
On Mon, May 14, 2018 at 01:28:15PM +0200, Peter Zijlstra wrote: > On Mon, May 14, 2018 at 12:05:33PM +0100, Mark Rutland wrote: > > > Also note that in perf_output_put_handle(), where we write ->data_head, > > > the store is from an 'unsigned long'. So on 32bit that will result in a > > > zero hig

RE: [PATCH v3 08/13] remoteproc: add prepare and unprepare ops

2018-05-14 Thread Loic PALLARDY
> -Original Message- > From: Bjorn Andersson [mailto:bjorn.anders...@linaro.org] > Sent: Thursday, May 10, 2018 2:53 AM > To: Loic PALLARDY > Cc: o...@wizery.com; linux-remotep...@vger.kernel.org; linux- > ker...@vger.kernel.org; Arnaud POULIQUEN ; > benjamin.gaign...@linaro.org > Subjec

Re: [PATCH v2 2/6] x86/stacktrace: make clear the success paths

2018-05-14 Thread Josh Poimboeuf
On Mon, May 14, 2018 at 04:06:49PM +0200, Jiri Slaby wrote: > Make clear which path is for user tasks and for kthreads and idle > tasks. This will allow easier plug-in of ORC unwinder in the next > patches. > > Signed-off-by: Jiri Slaby > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: "H. Peter An

Re: [PATCH 10/23] LSM: Infrastructure management of the inode security

2018-05-14 Thread Stephen Smalley
On 05/10/2018 08:53 PM, Casey Schaufler wrote: > From: Casey Schaufler > Date: Thu, 10 May 2018 14:23:27 -0700 > Subject: [PATCH 10/23] LSM: Infrastructure management of the inode security > blob > > Move management of the inode->i_security blob out > of the individual security modules and into

Re: [PATCH v3 0/1] multi-threading device shutdown

2018-05-14 Thread Greg KH
On Mon, May 07, 2018 at 11:54:01AM -0400, Pavel Tatashin wrote: > Changelog > v2 - v3 > - Fixed warning from kbuild test. > - Moved device_lock/device_unlock inside device_shutdown_tree(). > > v1 - v2 > - It turns out we cannot lock more than MAX_LOCK_DEPTH by a single >

Re: [RFC][PATCH 06/10] tracing: Add trigger file for trace_markers tracefs/ftrace/print

2018-05-14 Thread Steven Rostedt
On Mon, 14 May 2018 12:13:22 +0900 Namhyung Kim wrote: > On Fri, May 11, 2018 at 03:49:33PM -0400, Steven Rostedt wrote: > > From: "Steven Rostedt (VMware)" > > > > Allow writing to the trace_markers file initiate triggers defined in > > tracefs/ftrace/print/trigger file. This will allow of use

Re: [PATCH v2 3/6] x86/stacktrace: remove STACKTRACE_DUMP_ONCE from __save_stack_trace_reliable

2018-05-14 Thread Josh Poimboeuf
On Mon, May 14, 2018 at 04:06:50PM +0200, Jiri Slaby wrote: > The stack unwinding can sometimes fail yet. Especially with the > generated debug info. So do not yell at users -- live patching (the only > user of this interface) will inform the user about the failure > gracefully. > > Signed-off-by:

Re: [PATCH v10 02/25] x86/mm: define ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT

2018-05-14 Thread Punit Agrawal
Laurent Dufour writes: > On 08/05/2018 13:04, Punit Agrawal wrote: >> Hi Laurent, >> >> Laurent Dufour writes: >> >>> Set ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT which turns on the >>> Speculative Page Fault handler when building for 64bit. >>> >>> Cc: Thomas Gleixner >>> Signed-off-by: Laurent

Re: [PATCH v3 0/3] ti_am335x_tsc: Fix suspend/resume

2018-05-14 Thread Vignesh R
On 24-Apr-18 11:57 AM, Vignesh R wrote: > This patch series fixes couple of issues wrt suspend/resume with TI AM335x > TSC driver. Disable and clear any pending IRQs before suspend, and > handle case where TSC wakeup would fail, if there were touch events > during suspend. > > Gentle ping on t

Re: [PATCH v2 6/6] x86/stacktrace: orc, mark it as reliable

2018-05-14 Thread Josh Poimboeuf
On Mon, May 14, 2018 at 04:06:53PM +0200, Jiri Slaby wrote: > In SUSE, we need a reliable stack unwinder for kernel live patching, but > we do not want to enable frame pointers for performance reasons. So > after the previous patches to make the ORC reliable, mark ORC as a > reliable stack unwinder

Re: [PATCH v10 06/25] mm: make pte_unmap_same compatible with SPF

2018-05-14 Thread Laurent Dufour
On 10/05/2018 18:15, vinayak menon wrote: > On Tue, Apr 17, 2018 at 8:03 PM, Laurent Dufour > wrote: >> pte_unmap_same() is making the assumption that the page table are still >> around because the mmap_sem is held. >> This is no more the case when running a speculative page fault and >> additio

Re: [PATCH 01/14] net: sched: use rcu for action cookie update

2018-05-14 Thread Jiri Pirko
Mon, May 14, 2018 at 04:27:02PM CEST, vla...@mellanox.com wrote: >Implement functions to atomically update and free action cookie >using rcu mechanism. > >Signed-off-by: Vlad Buslov Signed-off-by: Jiri Pirko

Re: [PATCH 02/14] net: sched: change type of reference and bind counters

2018-05-14 Thread Jiri Pirko
Mon, May 14, 2018 at 04:27:03PM CEST, vla...@mellanox.com wrote: >Change type of action reference counter to refcount_t. > >Change type of action bind counter to atomic_t. >This type is used to allow decrementing bind counter without testing >for 0 result. > >Signed-off-by: Vlad Buslov Signed-off

Re: INFO: task hung in ext4_direct_IO

2018-05-14 Thread Tetsuo Handa
On 2018/05/14 23:36, syzbot wrote: > Call Trace: >  context_switch kernel/sched/core.c:2859 [inline] >  __schedule+0x801/0x1e30 kernel/sched/core.c:3501 >  schedule+0xef/0x430 kernel/sched/core.c:3545 >  __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:269 [inline] >  rwsem_down_read_fai

Re: [PATCH 03/14] net: sched: add 'delete' function to action ops

2018-05-14 Thread Jiri Pirko
Mon, May 14, 2018 at 04:27:04PM CEST, vla...@mellanox.com wrote: >Extend action ops with 'delete' function. Each action type to implement its >own delete function that doesn't depend on rtnl lock. > >Signed-off-by: Vlad Buslov >--- > include/net/act_api.h | 1 + > 1 file changed, 1 insertion(+) > >

Re: [PATCH 4.4 01/72] mtd: jedec_probe: Fix crash in jedec_read_mfr()

2018-05-14 Thread Ben Hutchings
On Fri, 2018-04-06 at 15:23 +0200, Greg Kroah-Hartman wrote: > 4.4-stable review patch.  If anyone has any objections, please let me know. > > -- > > From: Linus Walleij > > commit 87a73eb5b56fd6e07c8e499fe8608ef2d8912b82 upstream. [...] > --- a/drivers/mtd/chips/jedec_probe.c >

Re:Loan Offer.

2018-05-14 Thread Dreams Realities Loans
Hello We are a private financial company. We offer funding for investment across the world. We have funded and invested in businesses and given personal, business and other multi-purpose loans to individuals, firms and groups. We have transformed DREAMS into REALITIES. Please send more details

Re: [PATCH 04/14] net: sched: implement unlocked action init API

2018-05-14 Thread Jiri Pirko
Mon, May 14, 2018 at 04:27:05PM CEST, vla...@mellanox.com wrote: >Add additional 'unlocked' argument to act API init functions. >Argument is true when rtnl lock is not taken and false otherwise. >It is required to implement actions that need to release rtnl lock before >loading kernel module and re

Re: [PATCH v3 4/4] drm/rockchip: support dp training outside dp firmware

2018-05-14 Thread Sean Paul
On Mon, May 14, 2018 at 05:53:55PM +0800, Lin Huang wrote: > DP firmware uses fixed phy config values to do training, but some > boards need to adjust these values to fit for their unique hardware > design. So if the phy is using custom config values, do software > link training instead of relying

Re: [PATCH] arm64: allowing mmap to be traced

2018-05-14 Thread Christian Hansen (chansen3)
Indeed, you have the quicker draw. I concede to your patch. On 2018-05-14, 10:32 AM, "Christian Hansen (chansen3)" wrote: Adding missing macro which is present all other system calls to to mmap declaration for ARM. This allows it to appear as a kernel tracing target. Sig

Re: [PATCH 07/11] driver core: Respect all error codes from dev_pm_domain_attach()

2018-05-14 Thread Tony Lindgren
Ulf, * Ulf Hansson [180426 09:01]: > The limitation of being able to check only for -EPROBE_DEFER from > dev_pm_domain_attach() has been removed. Hence let's respect all error > codes and bail out accordingly. > > Cc: Greg Kroah-Hartman > Signed-off-by: Ulf Hansson > --- > drivers/base/platfo

Re: [RFC] mm, THP: Map read-only text segments using large THP pages

2018-05-14 Thread Christopher Lameter
On Mon, 14 May 2018, William Kucharski wrote: > The idea is that the kernel will attempt to allocate and map the range using a > PMD sized THP page upon first fault; if the allocation is successful the page > will be populated (at present using a call to kernel_read()) and the page will > be mappe

Re: [PATCH] perf/ring_buffer: ensure atomicity and order of updates

2018-05-14 Thread Mark Rutland
On Mon, May 14, 2018 at 05:02:13PM +0200, Peter Zijlstra wrote: > On Mon, May 14, 2018 at 01:28:15PM +0200, Peter Zijlstra wrote: > > On Mon, May 14, 2018 at 12:05:33PM +0100, Mark Rutland wrote: > > > > > Also note that in perf_output_put_handle(), where we write ->data_head, > > > > the store is

Re: [PATCH 20/23] LSM: Move common usercopy into

2018-05-14 Thread Stephen Smalley
On 05/10/2018 08:55 PM, Casey Schaufler wrote: > From: Casey Schaufler > Date: Thu, 10 May 2018 15:54:25 -0700 > Subject: [PATCH 20/23] LSM: Move common usercopy into > security_getpeersec_stream > > The modules implementing hook for getpeersec_stream > don't need to be duplicating the copy-to-u

Re: [PATCH v10 09/25] mm: protect VMA modifications using VMA sequence count

2018-05-14 Thread Laurent Dufour
On 23/04/2018 09:19, Minchan Kim wrote: > On Tue, Apr 17, 2018 at 04:33:15PM +0200, Laurent Dufour wrote: >> The VMA sequence count has been introduced to allow fast detection of >> VMA modification when running a page fault handler without holding >> the mmap_sem. >> >> This patch provides protect

Re: [PATCH] perf/ring_buffer: ensure atomicity and order of updates

2018-05-14 Thread Peter Zijlstra
On Mon, May 14, 2018 at 04:20:23PM +0100, Mark Rutland wrote: > > @@ -10499,6 +10523,9 @@ SYSCALL_DEFINE5(perf_event_open, > > goto err_cred; > > } > > > > + if (in_compat_syscall()) > > + event->event_caps |= PERF_EV_CAP_COMPAT; > > + > > After a native perf_event_o

[PATCH] lib/rhashtable: reorder some inititalization sequences

2018-05-14 Thread Davidlohr Bueso
rhashtable_init() allocates memory at the very end of the call, once everything is setup; with the exception of the nelems parameter. However, unless the user is doing something bogus with params for which -EINVAL is returned, memory allocation is the only operation that can trigger the call to fai

Re: [PATCH] libata: Apply NOLPM quirk for SAMSUNG PM830 CXM13D1Q.

2018-05-14 Thread Tejun Heo
On Sun, May 13, 2018 at 08:11:15PM +0200, fc...@fedoraproject.org wrote: > From: François Cami > > Without this patch the drive errors out regularly: > > [1.090154] ata1.00: ATA-8: SAMSUNG SSD PM830 mSATA 256GB, > CXM13D1Q, max UDMA/133 > (...) > [ 345.154996] ata1.00: exception Emask 0x40

Re: [PATCH V5] cpufreq: intel_pstate: allow trace in passive mode

2018-05-14 Thread Srinivas Pandruvada
On Sun, 2018-05-13 at 10:43 +0200, Rafael J. Wysocki wrote: > On Thursday, May 3, 2018 8:22:47 AM CEST Doug Smythies wrote: > > Allow use of the trace_pstate_sample trace function > > when the intel_pstate driver is in passive mode. > > Since the core_busy and scaled_busy fields are not > > used, a

[PATCH V6] cpufreq: intel_pstate: allow trace in passive mode

2018-05-14 Thread Srinivas Pandruvada
From: Doug Smythies Allow use of the trace_pstate_sample trace function when the intel_pstate driver is in passive mode. Since the core_busy and scaled_busy fields are not used, and it might be desirable to know which path through the driver was used, either intel_cpufreq_target or intel_cpufreq_

Re: [PATCH v3] display: panel: Add AUO g070vvn01 display support (800x480)

2018-05-14 Thread Lukasz Majewski
Dear All, > This commit adds support for AUO's 7.0" display. If I may gentle remind about this patch > > Signed-off-by: Lukasz Majewski > > --- > Changes for v3: > - Remove not used 'bus-format-override = "rgb565";' property > > Changes for v2: > - Add *.txt suffix to the auo,g070wn01 f

Re: serial: custom baud rate

2018-05-14 Thread Grant Edwards
On 2018-05-13, Alan Cox wrote: > On Thu, 3 May 2018 18:27:14 + (UTC) > Grant Edwards wrote: > >> On 2018-05-03, Muni Sekhar wrote: >> >> > If I need to set a custom baud rates(e.g. 14400, 128000, 256000), does >> > Linux serial framework has any supporting method? >> >> Sure, use the ter

Re: [PATCH 0/7] psi: pressure stall information for CPU, memory, and IO

2018-05-14 Thread Christopher Lameter
On Mon, 7 May 2018, Johannes Weiner wrote: > What to make of this number? If CPU utilization is at 100% and CPU > pressure is 0, it means the system is perfectly utilized, with one > runnable thread per CPU and nobody waiting. At two or more runnable > tasks per CPU, the system is 100% overcommitt

Re: [linux-sunxi] [PATCH v2 4/4] ARM: PWM: add allwinner sun8i pwm support.

2018-05-14 Thread Hao Zhang
2018-02-28 9:55 GMT+08:00 André Przywara : > Hi, > > On 25/02/18 13:53, hao_zhang wrote: >> This patch add allwinner sun8i pwm support. > > Again, the subject line is too generic. Mention the R40? > > Can you elaborate here a bit? Mention that is used on the R40, but not > other sun8i SoCs, for ins

Re: [PATCH][RFC v2] ACPI: acpi_pad: Do not launch acpi_pad threads on idle cpus

2018-05-14 Thread Yu Chen
On Sun, May 13, 2018 at 11:30:52AM +0200, Rafael J. Wysocki wrote: > On Saturday, May 5, 2018 1:53:22 PM CEST Chen Yu wrote: > > According to current implementation of acpi_pad driver, > > it does not make sense to spawn any power saving threads > > on the cpus which are already idle - it might bri

Re: [PATCH v2] device property: Get rid of union aliasing

2018-05-14 Thread Lukas Wunner
On Mon, May 14, 2018 at 03:48:09PM +0300, Andy Shevchenko wrote: > On Mon, 2018-05-14 at 14:18 +0200, Lukas Wunner wrote: > > On Tue, May 08, 2018 at 04:15:47PM +0300, Andy Shevchenko wrote: > > > --- a/drivers/firmware/efi/apple-properties.c > > > +++ b/drivers/firmware/efi/apple-properties.c > >

RE: [PATCH v3 10/13] remoteproc: modify vring allocation to support pre-registered region

2018-05-14 Thread Loic PALLARDY
> -Original Message- > From: Bjorn Andersson [mailto:bjorn.anders...@linaro.org] > Sent: Thursday, May 10, 2018 2:59 AM > To: Loic PALLARDY > Cc: o...@wizery.com; linux-remotep...@vger.kernel.org; linux- > ker...@vger.kernel.org; Arnaud POULIQUEN ; > benjamin.gaign...@linaro.org > Subjec

PROBLEM: mce: [Hardware Error] from dmesg -l emerg

2018-05-14 Thread Jeffrin Thalakkottoor
hello, output related of "sudo dmesg -l emerg" from my laptop... ---> $sudo dmesg -l emerg [sudo] password for jeffrin: [0.041023] mce: [Hardware Error]: CPU 0: Machine Check: 0 Bank 5: ee

[PATCH] MIPS: Fix ptrace(2) PTRACE_PEEKUSR and PTRACE_POKEUSR accesses to o32 FGRs

2018-05-14 Thread Maciej W. Rozycki
Check the TIF_32BIT_FPREGS task setting of the tracee rather than the tracer in determining the layout of floating-point general registers in the floating-point context, correcting access to odd-numbered registers for o32 tracees where the setting disagrees between the two processes. Cc: sta...

Re: [PATCH 06/21] i2c: diolan: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Guenter Roeck
On Mon, May 14, 2018 at 04:53:15PM +0200, Peter Rosin wrote: > Because it looks neater and allows factoring out some code > that is now common between if and else. > > Signed-off-by: Peter Rosin Reviewed-by: Guenter Roeck > --- > drivers/i2c/busses/i2c-diolan-u2c.c | 11 --- > 1 file

Re: use memcpy_mcsafe() for copy_to_iter() (was: Re: [PATCH v3 0/9] Series short description)

2018-05-14 Thread Dan Williams
On Mon, May 14, 2018 at 12:26 AM, Ingo Molnar wrote: > > * Dan Williams wrote: > >> Ingo, Thomas, Al, any concerns with this series? > > Yeah, so: > >"[PATCH v3 0/9] Series short description" > > ... isn't the catchiest of titles to capture my [all too easily distracted] > attention! ;-) My

Re: [alsa-devel] [PATCH v3 0/6] ALSA: xen-front: Add Xen para-virtualized frontend driver

2018-05-14 Thread Takashi Iwai
On Mon, 14 May 2018 08:27:36 +0200, Oleksandr Andrushchenko wrote: > > From: Oleksandr Andrushchenko > > Please note: this patch series depends on [3]. > > This patch series adds support for Xen [1] para-virtualized > sound frontend driver. It implements the protocol from > include/xen/interfac

[PATCH] vt: Performsafe console erase only once

2018-05-14 Thread Nicolas Pitre
Commit f8df13e0a9 ("tty: Clean console safely") added code to clear both the scrollback buffer and the screen with "\e[3J", then execution falls through into the code to simply clear the screen. This means scr_memsetw() and the console driver update callback are called twice on the whole screen buf

[PATCH 01/13] Coding style changes to block comments

2018-05-14 Thread John Whitmore
The file drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c has a lot of coding style issues, this will be the first of many small patches which clear up some, if not all, of the problems with the file. Signed-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211/rtl819x_HTProc.c| 319 ++

Coding Style of drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c

2018-05-14 Thread John Whitmore
There were a lot of coding style issues with this file, but I think I've reduced the number down to mainly line length and CamelCase issues. I've put it in 13 patches to, hopefully, make it easier to review, and see that I've made no changes to functionality of the code, (I hope). John

[PATCH 09/13] Coding style, corrected bad indentation of a statement.

2018-05-14 Thread John Whitmore
Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c index 254d536c21d8..f26b01c56d66 1006

[PATCH 06/13] Coding style, removal of redundant braces.

2018-05-14 Thread John Whitmore
Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c index 925a8f313e9f..13f1

Re: [v4,2/2] mailbox: add STMicroelectronics STM32 IPCC driver

2018-05-14 Thread Fabien DESSENNE
Hi Jassi, Do you have any more comments or do you plan to have this patch part of the 4.18 pull request ? BR Fabien On 12/04/18 08:47, Fabien DESSENNE wrote: > The STMicroelectronics STM32 Inter-Processor Communication Controller > (IPCC) is used for communicating data between two processors.

[PATCH 10/13] Coding style: Removal of prohibited spaces.

2018-05-14 Thread John Whitmore
Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c index f26b01c56d66..25db00

[PATCH 13/13] Coding style, corrected an indentation issue, (use tabs).

2018-05-14 Thread John Whitmore
Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c index af6508dfd897..7a765b022f8c 1006

[PATCH 12/13] Coding style, removal of braces from single statement blocks

2018-05-14 Thread John Whitmore
Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c index 742eb35ae442..af

[PATCH 08/13] Coding style, added blank line after declarations.

2018-05-14 Thread John Whitmore
Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c index 56cc1192cf9f..254

[PATCH 11/13] Coding style: corrections to for statements.

2018-05-14 Thread John Whitmore
I few other minor coding style issues. Signed-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211/rtl819x_HTProc.c| 42 ++ 1 file changed, 19 insertions(+), 23 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c b/drivers/staging/rtl8192u/

[PATCH 07/13] Coding style, removal of redundant returns from void functions.

2018-05-14 Thread John Whitmore
Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c index 13f1eee7d8b1..56cc1192cf9f 100644 --- a/driv

[PATCH 05/13] Coding style corrections. Added spaces around operators.

2018-05-14 Thread John Whitmore
Signed-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211/rtl819x_HTProc.c| 148 ++--- 1 file changed, 74 insertions(+), 74 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c index 110fa8b

[GIT PULL] STi DT update for v4.18 round 1

2018-05-14 Thread Patrice CHOTARD
Hi Arnd, Kevin, Olof PLease consider this first round of STi dts update for v4.18 The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/

[PATCH 02/13] coding style chages to the switch statements in the file.

2018-05-14 Thread John Whitmore
Signed-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211/rtl819x_HTProc.c| 93 ++ 1 file changed, 44 insertions(+), 49 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c index 17a7209

[PATCH 03/13] coding style corrections for if statements

2018-05-14 Thread John Whitmore
Signed-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211/rtl819x_HTProc.c| 273 + 1 file changed, 112 insertions(+), 161 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c index 9e596

RE: [PATCH v3 11/13] remoteproc: create vdev subdevice with specific dma memory pool

2018-05-14 Thread Loic PALLARDY
> -Original Message- > From: Bjorn Andersson [mailto:bjorn.anders...@linaro.org] > Sent: Thursday, May 10, 2018 3:06 AM > To: Loic PALLARDY > Cc: o...@wizery.com; linux-remotep...@vger.kernel.org; linux- > ker...@vger.kernel.org; Arnaud POULIQUEN ; > benjamin.gaign...@linaro.org > Subjec

[PATCH 04/13] coding style corrections, spaces around ',' characters and removal of blank lines

2018-05-14 Thread John Whitmore
Signed-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211/rtl819x_HTProc.c| 134 +++-- 1 file changed, 42 insertions(+), 92 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c index 9366b62

Re: [PATCH 01/13] Coding style changes to block comments

2018-05-14 Thread Greg KH
On Mon, May 14, 2018 at 04:53:06PM +0100, John Whitmore wrote: > The file drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c has a lot of > coding style issues, this will be the first of many small patches which clear > up some, if not all, of the problems with the file. This isn't a good changel

Re: [PATCH 02/13] coding style chages to the switch statements in the file.

2018-05-14 Thread Greg KH
On Mon, May 14, 2018 at 04:53:07PM +0100, John Whitmore wrote: > Signed-off-by: John Whitmore > --- > .../staging/rtl8192u/ieee80211/rtl819x_HTProc.c| 93 > ++ > 1 file changed, 44 insertions(+), 49 deletions(-) And I can't take patches without any changelog comments at

Re: [PATCH] nvme: fix lockdep warning in nvme_mpath_clear_current_path

2018-05-14 Thread Paul E. McKenney
On Mon, May 14, 2018 at 03:56:22PM +0200, Johannes Thumshirn wrote: > On Mon, May 14, 2018 at 06:38:49AM -0700, Paul E. McKenney wrote: > > On Mon, May 14, 2018 at 02:57:25PM +0200, Johannes Thumshirn wrote: > > > On Mon, May 14, 2018 at 05:42:30AM -0700, Christoph Hellwig wrote: > > > > > extern

Re: [PATCH tip/core/rcu 0/21] Contention reduction for v4.18

2018-05-14 Thread Paul E. McKenney
On Mon, May 14, 2018 at 04:42:33PM +1000, Nicholas Piggin wrote: > On Sun, 22 Apr 2018 20:02:58 -0700 > "Paul E. McKenney" wrote: > > > Hello! > > > > This series reduces lock contention on the root rcu_node structure, > > and is also the first precursor to TBD changes to consolidate the > > thr

Re: [alsa-devel] [PATCH v3 0/6] ALSA: xen-front: Add Xen para-virtualized frontend driver

2018-05-14 Thread Oleksandr Andrushchenko
On 05/14/2018 06:52 PM, Takashi Iwai wrote: On Mon, 14 May 2018 08:27:36 +0200, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko Please note: this patch series depends on [3]. This patch series adds support for Xen [1] para-virtualized sound frontend driver. It implements the prot

Re: [linux-sunxi] [PATCH v2 2/4] ARM: dtsi: add pwm node for sun8i.

2018-05-14 Thread Hao Zhang
2018-02-28 9:53 GMT+08:00 André Przywara : > Hi, > > The subject line should mention the R40, there are far too many sun8i SoCs. Okey. > > On 25/02/18 13:51, hao_zhang wrote: >> This patch adds pwm node for sun8i. >> >> Signed-off-by: hao_zhang >> --- >> arch/arm/boot/dts/sun8i-r40.dtsi | 13 ++

Re: [RFC 0/6] perf probe: Attempt to improve C++ probing

2018-05-14 Thread Arnaldo Carvalho de Melo
Em Sun, May 13, 2018 at 07:06:11PM +0800, Holger Freyther escreveu: > From: Holger Hans Peter Freyther > Currently perf probe -x app --funcs will list and demangle C++ functions > but the other probe actions can't work with them. When asking probe to not > demangle it will not list any of the ap

Re: [PATCH 00/21] i2c: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Joe Perches
On Mon, 2018-05-14 at 16:53 +0200, Peter Rosin wrote: > Hi! > > The nice little inline i2c_8bit_addr_from_msg is not getting > enough use. This series improves the situation and drops a > bunch of lines in the process. Perhaps the inline should test for I2C_M_REV_DIR_ADDR as there is at least one

Re: [PATCH v2] device property: Get rid of union aliasing

2018-05-14 Thread Andy Shevchenko
On Mon, 2018-05-14 at 17:40 +0200, Lukas Wunner wrote: > On Mon, May 14, 2018 at 03:48:09PM +0300, Andy Shevchenko wrote: > > On Mon, 2018-05-14 at 14:18 +0200, Lukas Wunner wrote: > > > On Tue, May 08, 2018 at 04:15:47PM +0300, Andy Shevchenko wrote: > > > > --- a/drivers/firmware/efi/apple-proper

Re: [PATCH v2] KVM: X86: Fix CR3 reserve bits

2018-05-14 Thread Paolo Bonzini
On 13/05/2018 11:24, Wanpeng Li wrote: > From: Wanpeng Li > > MSB of CR3 is a reserved bit if the PCIDE bit is not set in CR4. > It should be checked when PCIDE bit is not set, however commit > 'd1cd3ce900441 ("KVM: MMU: check guest CR3 reserved bits based on > its physical address width")' re

Re: [solved] QEMU ATA hard disk not detected

2018-05-14 Thread Paul Menzel
Dear Linux folks, On 05/13/18 10:34, Paul Menzel wrote: In QEMU 2.11 a disk is only detected by the AHCI driver and not by libata. On QEMU’s Standard PC (i440FX + PIIX, 1996), that causes an attached drive not to be detected as that machine doesn’t support AHCI. Here is the output with the

[PATCH 4/4] misc: pci_endpoint_test: Add DesignWare EP entry

2018-05-14 Thread Gustavo Pimentel
Add the DesignWare EP device ID entry to pci_endpoint_test driver table. Allow the device to be recognize and handle by the pci_endpoint_test driver. Signed-off-by: Gustavo Pimentel Acked-by: Kishon Vijay Abraham I --- drivers/misc/pci_endpoint_test.c | 1 + 1 file changed, 1 insertion(+) dif

[PATCH 3/4] bindings: PCI: designware: Add support for EP in DesignWare driver

2018-05-14 Thread Gustavo Pimentel
Add device tree binding documentation for the EP in PCIe DesignWare driver. Signed-off-by: Gustavo Pimentel Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/pci/designware-pcie.txt | 12 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/

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