[PATCH RESEND v8 0/2] ACPI / APEI: Add support to notify the vendor specific HW errors

2020-05-29 Thread Shiju Jose
Presently the vendor drivers are unable to do the recovery for the vendor specific recoverable HW errors because APEI driver does not support reporting the error to the vendor drivers. patch set 1. add new interface to the APEI driver for reporting the vendor specific non-fatal HW errors to

[PATCH RESEND v8 2/2] PCI: hip: Add handling of HiSilicon HIP PCIe controller errors

2020-05-29 Thread Shiju Jose
From: Yicong Yang The HiSilicon HIP PCIe controller is capable of handling errors on root port and perform port reset separately at each root port. This patch add error handling driver for HIP PCIe controller to log and report recoverable errors. Perform root port reset and restore link status

[PATCH RESEND v8 1/2] ACPI / APEI: Add support to notify the vendor specific HW errors

2020-05-29 Thread Shiju Jose
Add support to report the vendor specific non-fatal HW errors to the drivers for the error recovery. Signed-off-by: Shiju Jose --- drivers/acpi/apei/ghes.c | 130 ++- include/acpi/ghes.h | 28 + 2 files changed, 157 insertions(+), 1 deletion(-)

Re: mmotm 2020-05-13-20-30 uploaded (objtool warnings)

2020-05-29 Thread Al Viro
On Fri, May 29, 2020 at 12:31:04PM -0700, Linus Torvalds wrote: > On Fri, May 29, 2020 at 9:50 AM Josh Poimboeuf wrote: > > > > From staring at the asm I think the generated code is correct, it's just > > that the nested likelys with ftrace profiling cause GCC to converge the > > error/success

Re: [PATCH v2 3/3] selftests/seccomp: Test SECCOMP_IOCTL_NOTIF_ADDFD

2020-05-29 Thread Kees Cook
On Fri, May 29, 2020 at 06:46:07PM +, Sargun Dhillon wrote: > On Fri, May 29, 2020 at 12:41:51AM -0700, Kees Cook wrote: > > On Thu, May 28, 2020 at 04:08:58AM -0700, Sargun Dhillon wrote: > > > + EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_SEND, ), 0); > > > + > > > + nextid = req.id + 1; >

Re: [PATCH 3/3] power: supply: max17040: Set rcomp value

2020-05-29 Thread Jonathan Bakker
Hi Sebastian, I'm sorry, I messed up my rebase on top of the low battery alert and it somehow slipped through my pre-submit checklist. Before resubmitting, do you want the rcomp changed in any manner (where the datasheet doesn't specify if its the full 16 bits or only 8 bites for max17040 but

Re: Lost PCIe PME after a914ff2d78ce ("PCI/ASPM: Don't select CONFIG_PCIEASPM by default")

