[PATCH 2/2] dt-bindings: display: Document TM5P5 NT35596 panel compatible

2020-05-01 Thread Konrad Dybcio
Signed-off-by: Konrad Dybcio --- .../devicetree/bindings/display/panel/tm5p5,nt35596.txt| 7 +++ 1 file changed, 7 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/tm5p5,nt35596.txt diff --git

Re: [PATCH 6/6] mfd: lochnagar: Move binding over to dtschema

2020-05-01 Thread Rob Herring
On Mon, Apr 27, 2020 at 10:36:14AM +, Charles Keepax wrote: > On Mon, Apr 27, 2020 at 11:28:12AM +0100, Charles Keepax wrote: > > Signed-off-by: Charles Keepax > > --- > > +lochnagar-pinctrl { > > +compatible = "cirrus,lochnagar-pinctrl"; > > + > > +

Re: [PATCH 4/6] dt-bindings: gnss: Add binding for Motorola Mapphone MDM6600 GNSS

2020-05-01 Thread Pavel Machek
On Thu 2020-04-30 10:46:13, Tony Lindgren wrote: > Add a binding document for Motorola Mapphone MDM6600 GNSS driver that > can be used with phones such as droid4. -> Droid 4. > Signed-off-by: Tony Lindgren Reviewed-by: Pavel Machek

Re: [PATCH 3/6] serdev: ngsm: Add generic serdev-ngsm driver

2020-05-01 Thread Pavel Machek
Hi! > We can have a generic serdev-ngsm driver bring up the TS 27.010 line > discipline on the selected serial ports based on device tree data. > > And we can now do standard Linux device driver for the dedicated > TS 27.010 channels for devices like GNSS and ALSA found on modems. > +++

Re: [EXT] [PATCH 15/37] docs: networking: device drivers: convert aquantia/atlantic.txt to ReST

2020-05-01 Thread Igor Russkikh
On 01/05/2020 5:44 pm, Mauro Carvalho Chehab wrote: > External Email > > -- > - add SPDX header; > - use copyright symbol; > - adjust title and its markup; > - comment out text-only TOC from html/pdf output; > - mark code

Re: [PATCH v4 1/5] fs: Add support for an O_MAYEXEC flag on openat2(2)

2020-05-01 Thread Deven Bowers
On 4/30/2020 6:23 AM, Mickaël Salaün wrote: When the O_MAYEXEC flag is passed, openat2(2) may be subject to additional restrictions depending on a security policy managed by the kernel through a sysctl or implemented by an LSM thanks to the inode_permission hook. This new flag is ignored by

[PATCH 1/2] media: venus: Add support for MSM8939

2020-05-01 Thread Konrad Dybcio
Signed-off-by: Konrad Dybcio --- drivers/media/platform/qcom/venus/core.c | 33 1 file changed, 33 insertions(+) diff --git a/drivers/media/platform/qcom/venus/core.c b/drivers/media/platform/qcom/venus/core.c index 194b10b987672..f3a15991ac763 100644 ---

[PATCH 2/2] dt-bindings: media: Document MSM8939 Venus

2020-05-01 Thread Konrad Dybcio
Signed-off-by: Konrad Dybcio --- .../bindings/media/qcom,msm8939-venus.yaml| 119 ++ 1 file changed, 119 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/qcom,msm8939-venus.yaml diff --git

[PATCH 0/2] Add support for venus on msm8939

2020-05-01 Thread Konrad Dybcio
Konrad Dybcio (2): media: venus: Add support for MSM8939 dt-bindings: media: Document MSM8939 Venus .../bindings/media/qcom,msm8939-venus.yaml| 119 ++ drivers/media/platform/qcom/venus/core.c | 33 + 2 files changed, 152 insertions(+) create mode 100644

[PATCH 1/2] thermal: qcom: tsens-v0_1: Add support for MSM8939

2020-05-01 Thread Konrad Dybcio
Signed-off-by: Konrad Dybcio --- drivers/thermal/qcom/tsens-v0_1.c | 142 +- drivers/thermal/qcom/tsens.c | 3 + drivers/thermal/qcom/tsens.h | 2 +- 3 files changed, 145 insertions(+), 2 deletions(-) diff --git a/drivers/thermal/qcom/tsens-v0_1.c

[PATCH 0/2] Add msm8939 tsensv0_1 support

2020-05-01 Thread Konrad Dybcio
Konrad Dybcio (2): thermal: qcom: tsens-v0_1: Add support for MSM8939 dt-bindings: tsens: qcom: Document MSM8939 compatible .../bindings/thermal/qcom-tsens.yaml | 1 + drivers/thermal/qcom/tsens-v0_1.c | 142 +- drivers/thermal/qcom/tsens.c

[PATCH 2/2] dt-bindings: tsens: qcom: Document MSM8939 compatible

2020-05-01 Thread Konrad Dybcio
Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/thermal/qcom-tsens.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml index 2ddd39d967662..2ce489ccbf902

Re: [PATCH 2/6] dt-bindings: serdev: ngsm: Add binding for serdev-ngsm

2020-05-01 Thread Pavel Machek
On Thu 2020-04-30 10:46:11, Tony Lindgren wrote: > Add a binding document for a generic serdev-ngsm driver that can be > used to bring up TS 27.010 line discipline with Linux n_gsm support > on a serial port. > > As the Motorola Mapphone modems require some custom handling, they > are handled

[PATCH v4 06/18] static_call: Add basic static call infrastructure

2020-05-01 Thread Peter Zijlstra
From: Josh Poimboeuf Static calls are a replacement for global function pointers. They use code patching to allow direct calls to be used instead of indirect calls. They give the flexibility of function pointers, but with improved performance. This is especially important for cases where

[PATCH v4 11/18] static_call: Simple self-test

2020-05-01 Thread Peter Zijlstra
Signed-off-by: Peter Zijlstra (Intel) --- arch/Kconfig |6 ++ kernel/static_call.c | 28 2 files changed, 34 insertions(+) --- a/arch/Kconfig +++ b/arch/Kconfig @@ -103,6 +103,12 @@ config STATIC_KEYS_SELFTEST help Boot time

Re: [PATCH] docs: kvm: Fix KVM_KVMCLOCK_CTRL API doc

2020-05-01 Thread Joshua Abraham
On Fri, May 01, 2020 at 01:18:36PM -0700, Sean Christopherson wrote: > No, the current documentation is correct. It's probably not as clear as > it could be, but it's accurate as written. More below. > > The ioctl() signals to the host kernel that host userspace has paused the > vCPU. > > >

Re: [PATCHv6 0/6] n_gsm serdev support and GNSS driver for droid4

2020-05-01 Thread Tony Lindgren
* Pavel Machek [200501 20:20]: > Hi! > > > My guess is that at least with the pending ofono patches, we just > > want to use the raw interface for /dev/gsmtty* interface and stop > > pretending we have a modem that is AT compatible. > > Ok, so I got ofono back to work. ... I believe. It was not

[PATCH v4 16/18] static_call: Allow early init

2020-05-01 Thread Peter Zijlstra
In order to use static_call() to wire up x86_pmu, we need to initialize earlier; copy some of the tricks from jump_label to enable this. Primarily we overload key->next to store a sites pointer when there are no modules, this avoids having to use kmalloc() to initialize the sites and allows us to

[PATCH v4 02/18] module: Fix up module_notifier return values

2020-05-01 Thread Peter Zijlstra
While auditing all module notifiers I noticed a whole bunch of fail wrt the return value. Notifiers have a 'special' return semantics. As is; NOTIFY_DONE vs NOTIFY_OK is a bit vague; but notifier_from_errno(0) results in NOTIFY_OK and NOTIFY_DONE has a comment that says "Don't care". >From this

[PATCH v4 03/18] module: Properly propagate MODULE_STATE_COMING failure

2020-05-01 Thread Peter Zijlstra
Now that notifiers got unbroken; use the proper interface to handle notifier errors and propagate them. There were already MODULE_STATE_COMING notifiers that failed; notably: - jump_label_module_notifier() - tracepoint_module_notify() - bpf_event_notify() By propagating this error, we fix

[PATCH v4 10/18] x86/static_call: Add inline static call implementation for x86-64

2020-05-01 Thread Peter Zijlstra
From: Josh Poimboeuf Add the inline static call implementation for x86-64. The generated code is identical to the out-of-line case, except we move the trampoline into it's own section. Objtool uses the trampoline naming convention to detect all the call sites. It then annotates those call sites

[PATCH v4 08/18] static_call: Avoid kprobes on inline static_call()s

2020-05-01 Thread Peter Zijlstra
Similar to how we disallow kprobes on any other dynamic text (ftrace/jump_label) also disallow kprobes on inline static_call()s. Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/kernel/kprobes/opt.c |4 +- include/linux/static_call.h | 11 +++ kernel/kprobes.c |2

Re: [PATCH 1/6] tty: n_gsm: Add support for serdev drivers

2020-05-01 Thread Pavel Machek
Hi! > We can make use of serdev drivers to do simple device drivers for > TS 27.010 chanels, and we can handle vendor specific protocols on top > of TS 27.010 with serdev drivers. > > So far this has been tested with Motorola droid4 where there is a custom > packet numbering protocol on top of

[PATCH v4 07/18] static_call: Add inline static call infrastructure

2020-05-01 Thread Peter Zijlstra
From: Josh Poimboeuf Add infrastructure for an arch-specific CONFIG_HAVE_STATIC_CALL_INLINE option, which is a faster version of CONFIG_HAVE_STATIC_CALL. At runtime, the static call sites are patched directly, rather than using the out-of-line trampolines. Compared to out-of-line static calls,

[PATCH v4 15/18] static_call: Handle tail-calls

2020-05-01 Thread Peter Zijlstra
GCC can turn our static_call(name)(args...) into a tail call, in which case we get a JMP.d32 into the trampoline (which then does a further tail-call). Teach objtool to recognise and mark these in .static_call_sites and adjust the code patching to deal with this. Signed-off-by: Peter Zijlstra

Re: [PATCH] kunit: Kconfig: enable a KUNIT_RUN_ALL fragment

2020-05-01 Thread Brendan Higgins
On Fri, May 1, 2020 at 1:35 AM Anders Roxell wrote: > > Make it easier to enable all KUnit fragments. This is needed for kernel > test-systems, so its easy to get all KUnit tests enabled and if new gets > added they will be enabled as well. Fragments that has to be builtin > will be missed if

[PATCH v4 17/18] x86/perf, static_call: Optimize x86_pmu methods

2020-05-01 Thread Peter Zijlstra
Replace many of the indirect calls with static_call(). XXX run performance numbers Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/events/core.c | 140 +++-- 1 file changed, 100 insertions(+), 40 deletions(-) --- a/arch/x86/events/core.c +++

[PATCH v4 01/18] notifier: Fix broken error handling pattern

2020-05-01 Thread Peter Zijlstra
The current notifiers have the following error handling pattern all over the place: int err, nr; err = __foo_notifier_call_chain(, val_up, v, -1, ); if (err & NOTIFIER_STOP_MASK) __foo_notifier_call_chain(, val_down, v, nr-1, NULL) And aside from the

[PATCH v4 13/18] x86/alternatives: Teach text_poke_bp() to emulate RET

2020-05-01 Thread Peter Zijlstra
Future patches will need to poke a RET instruction, provide the infrastructure required for this. Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/include/asm/text-patching.h | 17 + arch/x86/kernel/alternative.c|5 + 2 files changed, 22 insertions(+) ---

[PATCH v4 00/18] Add static_call()

2020-05-01 Thread Peter Zijlstra
static_call(), is the idea of static_branch() applied to indirect function calls. Remove a data load (indirection) by modifying the text. The inline implementation still relies on objtool to generate the .static_call_sites section, mostly because this is a natural place for x86_64 and works for

[PATCH v4 12/18] tracepoint: Optimize using static_call()

2020-05-01 Thread Peter Zijlstra
From: "Steven Rostedt (VMware)" Currently the tracepoint site will iterate a vector and issue indirect calls to however many handlers are registered (ie. the vector is long). Using static_call() it is possible to optimize this for the common case of only having a single handler registered. In

[PATCH v4 05/18] compiler.h: Make __ADDRESSABLE() symbol truly unique

2020-05-01 Thread Peter Zijlstra
From: Josh Poimboeuf The __ADDRESSABLE() macro uses the __LINE__ macro to create a temporary symbol which has a unique name. However, if the macro is used multiple times from within another macro, the line number will always be the same, resulting in duplicate symbols. Make the temporary

[PATCH v4 18/18] objtool: Clean up elf_write() condition

2020-05-01 Thread Peter Zijlstra
With there being multiple ways to change the ELF data, let's more concisely track modification. Signed-off-by: Peter Zijlstra (Intel) --- tools/objtool/check.c |2 +- tools/objtool/elf.c |8 +++- tools/objtool/elf.h |3 ++- 3 files changed, 10 insertions(+), 3 deletions(-)

[PATCH v4 14/18] static_call: Add static_cond_call()

2020-05-01 Thread Peter Zijlstra
Extend the static_call infrastructure to optimize the following common pattern: if (func_ptr) func_ptr(args...) For the trampoline (which is in effect a tail-call), we patch the JMP.d32 into a RET, which then directly consumes the trampoline call. For the in-line sites

[PATCH v4 09/18] x86/static_call: Add out-of-line static call implementation

2020-05-01 Thread Peter Zijlstra
From: Josh Poimboeuf Add the x86 out-of-line static call implementation. For each key, a permanent trampoline is created which is the destination for all static calls for the given key. The trampoline has a direct jump which gets patched by static_call_update() when the destination function

[PATCH v4 04/18] jump_label,module: Fix module lifetime for __jump_label_mod_text_reserved

2020-05-01 Thread Peter Zijlstra
Nothing ensures the module exists while we're iterating mod->jump_entries in __jump_label_mod_text_reserved(), take a module reference to ensure the module sticks around. Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Steven Rostedt (VMware) --- kernel/jump_label.c | 10 -- 1

Re: [PATCH 09/15] udf: avoid gcc-10 zero-length-bounds warnings

2020-05-01 Thread Arnd Bergmann
On Thu, Apr 30, 2020 at 11:54 PM Pali Rohár wrote: > > On Thursday 30 April 2020 23:30:51 Arnd Bergmann wrote: > > gcc-10 warns about writes to the empty freeSpaceTable[] array, with > > many instances like: > > > > fs/udf/balloc.c: In function 'udf_bitmap_new_block': > > fs/udf/balloc.c:101:36:

Re: [PATCH v8 07/10] dt-bindings: display: add i.MX6 MIPI DSI host controller doc

2020-05-01 Thread Rob Herring
On Mon, Apr 27, 2020 at 11:19:49AM +0300, Adrian Ratiu wrote: > This provides an example DT binding for the MIPI DSI host controller > present on the i.MX6 SoC based on Synopsis DesignWare v1.01 IP. > > Cc: Rob Herring > Cc: Neil Armstrong > Cc: Fabio Estevam > Cc: Laurent Pinchart > Cc:

Re: [RFC PATCH v1] irqchip: Add IRQCHIP_MODULE_BEGIN/END helper macros

2020-05-01 Thread Saravana Kannan
On Fri, May 1, 2020 at 1:48 AM Marc Zyngier wrote: > > On 2020-04-29 20:04, Saravana Kannan wrote: > > On Wed, Apr 29, 2020 at 2:28 AM Marc Zyngier wrote: > > [...] > > >> One thing though: this seems to be exclusively DT driven. Have you > >> looked into how that would look like for other

[Patch include request] ARM: dts: imx6qdl-sr-som-ti: indicate powering off wifi is safe

2020-05-01 Thread Miguel Borges de Freitas
Dear all, This is a request to backport b7dc7205b2ae6b6c9d9cfc3e47d6f08da8647b10 (Arm: dts: imx6qdl-sr-som-ti: indicate powering off wifi is safe), already in Linus tree

Re: [PATCHv6 0/6] n_gsm serdev support and GNSS driver for droid4

2020-05-01 Thread Pavel Machek
Hi! > Now without the chardev support, the /dev/gsmtty* using apps need > to use "U1234AT+CFUN?" format for the packets. The advantage is > less kernel code, and we keep the existing /dev/gsmtty* interface. > > If we still really need the custom chardev support, that can now > be added as needed

[ANNOUNCE] 4.19.115-rt50

2020-05-01 Thread Tom Zanussi
Hello RT Folks! I'm pleased to announce the 4.19.115-rt50 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v4.19-rt Head SHA1: c117d44bd1278104a9783d8431b96b48515b5f47 Or to build 4.19.115-rt50

Re: [PATCHv6 0/6] n_gsm serdev support and GNSS driver for droid4

2020-05-01 Thread Pavel Machek
Hi! > My guess is that at least with the pending ofono patches, we just > want to use the raw interface for /dev/gsmtty* interface and stop > pretending we have a modem that is AT compatible. Ok, so I got ofono back to work. ... I believe. It was not that bad. SMS send/receive and outgoing call

Re: [PATCH] docs: kvm: Fix KVM_KVMCLOCK_CTRL API doc

2020-05-01 Thread Sean Christopherson
On Fri, May 01, 2020 at 03:34:06PM -0400, Joshua Abraham wrote: > The KVM_KVMCLOCK_CTRL ioctl signals to supported KVM guests > that the hypervisor has paused it. This updates the documentation > to reflect that the guest, not the host is notified by this API. No, the current documentation is

Re: [PATCH v2 0/2] Replace and improve "mcsafe" with copy_safe()

2020-05-01 Thread Dave Hansen
On 5/1/20 11:28 AM, Linus Torvalds wrote: > Plus on x86 you can't reasonably even have different code sequences > for that case, because CLAC/STAC don't have a "enable users read > accesses" vs "write accesses" case. It's an all-or-nothing "enable > user faults". > > We _used_ to have a

Re: [PATCH V2] ASoC: Intel: boards: Use FS as nau8825 sysclk in nau88125_* machine

2020-05-01 Thread Pierre-Louis Bossart
On 5/1/20 2:31 PM, Radoslaw Biernacki wrote: This single fix address two issues on machines with nau88125: 1) Audio distortion, due to lack of required clock rate on MCLK line 2) Loud audible "pops" on headphones if there is no sysclk during nau8825 playback power up sequence Explanation

