[PATCH] gpu: drm: etnaviv: Change return type to vm_fault_t

2018-05-21 Thread Souptick Joarder
Use new return type vm_fault_t for fault handler. For now, this is just documenting that the function returns a VM_FAULT value rather than an errno. Once all instances are converted, vm_fault_t will become a distinct type. Ref- commit 1c8f422059ae ("mm: change return type to vm_fault_t") Previous

Re: [External] Re: [PATCH 2/3] include/linux/gfp.h: use unsigned int in gfp_zone

2018-05-21 Thread David Sterba
On Tue, May 15, 2018 at 04:54:04AM -0700, Matthew Wilcox wrote: > > > Subject: btrfs: Allocate extents from ZONE_NORMAL > > > From: Matthew Wilcox > > > > > > If anyone ever passes a GFP_DMA or GFP_MOVABLE allocation flag to > > > allocate_extent_state, it will try to allocate memory from the wro

Re: [PATCH v2] packet: track ring entry use using a shadow ring to prevent RX ring overrun

2018-05-21 Thread Willem de Bruijn
On Mon, May 21, 2018 at 8:57 AM, Jon Rosen (jrosen) wrote: > On Sunday, May 20, 2018 7:22 PM, Willem de Bruijn > wrote: >> On Sun, May 20, 2018 at 6:51 PM, Willem de Bruijn >> wrote: >>> On Sat, May 19, 2018 at 8:07 AM, Jon Rosen wrote: Fix PACKET_RX_RING bug for versions TPACKET_V1 and TP

[PATCH v10 03/16] hackrf: group device capabilities

2018-05-21 Thread Ezequiel Garcia
From: Gustavo Padovan Instead of putting V4L2_CAP_STREAMING and V4L2_CAP_READWRITE everywhere, set device_caps earlier with these values. Signed-off-by: Gustavo Padovan --- drivers/media/usb/hackrf/hackrf.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers

[PATCH v10 04/16] omap3isp: group device capabilities

2018-05-21 Thread Ezequiel Garcia
From: Gustavo Padovan Instead of putting V4L2_CAP_STREAMING everywhere, set device_caps earlier with this value. v2: move cap->capabilities assignment down (Hans Verkuil) Signed-off-by: Gustavo Padovan --- drivers/media/platform/omap3isp/ispvideo.c | 10 ++ 1 file changed, 6 insertion

[PATCH v10 06/16] vb2: add is_unordered callback for drivers

2018-05-21 Thread Ezequiel Garcia
From: Gustavo Padovan Explicit synchronization benefits a lot from ordered queues, they fit better in a pipeline with DRM for example so create a opt-in way for drivers notify videobuf2 that the queue is unordered. Drivers don't need implement it if the queue is ordered. v5: rename it to vb2_op

[PATCH v10 11/16] vb2: add explicit fence user API

2018-05-21 Thread Ezequiel Garcia
From: Gustavo Padovan Turn the reserved2 field into fence_fd that we will use to send an in-fence to the kernel or return an out-fence from the kernel to userspace. Two new flags were added, V4L2_BUF_FLAG_IN_FENCE, that should be used when sending an in-fence to the kernel to be waited on, and V

[PATCH v10 10/16] vb2: mark codec drivers as unordered

2018-05-21 Thread Ezequiel Garcia
From: Gustavo Padovan In preparation to have full support to explicit fence we are marking codec as non-ordered preventively. It is easier and safer from an uAPI point of view to move from unordered to ordered than the opposite. v2: mark only codec drivers as unordered (Nicolas and Hans) Signed

[PATCH v10 13/16] vb2: add out-fence support to QBUF

2018-05-21 Thread Ezequiel Garcia
From: Gustavo Padovan If V4L2_BUF_FLAG_OUT_FENCE flag is present on the QBUF call we create an out_fence and send its fd to userspace in the fence_fd field as a return arg for the QBUF call. The fence is signaled on buffer_done(), when the job on the buffer is finished. v12: - Pass the fence_fd

[PATCH v10 15/16] v4l: Add V4L2_CAP_FENCES to drivers

2018-05-21 Thread Ezequiel Garcia
From: Gustavo Padovan Drivers that use videobuf2 are capable of using fences and should report that to userspace. v10: - Add CAPS_FENCES to drivers that don't use fh->m2m_ctx. - Keep the ifdef V4L2_MEM2MEM_DEV. - Set CAPS_FENCES after vidioc_querycap. v9: Add in the core. Signed-off-b

[PATCH v10 16/16] v4l: Document explicit synchronization behavior

2018-05-21 Thread Ezequiel Garcia
From: Gustavo Padovan Add section to VIDIOC_QBUF and VIDIOC_QUERY_BUF about it v9: assorted improvements. v8: amend querybuf documentation. v7: minor issues and English improvements (Hans Verkuil) v6: Close some gaps in the docs (Hans) v5: - Remove V4L2_CAP_ORDERED - Add doc about V4L2_F

[PATCH v10 14/16] v4l: introduce the fences capability

