Re: [linux-sunxi] [PATCH v3 02/28] clk: sunxi-ng: Adjust MP clock parent rate when allowed

2019-01-16 Thread Jernej Škrabec
Dne sreda, 16. januar 2019 ob 13:09:58 CET je Priit Laes napisal(a): > On Thu, Jan 10, 2019 at 06:10:59PM +0100, Jernej Škrabec wrote: > > Dne četrtek, 10. januar 2019 ob 10:15:48 CET je Priit Laes napisal(a): > > > On Sun, Nov 04, 2018 at 07:26:39PM +0100, Jernej Skrabec wrote: > > > > Currently

INFO: rcu detected stall in tipc_disc_timeout

2019-01-16 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:80b3671e9377 ip6_gre: update version related info when cha.. git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=151e546b40 kernel config: https://syzkaller.appspot.com/x/.config?x=8a4dffabfb4e36f9

Re: linux-next: Tree for Jan 16 (PCI config warning?)

2019-01-16 Thread Randy Dunlap
On 1/15/19 10:38 PM, Stephen Rothwell wrote: > Hi all, > > Changes since 20190115: > on x86_64: when CONFIG_PCI is not enabled (via randconfig): WARNING: unmet direct dependencies detected for PCI_LOCKLESS_CONFIG Depends on [n]: PCI [=n] Selected by [y]: - X86 [=y] -- ~Randy

Re: [PATCH 2/8] libertas: change snprintf to scnprintf for possible overflow

2019-01-16 Thread Willy Tarreau
On Wed, Jan 16, 2019 at 06:40:29PM +0200, Kalle Valo wrote: > Ok, I'll queue this for 5.0 and apply it to wireless-drivers instead. Thank you! Willy

Re: [PATCH 13/14] staging: android: ion: Do not sync CPU cache on map/unmap

2019-01-16 Thread Andrew F. Davis
On 1/16/19 9:19 AM, Brian Starkey wrote: > Hi :-) > > On Tue, Jan 15, 2019 at 12:40:16PM -0600, Andrew F. Davis wrote: >> On 1/15/19 12:38 PM, Andrew F. Davis wrote: >>> On 1/15/19 11:45 AM, Liam Mark wrote: On Tue, 15 Jan 2019, Andrew F. Davis wrote: > On 1/14/19 11:13 AM, Liam

Re: [PATCH] sysctl: Add panic-fatal-signals

2019-01-16 Thread Kees Cook
On Wed, Jan 16, 2019 at 4:54 AM Vincent Whitchurch wrote: > > Add a sysctl which asks the kernel to panic when any userspace process > receives a fatal signal which would trigger a core dump. This has > proven to be quite useful when debugging problems seen during testing of > embedded systems:

Re: [PATCH] irq: convert the code format to BIT()

2019-01-16 Thread Randy Dunlap
On 1/16/19 8:03 AM, Yangtao Li wrote: > Use BIT() to do some clean-up. > > Signed-off-by: Yangtao Li > --- > include/linux/irq.h | 106 ++-- > 1 file changed, 53 insertions(+), 53 deletions(-) > Hi, >From Documentation/process/submit-checklist.rst,

Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC

2019-01-16 Thread Arnd Bergmann
On Wed, Jan 16, 2019 at 5:33 PM Vincent Whitchurch wrote: > > The Virtio-over-PCIe framework living under drivers/misc/mic/vop implements a > generic framework to use virtio between two Linux systems, given shared memory > and a couple of interrupts. It does not actually require the Intel MIC >

[PATCH] wan: dscc4: fix various indentation issues

2019-01-16 Thread Colin King
From: Colin Ian King There are some lines that have indentation issues, fix these. Signed-off-by: Colin Ian King --- drivers/net/wan/dscc4.c | 50 - 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/drivers/net/wan/dscc4.c

Re: [PATCH] iommu/amd: Fix IOMMU page flush when detach all devices from a domain

2019-01-16 Thread j...@8bytes.org
On Wed, Jan 16, 2019 at 02:08:55PM +, Suthikulpanit, Suravee wrote: > Actually, I am not sure how we would be missing the flush on the last device. > In my test, I am seeing the flush command being issued correctly during > vfio_unmap_unpin(), which is after all devices are detached. >

Re: [PATCH] iommu/amd: Fix IOMMU page flush when detach all devices from a domain

2019-01-16 Thread j...@8bytes.org
On Wed, Jan 16, 2019 at 02:40:59PM +, Suthikulpanit, Suravee wrote: > Actually, device_flush_dte(alias) should be needed regardless of this patch. > Are you planning to add this? Yes, I stumbled over this while writing the diff. I'll submit that as a separate patch. Thanks, Joerg

[PATCH 0/8 v4] k3dma patches to add support for hi3660/HiKey960

2019-01-16 Thread John Stultz
This patch series is based on recent work by Tanglei Han, and adds support for hi3660 SoCs as found on the HiKey960 board, along with a few patches I've been carrying. thanks -john New in v4: * Rework hisi,dma-avail-chans to generic dma-channel-mask, per Rob's suggestion Cc: Tanglei Han Cc:

[PATCH 3/8 v4] dma: k3dma: Upgrade k3dma driver to support hisi_asp_dma hardware

