[for-next][PATCH 18/25] recordmcount: Kernel style function signature formatting

2019-09-05 Thread Steven Rostedt
From: Matt Helsley The uwrite() and ulseek() functions are formatted inconsistently with the rest of the file and the kernel overall. While we're making other changes here let's fix this. Link: http://lkml.kernel.org/r/4c67698f734be9867a2aba7035fe0ce59e1e4423.1564596289.git.mhels...@vmware.com

[for-next][PATCH 09/25] tracing/uprobe: Add multi-probe per uprobe event support

2019-09-05 Thread Steven Rostedt
From: Masami Hiramatsu Allow user to define several probes on one uprobe event. Note that this only support appending method. So deleting event will delete all probes on the event. Link: http://lkml.kernel.org/r/156095687876.28024.13840331032234992863.stgit@devnote2 Signed-off-by: Masami

[for-next][PATCH 23/25] tracing: Document the stack trace algorithm in the comments

2019-09-05 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" As the max stack tracer algorithm is not that easy to understand from the code, add comments that explain the algorithm and mentions how ARCH_FTRACE_SHIFT_STACK_TRACER affects it. Link: http://lkml.kernel.org/r/20190806123455.487ac...@gandalf.local.home

[for-next][PATCH 16/25] selftests/ftrace: Add syntax error test for multiprobe

2019-09-05 Thread Steven Rostedt
From: Masami Hiramatsu Add syntax error test cases for multiprobe appending errors. Link: http://lkml.kernel.org/r/156095694541.28024.11918630805148623119.stgit@devnote2 Signed-off-by: Masami Hiramatsu Signed-off-by: Steven Rostedt (VMware) ---

[for-next][PATCH 19/25] recordmcount: Kernel style formatting

2019-09-05 Thread Steven Rostedt
From: Matt Helsley Fix up the whitespace irregularity in the ELF switch blocks. Swapping the initial value of gpfx allows us to simplify all but one of the one-line switch cases even further. Link:

[for-next][PATCH 08/25] tracing/kprobe: Add multi-probe per event support

2019-09-05 Thread Steven Rostedt
From: Masami Hiramatsu Add multi-probe per one event support to kprobe events. User can define several different probes on one trace event if those events have same "event signature", e.g. # echo p:testevent _do_fork > kprobe_events # echo p:testevent fork_idle >> kprobe_events #

[for-next][PATCH 06/25] tracing/dynevent: Delete all matched events

2019-09-05 Thread Steven Rostedt
From: Masami Hiramatsu When user gives an event name to delete, delete all matched events instead of the first one. This means if there are several events which have same name but different group (subsystem) name, those are removed if user passed only the event name, e.g. # cat kprobe_events

[for-next][PATCH 02/25] recordmcount: Remove redundant strcmp

2019-09-05 Thread Steven Rostedt
From: Matt Helsley The strcmp is unnecessary since .text is already accepted as a prefix in the strncmp(). Link: http://lkml.kernel.org/r/358e590b49adbe4185e161a8b364e323f3d52857.1563992889.git.mhels...@vmware.com Signed-off-by: Matt Helsley Signed-off-by: Steven Rostedt (VMware) ---

[for-next][PATCH 15/25] selftests/ftrace: Add syntax error test for immediates

2019-09-05 Thread Steven Rostedt
From: Masami Hiramatsu Add syntax error test cases for immediate value and immediate string. Link: http://lkml.kernel.org/r/156095693553.28024.7730929892585591691.stgit@devnote2 Signed-off-by: Masami Hiramatsu Signed-off-by: Steven Rostedt (VMware) ---

[for-next][PATCH 03/25] recordmcount: Remove uread()

2019-09-05 Thread Steven Rostedt
From: Matt Helsley uread() is only used to initialize the ELF file's pseudo private-memory mapping while uwrite() and ulseek() work within the pseudo-mapping and extend it as necessary. Thus it is not a complementary function to uwrite() and ulseek(). It also makes no sense to do cleanups

Re: [PATCH v4 01/12] x86/hyper-v: Suspend/resume the hypercall page for hibernation

2019-09-05 Thread Sasha Levin
On Tue, Sep 03, 2019 at 12:23:16AM +, Dexuan Cui wrote: This is needed for hibernation, e.g. when we resume the old kernel, we need to disable the "current" kernel's hypercall page and then resume the old kernel's. Signed-off-by: Dexuan Cui Reviewed-by: Michael Kelley Hi Dexuan, When

[for-next][PATCH 04/25] recordmcount: Remove unused fd from uwrite() and ulseek()

2019-09-05 Thread Steven Rostedt
From: Matt Helsley uwrite() works within the pseudo-mapping and extends it as necessary without needing the file descriptor (fd) parameter passed to it. Similarly, ulseek() doesn't need its fd parameter. These parameters were only added because the functions bear a conceptual resemblance to

[for-next][PATCH 24/25] tracing: Rename tracing_reset() to tracing_reset_cpu()

2019-09-05 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" The name tracing_reset() was a misnomer, as it really only reset a single CPU buffer. Rename it to tracing_reset_cpu() and also make it static and remove the prototype from trace.h, as it is only used in a single function. Signed-off-by: Steven Rostedt (VMware)

