[PATCH v6 2/8] staging: rtl8192e: Addition of prefered spacing - Coding style

2018-06-06 Thread John Whitmore
Added spaces around various operators, as preferred by coding style. Signed-off-by: John Whitmore --- .../rtl8192u/ieee80211/rtl819x_HTProc.c | 22 +-- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c b/dri

[PATCH v6 3/8] staging: rtl8192e: Remove unnecessary return statements - Coding style

2018-06-06 Thread John Whitmore
Return statments from void functions are not required by the coding standard. 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/rtl8192

[PATCH v6 5/8] staging: rtl8192e: Remove unrequired space at start of line - Coding Style

2018-06-06 Thread John Whitmore
Function HTIOTActIsDisableMCS14 contained spurious space at start of line. 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/stagi

[PATCH v6 4/8] staging: rtl8192e: Correct alignment of if statements - Coding Style

2018-06-06 Thread John Whitmore
Function HTIOTPeerDetermine used incorrect indentation in if statements. Signed-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c b/d

[PATCH v6 7/8] staging: rtl8192e: Optimise Comparison to NULL tests - Coding Style

2018-06-06 Thread John Whitmore
Change comparison to NULL to better adhere to coding standard. 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/stagin

[PATCH v6 8/8] staging: rtl8192e: remove unnecessary parentheses - Coding Style

2018-06-06 Thread John Whitmore
Remove unneccessary parentheses - Coding Style change 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/rtl81

[PATCH v6 6/8] staging: rtl8192e: Correct declaration of HTResetIOTSetting - Coding Style

2018-06-06 Thread John Whitmore
Declaration of function was spread over three lines. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c b/drivers/staging/rtl8192u/ieee802

staging: rtl8192e: Series of coding style changes

2018-06-06 Thread John Whitmore
Version 6 : Sorry to send this out again but version 5 contained a little less verbosity then required. Again these are just some simple coding style changes to the file, so nothing of importance.

[PATCH v6 1/8] staging: rtl8192e: Add and remove blank lines - Coding style

2018-06-06 Thread John Whitmore
Simple addition & removal of blank lines as required Signed-off-by: John Whitmore --- .../rtl8192u/ieee80211/rtl819x_HTProc.c | 64 +-- 1 file changed, 16 insertions(+), 48 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c b/drivers/staging/rtl

Re: [PATCH] selftests/ftrace: Add ppc support for kprobe args tests

2018-06-06 Thread Masami Hiramatsu
On Wed, 6 Jun 2018 15:01:54 +0530 "Naveen N. Rao" wrote: > Add powerpc support for the recently added kprobe args tests. Thank you for adding powerpc support! Reviewed-by: Masami Hiramatsu > > Signed-off-by: Naveen N. Rao > --- > .../selftests/ftrace/test.d/kprobe/kprobe_args_string.tc |

Re: [PATCH 4.9 00/61] 4.9.107-stable review

2018-06-06 Thread Naresh Kamboju
On 5 June 2018 at 22:31, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.107 release. > There are 61 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 4.4 00/37] 4.4.136-stable review

2018-06-06 Thread Naresh Kamboju
On 5 June 2018 at 22:31, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.136 release. > There are 37 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH] printk/nmi: Prevent deadlock when serializing NMI backtraces

2018-06-06 Thread Petr Mladek
On Wed 2018-06-06 14:10:29, Sergey Senozhatsky wrote: > On (06/05/18 14:47), Petr Mladek wrote: > [..] > > Grr, the ABBA deadlock is still there. NMIs are not sent to the other > > CPUs atomically. Even if we detect that logbuf_lock is available > > in printk_nmi_enter() on some CPUs, it might stil

Re: [PATCH] x86/iommu: Fix a typo in a macro parameter

2018-06-06 Thread Masatake YAMATO
On Wed, 6 Jun 2018 12:37:34 +0200 (CEST), Thomas Gleixner wrote: > On Wed, 6 Jun 2018, Masatake YAMATO wrote: > > Can you please explain why 0 is the wrong value. I don't know such constants, 0 and 1. What I change is just the name of macro parameter as s/detect/_detect/ I don't change

Re: [RFC][PATCH 1/2] memcg: Ensure every task that uses an mm is in the same memory cgroup