Re: [PATCH] ASoC: dt-bindings: audio-graph-card: switch to yaml base Documentation

2020-05-01 Thread Rob Herring
On Tue, Apr 21, 2020 at 02:18:15PM +0900, Kuninori Morimoto wrote: > From: Kuninori Morimoto > > This patch switches from .txt base to .yaml base Document. > > Signed-off-by: Kuninori Morimoto > --- > .../bindings/sound/audio-graph-card.txt | 337 -- >

Re: [PATCH v2 2/3] mm/memory_hotplug: Introduce MHP_NO_FIRMWARE_MEMMAP

2020-05-01 Thread Dan Williams
On Fri, May 1, 2020 at 12:18 PM David Hildenbrand wrote: > > On 01.05.20 20:43, Dan Williams wrote: > > On Fri, May 1, 2020 at 11:14 AM David Hildenbrand wrote: > >> > >> On 01.05.20 20:03, Dan Williams wrote: > >>> On Fri, May 1, 2020 at 10:51 AM David Hildenbrand > >>> wrote: > >

Re: [PATCH 08/15] usb: ehci: avoid gcc-10 zero-length-bounds warning

2020-05-01 Thread Alan Stern
On Fri, 1 May 2020, Arnd Bergmann wrote: > On Fri, May 1, 2020 at 4:42 AM Alan Stern wrote: > > On Thu, 30 Apr 2020, Arnd Bergmann wrote: > > > > > No, they don't. > > > > /* PORTSC: offset 0x44 */ > > > - u32 port_status[0]; /* up to N_PORTS */ > > > + union { > > >