2019-01-16 Thread John Stultz
From: Youlin Wang On the hi3660 hardware there are two (at least) DMA controllers, the DMA-P (Peripherial DMA) and the DMA-A (Audio DMA). The two blocks are similar, but have some slight differences. This resulted in the vendor implementing two separate drivers, which after review, they have

[PATCH 4/8 v4] dma: k3dma: Delete axi_config

2019-01-16 Thread John Stultz
From: Li Yu Axi_config controls whether DMA resources can be accessed in non-secure mode, such as linux kernel. The register should be set by the bootloader stage and depends on the device. Thus, this patch removes axi_config from k3dma driver. Cc: Dan Williams Cc: Vinod Koul Cc: Tanglei Han

[PATCH 8/8 v4] arm64: dts: hi3660: Fixup unofficial dma-min-chan to dma-channel-mask

2019-01-16 Thread John Stultz
A undocumented and unimplemented binding got into the hi3660 dtsi, and this switches that binding to the now documented one. Cc: Tanglei Han Cc: Zhuangluan Su Cc: Ryan Grachek Cc: Manivannan Sadhasivam Cc: Wei Xu Cc: Rob Herring Cc: Mark Rutland Cc: linux-arm-ker...@lists.infradead.org Cc:

[PATCH 6/8 v4] arm64: dts: hi3660: Add dma to uart nodes

2019-01-16 Thread John Stultz
Try to add DMA support to the uart nodes following the assignments made in the dts from the victoria vendor kernel here: https://consumer.huawei.com/en/opensource/detail/?siteCode=worldwide=p10=openSourceSoftware=10=1 Cc: Tanglei Han Cc: Zhuangluan Su Cc: Ryan Grachek Cc: Manivannan Sadhasivam

[PATCH 7/8 v4] arm64: dts: hi3660: Add hisi asp dma device

2019-01-16 Thread John Stultz
From: Youlin Wang Add asp-dma device to hi3660 dts Cc: Tanglei Han Cc: Zhuangluan Su Cc: Ryan Grachek Cc: Manivannan Sadhasivam Cc: Wei Xu Cc: Rob Herring Cc: Mark Rutland Cc: linux-arm-ker...@lists.infradead.org Cc: devicet...@vger.kernel.org Acked-by: Manivannan Sadhasivam

[PATCH 2/8 v4] Documentation: bindings: dma: Add binding for dma-channel-mask

2019-01-16 Thread John Stultz
Some dma channels can be reserved for secure mode or other hardware on the SoC, so provide a binding for a bitmask listing the available channels for the kernel to use. This follows the pre-existing bcm,dma-channel-mask binding. Cc: Vinod Koul Cc: Rob Herring Cc: Mark Rutland Cc: Tanglei Han

[PATCH 1/8 v4] Documentation: bindings: k3dma: Extend the k3dma driver binding to support hisi-asp

2019-01-16 Thread John Stultz
From: Youlin Wang Extend the k3dma driver binding to support hisi-asp hardware variants. Cc: Vinod Koul Cc: Rob Herring Cc: Mark Rutland Cc: Zhuangluan Su Cc: Tanglei Han Cc: Ryan Grachek Cc: Manivannan Sadhasivam Cc: dmaeng...@vger.kernel.org Cc: devicet...@vger.kernel.org Reviewed-by:

[PATCH 5/8 v4] dma: k3dma: Add support for dma-channel-mask

2019-01-16 Thread John Stultz
From: Li Yu Add dma-channel-mask as a property for k3dma, it defines available dma channels which a non-secure mode driver can use. One sample usage of this is in Hi3660 SoC. DMA channel 0 is reserved to lpm3, which is a coprocessor for power management. So as a result, any request in kernel

Re: [RFC PATCH v2] akcipher: Introduce verify_rsa/verify for public key algorithms