2018-05-21 Thread Ezequiel Garcia
From: Gustavo Padovan Drivers capable of using fences (vb2 drivers) should report the V4L2_CAP_FENCES to userspace, so add this flag to the uapi. v2: minor doc/english fix (Hans Verkuil) Signed-off-by: Gustavo Padovan --- Documentation/media/uapi/v4l/vidioc-querycap.rst | 3 +++ include/uapi/

[PATCH v10 12/16] vb2: add in-fence support to QBUF

2018-05-21 Thread Ezequiel Garcia
From: Gustavo Padovan Receive in-fence from userspace and add support for waiting on them before queueing the buffer to the driver. Buffers can't be queued to the driver before its fences signal. And a buffer can't be queued to the driver out of the order they were queued from userspace. That mea

[PATCH v10 09/16] cobalt: add .is_unordered() for cobalt

2018-05-21 Thread Ezequiel Garcia
From: Gustavo Padovan The cobalt driver may reorder the capture buffers so we need to report it as such. v3: set formats as unordered v2: use vb2_ops_set_unordered() helper Signed-off-by: Gustavo Padovan Signed-off-by: Ezequiel Garcia --- drivers/media/pci/cobalt/cobalt-v4l2.c | 4 1 fi

[PATCH v10 08/16] v4l: mark unordered formats

2018-05-21 Thread Ezequiel Garcia
From: Gustavo Padovan Now that we've introduced the V4L2_FMT_FLAG_UNORDERED flag, mark the appropriate formats. v2: Set unordered flag before calling the driver callback. Signed-off-by: Gustavo Padovan Signed-off-by: Ezequiel Garcia --- drivers/media/v4l2-core/v4l2-ioctl.c | 74 +

[PATCH v10 05/16] vb2: move vb2_ops functions to videobuf2-core.[ch]

2018-05-21 Thread Ezequiel Garcia
From: Gustavo Padovan vb2_ops_wait_prepare() and vb2_ops_wait_finish() were in the wrong file. Signed-off-by: Gustavo Padovan --- drivers/media/common/videobuf2/videobuf2-core.c | 14 ++ drivers/media/common/videobuf2/videobuf2-v4l2.c | 14 -- include/media/videobuf2-co

[PATCH v10 07/16] v4l: add unordered flag to format description ioctl

2018-05-21 Thread Ezequiel Garcia
From: Gustavo Padovan For explicit synchronization it important for userspace to know if the format being used by the driver can deliver the buffers back to userspace in the same order they were queued with QBUF. Ordered streams fits nicely in a pipeline with DRM for example, where ordered buffe

[PATCH v10 02/16] xilinx: regroup caps on querycap

2018-05-21 Thread Ezequiel Garcia
From: Gustavo Padovan To better organize the code we concentrate the setting of V4L2_CAP_STREAMING in one place. v2: move cap->capabilities assignment down (Hans Verkuil) Signed-off-by: Gustavo Padovan --- drivers/media/platform/xilinx/xilinx-dma.c | 10 ++ 1 file changed, 6 insertion

[PATCH v10 01/16] videobuf2: Make struct vb2_buffer refcounted

2018-05-21 Thread Ezequiel Garcia
The in-fence implementation involves having a per-buffer fence callback, that triggers on the fence signal. The fence callback is called asynchronously and needs a valid reference to the associated ideobuf2 buffer. Allow this by making the vb2_buffer refcounted, so it can be passed to other contex

[PATCH v10 00/16] V4L2 Explicit Synchronization

2018-05-21 Thread Ezequiel Garcia
Hi all, The most relevant change for this round is that all the work done in the fence callback is now moved to a workqueue, that runs with the queue lock held. Although this introduces some latency, it is however needed to take the vb2_queue mutex and safely call vb2 ops. Given the fence callb

Re: [PATCH v2] schedutil: Allow cpufreq requests to be made even when kthread kicked

2018-05-21 Thread Patrick Bellasi
On 21-May 08:49, Joel Fernandes wrote: > On Mon, May 21, 2018 at 11:50:55AM +0100, Patrick Bellasi wrote: > > On 18-May 11:55, Joel Fernandes (Google.) wrote: > > > From: "Joel Fernandes (Google)" > > > > > > Currently there is a chance of a schedutil cpufreq update request to be > > > dropped if

Re: [RHEL-8] arm64: add missing early clobber in atomic64_dec_if_positive()

2018-05-21 Thread Will Deacon
Hi Mark, Thanks for reporting this. On Sat, May 19, 2018 at 08:17:26PM -0400, Mark Salter wrote: > When running a kernel compiled with gcc8 on a machine using LSE, I > get: > > Unable to handle kernel paging request at virtual address 112221 [...] > The fault happens at the casal insn

Re: ARC compact700 NPS platform - EZ_MachineCheck exception handler

2018-05-21 Thread Vineet Gupta
On 05/21/2018 07:14 AM, Ofer Levi(SW) wrote: Resending, due to typo in LKML mail address. Also please CC linux-snps-...@lists.infradead.org for any ARC Linux related posts. The EV_MachineCheck exception handler is halting the core for exceptions which are not tlb_overlap_fault. Sin

Re: [PATCH] audit: add containerid support for IMA-audit