Re: [PATCH] ASoC: dt-bindings: ak4613: switch to yaml base Documentation

2020-05-01 Thread Rob Herring
On Tue, Apr 21, 2020 at 02:17:43PM +0900, Kuninori Morimoto wrote: > From: Kuninori Morimoto > > This patch switches from .txt base to .yaml base Document. > > Signed-off-by: Kuninori Morimoto > --- > .../devicetree/bindings/sound/ak4613.txt | 27 >

Re: [PATCH 08/15] usb: ehci: avoid gcc-10 zero-length-bounds warning

2020-05-01 Thread Arnd Bergmann
On Fri, May 1, 2020 at 4:42 AM Alan Stern wrote: > On Thu, 30 Apr 2020, Arnd Bergmann wrote: > > No, they don't. > > /* PORTSC: offset 0x44 */ > > - u32 port_status[0]; /* up to N_PORTS */ > > + union { > > + u32 port_status[9]; /* up to N_PORTS

Re: [PATCH 2/2] epoll: atomically remove wait entry on wake up

2020-05-01 Thread Jason Baron
On 4/30/20 9:03 AM, Roman Penyaev wrote: > This patch does two things: > > 1. fixes lost wakeup introduced by: > 339ddb53d373 ("fs/epoll: remove unnecessary wakeups of nested epoll") > > 2. improves performance for events delivery. > > The description of the problem is the following: if N