[for-next][PATCH 25/25] tracing: Add "gfp_t" support in synthetic_events

2019-09-05 Thread Steven Rostedt
From: Zhengjun Xing Add "gfp_t" support in synthetic_events, then the "gfp_t" type parameter in some functions can be traced. Prints the gfp flags as hex in addition to the human-readable flag string. Example output: whoopsie-630 [000] ...1 78.969452: testevent: bar=b20

[for-next][PATCH 17/25] recordmcount: Rewrite error/success handling

2019-09-05 Thread Steven Rostedt
From: Matt Helsley Recordmcount uses setjmp/longjmp to manage control flow as it reads and then writes the ELF file. This unusual control flow is hard to follow and check in addition to being unlike kernel coding style. So we rewrite these paths to use regular return values to indicate

[for-next][PATCH 11/25] tracing/uprobe: Add per-probe delete from event

2019-09-05 Thread Steven Rostedt
From: Masami Hiramatsu Add per-probe delete method from one event passing the head of definition. In other words, the events which match the head N parameters are deleted. Link: http://lkml.kernel.org/r/156095689811.28024.221706761151739433.stgit@devnote2 Signed-off-by: Masami Hiramatsu

[for-next][PATCH 07/25] tracing/dynevent: Pass extra arguments to match operation

2019-09-05 Thread Steven Rostedt
From: Masami Hiramatsu Pass extra arguments to match operation for checking exact match. If the event doesn't support exact match, it will be ignored. Link: http://lkml.kernel.org/r/156095685930.28024.10405547027475590975.stgit@devnote2 Signed-off-by: Masami Hiramatsu Signed-off-by: Steven

[for-next][PATCH 05/25] tracing/probe: Split trace_event related data from trace_probe

2019-09-05 Thread Steven Rostedt
From: Masami Hiramatsu Split the trace_event related data from trace_probe data structure and introduce trace_probe_event data structure for its folder. This trace_probe_event data structure can have multiple trace_probe. Link:

[for-next][PATCH 21/25] recordmcount: Clarify what cleanup() does

2019-09-05 Thread Steven Rostedt
From: Matt Helsley cleanup() mostly frees/unmaps the malloc'd/privately-mapped copy of the ELF file recordmcount is working on, which is set up in mmap_file(). It also deals with positioning within the pseduo prive-mapping of the file and appending to the ELF file. Split into two steps:

[for-next][PATCH 12/25] tracing/probe: Add immediate parameter support

2019-09-05 Thread Steven Rostedt
From: Masami Hiramatsu Add immediate value parameter (\1234) support to probe events. This allows you to specify an immediate (or dummy) parameter instead of fetching from memory or register. This feature looks odd, but imagine when you put a probe on a code to trace some data. If the code is

[for-next][PATCH 13/25] tracing/probe: Add immediate string parameter support

2019-09-05 Thread Steven Rostedt
From: Masami Hiramatsu Add immediate string parameter (\"string") support to probe events. This allows you to specify an immediate (or dummy) parameter instead of fetching a string from memory. This feature looks odd, but imagine that you put a probe on a code to trace some string data. If the

Re: [RFC PATCH v4 0/9] printk: new ringbuffer implementation

2019-09-05 Thread Thomas Gleixner
On Thu, 5 Sep 2019, Peter Zijlstra wrote: > On Thu, Sep 05, 2019 at 03:05:13PM +0200, Petr Mladek wrote: > > The alternative lockless approach is still more complicated than > > the serialized one. But I think that it is manageable thanks to > > the simplified state tracking. And I might safe use

Re: [PATCH -rcu dev 1/2] Revert b8c17e6664c4 ("rcu: Maintain special bits at bottom of ->dynticks counter")

2019-09-05 Thread Joel Fernandes
On Wed, Sep 04, 2019 at 04:13:08PM -0700, Paul E. McKenney wrote: > On Wed, Sep 04, 2019 at 09:54:20AM -0400, Joel Fernandes wrote: > > On Wed, Sep 04, 2019 at 03:12:10AM -0700, Paul E. McKenney wrote: > > > On Wed, Sep 04, 2019 at 12:59:10AM -0400, Joel Fernandes wrote: > > > > On Tue, Sep 03,

Re: [PATCH] FS: timerfd: Fix unexpected return value of timerfd_read function.

2019-09-05 Thread Thomas Gleixner
Arul, On Thu, 5 Sep 2019, Arul Jeniston wrote: > When we adjust the date setting using date command we observed > 'timerfd_read()' on CLOCK_REALTIME (TFD_TIMER_ABSTIME flag is set) > returns 0. > we don't see any hardware influence here and we are able to recreate > it consistently. Is it

Re: [PATCH v2] Bluetooth: btusb: Use cmd_timeout to reset Realtek device

2019-09-05 Thread Marcel Holtmann
Hi Alex, > Realtek Bluetooth controller provides a BT_DIS reset pin for hardware > reset of it. The cmd_timeout is helpful on Realtek bluetooth controller > where the firmware gets stuck. > > Signed-off-by: Alex Lu > --- > Changes in v2 > - Provide a dedicated btusb_rtl_cmd_timeout in case of