2018-05-21 Thread Steve Grubb
On Thursday, May 17, 2018 10:18:13 AM EDT Stefan Berger wrote: > > audit_log_container_info() then releasing the local context. This > > version of the record has additional concerns covered here: > > https://github.com/linux-audit/audit-kernel/issues/52 > > Following the discussion there and the

Re: PROBLEM: mce: [Hardware Error] from dmesg -l emerg

2018-05-21 Thread Luck, Tony
On Mon, May 21, 2018 at 05:31:52PM +0530, Jeffrin Thalakkottoor wrote: > > Ok, but please do not top-post. > > Ok > > > Looks like mcelog has trouble decoding this. Have you updated mcelog to > > the latest version in your distro? > . > mcelog 153+dfsg-1 So this is

[PATCH] media: si470x: fix potential Spectre variant 1

2018-05-21 Thread Gustavo A. R. Silva
band->index can be controlled by user-space, hence leading to a potential exploitation of the Spectre variant 1 vulnerability. This issue was detected with the help of Smatch: drivers/media/radio/si470x/radio-si470x-common.c:758 si470x_vidioc_enum_freq_bands() warn: potential spectre issue 'bands

Re: [PATCH v4 5/5] remoteproc: qcom: Always assert and deassert reset signals in SDM845

2018-05-21 Thread Sibi S
Hi Bjorn, Thanks for the review. Will make all the required changes in v5. On 05/19/2018 03:17 AM, Bjorn Andersson wrote: On Wed 25 Apr 08:08 PDT 2018, Sibi Sankar wrote: SDM845 brings a new reset signal ALT_RESET which is a part of the MSS subsystem hence requires some of the active clks to b

Re: [RFC PATCH net-next 10/12] vhost_net: build xdp buff

2018-05-21 Thread Jesse Brandeburg
On Mon, 21 May 2018 17:04:31 +0800 Jason wrote: > This patch implement build XDP buffers in vhost_net. The idea is do > userspace copy in vhost_net and build XDP buff based on the > page. Vhost_net can then submit one or an array of XDP buffs to > underlayer socket (e.g TUN). TUN can choose to do X

Re: [PATCH v2]: perf/x86: store user space frame-pointer value on a sample

2018-05-21 Thread Alexey Budankov
Hi Andy, On 21.05.2018 17:14, Andy Lutomirski wrote: > >> On May 21, 2018, at 5:44 AM, Alexey Budankov >> wrote: >> >> Hi Peter, >> >>> On 10.05.2018 13:14, Peter Zijlstra wrote: >>> On Thu, May 10, 2018 at 12:42:38PM +0300, Alexey Budankov wrote: > The Changelog needs to state that user_re

Re: [PATCH v4 4/5] remoteproc: qcom: Add support for mss remoteproc on SDM845

2018-05-21 Thread Sibi S
Hi Bjorn, Thanks for the review. On 05/19/2018 03:01 AM, Bjorn Andersson wrote: On Wed 25 Apr 08:08 PDT 2018, Sibi Sankar wrote: From SDM845, the Q6SS reset sequence on software side has been simplified with the introduction of boot FSM which assists in bringing the Q6 out of reset Add GLINK

Re: [PATCH] remoteproc: Proxy unvote clk/regs in handover context

2018-05-21 Thread Sibi S
Hi Bjorn, Thanks for the review. Will make all the suggested changes. On 05/19/2018 01:28 AM, Bjorn Andersson wrote: On Wed 25 Apr 07:50 PDT 2018, Sibi Sankar wrote: Introduce interrupt handler for smp2p ready interrupt and handle start completion. Remove the proxy votes for clocks and regulat

Re: [RFC PATCH net-next 04/12] vhost_net: split out datacopy logic

2018-05-21 Thread Jesse Brandeburg
On Mon, 21 May 2018 17:04:25 +0800 Jason wrote: > Instead of mixing zerocopy and datacopy logics, this patch tries to > split datacopy logic out. This results for a more compact code and > specific optimization could be done on top more easily. > > Signed-off-by: Jason Wang > --- > drivers/vhost

[PATCH] rtc: report time-retrieval errors when updating alarm

2018-05-21 Thread Brian Norris
__rtc_read_time() can fail (e.g., if the RTC uses an unreliable medium). When it does, we don't report the error, but instead calculate a 1-second alarm based on the potentially-garbage 'tm' (in practice, __rtc_read_time() zeroes out the time first, so it's likely to still be all 0). Let's propaga

Re: [RFC PATCH] mtd: spi-nor: add support to non-uniform SPI NOR flash memories

2018-05-21 Thread Tudor Ambarus
Hi, Marek, On 05/21/2018 02:35 PM, Marek Vasut wrote: On 05/18/2018 11:32 AM, Tudor Ambarus wrote: From: Cyrille Pitchen This patch is a first step in introducing the support of SPI memories with non-uniform erase sizes like Spansion s25fs512s. It introduces the memory erase map which split

Re: [PATCH] tty: add missing const to termios hw-change helper