2018-06-06 Thread Michal Hocko
On Fri 01-06-18 09:53:09, Eric W. Biederman wrote: [...] > +static int mem_cgroup_mm_can_attach(struct cgroup_taskset *tset) > +{ > + struct cgroup_subsys_state *css, *tcss; > + struct task_struct *p, *t; > + struct mm_struct *mm = NULL; > + int ret = -EINVAL; > + > + /* > +

Re: [PATCH v3 3/6] mtd: rawnand: tegra: add devicetree binding

2018-06-06 Thread Thierry Reding
On Wed, Jun 06, 2018 at 12:45:40PM +0200, Boris Brezillon wrote: > Hi Thierry, > > On Wed, 6 Jun 2018 12:39:03 +0200 > Thierry Reding wrote: > > > On Tue, Jun 05, 2018 at 11:19:14PM +0300, Dmitry Osipenko wrote: > > > On 01.06.2018 10:30, Boris Brezillon wrote: > > > > On Fri, 1 Jun 2018 00:1

Re: [PATCH v5 6/6] tty/serial: atmel: changed the driver to work under at91-usart mfd

2018-06-06 Thread Richard Genoud
Typo in the subject: changed->change On 04/06/2018 18:59, Radu Pirea wrote: > This patch modifies the place where resources and device tree properties > are searched. > > Signed-off-by: Radu Pirea > --- > drivers/tty/serial/Kconfig| 1 + > drivers/tty/serial/atmel_serial.c | 41 ++

Re: [PATCH v2 5/5] memory: tegra: Introduce Tegra20 EMC driver

2018-06-06 Thread Thierry Reding
On Mon, Jun 04, 2018 at 01:36:54AM +0300, Dmitry Osipenko wrote: > Introduce driver for the External Memory Controller (EMC) found on Tegra20 > chips, which controls the external DRAM on the board. The purpose of this > driver is to program memory timing for external memory on the EMC clock > rate

RE: [PATCH] tpm: separate cmd_ready/go_idle from runtime_pm

2018-06-06 Thread Winkler, Tomas
> > On Wed, May 30, 2018 at 10:52:28AM +, Winkler, Tomas wrote: > > > > > > On Wed, May 23, 2018 at 01:48:17PM +, Winkler, Tomas wrote: > > > > > > > > > On Tue, May 22, 2018 at 09:27:46AM +, Winkler, Tomas wrote: > > > > > > > > > > > > > > On Wed, May 16, 2018 at 10:46:00PM +0300, To

Re: [PATCH V2] xfs: fix string handling in get/set functions

2018-06-06 Thread Christoph Hellwig
> diff --git a/fs/xfs/xfs_ioctl.c b/fs/xfs/xfs_ioctl.c > index 82f7c83c1dad..596e176c19a6 100644 > --- a/fs/xfs/xfs_ioctl.c > +++ b/fs/xfs/xfs_ioctl.c > @@ -1828,13 +1828,13 @@ xfs_ioc_getlabel( > /* Paranoia */ > BUILD_BUG_ON(sizeof(sbp->sb_fname) > FSLABEL_MAX); > > + /* 1 large

Re: [PATCH V3 02/17] kallsyms, x86: Export addresses of syscall trampolines

2018-06-06 Thread Peter Zijlstra
On Wed, Jun 06, 2018 at 11:02:08AM +0300, Adrian Hunter wrote: > On 05/06/18 19:00, Andi Kleen wrote: > >> +#ifdef CONFIG_X86_64 > >> +int arch_get_kallsym(unsigned int symnum, unsigned long *value, char > >> *type, > >> + char *name) > >> +{ > >> + unsigned int cpu, ncpu; > >> + >

Re: [PATCH v5 8/8] staging: rtl8192e: remove unnecessary parentheses - Coding Style

2018-06-06 Thread Greg KH
On Wed, Jun 06, 2018 at 11:25:14AM +0100, John Whitmore wrote: > On Sun, Jun 03, 2018 at 02:28:35PM +0200, Greg KH wrote: > > On Sun, Jun 03, 2018 at 01:04:13PM +0100, John Whitmore wrote: > > > Signed-off-by: John Whitmore > > > --- > > > drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 12

Re: [PATCH v3 3/6] mtd: rawnand: tegra: add devicetree binding

2018-06-06 Thread Boris Brezillon
Hi Thierry, On Wed, 6 Jun 2018 12:39:03 +0200 Thierry Reding wrote: > On Tue, Jun 05, 2018 at 11:19:14PM +0300, Dmitry Osipenko wrote: > > On 01.06.2018 10:30, Boris Brezillon wrote: > > > On Fri, 1 Jun 2018 00:16:34 +0200 > > > Stefan Agner wrote: > > > > > >> This adds the devicetree bi

Re: [PATCH v2 0/5] Tegra20 External Memory Controller driver

2018-06-06 Thread Thierry Reding
On Mon, Jun 04, 2018 at 01:36:49AM +0300, Dmitry Osipenko wrote: > Hello, > > Couple years ago the Tegra20 EMC driver was removed from the kernel > due to incompatible changes in the Tegra's clock driver. This patchset > introduces a modernized EMC driver. Currently the sole purpose of the > drive

Re: [PATCH V5] powercap/drivers/idle_injection: Add an idle injection framework

2018-06-06 Thread Viresh Kumar
On 06-06-18, 12:22, Daniel Lezcano wrote: > (mb() are done in the atomic operations AFAICT). AFAIU, it is required to make sure the operations are seen in a particular order on another CPU and the compiler doesn't reorganize code to optimize it. For example, in our case what if the compiler reorg

linux-next: build warning after merge of the y2038 tree

2018-06-06 Thread Stephen Rothwell
Hi all, After merging the y2038 tree, today's linux-next build (x86_64 allmodconfig) produced this warning: fs/pstore/ram.c: In function 'ramoops_read_kmsg_hdr': fs/pstore/ram.c:39:29: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'time64_t * {aka long long

Re: [PATCH v3 3/6] mtd: rawnand: tegra: add devicetree binding

2018-06-06 Thread Thierry Reding
On Tue, Jun 05, 2018 at 11:19:14PM +0300, Dmitry Osipenko wrote: > On 01.06.2018 10:30, Boris Brezillon wrote: > > On Fri, 1 Jun 2018 00:16:34 +0200 > > Stefan Agner wrote: > > > >> This adds the devicetree binding for the Tegra 2 NAND flash > >> controller. > >> > >> Signed-off-by: Lucas Stach

Re: [PATCH 2/2] sched/fair: util_est: add running_sum tracking

2018-06-06 Thread Patrick Bellasi
Hi Vincent, On 06-Jun 10:26, Vincent Guittot wrote: [...] > For the above 2 tasks of the example example we have the pattern > > Task 1 > state SSESSESS > util_avgDD DD DD > > Task 2 > state SSESSESS > util

Re: [PATCH 2/2] powerpc: Add support for function error injection

2018-06-06 Thread Naveen N. Rao
Naveen N. Rao wrote: Michael Ellerman wrote: I guess if it doesn't already apply to tip you should rebase it. You've probably missed 4.18 anyway. Oh ok. I just tried and it seems to apply just fine. I'll post v2 after giving this a quick test. I didn't post a v2 since I have decided agains

Re: [PATCH] x86/iommu: Fix a typo in a macro parameter

2018-06-06 Thread Thomas Gleixner
On Wed, 6 Jun 2018, Masatake YAMATO wrote: Can you please explain why 0 is the wrong value. That's not a typo, that's a functional change and both the subject line and the changelog itself should be explanatory. Thanks, tglx > Signed-off-by: Masatake YAMATO > --- > arch/x86/include/as

Re: [PATCH] printk/nmi: Prevent deadlock when serializing NMI backtraces

2018-06-06 Thread Sergey Senozhatsky
On (06/06/18 14:10), Sergey Senozhatsky wrote: > On (06/05/18 14:47), Petr Mladek wrote: > [..] > > Grr, the ABBA deadlock is still there. NMIs are not sent to the other > > CPUs atomically. Even if we detect that logbuf_lock is available > > in printk_nmi_enter() on some CPUs, it might still get l

[PATCH] ASoC: ak4458: make structure soc_codec_dev_ak4458 static const

2018-06-06 Thread Colin King
From: Colin Ian King The structure soc_codec_dev_ak4458 is local to the source and do not need to be in global scope and can be const, make it static const. Cleans up sparse warnings: warning: symbol 'soc_codec_dev_ak4458' was not declared. Should it be static? Signed-off-by: Colin Ian King --

Re: [PATCH] x86/spectre_v1: Disable compiler optimizations over array_index_mask_nospec()

2018-06-06 Thread Thomas Gleixner
Dan, On Wed, 30 May 2018, Mark Rutland wrote: > > diff --git a/arch/x86/include/asm/barrier.h b/arch/x86/include/asm/barrier.h > > index 042b5e892ed1..41f7435c84a7 100644 > > --- a/arch/x86/include/asm/barrier.h > > +++ b/arch/x86/include/asm/barrier.h > > @@ -38,10 +38,11 @@ static inline unsigne

Re: [PATCH v5 8/8] staging: rtl8192e: remove unnecessary parentheses - Coding Style

2018-06-06 Thread John Whitmore
On Sun, Jun 03, 2018 at 02:28:35PM +0200, Greg KH wrote: > On Sun, Jun 03, 2018 at 01:04:13PM +0100, John Whitmore wrote: > > Signed-off-by: John Whitmore > > --- > > drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 12 ++-- > > 1 file changed, 6 insertions(+), 6 deletions(-) > > I

Re: [PATCH] ASoC: ak5558: make two structures static

2018-06-06 Thread Daniel Baluta
On Mi, 2018-06-06 at 10:57 +0100, Colin King wrote: > From: Colin Ian King > > The structure ak5558_pm and soc_codec_dev_ak5558 are local to the > source and do not need to be in global scope, so make them static. > Also make soc_codec_dev_ak5558 static. > > Cleans up sparse warnings: > warning:

RE: [upstream-release] [PATCH] irqchip/ls-scfg-msi: map MSIs in the iommu

2018-06-06 Thread Bharat Bhushan
> -Original Message- > From: upstream-release-boun...@linux.freescale.net [mailto:upstream- > release-boun...@linux.freescale.net] On Behalf Of Laurentiu Tudor > Sent: Tuesday, June 5, 2018 5:57 PM > To: t...@linutronix.de; ja...@lakedaemon.net; marc.zyng...@arm.com; linux- > ker...@vger

Re: [PATCH V5] powercap/drivers/idle_injection: Add an idle injection framework

2018-06-06 Thread Daniel Lezcano
On 06/06/2018 06:27, Viresh Kumar wrote: > On 05-06-18, 16:54, Daniel Lezcano wrote: >> On 05/06/2018 12:39, Viresh Kumar wrote: >> I don't think you are doing a mistake. Even if this can happen >> theoretically, I don't think practically that is the case. >> >> The play_idle() has 1ms minimum slee

linux-next: manual merge of the y2038 tree with the staging tree

2018-06-06 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the y2038 tree got conflicts in: drivers/staging/lustre/lustre/llite/llite_lib.c drivers/staging/lustre/lustre/llite/namei.c drivers/staging/lustre/lustre/lmv/lmv_obd.c drivers/staging/lustre/lustre/mdc/mdc_reint.c drivers/staging/lustre/lustre/obdcla

Re: [PATCH] HV: Fix definition of struct hv_vp_assist_page.

2018-06-06 Thread Thomas Gleixner
On Mon, 21 May 2018, Tianyu Lan wrote: KY > The struct hv_vp_assist_page was defined incorrectly. > The "vtl_control" should be u64[3], "nested_enlightenments_control" > should be a u64 and there is 7 reserved bytes following "enlighten_vmentry". > This patch is to fix it. > > Signed-off-by

Re: [PATCH 01/20] coresight: Fix memory leak in coresight_register

2018-06-06 Thread Suzuki K Poulose
On 06/06/2018 07:44 AM, Arvind Yadav wrote: Hi Suzuki, On Wednesday 06 June 2018 03:13 AM, Suzuki K Poulose wrote: commit 6403587a930c ("coresight: use put_device() instead of kfree()") introduced a memory leak where, if we fail to register the device for coresight_device, we don't free the "c

linux-next: manual merge of the y2038 tree with the ceph tree

2018-06-06 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the y2038 tree got a conflict in: fs/ceph/addr.c between commit: c843d13caefa ("libceph: make abort_on_full a per-osdc setting") from the ceph tree and commit: 213ae530f442 ("vfs: change inode times to use struct timespec64") from the y2038 tree. I

[tip:x86/urgent] x86: Mark native_set_p4d() as __always_inline

2018-06-06 Thread tip-bot for Arnd Bergmann
Commit-ID: 046c0dbec0238c25b7526c26c9a9687664229ce2 Gitweb: https://git.kernel.org/tip/046c0dbec0238c25b7526c26c9a9687664229ce2 Author: Arnd Bergmann AuthorDate: Tue, 5 Jun 2018 13:35:15 +0200 Committer: Thomas Gleixner CommitDate: Wed, 6 Jun 2018 12:09:45 +0200 x86: Mark native_set_p4

Re: [PATCH v3 0/6] Add MCAN Support for dra76x

2018-06-06 Thread Faiz Abbas
Hi, On Wednesday 06 June 2018 03:39 PM, Tony Lindgren wrote: > * Faiz Abbas [180606 06:09]: >> The following patches add dts and sysconfig support >> for MCAN on TI's dra76 SOCs >> >> The patches depend on the following series: >> https://patchwork.kernel.org/patch/10221105/ >> >> Changes in v3:

Re: [PATCH v5 00/10] track CPU utilization

2018-06-06 Thread Quentin Perret
On Wednesday 06 Jun 2018 at 11:59:04 (+0200), Vincent Guittot wrote: > On 6 June 2018 at 11:44, Quentin Perret wrote: > > On Tuesday 05 Jun 2018 at 16:18:09 (+0200), Peter Zijlstra wrote: > >> On Mon, Jun 04, 2018 at 08:08:58PM +0200, Vincent Guittot wrote: > >> > On 4 June 2018 at 18:50, Peter Zi

[tip:irq/urgent] irqchip/ls-scfg-msi: Map MSIs in the iommu

2018-06-06 Thread tip-bot for Laurentiu Tudor
Commit-ID: 0cdd431c337e99177e68597f3de34bedd3a20a74 Gitweb: https://git.kernel.org/tip/0cdd431c337e99177e68597f3de34bedd3a20a74 Author: Laurentiu Tudor AuthorDate: Tue, 5 Jun 2018 15:27:27 +0300 Committer: Thomas Gleixner CommitDate: Wed, 6 Jun 2018 12:05:19 +0200 irqchip/ls-scfg-msi:

[tip:irq/urgent] irqchip/stm32: Fix non-SMP build warning

2018-06-06 Thread tip-bot for Arnd Bergmann
Commit-ID: a84277bf3efcc7bb5b5a5eec62de5c134cb47ee5 Gitweb: https://git.kernel.org/tip/a84277bf3efcc7bb5b5a5eec62de5c134cb47ee5 Author: Arnd Bergmann AuthorDate: Tue, 5 Jun 2018 13:43:34 +0200 Committer: Thomas Gleixner CommitDate: Wed, 6 Jun 2018 12:05:19 +0200 irqchip/stm32: Fix non-

Re: [PATCH v3 0/6] Add MCAN Support for dra76x

2018-06-06 Thread Tony Lindgren
* Faiz Abbas [180606 06:09]: > The following patches add dts and sysconfig support > for MCAN on TI's dra76 SOCs > > The patches depend on the following series: > https://patchwork.kernel.org/patch/10221105/ > > Changes in v3: > 1. Added reset functionality to the ti-sysc > driver. This ena

Re: [PATCH] arm64: topology: Avoid checking numa mask for scheduler MC selection

2018-06-06 Thread Sudeep Holla
On 05/06/18 20:08, Jeremy Linton wrote: > The numa mask subset check has problems if !CONFIG_NUMA, over hotplug > operations or during early boot. Lets disable the NUMA siblings checks > for the time being, as NUMA in socket machines have LLC's that will > assure that the scheduler topology isn'

Re: [PATCH v5 00/10] track CPU utilization

2018-06-06 Thread Vincent Guittot
On 6 June 2018 at 11:59, Vincent Guittot wrote: > On 6 June 2018 at 11:44, Quentin Perret wrote: >> On Tuesday 05 Jun 2018 at 16:18:09 (+0200), Peter Zijlstra wrote: [snip] >>> >>> > As you mentioned, scale_rt_capacity give the remaining capacity for >>> > cfs and it will behave like cfs util_a

Re: [PATCH v5 00/10] track CPU utilization

2018-06-06 Thread Vincent Guittot
On 6 June 2018 at 11:44, Quentin Perret wrote: > On Tuesday 05 Jun 2018 at 16:18:09 (+0200), Peter Zijlstra wrote: >> On Mon, Jun 04, 2018 at 08:08:58PM +0200, Vincent Guittot wrote: >> > On 4 June 2018 at 18:50, Peter Zijlstra wrote: >> >> > > So this patch-set tracks the !cfs occupation using t

Re: [PATCH 18/19] serdev: ttydev: Serdev driver that creates an standard TTY port

2018-06-06 Thread Ricardo Ribalda Delgado
On Wed, Jun 6, 2018 at 11:55 AM Andy Shevchenko wrote: > > > > https://github.com/ribalda/linux/tree/serdev2 > > n _is_ default. So, just remove a line. > Done. Thanks! > -- > With Best Regards, > Andy Shevchenko -- Ricardo Ribalda

[PATCH] ASoC: ak5558: make two structures static

2018-06-06 Thread Colin King
From: Colin Ian King The structure ak5558_pm and soc_codec_dev_ak5558 are local to the source and do not need to be in global scope, so make them static. Also make soc_codec_dev_ak5558 static. Cleans up sparse warnings: warning: symbol 'ak5558_pm' was not declared. Should it be static? warning:

Re: [PATCH v4 14/14] coresight: allow the coresight core driver to be built as a module

2018-06-06 Thread Suzuki K Poulose
On 06/05/2018 10:07 PM, Kim Phillips wrote: Allow to build coresight as a module. This enhances coresight developer efficiency by allowing the development to take place exclusively on the target, and without needing to reboot in between changes. - Kconfig becomes a tristate, to allow =m - appen

Re: [PATCH 18/19] serdev: ttydev: Serdev driver that creates an standard TTY port

2018-06-06 Thread Andy Shevchenko
On Wed, Jun 6, 2018 at 10:47 AM, Ricardo Ribalda Delgado wrote: > Hi Andy, > On Wed, Jun 6, 2018 at 8:58 AM Ricardo Ribalda Delgado > wrote: > I have defaulted the module to n as you suggested. You can take a look > to the patches that I plan to submit tomorrow at: > > https://github.com/ribalda

[PATCH 2/4] serial: 8250_dw: allow enable rs485 at boot time

2018-06-06 Thread Giulio Benetti
If "linux,rs485-enabled-at-boot-time" is specified need to setup 485 in probe function. Call uart_get_rs485_mode() to get rs485 configuration, then call rs485_config() callback directly to setup port as rs485. Signed-off-by: Giulio Benetti --- drivers/tty/serial/8250/8250_dw.c | 5 - 1 file

[PATCH 1/4] serial: 8250_dw: add em485 support

2018-06-06 Thread Giulio Benetti
Need to use rs485 transceiver so let's use existing em485 485 emulation layer on top of 8250. Add rs485_config callback to port. Signed-off-by: Giulio Benetti --- drivers/tty/serial/8250/8250_dw.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/drivers/tty/s

[PATCH 4/4] serial: 8250_dw: treat rpm suspend with -EBUSY if RS485 ON and RTS_AFTER_SEND

2018-06-06 Thread Giulio Benetti
If rs485 is on and RTS_AFTER_SEND it means that in idle state rts pin must be asserted, othwerwise rs485 transceiver will enter tx state. dw8250 when clocks are stopped keeps rts line de-asserted(high), resulting in keeping rs485 transceiver in tx state when port is idle. Check if rs485 is on with

[PATCH 3/4] serial: 8250: Handle case port doesn't have TEMT interrupt using em485.

2018-06-06 Thread Giulio Benetti
Some 8250 ports only have TEMT interrupt, so current implementation can't work for ports without it. The only chance to make it work is to loop-read on LSR register. With NO TEMT interrupt check if both TEMT and THRE are set looping on LSR register. Signed-off-by: Giulio Benetti --- drivers/tty

Re: [PATCH] remoteproc: qcom: Introduce Hexagon V5 based WCSS driver

2018-06-06 Thread Sricharan R
Hi Vinod, On 6/6/2018 12:19 PM, Vinod wrote: > Hi Sricharan, > > On 06-06-18, 12:09, Sricharan R wrote: > >> +config QCOM_Q6V5_WCSS >> +tristate "Qualcomm Hexagon based WCSS Peripheral Image Loader" >> +depends on OF && ARCH_QCOM >> +depends on QCOM_SMEM >

[PATCH 2/4] serial: 8250: Copy mctrl when register port.

2018-06-06 Thread Giulio Benetti
RS485 can modify mctrl on startup, especially when RTS_AFTER_SEND is on TIOCM_RTS is set, then need to keep it set when registering port. Copy mctrl to new port too. Signed-off-by: Giulio Benetti --- drivers/tty/serial/8250/8250_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers

[PATCH 1/4] serial: 8250: Copy em485 from port to real port.

2018-06-06 Thread Giulio Benetti
em485 gets lost during serial8250_register_8250_port(). Copy em485 to final uart port. Signed-off-by: Giulio Benetti --- drivers/tty/serial/8250/8250_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/serial/8250/8250_core.c b/drivers/tty/serial/8250/8250_core.c index 9342f

[PATCH 4/4] serial: core: Mask mctrl with TIOCM_RTS too if rs485 on and RTS_AFTER_SEND set.

2018-06-06 Thread Giulio Benetti
If rs485 is enabled and RTS_AFTER_SEND is set on startup need to keep TIOCM_RTS asserted to keep rs485 transceiver in RX when idle. Check if rs485 is on and RTS_AFTER_SEND is set and mask port->mctrl with TIOCM_RTS too and not only TIOCM_DTR. Signed-off-by: Giulio Benetti --- drivers/tty/serial

[PATCH 3/4] serial: 8250: Make em485_rts_after_send() set mctrl according to rts state.

2018-06-06 Thread Giulio Benetti
When rs485 enabled and RTS_AFTER_SEND set on startup, need to preserve mctrl status, because later functions will call set_mctrl passing port->mctrl=0 overriding rts status, resulting in rts pin in transmission when idle. Make mctrl reflect rts pin state. Signed-off-by: Giulio Benetti --- drive

Re: linux-next: manual merge of the staging tree with Linus' tree

2018-06-06 Thread Greg KH
On Wed, Jun 06, 2018 at 07:12:05PM +1000, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the staging tree got conflicts in: > > drivers/staging/ipx/af_ipx.c > drivers/staging/ipx/ipx_proc.c > > between commits: > > fddda2b7b521 ("proc: introduce proc_create_seq{,_data}

Re: [alsa-devel] [PATCH 0/3] ASoC: stm32: sai: add support of iec958 controls

2018-06-06 Thread Takashi Iwai
On Wed, 06 Jun 2018 11:31:45 +0200, Arnaud Pouliquen wrote: > > > > On 06/05/2018 08:29 PM, Takashi Iwai wrote: > > On Tue, 05 Jun 2018 17:50:57 +0200, > > Arnaud Pouliquen wrote: > >> > >> Hi Takashi, > >> > >> On 04/17/2018 01:17 PM, Mark Brown wrote: > >> > On Tue, Apr 17, 2018 at 08:29:17A

Re: [PATCH v4 05/14] coresight: get/put module in coresight_build/release_path

2018-06-06 Thread Suzuki K Poulose
On 06/06/2018 09:24 AM, Greg Kroah-Hartman wrote: On Tue, Jun 05, 2018 at 04:07:01PM -0500, Kim Phillips wrote: Increment the refcnt for driver modules in current use by calling module_get in coresight_build_path and module_put in release_path. This prevents driver modules from being unloaded w

Re: [PATCH RESEND] pwm: berlin: Don't use broken prescaler values

2018-06-06 Thread Thierry Reding
On Tue, Jun 05, 2018 at 12:48:51PM -0400, Tom Hebb wrote: > On 06/05/2018 05:10 AM, Thierry Reding wrote: > > On Mon, Jun 04, 2018 at 02:32:41PM -0400, Thomas Hebb wrote: > >> Six of the eight prescaler values available for Berlin PWM are not true > >> prescalers but rather internal shifts that thr

Re: [PATCH v5 00/10] track CPU utilization

2018-06-06 Thread Quentin Perret
On Tuesday 05 Jun 2018 at 16:18:09 (+0200), Peter Zijlstra wrote: > On Mon, Jun 04, 2018 at 08:08:58PM +0200, Vincent Guittot wrote: > > On 4 June 2018 at 18:50, Peter Zijlstra wrote: > > > > So this patch-set tracks the !cfs occupation using the same function, > > > which is all good. But what,

Re: [PATCH v2 6/8] pwm: cros-ec: Switch to SPDX identifier.

2018-06-06 Thread Thierry Reding
On Wed, Jun 06, 2018 at 11:21:01AM +0200, Enric Balletbo i Serra wrote: > Hi Thierry, > > On 06/06/18 11:08, Thierry Reding wrote: > > On Tue, Jun 05, 2018 at 07:54:27PM +0200, Enric Balletbo i Serra wrote: > >> Adopt the SPDX license identifier headers to ease license compliance > >> management.

Re: [PATCH 0/3] Provide more fine grained control over multipathing

2018-06-06 Thread Christoph Hellwig
On Tue, Jun 05, 2018 at 03:57:05PM -0700, Roland Dreier wrote: > That makes sense but I'm not sure it covers everything. Probably the > most common way to do NVMe/RDMA will be with a single HCA that has > multiple ports, so there's no sensible CPU locality. On the other > hand we want to keep bot

Re: [PATCH 0/3] Provide more fine grained control over multipathing

2018-06-06 Thread Christoph Hellwig
On Wed, Jun 06, 2018 at 12:32:21PM +0300, Sagi Grimberg wrote: > Huh? different paths == different controllers so this sentence can't > be right... you mean that a path selector will select a controller > based on the home node of the local rdma device connecting to it and > the running cpu right?

Re: [RFC PATCH 2/2] media: docs-rst: Add encoder UAPI specification to Codec Interfaces

2018-06-06 Thread Philipp Zabel
On Wed, 2018-06-06 at 18:17 +0900, Tomasz Figa wrote: > On Tue, Jun 5, 2018 at 11:23 PM Philipp Zabel wrote: > > > > On Tue, 2018-06-05 at 21:31 +0900, Tomasz Figa wrote: > > [...] > > > +Initialization > > > > > +-- > > > > > + > > > > > +1. (optional) Enumerate supported formats and

Re: LKMM litmus test for Roman Penyaev's rcu-rr

2018-06-06 Thread Roman Penyaev
On Wed, May 30, 2018 at 9:08 PM, Alan Stern wrote: > On Wed, 30 May 2018, Paul E. McKenney wrote: > >> On Wed, May 30, 2018 at 09:59:28AM -0500, Linus Torvalds wrote: >> > On Wed, May 30, 2018 at 9:29 AM Alan Stern >> > wrote: >> > >> > > > >> > > > Can't we simplify the whole sequence as basical

Re: [RFC 2/2] x86, tsc: Enable clock for ealry printk timestamp

2018-06-06 Thread Feng Tang
On Sat, Jun 02, 2018 at 12:12:13AM +0800, Feng Tang wrote: Hi Peter and all, > Hi Peter and Petr, > > Thanks for your suggestions, will try to find a cleaner and less hacky way, > and it may take some time as dealing with all kinds of TSC is tricky :) > > - Feng > > On Thu, May 31, 2018 at 0

Re: [PATCH 4/8] serial: 8250: Handle case port doesn't have TEMT interrupt using em485.

2018-06-06 Thread Giulio Benetti
Hi, Il 05/06/2018 12:51, Matwey V. Kornilov ha scritto: Could I ask to split the series into fixes and new features? I see that the fixes can be applied, probably it would be better to apply them separately from discussing new features. Sure, I'm going to send 2 different patchsets. Thanks -

[PATCH] ASoC: twl6040: make pointer dmic_codec_dev static

2018-06-06 Thread Colin King
From: Colin Ian King The pointer dmic_codec_dev is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: warning: symbol 'dmic_codec_dev' was not declared. Should it be static? Signed-off-by: Colin Ian King --- sound/soc/omap/omap-abe-twl604

[PATCH] ARM: dts: cygnus: Add HWRNG node

2018-06-06 Thread Clément Péron
From: Clément Peron There is a HWRNG in Broadcom Cygnus SoC, so enable it. Signed-off-by: Clément Peron --- arch/arm/boot/dts/bcm-cygnus.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm/boot/dts/bcm-cygnus.dtsi index 1cee40ac4613..b717

Re: question about the limited interrupt vector resource on a single cpu

2018-06-06 Thread Thomas Gleixner
On Wed, 6 Jun 2018, Pingfan Liu wrote: > On Wed, Jun 6, 2018 at 5:15 PM, Thomas Gleixner wrote: > > On Wed, 6 Jun 2018, Pingfan Liu wrote: > > > >> For x86, there is around 200 vectors left for external device on a > >> single logic cpu. > >> > >> Is there any case that we exhaust them in real wo

Re: [alsa-devel] [PATCH 0/3] ASoC: stm32: sai: add support of iec958 controls

2018-06-06 Thread Arnaud Pouliquen
On 06/05/2018 08:29 PM, Takashi Iwai wrote: > On Tue, 05 Jun 2018 17:50:57 +0200, > Arnaud Pouliquen wrote: >> >> Hi Takashi, >> >> On 04/17/2018 01:17 PM, Mark Brown wrote: >> > On Tue, Apr 17, 2018 at 08:29:17AM +, Olivier MOYSAN wrote: >> > >> >> I guess the blocking patch in this patc

Re: [PATCH 2/3] mm: add find_alloc_contig_pages() interface

2018-06-06 Thread Michal Hocko
On Wed 02-05-18 14:13:32, Mike Kravetz wrote: > On 04/21/2018 09:16 AM, Vlastimil Babka wrote: > > On 04/17/2018 04:09 AM, Mike Kravetz wrote: > >> find_alloc_contig_pages() is a new interface that attempts to locate > >> and allocate a contiguous range of pages. It is provided as a more > >> conv

Re: [PATCH 0/3] Provide more fine grained control over multipathing

2018-06-06 Thread Sagi Grimberg
We plan to implement all the fancy NVMe standards like ANA, but it seems that there is still a requirement to let the host side choose policies about how to use paths (round-robin vs least queue depth for example). Even in the modern SCSI world with VPD pages and ALUA, there are still knobs th

Re: [PATCH] ksys_mount: check for permissions before resource allocation

2018-06-06 Thread Ilya Matveychikov
> On Jun 5, 2018, at 11:56 PM, Eric W. Biederman wrote: > > Ilya Matveychikov writes: > >> Just CC’ed to some of maintainers. >> >> $ perl scripts/get_maintainer.pl >> fs/0001-ksys_mount-check-for-permissions-before-resource-all.patch >> Alexander Viro (maintainer:FILESYSTEMS (VFS and >>

[PATCH] selftests/ftrace: Add ppc support for kprobe args tests

2018-06-06 Thread Naveen N. Rao
Add powerpc support for the recently added kprobe args tests. Signed-off-by: Naveen N. Rao --- .../selftests/ftrace/test.d/kprobe/kprobe_args_string.tc | 8 .../selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc | 7 +++ 2 files changed, 15 insertions(+) diff --git a/tools/test

[PATCH] clk: imx6: fix video_27m parent for IMX6SX_CLK_CKO1_SEL

2018-06-06 Thread Philipp Puschmann
q/dl datasheets list the 5th selection value for ck01_sel as video_27M_clk_root. By replacing the dummy value we then can set IMX6QDL_CLK_VIDEO_27M as parent for IMX6QDL_CLK_CKO1_SEL. Signed-off-by: Philipp Puschmann --- drivers/clk/imx/clk-imx6q.c | 2 +- 1 file changed, 1 insertion(+), 1 dele

Re: kernel panic in reading /proc/kpageflags when enabling RAM-simulated PMEM

2018-06-06 Thread Naoya Horiguchi
On Wed, Jun 06, 2018 at 09:06:30AM +, Horiguchi Naoya(堀口 直也) wrote: > On Wed, Jun 06, 2018 at 10:53:19AM +0200, Oscar Salvador wrote: > > On Wed, Jun 06, 2018 at 10:04:08AM +0200, Oscar Salvador wrote: > > > On Wed, Jun 06, 2018 at 05:16:24AM +, Naoya Horiguchi wrote: > > > > On Tue, Jun 05

Re: question about the limited interrupt vector resource on a single cpu

2018-06-06 Thread Pingfan Liu
On Wed, Jun 6, 2018 at 5:15 PM, Thomas Gleixner wrote: > On Wed, 6 Jun 2018, Pingfan Liu wrote: > >> For x86, there is around 200 vectors left for external device on a >> single logic cpu. >> >> Is there any case that we exhaust them in real world, and is it worth to fix? > > Exhaustion is unlikel

Re: [PATCH v2 6/8] pwm: cros-ec: Switch to SPDX identifier.

2018-06-06 Thread Enric Balletbo i Serra
Hi Thierry, On 06/06/18 11:08, Thierry Reding wrote: > On Tue, Jun 05, 2018 at 07:54:27PM +0200, Enric Balletbo i Serra wrote: >> Adopt the SPDX license identifier headers to ease license compliance >> management. >> >> Signed-off-by: Enric Balletbo i Serra >> --- >> >> Changes in v2: None >> >>

[PATCH 2/2] gpio: davinci: Do not assume continuous IRQ numbering

2018-06-06 Thread Keerthy
Currently the driver assumes that the interrupts are continuous and does platform_get_irq only once and assumes the rest are continuous, instead call platform_get_irq for all the interrupts and store them in an array for later use. Signed-off-by: Keerthy --- Tested for GPIO Interrupts on da850-l

[PATCH 1/2] gpio: davinci: Move fetching IRQ to beginning of probe

2018-06-06 Thread Keerthy
Currently IRQ resource fetching is done at the very end of probe. In case the of IRQ resource not being ready, we defer probe and need to revert prior changes. Hence move it to the beginning of the probe so as to avoid reverting. Signed-off-by: Keerthy --- Tested for GPIO Interrupts on da850-lcd

Re: Is this a kernel BUG? ///Re: [Question] Can we use SIGRTMIN when vdso disabled on X86?

2018-06-06 Thread Leizhen (ThunderTown)
I found that glibc has already dealt with this case. So this issue must have been met before, should it be maintained by libc/user? if (GLRO(dl_sysinfo_dso) == NULL) { kact.sa_flags |= SA_RESTORER; kact.sa_restorer = ((act->sa_flags & SA_SIGINFO)

my subject

2018-06-06 Thread Mr.Steve Tran
My name is Steve Tran. I and my partner won $648,000,000 on the last powerball lottery jackpot August 2017. in January 2018 i had decided to make donations to my brothers around the world maybe that's the best i can do for the world since i have always dreamed of this day and its been fulfilled

Re: [RFC PATCH 2/2] media: docs-rst: Add encoder UAPI specification to Codec Interfaces

2018-06-06 Thread Tomasz Figa
On Tue, Jun 5, 2018 at 11:23 PM Philipp Zabel wrote: > > On Tue, 2018-06-05 at 21:31 +0900, Tomasz Figa wrote: > [...] > > +Initialization > > > > +-- > > > > + > > > > +1. (optional) Enumerate supported formats and resolutions. See > > > > + capability enumeration. > > > > + > > > >

Re: [PATCH] ASoC: qcom: apq8096: set card as device drvdata

2018-06-06 Thread Srinivas Kandagatla
On 06/06/18 09:55, Rohit kumar wrote: snd_soc_card is retrieved as device drvdata during unbind(). Set it as drvdata during bind() to avoid memory corruption during unbind(). Signed-off-by: Rohit kumar Thanks for the patch, Acked-by: Srinivas Kandagatla --- sound/soc/qcom/apq8096.c |

Re: question about the limited interrupt vector resource on a single cpu

2018-06-06 Thread Thomas Gleixner
On Wed, 6 Jun 2018, Pingfan Liu wrote: > For x86, there is around 200 vectors left for external device on a > single logic cpu. > > Is there any case that we exhaust them in real world, and is it worth to fix? Exhaustion is unlikely, but how would you fix it? The vector space per CPU is limited b

Re: [PATCH v2] irqchip/gic-v3-its: fix ITS queue timeout

2018-06-06 Thread Marc Zyngier
On Wed, 06 Jun 2018 03:40:24 +0100, Yang Yingliang wrote: [I'm travelling, so please do not expect any quick answer...] > > When the kernel booted with maxcpus=x, 'x' is smaller > than actual cpu numbers, the TAs of offline cpus won't TA? Target Address? Target Affinity? Timing Advance? Terribl

linux-next: manual merge of the staging tree with Linus' tree

2018-06-06 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got conflicts in: drivers/staging/ipx/af_ipx.c drivers/staging/ipx/ipx_proc.c between commits: fddda2b7b521 ("proc: introduce proc_create_seq{,_data}") db5051ead64a ("net: convert datagram_poll users tp ->poll_mask") from Linus' tre

Re: linux-next: manual merge of the staging tree with Linus' tree

2018-06-06 Thread Greg KH
On Wed, Jun 06, 2018 at 07:08:58PM +1000, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the staging tree got a conflict in: > > drivers/staging/ncpfs/dir.c > > between commit: > > 1c5fedbb508f ("ncp_lookup(): use d_splice_alias()") > > from Linus' tree and commit: > >

linux-next: manual merge of the staging tree with Linus' tree

2018-06-06 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in: drivers/staging/ncpfs/dir.c between commit: 1c5fedbb508f ("ncp_lookup(): use d_splice_alias()") from Linus' tree and commit: bd32895c750b ("staging: ncpfs: delete it") from the staging tree. I fixed it up (the la

Re: [PATCH v2 6/8] pwm: cros-ec: Switch to SPDX identifier.

2018-06-06 Thread Thierry Reding
On Tue, Jun 05, 2018 at 07:54:27PM +0200, Enric Balletbo i Serra wrote: > Adopt the SPDX license identifier headers to ease license compliance > management. > > Signed-off-by: Enric Balletbo i Serra > --- > > Changes in v2: None > > drivers/pwm/pwm-cros-ec.c | 13 - > 1 file change

Re: kernel panic in reading /proc/kpageflags when enabling RAM-simulated PMEM

2018-06-06 Thread Naoya Horiguchi
On Wed, Jun 06, 2018 at 10:53:19AM +0200, Oscar Salvador wrote: > On Wed, Jun 06, 2018 at 10:04:08AM +0200, Oscar Salvador wrote: > > On Wed, Jun 06, 2018 at 05:16:24AM +, Naoya Horiguchi wrote: > > > On Tue, Jun 05, 2018 at 07:35:01AM +, Horiguchi Naoya(堀口 直也) wrote: > > > > On Mon, Jun 04

<    1   2   3   4   5   6   >