2020-05-29 Thread Heiner Kallweit
On 29.05.2020 21:40, Heiner Kallweit wrote: > On 29.05.2020 21:21, Bjorn Helgaas wrote: >> [+cc Rafael, linux-kernel] >> >> On Fri, May 29, 2020 at 08:50:46PM +0200, Heiner Kallweit wrote: >>> On 28.05.2020 23:44, Heiner Kallweit wrote: For whatever reason with this change (and losing ASPM

Re: Some -serious- BPF-related litmus tests

2020-05-29 Thread Andrii Nakryiko
On Fri, May 29, 2020 at 10:23 AM Joel Fernandes wrote: > > On Thu, May 28, 2020 at 09:38:35PM -0700, Andrii Nakryiko wrote: > > On Thu, May 28, 2020 at 2:48 PM Joel Fernandes > > wrote: > > > > > > On Mon, May 25, 2020 at 11:38:23AM -0700, Andrii Nakryiko wrote: > > > > On Mon, May 25, 2020 at

Re: [PATCH 1/4] lkdtm: Avoid more compiler optimizations for bad writes

2020-05-29 Thread Nick Desaulniers
On Fri, May 29, 2020 at 1:03 PM Kees Cook wrote: > > It seems at least Clang is able to throw away writes it knows are > destined for read-only memory, which makes things like the WRITE_RO test > fail, as the write gets elided. Instead, force the variable to be Heh, yep. I recall the exact

Re: remove kernel_setsockopt v4

2020-05-29 Thread David Miller
From: Christoph Hellwig Date: Fri, 29 May 2020 14:09:39 +0200 > now that only the dlm calls to sctp are left for kernel_setsockopt, > while we haven't really made much progress with the sctp setsockopt > refactoring, how about this small series that splits out a > sctp_setsockopt_bindx_kernel

[PATCH] iommu/amd: Fix event counter availability check

2020-05-29 Thread Alexander Monakov
The driver performs an extra check if the IOMMU's capabilities advertise presence of performance counters: it verifies that counters are writable by writing a hard-coded value to a counter and testing that reading that counter gives back the same value. Unfortunately it does so quite early, even

[PATCH] flow_dissector: work around stack frame size warning

2020-05-29 Thread Arnd Bergmann
The fl_flow_key structure is around 500 bytes, so having two of them on the stack in one function now exceeds the warning limit after an otherwise correct change: net/sched/cls_flower.c:298:12: error: stack frame size of 1056 bytes in function 'fl_classify' [-Werror,-Wframe-larger-than=] I

Re: [PATCH] HID: usbhid: do not sleep when opening device

2020-05-29 Thread Guenter Roeck
On Fri, May 29, 2020 at 12:59:51PM -0700, Dmitry Torokhov wrote: > usbhid tries to give the device 50 milliseconds to drain its queues > when opening the device, but does it naively by simply sleeping in open > handler, which slows down device probing (and thus may affect overall > boot time). >

Re: [PATCH v2 1/3] seccomp: Add find_notification helper

2020-05-29 Thread Kees Cook
On Fri, May 29, 2020 at 05:40:38PM +, Sargun Dhillon wrote: > > > > While the comment is good, let's actually enforce this with: > > > > if (WARN_ON(!mutex_is_locked(>notif_lock))) > > return NULL; > > > I don't see much use of lockdep in seccomp (well, any), but > wouldn't a stronger

Re: mmotm 2020-05-13-20-30 uploaded (objtool warnings)

2020-05-29 Thread Al Viro
On Fri, May 29, 2020 at 09:08:56PM +0100, Al Viro wrote: > On Fri, May 29, 2020 at 12:31:04PM -0700, Linus Torvalds wrote: > > On Fri, May 29, 2020 at 9:50 AM Josh Poimboeuf wrote: > > > > > > From staring at the asm I think the generated code is correct, it's just > > > that the nested likelys

[PATCH] block: add 'struct gendisk' declaration

2020-05-29 Thread Arnd Bergmann
The added disk_start_io_acct() function declaration causes a warning when CONFIG_BLOCK is disabled: include/linux/blkdev.h:1895:41: error: declaration of 'struct gendisk' will not be visible outside of this function [-Werror,-Wvisibility] Declare the struct tag before the function to suppress

[PATCH] drm/selftests/mm: reduce per-function stack usage

2020-05-29 Thread Arnd Bergmann
The check_reserve_boundaries() function has a large array on the stack, over 500 bytes. It gets inlined into __igt_reserve, which has multiple other large structures as well but stayed just under the stack size warning limit of 1024 bytes until one more member got added to struct drm_mm_node,

[PATCH] refperf: work around 64-bit division

2020-05-29 Thread Arnd Bergmann
A 64-bit division was introduced in refperf, breaking compilation on all 32-bit architectures: kernel/rcu/refperf.o: in function `main_func': refperf.c:(.text+0x57c): undefined reference to `__aeabi_uldivmod' Work it by using div_u64 to mark the expensive operation. Fixes: bd5b16d6c88d

[PATCH] ARM: omap2: fix omap5_realtime_timer_init definition

2020-05-29 Thread Arnd Bergmann
There is one more regression introduced by the last build fix: arch/arm/mach-omap2/timer.c:170:6: error: attribute declaration must precede definition [-Werror,-Wignored-attributes] void __init omap5_realtime_timer_init(void) ^ arch/arm/mach-omap2/common.h:118:20: note: previous definition

[PATCH] opp: avoid uninitialized-variable use

2020-05-29 Thread Arnd Bergmann
An uninitialized pointer is passed into another function but ignored there: drivers/opp/core.c:875:32: error: variable 'opp' is uninitialized when used here [-Werror,-Wuninitialized] ret = _set_opp_bw(opp_table, opp, dev, true); ^~~

Re: [PATCH linux-rcu] docs/litmus-tests: add BPF ringbuf MPSC litmus tests

2020-05-29 Thread Andrii Nakryiko
On Fri, May 29, 2020 at 10:34 AM Joel Fernandes wrote: > > Hi Andrii, > > On Thu, May 28, 2020 at 10:50:30PM -0700, Andrii Nakryiko wrote: > > > [...] > > > > diff --git > > > > a/Documentation/litmus-tests/bpf-rb/bpf-rb+1p1c+bounded.litmus > > > >

Re: [PATCH 1/2] perf build: Group the NO_SYSCALL_TABLE logic

2020-05-29 Thread Arnaldo Carvalho de Melo
Em Fri, May 29, 2020 at 12:55:51PM -0300, Arnaldo Carvalho de Melo escreveu: > From: Arnaldo Carvalho de Melo > > To help in allowing to disable it from the make command line. > > Cc: Adrian Hunter > Cc: Jiri Olsa > Cc: Namhyung Kim > Signed-off-by: Arnaldo Carvalho de Melo > --- >

Re: [PATCH v6 08/12] mmap locking API: add MMAP_LOCK_INITIALIZER

2020-05-29 Thread Daniel Jordan
On Tue, May 19, 2020 at 10:29:04PM -0700, Michel Lespinasse wrote: > Define a new initializer for the mmap locking api. > Initially this just evaluates to __RWSEM_INITIALIZER as the API > is defined as wrappers around rwsem. > > Signed-off-by: Michel Lespinasse > Reviewed-by: Laurent Dufour >

Re: Lost PCIe PME after a914ff2d78ce ("PCI/ASPM: Don't select CONFIG_PCIEASPM by default")

2020-05-29 Thread Bjorn Helgaas
[+cc Matthew] On Fri, May 29, 2020 at 10:09:08PM +0200, Heiner Kallweit wrote: > On 29.05.2020 21:40, Heiner Kallweit wrote: > > On 29.05.2020 21:21, Bjorn Helgaas wrote: > >> On Fri, May 29, 2020 at 08:50:46PM +0200, Heiner Kallweit wrote: > >>> On 28.05.2020 23:44, Heiner Kallweit wrote: >

Re: [PATCH 3/4] selftests/lkdtm: Reset WARN_ONCE to avoid false negatives

2020-05-29 Thread Shuah Khan
On 5/29/20 2:03 PM, Kees Cook wrote: Since we expect to see warnings every time for many tests, just reset the WARN_ONCE flags each time the script runs. Signed-off-by: Kees Cook --- tools/testing/selftests/lkdtm/run.sh | 6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [PATCH 1/9] staging: media: atomisp: fix incorrect NULL pointer check

2020-05-29 Thread Arnd Bergmann
On Fri, May 29, 2020 at 10:04 PM 'Nick Desaulniers' via Clang Built Linux wrote: > > See also Nathan's 7 patch series. > https://lore.kernel.org/lkml/20200527071150.3381228-1-natechancel...@gmail.com/ > > Might be some overlap between series? > Probably. I really should have checked when I saw

Re: [PATCH v2] blkdev: Replace blksize_bits() with ilog2()

2020-05-29 Thread Matthew Wilcox
On Fri, May 29, 2020 at 10:11:00PM +0800, Kaitao Cheng wrote: > There is a function named ilog2() exist which can replace blksize. > The generated code will be shorter and more efficient on some > architecture, such as arm64. And ilog2() can be optimized according > to different architecture.

Re: [PATCH] staging: gasket: Convert get_user_pages*() --> pin_user_pages*()

2020-05-29 Thread John Hubbard
On 2020-05-29 04:53, Dan Carpenter wrote: ... What are the runtime implications of this patch? I'm still not clear on that honestly. Instead of incrementing each page's refcount by 1 (with get_user_pages()), pin_user_pages*() will increment by GUP_PIN_COUNTING_BIAS, which is 1024. That by

Re: linux-next: Tree for May 29 (objtool warnings)

2020-05-29 Thread Josh Poimboeuf
On Fri, May 29, 2020 at 12:43:59PM -0700, Randy Dunlap wrote: > On 5/29/20 4:56 AM, Stephen Rothwell wrote: > > Hi all, > > > > News: there will be no linux-next release on Monday. > > > > Changes since 20200528: > > > > > on x86_64: > > crypto/drbg.o: warning: objtool:

Re: [PATCH 1/9] staging: media: atomisp: fix incorrect NULL pointer check

2020-05-29 Thread Arnd Bergmann
On Fri, May 29, 2020 at 10:23 PM Arnd Bergmann wrote: > > On Fri, May 29, 2020 at 10:04 PM 'Nick Desaulniers' via Clang Built > Linux wrote: > > > > See also Nathan's 7 patch series. > > https://lore.kernel.org/lkml/20200527071150.3381228-1-natechancel...@gmail.com/ > > > > Might be some overlap

Re: [PATCH 3/3] hwrng: ba431-rng: add support for BA431 hwrng

2020-05-29 Thread Olivier Sobrie
On Fri, May 29, 2020 at 11:12:31AM -0600, Rob Herring wrote: > On Mon, May 25, 2020 at 10:28:46PM +0200, Arnd Bergmann wrote: > > On Mon, May 25, 2020 at 10:07 PM Olivier Sobrie > > wrote: > > > > > > Silex insight BA431 is an IP designed to generate random numbers that > > > can be integrated in

Re: [PATCH] HID: usbhid: do not sleep when opening device

2020-05-29 Thread Dmitry Torokhov
On Fri, May 29, 2020 at 01:14:24PM -0700, Guenter Roeck wrote: > On Fri, May 29, 2020 at 12:59:51PM -0700, Dmitry Torokhov wrote: > > usbhid tries to give the device 50 milliseconds to drain its queues > > when opening the device, but does it naively by simply sleeping in open > > handler, which

Re: [PATCH 2/2] perf build: Allow explicitely disabling the NO_SYSCALL_TABLE variable

2020-05-29 Thread Jiri Olsa
On Fri, May 29, 2020 at 04:45:15PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, May 29, 2020 at 08:07:17PM +0200, Jiri Olsa escreveu: > > On Fri, May 29, 2020 at 12:55:52PM -0300, Arnaldo Carvalho de Melo wrote: > > > From: Arnaldo Carvalho de Melo > > > > > > This is useful to see if, on

Re: [PATCH v6 09/12] mmap locking API: add mmap_assert_locked() and mmap_assert_write_locked()

2020-05-29 Thread Daniel Jordan
On Tue, May 19, 2020 at 10:29:05PM -0700, Michel Lespinasse wrote: > Add new APIs to assert that mmap_sem is held. > > Using this instead of rwsem_is_locked and lockdep_assert_held[_write] > makes the assertions more tolerant of future changes to the lock type. > > Signed-off-by: Michel

Re: [PATCH v2] selftests/ftrace: Use printf instead of echo in kprobe syntax error tests

2020-05-29 Thread Seth Forshee
On Wed, Mar 04, 2020 at 04:20:09PM -0600, Seth Forshee wrote: > Test cases which use echo to write strings containing backslashes > fail with some shells, as echo's treatment of backslashes in > strings varies between shell implementations. Use printf instead, > as it should behave consistently

Re: [PATCH v6 10/12] mmap locking API: rename mmap_sem to mmap_lock

2020-05-29 Thread Daniel Jordan
On Tue, May 19, 2020 at 10:29:06PM -0700, Michel Lespinasse wrote: > Rename the mmap_sem field to mmap_lock. Any new uses of this lock > should now go through the new mmap locking api. The mmap_lock is > still implemented as a rwsem, though this could change in the future. > > Signed-off-by:

Re: [PATCH] drm/selftests/mm: reduce per-function stack usage

2020-05-29 Thread Arnd Bergmann
On Fri, May 29, 2020 at 10:26 PM Chris Wilson wrote: > Quoting Arnd Bergmann (2020-05-29 21:15:26) > > > > diff --git a/drivers/gpu/drm/selftests/test-drm_mm.c > > b/drivers/gpu/drm/selftests/test-drm_mm.c > > index 9aabe82dcd3a..30108c330db8 100644 > > ---

Re: [PATCH] ARM: omap2: fix omap5_realtime_timer_init definition

2020-05-29 Thread Tony Lindgren
* Arnd Bergmann [200529 20:18]: > There is one more regression introduced by the last build fix: Argh.. I did run make randconfig for like 10 builds after the last fix. > arch/arm/mach-omap2/timer.c:170:6: error: attribute declaration must precede > definition [-Werror,-Wignored-attributes] >

Re: [PATCH] HID: usbhid: do not sleep when opening device

2020-05-29 Thread Guenter Roeck
On Fri, May 29, 2020 at 01:33:24PM -0700, Dmitry Torokhov wrote: > On Fri, May 29, 2020 at 01:14:24PM -0700, Guenter Roeck wrote: > > On Fri, May 29, 2020 at 12:59:51PM -0700, Dmitry Torokhov wrote: > > > usbhid tries to give the device 50 milliseconds to drain its queues > > > when opening the

[PATCH] iio: accel: mxc4005: add support for mxc6655

2020-05-29 Thread Christian Oder
The mxc6655 is fully working with the existing mxc4005 driver. Add support for it. Signed-off-by: Christian Oder --- drivers/iio/accel/mxc4005.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/iio/accel/mxc4005.c b/drivers/iio/accel/mxc4005.c index 3d5bea651923..3b8614352cb4

Re: [PATCH 2/2] dlmfs: convert dlmfs_file_read() to copy_to_user()

2020-05-29 Thread Al Viro
On Thu, May 28, 2020 at 08:42:25PM -0700, Linus Torvalds wrote: > > struct sigset_argpack argpack = { NULL, 0 }; > > > > if (get_sigset_argpack(sig, )) > > return -EFAULT; > > and now you can use "argpack.sigset" and "argpack.sigset_size". > > No? > > Same exact

Re: [PATCH 1/3] ARC: allow to overide default mcpu compiler flag

2020-05-29 Thread Vineet Gupta
On 5/29/20 4:55 AM, Eugeniy Paltsev wrote: > By default we set -mcpu=xxx compiler flag depending on the CPU ISA > version. It's good starting point, however that may be not enough > as for some platforms we may want to use some specific 'mcpu' > options for better optimization or to workaround HW

Re: [PATCH 2/3] ARC: ARCv2: support loop buffer (LPB) disabling

2020-05-29 Thread Vineet Gupta
On 5/29/20 4:55 AM, Eugeniy Paltsev wrote: > On HS cores, loop buffer (LPB) is programmable in runtime and can > be optionally disabled. > > Signed-off-by: Eugeniy Paltsev LGTM. -Vineet

Re: [PATCH v6 11/12] mmap locking API: convert mmap_sem API comments

2020-05-29 Thread Daniel Jordan
On Tue, May 19, 2020 at 10:29:07PM -0700, Michel Lespinasse wrote: > Convert comments that reference old mmap_sem APIs to reference > corresponding new mmap locking APIs instead. > > Signed-off-by: Michel Lespinasse Reviewed-by: Daniel Jordan

Re: [PATCH v3 6/7] zram: Allocate struct zcomp_strm as per-CPU memory

2020-05-29 Thread Minchan Kim
On Wed, May 27, 2020 at 10:11:18PM +0200, Sebastian Andrzej Siewior wrote: > zcomp::stream is a per-CPU pointer, pointing to struct zcomp_strm > which contains two pointers. Having struct zcomp_strm allocated > directly as per-CPU memory would avoid one additional memory > allocation and a pointer

Re: Lost PCIe PME after a914ff2d78ce ("PCI/ASPM: Don't select CONFIG_PCIEASPM by default")

2020-05-29 Thread Heiner Kallweit
On 29.05.2020 22:21, Bjorn Helgaas wrote: > [+cc Matthew] > > On Fri, May 29, 2020 at 10:09:08PM +0200, Heiner Kallweit wrote: >> On 29.05.2020 21:40, Heiner Kallweit wrote: >>> On 29.05.2020 21:21, Bjorn Helgaas wrote: On Fri, May 29, 2020 at 08:50:46PM +0200, Heiner Kallweit wrote: >

Re: Some -serious- BPF-related litmus tests

2020-05-29 Thread Peter Zijlstra
On Fri, May 29, 2020 at 01:01:51PM -0700, Andrii Nakryiko wrote: > > question though; why are you using xchg() for the commit? Isn't that > > more expensive than it should be? > > > > That is, why isn't that: > > > > smp_store_release(>len, new_len); > > > > ? Or are you needing the smp_mb()

Re: [PATCH v3 7/7] zram: Use local lock to protect per-CPU data

2020-05-29 Thread Minchan Kim
On Wed, May 27, 2020 at 10:11:19PM +0200, Sebastian Andrzej Siewior wrote: > From: Mike Galbraith > > The zcomp driver uses per-CPU compression. The per-CPU data pointer is > acquired with get_cpu_ptr() which implicitly disables preemption. > It allocates memory inside the preempt disabled

Re: [PATCH 2/2] dlmfs: convert dlmfs_file_read() to copy_to_user()

2020-05-29 Thread Linus Torvalds
On Fri, May 29, 2020 at 1:46 PM Al Viro wrote: > > Umm... I'd been concerned about code generation, but it actually gets > split into a pair of scalars just fine... We actually have depended on that for a long time: our 'pte_t' etc on 32-bit kernels were very much about "structs of two words

Re: [PATCH net-next v4 1/4] dt-bindings: net: Add tx and rx internal delays

2020-05-29 Thread Rob Herring
On Fri, May 29, 2020 at 1:24 PM Dan Murphy wrote: > > Rob > > On 5/29/20 1:25 PM, Rob Herring wrote: > > On Wed, May 27, 2020 at 11:49:31AM -0500, Dan Murphy wrote: > >> tx-internal-delays and rx-internal-delays are a common setting for RGMII > >> capable devices. > >> > >> These properties are

[PATCH 0/2] objtool: Support implicit addend relocations

2020-05-29 Thread Matt Helsley
Future tools that use objtool to process ELF object files may require reading or even modifying relocations with implicit addends. This series cleans up the naming of the relocation struct in objtool, variable names, and function names to be consistent with a more generic use rather than being

[PATCH 2/2] objtool: Add support for relocations without addends

2020-05-29 Thread Matt Helsley
Currently objtool only collects information about relocations with addends. In recordmcount, which we are about to merge into objtool, some supported architectures do not use rela relocations. Signed-off-by: Matt Helsley --- tools/objtool/elf.c | 146 +++-

[PATCH 1/2] objtool: Rename rela to reloc

2020-05-29 Thread Matt Helsley
Before supporting additional relocation types rename the relevant types and functions from "rela" to "reloc". This work be done with the following regex: sed -i -e 's/struct rela/struct reloc/g' \ -e 's/\([_\*]\)rela\(s\{0,1\}\)/\1reloc\2/g' \ -e

Re: [PATCH] cpuidle/firmware: qcom: fix smcc dependencies

2020-05-29 Thread Bjorn Andersson
On Fri 29 May 13:04 PDT 2020, Arnd Bergmann wrote: > Selecting QCOM_SCM for compile-tests is broken when the smcc firmware > is not provided: > > drivers/firmware/qcom_scm-smc.o: in function `scm_smc_call': > qcom_scm-smc.c:(.text+0x110): undefined reference to `__arm_smccc_smc' >

Re: [PATCH 1/3] dt-bindings: mips: Document two Loongson generic boards

2020-05-29 Thread Rob Herring
On Fri, May 29, 2020 at 11:43:18AM +0800, Jiaxun Yang wrote: > Document loongson3-8core-ls7a and loongson3-r4-ls7a, with > two boards LS7A PCH. > > Signed-off-by: Jiaxun Yang > --- > .../devicetree/bindings/mips/loongson/devices.yaml| 8 > 1 file changed, 8 insertions(+) > >

Re: [PATCH 1/2] exec: Add a per bprm->file version of per_clear

2020-05-29 Thread Kees Cook
On Fri, May 29, 2020 at 11:46:40AM -0500, Eric W. Biederman wrote: > > There is a small bug in the code that recomputes parts of bprm->cred > for every bprm->file. The code never recomputes the part of > clear_dangerous_personality_flags it is responsible for. > > Which means that in practice

Re: [PATCH v7] dt-bindings: spi: Convert DW SPI binding to DT schema

2020-05-29 Thread Mark Brown
On Fri, 29 May 2020 21:25:43 +0300, Serge Semin wrote: > Modern device tree bindings are supposed to be created as YAML-files > in accordance with dt-schema. This commit replaces two DW SPI legacy > bare text bindings with YAML file. As before the bindings file states > that the corresponding dts

Re: [PATCH 0/2] RZ/G1H enable sound support

2020-05-29 Thread Mark Brown
On Tue, 26 May 2020 22:01:42 +0100, Lad Prabhakar wrote: > This patch series adds support for sound in R8A7742 SoC DT. > > Cheers, > Prabhakar > > Lad Prabhakar (2): > dt-bindings: ASoC: renesas,rsnd: Add r8a7742 support > ARM: dts: r8a7742: Add audio support > > [...] Applied to

Re: [PATCH 2/2] dlmfs: convert dlmfs_file_read() to copy_to_user()

2020-05-29 Thread Al Viro
On Fri, May 29, 2020 at 01:57:36PM -0700, Linus Torvalds wrote: > > All jokes aside, when had we (or anybody else, really) _not_ gotten > > into trouble when passing structs across the kernel boundary? Sure, > > sometimes you have to (stat, for example), but just look at the amount > > of PITA

Re: [PATCH] ARM: omap2: fix omap5_realtime_timer_init definition

2020-05-29 Thread Arnd Bergmann
On Fri, May 29, 2020 at 10:44 PM Tony Lindgren wrote: > > * Arnd Bergmann [200529 20:18]: > > There is one more regression introduced by the last build fix: > > Argh.. I did run make randconfig for like 10 builds > after the last fix. > > > Address this by removing the now obsolete #ifdefs in

Re: [PATCH v2] usb/phy-generic: Add support for OTG VBUS supply control

2020-05-29 Thread Rob Herring
On Fri, May 29, 2020 at 08:00:45AM +0200, Mike Looijmans wrote: > This enables support for VBUS on boards where the power is supplied > by a regulator. The regulator is enabled when the USB port enters > HOST mode. > > Signed-off-by: Mike Looijmans > --- > v2: Added missing "return 0;" in

Re: [GIT PULL] arm64 fix for 5.7-rc8/final

2020-05-29 Thread pr-tracker-bot
The pull request you sent on Fri, 29 May 2020 18:20:55 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux tags/arm64-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/4f23460cfa867aa560119e18a73616e784d3cd66 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] GFS2 fix for v5.7-rc7