2018-05-21 Thread Greg Kroah-Hartman
On Mon, May 21, 2018 at 01:08:44PM +0200, Johan Hovold wrote: > Add missing const qualifiers to the termios hw-change helper parameters, > which is used by few USB serial drivers. This specifically allows the > pl2303 driver to use const arguments in one of its helper as well. > > Cc: Greg Kroah-H

Re: [PATCH] MIPS: lantiq: gphy: Drop reboot/remove reset asserts

2018-05-21 Thread James Hogan
On Sun, Apr 08, 2018 at 10:30:03AM +0200, Mathias Kresin wrote: > While doing a global software reset, these bits are not cleared and let > some bootloader fail to initialise the GPHYs. The bootloader don't > expect the GPHYs in reset, as they aren't during power on. > > The asserts were a workaro

Re: [RFC PATCH net-next 03/12] vhost_net: introduce vhost_has_more_pkts()

2018-05-21 Thread Jesse Brandeburg
On Mon, 21 May 2018 17:04:24 +0800 Jason wrote: > Signed-off-by: Jason Wang > --- > drivers/vhost/net.c | 12 +--- > 1 file changed, 9 insertions(+), 3 deletions(-) > > diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c > index de544ee..4ebac76 100644 > --- a/drivers/vhost/net.c > ++

Re: [PATCH net-next] vmcore: move get_vmcore_size out of __init

2018-05-21 Thread David Miller
From: Rahul Lakkireddy Date: Mon, 21 May 2018 19:07:50 +0530 > Fix below build warning: > > WARNING: vmlinux.o(.text+0x422bb8): Section mismatch in reference from > the function vmcore_add_device_dump() to the function > .init.text:get_vmcore_size.constprop.5() > > The function vmcore_add_devic

Re: [Xen-devel] [RFC 1/3] xen/balloon: Allow allocating DMA buffers

2018-05-21 Thread Boris Ostrovsky
On 05/21/2018 01:40 AM, Oleksandr Andrushchenko wrote: > On 05/19/2018 01:04 AM, Boris Ostrovsky wrote: >> On 05/17/2018 04:26 AM, Oleksandr Andrushchenko wrote: >>> From: Oleksandr Andrushchenko >> >> A commit message would be useful. > Sure, v1 will have it >> >>> Signed-off-by: Oleksandr Andrus

Re: [RFC PATCH net-next 02/12] vhost_net: introduce vhost_exceeds_weight()

2018-05-21 Thread Jesse Brandeburg
On Mon, 21 May 2018 17:04:23 +0800 Jason wrote: > Signed-off-by: Jason Wang > --- > drivers/vhost/net.c | 13 - > 1 file changed, 8 insertions(+), 5 deletions(-) > > diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c > index 15d191a..de544ee 100644 > --- a/drivers/vhost/net.c > +

Re: [PATCH 1/2] drm/fourcc: add a 10bits fully packed variant of NV12

2018-05-21 Thread Nicolas Dufresne
Le lundi 21 mai 2018 à 17:49 +0300, Ville Syrjälä a écrit : > On Mon, May 21, 2018 at 01:17:04AM +0800, Randy Li wrote: > > This pixel format is a fully packed and 10bits variant of NV12. > > A luma pixel would take 10bits in memory, without any > > filled bits between pixels in a stride. The color

Re: [PATCH] [RFC] bpf: tracing: new helper bpf_get_current_cgroup_ino

