[PATCH 11/27] afs: Remove the error argument from afs_protocol_error()

2020-05-29 Thread David Howells
Remove the error argument from afs_protocol_error() as it's always -EBADMSG. Signed-off-by: David Howells --- fs/afs/cmservice.c |9 +++-- fs/afs/fsclient.c | 17 ++--- fs/afs/inode.c |4 ++-- fs/afs/internal.h |2 +-

[PATCH 10/27] afs: Set error flag rather than return error from file status decode

2020-05-29 Thread David Howells
Set a flag in the call struct to indicate an unmarshalling error rather than return and handle an error from the decoding of file statuses. This flag is checked on a successful return from the delivery function. Signed-off-by: David Howells --- fs/afs/fsclient.c | 88

[PATCH 05/27] afs: Use the serverUnique field in the UVLDB record to reduce rpc ops

2020-05-29 Thread David Howells
The U-version VLDB volume record retrieved by the VL.GetEntryByNameU rpc op carries a change counter (the serverUnique field) for each fileserver listed in the record as backing that volume. This is incremented whenever the registration details for a fileserver change (such as its address list).

[PATCH 09/27] afs: Make callback processing more efficient.

2020-05-29 Thread David Howells
afs_vol_interest objects represent the volume IDs currently being accessed from a fileserver. These hold lists of afs_cb_interest objects that repesent the superblocks using that volume ID on that server. When a callback notification from the server telling of a modification by another client

[PATCH] [v2] 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 02/27] rxrpc: Map the EACCES error produced by some ICMP6 to EHOSTUNREACH

2020-05-29 Thread David Howells
Map the EACCES error that is produced by some ICMP6 packets to EHOSTUNREACH when we get them as EACCES has other meanings within a filesystem context. Signed-off-by: David Howells --- net/rxrpc/peer_event.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/net/rxrpc/peer_event.c

[PATCH 06/27] afs: Split the usage count on struct afs_server

2020-05-29 Thread David Howells
Split the usage count on the afs_server struct to have an active count that registers who's actually using it separately from the reference count on the object. This allows a future patch to dispatch polling probes without advancing the "unuse" time into the future each time we emit a probe,

[PATCH 07/27] afs: Actively poll fileservers to maintain NAT or firewall openings

2020-05-29 Thread David Howells
When an AFS client accesses a file, it receives a limited-duration callback promise that the server will notify it if another client changes a file. This callback duration can be a few hours in length. If a client mounts a volume and then an application prevents it from being unmounted, say by

[PATCH 04/27] afs: Always include dir in bulk status fetch from afs_do_lookup()

2020-05-29 Thread David Howells
When a lookup is done in an AFS directory, the filesystem will speculate and fetch up to 49 other statuses for files in the same directory and fetch those as well, turning them into inodes or updating inodes that already exist. However, occasionally, a callback break might go missing due to NAT

[PATCH 03/27] rxrpc: Adjust /proc/net/rxrpc/calls to display call->debug_id not user_ID

2020-05-29 Thread David Howells
The user ID value isn't actually much use - and leaks a kernel pointer or a userspace value - so replace it with the call debug ID, which appears in trace points. Signed-off-by: David Howells --- net/rxrpc/proc.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 00/27] afs: Improvements

2020-05-29 Thread David Howells
Here's a set of patches to make a number of improvements to the AFS driver: (1) Improve callback (ie. third party change notification) processing by: (a) Relying more on the fact we're doing this under RCU and by using fewer locks. This involves making the inode hash

[PATCH 01/27] vfs, afs, ext4: Make the inode hash table RCU searchable

2020-05-29 Thread David Howells
Make the inode hash table RCU searchable so that searches that want to access or modify an inode without taking a ref on that inode can do so without taking the inode hash table lock. The main thing this requires is some RCU annotation on the list manipulation operations. Inodes are already

Re: [PATCH 1/2] dt-bindings: chrome: Add cros-ec-typec mux props

2020-05-29 Thread Rob Herring
On Tue, May 12, 2020 at 7:42 AM Heikki Krogerus wrote: > > Hi guys, > > On Mon, May 11, 2020 at 01:46:35PM -0700, Prashant Malani wrote: > > Hi Rob, > > > > Thank you for reviewing the patch. Kindly see my comments inline: > > > > On Mon, May 11, 2020 at 02:28:00PM -0500, Rob Herring wrote: > > >