2020-05-29 Thread pr-tracker-bot
The pull request you sent on Fri, 29 May 2020 17:11:33 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git > tags/gfs2-v5.7-rc7.fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/835e36b1197a4f066d0254c897f2c8b455cbb581 Thank you! --

Re: [git pull] drm fixes for 5.7 final (apologies release)

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

Re: [GIT PULL] sound fixes for 5.7 (rc8 or final)

2020-05-29 Thread pr-tracker-bot
The pull request you sent on Fri, 29 May 2020 10:55:14 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-5.7 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d54b64ef0df92101286cff739f95dd89e52ec09d Thank you! -- Deet-doot-dot, I am a

Re: [git pull] IOMMU Fixes for Linux v5.7-rc7

2020-05-29 Thread pr-tracker-bot
The pull request you sent on Fri, 29 May 2020 20:58:41 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git > tags/iommu-fixes-v5.7-rc7 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/b58f2140ea8605ee6ea0530d9c0cb5d049f9c7ca Thank you! --

Re: [GIT PULL] Please pull RDMA subsystem changes

2020-05-29 Thread pr-tracker-bot
The pull request you sent on Fri, 29 May 2020 11:15:56 -0300: > git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git tags/for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6ff64d2537f5b445177c30a2fc7779a6f2107ed5 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] MMC fixes for v5.7-rc8