2018-05-21 Thread Alexei Starovoitov
On Sun, May 13, 2018 at 07:33:18PM +0200, Alban Crequy wrote: > > +BPF_CALL_2(bpf_get_current_cgroup_ino, u32, hierarchy, u64, flags) > +{ > + // TODO: pick the correct hierarchy instead of the mem controller > + struct cgroup *cgrp = task_cgroup(current, memory_cgrp_id); > + > + if (

Re: [RFC PATCH net-next 01/12] vhost_net: introduce helper to initialize tx iov iter

2018-05-21 Thread Jesse Brandeburg
Hi Jason, a few nits. On Mon, 21 May 2018 17:04:22 +0800 Jason wrote: > Signed-off-by: Jason Wang > --- > drivers/vhost/net.c | 34 +++--- > 1 file changed, 23 insertions(+), 11 deletions(-) > > diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c > index c4b49fc.

Re: [PATCH 00/13] convert block layer to bioset_init()/mempool_init()

2018-05-21 Thread Jens Axboe
On 5/21/18 10:09 AM, Mike Snitzer wrote: > On Mon, May 21 2018 at 11:36am -0400, > Jens Axboe wrote: > >> On 5/21/18 9:18 AM, Mike Snitzer wrote: >>> On Mon, May 21 2018 at 11:09am -0400, >>> Jens Axboe wrote: >>> On 5/21/18 9:04 AM, Mike Snitzer wrote: > On Mon, May 21 2018 at 10:52am

Re: [PATCH 01/11] media: tm6000: fix potential Spectre variant 1

2018-05-21 Thread Gustavo A. R. Silva
On 05/17/2018 01:08 PM, Gustavo A. R. Silva wrote: BTW, Mauro, you sent a patch to fix an spectre v1 issue in this file yesterday: dvb_ca_en50221.c:1480, but it seems there is another instance of the same issue some lines above: diff --git a/drivers/media/dvb-core/dvb_ca_en50221.c b/drive

Re: [lustre-devel] [PATCH 13/30] staging: lustre: replace libcfs_register_ioctl with a blocking notifier_chain

2018-05-21 Thread Patrick Farrell
This, and the rest of the series, look good. Feel free to add a Reviewed-by. Thanks, Neil. On 5/20/18, 11:39 PM, "lustre-devel on behalf of NeilBrown" wrote: libcfs allows other modules to register handlers for ioctls. The implementation it uses for this is nearly identical to a

Re: [PATCH net-next] net: ethernet: Sort Kconfig sourcing alphabetically

2018-05-21 Thread David Miller
From: Florian Fainelli Date: Sun, 20 May 2018 20:58:28 -0700 > A number of entries were not alphabetically sorted, remedy that. > > Signed-off-by: Florian Fainelli Applied.

Re: [PATCH v2 4/4] MIPS: memset.S: Add comments to fault fixup handlers

2018-05-21 Thread James Hogan
On Tue, Apr 17, 2018 at 04:40:03PM +0100, Matt Redfearn wrote: > diff --git a/arch/mips/lib/memset.S b/arch/mips/lib/memset.S > index 1cc306520a55..a06dabe99d4b 100644 > --- a/arch/mips/lib/memset.S > +++ b/arch/mips/lib/memset.S > @@ -231,16 +231,25 @@ > > #ifdef CONFIG_CPU_MIPSR6 > .Lbyte_fix

Re: [PATCH net-next] net: phy: phylink: Don't release NULL GPIO

2018-05-21 Thread David Miller
From: Florian Fainelli Date: Sun, 20 May 2018 20:49:47 -0700 > If CONFIG_GPIOLIB is disabled, gpiod_put() becomes a stub that produces a > warning, this helped identify that we could be attempting to release a NULL > pl->link_gpio GPIO descriptor, so guard against that. > > Fixes: daab3349ad1a (

Re: [PATCH v2] schedutil: Allow cpufreq requests to be made even when kthread kicked

2018-05-21 Thread Joel Fernandes
On Mon, May 21, 2018 at 10:29:52AM +0200, Rafael J. Wysocki wrote: > On Mon, May 21, 2018 at 7:14 AM, Viresh Kumar wrote: > > On 18-05-18, 11:55, Joel Fernandes (Google.) wrote: > >> From: "Joel Fernandes (Google)" > >> > >> Currently there is a chance of a schedutil cpufreq update request to be

Re: [PATCH v8 1/6] cpuset: Enable cpuset controller in default hierarchy

2018-05-21 Thread Waiman Long
On 05/21/2018 11:09 AM, Patrick Bellasi wrote: > On 21-May 09:55, Waiman Long wrote: > >> Changing cpuset.cpus will require searching for the all the tasks in >> the cpuset and change its cpu mask. > ... I'm wondering if that has to be the case. In principle there can > be a different solution whic

Re: [PATCH 00/13] convert block layer to bioset_init()/mempool_init()

2018-05-21 Thread Mike Snitzer
On Mon, May 21 2018 at 11:36am -0400, Jens Axboe wrote: > On 5/21/18 9:18 AM, Mike Snitzer wrote: > > On Mon, May 21 2018 at 11:09am -0400, > > Jens Axboe wrote: > > > >> On 5/21/18 9:04 AM, Mike Snitzer wrote: > >>> On Mon, May 21 2018 at 10:52am -0400, > >>> Jens Axboe wrote: > >>> ... > >>>

[PATCH v5 4/5] fs: blkdev set bio prio from kiocb prio

2018-05-21 Thread adam . manzanares
From: Adam Manzanares Now that kiocb has an ioprio field copy this over to the bio when it is created from the kiocb. Signed-off-by: Adam Manzanares --- fs/block_dev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/block_dev.c b/fs/block_dev.c index 7ec920e27065..da1e94d2bb75 100644 --

[PATCH v5 5/5] fs: iomap dio set bio prio from kiocb prio

2018-05-21 Thread adam . manzanares
From: Adam Manzanares Now that kiocb has an ioprio field copy this over to the bio when it is created from the kiocb during direct IO. Signed-off-by: Adam Manzanares --- fs/iomap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/iomap.c b/fs/iomap.c index afd163586aa0..65aae194aeca 1006

[PATCH v5 1/5] block: add ioprio_check_cap function

2018-05-21 Thread adam . manzanares
From: Adam Manzanares Aio per command iopriority support introduces a second interface between userland and the kernel capable of passing iopriority. The aio interface also needs the ability to verify that the submitting context has sufficient priviledges to submit IOPRIO_RT commands. This patch

[PATCH v5 0/5] AIO add per-command iopriority

2018-05-21 Thread adam . manzanares
From: Adam Manzanares This is the per-I/O equivalent of the ioprio_set system call. See the following link for performance implications on a SATA HDD: https://lkml.org/lkml/2016/12/6/495 First patch factors ioprio_check_cap function out of ioprio_set system call to also be used by the aio ioprio

[PATCH v5 2/5] fs: Convert kiocb rw_hint from enum to u16

2018-05-21 Thread adam . manzanares
From: Adam Manzanares In order to avoid kiocb bloat for per command iopriority support, rw_hint is converted from enum to a u16. Added a guard around ki_hint assigment. Signed-off-by: Adam Manzanares --- include/linux/fs.h | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) d

[PATCH v5 3/5] fs: Add aio iopriority support

2018-05-21 Thread adam . manzanares
From: Adam Manzanares This is the per-I/O equivalent of the ioprio_set system call. When IOCB_FLAG_IOPRIO is set on the iocb aio_flags field, then we set the newly added kiocb ki_ioprio field to the value in the iocb aio_reqprio field. We set the blkdev bio iopriority unconditionally, so we nee

Applied "ASoC: qdsp6: q6asm: Add q6asm dai driver" to the asoc tree

2018-05-21 Thread Mark Brown
The patch ASoC: qdsp6: q6asm: Add q6asm dai driver 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 Linu

Applied "ASoC: qcom: apq8096: Add db820c machine driver" to the asoc tree

2018-05-21 Thread Mark Brown
The patch ASoC: qcom: apq8096: Add db820c machine driver 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 t

Applied "ASoC: qdsp6: q6routing: Add support to all SLIMBus Mixers" to the asoc tree

2018-05-21 Thread Mark Brown
The patch ASoC: qdsp6: q6routing: Add support to all SLIMBus Mixers 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)