Re: [PATCH v2] arm: dts: Move am33xx and am43xx mmc nodes to sdhci-omap driver

2020-05-29 Thread Tony Lindgren
* Tony Lindgren [200527 16:06]: > * Tony Lindgren [200519 09:05]: > > * Tomi Valkeinen [200519 15:55]: > > > (Dropping DT from cc) > > > > > > On 19/05/2020 18:48, Tony Lindgren wrote: > > > > > > > > > Suspend/resume on am43xx-gpevm is broken right now in mainline and > > > > > > the

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

2020-05-29 Thread Syed Nayyar Waris
On Sat, May 30, 2020 at 3:01 AM William Breathitt Gray wrote: > > 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

[PATCH v9 2/5] seq_buf: Export seq_buf_printf

2020-05-29 Thread Vaibhav Jain
'seq_buf' provides a very useful abstraction for writing to a string buffer without needing to worry about it over-flowing. However even though the API has been stable for couple of years now its still not exported to kernel loadable modules limiting its usage. Hence this patch proposes update to

[PATCH v9 5/5] powerpc/papr_scm: Implement support for PAPR_PDSM_HEALTH

2020-05-29 Thread Vaibhav Jain
This patch implements support for PDSM request 'PAPR_PDSM_HEALTH' that returns a newly introduced 'struct nd_papr_pdsm_health' instance containing dimm health information back to user space in response to ND_CMD_CALL. This functionality is implemented in newly introduced papr_pdsm_health() that

Re: [PATCH v1] auxdisplay: charlcd: Reuse hex_to_bin() instead of custom code

2020-05-29 Thread Miguel Ojeda
Hi Andy, On Mon, May 18, 2020 at 9:36 PM Andy Shevchenko wrote: > > hex_to_bin() may be used to convert hexdecimal digit to its binary > representation. > > Signed-off-by: Andy Shevchenko > --- Looks fine to me and the logic is simpler for the `esc` increase too. Thanks for the cleanup! Were

[PATCH v9 0/5] powerpc/papr_scm: Add support for reporting nvdimm health

2020-05-29 Thread Vaibhav Jain
Changes since v8 [1]: * Updated proposed changes to remove usage of term 'SCM' due to ambiguity with 'PMEM' and 'NVDIMM'. [ Dan Williams ] * Replaced the usage of term 'SCM' with 'PMEM' in most contexts. [ Aneesh ] * Renamed NVDIMM health defines from PAPR_SCM_DIMM_* to PAPR_PMEM_* . *

[PATCH v9 4/5] ndctl/papr_scm,uapi: Add support for PAPR nvdimm specific methods

2020-05-29 Thread Vaibhav Jain
Introduce support for PAPR NVDIMM Specific Methods (PDSM) in papr_scm module and add the command family NVDIMM_FAMILY_PAPR to the white list of NVDIMM command sets. Also advertise support for ND_CMD_CALL for the nvdimm command mask and implement necessary scaffolding in the module to handle

[PATCH v9 1/5] powerpc: Document details on H_SCM_HEALTH hcall

2020-05-29 Thread Vaibhav Jain
Add documentation to 'papr_hcalls.rst' describing the bitmap flags that are returned from H_SCM_HEALTH hcall as per the PAPR-SCM specification. Cc: "Aneesh Kumar K . V" Cc: Dan Williams Cc: Michael Ellerman Cc: Ira Weiny Signed-off-by: Vaibhav Jain --- Changelog: v8..v9: * s/SCM/PMEM

[PATCH v9 3/5] powerpc/papr_scm: Fetch nvdimm health information from PHYP

2020-05-29 Thread Vaibhav Jain
Implement support for fetching nvdimm health information via H_SCM_HEALTH hcall as documented in Ref[1]. The hcall returns a pair of 64-bit bitmap, bitwise-and of which is then stored in 'struct papr_scm_priv' and subsequently partially exposed to user-space via newly introduced dimm specific

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

2020-05-29 Thread Tony Lindgren
* Arnd Bergmann [200529 21:41]: > On Fri, May 29, 2020 at 11:14 PM Tony Lindgren wrote: > > * Arnd Bergmann [200529 21:09]: > > > > > > #ifdef CONFIG_SOC_HAS_REALTIME_COUNTER > > > extern void omap5_realtime_timer_init(void); > > > #else > > > static inline void omap5_realtime_timer_init(void)