2020-05-29 Thread pr-tracker-bot
The pull request you sent on Fri, 29 May 2020 12:32:30 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git tags/mmc-v5.7-rc6 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/411ea6790e736da763d02da7e704107ce9365451 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] parisc architecture fix for kernel v5.7

2020-05-29 Thread pr-tracker-bot
The pull request you sent on Fri, 29 May 2020 15:55:34 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git > parisc-5.7-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/ef4531be685f238594877a8e28e65544d5a022d7 Thank you! --

Re: [GIT PULL] clk fixes for v5.7-rc7

2020-05-29 Thread pr-tracker-bot
The pull request you sent on Thu, 28 May 2020 20:57:29 -0700: > https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git > tags/clk-fixes-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/170ee4d74781ed3d7b0f489c0b1c4debc33a2c1d Thank you! --

Re: [GIT PULL] Ceph fixes for 5.7-rc8

2020-05-29 Thread pr-tracker-bot
The pull request you sent on Fri, 29 May 2020 17:52:57 +0200: > https://github.com/ceph/ceph-client.git tags/ceph-for-5.7-rc8 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e2fce151d2b4bd9722b3344ae381c768d249761f Thank you! -- Deet-doot-dot, I am a bot.

Re: [PATCH v13 3/7] dt-bindings: clock: Add documentation for X1830 bindings.