[GIT PULL] Ressurect the atomisp staging driver

2020-05-01 Thread Mauro Carvalho Chehab
This driver is simply too big for it to be sent to the ML via e-mails. Those will very likely be rejected due to the e-mail sizes. So, instead, I'm sending a "GIT PULL" to myself, at the ML. This series basically "resurrect" this driver from the death, giving it a second chance to survive. I

Re: [PATCH] bpf: Tweak BPF jump table optimizations for objtool compatibility

2020-05-01 Thread Josh Poimboeuf
On Fri, May 01, 2020 at 12:40:53PM -0700, Alexei Starovoitov wrote: > On Fri, May 01, 2020 at 02:22:04PM -0500, Josh Poimboeuf wrote: > > On Fri, May 01, 2020 at 12:09:30PM -0700, Alexei Starovoitov wrote: > > > On Thu, Apr 30, 2020 at 02:07:43PM -0500, Josh Poimboeuf wrote: > > > > Objtool

Re: Remaining randconfig objtool warnings, linux-next-20200428

2020-05-01 Thread Arnd Bergmann
On Fri, May 1, 2020 at 7:50 PM Josh Poimboeuf wrote: > > On Fri, May 01, 2020 at 07:26:16PM +0200, Peter Zijlstra wrote: > > On Fri, May 01, 2020 at 07:21:31PM +0200, Arnd Bergmann wrote: > > > On Thu, Apr 30, 2020 at 4:05 PM Arnd Bergmann wrote: > > > it gets into undefined behavior and stops