[PATCH v4 kunit-next 2/2] kunit: add support for named resources

2020-05-29 Thread Alan Maguire
The kunit resources API allows for custom initialization and cleanup code (init/fini); here a new resource add function sets the "struct kunit_resource" "name" field, and calls the standard add function. Having a simple way to name resources is useful in cases such as multithreaded tests where a

[PATCH v4 kunit-next 1/2] kunit: generalize kunit_resource API beyond allocated resources

2020-05-29 Thread Alan Maguire
In its original form, the kunit resources API - consisting the struct kunit_resource and associated functions - was focused on adding allocated resources during test operation that would be automatically cleaned up on test completion. The recent RFC patch proposing converting KASAN tests to KUnit

[PATCH v4 kunit-next 0/2] kunit: extend kunit resources API

2020-05-29 Thread Alan Maguire
A recent RFC patch set [1] suggests some additional functionality may be needed around kunit resources. It seems to require 1. support for resources without allocation 2. support for lookup of such resources 3. support for access to resources across multiple kernel threads The proposed changes

[PATCH v3 0/5] lockdep: Change IRQ state tracking to use per-cpu variables

2020-05-29 Thread Peter Zijlstra
Ahmed and Sebastian wanted additional lockdep_assert*() macros and ran into header hell. Move the IRQ state into per-cpu variables, which removes the dependency on task_struct, which is what generated the header-hell. These patches are intended to go on top of:

[PATCH v3 2/5] powerpc64: Break asm/percpu.h vs spinlock_types.h dependency

2020-05-29 Thread Peter Zijlstra
In order to use in lockdep.h, we need to make sure asm/percpu.h does not itself depend on lockdep. The below seems to make that so and builds powerpc64-defconfig + PROVE_LOCKING. Signed-off-by: Peter Zijlstra (Intel) --- arch/powerpc/include/asm/dtl.h | 52

Re: [RFC PATCH v4 07/10] vfio/pci: introduce a new irq type VFIO_IRQ_TYPE_REMAP_BAR_REGION

2020-05-29 Thread Alex Williamson
On Sun, 17 May 2020 22:52:45 -0400 Yan Zhao wrote: > This is a virtual irq type. > vendor driver triggers this irq when it wants to notify userspace to > remap PCI BARs. > > 1. vendor driver triggers this irq and packs the target bar number in >the ctx count. i.e. "1 << bar_number". >if

Re: [PATCH v2 1/4] dt-bindings: pinctrl: Document 7211 compatible for brcm, bcm2835-gpio.txt

2020-05-29 Thread Rob Herring
On Fri, 29 May 2020 12:15:19 -0700, Florian Fainelli wrote: > Document the brcm,bcm7211-gpio compatible string in the > brcm,bcm2835-gpio.txt document. > > Signed-off-by: Florian Fainelli > --- > Documentation/devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt | 1 + > 1 file changed, 1

RE: [EXTERNAL] Re: [PATCH v4] perf inject --jit: Remove //anon mmap events

2020-05-29 Thread Steve MacLean
>/tmp/perf/perf record -k 1 -e cycles:u -o /tmp/perf.data java >-agentpath:/tmp/perf/libperf-jvmti.so -XX:+PreserveFramePointer >-XX:InitialCodeCacheSize=20M -XX:ReservedCodeCacheSize=1G -jar >dacapo-9.12-bach.jar jython Its also possible the `InitialCodeCacheSize=20M` argument is masking the

[RFC][PATCH v3 1/5] sparc64: Fix asm/percpu.h build error

2020-05-29 Thread Peter Zijlstra
In order to break a header dependency between lockdep and task_struct, I need per-cpu stuff from lockdep. Including from lockdep.h gives a build error, this patch cures that, but results in the following warning: ../arch/sparc/include/asm/percpu_64.h:7:24: warning: call-clobbered register used

[PATCH v3 4/5] lockdep: Change hardirq{s_enabled,_context} to per-cpu variables

2020-05-29 Thread Peter Zijlstra
Currently all IRQ-tracking state is in task_struct, this means that task_struct needs to be defined before we use it. Especially for lockdep_assert_irq*() this can lead to header-hell. Move the hardirq state into per-cpu variables to avoid the task_struct dependency. Signed-off-by: Peter