2020-05-29 Thread Stephen Boyd
Quoting Rob Herring (2020-05-29 12:14:31) > > Acked-by: Rob Herring Please apply to bindings tree Rob. The yaml conversion is in your tree.

Re: [PATCH] dt-bindings: clock: Convert i.MX8QXP LPCG to json-schema

2020-05-29 Thread Rob Herring
On Fri, 29 May 2020 14:21:39 +0800, Anson Huang wrote: > Convert the i.MX8QXP LPCG binding to DT schema format using json-schema. > > Signed-off-by: Anson Huang > --- > .../devicetree/bindings/clock/imx8qxp-lpcg.txt | 51 --- > .../devicetree/bindings/clock/imx8qxp-lpcg.yaml

Re: [PATCH 0/8] Convert the intel iommu driver to the dma-iommu api

2020-05-29 Thread Marek Szyprowski
Hi Logan, On 29.05.2020 21:05, Logan Gunthorpe wrote: > On 2020-05-29 6:45 a.m., Christoph Hellwig wrote: >> On Thu, May 28, 2020 at 06:00:44PM -0600, Logan Gunthorpe wrote: This issue is most likely in the i915 driver and is most likely caused by the driver not respecting the return

Re: [PATCH 8/8] blk-mq: drain I/O when all CPUs in a hctx are offline