Applied "ASoC: qdsp6: q6afe: Add q6afe dai driver" to the asoc tree

2018-05-21 Thread Mark Brown
The patch ASoC: qdsp6: q6afe: Add q6afe dai driver 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 Linu

Re: [PATCH] spi: spi-geni-qcom: Add SPI driver support for GENI based QUP

2018-05-21 Thread Mahadevan, Girish
Hi Stephen On 5/11/2018 4:30 PM, Stephen Boyd wrote: >> + if (mode & SPI_CPHA) >> + cpha |= CPHA; >> + >> + if (spi_slv->mode & SPI_CS_HIGH) >> + demux_output_inv |= BIT(spi_slv->chip_select); >> + >> + if (spi_slv->controller_data) { >> +

Applied "ASoC: qdsp6: q6asm: Add support to memory map and unmap" to the asoc tree

2018-05-21 Thread Mark Brown
The patch ASoC: qdsp6: q6asm: Add support to memory map and unmap 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) a

Re: [PATCH] KVM: X86: prevent integer overflows in KVM_MEMORY_ENCRYPT_REG_REGION

2018-05-21 Thread Brijesh Singh
Hi Dan, On 05/19/2018 01:01 AM, Dan Carpenter wrote: This is a fix from reviewing the code, but it looks like it might be able to lead to an Oops. It affects 32bit systems. Please note that SEV is not available on 32bit systems. The KVM_MEMORY_ENCRYPT_REG_REGION ioctl uses a u64 for rang

Applied "ASoC: AMD: Add const to snd_soc_ops instances" to the asoc tree

2018-05-21 Thread Mark Brown
The patch ASoC: AMD: Add const to snd_soc_ops instances 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: AMD: Fix clocks in CZ DA7219 machine driver" to the asoc tree

2018-05-21 Thread Mark Brown
The patch ASoC: AMD: Fix clocks in CZ DA7219 machine driver 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 sen

Applied "ASoC: amd: dma driver changes for bt i2s instance" to the asoc tree

2018-05-21 Thread Mark Brown
The patch ASoC: amd: dma driver changes for bt i2s instance 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 sen

Applied "ASoC: AMD: Move clk enable from hw_params/free to startup/shutdown" to the asoc tree

2018-05-21 Thread Mark Brown
The patch ASoC: AMD: Move clk enable from hw_params/free to startup/shutdown 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

Re: [PATCH net-next 0/2] net: sfp: small improvements

2018-05-21 Thread David Miller
From: Antoine Tenart Date: Thu, 17 May 2018 10:29:05 +0200 > This series was part of the mvpp2 phylink one but as we reworked it to > use fixed-link on the DB boards, the SFP commits weren't needed > anymore for our use case. Two of the three patches still are needed I > believe (I ditched the on

Applied "ASoC: intel: skylake: fix spelling mistake: "Homogenous" -> "Homogeneous"" to the asoc tree

2018-05-21 Thread Mark Brown
The patch ASoC: intel: skylake: fix spelling mistake: "Homogenous" -> "Homogeneous" 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 th

Applied "ASoC: qdsp6: q6afe: Add q6afe driver" to the asoc tree

2018-05-21 Thread Mark Brown
The patch ASoC: qdsp6: q6afe: Add q6afe driver 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 Linus du

Re: [PATCH v2] schedutil: Allow cpufreq requests to be made even when kthread kicked

2018-05-21 Thread Joel Fernandes
On Mon, May 21, 2018 at 11:50:55AM +0100, Patrick Bellasi wrote: > On 18-May 11:55, Joel Fernandes (Google.) wrote: > > From: "Joel Fernandes (Google)" > > > > Currently there is a chance of a schedutil cpufreq update request to be > > dropped if there is a pending update request. This pending re