Re: [PATCH 06/13] arm: dts: s5pv210: aries: Add support for more devices

2020-05-01 Thread Jonathan Bakker
Hi Krzysztof, On 2020-05-01 6:31 a.m., Krzysztof Kozlowski wrote: >> >> Well, it may not be in the bindings, but the driver definitely requires it >> :) See drivers/mfd/wm8994-core.c >> >> What's the best way of dealing with this situation? > > I'll send a patch fixing the bindings. However

[PATCH v3] drm/msm: Check for powered down HW in the devfreq callbacks

2020-05-01 Thread Jordan Crouse
Writing to the devfreq sysfs nodes while the GPU is powered down can result in a system crash (on a5xx) or a nasty GMU error (on a6xx): $ /sys/class/devfreq/500.gpu# echo 5 > min_freq [ 104.841625] platform 506a000.gmu: [drm:a6xx_gmu_set_oob] *ERROR* Timeout waiting for

Re: [PATCH] bpf: Tweak BPF jump table optimizations for objtool compatibility

2020-05-01 Thread Alexei Starovoitov
On Fri, May 01, 2020 at 02:22:04PM -0500, Josh Poimboeuf wrote: > On Fri, May 01, 2020 at 12:09:30PM -0700, Alexei Starovoitov wrote: > > On Thu, Apr 30, 2020 at 02:07:43PM -0500, Josh Poimboeuf wrote: > > > Objtool decodes instructions and follows all potential code branches > > > within a

[PATCH] docs: kvm: Fix KVM_KVMCLOCK_CTRL API doc

2020-05-01 Thread Joshua Abraham
The KVM_KVMCLOCK_CTRL ioctl signals to supported KVM guests that the hypervisor has paused it. This updates the documentation to reflect that the guest, not the host is notified by this API. Signed-off-by: Joshua Abraham --- Documentation/virt/kvm/api.rst | 2 +- 1 file changed, 1

Re: [PATCH v4 04/10] loop: Refactor loop_set_status() size calculation

2020-05-01 Thread Martijn Coenen
On Fri, May 1, 2020 at 7:30 PM Christoph Hellwig wrote: > > For some reason this fails to apply for me against both > Jens' for-5.8/block and Linus' current tree. > > What is the baseline for this series? This was based on Linus' tree from a week or two ago or so, but I think you're most likely

Re: [PATCH 00/37]net: manually convert files to ReST format - part 3 (final)

2020-05-01 Thread David Miller
From: Mauro Carvalho Chehab Date: Fri, 1 May 2020 16:44:22 +0200 > That's the third part (and the final one) of my work to convert the networking > text files into ReST. it is based on linux-next next-20200430 branch. > > The full series (including those ones) are at: > >

[PATCH V2] ASoC: Intel: boards: Use FS as nau8825 sysclk in nau88125_* machine

2020-05-01 Thread Radoslaw Biernacki
This single fix address two issues on machines with nau88125: 1) Audio distortion, due to lack of required clock rate on MCLK line 2) Loud audible "pops" on headphones if there is no sysclk during nau8825 playback power up sequence Explanation for: 1) Due to Skylake HW limitation, MCLK pin can

[GIT PULL] arm64 fixes for 5.7-rc4