2020-05-29 Thread Paul E. McKenney
On Fri, May 29, 2020 at 12:55:43PM -0700, Bart Van Assche wrote: > On 2020-05-29 11:13, Paul E. McKenney wrote: > > On Fri, May 29, 2020 at 11:53:15AM +0800, Ming Lei wrote: > >> Another pair is in blk_mq_get_tag(), and we expect the following two > >> memory OPs are ordered: > >> > >> 1) set bit

Re: [PATCH 1/3] cpufreq: brcmstb-avs-cpufreq: more flexible interface for __issue_avs_command()

2020-05-29 Thread Florian Fainelli
On 5/28/20 11:20 AM, Markus Mayer wrote: > We are changing how parameters are passed to __issue_avs_command(), so we > can pass input *and* output arguments with the same command, rather than > just one or the other. > > Signed-off-by: Markus Mayer Acked-by: Florian Fainelli -- Florian

Re: [PATCH 3/3] ARC: [plat-hsdk-4xd] initial port for HSDK-4xD board

2020-05-29 Thread Vineet Gupta
+CC Rob H (it seems the CC in patch didn't go thru) On 5/29/20 4:55 AM, Eugeniy Paltsev wrote: > This initial port adds support of ARC HS4x/HS4xD Development Kit board with > some > basic features such serial port, USB, SD/MMC, SPI flash, Ethernet and others. > > The HSDK-4xD board has much in

Re: [PATCH 3/3] cpufreq: brcmstb-avs-cpufreq: send S2_ENTER / S2_EXIT commands to AVS

2020-05-29 Thread Florian Fainelli
On 5/28/20 11:20 AM, Markus Mayer wrote: > On suspend we send AVS_CMD_S2_ENTER and on resume AVS_CMD_S2_EXIT. > These are best effort calls, so we don't check the return code or take > any action if either of the calls fails. > > Signed-off-by: Markus Mayer Acked-by: Florian Fainelli --

Re: [PATCH v4 1/2] clk: hisilicon: Use correct return value about hisi_reset_init()

2020-05-29 Thread Stephen Boyd
Quoting Tiezhu Yang (2020-05-29 03:20:11) > On 05/29/2020 05:36 PM, Stephen Boyd wrote: > > Quoting Tiezhu Yang (2020-05-28 23:44:20) > >> On 05/29/2020 12:31 PM, Stephen Boyd wrote: > >>> Quoting Tiezhu Yang (2020-05-28 21:02:05) > >>> I think you didn't understand my question. I'm asking where

Re: [PATCH] ARM: omap2: fix omap5_realtime_timer_init definition

2020-05-29 Thread Tony Lindgren
* Arnd Bergmann [200529 21:09]: > On Fri, May 29, 2020 at 10:44 PM Tony Lindgren wrote: > > > > * Arnd Bergmann [200529 20:18]: > > > There is one more regression introduced by the last build fix: > > > > Argh.. I did run make randconfig for like 10 builds > > after the last fix. > > > > >

Re: linux-next: manual merge of the akpm-current tree with the mips tree

2020-05-29 Thread Andrew Morton
On Thu, 28 May 2020 19:29:43 +1000 Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the akpm-current tree got a conflict in: > > mm/memory.c > > between commit: > > 7df676974359 ("mm/memory.c: Update local TLB if PTE entry exists") > > from the mips tree and commit: >

Re: [PATCH v6 12/12] mmap locking API: convert mmap_sem comments

2020-05-29 Thread Daniel Jordan
On Tue, May 19, 2020 at 10:29:08PM -0700, Michel Lespinasse wrote: > Convert comments that reference mmap_sem to reference mmap_lock instead. > > Signed-off-by: Michel Lespinasse Not opposed to leaving lockaphores in :) Reviewed-by: Daniel Jordan