[PATCH v3 3/5] s390: Break cyclic percpu include

2020-05-29 Thread Peter Zijlstra
In order to use in irqflags.h, we need to make sure asm/percpu.h does not itself depend on irqflags.h Signed-off-by: Peter Zijlstra (Intel) --- arch/s390/include/asm/smp.h |1 + arch/s390/include/asm/thread_info.h |1 - 2 files changed, 1 insertion(+), 1 deletion(-) ---

[PATCH v3 5/5] lockdep: Remove lockdep_hardirq{s_enabled,_context}() argument

2020-05-29 Thread Peter Zijlstra
Now that the macros use per-cpu data, we no longer need the argument. Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/entry/common.c|2 +- include/linux/irqflags.h |8 include/linux/lockdep.h|2 +- kernel/locking/lockdep.c | 30

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

2020-05-29 Thread Andy Shevchenko
On Fri, May 29, 2020 at 11:07 PM 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: ... > > > Taking the example statement

Re: [PATCH] refperf: work around 64-bit division

2020-05-29 Thread Paul E. McKenney
On Fri, May 29, 2020 at 10:15:51PM +0200, Arnd Bergmann wrote: > 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

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

2020-05-29 Thread Arnd Bergmann
On Fri, May 29, 2020 at 11:14 PM Tony Lindgren wrote: > * Arnd Bergmann [200529 21:09]: > > > > #ifdef CONFIG_SOC_HAS_REALTIME_COUNTER > > extern void omap5_realtime_timer_init(void); > > #else > > static inline void omap5_realtime_timer_init(void) > > { > > } > > #endif > > > > In fact, the

[RFC][PATCH] ASoC: qcom: q6asm-dai: kCFI fix