Applied "ASoC: qdsp6: qdafe: Add SLIMBus port Support" to the asoc tree

2018-05-21 Thread Mark Brown
The patch ASoC: qdsp6: qdafe: Add SLIMBus port Support 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: qdsp6: q6afe: Add support to MI2S ports" to the asoc tree

2018-05-21 Thread Mark Brown
The patch ASoC: qdsp6: q6afe: Add support to MI2S ports 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: amd: sram bank update changes" to the asoc tree

2018-05-21 Thread Mark Brown
The patch ASoC: amd: sram bank update changes 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 Linus dur

Applied "ASoC: qdsp6: q6afe: Add support to MI2S sysclks" to the asoc tree

2018-05-21 Thread Mark Brown
The patch ASoC: qdsp6: q6afe: Add support to MI2S sysclks 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: OMAP serial runtime PM and autosuspend (was: Re: [PATCH 4/7] dt-bindings: gnss: add u-blox binding))

2018-05-21 Thread Tony Lindgren
* Johan Hovold [180521 13:50]: > On Thu, May 17, 2018 at 10:10:38AM -0700, Tony Lindgren wrote: > > * Johan Hovold [180517 10:12]: > > > No, defaulting to "on" (i.e. calling pm_runtime_forbid()) wouldn't work > > > either as that would also prevent the device from runtime suspending > > > just as

Applied "ASoC: qdsp6: q6adm: Add q6adm driver" to the asoc tree

2018-05-21 Thread Mark Brown
The patch ASoC: qdsp6: q6adm: Add q6adm driver 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 Linus du

Applied "ASoC: amd: memory release for rtd structure" to the asoc tree

2018-05-21 Thread Mark Brown
The patch ASoC: amd: memory release for rtd structure 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 L

Applied "ASoC: amd: pte offset related dma driver changes" to the asoc tree

2018-05-21 Thread Mark Brown
The patch ASoC: amd: pte offset related dma driver changes 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

Applied "ASoC: qdsp6: q6asm: Add q6asm driver" to the asoc tree

2018-05-21 Thread Mark Brown
The patch ASoC: qdsp6: q6asm: Add q6asm driver 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 Linus du

Applied "ASoC: qdsp6: q6routing: Add q6routing driver" to the asoc tree

2018-05-21 Thread Mark Brown
The patch ASoC: qdsp6: q6routing: Add q6routing driver 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: qdsp6: dt-bindings: Add apq8096 machine bindings" to the asoc tree

2018-05-21 Thread Mark Brown
The patch ASoC: qdsp6: dt-bindings: Add apq8096 machine bindings 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) an

Re: [PATCH net] tuntap: raise EPOLLOUT on device up

2018-05-21 Thread David Miller
From: Jason Wang Date: Fri, 18 May 2018 21:00:43 +0800 > We return -EIO on device down but can not raise EPOLLOUT after it was > up. This may confuse user like vhost which expects tuntap to raise > EPOLLOUT to re-enable its TX routine after tuntap is down. This could > be easily reproduced by tra

Applied "ASoC: qdsp6: q6asm: Add support to audio stream apis" to the asoc tree

2018-05-21 Thread Mark Brown
The patch ASoC: qdsp6: q6asm: Add support to audio stream apis 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

Applied "ASoC: qdsp6: q6routing: Add support to MI2S Mixers" to the asoc tree

2018-05-21 Thread Mark Brown
The patch ASoC: qdsp6: q6routing: Add support to MI2S Mixers 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 se