Re: [PATCH] dt-bindings: thermal: Convert qoriq to json-schema

2020-05-29 Thread Rob Herring
On Fri, May 29, 2020 at 03:28:58PM +0800, Anson Huang wrote: > Convert the qoriq thermal binding to DT schema format using json-schema > > Signed-off-by: Anson Huang > --- > .../devicetree/bindings/thermal/qoriq-thermal.txt | 71 - >

Re: [PATCH v3 02/25] dt-bindings: clock: Add a binding for the RPi Firmware clocks

2020-05-29 Thread Stephen Boyd
Quoting Maxime Ripard (2020-05-27 08:44:58) > The firmware running on the RPi VideoCore can be used to discover and > change the various clocks running in the BCM2711. Since devices will > need to use them through the DT, let's add a pretty simple binding. > > Cc: Michael Turquette > Cc: Stephen

Re: [PATCH v3 04/25] clk: bcm: rpi: Allow the driver to be probed by DT

2020-05-29 Thread Stephen Boyd
Quoting Maxime Ripard (2020-05-27 08:45:00) > The current firmware clock driver for the RaspberryPi can only be probed by > manually registering an associated platform_device. > > While this works fine for cpufreq where the device gets attached a clkdev > lookup, it would be tedious to maintain a

Re: [PATCH v3 6/6] dt-bindings: hwmon: Add bindings for ADM1266

2020-05-29 Thread Rob Herring
On Fri, May 29, 2020 at 04:05:06PM +0300, alexandru.tach...@analog.com wrote: > From: Alexandru Tachici > > Add bindings for the Analog Devices ADM1266 sequencer. > > Signed-off-by: Alexandru Tachici > --- > .../bindings/hwmon/adi,adm1266.yaml | 56 +++ > 1 file

Re: linux-next: manual merge of the akpm-current tree with the rsic-v tree

2020-05-29 Thread Andrew Morton
On Thu, 28 May 2020 12:19:35 -0700 (PDT) Palmer Dabbelt wrote: > On Thu, 28 May 2020 02:22:11 PDT (-0700), Stephen Rothwell wrote: > > Hi all, > > > > Today's linux-next merge of the akpm-current tree got a conflict in: > > > > arch/riscv/Kconfig > > > > between commit: > > > > b151fefd23b7

Re: [PATCH v2 2/2] drivers: clk: zynqmp: Update fraction clock check from custom type flags

2020-05-29 Thread Jolly Shah
Hi Stephan, > --Original Message-- > From: Stephen Boyd > Sent: Thursday, May 28, 2020 4:12PM > To: Jolly Shah , Arm , Linux-clk , Michal Simek , Mturquette , Olof > Cc: Rajan Vaja , linux-arm-ker...@lists.infradead.org , Linux-kernel@vger.kernel.org , Tejas Patel , Rajan Vaja