2020-05-29 Thread John Stultz
Fixes the following kCFI crash seen on db845c, caused by the function prototypes not matching the callback function prototype. [ 82.585661] Unable to handle kernel NULL pointer dereference at virtual address 0001 [ 82.595387] Mem abort info: [ 82.599463] ESR = 0x9605 [

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

2020-05-29 Thread Matthew Garrett
On Fri, May 29, 2020 at 03:21:35PM -0500, Bjorn Helgaas wrote: > Yeah, that makes sense. I can't remember the details, but I'm pretty > sure there's a reason why we ask for the whole set of things. Seems > like it solved some problem. I think Matthew Garrett might have been > involved in that.

[PATCH 14/14] x86/entry: Fix NMI vs IRQ state tracking

2020-05-29 Thread Peter Zijlstra
While the nmi_enter() users did trace_hardirqs_{off_prepare,on_finish}() there was no matching lockdep_hardirqs_*() calls to complete the picture. Introduce idtentry_{enter,exit}_nmi() to enable proper IRQ state tracking across the NMIs. Signed-off-by: Peter Zijlstra (Intel) ---

[PATCH 02/14] x86/hw_breakpoint: Prevent data breakpoints on direct GDT

2020-05-29 Thread Peter Zijlstra
From: Lai Jiangshan A data breakpoint on the GDT is terrifying and should be avoided. The GDT on CPU entry area is already protected. The direct GDT should be also protected, although it is seldom used and only used for short time. Signed-off-by: Lai Jiangshan Signed-off-by: Peter Zijlstra

[PATCH 08/14] x86/entry: Optimize local_db_save() for virt

2020-05-29 Thread Peter Zijlstra
Because DRn access is 'difficult' with virt; but the DR7 read is cheaper than a cacheline miss on native, add a virt specific fast path to local_db_save(), such that when breakpoints are not in use we avoid touching DRn entirely. Suggested-by: Andy Lutomirski Signed-off-by: Peter Zijlstra

[PATCH 09/14] x86/entry: Remove debug IDT frobbing

2020-05-29 Thread Peter Zijlstra
This is all unused now. Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/include/asm/debugreg.h | 19 --- arch/x86/include/asm/desc.h | 34 +- arch/x86/kernel/cpu/common.c| 17 - arch/x86/kernel/idt.c |

[PATCH 03/14] x86/hw_breakpoint: Prevent data breakpoints on per_cpu cpu_tss_rw

2020-05-29 Thread Peter Zijlstra
From: Lai Jiangshan cpu_tss_rw is not directly referenced by hardware, but cpu_tss_rw is also used in CPU entry code, especially when #DB shifts its stacks. If a data breakpoint is on the cpu_tss_rw.x86_tss.ist[IST_INDEX_DB], it will cause recursive #DB (and then #DF soon for #DB is generated

[PATCH 07/14] x86/entry, mce: Disallow #DB during #MC

2020-05-29 Thread Peter Zijlstra
#MC is fragile as heck, don't tempt fate. Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/kernel/cpu/mce/core.c | 12 1 file changed, 12 insertions(+) --- a/arch/x86/kernel/cpu/mce/core.c +++ b/arch/x86/kernel/cpu/mce/core.c @@ -1936,22 +1936,34 @@ static __always_inline void

[PATCH 10/14] x86/entry: Remove DBn stacks

2020-05-29 Thread Peter Zijlstra
Both #DB itself, as all other IST users (NMI, #MC) now clear DR7 on entry. Combined with not allowing breakpoints on entry/noinstr/NOKPROBE text and no single step (EFLAGS.TF) inside the #DB handler should guarantee us no nested #DB. Signed-off-by: Peter Zijlstra (Intel) ---

[PATCH 04/14] x86/hw_breakpoint: Prevent data breakpoints on user_pcid_flush_mask

2020-05-29 Thread Peter Zijlstra
From: Lai Jiangshan The percpu user_pcid_flush_mask is used for CPU entry If a data breakpoint on it, it will cause an unwanted #DB. Protect the full cpu_tlbstate structure to be sure. There are some other percpu data used in CPU entry, but they are either in already-protected cpu_tss_rw or are

[PATCH 05/14] x86/entry: Introduce local_db_{save,restore}()

2020-05-29 Thread Peter Zijlstra
In order to allow other exceptions than #DB to disable breakpoints, provide common helpers. Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/include/asm/debugreg.h | 30 ++ arch/x86/kernel/traps.c | 18 ++ 2 files changed, 32

drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c:49:1: warning: no previous prototype for 'lsb_header_tail_dump'

2020-05-29 Thread kbuild test robot
Hi Ben, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 75caf310d16cc5e2f851c048cd597f5437013368 commit: 22dcda45a3d1dfe6eeb4ab0a3b9aaa2333cb649d drm/nouveau/acr: implement new subdev to replace "secure boot" date:

[PATCH 06/14] x86/entry, nmi: Disable #DB

2020-05-29 Thread Peter Zijlstra
Instead of playing stupid games with IST stacks, fully disallow #DB during NMIs. There is absolutely no reason to allow them, and killing this saves a heap of trouble. We already disallow #DB on noinstr and CEA, so we can't get #DB before this, and this ensures we can't get it after this either.

[PATCH 13/14] lockdep: Prepare for NMI IRQ state tracking

2020-05-29 Thread Peter Zijlstra
There is no reason not to always, accurately, track IRQ state. This change also makes IRQ state tracking ignore lockdep_off(). Signed-off-by: Peter Zijlstra (Intel) --- kernel/locking/lockdep.c | 33 ++--- 1 file changed, 30 insertions(+), 3 deletions(-) ---

[PATCH 00/14] x86/entry: disallow #DB more and x86/entry lockdep/nmi

2020-05-29 Thread Peter Zijlstra
These patches disallow #DB during NMI/#MC and allow removing a lot of fugly code. And also include 4 patches from the lockdep/nmi series that clean up x86/entry bits. I'll send the rest of the lockdep patches seperately.

[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

[PATCH 12/14] x86/entry: Rename trace_hardirqs_off_prepare()

2020-05-29 Thread Peter Zijlstra
The typical pattern for trace_hardirqs_off_prepare() is: ENTRY lockdep_hardirqs_off(); // because hardware ... do entry magic instrumentation_begin(); trace_hardirqs_off_prepare(); ... do actual work trace_hardirqs_on_prepare(); lockdep_hardirqs_on_prepare();

[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

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

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

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 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 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 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 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 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] 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 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 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: 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 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: [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] 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 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: 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] 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: [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 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 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 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 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 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: [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] 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] 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: [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] 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] 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: [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: [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 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 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 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 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(+) > >

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