2020-05-01 Thread Catalin Marinas
Hi Linus, Please pull the arm64 fix below. Thanks. The following changes since commit 6a8b55ed4056ea5559ebe4f6a4b247f627870d4c: Linux 5.7-rc3 (2020-04-26 13:51:02 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux tags/arm64-fixes for

Re: [PATCH v2] drm/msm: Check for powered down HW in the devfreq callbacks

2020-05-01 Thread Eric Anholt
On Fri, May 1, 2020 at 12:03 PM Jordan Crouse wrote: > > Writing to the devfreq sysfs nodes while the GPU is powered down can > result in a system crash (on a5xx) or a nasty GMU error (on a6xx): > > $ /sys/class/devfreq/500.gpu# echo 5 > min_freq > [ 104.841625] platform

Re: [PATCH 2/2] exec: open code copy_string_kernel

2020-05-01 Thread Christoph Hellwig
On Fri, May 01, 2020 at 01:50:49PM +0100, Al Viro wrote: > On Fri, May 01, 2020 at 12:41:05PM +0200, Christoph Hellwig wrote: > > Currently copy_string_kernel is just a wrapper around copy_strings that > > simplifies the calling conventions and uses set_fs to allow passing a > > kernel pointer.

Re: [PATCH] bpf: Tweak BPF jump table optimizations for objtool compatibility

2020-05-01 Thread Josh Poimboeuf
On Fri, May 01, 2020 at 12:09:30PM -0700, Alexei Starovoitov wrote: > On Thu, Apr 30, 2020 at 02:07:43PM -0500, Josh Poimboeuf wrote: > > Objtool decodes instructions and follows all potential code branches > > within a function. But it's not an emulator, so it doesn't track > > register values.

Re: [PATCH 0/4] allow multiple kthreadd's

2020-05-01 Thread J. Bruce Fields
On Fri, May 01, 2020 at 07:05:46PM +, Trond Myklebust wrote: > On Fri, 2020-05-01 at 14:49 -0400, J. Bruce Fields wrote: > > On Fri, May 01, 2020 at 02:21:54PM -0400, Tejun Heo wrote: > > > Hello, > > > > > > On Fri, May 01, 2020 at 10:59:24AM -0700, Linus Torvalds wrote: > > > > Which kind

[PATCH] epoll: ensure ep_poll() doesn't miss wakeup events

2020-05-01 Thread Jason Baron
Now that the ep_events_available() check is done in a lockless way, and we no longer perform wakeups from ep_scan_ready_list(), we need to ensure that either ep->rdllist has items or the overflow list is active. Prior to: commit 339ddb53d373 ("fs/epoll: remove unnecessary wakeups of nested

Re: [PATCH 0/4] allow multiple kthreadd's

2020-05-01 Thread t...@kernel.org
Hello, On Fri, May 01, 2020 at 07:05:46PM +, Trond Myklebust wrote: > Wen running an instance of knfsd from inside a container, you want to > be able to have the knfsd kthreads be parented to the container init > process so that they get killed off when the container is killed. > > Right

Re: [PATCH v2 2/3] mm/memory_hotplug: Introduce MHP_NO_FIRMWARE_MEMMAP

2020-05-01 Thread David Hildenbrand
On 01.05.20 20:43, Dan Williams wrote: > On Fri, May 1, 2020 at 11:14 AM David Hildenbrand wrote: >> >> On 01.05.20 20:03, Dan Williams wrote: >>> On Fri, May 1, 2020 at 10:51 AM David Hildenbrand wrote: On 01.05.20 19:45, David Hildenbrand wrote: > On 01.05.20 19:39, Dan Williams

[PATCH v4] eventfd: convert to f_op->read_iter()

2020-05-01 Thread Jens Axboe
eventfd is using ->read() as it's file_operations read handler, but this prevents passing in information about whether a given IO operation is blocking or not. We can only use the file flags for that. To support async (-EAGAIN/poll based) retries for io_uring, we need ->read_iter() support.

Re: [PATCH] bpf: Tweak BPF jump table optimizations for objtool compatibility

2020-05-01 Thread Alexei Starovoitov
On Thu, Apr 30, 2020 at 02:07:43PM -0500, Josh Poimboeuf wrote: > Objtool decodes instructions and follows all potential code branches > within a function. But it's not an emulator, so it doesn't track > register values. For that reason, it usually can't follow > intra-function indirect

Re: [PATCH v3b] eventfd: convert to f_op->read_iter()

2020-05-01 Thread Jens Axboe
On 5/1/20 1:00 PM, Al Viro wrote: > On Fri, May 01, 2020 at 11:54:01AM -0600, Jens Axboe wrote: > >> @@ -427,8 +424,17 @@ static int do_eventfd(unsigned int count, int flags) >> >> fd = anon_inode_getfd("[eventfd]", _fops, ctx, >>O_RDWR | (flags &

Re: [PATCH 0/4] allow multiple kthreadd's

2020-05-01 Thread Trond Myklebust
On Fri, 2020-05-01 at 14:49 -0400, J. Bruce Fields wrote: > On Fri, May 01, 2020 at 02:21:54PM -0400, Tejun Heo wrote: > > Hello, > > > > On Fri, May 01, 2020 at 10:59:24AM -0700, Linus Torvalds wrote: > > > Which kind of makes me want to point a finger at Tejun. But it's > > > been > > > mostly

Re: [PATCH 03/24] rcu/tree: Use consistent style for comments

2020-05-01 Thread Paul E. McKenney
On Tue, Apr 28, 2020 at 10:58:42PM +0200, Uladzislau Rezki (Sony) wrote: > From: "Joel Fernandes (Google)" > > Simple clean up of comments in kfree_rcu() code to keep it consistent > with majority of commenting styles. > > Reviewed-by: Uladzislau Rezki > Signed-off-by: Joel Fernandes (Google)

Re: [PATCH v2 0/5] Fix ELF / FDPIC ELF core dumping, and use mmap_sem properly in there

2020-05-01 Thread Rob Landley
On 5/1/20 1:00 AM, Greg Ungerer wrote: >> This sounds correct. My understanding of FLAT shared library support >> is that it's really bad and based on having preassigned slot indices >> for each library on the system, and a global array per-process to give >> to data base address for each library.

[PATCH v2] drm/msm: Check for powered down HW in the devfreq callbacks

2020-05-01 Thread Jordan Crouse
Writing to the devfreq sysfs nodes while the GPU is powered down can result in a system crash (on a5xx) or a nasty GMU error (on a6xx): $ /sys/class/devfreq/500.gpu# echo 5 > min_freq [ 104.841625] platform 506a000.gmu: [drm:a6xx_gmu_set_oob] *ERROR* Timeout waiting for

Re: [PATCH 0/4] allow multiple kthreadd's

2020-05-01 Thread J. Bruce Fields
On Fri, May 01, 2020 at 11:30:38AM -0700, Linus Torvalds wrote: > On Fri, May 1, 2020 at 11:22 AM Tejun Heo wrote: > > > > Looks fine to me too. I don't quite understand the usecase tho. It looks > > like all it's being used for is to tag some kthreads as belonging to the > > same group. Can't

Re: [RFC][PATCH 3/4] dma-buf: cma_heap: Extend logic to export CMA regions tagged with "linux,cma-heap"

2020-05-01 Thread John Stultz
On Fri, May 1, 2020 at 4:08 AM Robin Murphy wrote: > > On 2020-05-01 11:21 am, Brian Starkey wrote: > > Hi John, > > > > On Fri, May 01, 2020 at 07:39:48AM +, John Stultz wrote: > >> This patch reworks the cma_heap initialization so that > >> we expose both the default CMA region and any CMA

Re: [PATCH v3b] eventfd: convert to f_op->read_iter()

2020-05-01 Thread Al Viro
On Fri, May 01, 2020 at 11:54:01AM -0600, Jens Axboe wrote: > @@ -427,8 +424,17 @@ static int do_eventfd(unsigned int count, int flags) > > fd = anon_inode_getfd("[eventfd]", _fops, ctx, > O_RDWR | (flags & EFD_SHARED_FCNTL_FLAGS)); > - if (fd < 0) > +

Re: [PATCH] drm/msm: Check for powered down HW in the devfreq callbacks

2020-05-01 Thread Eric Anholt
On Fri, May 1, 2020 at 11:26 AM Jordan Crouse wrote: > > Writing to the devfreq sysfs nodes while the GPU is powered down can > result in a system crash (on a5xx) or a nasty GMU error (on a6xx): > > $ /sys/class/devfreq/500.gpu# echo 5 > min_freq > [ 104.841625] platform

[PATCH] drm/amdkfd: Remove logically dead code in kfd_procfs_show

2020-05-01 Thread Gustavo A. R. Silva
container_of is never null, so the null check on pdd is unnecessary. If the null check is removed, function kfd_procfs_show() will always return before reaching "return 0", hence such return is logically dead. So, remove it, as well. Addresses-Coverity-ID: 1492793 ("Logically dead code") Fixes:

Re: [PATCH] mmc/core: Avoid oops in mmc_sd_runtime_resume()

2020-05-01 Thread Markus Elfring
Please send a patch with a corrected commit message. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?id=052c467cb58748e302a95546925928e637025acc#n102 1. The patch subject was not succinct. 2. The change description was missing.

Re: [PATCH 0/4] allow multiple kthreadd's

2020-05-01 Thread J. Bruce Fields
On Fri, May 01, 2020 at 02:21:54PM -0400, Tejun Heo wrote: > Hello, > > On Fri, May 01, 2020 at 10:59:24AM -0700, Linus Torvalds wrote: > > Which kind of makes me want to point a finger at Tejun. But it's been > > mostly PeterZ touching this file lately.. > > Looks fine to me too. I don't quite

Re: [PATCH] lan743x: Added fixed_phy support / Question regarding proper devicetree

2020-05-01 Thread Andrew Lunn
On Fri, May 01, 2020 at 08:09:05PM +0200, Roelof Berg wrote: > Working status: I added fixed_phy support to the Microchip lan743x ethernet > driver and for upstream contribution I need to make it runtime configurable > via > the device tree. > > Question: > > There are, amongst other, the

Re: [PATCH v2 2/3] mm/memory_hotplug: Introduce MHP_NO_FIRMWARE_MEMMAP

2020-05-01 Thread Dan Williams
On Fri, May 1, 2020 at 11:14 AM David Hildenbrand wrote: > > On 01.05.20 20:03, Dan Williams wrote: > > On Fri, May 1, 2020 at 10:51 AM David Hildenbrand wrote: > >> > >> On 01.05.20 19:45, David Hildenbrand wrote: > >>> On 01.05.20 19:39, Dan Williams wrote: > On Fri, May 1, 2020 at 10:21

Re: MSI interrupt for xhci still lost on 5.6-rc6 after cpu hotplug

2020-05-01 Thread Raj, Ashok
Hi Thomas Just started looking into it to get some idea about what could be going on. I had some questions, that would be helpful to clarify. On Tue, Mar 24, 2020 at 08:03:44PM +0100, Thomas Gleixner wrote: > Evan Green writes: > > On Mon, Mar 23, 2020 at 5:24 PM Thomas Gleixner wrote: > >>

Re: [RFC][PATCH 2/4] mm: cma: Add dma_heap flag to cma structure

2020-05-01 Thread John Stultz
On Fri, May 1, 2020 at 3:48 AM Brian Starkey wrote: > On Fri, May 01, 2020 at 07:39:47AM +, John Stultz wrote: > > +bool cma_dma_heap_enabled(struct cma *cma) > > +{ > > + return !!cma->dma_heap; > > Stylistic thing, but I don't think the !! is really necessary. It's > already a bool

Re: [RFC][PATCH 1/4] devicetree: bindings: Add linux,cma-heap tag for reserved memory

2020-05-01 Thread John Stultz
On Fri, May 1, 2020 at 3:42 AM Brian Starkey wrote: > > Hi, > > On Fri, May 01, 2020 at 07:39:46AM +, John Stultz wrote: > > This patch adds a linux,cma-heap property for CMA reserved memory > > regions, which will be used to allow the region to be exposed via > > the DMA-BUF Heaps interface

Re: [PATCH] net: dsa: sja1105: fix speed setting for 10 MBPS

2020-05-01 Thread Russell King - ARM Linux admin
On Fri, May 01, 2020 at 06:00:52PM +, Walter Harms wrote: > IMHO it would be better to use switch case here to improve readability. > > switch (bmcr & mask) { > > case BMCR_SPEED1000: > speed = SPEED_1000; > break; > case

Re: [git pull] drm fixes for 5.7-rc4

2020-05-01 Thread pr-tracker-bot
The pull request you sent on Fri, 1 May 2020 12:59:10 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2020-05-01 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/477bfeb9a3d712b6e1aeb4e37607faebf4b7f6d4 Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] SCSI fixes for 5.7-rc3

2020-05-01 Thread pr-tracker-bot
The pull request you sent on Thu, 30 Apr 2020 19:15:35 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/cebcff3a1c42d9ddd29175ad3669245f4573938b Thank you! -- Deet-doot-dot, I am a bot.

Re: [PULL REQUEST] i2c for v5.7

2020-05-01 Thread pr-tracker-bot
The pull request you sent on Fri, 1 May 2020 16:50:18 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git > i2c/for-current-fixed has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/ab386c46e44eae70e2c23f27fea70014758cbbac Thank you! -- Deet-doot-dot,

Re: [GIT PULL] sound fixes for 5.6-rc4

2020-05-01 Thread pr-tracker-bot
The pull request you sent on Fri, 01 May 2020 12:25:20 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git > tags/sound-5.7-rc4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/c536419022fe3f363ca0c84848dacb3ef3b1f031 Thank you! -- Deet-doot-dot,

Re: [PATCH v3 0/4] floppy: suppress UBSAN warning in setup_rw_floppy()

2020-05-01 Thread Joe Perches
On Fri, 2020-05-01 at 21:22 +0300, Denis Efremov wrote: > On 5/1/20 9:02 PM, Joe Perches wrote: > > On Fri, 2020-05-01 at 16:44 +0300, Denis Efremov wrote: > > > These patches are based on Willy's cleanup patches > > > https://lkml.org/lkml/2020/3/31/609. > > > > Maybe add pr_fmt and clean up a

Re: [PATCH 0/4] allow multiple kthreadd's

2020-05-01 Thread Linus Torvalds
On Fri, May 1, 2020 at 11:22 AM Tejun Heo wrote: > > Looks fine to me too. I don't quite understand the usecase tho. It looks > like all it's being used for is to tag some kthreads as belonging to the > same group. Can't that be done with kthread_data()? I _think_ Bruce wants the signal handling

Re: [PATCH v2 0/2] Replace and improve "mcsafe" with copy_safe()

2020-05-01 Thread Linus Torvalds
On Thu, Apr 30, 2020 at 6:21 PM Dan Williams wrote: > > However now I see that copy_user_generic() works for the wrong reason. > It works because the exception on the source address due to poison > looks no different than a write fault on the user address to the > caller, it's still just a short

Re: [PATCH] staging: wilc1000: Increase the size of wid_list array

2020-05-01 Thread Ajay.Kathat
On 01/05/20 10:32 pm, Oscar Carter wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Increase by one the size of wid_list array as index variable can reach a > value of 5. If this happens, an out-of-bounds access is performed. > >

[PATCH] drm/msm: Check for powered down HW in the devfreq callbacks

2020-05-01 Thread Jordan Crouse
Writing to the devfreq sysfs nodes while the GPU is powered down can result in a system crash (on a5xx) or a nasty GMU error (on a6xx): $ /sys/class/devfreq/500.gpu# echo 5 > min_freq [ 104.841625] platform 506a000.gmu: [drm:a6xx_gmu_set_oob] *ERROR* Timeout waiting for

[tip: sched/core] sched/fair: Use __this_cpu_read() in wake_wide()

2020-05-01 Thread tip-bot2 for Muchun Song
The following commit has been merged into the sched/core branch of tip: Commit-ID: 17c891ab349138e8d8a59ca2700f42ce8af96f4e Gitweb: https://git.kernel.org/tip/17c891ab349138e8d8a59ca2700f42ce8af96f4e Author:Muchun Song AuthorDate:Tue, 21 Apr 2020 22:41:23 +08:00

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