Re: [PATCH v2] Bluetooth: btrtl: Fix an issue that failing to download the FW which size is over 32K bytes

2019-09-05 Thread Marcel Holtmann
Hi Max, > Fix the issue that when the FW size is 32K+, it will fail for the download > process because of the incorrect index. > > When firmware patch length is over 32K, "dl_cmd->index" may >= 0x80. It > will be thought as "data end" that download process will not complete. > However, driver

Re: [RFC PATCH 1/2] x86: Don't let pgprot_modify() change the page encryption bit

2019-09-05 Thread Christoph Hellwig
On Thu, Sep 05, 2019 at 05:21:24PM +0200, Thomas Hellström (VMware) wrote: > On 9/5/19 4:15 PM, Dave Hansen wrote: > > Hi Thomas, > > > > Thanks for the second batch of patches! These look much improved on all > > fronts. > > Yes, although the TTM functionality isn't in yet. Hopefully we won't

[PATCH 2/2] ipc: fix sparc64 ipc() wrapper

2019-09-05 Thread Arnd Bergmann
Matt bisected a sparc64 specific issue with semctl, shmctl and msgctl to a commit from my y2038 series in linux-5.1, as I missed the custom sys_ipc() wrapper that sparc64 uses in place of the generic version that I patched. The problem is that the sys_{sem,shm,msg}ctl() functions in the kernel

[PATCH 1/2] ipc: fix semtimedop for generic 32-bit architectures

2019-09-05 Thread Arnd Bergmann
As Vincent noticed, the y2038 conversion of semtimedop in linux-5.1 broke when commit 00bf25d693e7 ("y2038: use time32 syscall names on 32-bit") changed all system calls on all architectures that take a 32-bit time_t to point to the _time32 implementation, but left out semtimedop in the

[PATCH][V2] staging: rtl8723bs: hal: remove redundant variable n

2019-09-05 Thread Colin King
From: Colin Ian King The variable n is being assigned a value that is never read inside an if statement block, the assignment is redundant and can be removed. With this removed, n is only being used for a constant loop bounds check, so replace n with that value instead and remove n completely.

Re: [patch 0/6] posix-cpu-timers: Fallout fixes and permission tightening

2019-09-05 Thread Frederic Weisbecker
On Thu, Sep 05, 2019 at 04:57:10PM +0200, Thomas Gleixner wrote: > On Thu, 5 Sep 2019, Frederic Weisbecker wrote: > > On Thu, Sep 05, 2019 at 02:03:39PM +0200, Thomas Gleixner wrote: > > > Sysbot triggered an issue in the posix timer rework which was trivial to > > > fix, but after running another

Re: [RFC PATCH 1/2] x86: Don't let pgprot_modify() change the page encryption bit

2019-09-05 Thread VMware
On 9/5/19 4:15 PM, Dave Hansen wrote: Hi Thomas, Thanks for the second batch of patches! These look much improved on all fronts. Yes, although the TTM functionality isn't in yet. Hopefully we won't have to bother you with those though, since this assumes TTM will be using the dma API.

Re: [PATCH] net/skbuff: silence warnings under memory pressure

2019-09-05 Thread Eric Dumazet
On 9/5/19 4:09 PM, Qian Cai wrote: > Instead of repeatedly make generalize statements, could you enlighten me with > some concrete examples that have the similar properties which would trigger a > livelock, > > - guaranteed GFP_ATOMIC allocations when processing softirq batches. > - the

Re: [PATCH] HID: hyperv: Use in-place iterator API in the channel callback

2019-09-05 Thread Sasha Levin
On Wed, Sep 04, 2019 at 04:23:27PM +0200, Jiri Kosina wrote: On Tue, 3 Sep 2019, Dexuan Cui wrote: > Hi Jiri, Benjamin, can this patch go through Sasha's hyperv tree: > https://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git > > This is a purely Hyper-V specific change. Hi Jiri,

Re: PCI/kernel msi code vs GIC ITS driver conflict?

