Re: [PATCH v7 02/10] arm: dts: sunxi: Restore EMAC changes

2017-10-18 Thread Maxime Ripard
On Wed, Oct 18, 2017 at 08:50:49PM +0200, Corentin Labbe wrote: > On Wed, Oct 18, 2017 at 06:44:50PM +0200, Andrew Lunn wrote: > > On Wed, Oct 18, 2017 at 01:44:50PM +0200, Corentin Labbe wrote: > > > The original dwmac-sun8i DT bindings have some issue on how to handle > > > integrated PHY and was

Re: [RFC PATCH 1/4] dt-bindings: add bindings for USB physical connector

2017-10-18 Thread Andrzej Hajda
Hi Laurent, Thank you for the review. On 18.10.2017 17:11, Laurent Pinchart wrote: > Hi Andrzej, > > Thank you for the patch. > > On Thursday, 28 September 2017 16:07:27 EEST Andrzej Hajda wrote: >> These bindings allows to describe most known standard USB connectors >> and it should be possible

Re: [PATCHv3 1/7] switch dereference_function_descriptor() to `unsigned long'

2017-10-18 Thread Sergey Senozhatsky
On (10/04/17 10:24), Petr Mladek wrote: [..] > To make it clear. All these comments are not a big deal and I do > not want to invalidate all the acked-by and tested-by just because > of them. > > But please, consider removing this change if we need to do > another iteration of this patchset. IMHO,

Re: [linux-sunxi] [PATCH v2 6/8] ARM: dts: sun8i: a83t: Move mmc1 pinctrl setting to dtsi file

2017-10-18 Thread Chen-Yu Tsai
On Wed, Oct 18, 2017 at 11:00 PM, Joonas Kylmälä wrote: > Hi, > > Chen-Yu Tsai: >> mmc1 only has 1 possible pinmux setting. > > What if someone is using the MMC with bus width 1 and then using the > remaining 3 pins for something else? I would very much like to see such a design. Currently the de

IMMEDIATE REPLY NEEDED.

2017-10-18 Thread Alaine Kamba
Dear, My name is Mr Alaine Kamba, I am the Bill and Exchange (assistant) Manager of Bank of Africa Ouagadougou, Burkina Faso. In my department I discovered an abandoned sum of eighteen million three hundred thousand United State of American dollars (18.3MILLION USA DOLLARS) in an account that belo

Re: [RESEND x2][PATCH 0/3] dwc2 fixes for edge cases on hikey

2017-10-18 Thread Minas Harutyunyan
On 10/17/2017 12:41 PM, Minas Harutyunyan wrote: > On 10/17/2017 1:34 AM, John Stultz wrote: >> On Mon, Oct 16, 2017 at 1:36 AM, Minas Harutyunyan >> wrote: >>> On b-plug disconnect should asserted GOTGINT.SesEndDet interrupt. >>> According previously sent by you register dump (GHWCFG2 = 0x23affc7

Re: [PATCHv3 2/7] sections: split dereference_function_descriptor()

2017-10-18 Thread Sergey Senozhatsky
On (10/04/17 11:00), Petr Mladek wrote: [..] > > /* random extra sections (if any). Override > > diff --git a/include/linux/moduleloader.h b/include/linux/moduleloader.h > > index 4d0cb9bba93e..172904e9cded 100644 > > --- a/include/linux/moduleloader.h > > +++ b/include/linux/moduleloader.h > > @

Re: [PATCHv3 4/7] powerpc64: Add .opd based function descriptor dereference

2017-10-18 Thread Sergey Senozhatsky
On (10/04/17 11:21), Petr Mladek wrote: [..] > > +#ifdef PPC64_ELF_ABI_v1 > > +unsigned long dereference_module_function_descriptor(struct module *mod, > > +unsigned long addr) > > +{ > > + if (addr < mod->arch.start_opd || addr >= mod->arch.end_opd

Re: [PATCHv3 5/7] parisc64: Add .opd based function descriptor dereference

2017-10-18 Thread Sergey Senozhatsky
On (10/04/17 12:40), Petr Mladek wrote: > > +unsigned long dereference_module_function_descriptor(struct module *mod, > > +unsigned long addr) > > +{ > > + unsigned long start_opd = (Elf64_Addr)mod->core_layout.base + > > +

Re: [PATCHv3 6/7] symbol lookup: use new kernel and module dereference functions

2017-10-18 Thread Sergey Senozhatsky
Sorry for the delay and thanks for taking a look. I'll try to re-spin the patch set by the end of this week/early next week. On (10/04/17 13:53), Petr Mladek wrote: [..] > Note that kallsyms_lookup() and module_address_lookup() is used > in many other situations. we dereference only things that

RE: [PATCH 1/3] iommu/vt-d: Missing checks for pasid tables if allocation fails

2017-10-18 Thread Liu, Yi L
> -Original Message- > From: iommu-boun...@lists.linux-foundation.org [mailto:iommu- > boun...@lists.linux-foundation.org] On Behalf Of Lu Baolu > Sent: Thursday, October 19, 2017 8:39 AM > To: j...@8bytes.org; dw...@infradead.org > Cc: io...@lists.linux-foundation.org; linux-kernel@vger.

[PATCH] MAINTAINERS: Split Cavium EDAC entry and add myself

2017-10-18 Thread Jan Glauber
Split the Cavium EDAC entry into MIPS and ARM drivers because they have different maintainers and mailing lists. Add myself as additional maintainer to the ThunderX driver. Signed-off-by: Jan Glauber --- MAINTAINERS | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/MAIN

Re: [PATCH 1/2] lockdep: Introduce CROSSRELEASE_STACK_TRACE and make it not unwind as default

2017-10-18 Thread Byungchul Park
On Thu, Oct 19, 2017 at 08:22:12AM +0200, Ingo Molnar wrote: > There's no current crash regression that I know of - I'm just outlining the > conditions of getting all this re-enabled in the next merge window. > > Instead of sending two series, could you please send a series that includes > both

[RFC] scripts: add leaking_addresses.pl

2017-10-18 Thread Tobin C. Harding
Currently we are leaking addresses from the kernel to user space. This script as an attempt to find those leakages. Script parses `dmesg` output and /proc and /sys files for suspicious entries. Signed-off-by: Tobin C. Harding --- My usual disclaimer; I am a long way from being a Perl monger, any

[PATCH] tracing: Fix code comment in trace.c

2017-10-18 Thread Chunyu Hu
Naming in code comments for tracing_snapshot, tracing_snapshot_alloc and trace_pid_filter_add_remove_task don't match the real function names. And latency_trace has been removed from tracing directory. Fix them. Fixes: cab5037 ("tracing/ftrace: Enable snapshot function trigger") Fixes: 886b5b7 ("

Re: [PATCH v9 13/29] x86/insn-eval: Add utility functions to get segment selector

2017-10-18 Thread Ricardo Neri
On Wed, Oct 18, 2017 at 10:29:43PM +0200, Borislav Petkov wrote: > On Tue, Oct 17, 2017 at 01:31:52PM -0700, Ricardo Neri wrote: > > I apologize for the inconvenience, I have verified that may mail client > > works properly this time. I double-checked that it did not wrap. > > But did you try appl

Re: [PATCH] mm: mlock: remove lru_add_drain_all()

2017-10-18 Thread Anshuman Khandual
On 10/19/2017 04:47 AM, Shakeel Butt wrote: > Recently we have observed high latency in mlock() in our generic > library and noticed that users have started using tmpfs files even > without swap and the latency was due to expensive remote LRU cache > draining. With and without this I patch I dont

Re: [PATCH v3] staging: ccree: fix boolreturn.cocci warning

2017-10-18 Thread Suniel Mahesh
On Thursday 19 October 2017 02:24 AM, Tobin C. Harding wrote: > Hi Suniel, > > Well done with you continued versions. I am being particularly nit picky here > but since we are > striving for perfection I'm sure will humour me. If English is not your first > language please > forgive me for picki

Re: [PATCH 1/2] lockdep: Introduce CROSSRELEASE_STACK_TRACE and make it not unwind as default

2017-10-18 Thread Byungchul Park
On Thu, Oct 19, 2017 at 03:11:12PM +0900, Byungchul Park wrote: > On Thu, Oct 19, 2017 at 07:57:30AM +0200, Ingo Molnar wrote: > > > > * Byungchul Park wrote: > > > > > On Wed, Oct 18, 2017 at 12:09:44PM +0200, Ingo Molnar wrote: > > > > BTW., have you attempted limiting the depth of the stack t

Re: [PATCH 1/2] lockdep: Introduce CROSSRELEASE_STACK_TRACE and make it not unwind as default

2017-10-18 Thread Ingo Molnar
* Byungchul Park wrote: > On Thu, Oct 19, 2017 at 07:57:30AM +0200, Ingo Molnar wrote: > > > > * Byungchul Park wrote: > > > > > On Wed, Oct 18, 2017 at 12:09:44PM +0200, Ingo Molnar wrote: > > > > BTW., have you attempted limiting the depth of the stack traces? I > > > > suspect more > > >

RE: [PATCH] checkpatch: Introduce check for format of Fixes line in commit log

2017-10-18 Thread Parav Pandit
> -Original Message- > From: Joe Perches [mailto:j...@perches.com] > Sent: Thursday, October 19, 2017 12:57 AM > To: Parav Pandit ; a...@canonical.com > Cc: linux-kernel@vger.kernel.org; linux-r...@vger.kernel.org; Brad Erickson > > Subject: Re: [PATCH] checkpatch: Introduce check for fo

Re: [PATCH 1/2] lockdep: Introduce CROSSRELEASE_STACK_TRACE and make it not unwind as default

2017-10-18 Thread Byungchul Park
On Thu, Oct 19, 2017 at 07:57:30AM +0200, Ingo Molnar wrote: > > * Byungchul Park wrote: > > > On Wed, Oct 18, 2017 at 12:09:44PM +0200, Ingo Molnar wrote: > > > BTW., have you attempted limiting the depth of the stack traces? I > > > suspect more > > > than 2-4 are rarely required to disambig

Re: [PATCH 1/2] lockdep: Introduce CROSSRELEASE_STACK_TRACE and make it not unwind as default

2017-10-18 Thread Ingo Molnar
* Byungchul Park wrote: > On Wed, Oct 18, 2017 at 12:09:44PM +0200, Ingo Molnar wrote: > > BTW., have you attempted limiting the depth of the stack traces? I suspect > > more > > than 2-4 are rarely required to disambiguate the calling context. > > I did it for you. Let me show you the result

Re: [PATCH] checkpatch: Introduce check for format of Fixes line in commit log

2017-10-18 Thread Joe Perches
On Thu, 2017-10-19 at 05:52 +, Parav Pandit wrote: > Hi Joe, Hello Parav > > -Original Message- > > From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- > > ow...@vger.kernel.org] On Behalf Of Parav Pandit > > Sent: Tuesday, October 10, 2017 5:44 PM > > To: j...@perches.com; a..

[PATCH v2 3/3] lockdep: Add a kernel parameter, crossrelease_fullstack

2017-10-18 Thread Byungchul Park
Make whether to allow recording full stack, in cross-release feature, switchable at boot time via a kernel parameter, 'crossrelease_fullstack'. In case of a splat with no stack trace, one could just reboot and set the kernel parameter to get the full data without having to recompile the kernel. Ch

[tip:locking/core] locking/static_keys: Improve uninitialized key warning

2017-10-18 Thread tip-bot for Borislav Petkov
Commit-ID: 5cdda5117e125e0dbb020425cc55a4c143c6febc Gitweb: https://git.kernel.org/tip/5cdda5117e125e0dbb020425cc55a4c143c6febc Author: Borislav Petkov AuthorDate: Wed, 18 Oct 2017 17:24:28 +0200 Committer: Ingo Molnar CommitDate: Thu, 19 Oct 2017 07:49:14 +0200 locking/static_keys: Im

[PATCH v2 0/3] crossrelease: make it not unwind by default

2017-10-18 Thread Byungchul Park
Change from v1 - Fix kconfig description as Ingo suggested - Fix commit message writing out CONFIG_ variable - Introduce a new kernel parameter, crossrelease_fullstack - Replace the number with the output of *perf* Byungchul Park (3): lockdep: Introduce CROSSRELEASE_STACK_TRACE and make it not u

RE: [PATCH 0/9] Intel Processor Trace virtulization enabling

2017-10-18 Thread Kang, Luwei
> Nested virtualization is interesting. We would like the nested > hypervisor to be forced to set the "use GPA for processor tracing" > secondary execution control whenever "enable EPT" is set and > RTIT_CTL is nonzero. There is no way to encode that in > IA32_VMX_PROCBAS

[PATCH v2 2/3] lockdep: Remove BROKEN flag of LOCKDEP_CROSSRELEASE

2017-10-18 Thread Byungchul Park
Now the performance regression was fixed, re-enable CONFIG_LOCKDEP_CROSSRELEASE and CONFIG_LOCKDEP_COMPLETIONS. Signed-off-by: Byungchul Park --- lib/Kconfig.debug | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 90ea784..fe8fceb

[PATCH v2 1/3] lockdep: Introduce CROSSRELEASE_STACK_TRACE and make it not unwind as default

2017-10-18 Thread Byungchul Park
Johan Hovold reported a performance regression by crossrelease like: > Boot time (from "Linux version" to login prompt) had in fact doubled > since 4.13 where it took 17 seconds (with my current config) compared to > the 35 seconds I now see with 4.14-rc4. > > I quick bisect pointed to lockdep and

Re: [PATCH v5] printk: hash addresses printed with %p

2017-10-18 Thread Jason A. Donenfeld
A small detail carried over from the other thread: > > but a bigger problem might the following thing: > > vscnprintf() > pointer() > ptr_to_id() >initialize_ptr_secret() > get_random_bytes() > _get_random_bytes() > extract_crng() >_extract_crng() > spin_lock_

RE: [PATCH] checkpatch: Introduce check for format of Fixes line in commit log

2017-10-18 Thread Parav Pandit
Hi Joe, > -Original Message- > From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- > ow...@vger.kernel.org] On Behalf Of Parav Pandit > Sent: Tuesday, October 10, 2017 5:44 PM > To: j...@perches.com; a...@canonical.com > Cc: linux-kernel@vger.kernel.org; linux-r...@vger.kernel.org;

Re: [PATCH] powerpc: ipic - fix status get and status clear

2017-10-18 Thread Christophe LEROY
Le 19/10/2017 à 07:06, Michael Ellerman a écrit : Christophe Leroy writes: IPIC Status is provided by register IPIC_SERSR and not by IPIC_SERMR which is the mask register. This seems like it would be a bad bug. But I guess it hasn't mattered for some reason? As far as I can see, this fun

[PATCH V2] bcma: Use bcma_debug and not pr_cont in MIPS driver

2017-10-18 Thread Joe Perches
Commit 66cc04424960 ("bcma: use bcma_debug and pr_cont in MIPS driver") converted a printk(KERN_DEBUG to bcma_debug. bcma_debug is guarded by a #define DEBUG via pr_debug. This means that the bcma_debug will generally not be emitted but any pr_cont following the bcma_debug will be emitted. Corre

Re: [PATCH] bcma: Use bcma_debug and not pr_cont in MIPS driver

2017-10-18 Thread James Cameron
On Wed, Oct 18, 2017 at 10:12:18PM -0700, Joe Perches wrote: > Commit 66cc04424960 ("bcma: use bcma_debug and pr_cont in MIPS driver") > converted a printk(KERN_DEBUG to bcma_debug. > > bcma_debug is guarded by a #define DEBUG via pr_debug. > > This means that the bcma_debug will generally not be

Re: [PATCH] Documentation: Add myself to the enforcement statement list

2017-10-18 Thread Greg Kroah-Hartman
On Wed, Oct 18, 2017 at 04:20:47PM -0700, Laura Abbott wrote: > I already Acked the patch, add my name to the list as well. > > Signed-off-by: Laura Abbott > --- > Documentation/process/kernel-enforcement-statement.rst | 1 + > 1 file changed, 1 insertion(+) Thanks, now queued up. greg k-h

Re: [PATCH v2] static_key: Improve uninizialized key warning

2017-10-18 Thread Ingo Molnar
* Steven Rostedt wrote: > On Wed, 18 Oct 2017 12:06:59 -0400 > Steven Rostedt wrote: > > > > Signed-off-by: Borislav Petkov > > > Cc: Hannes Frederic Sowa > > > Cc: Ingo Molnar > > > Cc: Juergen Gross > > > Cc: "Steven Rostedt (VMware)" > > > > Reviewed-by: Steven Rostedt (VMware) > >

Re: [PATCH v7 4/4] remoteproc: qcom: Add support for mss remoteproc on msm8996

2017-10-18 Thread Sricharan R
Hi Bjorn, On 10/17/2017 12:28 AM, Bjorn Andersson wrote: > On Mon 16 Oct 06:19 PDT 2017, Dwivedi, Avaneesh Kumar (avani) wrote: >> On 10/12/2017 11:50 PM, Bjorn Andersson wrote: > [..] >>> Please fix this and add my Acked-by >> Sure will do, just want to ask, when i am sending updated patches, sho

Re: [PATCH] hwmon: (coretemp) remove duplicated coretemp for same core id

2017-10-18 Thread Guenter Roeck
On 10/18/2017 07:28 PM, Shu Wang wrote: From: "Guenter Roeck" To: "Shu Wang" Cc: "fenghua yu" , jdelv...@suse.com, linux-hw...@vger.kernel.org, linux-kernel@vger.kernel.org, ch...@redhat.com, yiz...@redhat.com Sent: Wednesday, October 18, 2017 9:14:39 PM Subject: Re: [PATCH] hwmon: (coretemp)

Re: [PATCH v2 2/2] extcon: add optional debounce-timeout-ms attribute

2017-10-18 Thread Chanwoo Choi
On 2017년 10월 19일 13:59, Chanwoo Choi wrote: > Hi, > > On 2017년 10월 19일 12:26, Raveendra Padasalagi wrote: >> Add changes to capture optional dt attribute "debounce-timeout-ms" >> provided in extcon node and used the same value if provided otherwise >> default value of 20ms is used for id and vbus

Re: [PATCH v3 1/6] remoteproc: qcom: mdt_loader: Make the firmware authentication optional

2017-10-18 Thread Sricharan R
Hi Bjorn, On 10/12/2017 11:56 PM, Bjorn Andersson wrote: > On Wed 30 Aug 21:45 PDT 2017, Sricharan R wrote: > >> qcom_mdt_load function loads the mdt type firmware and >> initialises the secure memory as well. Make the initialisation only >> when requested by the caller, so that the function can

Re: [PATCH v3 1/7] ACPI/PPTT: Add Processor Properties Topology Table parsing

2017-10-18 Thread Tomasz Nowicki
On 18.10.2017 19:30, Jeremy Linton wrote: On 10/18/2017 05:24 AM, Tomasz Nowicki wrote: On 18.10.2017 07:39, Tomasz Nowicki wrote: Hi, On 17.10.2017 17:22, Jeremy Linton wrote: Hi, On 10/17/2017 08:25 AM, Tomasz Nowicki wrote: Hi Jeremy, I did second round of review and have some more comm

[PATCH] bcma: Use bcma_debug and not pr_cont in MIPS driver

2017-10-18 Thread Joe Perches
Commit 66cc04424960 ("bcma: use bcma_debug and pr_cont in MIPS driver") converted a printk(KERN_DEBUG to bcma_debug. bcma_debug is guarded by a #define DEBUG via pr_debug. This means that the bcma_debug will generally not be emitted but any pr_cont following the bcma_debug will be emitted. Corre

Re: [PATCH] perf test shell: trace+probe_libc_inet_pton.sh: force to use /bin/bash to load this script

2017-10-18 Thread Li Zhijian
ignore this patch please, it will broken the test description which is read from the first line of this script Thanks On 10/19/2017 11:53 AM, Li Zhijian wrote: this script contains Array, but not all sh support Array. by default, dash provides sh at ubuntu/debian which can not support Array.

Re: [RFC PATCH] can: m_can: Support higher speed CAN-FD bitrates

2017-10-18 Thread Sekhar Nori
On Wednesday 18 October 2017 07:47 PM, Franklin S Cooper Jr wrote: > > > On 10/18/2017 08:24 AM, Sekhar Nori wrote: >> Hi Marc, >> >> On Wednesday 18 October 2017 06:14 PM, Marc Kleine-Budde wrote: >>> On 09/21/2017 02:48 AM, Franklin S Cooper Jr wrote: On 09/20/2017 04:37 PM, Mari

Re: [PATCH] powerpc: ipic - fix status get and status clear

2017-10-18 Thread Michael Ellerman
Christophe Leroy writes: > IPIC Status is provided by register IPIC_SERSR and not by IPIC_SERMR > which is the mask register. This seems like it would be a bad bug. But I guess it hasn't mattered for some reason? cheers > diff --git a/arch/powerpc/sysdev/ipic.c b/arch/powerpc/sysdev/ipic.c > i

Re: [PATCH v2 1/2] Documentation: dt: extcon: add optional debounce-timeout-ms attribute

2017-10-18 Thread Chanwoo Choi
Hi, On 2017년 10월 19일 13:47, Chanwoo Choi wrote: > On 2017년 10월 19일 12:25, Raveendra Padasalagi wrote: >> Add documentation on optional dt attribute "debounce-timeout-ms" >> in extcon node to capture user specified timeout value for id >> and vbus gpio detection. >> >> Signed-off-by: Raveendra Pada

Re: [PATCH v2 2/2] extcon: add optional debounce-timeout-ms attribute

2017-10-18 Thread Chanwoo Choi
Hi, On 2017년 10월 19일 12:26, Raveendra Padasalagi wrote: > Add changes to capture optional dt attribute "debounce-timeout-ms" > provided in extcon node and used the same value if provided otherwise > default value of 20ms is used for id and vbus gpios debounce time. > > Signed-off-by: Raveendra Pa

Re: [PATCH v2 1/2] Documentation: dt: extcon: add optional debounce-timeout-ms attribute

2017-10-18 Thread Chanwoo Choi
On 2017년 10월 19일 12:25, Raveendra Padasalagi wrote: > Add documentation on optional dt attribute "debounce-timeout-ms" > in extcon node to capture user specified timeout value for id > and vbus gpio detection. > > Signed-off-by: Raveendra Padasalagi > Reviewed-by: Ray Jui > Reviewed-by: Srinath

Re: [V14,1/4] powerpc/vphn: Update CPU topology when VPHN enabled

2017-10-18 Thread Michael Ellerman
On Fri, 2017-09-08 at 20:47:27 UTC, Michael Bringmann wrote: > powerpc/vphn: On Power systems with shared configurations of CPUs > and memory, there are some issues with the association of additional > CPUs and memory to nodes when hot-adding resources. This patch > corrects the currently broken c

Re: [PATCH 01/14] Documentation: Add SoundWire summary

2017-10-18 Thread Vinod Koul
Thanks for the quick review Randy, On Wed, Oct 18, 2017 at 08:33:08PM -0700, Randy Dunlap wrote: > On 10/18/17 20:03, Vinod Koul wrote: > > +SoundWire is a new interface ratified in 2015 by the MIPI Alliance. > > +SoundWire is used for transporting data typically related to audio > > +functions.

Re: [PATCH v5 03/10] kexec_file: factor out arch_kexec_kernel_*() from x86, powerpc

2017-10-18 Thread AKASHI Takahiro
On Sat, Oct 14, 2017 at 07:37:04PM +0800, kbuild test robot wrote: > Hi AKASHI, > > [auto build test WARNING on arm64/for-next/core] > [also build test WARNING on v4.14-rc4 next-20171013] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] > > u

Re: [PATCH 1/2] lockdep: Introduce CROSSRELEASE_STACK_TRACE and make it not unwind as default

2017-10-18 Thread Byungchul Park
On Wed, Oct 18, 2017 at 12:09:44PM +0200, Ingo Molnar wrote: > BTW., have you attempted limiting the depth of the stack traces? I suspect > more > than 2-4 are rarely required to disambiguate the calling context. I did it for you. Let me show you the result. 1. No lockdep Performance counter

Re: [PATCH] zswap: Same-filled pages handling

2017-10-18 Thread Andi Kleen
> Yes. Every 64-bit repeating pattern is also a 32-bit repeating pattern. > Supporting a 64-bit pattern on a 32-bit kernel is painful, but it makes > no sense to *not* support a 64-bit pattern on a 64-bit kernel. But a 32bit repeating pattern is not necessarily a 64bit pattern. >This is the sa

Re: [PATCH v1] mm/mempolicy.c: Fix get_nodes() off-by-one error.

2017-10-18 Thread Andi Kleen
On Thu, Oct 19, 2017 at 03:48:09AM +, Sandoval Castro, Luis Felipe wrote: > On Tue 18-10-17 10:42:34, Luis Felipe Sandoval Castro wrote: > > Sorry for the delayed replay, from your feedback I don't think my > patch has any chances of being merged... I'm wondering though, > if a note in the man

[patch-rt] drivers/zram: pass num_pages to zram_meta_init_table_locks()

2017-10-18 Thread Mike Galbraith
zram cleanup forgot to adjust passed argument when changing zram_meta_init_table_locks() to expect page count instead of disk size. Doing so fixes ltp inspired explosions. Signed-off-by: Mike Galbraith --- drivers/block/zram/zram_drv.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] perf test shell: trace+probe_libc_inet_pton.sh: force to use /bin/bash to load this script

2017-10-18 Thread Li Zhijian
this script contains Array, but not all sh support Array. by default, dash provides sh at ubuntu/debian which can not support Array. so force to use /bin/bash it can fix following issue: lizhijian@localhost:~/lkp/linux/tools/perf/tests/shell$ sudo ./trace+probe_libc_inet_pton.sh [sudo] password

Re: [PATCH] KVM: X86: #GP when guest attempts to write MCi banks w/o 0

2017-10-18 Thread Jim Mattson
MCi_STATUS sounds fine, or any other Intel constraints that are guarded by checks for virtualizing an Intel CPU. On Wed, Oct 18, 2017 at 8:04 PM, Wanpeng Li wrote: > On 10/19/17 10:49 AM, Jim Mattson wrote: > > Right. I was side-tracked by the code above yours for MCi_CTL. > However, does writing

[PATCH v6 00/10] rockchip: kevin: Enable edp display

2017-10-18 Thread Jeffy Chen
Make edp display works on chromebook kevin(at least for boot animation). Also solve some issues i meet during the bringup. Changes in v6: Don't change order of rockchip_drm_psr_register(). Changes in v5: Call the destroy hook in the error handling path like in unbind(). Call the destroy hook in

[PATCH v6 01/10] arm64: dts: rockchip: Enable edp disaplay on kevin

2017-10-18 Thread Jeffy Chen
Add edp panel and enable related nodes on kevin. Signed-off-by: Jeffy Chen Reviewed-by: Mark Yao --- Changes in v6: None Changes in v5: None arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts | 29 +++ arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 16 + 2

[PATCH v6 04/10] drm/bridge: analogix_dp: Fix connector and encoder cleanup

2017-10-18 Thread Jeffy Chen
Since we are initing connector in the core driver and encoder in the plat driver, let's clean them up in the right places. Signed-off-by: Jeffy Chen Reviewed-by: Andrzej Hajda --- Changes in v6: Don't change order of rockchip_drm_psr_register(). Changes in v5: None drivers/gpu/drm/bridge/ana

Re: [PATCH] KVM: PPC: Book3S HV: Delete an error message for a failed memory allocation in kvmppc_allocate_hpt()

2017-10-18 Thread Paul Mackerras
On Thu, Oct 05, 2017 at 01:23:30PM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Thu, 5 Oct 2017 13:16:51 +0200 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus El

[PATCH v6 06/10] drm/rockchip: dw-mipi-dsi: Fix error handling path

2017-10-18 Thread Jeffy Chen
Add missing pm_runtime_disable() in bind()'s error handling path. Also cleanup encoder & connector in unbind(). Fixes: 80a9a059d4e4 ("drm/rockchip/dsi: add dw-mipi power domain support") Signed-off-by: Jeffy Chen --- Changes in v6: None Changes in v5: Call the destroy hook in the error handling

Re: [PATCH 1/10] KVM: PPC: Book3S HV: Use ARRAY_SIZE macro

2017-10-18 Thread Paul Mackerras
On Sun, Sep 03, 2017 at 02:19:31PM +0200, Thomas Meyer wrote: > Use ARRAY_SIZE macro, rather than explicitly coding some variant of it > yourself. > Found with: find -type f -name "*.c" -o -name "*.h" | xargs perl -p -i -e > 's/\bsizeof\s*\(\s*(\w+)\s*\)\s*\ /\s*sizeof\s*\(\s*\1\s*\[\s*0\s*\]\s*\)

[PATCH v6 10/10] drm/rockchip: dw_hdmi: Fix error handling path

2017-10-18 Thread Jeffy Chen
Add missing clk_disable_unprepare() in bind()'s error handling path and unbind(). Also inline clk_prepare_enable() with bind(). Fixes: 12b9f204e804 ("drm: bridge/dw_hdmi: add rockchip rk3288 support") Signed-off-by: Jeffy Chen --- Changes in v6: None Changes in v5: Add disable to unbind(), and

[PATCH v6 09/10] drm/bridge/synopsys: dw-hdmi: Do not use device's drvdata

2017-10-18 Thread Jeffy Chen
Let plat drivers own the drvdata, so that they could cleanup resources in their unbind(). Signed-off-by: Jeffy Chen Reviewed-by: Neil Armstrong --- Changes in v6: None Changes in v5: None drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 43 ++--- drivers/gpu/drm/imx/dw_hd

[PATCH v6 08/10] drm/bridge/synopsys: dw-hdmi: Add missing bridge detach

2017-10-18 Thread Jeffy Chen
We inited connector in attach(), so need a detach() to cleanup. Also fix wrong use of dw_hdmi_remove() in bind(). Signed-off-by: Jeffy Chen --- Changes in v6: None Changes in v5: None drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) di

[PATCH v6 07/10] drm/rockchip: inno_hdmi: Fix error handling path

2017-10-18 Thread Jeffy Chen
Add missing error handling in bind(). Fixes: 412d4ae6b7a5 ("drm/rockchip: hdmi: add Innosilicon HDMI support") Signed-off-by: Jeffy Chen --- Changes in v6: None Changes in v5: Call the destroy hook in the error handling path like in unbind(). Update cleanup order in unbind(). drivers/gpu/drm/r

[PATCH v6 05/10] drm/rockchip: analogix_dp: Add a sanity check for rockchip_drm_psr_register()

2017-10-18 Thread Jeffy Chen
The rockchip_drm_psr_register() can fail, so add a sanity check for that. Also reorder the calls in unbind() to match bind(). Signed-off-by: Jeffy Chen --- Changes in v6: None Changes in v5: None drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 15 +++ 1 file changed, 11 insertio

Re: [PATCH 6/7] KVM: PPC: Cocci spatch "vma_pages"

2017-10-18 Thread Paul Mackerras
On Thu, Sep 21, 2017 at 12:29:36AM +0200, Thomas Meyer wrote: > Use vma_pages function on vma object instead of explicit computation. > Found by coccinelle spatch "api/vma_pages.cocci" > > Signed-off-by: Thomas Meyer Thanks, applied to my kvm-ppc-next branch, with the headline "KVM: PPC: BookE:

[PATCH v6 02/10] drm/rockchip: analogix_dp: Remove unnecessary init code

2017-10-18 Thread Jeffy Chen
Remove unnecessary init code, since we would do it in the power_on() callback. Also move of parse code to probe(). Fixes: 9e32e16e9e98 ("drm: rockchip: dp: add rockchip platform dp driver") Signed-off-by: Jeffy Chen --- Changes in v6: None Changes in v5: None drivers/gpu/drm/rockchip/analogix

[PATCH v6 03/10] drm/bridge: analogix: Do not use device's drvdata

2017-10-18 Thread Jeffy Chen
The driver that instantiates the bridge should own the drvdata, as all driver model callbacks (probe, remove, shutdown, PM ops, etc.) are also owned by its driver struct. Moreover, storing two different pointer types in driver data depending on driver initialization status is barely a good practice

RE: [PATCH v1] mm/mempolicy.c: Fix get_nodes() off-by-one error.

2017-10-18 Thread Sandoval Castro, Luis Felipe
On Tue 18-10-17 10:42:34, Luis Felipe Sandoval Castro wrote: Sorry for the delayed replay, from your feedback I don't think my patch has any chances of being merged... I'm wondering though, if a note in the man pages "range non inclusive" or something like that would help to avoid confusions? Than

Re: [PATCH 01/14] Documentation: Add SoundWire summary

2017-10-18 Thread Randy Dunlap
On 10/18/17 20:03, Vinod Koul wrote: > From: Sanyog Kale > > SoundWire is a new Linux bus which implements a new MIPI bus protocol > 'SoundWire'. The summary of SoundWire bus and registration APIs is > documented in the 'summary' file. > > Signed-off-by: Sanyog Kale > Signed-off-by: Hardik T Sh

[PATCH net] hv_sock: add locking in the open/close/release code paths

2017-10-18 Thread Dexuan Cui
Without the patch, when hvs_open_connection() hasn't completely established a connection (e.g. it has changed sk->sk_state to SS_CONNECTED, but hasn't inserted the sock into the connected queue), vsock_stream_connect() may see the sk_state change and return the connection to the userspace, and nex

Re: [PATCH 1/2] mm/mmu_notifier: avoid double notification when it is useless v2

2017-10-18 Thread Jerome Glisse
On Thu, Oct 19, 2017 at 02:04:26PM +1100, Balbir Singh wrote: > On Mon, 16 Oct 2017 23:10:02 -0400 > jgli...@redhat.com wrote: > > > From: Jérôme Glisse > > > > + /* > > +* No need to call mmu_notifier_invalidate_range() as we are > > +* downgrading page table p

[PATCH] iommu/amd: Fix alloc_irq_index() increment

2017-10-18 Thread Alex Williamson
On an is_allocated() interrupt index, we ALIGN() the current index and then increment it via the for loop, guaranteeing that it is no longer aligned for alignments >1. We instead need to align the next index, to guarantee forward progress, moving the increment-only to the case where the index was

[PATCH v2 2/2] extcon: add optional debounce-timeout-ms attribute

2017-10-18 Thread Raveendra Padasalagi
Add changes to capture optional dt attribute "debounce-timeout-ms" provided in extcon node and used the same value if provided otherwise default value of 20ms is used for id and vbus gpios debounce time. Signed-off-by: Raveendra Padasalagi Reviewed-by: Ray Jui Reviewed-by: Srinath Mannam --- C

[PATCH v2 1/2] Documentation: dt: extcon: add optional debounce-timeout-ms attribute

2017-10-18 Thread Raveendra Padasalagi
Add documentation on optional dt attribute "debounce-timeout-ms" in extcon node to capture user specified timeout value for id and vbus gpio detection. Signed-off-by: Raveendra Padasalagi Reviewed-by: Ray Jui Reviewed-by: Srinath Mannam --- Changes in v2: Rename debounce-timeout-ms to input-d

[PATCH 2/2] misc: rtsx: Add support for RTS5260

2017-10-18 Thread rui_feng
From: Rui Feng Add support for new chip rts5260. In order to support rts5260, the definitions of some internal registers and workflow have to be modified and are different from its predecessors and OCP function is added for RTS5260. So we need this patch to ensure RTS5260 can work. Signed-off-by

[PATCH 1/2] misc: rtsx: Move Realtek Card Reader Driver to misc

2017-10-18 Thread rui_feng
From: Rui Feng Because Realtek PCIE card reader driver is a pcie driver, and it bridges mmc subsystem and memstick subsystem, it's not a mfd driver. Greg and Lee Jones had a discussion about where to put the driver, the result is that misc is a good place for it, so I move all files to misc. If I

Re: [PATCH v2 2/3] iommu/arm-smmu-v3: add support for unmap an iova range with only one tlb sync

2017-10-18 Thread Leizhen (ThunderTown)
On 2017/10/18 21:00, Will Deacon wrote: > On Tue, Sep 12, 2017 at 09:00:37PM +0800, Zhen Lei wrote: >> This patch is base on: >> (add02cfdc9bc2 "iommu: Introduce Interface for IOMMU TLB Flushing") >> >> Because iotlb_sync is moved out of ".unmap = arm_smmu_unmap", some interval >> ".unmap" calls

Re: [PATCH] mm: mlock: remove lru_add_drain_all()

2017-10-18 Thread Balbir Singh
On Wed, 18 Oct 2017 16:17:30 -0700 Shakeel Butt wrote: > Recently we have observed high latency in mlock() in our generic > library and noticed that users have started using tmpfs files even > without swap and the latency was due to expensive remote LRU cache > draining. > > Is lru_add_drain_all

[PATCH] kbuild doc: a bundle of fixes on makefiles.txt

2017-10-18 Thread Cao jin
It does several fixes: 1. move the displaced ld example to its reasonale place. 2. add new example for command gzip. 3. fix 2 number errors. 4. fix format of chapter 7.x, make it looks the same as other chapters. Signed-off-by: Cao jin --- Documentation/kbuild/makefiles.txt | 31

Re: [PATCH v9 17/17] tools/wmi: add a sample for dell smbios communication over WMI

2017-10-18 Thread Edward O'Callaghan
Just my 2c, I like this simplification Mario. Reviewed-by: Edward O'Callaghan On Thu, Oct 19, 2017 at 9:27 AM, wrote: >> -Original Message- >> From: Limonciello, Mario >> Sent: Wednesday, October 18, 2017 8:56 AM >> To: 'Pali Rohár' ; Greg KH ; Alan Cox >> >> Cc: dvh...@infradead.org;

Re: [PATCH] md: Convert timers to use timer_setup()

2017-10-18 Thread Jens Axboe
> On Oct 18, 2017, at 9:06 PM, Kees Cook wrote: > >> On Mon, Oct 16, 2017 at 8:06 PM, Michael Lyle wrote: >>> On 10/16/2017 05:01 PM, Kees Cook wrote: >>> In preparation for unconditionally passing the struct timer_list pointer to >>> all timer callbacks, switch to using the new timer_setup() a

Re: [PATCH 0/2] Optimize mmu_notifier->invalidate_range callback

2017-10-18 Thread Jerome Glisse
On Thu, Oct 19, 2017 at 01:43:19PM +1100, Balbir Singh wrote: > On Mon, 16 Oct 2017 23:10:01 -0400 > jgli...@redhat.com wrote: > > > From: Jérôme Glisse > > > > (Andrew you already have v1 in your queue of patch 1, patch 2 is new, > > i think you can drop it patch 1 v1 for v2, v2 is bit more co

Re: [PATCH] md: Convert timers to use timer_setup()

2017-10-18 Thread Kees Cook
On Mon, Oct 16, 2017 at 8:06 PM, Michael Lyle wrote: > On 10/16/2017 05:01 PM, Kees Cook wrote: >> In preparation for unconditionally passing the struct timer_list pointer to >> all timer callbacks, switch to using the new timer_setup() and from_timer() >> to pass the timer pointer explicitly. >>

Re: [PATCH 1/2] mm/mmu_notifier: avoid double notification when it is useless v2

2017-10-18 Thread Balbir Singh
On Mon, 16 Oct 2017 23:10:02 -0400 jgli...@redhat.com wrote: > From: Jérôme Glisse > > + /* > + * No need to call mmu_notifier_invalidate_range() as we are > + * downgrading page table protection not changing it to point > + * to a new page. > +

Re: [PATCH v2 1/3] iommu/arm-smmu-v3: put off the execution of TLBI* to reduce lock confliction

2017-10-18 Thread Leizhen (ThunderTown)
On 2017/10/18 20:58, Will Deacon wrote: > Hi Thunder, > > On Tue, Sep 12, 2017 at 09:00:36PM +0800, Zhen Lei wrote: >> Because all TLBI commands should be followed by a SYNC command, to make >> sure that it has been completely finished. So we can just add the TLBI >> commands into the queue, and

[PATCH 03/14] soundwire: Add Master registration

2017-10-18 Thread Vinod Koul
A Master registers with SoundWire bus and scans the firmware provided for device description. In this patch we scan the ACPI namespaces and create the SoundWire Slave devices based on the ACPI description Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul --- drivers/soundwire/Makefile|

[PATCH 06/14] soundwire: Add IO transfer

2017-10-18 Thread Vinod Koul
SoundWire bus supports read and write register(s) for SoundWire Slave device. sdw_read() and sdw_write() APIs are provided for single register read/write. sdw_nread() and sdw_nwrite() for operations on contiguous register read/write. Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul --- driv

[PATCH 08/14] soundwire: Add Slave status handling helpers

2017-10-18 Thread Vinod Koul
From: Sanyog Kale SoundWire Slaves report status to bus. Add helpers to handle the status changes. Signed-off-by: Hardik T Shah Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul --- drivers/soundwire/bus.c | 211 ++ include/linux/soundwire/sdw

[PATCH 12/14] soundwire: cdns: Add sdw_master_ops and IO transfer support

2017-10-18 Thread Vinod Koul
From: Sanyog Kale Implement sdw_master_ops with support for xfer_msg, xfer_msg_defer and reset_page_addr. Since Cadence module doesn't know the systems it will be used, set the read_prop to the bus helper. Signed-off-by: Hardik T Shah Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul ---

[PATCH 13/14] soundwire: intel: Add Intel Master driver

2017-10-18 Thread Vinod Koul
Some Intel platforms have SoundWire Master, so add Intel SoundWire Master driver which uses Cadence module. This patch adds probe and initialization routines for Intel Master driver. Signed-off-by: Hardik T Shah Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul --- drivers/soundwire/Kconfig

Re: [PATCH v2 1/4] dt-bindings: rtc: mediatek: add bindings for MediaTek SoC based RTC

2017-10-18 Thread Sean Wang
On Wed, 2017-10-18 at 21:32 +0800, Yingjoe Chen wrote: > On Tue, 2017-10-17 at 17:40 +0800, sean.w...@mediatek.com wrote: > > From: Sean Wang > > > > Add device-tree binding for MediaTek SoC based RTC > > > > Cc: devicet...@vger.kernel.org > > Signed-off-by: Sean Wang > > Acked-by: Rob Herring

[PATCH 14/14] soundwire: intel: Add Intel init module

2017-10-18 Thread Vinod Koul
The SoundWire Master is implemented as part of Audio controller in Intel platforms. Add a init module which creates SoundWire Master platform devices based on the links supported in the hardware. Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul --- drivers/soundwire/Makefile | 3

[PATCH 11/14] soundwire: cdns: Add cadence module

2017-10-18 Thread Vinod Koul
Cadence IP implements SoundWire Master. Add base cadence module initialization and interrupt handling Signed-off-by: Hardik T Shah Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul --- drivers/soundwire/Kconfig | 3 + drivers/soundwire/Makefile | 4 + drivers/soundwire/

[PATCH 10/14] soundwire: Add sysfs for SoundWire DisCo properties

2017-10-18 Thread Vinod Koul
It helps to read the properties for understanding and debug SoundWire systems, so add sysfs files for SoundWire DisCo properties. TODO: Add ABI files for sysfs Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul --- drivers/soundwire/Makefile| 2 +- drivers/soundwire/bus.c | 5 +

[PATCH 09/14] soundwire: Add slave status handling

2017-10-18 Thread Vinod Koul
Add status handling API sdw_handle_slave_status() to handle Slave status changes. Signed-off-by: Hardik T Shah Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul --- drivers/soundwire/bus.c | 344 ++ drivers/soundwire/bus.h | 2 + include

  1   2   3   4   5   6   7   8   9   10   >