Re: [PATCH 0/8] Convert the intel iommu driver to the dma-iommu api

2020-05-29 Thread Logan Gunthorpe
On 2020-05-29 3:11 p.m., Marek Szyprowski wrote: > Patches are pending: > https://lore.kernel.org/linux-iommu/20200513132114.6046-1-m.szyprow...@samsung.com/T/ Cool, nice! Though, I still don't think that fixes the issue in i915_scatterlist.h given it still ignores sg_dma_len() and strictly

Re: [PATCH 2/2] nvmem: add ONIE NVMEM cells support

2020-05-29 Thread kbuild test robot
Hi Vadym, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on linux/master v5.7-rc7 next-20200529] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest

Re: [PATCH v6 00/16] spi: dw: Add generic DW DMA controller support

2020-05-29 Thread Rob Herring
On Fri, May 29, 2020 at 06:33:25PM +0100, Mark Brown wrote: > On Fri, May 29, 2020 at 08:26:42PM +0300, Serge Semin wrote: > > > You must have missed the patch 16: > > 0e8332aaf059 dt-bindings: spi: Convert DW SPI binding to DT schema > > As you can see it has been acked by Rob. So you can also

Re: [PATCH 2/2] exec: Compute file based creds only once

2020-05-29 Thread Kees Cook
On Fri, May 29, 2020 at 11:47:29AM -0500, Eric W. Biederman wrote: > Move the computation of creds from prepare_binfmt into begin_new_exec > so that the creds need only be computed once. This is just code > reorganization no semantic changes of any kind are made. > > Moving the computation is

Re: [PATCH v5 02/11] dt-bindings: dma: dw: Add max burst transaction length property

2020-05-29 Thread Rob Herring
On Fri, 29 May 2020 17:40:45 +0300, Serge Semin wrote: > This array property is used to indicate the maximum burst transaction > length supported by each DMA channel. > > Signed-off-by: Serge Semin > Cc: Alexey Malahov > Cc: Thomas Bogendoerfer > Cc: Arnd Bergmann > Cc: Andy Shevchenko > Cc:

Re: [PATCH v2] selftests/ftrace: Use printf instead of echo in kprobe syntax error tests

2020-05-29 Thread Shuah Khan
On 5/29/20 2:37 PM, Seth Forshee wrote: On Wed, Mar 04, 2020 at 04:20:09PM -0600, Seth Forshee wrote: Test cases which use echo to write strings containing backslashes fail with some shells, as echo's treatment of backslashes in strings varies between shell implementations. Use printf instead,

Re: [PATCH v2] dt-bindings: timer: renesas: cmt: Convert to json-schema

2020-05-29 Thread Rob Herring
On Tue, May 05, 2020 at 05:51:27PM +0200, Geert Uytterhoeven wrote: > Convert the Renesas Compare Match Timer (CMT) Device Tree binding > documentation to json-schema. > > Document missing properties. > Update the example to match reality. > > Signed-off-by: Geert Uytterhoeven > Reviewed-by:

Re: [PATCH] lan743x: Added fixed link and RGMII support

2020-05-29 Thread Andrew Lunn
On Fri, May 29, 2020 at 09:30:02PM +0200, Roelof Berg wrote: > Microchip lan7431 is frequently connected to a phy. However, it > can also be directly connected to a MII remote peer without > any phy in between. For supporting such a phyless hardware setup > in Linux we utilized phylib, which

Re: [PATCH v7 1/4] bitops: Introduce the the for_each_set_clump macro

2020-05-29 Thread William Breathitt Gray
On Sat, May 30, 2020 at 01:32:44AM +0530, Syed Nayyar Waris wrote: > On Sat, May 30, 2020 at 12:08 AM Andy Shevchenko > wrote: > > > > On Fri, May 29, 2020 at 11:38:18PM +0530, Syed Nayyar Waris wrote: > > > On Sun, May 24, 2020 at 8:15 PM kbuild test robot wrote: > > > > ... > > > > > >579

fs/xfs/libxfs/xfs_btree_staging.c:144 xfs_btree_stage_afakeroot() error: potential null dereference 'nops'. (kmem_alloc returns null)

2020-05-29 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 75caf310d16cc5e2f851c048cd597f5437013368 commit: e06536a692e032470130af5b2136b519595809da xfs: introduce fake roots for ag-rooted btrees date: 2 months ago config: i386-randconfig-m021-20200529 (attached

[PATCH 01/14] x86/hw_breakpoint: Add within_area() to check data breakpoints

2020-05-29 Thread Peter Zijlstra
From: Lai Jiangshan within_area() is added for checking if the data breakpoints overlap with cpu_entry_area, and will be used for checking if the data breakpoints overlap with GDT, IDT, or TSS in places other than cpu_entry_area next patches. Signed-off-by: Lai Jiangshan Signed-off-by: Peter

[PATCH 11/14] x86/entry: Clarify irq_{enter,exit}_rcu()

2020-05-29 Thread Peter Zijlstra
Because: irq_enter_rcu() includes lockdep_hardirq_enter() irq_exit_rcu() does *NOT* include lockdep_hardirq_exit() Which resulted in two 'stray' lockdep_hardirq_exit() calls in idtentry.h, and me spending a long time trying to find the matching enter calls. Signed-off-by: Peter Zijlstra

<    6   7   8   9   10   11   12   13   14   >