Re: [PATCH v11 1/2] arch/*: Add CONFIG_ARCH_HAVE_CMPXCHG64

2018-05-21 Thread Bart Van Assche
On Fri, 2018-05-18 at 11:32 -0700, h...@zytor.com wrote: > On May 18, 2018 11:00:05 AM PDT, Bart Van Assche > wrote: > > The next patch in this series introduces a call to cmpxchg64() > > in the block layer core for those architectures on which this > > functionality is available. Make it possibl

Re: [PATCH 00/13] convert block layer to bioset_init()/mempool_init()

2018-05-21 Thread Jens Axboe
On 5/21/18 9:18 AM, Mike Snitzer wrote: > On Mon, May 21 2018 at 11:09am -0400, > Jens Axboe wrote: > >> On 5/21/18 9:04 AM, Mike Snitzer wrote: >>> On Mon, May 21 2018 at 10:52am -0400, >>> Jens Axboe wrote: >>> On 5/21/18 8:47 AM, Mike Snitzer wrote: > On Mon, May 21 2018 at 10:36am -

RE: [PATCH] typec: tcpm: Provide of_node pointer as part of psy_cfg

2018-05-21 Thread Adam Thomson
On 21 May 2018 15:56, Heikki Krogerus wrote: > On Mon, May 21, 2018 at 01:58:16PM +, Adam Thomson wrote: > > Hi Heikki, > > > > On 21 May 2018 14:20, Heikki Krogerus wrote: > > > > > On Wed, May 16, 2018 at 05:00:46PM +0100, Adam Thomson wrote: > > > > For supply registration, provide of_node

Re: [PATCH 26/33] apparmor: use match_string() helper

2018-05-21 Thread John Johansen
On 05/21/2018 04:58 AM, Yisheng Xie wrote: > match_string() returns the index of an array for a matching string, > which can be used intead of open coded variant. > Andy Shevchenko patch to do the same thing is already in apparmor-next > Cc: John Johansen > Cc: James Morris > Cc: "Serge E. Hal

Re: [PATCH v2 01/26] rculist: introduce list_next_or_null_rr_rcu()

2018-05-21 Thread Paul E. McKenney
On Mon, May 21, 2018 at 08:16:59AM -0700, Linus Torvalds wrote: > On Mon, May 21, 2018 at 6:51 AM Roman Penyaev < > roman.peny...@profitbricks.com> wrote: > > > No, I continue from the pointer, which I assigned on the previous IO > > in order to send IO fairly and keep load balanced. > > Right. A

Re: [PATCH v2 01/26] rculist: introduce list_next_or_null_rr_rcu()

2018-05-21 Thread Paul E. McKenney
On Mon, May 21, 2018 at 03:50:10PM +0200, Roman Penyaev wrote: > On Sun, May 20, 2018 at 2:43 AM, Paul E. McKenney > wrote: > > On Sat, May 19, 2018 at 10:20:48PM +0200, Roman Penyaev wrote: > >> On Sat, May 19, 2018 at 6:37 PM, Paul E. McKenney > >> wrote: > >> > On Fri, May 18, 2018 at 03:03:48

Re: [PATCH 6/6] arm64: perf: Add support for chaining counters

2018-05-21 Thread Robin Murphy
On 21/05/18 15:41, Suzuki K Poulose wrote: On 21/05/18 15:00, Robin Murphy wrote: On 21/05/18 14:42, Suzuki K Poulose wrote: On 18/05/18 16:57, Suzuki K Poulose wrote: Hi Robin, On 18/05/18 14:49, Robin Murphy wrote: On 18/05/18 11:22, Suzuki K Poulose wrote: Add support for chained event c

Re: [PATCH 0/3] docs/vm: transhuge: split userspace bits to admin-guide/mm

2018-05-21 Thread Jonathan Corbet
On Mon, 14 May 2018 11:13:37 +0300 Mike Rapoport wrote: > Here are minor updates to transparent hugepage docs. Except from minor > formatting and spelling updates, these patches re-arrange the transhuge.rst > so that userspace interface description will not be interleaved with the > implementatio

Re: [RFC PATCH v2 05/12] include/linux/dma-mapping: update usage of address zone modifiers

2018-05-21 Thread Christoph Hellwig
On Mon, May 21, 2018 at 11:20:26PM +0800, Huaisheng Ye wrote: > From: Huaisheng Ye > > Use __GFP_ZONE_MASK to replace (__GFP_DMA | __GFP_HIGHMEM | __GFP_DMA32). > > ___GFP_DMA, ___GFP_HIGHMEM and ___GFP_DMA32 have been deleted from GFP > bitmasks, the bottom three bits of GFP mask is reserved fo

Re: [PATCH resend] libata: blacklist Micron 500IT SSD with MU01 firmware

2018-05-21 Thread Tejun Heo
On Sat, May 19, 2018 at 10:29:36PM +0100, Sudip Mukherjee wrote: > From: Sudip Mukherjee > > While whitelisting Micron M500DC drives, the tweaked blacklist entry > enabled queued TRIM from M500IT variants also. But these do not support > queued TRIM. And while using those SSDs with the latest ker

Re: [PATCH v5 06/13] KVM: s390: interfaces to manage guest's AP matrix

2018-05-21 Thread Tony Krowiak
On 05/16/2018 10:41 AM, Pierre Morel wrote: On 16/05/2018 16:29, Tony Krowiak wrote: On 05/11/2018 12:08 PM, Halil Pasic wrote: On 05/07/2018 05:11 PM, Tony Krowiak wrote: Provides interfaces to manage the AP adapters, usage domains and control domains assigned to a KVM guest. The guest's S

[RFC PATCH v2 01/12] include/linux/gfp.h: get rid of GFP_ZONE_TABLE/BAD

2018-05-21 Thread Huaisheng Ye
From: Huaisheng Ye Replace GFP_ZONE_TABLE and GFP_ZONE_BAD with encoded zone number. Delete ___GFP_DMA, ___GFP_HIGHMEM and ___GFP_DMA32 from GFP bitmasks, the bottom three bits of GFP mask is reserved for storing encoded zone number. The encoding method is XOR. Get zone number from enum zone_ty

Re: [PATCH v6 5/5] drm/rockchip: support dp training outside dp firmware

2018-05-21 Thread Enric Balletbo Serra
Hi Lin, 2018-05-21 11:37 GMT+02:00 Lin Huang : > DP firmware uses fixed phy config values to do training, but some > boards need to adjust these values to fit for their unique hardware > design. So get phy config values from dts and use software link training > instead of relying on firmware, if s

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