2019-01-16 Thread David Howells
Umm... What do I apply this patch to? In your modified public_key_verify_signature(): > - sg_init_one(_sg, output, outlen); > - akcipher_request_set_crypt(req, _sg, _sg, sig->s_size, > + sg_init_one(_sg, output, outlen); > + akcipher_request_set_crypt(req, _sg, _sg, sig->s_size,

Re: [PATCH 4.14 00/27] 4.14.94-stable review

2019-01-16 Thread Greg Kroah-Hartman
On Wed, Jan 16, 2019 at 04:56:08PM +, Jon Hunter wrote: > > On 16/01/2019 16:02, Greg Kroah-Hartman wrote: > > On Wed, Jan 16, 2019 at 09:25:12AM +, Jon Hunter wrote: > >> > >> On 15/01/2019 16:35, Greg Kroah-Hartman wrote: > >>> This is the start of the stable review cycle for the

Re: [PATCH 11/14] staging: android: ion: Allow heap name to be null

2019-01-16 Thread Andrew F. Davis
On 1/16/19 9:28 AM, Brian Starkey wrote: > Hi Andrew, > > On Fri, Jan 11, 2019 at 12:05:20PM -0600, Andrew F. Davis wrote: >> The heap name can be used for debugging but otherwise does not seem >> to be required and no other part of the code will fail if left NULL >> except here. We can make it

Re: [PATCH v2] x86/pgtable: Always inline p4d_index

2019-01-16 Thread Randy Dunlap
On 1/16/19 5:41 AM, Nathan Chancellor wrote: > When building an allyesconfig build with Clang, the kernel fails to link > arch/x86/platform/efi/efi_64.o because of a failed BUILD_BUG_ON: > > ld: arch/x86/platform/efi/efi_64.o: in function > `efi_sync_low_kernel_mappings': > (.text+0x8e5):

Re: [PATCH net-next] mlxsw: spectrum_acl_bloom_filter: use struct_size() in kzalloc()

2019-01-16 Thread David Miller
From: "Gustavo A. R. Silva" Date: Tue, 15 Jan 2019 17:05:39 -0600 > One of the more common cases of allocation size calculations is finding > the size of a structure that has a zero-sized array at the end, along > with memory for some number of elements for that array. For example: > > struct

Re: [PATCH net-next] mlxsw: spectrum_nve: Use struct_size() in kzalloc()

2019-01-16 Thread David Miller
From: "Gustavo A. R. Silva" Date: Tue, 15 Jan 2019 17:14:29 -0600 > One of the more common cases of allocation size calculations is finding > the size of a structure that has a zero-sized array at the end, along > with memory for some number of elements for that array. For example: > > struct

Re: [PATCH 2/7] coresight: perf: Add "sinks" group to PMU directory

2019-01-16 Thread Greg KH
On Wed, Jan 16, 2019 at 09:38:09AM -0700, Mathieu Poirier wrote: > On Wed, 16 Jan 2019 at 09:33, Greg KH wrote: > > > > On Wed, Jan 16, 2019 at 09:14:33AM -0700, Mathieu Poirier wrote: > > > On Wed, 16 Jan 2019 at 08:39, Greg KH wrote: > > > > > > > > On Tue, Jan 15, 2019 at 04:07:37PM -0700,

Adaptative busy spinning with rseq

2019-01-16 Thread Mathieu Desnoyers
Hi! A follow up on the Edinburgh discussion I had with Daniel: I did a prototype implementation of adaptative busy spinning with rseq. It only uses current upstream rseq features. It's not optimized at this stage (and I don't have time to work more on it at the moment), and it's only x86-64, but

Re: [PATCH v2] Staging: fbtft: Switch to the gpio descriptor interface

2019-01-16 Thread Nishad Kamdar
On Tue, Jan 15, 2019 at 04:02:31PM +0100, Greg Kroah-Hartman wrote: > On Tue, Jan 15, 2019 at 10:17:09AM +0530, Nishad Kamdar wrote: > > This switches the fbtft driver to use GPIO descriptors > > rather than numerical gpios: > > > > Utilize the GPIO library's intrinsic handling of OF GPIOs > >

Re: [PATCH v4 07/13] irqchip: ti-sci-intr: Add support for Interrupt Router driver

2019-01-16 Thread Marc Zyngier
[Still in the process of sorting out my email - don't ask] On 27/12/2018 06:13, Lokesh Vutla wrote: > Texas Instruments' K3 generation SoCs has an IP Interrupt Router > that does allows for redirection of input interrupts to host > interrupt controller. Interrupt Router inputs are either from a >

Re: [PATCH 2/2] pwm: sifive: Add a driver for SiFive SoC PWM

2019-01-16 Thread Paul Walmsley
On Wed, 16 Jan 2019, Uwe Kleine-König wrote: > On Wed, Jan 16, 2019 at 04:40:42PM +0530, Yash Shah wrote: > > On Wed, Jan 16, 2019 at 3:30 AM Uwe Kleine-König > > wrote: > > > On Fri, Jan 11, 2019 at 01:52:44PM +0530, Yash Shah wrote: > > > > diff --git a/drivers/pwm/Kconfig

Re: [PATCH] powerpc/ps3: Use struct_size() in kzalloc()

2019-01-16 Thread Geoff Levand
Hi Gustavo, On 1/8/19 1:00 PM, Gustavo A. R. Silva wrote: > One of the more common cases of allocation size calculations is finding the > size of a structure that has a zero-sized array at the end, along with memory > for some number of elements for that array. For example: > > struct foo { >

Re: [PATCH 15/21] sparc: add checks for the return value of memblock_alloc*()

2019-01-16 Thread David Miller
From: Mike Rapoport Date: Wed, 16 Jan 2019 15:44:15 +0200 > Add panic() calls if memblock_alloc*() returns NULL. > > Most of the changes are simply addition of > > if(!ptr) > panic(); > > statements after the calls to memblock_alloc*() variants. > > Exceptions are

RE: [PATCH lora-next 2/4] dt-bindings: lora: sx125x: add basic documentation

2019-01-16 Thread Ben Whitten
Hi Andreas, > Am 08.01.19 um 09:41 schrieb Ben Whitten: > > The sx125x family are IQ radio transceivers from Semtech configured over > > SPI, they are typically connected to an sx130x series concentrator however > > may be connected to a host directly. > > "SX125x" and "SX130x" > > > > >

Re: linux-next: Tree for Jan 16 (PCI config warning?)

2019-01-16 Thread Sinan Kaya
Hi, On 1/16/2019 12:00 PM, Randy Dunlap wrote: On 1/15/19 10:38 PM, Stephen Rothwell wrote: Hi all, Changes since 20190115: on x86_64: when CONFIG_PCI is not enabled (via randconfig): WARNING: unmet direct dependencies detected for PCI_LOCKLESS_CONFIG Depends on [n]: PCI [=n]

Re: [PATCH] lib/scatterlist: Provide a DMA page iterator

2019-01-16 Thread Jason Gunthorpe
On Wed, Jan 16, 2019 at 05:11:34PM +0100, h...@lst.de wrote: > On Tue, Jan 15, 2019 at 02:25:01PM -0700, Jason Gunthorpe wrote: > > RDMA needs something similar as well, in this case drivers take a > > struct page * from get_user_pages() and need to have the DMA map fail > > if the platform can't

[PATCH] libertas: fix indentation issue

2019-01-16 Thread Colin King
From: Colin Ian King There is a statement that is incorrectly indented, fix it. Signed-off-by: Colin Ian King --- drivers/net/wireless/marvell/libertas_tf/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/marvell/libertas_tf/main.c

Re: [PATCH] clk: mmp2: avoid disabling the SP clock when unused

2019-01-16 Thread Lubomir Rintel
On Wed, 2019-01-16 at 08:37 -0800, Stephen Boyd wrote: > Quoting Lubomir Rintel (2019-01-16 01:35:05) > > There could be vital functionality running on the SP PJ1 core it can not be > > restarted just by turning the clock back on. > > > > On the OLPC laptop, the keyboard controller code runs

Re: [PATCH 2/2] pwm: sifive: Add a driver for SiFive SoC PWM

2019-01-16 Thread Uwe Kleine-König
On Wed, Jan 16, 2019 at 09:18:45AM -0800, Paul Walmsley wrote: > On Wed, 16 Jan 2019, Uwe Kleine-König wrote: > > > On Wed, Jan 16, 2019 at 04:40:42PM +0530, Yash Shah wrote: > > > On Wed, Jan 16, 2019 at 3:30 AM Uwe Kleine-König > > > wrote: > > > > On Fri, Jan 11, 2019 at 01:52:44PM +0530,

Re: [PATCH 2/7] coresight: perf: Add "sinks" group to PMU directory

2019-01-16 Thread Mathieu Poirier
On Wed, 16 Jan 2019 at 10:13, Greg KH wrote: > > On Wed, Jan 16, 2019 at 09:38:09AM -0700, Mathieu Poirier wrote: > > On Wed, 16 Jan 2019 at 09:33, Greg KH wrote: > > > > > > On Wed, Jan 16, 2019 at 09:14:33AM -0700, Mathieu Poirier wrote: > > > > On Wed, 16 Jan 2019 at 08:39, Greg KH > > > >

Re: [RFC 1/7] devicetree: bindings: Document domains controller bindings

2019-01-16 Thread Mark Brown
On Mon, Jan 14, 2019 at 03:41:56PM +0100, Benjamin Gaignard wrote: > +Common Domains Controller bindings properties > + > +Domains Controller framework defines common bindings properties to describe > +the configurations to be applied for each device. I suspect this is going to need a few more

Racoh Computer design suggestion (+ theoretical prototype names).

2019-01-16 Thread Ywe Cærlyn
(v1.1) I have been working with the philosophy behind Racoh Computer the last half year and a bit more, an ultimate computer based on principles from my research on monotheism that has been top 1% on academia.edu, and present a summary of it: Racoh Computer Design

[PATCH v3] Staging: fbtft: Switch to the gpio descriptor interface

2019-01-16 Thread Nishad Kamdar
This switches the fbtft driver to use GPIO descriptors rather than numerical gpios: Utilize the GPIO library's intrinsic handling of OF GPIOs and polarity. If the line is flagged active low, gpiolib will deal with this. Remove gpios from platform device structure. Neither assign statically

RE: [PATCH 1/3] arm64: dts: add dpaa2-console node for DPAA2 platforms

2019-01-16 Thread Ioana Ciornei
> > Subject: Re: [PATCH 1/3] arm64: dts: add dpaa2-console node for DPAA2 > > platforms > > > > On Wed, Jan 16, 2019 at 10:02:01AM +, Ioana Ciornei wrote: > > > > Subject: Re: [PATCH 1/3] arm64: dts: add dpaa2-console node for > > > > DPAA2 platforms > > > > > > > > On Fri, Dec 21, 2018 at

Re: kernel BUG at kernel/sched/core.c:3490!

2019-01-16 Thread Oleg Nesterov
On 01/12, Kohli, Gaurav wrote: > > HI Peter, Oleg, > > as per flag and state this seems to be possible only from below code: Not sure I understand you, > XXX: 0 1 0x40844c > PF_NOFREEZE > PF_RANDOMIZE > PF_SIGNALED > PF_FORKNOEXEC > PF_EXITING > PF_EXITPIDONE > > above state shows do_exit runs

Re: [PATCH 4.14 00/27] 4.14.94-stable review

2019-01-16 Thread Jon Hunter
On 16/01/2019 17:11, Greg Kroah-Hartman wrote: > On Wed, Jan 16, 2019 at 04:56:08PM +, Jon Hunter wrote: >> >> On 16/01/2019 16:02, Greg Kroah-Hartman wrote: >>> On Wed, Jan 16, 2019 at 09:25:12AM +, Jon Hunter wrote: On 15/01/2019 16:35, Greg Kroah-Hartman wrote: > This is

Re: [PATCH v2 5/5] psi: introduce psi monitor

2019-01-16 Thread Suren Baghdasaryan
On Wed, Jan 16, 2019 at 5:24 AM Peter Zijlstra wrote: > > On Mon, Jan 14, 2019 at 11:30:12AM -0800, Suren Baghdasaryan wrote: > > For memory ordering (which Johannes also pointed out) the critical point is: > > > > times[cpu] += delta | if g->polling: > > smp_wmb() |

Re: [PATCH 2/8] vop: Cast pointers to uintptr_t

2019-01-16 Thread Joe Perches
On Wed, 2019-01-16 at 17:32 +0100, Vincent Whitchurch wrote: > Fix these on 32-bit: > > vop_vringh.c:711:13: error: cast from pointer to integer of different > size [-Werror=pointer-to-int-cast] [] > diff --git a/drivers/misc/mic/vop/vop_main.c b/drivers/misc/mic/vop/vop_main.c [] > @@ -497,7

Re: yama: unsafe usage of ptrace_relation->tracer

2019-01-16 Thread Oleg Nesterov
On 01/10, Tetsuo Handa wrote: > > syzbot is hitting this problem as of linux-next-20190110. > When a patch will be proposed? Well. I have already suggested the patch below several times. It won't fix all problems in this code (I forgot the details but iirc ptracer_exception_found() is broken too,

[PATCH 1/4] selftests: lib: allow to override CC in the top-level Makefile

2019-01-16 Thread Daniel Díaz
From: Fathi Boudra Relax CC assignment to allow to override CC in the top-level Makefile. Signed-off-by: Denys Dmytriyenko --- tools/testing/selftests/lib.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/lib.mk b/tools/testing/selftests/lib.mk

[PATCH 4/4] selftests: timers: use LDLIBS instead of LDFLAGS

2019-01-16 Thread Daniel Díaz
From: Fathi Boudra posix_timers fails to build due to undefined reference errors: aarch64-linaro-linux-gcc --sysroot=/build/tmp-rpb-glibc/sysroots/hikey -O2 -pipe -g -feliminate-unused-debug-types -O3 -Wl,-no-as-needed -Wall -DKTEST -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -lrt

[PATCH 3/4] selftests: seccomp: use LDLIBS instead of LDFLAGS

2019-01-16 Thread Daniel Díaz
From: Fathi Boudra seccomp_bpf fails to build due to undefined reference errors: aarch64-linaro-linux-gcc --sysroot=/build/tmp-rpb-glibc/sysroots/hikey -O2 -pipe -g -feliminate-unused-debug-types -Wl,-no-as-needed -Wall -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -lpthread seccomp_bpf.c -o

[PATCH 2/4] selftests: net: use LDLIBS instead of LDFLAGS

2019-01-16 Thread Daniel Díaz
From: Fathi Boudra reuseport_bpf_numa fails to build due to undefined reference errors: aarch64-linaro-linux-gcc --sysroot=/build/tmp-rpb-glibc/sysroots/hikey -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -lnuma

Re: [PATCH] powerpc/ps3: Use struct_size() in kzalloc()

2019-01-16 Thread Gustavo A. R. Silva
Hi Geoff, On 1/16/19 11:21 AM, Geoff Levand wrote: Hi Gustavo, On 1/8/19 1:00 PM, Gustavo A. R. Silva wrote: One of the more common cases of allocation size calculations is finding the size of a structure that has a zero-sized array at the end, along with memory for some number of elements

Re: [PATCH 4.14 00/27] 4.14.94-stable review

2019-01-16 Thread Greg Kroah-Hartman
On Wed, Jan 16, 2019 at 05:38:34PM +, Jon Hunter wrote: > > On 16/01/2019 17:11, Greg Kroah-Hartman wrote: > > On Wed, Jan 16, 2019 at 04:56:08PM +, Jon Hunter wrote: > >> > >> On 16/01/2019 16:02, Greg Kroah-Hartman wrote: > >>> On Wed, Jan 16, 2019 at 09:25:12AM +, Jon Hunter wrote:

Re: [PATCH] mm/mincore: allow for making sys_mincore() privileged

2019-01-16 Thread Linus Torvalds
On Thu, Jan 17, 2019 at 4:12 AM Jiri Kosina wrote: > > So that seems to deal with mincore() in a reasonable way indeed. > > It doesn't unfortunately really solve the preadv2(RWF_NOWAIT), nor does it > provide any good answer what to do about it, does it? As I suggested earlier in the thread, the

Re: [PATCH 0/5] Crypto Cleanup

2019-01-16 Thread Eric Biggers
On Wed, Jan 16, 2019 at 10:50:29AM +0800, Xiongfeng Wang wrote: > The patchset introduce a helper to (un)register a array of crypto templates. > The following patches use this helper to simplify the code. This is also > a preparation for a coming patchset, which will register several crypto >

Re: [PATCH 1/5] crypto: api - add a helper to (un)register a array of templates

2019-01-16 Thread Eric Biggers
A few nits: On Wed, Jan 16, 2019 at 10:50:30AM +0800, Xiongfeng Wang wrote: > This patch add a helper to (un)register a array of templates. The > following patches will use this helper to simplify the code. > > Signed-off-by: Xiongfeng Wang > --- > crypto/algapi.c | 27

Re: [RFC PATCH] time/nohz: allow the boot CPU to be nohz_full

2019-01-16 Thread Frederic Weisbecker
On Mon, Jan 14, 2019 at 04:47:45PM +1000, Nicholas Piggin wrote: > We have a supercomputer site testing nohz_full to reduce jitter with > good results, but they want CPU0 to be nohz_full. That happens to be > the boot CPU, which is disallowed by the nohz_full code. > > They have existing job

[PATCH 1/3] clk: meson: gxbb: claim clock controller input clock from DT

2019-01-16 Thread Jerome Brunet
Instead of relying on a fixed name for the xtal clock, claim the controller input clock trough DT. Signed-off-by: Jerome Brunet --- drivers/clk/meson/gxbb.c | 37 - 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/drivers/clk/meson/gxbb.c

[PATCH 2/3] clk: meson: axg: claim clock controller input clock from DT

2019-01-16 Thread Jerome Brunet
Instead of relying on a fixed name for the xtal clock, claim the controller input clock trough DT. Signed-off-by: Jerome Brunet --- drivers/clk/meson/axg.c | 27 +++ 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/drivers/clk/meson/axg.c

[PATCH 3/3] clk: meson: ao-clkc: claim clock controller input clocks from DT

2019-01-16 Thread Jerome Brunet
Instead of relying on a fixed names for the differents input clocks of the controller, get them through DT. Signed-off-by: Jerome Brunet --- drivers/clk/meson/axg-aoclk.c | 22 +++- drivers/clk/meson/gxbb-aoclk.c | 25 -- drivers/clk/meson/meson-aoclk.c |

[PATCH 0/3] clk: meson: claim input clocks through DT

2019-01-16 Thread Jerome Brunet
Following the preparation series [0] sent in the last cycle, this patchset adds clock input claim through DT in the gxbb and axg clock controllers [0]: https://lkml.kernel.org/r/20181203171640.12110-1-jbru...@baylibre.com Jerome Brunet (3): clk: meson: gxbb: claim clock controller input clock

Re: [RFC PATCH] i2c: imx: dma map the i2c data i/o register

2019-01-16 Thread Robin Murphy
On 16/01/2019 16:17, Laurentiu Tudor wrote: This is an attempt to fix an iommu exception when doing dma to the i2c controller with EDMA. Without these mappings the smmu raises a context fault [1] exactly with the address of the i2c data i/o reg. This was seen on an NXP LS1043A chip while working

Re: [PATCH 2/5] crypto: ccm - use template array registering API to simplify the code

2019-01-16 Thread Eric Biggers
On Wed, Jan 16, 2019 at 10:50:31AM +0800, Xiongfeng Wang wrote: > Use crypto template array registering API to simplify the code. > > Signed-off-by: Xiongfeng Wang > --- > crypto/ccm.c | 81 > +++- > 1 file changed, 26 insertions(+), 55

[PATCH] arm64: dts: meson: s400: enable sdr104 on sdio

2019-01-16 Thread Jerome Brunet
The bcm wifi/bt device on SDIO support SDR104 and it seems to work well following the recent mmc driver update, so enable this ultra high speed mode Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH] arm64: dts: meson: s400: fix emmc maximum rate

2019-01-16 Thread Jerome Brunet
Limiting the HS200 rate on the s400 was just a way to mask that the tuning setting were not correct. This seems to have been fixed with the recent MMC driver update. We can now use HS200 at full speed. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 3 +-- 1

[PATCHv4 06/13] acpi/hmat: Register processor domain to its memory

2019-01-16 Thread Keith Busch
If the HMAT Subsystem Address Range provides a valid processor proximity domain for a memory domain, or a processor domain with the highest performing access exists, register the memory target with that initiator so this relationship will be visible under the node's sysfs directory. Since HMAT

[PATCHv4 03/13] acpi/hmat: Parse and report heterogeneous memory

2019-01-16 Thread Keith Busch
Systems may provide different memory types and export this information in the ACPI Heterogeneous Memory Attribute Table (HMAT). Parse these tables provided by the platform and report the memory access and caching attributes. Signed-off-by: Keith Busch --- drivers/acpi/Kconfig | 1 +

[PATCHv4 09/13] acpi/hmat: Register performance attributes

2019-01-16 Thread Keith Busch
Save the best performace access attributes and register these with the memory's node if HMAT provides the locality table. While HMAT does make it possible to know performance for all possible initiator-target pairings, we export only the best pairings at this time. Signed-off-by: Keith Busch ---

[PATCHv4 11/13] Documentation/ABI: Add node cache attributes

2019-01-16 Thread Keith Busch
Add the attributes for the system memory side caches. Signed-off-by: Keith Busch --- Documentation/ABI/stable/sysfs-devices-node | 34 + 1 file changed, 34 insertions(+) diff --git a/Documentation/ABI/stable/sysfs-devices-node

[PATCHv4 10/13] node: Add memory caching attributes

2019-01-16 Thread Keith Busch
System memory may have side caches to help improve access speed to frequently requested address ranges. While the system provided cache is transparent to the software accessing these memory ranges, applications can optimize their own access based on cache attributes. Provide a new API for the

[PATCHv4 01/13] acpi: Create subtable parsing infrastructure

2019-01-16 Thread Keith Busch
Parsing entries in an ACPI table had assumed a generic header structure. There is no standard ACPI header, though, so less common layouts with different field sizes required custom parsers to go through their subtable entry list. Create the infrastructure for adding different table types so

[PATCHv4 13/13] doc/mm: New documentation for memory performance

2019-01-16 Thread Keith Busch
Platforms may provide system memory where some physical address ranges perform differently than others, or is side cached by the system. Add documentation describing a high level overview of such systems and the perforamnce and caching attributes the kernel provides for applications wishing to

[PATCHv4 02/13] acpi: Add HMAT to generic parsing tables

2019-01-16 Thread Keith Busch
The Heterogeneous Memory Attribute Table (HMAT) header has different field lengths than the existing parsing uses. Add the HMAT type to the parsing rules so it may be generically parsed. Cc: Dan Williams Reviewed-by: Rafael J. Wysocki Signed-off-by: Keith Busch --- drivers/acpi/tables.c | 9

[PATCHv4 12/13] acpi/hmat: Register memory side cache attributes

2019-01-16 Thread Keith Busch
Register memory side cache attributes with the memory's node if HMAT provides the side cache iniformation table. Signed-off-by: Keith Busch --- drivers/acpi/hmat/hmat.c | 32 1 file changed, 32 insertions(+) diff --git a/drivers/acpi/hmat/hmat.c

[PATCHv4 08/13] Documentation/ABI: Add node performance attributes

2019-01-16 Thread Keith Busch
Add descriptions for memory class initiator performance access attributes. Signed-off-by: Keith Busch --- Documentation/ABI/stable/sysfs-devices-node | 28 1 file changed, 28 insertions(+) diff --git a/Documentation/ABI/stable/sysfs-devices-node

[PATCHv4 00/13] Heterogeneuos memory node attributes

2019-01-16 Thread Keith Busch
The series seems quite calm now. I've received some approvals of the on the proposal, and heard no objections on the new core interfaces. Please let me know if there is anyone or group of people I should request and wait for a review. And if anyone reading this would like additional time as well

[PATCHv4 04/13] node: Link memory nodes to their compute nodes

2019-01-16 Thread Keith Busch
Systems may be constructed with various specialized nodes. Some nodes may provide memory, some provide compute devices that access and use that memory, and others may provide both. Nodes that provide memory are referred to as memory targets, and nodes that can initiate memory access are referred

[PATCHv4 07/13] node: Add heterogenous memory access attributes

2019-01-16 Thread Keith Busch
Heterogeneous memory systems provide memory nodes with different latency and bandwidth performance attributes. Provide a new kernel interface for subsystems to register the attributes under the memory target node's initiator access class. If the system provides this information, applications may

[PATCHv4 05/13] Documentation/ABI: Add new node sysfs attributes

2019-01-16 Thread Keith Busch
Add entries for memory initiator and target node class attributes. Signed-off-by: Keith Busch --- Documentation/ABI/stable/sysfs-devices-node | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/Documentation/ABI/stable/sysfs-devices-node

Re: [PATCH v6] arm64: implement ftrace with regs

2019-01-16 Thread Julien Thierry
On 16/01/2019 15:56, Julien Thierry wrote: > On 14/01/2019 12:26, Mark Rutland wrote: >> On Mon, Jan 14, 2019 at 11:13:59PM +1100, Balbir Singh wrote: >>> On Fri, Jan 04, 2019 at 05:50:18PM +, Mark Rutland wrote: Hi Torsten, On Fri, Jan 04, 2019 at 03:10:53PM +0100, Torsten

[PATCH v8] arm64: dts: sdm845: Add gpu and gmu device nodes

2019-01-16 Thread Jordan Crouse
Add the nodes to describe the Adreno GPU and GMU devices for sdm845. Signed-off-by: Jordan Crouse Reviewed-by: Douglas Anderson Tested-by: Douglas Anderson --- This has the following dependencies: [v11,1/9] dt-bindings: opp: Introduce opp-level bindings

Re: [PATCH -next] soc: bcm: bcm2835-pm: Make local symbol static

2019-01-16 Thread Scott Branden
Looks good. On 2019-01-15 9:44 p.m., Wei Yongjun wrote: Fixes the following sparse warning: drivers/soc/bcm/bcm2835-power.c:556:32: warning: symbol 'bcm2835_reset_ops' was not declared. Should it be static? Fixes: 670c672608a1 ("soc: bcm: bcm2835-pm: Add support for power domains under a

Applied "ASoC: sdm845: Set DAI format for dmic codec" to the asoc tree

2019-01-16 Thread Mark Brown
The patch ASoC: sdm845: Set DAI format for dmic codec has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Applied "ASoC: qcom: Kconfig: select max98927 for sdm845" to the asoc tree

2019-01-16 Thread Mark Brown
The patch ASoC: qcom: Kconfig: select max98927 for sdm845 has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent

Re: [PATCH] dma-debug: add dumping facility via debugfs

2019-01-16 Thread Robin Murphy
On 16/01/2019 13:44, Corentin Labbe wrote: While debugging a DMA mapping leak, I needed to access debug_dma_dump_mappings() but easily from user space. This patch adds a /sys/kernel/debug/dma-api/dump file which contain all current DMA mapping. Signed-off-by: Corentin Labbe ---

Assalamu`Alaikum.

2019-01-16 Thread Mohammad Ouattara
Dear Sir/Madam. Assalamu`Alaikum. I am Dr mohammad ouattara, I have ($14.6 Million us dollars) to transfer into your account, I will send you more details about this deal and the procedures to follow when I receive a positive response from you, Have a great day, Dr mohammad ouattara.

Re: [PATCH 3/4] selftests: seccomp: use LDLIBS instead of LDFLAGS

2019-01-16 Thread Kees Cook
On Wed, Jan 16, 2019 at 9:44 AM Daniel Díaz wrote: > > From: Fathi Boudra > > seccomp_bpf fails to build due to undefined reference errors: > > aarch64-linaro-linux-gcc --sysroot=/build/tmp-rpb-glibc/sysroots/hikey > -O2 -pipe -g -feliminate-unused-debug-types -Wl,-no-as-needed -Wall >

Re: [PATCH v2 2/2] reset: Add Broadcom STB SW_INIT reset controller driver

2019-01-16 Thread Scott Branden
On 2019-01-15 10:44 a.m., Florian Fainelli wrote: Add support for resetting blocks through the Linux reset controller subsystem when reset lines are provided through a SW_INIT-style reset controller on Broadcom STB SoCs. Signed-off-by: Florian Fainelli --- drivers/reset/Kconfig |

[PATCH v25 5/6] ntb: ntb_hw_intel: use io-64-nonatomic instead of in-driver hacks

2019-01-16 Thread Logan Gunthorpe
Now that ioread64 and iowrite64 are available in io-64-nonatomic, we can remove the hack at the top of ntb_hw_intel.c and replace it with an include. Signed-off-by: Logan Gunthorpe Reviewed-by: Andy Shevchenko Acked-by: Dave Jiang Acked-by: Allen Hubbe Acked-by: Jon Mason ---

[PATCH 3/4] dax/kmem: let walk_system_ram_range() search child resources

2019-01-16 Thread Dave Hansen
From: Dave Hansen In the process of onlining memory, we use walk_system_ram_range() to find the actual RAM areas inside of the area being onlined. However, it currently only finds memory resources which are "top-level" iomem_resources. Children are not currently searched which causes it to

[PATCH 4/4] dax: "Hotplug" persistent memory for use like normal RAM

2019-01-16 Thread Dave Hansen
From: Dave Hansen Currently, a persistent memory region is "owned" by a device driver, either the "Direct DAX" or "Filesystem DAX" drivers. These drivers allow applications to explicitly use persistent memory, generally by being modified to use special, new libraries. However, this limits

[PATCH v25 0/6] Add io{read|write}64 to io-64-atomic headers

2019-01-16 Thread Logan Gunthorpe
This is resend number 6 since the last change to this series. This cleanup was requested by Greg KH back in June of 2017. I've resent the series a couple times a cycle since then, updating and fixing as feedback was slowly recieved some patches were alread accepted by specific arches. In June

[PATCH 1/4] mm/resource: return real error codes from walk failures

2019-01-16 Thread Dave Hansen
From: Dave Hansen walk_system_ram_range() can return an error code either becuase *it* failed, or because the 'func' that it calls returned an error. The memory hotplug does the following: ret = walk_system_ram_range(..., func); if (ret) return ret; and 'ret'

[PATCH 0/4] Allow persistent memory to be used like normal RAM

2019-01-16 Thread Dave Hansen
I would like to get this queued up to get merged. Since most of the churn is in the nvdimm code, and it also depends on some refactoring that only exists in the nvdimm tree, it seems like putting it in *via* the nvdimm tree is the best path. But, this series makes non-trivial changes to the

[PATCH v25 3/6] iomap: introduce io{read|write}64_{lo_hi|hi_lo}

2019-01-16 Thread Logan Gunthorpe
In order to provide non-atomic functions for io{read|write}64 that will use readq and writeq when appropriate. We define a number of variants of these functions in the generic iomap that will do non-atomic operations on pio but atomic operations on mmio. These functions are only defined if readq

[PATCH 2/4] mm/memory-hotplug: allow memory resources to be children

2019-01-16 Thread Dave Hansen
From: Dave Hansen The mm/resource.c code is used to manage the physical address space. We can view the current resource configuration in /proc/iomem. An example of this is at the bottom of this description. The nvdimm subsystem "owns" the physical address resources which map to persistent

[PATCH v25 1/6] iomap: Use non-raw io functions for io{read|write}XXbe

2019-01-16 Thread Logan Gunthorpe
Fix an asymmetry in the io{read|write}XXbe functions in that the big-endian variants make use of the raw io accessors while the little-endian variants use the regular accessors. Some architectures implement barriers to order against both spinlocks and DMA accesses and for these case, the

[PATCH v25 4/6] io-64-nonatomic: add io{read|write}64[be]{_lo_hi|_hi_lo} macros

2019-01-16 Thread Logan Gunthorpe
This patch adds generic io{read|write}64[be]{_lo_hi|_hi_lo} macros if they are not already defined by the architecture. (As they are provided by the generic iomap library). The patch also points io{read|write}64[be] to the variant specified by the header name. This is because new drivers are

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