2019-09-05 Thread Marc Zyngier
On 05/09/2019 15:53, John Garry wrote: [...[ >> Awesome. Can I take this as a Tested-by? > > Sure, btw, could you please also add: > > Reported-by: Jiaxing Luo > > ... as he did initial discovery and analysis on the problem. Sure. Now pushed to irqchip-next. Thanks, M. --

Re: [PATCH v2] watchdog: imx_sc: this patch just fixes whitespaces

2019-09-05 Thread Guenter Roeck
On Thu, Sep 05, 2019 at 02:36:49PM +, Oliver Graute wrote: > Fix only whitespace errors in imx_sc_wdt_probe() > > Signed-off-by: Oliver Graute Ah, there are indeed extra spaces in these lines. Reviewed-by: Guenter Roeck > --- > drivers/watchdog/imx_sc_wdt.c | 4 ++-- > 1 file changed, 2

Re: [PATCH 1/1] x86/purgatory: Change compiler flags to avoid relocation errors.

2019-09-05 Thread Steve Wahl
On Thu, Sep 05, 2019 at 11:15:14AM +0200, Borislav Petkov wrote: > On Wed, Sep 04, 2019 at 04:45:05PM -0500, Steve Wahl wrote: > > The last change to this Makefile caused relocation errors when loading > > a kdump kernel. > > How do those relocation errors look like? kexec: Overflow in

Re: [PATCH] net/skbuff: silence warnings under memory pressure

2019-09-05 Thread Eric Dumazet
On 9/5/19 4:09 PM, Qian Cai wrote: > > I feel like you may not follow the thread closely. There are more details > uncovered in the last few days and narrowed down to the culprits. > I have followed the thread closely, thank you very much. I am happy that the problem is addressed as I

Re: [PATCH v1] watchdog: imx_sc: this patch just fixes whitespaces

2019-09-05 Thread Guenter Roeck
On Thu, Sep 05, 2019 at 02:35:37PM +, Oliver Graute wrote: > On 05/09/19, Guenter Roeck wrote: > > On 9/5/19 12:44 AM, Oliver Graute wrote: > > > Fix only whitespace errors in imx_sc_wdt_probe() > > > > > > Signed-off-by: Oliver Graute > > > > This patch no longer applies due to commit

RE: [PATCH] ACPI: support for NXP i2c controller

2019-09-05 Thread Biwen Li
> > > Hi, > > > > On 02.09.19 23:16, Andy Shevchenko wrote: > > > On Mon, Sep 2, 2019 at 11:58 PM Rafael J. Wysocki > > > > > wrote: > > >> > > >> On Thu, Jul 11, 2019 at 12:35 PM Chuanhua Han > > >> > > wrote: > > >>> > > >>> Enable NXP i2c controller to boot with ACPI > > >>> > > >>>

Re: [PATCH] staging: rtl8723bs: hal: remove redundant assignment to variable n

2019-09-05 Thread Colin Ian King
On 05/09/2019 15:52, Dan Carpenter wrote: > It would be better to remove "n" altogether. Good point, will resend a V2 later. > > regards, > dan carpenter >

Re: [PATCH 5.2 000/143] 5.2.12-stable review

2019-09-05 Thread shuah
On 9/4/19 11:52 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.2.12 release. There are 143 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 should be made

[PATCH] rtlwifi: rtl8821ae: make array static const and remove redundant assignment

2019-09-05 Thread Colin King
From: Colin Ian King The array channel_all can be make static const rather than populating it on the stack, this makes the code smaller. Also, variable place is being initialized with a value that is never read, so this assignment is redundant and can be removed. Before: textdata

Re: [PATCH 1/3] task: Add a count of task rcu users

2019-09-05 Thread Frederic Weisbecker
On Wed, Sep 04, 2019 at 11:20:03AM -0700, Linus Torvalds wrote: > On Wed, Sep 4, 2019 at 9:33 AM Frederic Weisbecker > wrote: > > > > I thought the point of these rcu_users was to be able to do: > > > > rcu_read_lock() > > p = rcu_dereference(task) > > if (!refcount_inc_not_zero(p->rcu_users)) {

Re: [PATCH] nvme: tcp: remove redundant assignment to variable ret

2019-09-05 Thread Max Gurtovoy
On 9/5/2019 5:34 PM, Colin King wrote: From: Colin Ian King The variable ret is being initialized with a value that is never read and is being re-assigned immediately afterwards. The assignment is redundant and hence can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin

Re: [PATCH 4.19 00/93] 4.19.70-stable review

2019-09-05 Thread shuah
On 9/4/19 11:53 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.19.70 release. There are 93 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 should be made

Re: [patch 0/6] posix-cpu-timers: Fallout fixes and permission tightening

2019-09-05 Thread Thomas Gleixner
On Thu, 5 Sep 2019, Frederic Weisbecker wrote: > On Thu, Sep 05, 2019 at 02:03:39PM +0200, Thomas Gleixner wrote: > > Sysbot triggered an issue in the posix timer rework which was trivial to > > fix, but after running another test case I discovered that the rework broke > > the permission checks

Re: PCI/kernel msi code vs GIC ITS driver conflict?

2019-09-05 Thread John Garry
> > root@(none)$ echo :74:02.0 > ./sys/bus/pci/drivers/hisi_sas_v3_hw/unbind > > > > [ 34.806156] Freed devid 7410 LPI 0 > [ 34.809555] Freed devid 7410 LPI 0 > [ 34.812951] Freed devid 7410 LPI 0 > [ 34.816344] Freed devid 7410 LPI 0 > [ 34.819734] Freed devid 7410 LPI 0 > [

Re: [PATCH] staging: rtl8723bs: hal: remove redundant assignment to variable n

2019-09-05 Thread Dan Carpenter
It would be better to remove "n" altogether. regards, dan carpenter

[PATCH v4 1/1] arm64: dts: qcom: Add Lenovo Yoga C630

2019-09-05 Thread Lee Jones
From: Bjorn Andersson The Lenovo Yoga C630 is built on the SDM850 from Qualcomm, but this seem to be similar enough to the SDM845 that we can reuse the sdm845.dtsi. Supported by this patch is: keyboard, battery monitoring, UFS storage, USB host and Bluetooth. Signed-off-by: Bjorn Andersson

Re: [PATCH v4] libnvdimm: Enable unit test infrastructure compile checks

2019-09-05 Thread Jason Gunthorpe
On Wed, Sep 04, 2019 at 03:43:31PM -0700, Dan Williams wrote: > The infrastructure to mock core libnvdimm routines for unit testing > purposes is prone to bitrot relative to refactoring of that core. > Arrange for the unit test core to be built when CONFIG_COMPILE_TEST=y. > This does not result in

[PATCH v2] pinctrl: at91-pio4: implement .get_multiple and .set_multiple

2019-09-05 Thread Alexandre Belloni
Implement .get_multiple and .set_multiple to allow reading or setting multiple pins simultaneously. Pins in the same bank will all be switched at the same time, improving synchronization and performances. Signed-off-by: Alexandre Belloni --- Changes since v1

Re: [RFC PATCH 1/9] sched,cgroup: Add interface for latency-nice

2019-09-05 Thread Valentin Schneider
On 05/09/2019 14:07, Patrick Bellasi wrote: > Yep, I think so fare we are all converging towards the idea to use the > a signed range. Regarding the range itself, yes: 1024 looks very > oversized, but +-20 is still something which leave room for a bit of > flexibility and it also better matches

Re: [patch 0/6] posix-cpu-timers: Fallout fixes and permission tightening

2019-09-05 Thread Frederic Weisbecker
On Thu, Sep 05, 2019 at 02:03:39PM +0200, Thomas Gleixner wrote: > Sysbot triggered an issue in the posix timer rework which was trivial to > fix, but after running another test case I discovered that the rework broke > the permission checks subtly. That's also a straightforward fix. > > Though

[PATCH v2 19/19] MAINTAINERS: Add myself as maintainer of LOONGSON64

2019-09-05 Thread Jiaxun Yang
I'm going to help with LOONGSON64 maintainance as well. Signed-off-by: Jiaxun Yang --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 836b21baeb20..36b656ded1b7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10753,6 +10753,7 @@ F:

Re: [PATCH 6/8] x86/platform/uv: Decode UVsystab Info

2019-09-05 Thread Mike Travis
On 9/5/2019 7:16 AM, Greg KH wrote: On Thu, Sep 05, 2019 at 08:02:58AM -0500, Mike Travis wrote: Decode the hubless UVsystab passed from BIOS to the kernel saving pertinent info in a similar manner that hubbed UVsystabs are decoded. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl

[PATCH v2 18/19] MAINTAINERS: Add new pathes to LOONGSON64 ARCHITECTURE

2019-09-05 Thread Jiaxun Yang
Place newly submited irqchip drivers and devicetree support under MIPS/LOONGSON64 ARCHITECTURE. Signed-off-by: Jiaxun Yang --- MAINTAINERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b2ad16902d70..836b21baeb20 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH v2 16/19] GPIO: loongson: Drop Loongson-3A/3B support

2019-09-05 Thread Jiaxun Yang
GPIOs on Loongson-3A/B should never be touched by user, it may damage hardware. And nobody is using this driver in realworld. Signed-off-by: Jiaxun Yang --- drivers/gpio/Kconfig | 6 +++--- drivers/gpio/gpio-loongson.c | 9 + 2 files changed, 4 insertions(+), 11 deletions(-)

[PATCH v2 17/19] MIPS: Loongson: Regenerate defconfigs

2019-09-05 Thread Jiaxun Yang
We've touched kconfig a lot in previous patches. Signed-off-by: Jiaxun Yang --- arch/mips/configs/fuloong2e_defconfig | 8 +++- arch/mips/configs/lemote2f_defconfig | 8 ++-- arch/mips/configs/loongson3_defconfig | 13 - 3 files changed, 9 insertions(+), 20 deletions(-)

[PATCH v2 15/19] MIPS: Loongson64: Load built-in dtbs

2019-09-05 Thread Jiaxun Yang
Load proper dtb according to firmware passed parameters and CPU PRID. Signed-off-by: Jiaxun Yang --- .../asm/mach-loongson64/builtin_dtbs.h| 16 .../include/asm/mach-loongson64/loongson64.h | 2 ++ arch/mips/loongson64/env.c| 26 +++

[PATCH v2 14/19] MIPS: Loongson64: Add generic dts

2019-09-05 Thread Jiaxun Yang
Add generic device dts for Loongson-3 devices. They seems identical but will be different later. Signed-off-by: Jiaxun Yang --- arch/mips/Kconfig | 4 +- arch/mips/boot/dts/Makefile | 1 + arch/mips/boot/dts/loongson/3a-package.dtsi | 69

[PATCH v2 12/19] dt-bindings: mips: Add loongson boards

2019-09-05 Thread Jiaxun Yang
Prepare for later dts. Signed-off-by: Jiaxun Yang --- .../bindings/mips/loongson/devices.yaml | 39 +++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/mips/loongson/devices.yaml diff --git

Re: [PATCH v4 08/12] scripts: Coccinelle script for namespace dependencies.

2019-09-05 Thread Matthias Maennich
On Wed, Sep 04, 2019 at 06:53:25PM +0900, Masahiro Yamada wrote: On Wed, Sep 4, 2019 at 12:07 AM Matthias Maennich wrote: A script that uses the '.ns_deps' files generated by modpost to automatically add the required symbol namespace dependencies to each module. Usage: 1) Move some symbols

[PATCH v2 13/19] dt-bindings: Document loongson vendor-prefix

2019-09-05 Thread Jiaxun Yang
Loongson is a MIPS-compatible processor vendor. Signed-off-by: Jiaxun Yang Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml

[PATCH v2 11/19] MIPS: Loongson64: Drop legacy IRQ code

2019-09-05 Thread Jiaxun Yang
We've made generic irqchip drivers for Loongson-3 platform, it's time to say goodbye to these legacy code. Signed-off-by: Jiaxun Yang --- arch/mips/include/asm/mach-loongson64/irq.h | 1 - arch/mips/loongson64/irq.c | 167 +--- arch/mips/loongson64/smp.c

[PATCH v2 10/19] irqchip: mips-cpu: Convert to simple domain

2019-09-05 Thread Jiaxun Yang
The old code is using legacy domain to setup irq_domain for CPU interrupts which requires irq_desc being preallocated. However, when MIPS_CPU_IRQ_BASE >= 16, irq_desc for CPU IRQs may end up unallocated and lead to incorrect behavior. Thus we convert the legacy domain to simple domain which can

[PATCH v2 09/19] irqchip: i8259: Add plat-poll support

2019-09-05 Thread Jiaxun Yang
For some platforms (e.g. Loongson-3), platfrom interrupt controller supports polling interrupt vector from i8259 automaticly and generating sepreated interrupt. Thus we add plat-poll OF property for these platforms and setup sepreated chained interrupt handler. Signed-off-by: Jiaxun Yang ---

[PATCH v2 08/19] dt-bindings: interrupt-controller: Add Loongson-3 HTINTC

2019-09-05 Thread Jiaxun Yang
Document Loongson-3 HyperTransport Interrupt controller. Signed-off-by: Jiaxun Yang Reviewed-by: Rob Herring --- .../loongson,ls3-htintc.yaml | 55 +++ 1 file changed, 55 insertions(+) create mode 100644

[PATCH v2 06/19] dt-bindings: interrupt-controller: Add Loongson-3 IOINTC

2019-09-05 Thread Jiaxun Yang
Document Loongson-3 I/O Interrupt controller. Signed-off-by: Jiaxun Yang --- .../loongson,ls3-iointc.yaml | 79 +++ 1 file changed, 79 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/loongson,ls3-iointc.yaml diff --git

[PATCH v2 07/19] irqchip: Add driver for Loongson-3 HyperTransport interrupt controller

2019-09-05 Thread Jiaxun Yang
This controller appeared on Loongson-3 family of chips to receive interrupts from PCH chip. Signed-off-by: Jiaxun Yang --- drivers/irqchip/Kconfig | 8 ++ drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-ls3-htintc.c | 147 +++ 3 files

[PATCH v2 03/19] MAINTAINERS: Fix entries for new loongson64 path

2019-09-05 Thread Jiaxun Yang
As we sepreated the code of loongson2ef/loongson3a, they can now have their own entries. Signed-off-by: Jiaxun Yang --- MAINTAINERS | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 783569e3c4b4..b2ad16902d70 100644 --- a/MAINTAINERS

[PATCH v2 04/19] irqchip: Export generic chip domain map/unmap functions

2019-09-05 Thread Jiaxun Yang
Export irq_map_generic_chip, irq_unmap_generic_chip so drivers can use them to construct their own generic chip domain ops. Signed-off-by: Jiaxun Yang --- include/linux/irq.h | 1 + kernel/irq/generic-chip.c | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git

[PATCH v2 05/19] irqchip: Add driver for Loongson-3 I/O interrupt controller

2019-09-05 Thread Jiaxun Yang
This controller appeared on Loongson-3 family of chips as the primary package interrupt source. Signed-off-by: Jiaxun Yang --- drivers/irqchip/Kconfig | 9 + drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-ls3-iointc.c | 275 +++ 3 files

[PATCH v2 02/19] MIPS: Loongson64: separate loongson2ef/loongson64 code

2019-09-05 Thread Jiaxun Yang
As later model of GSx64 family processors including 2-series-soc have similar design with initial loongson3a while loongson2e/f seems less identical, we separate loongson2e/f support code out of mach-loongson64 to make our life easier. Signed-off-by: Jiaxun Yang --- arch/mips/Kbuild.platforms

[PATCH v2 01/19] MIPS: Loongson64: Rename CPU TYPES

2019-09-05 Thread Jiaxun Yang
CPU_LOONGSON2 -> CPU_LOONGSON2EF CPU_LOONGSON3 -> CPU_LOONGSON64 As newer loongson-2 products (2G/2H/2K1000) can share kernel implementation with loongson-3 while 2E/2F are less similar with other LOONGSON64 products. Signed-off-by: Jiaxun Yang --- arch/mips/Kconfig

[PATCH v2 00/19] Modernize Loongson64 Machine

2019-09-05 Thread Jiaxun Yang
v1: - dt-bindings fixup according to Rob's comments - irqchip fixup according to Marc's comments - ls3-iointc: Make Core map per-IRQ - Regenerate kconfigs - Typo & style improvements v2: - dt-bindings: Fix IOINTC, collect Rob's review tag - dtbs: Drop CPU Node, merge different ways according to

Re: [PATCH v2] mm: emit tracepoint when RSS changes by threshold

2019-09-05 Thread Michal Hocko
[Add Steven] On Wed 04-09-19 12:28:08, Joel Fernandes wrote: > On Wed, Sep 4, 2019 at 11:38 AM Michal Hocko wrote: > > > > On Wed 04-09-19 11:32:58, Joel Fernandes wrote: [...] > > > but also for reducing > > > tracing noise. Flooding the traces makes it less useful for long traces > > > and >

Re: [PATCH 4.14 00/57] 4.14.142-stable review

2019-09-05 Thread shuah
On 9/4/19 11:53 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.142 release. There are 57 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 should be

Re: [PATCH 1/3] rpmsg: core: add API to get message length

2019-09-05 Thread Jeffrey Hugo
On Thu, Sep 5, 2019 at 8:35 AM Arnaud Pouliquen wrote: > > Return the rpmsg buffer size for sending message, so rpmsg users > can split a long message in several sub rpmsg buffers. > > Signed-off-by: Arnaud Pouliquen > --- > drivers/rpmsg/rpmsg_core.c | 21 + >

[RESEND v3 1/1] i2c: qcom-geni: Provide an option to disable DMA processing

2019-09-05 Thread Lee Jones
We have a production-level laptop (Lenovo Yoga C630) which is exhibiting a rather horrific bug. When I2C HID devices are being scanned for at boot-time the QCom Geni based I2C (Serial Engine) attempts to use DMA. When it does, the laptop reboots and the user never sees the OS. Signed-off-by: Lee

[PATCH v2] watchdog: imx_sc: this patch just fixes whitespaces

2019-09-05 Thread Oliver Graute
Fix only whitespace errors in imx_sc_wdt_probe() Signed-off-by: Oliver Graute --- drivers/watchdog/imx_sc_wdt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/watchdog/imx_sc_wdt.c b/drivers/watchdog/imx_sc_wdt.c index 9260475439eb..7ea5cf54e94a 100644 ---

Re: [PATCH 2/2] i2c: qcom-geni: Provide an option to disable DMA processing

2019-09-05 Thread Lee Jones
On Thu, 05 Sep 2019, Wolfram Sang wrote: > On Thu, Sep 05, 2019 at 10:28:16AM +0100, Lee Jones wrote: > > On Thu, 05 Sep 2019, Wolfram Sang wrote: > > > > > > > > > Fixes: 8bc529b25354 ("soc: qcom: geni: Add support for ACPI") > > > > > > Are you sure? From visual inspection, I don't see a

Re: [PATCH v1] watchdog: imx_sc: this patch just fixes whitespaces

2019-09-05 Thread Oliver Graute
On 05/09/19, Guenter Roeck wrote: > On 9/5/19 12:44 AM, Oliver Graute wrote: > > Fix only whitespace errors in imx_sc_wdt_probe() > > > > Signed-off-by: Oliver Graute > > This patch no longer applies due to commit "watchdog: imx_sc: Remove > unnecessary error log". > ok I'll rebase patch

[PATCH] nvme: tcp: remove redundant assignment to variable ret

2019-09-05 Thread Colin King
From: Colin Ian King The variable ret is being initialized with a value that is never read and is being re-assigned immediately afterwards. The assignment is redundant and hence can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King --- drivers/nvme/host/tcp.c | 2

Re: [PATCH v3 1/1] i2c: qcom-geni: Provide an option to disable DMA processing

2019-09-05 Thread Lee Jones
On Thu, 05 Sep 2019, Peter Rosin wrote: > On 2019-09-05 15:49, Wolfram Sang wrote: > > Hi Lee, > > > > I understand you are in a hurry, but please double check before > > sending... > > Linus indicated that an rc8 is coming up, which should provide an extra week. >

Re: [RFC v2 0/3] OMAP3: convert opp-v1 to opp-v2 and read speed binned / 720MHz grade bits

2019-09-05 Thread Tony Lindgren
* Viresh Kumar [190905 05:03]: > Most of the stuff looks fine to me here. I will pick the patches when > the SoC maintainers provide an Ack. I noticed few issues with the dts changes but other than that looks good to me. Regards, Tony

Re: [PATCH] pinctrl: at91-pio4: implement .get_multiple and .set_multiple

2019-09-05 Thread Claudiu.Beznea
On 05.09.2019 17:13, Alexandre Belloni wrote: > + pr_err("ABE: %d %08x\n", bank, bits[word]); Is this needed?

Re: [PATCH 4.9 00/83] 4.9.191-stable review

2019-09-05 Thread shuah
On 9/4/19 11:52 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.191 release. There are 83 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 should be made

Re: PCI/kernel msi code vs GIC ITS driver conflict?

2019-09-05 Thread Marc Zyngier
On 05/09/2019 15:23, John Garry wrote: > On 05/09/2019 14:50, Marc Zyngier wrote: >> On 05/09/2019 14:26, John Garry wrote: >>> On 05/09/2019 12:22, Marc Zyngier wrote: OK, debug was slightly off, but it is interesting that the driver didn't unmap the device, either because it is flagged

Re: [RFC v2 1/3] cpufreq: ti-cpufreq: add support for omap34xx and omap36xx

2019-09-05 Thread Tony Lindgren
* H. Nikolaus Schaller [190904 08:54]: > This adds code and tables to read the silicon revision and > eFuse (speed binned / 720 MHz grade) bits for selecting > opp-v2 table entries. > > Since these bits are not always part of the syscon register > range (like for am33xx, am43, dra7), we add code

Re: [RFC PATCH v4 0/9] printk: new ringbuffer implementation

2019-09-05 Thread Peter Zijlstra
On Thu, Sep 05, 2019 at 03:05:13PM +0200, Petr Mladek wrote: > The serialized approach used a lock. It was re-entrant and thus less > error-prone but still a lock. > > The lock was planed to be used not only to access the buffer but also > for eventual locking inside lockless consoles. It might

Re: lockdep warning while booting POWER9 PowerNV

2019-09-05 Thread Qian Cai
On Thu, 2019-09-05 at 13:55 +1000, Michael Ellerman wrote: > Bart Van Assche writes: > > On 8/30/19 2:13 PM, Qian Cai wrote: > > > https://raw.githubusercontent.com/cailca/linux-mm/master/powerpc.config > > > > > > Once in a while, booting an IBM POWER9 PowerNV system (8335-GTH) would > > >

Re: [RFC PATCH 2/2] livepatch: Clear relocation targets on a module removal

2019-09-05 Thread Josh Poimboeuf
On Thu, Sep 05, 2019 at 03:52:59PM +0200, Petr Mladek wrote: > On Thu 2019-09-05 08:15:02, Josh Poimboeuf wrote: > > On Thu, Sep 05, 2019 at 08:08:32AM -0500, Josh Poimboeuf wrote: > > > On Thu, Sep 05, 2019 at 01:09:55PM +0200, Petr Mladek wrote: > > > > > I don't have a number, but it's very

[PATCH 2/3] rpmsg: glink: implement get_mtu ops

2019-09-05 Thread Arnaud Pouliquen
Implement the get_mtu ops to return the maximum size of the message that can be sent. Signed-off-by: Arnaud Pouliquen --- drivers/rpmsg/qcom_glink_native.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/rpmsg/qcom_glink_native.c

Re: [RFC v2 3/3] ARM: dts: omap3: bulk convert compatible to be explicitly ti,omap3430 or ti,omap36xx

2019-09-05 Thread Tony Lindgren
Hi, * H. Nikolaus Schaller [190904 08:54]: > According to omap.txt bindings documentation, matching the ti-cpufreq driver > needs > to specify explicitly if a board uses an omap3430 or omap36xx chip. > > This needs to add ti,omap3430 to most omap34xx boards and replace ti,omap3630 > by

Re: [PATCH v5 7/7] PCI: dwc: Add validation that PCIe core is set to correct mode

2019-09-05 Thread Andrew Murray
On Thu, Sep 05, 2019 at 05:01:44PM +0300, Jonathan Chocron wrote: > Some PCIe controllers can be set to either Host or EP according to some > early boot FW. To make sure there is no discrepancy (e.g. FW configured > the port to EP mode while the DT specifies it as a host bridge or vice > versa), a

[PATCH 0/3] Add API to get rpmsg message max length

2019-09-05 Thread Arnaud Pouliquen
As introduction on the get_mtu api can impacts some rpmsg drivers, i propose to discuss it separately. The "rpmsg: core: add API to get message length" patch is extracted from https://lkml.org/lkml/2019/9/4/556 In addition 2 patches implement the API for impacted rpmsg drivers. The rpmsg tty

[PATCH 1/3] rpmsg: core: add API to get message length

2019-09-05 Thread Arnaud Pouliquen
Return the rpmsg buffer size for sending message, so rpmsg users can split a long message in several sub rpmsg buffers. Signed-off-by: Arnaud Pouliquen --- drivers/rpmsg/rpmsg_core.c | 21 + drivers/rpmsg/rpmsg_internal.h | 2 ++ drivers/rpmsg/virtio_rpmsg_bus.c |

[PATCH 3/3] rpmsg: smd: implement get_mtu ops

2019-09-05 Thread Arnaud Pouliquen
Implement the get_mtu ops to return the maximum size of the message that can be sent. Signed-off-by: Arnaud Pouliquen --- drivers/rpmsg/qcom_smd.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/rpmsg/qcom_smd.c b/drivers/rpmsg/qcom_smd.c index 4abbeea782fa..f233f8d85062

Re: [PATCH v2 0/2] reset: meson-audio-arb: add sm1 support

2019-09-05 Thread Philipp Zabel
Hi Jerome, On Thu, 2019-09-05 at 15:50 +0200, Jerome Brunet wrote: > This patchset adds the new arb reset lines for the sm1 SoC family > It has been tested on the sei610 platform. > > Changes since v1 [0]: > * Fix the mistake on the number of reset as reported by Phililpp (thx) > > [0]:

<    1   2   3   4   5   6   7   8   9   10   >