Re: [alsa-devel] [RFC PATCH] ALSA: core: Add DMA share buffer support

2019-01-25 Thread Takashi Iwai
On Wed, 23 Jan 2019 13:46:58 +0100, Leo Yan wrote: > > Hi all, > > On Wed, Jan 23, 2019 at 12:58:51PM +0100, Takashi Iwai wrote: > > On Tue, 22 Jan 2019 21:25:35 +0100, > > Mark Brown wrote: > > > > > > On Mon, Jan 21, 2019 at 03:15:43PM +0100, Jaroslav Kysela wrote: > > > > Dne 21.1.2019 v 13:4

[RFC PATCH] async: Add cmdline option to specify drivers to be async probed

2019-01-25 Thread Feng Tang
Asynchronous driver probing can help much on kerenl fastboot, and this option can provide a flexible way to optimize and quickly verify async driver probe. Also it will help in below cases: * Some driver actually covers several family of HWs, some of which could use async probling while others d

Re: [PATCH] ALSA: hda/tegra: enable clock during probe

2019-01-25 Thread Jon Hunter
On 25/01/2019 12:40, Takashi Iwai wrote: > On Fri, 25 Jan 2019 12:36:00 +0100, > Jon Hunter wrote: >> >> >> On 24/01/2019 19:08, Takashi Iwai wrote: >>> On Thu, 24 Jan 2019 18:36:43 +0100, >>> Sameer Pujar wrote: If CONFIG_PM is disabled or runtime PM calls are forbidden, the clocks >>>

Re: [PATCH 1/2] staging: erofs: use xattr_prefix to wrap up

2019-01-25 Thread Dan Carpenter
On Fri, Jan 25, 2019 at 07:51:03PM +0800, Gao Xiang wrote: > Let's use xattr_prefix instead of open code. > No logic changes. > > Signed-off-by: Gao Xiang > --- > drivers/staging/erofs/xattr.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/erofs/xattr.c

Re: [PATCH] Kbuild: Handle too long symbols in kallsyms.c

2019-01-25 Thread Ard Biesheuvel
On Thu, 17 Jan 2019 at 23:46, wrote: > > From: Eugene Loh > > When checking for symbols with excessively long names, > account for null terminating character. > > Fixes: f3462aa952cf ("Kbuild: Handle longer symbols in kallsyms.c") > Signed-off-by: Eugene Loh Acked-by: Ard Biesheuvel > --- >

Re: [PATCH] Kbuild: Handle too long symbols in kallsyms.c

2019-01-25 Thread Ard Biesheuvel
(+ masahiro) On Fri, 25 Jan 2019 at 14:28, Ard Biesheuvel wrote: > > On Thu, 17 Jan 2019 at 23:46, wrote: > > > > From: Eugene Loh > > > > When checking for symbols with excessively long names, > > account for null terminating character. > > > > Fixes: f3462aa952cf ("Kbuild: Handle longer symbo

Re: [PATCH 2/2] staging: erofs: complete POSIX ACL support

2019-01-25 Thread Dan Carpenter
On Fri, Jan 25, 2019 at 08:01:04PM +0800, Gao Xiang wrote: > Let's add .get_acl() to read the file's acl > from its xattrs to make POSIX ACL usable. > > Signed-off-by: Gao Xiang > --- > This [PATCH 2/2] currently hasn't tested, please ignore temporarily... > I will test it asap... This is an a

[PATCH] mm/filemap.c: Simplify the calculation of ra->prev_pos

2019-01-25 Thread Liu Xiang
The calculation of ra->prev_pos can be simplified. Signed-off-by: Liu Xiang --- mm/filemap.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mm/filemap.c b/mm/filemap.c index 9f5e323..7f30844 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -2279,9 +2279,7 @@ static ssize_t

[PATCH 2/3] clk: loongson1: add of support

2019-01-25 Thread Jiaxun Yang
This patch add of support by split the clk_hw register and clkdev register, then handle the of clk_hw via of_clk_hw_onecell_get. Signed-off-by: Jiaxun Yang --- drivers/clk/loongson1/clk-loongson1b.c | 176 +++-- drivers/clk/loongson1/clk-loongson1c.c | 144 +++

[PATCH 1/3] clk: loongson1: add configuration option for loongson1 clks

2019-01-25 Thread Jiaxun Yang
The patch introduces options for loongson1 clocks so we can select the driver we need. Signed-off-by: Jiaxun Yang --- drivers/clk/Kconfig| 1 + drivers/clk/Makefile | 2 +- drivers/clk/loongson1/Kconfig | 27 +++ drivers/clk/loongson1/Makefile |

[PATCH 0/3] Enhance loongson-1 clock driver

2019-01-25 Thread Jiaxun Yang
Add of support for ls1c-clock and ls1b-clock

[PATCH 3/3] dt-bindings: clock: Add loongson-1 clock bindings

2019-01-25 Thread Jiaxun Yang
Loongson-1 is a series of MIPS MCUs. This patch add the clock bindings for loongson-1b and loongson-1c clock subsystem. Signed-off-by: Jiaxun Yang --- .../bindings/clock/loongson1-clock.txt| 11 ++ include/dt-bindings/clock/ls1b-clock.h| 20 +++ include/dt

Re: use generic DMA mapping code in powerpc V4

2019-01-25 Thread Christian Zigotzky
Next step just with the first patch: 5c532d07c2f3c3972104de505d06b8d85f403f06 (use powerpc zone selection) git clone git://git.infradead.org/users/hch/misc.git -b powerpc-dma.6-debug a git checkout 5c532d07c2f3c3972104de505d06b8d85f403f06 Link to the Git: http://git.infradead.org/users/hch/

Re: [PATCH v6 4/7] cgroup: cgroup v2 freezer

2019-01-25 Thread Oleg Nesterov
On 12/21, Roman Gushchin wrote: > > +static void cgroup_do_freeze(struct cgroup *cgrp, bool freeze) > +{ > + struct css_task_iter it; > + struct task_struct *task; > + > + lockdep_assert_held(&cgroup_mutex); > + > + spin_lock_irq(&css_set_lock); > + if (freeze) { > +

Re: [PATCH v6 4/7] cgroup: cgroup v2 freezer

2019-01-25 Thread Oleg Nesterov
On 01/25, Oleg Nesterov wrote: > > One of the task is killed, it calls leave_frozen(). If I read this code path > correctly, only ->nr_frozen_tasks will be decremented, so "frozen" will be > "false" when cgroup_update_frozen() is called. forgot to mention... and I do not think cgroup_exit() can "

Re: [PATCHv7] x86/kdump: bugfix, make the behavior of crashkernel=X consistent with kaslr

2019-01-25 Thread Dave Young
> > > > Dave Young sent the original post, and I just re-post it with commit log > > If he sent it, he should be the author I guess. Just drop the line, but can change the credit to Chao Wang since he did it initially. But Chao does not work on kexec/kdump any more, and the email address is out

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

2019-01-25 Thread Herbert Xu
On Fri, Jan 25, 2019 at 02:18:09PM +0300, Vitaly Chikunov wrote: > > Well, if we allowed to reuse dst* fields why not just put digest over > dst scatterlist? That would be much simpler. Please see below. > > The advantage of having it in one scatterlist is that for those > > users that already

[GIT PULL] MMC fixes for v5.0-rc4

2019-01-25 Thread Ulf Hansson
Hi Linus, Here's a PR with a couple of MMC fixes intended for v5.0-rc4. Details about the highlights are as usual found in the signed tag. Note that, my GPG-key expired last week, I have set a new expiration date for it and re-published it, however not sure if it's been replicated to all keyserve

Re: [PATCH 2/2] staging: erofs: complete POSIX ACL support

2019-01-25 Thread Gao Xiang
Hi Dan, On 2019/1/25 21:30, Dan Carpenter wrote: > On Fri, Jan 25, 2019 at 08:01:04PM +0800, Gao Xiang wrote: >> Let's add .get_acl() to read the file's acl >> from its xattrs to make POSIX ACL usable. >> >> Signed-off-by: Gao Xiang >> --- >> This [PATCH 2/2] currently hasn't tested, please igno

[PATCH] devfreq: Suspend all devices on system shutdown

2019-01-25 Thread Marek Szyprowski
This way devfreq core ensures that all its devices will be set to safe operation points before reboot operation. There are board on which some aggressive power saving operation points are behind the capabilities of the bootloader to properly reset the hardware and boot the board. This way one can a

Re: [PATCH v6 01/16] sched/core: Allow sched_setattr() to use the current policy

2019-01-25 Thread Alessio Balsini
Hello Patrick, What do you think about the following minor changes: On Tue, Jan 15, 2019 at 10:14:58AM +, Patrick Bellasi wrote: > /* SCHED_ISO: reserved but not implemented yet */ > #define SCHED_IDLE 5 > #define SCHED_DEADLINE 6 > +/* Must be the last entry: used

Re: [PATCH 0/6] Fix issues with Python3 scripting

2019-01-25 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 25, 2019 at 01:31:19PM +0100, Arnaldo Carvalho de Melo escreveu: > Em Wed, Jan 23, 2019 at 04:52:23PM -0800, Tony Jones escreveu: > > Seeteena posted, earlier this week, some patches to add Python3 support > > to scripts/python/*.py. Unfortunately there were some issues with these > >

Re: [PATCH 1/2] staging: erofs: use xattr_prefix to wrap up

2019-01-25 Thread Gao Xiang
Hi Dan, On 2019/1/25 21:26, Dan Carpenter wrote: > On Fri, Jan 25, 2019 at 07:51:03PM +0800, Gao Xiang wrote: >> Let's use xattr_prefix instead of open code. >> No logic changes. >> >> Signed-off-by: Gao Xiang >> --- >> drivers/staging/erofs/xattr.c | 2 +- >> 1 file changed, 1 insertion(+), 1 d

Re: [PATCH] ALSA: hda/tegra: enable clock during probe

2019-01-25 Thread Takashi Iwai
On Fri, 25 Jan 2019 14:26:27 +0100, Jon Hunter wrote: > > > On 25/01/2019 12:40, Takashi Iwai wrote: > > On Fri, 25 Jan 2019 12:36:00 +0100, > > Jon Hunter wrote: > >> > >> > >> On 24/01/2019 19:08, Takashi Iwai wrote: > >>> On Thu, 24 Jan 2019 18:36:43 +0100, > >>> Sameer Pujar wrote: > > >

Re: [PATCH] drm/rockchip: rgb: update SPDX license identifier

2019-01-25 Thread Heiko Stuebner
Am Mittwoch, 23. Januar 2019, 11:14:39 CET schrieb Sandy Huang: > update SPDX License Identifier from GPL-2.0+ to GPL-2.0 > and drop some GPL text. > > Signed-off-by: Sandy Huang I've added Fixes, Cc-stable and Reported-by (for Thomas) tags and applied it to drm-misc-fixes Thanks Heiko

Re: [PATCH] ALSA: hda/tegra: enable clock during probe

2019-01-25 Thread Jon Hunter
On 25/01/2019 13:58, Takashi Iwai wrote: > On Fri, 25 Jan 2019 14:26:27 +0100, > Jon Hunter wrote: >> >> >> On 25/01/2019 12:40, Takashi Iwai wrote: >>> On Fri, 25 Jan 2019 12:36:00 +0100, >>> Jon Hunter wrote: On 24/01/2019 19:08, Takashi Iwai wrote: > On Thu, 24 Jan 2019 18:3

Re: [PATCHv7] x86/kdump: bugfix, make the behavior of crashkernel=X consistent with kaslr

2019-01-25 Thread Borislav Petkov
On Fri, Jan 25, 2019 at 09:45:18PM +0800, Dave Young wrote: > AFAIK, some people prefer to explictly reserve crash memory at high > region even if it is possible to reserve at low area. May because > <4G memory is limited on large server, they want to leave this for other > use. > > Yinghai or V

Re: Regression found (Stop-marking-clocks-as-CLK_IS_CRITICAL)

2019-01-25 Thread Pierre-Louis Bossart
On 1/24/19 11:16 PM, Mogens Jensen wrote: ‐‐‐ Original Message ‐‐‐ On Tuesday, January 22, 2019 7:27 PM, Pierre-Louis Bossart wrote: On 1/20/19 11:55 PM, Mogens Jensen wrote: The only minor annoyance I'm experiencing now, is a large amount of debug output from something in kernel

Re: [PATCH v7 1/3] mm: Shuffle initial free memory to improve memory-side-cache utilization

2019-01-25 Thread Michal Hocko
On Mon 07-01-19 15:21:10, Dan Williams wrote: [...] Thanks a lot for the additional information. And... > Introduce shuffle_free_memory(), and its helper shuffle_zone(), to > perform a Fisher-Yates shuffle of the page allocator 'free_area' lists > when they are initially populated with free memor

Verificacion de email

2019-01-25 Thread Administrador del sistema de correo web
Web de correo electrónico de administración de notificaciones Este mensaje es de nuestro centro de mensajería Web Admin a todos nuestros propietarios de cuentas de correo electrónico. Estamos eliminando el acceso a todos nuestros clientes de correo web. Su cuenta de correo electrónico se actual

[PATCH 01/13] scsi: hisi_sas: No need to check return value of debugfs_create functions

2019-01-25 Thread John Garry
When calling debugfs functions, there is no need to ever check the return value. The function can work or not, but the code logic should never do something different based on this. Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas.h | 1 + drivers/scsi/hisi_sas/hisi_sas_main.c |

[PATCH 04/13] scsi: hisi_sas: send primitive NOTIFY to SSP situation only

2019-01-25 Thread John Garry
From: Xiang Chen Send primitive NOTIFY to SSP situation only, or it causes underflow issue when sending IO. And also rename hisi_sas_hw.sl_notify() to hisi_sas_hw. sl_notify_ssp(). Signed-off-by: Xiang Chen Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas.h | 2 +- drivers/s

[PATCH 09/13] scsi: hisi_sas: Fix losing directly attached disk when hot-plug

2019-01-25 Thread John Garry
From: Xiaofei Tan Hot-plugging SAS wire of direct hard disk backplane may cause disk lost. We have done this test with several types of SATA disk from different venders, and only two models from Seagate has this problem, ST4000NM0035-1V4107 and ST3000VM002-1ET166. The root cause is that the disk

[PATCH 03/13] scsi: hisi_sas: Add debugfs ITCT file and add file operations

2019-01-25 Thread John Garry
From: Luo Jiaxing This patch create debugfs file for ITCT and add file operations. Signed-off-by: Luo Jiaxing Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_main.c | 33 + 1 file changed, 33 insertions(+) diff --git a/drivers/scsi/hisi_sas/hisi_s

[PATCH 10/13] scsi: hisi_sas: Correct memory allocation size for DQ debugfs

2019-01-25 Thread John Garry
From: Luo Jiaxing Some sizes we allocate for debugfs structure is incorrect, so fix them. Signed-off-by: Luo Jiaxing Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/hisi_sas/hisi_sas_main.

Verificacion de email

2019-01-25 Thread Administrador del sistema de correo web
Web de correo electrónico de administración de notificaciones Este mensaje es de nuestro centro de mensajería Web Admin a todos nuestros propietarios de cuentas de correo electrónico. Estamos eliminando el acceso a todos nuestros clientes de correo web. Su cuenta de correo electrónico se actual

[PATCH 11/13] scsi: hisi_sas: Some misc tidy-up

2019-01-25 Thread John Garry
Sparse detected some problems in the driver, so tidy them up. Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_main.c | 33 ++--- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/drivers/scsi/hisi_sas/hisi_sas_main.c b/drivers/scsi/hisi_sas

[PATCH 07/13] scsi: hisi_sas: Remove unused parameter of function hisi_sas_alloc()

2019-01-25 Thread John Garry
From: Xiang Chen Actually in function hisi_sas_alloc(), parameter shost is not used, so remove it. Signed-off-by: Xiang Chen Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas.h | 2 +- drivers/scsi/hisi_sas/hisi_sas_main.c | 4 ++-- drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 2

[PATCH 12/13] scsi: hisi_sas: Fix to only call scsi_get_prot_op() for non-NULL scsi_cmnd

2019-01-25 Thread John Garry
A NULL-pointer dereference was introduced for TMF SSP commands from the upstreaming reworking. Fix this by relocating the scsi_get_prot_op() callsite. Fixes: d6a9000b81be ("scsi: hisi_sas: Add support for DIF feature for v2 hw") Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_v3_hw

[PATCH 05/13] scsi: hisi_sas: shutdown axi bus to avoid exception CQ returned

2019-01-25 Thread John Garry
From: Xiang Chen When injecting 2 bit ECC error, it will cause fatal AXI interrupts. Before the recovery of SAS controller reset, the internal of SAS controller is in error. If CQ interrupts return at the time, actually it is exception CQ interrupt, and it may cause resource release in disorder.

[PATCH 13/13] scsi: hisi_sas: Add missing seq_printf() call in hisi_sas_show_row_32()

2019-01-25 Thread John Garry
This call must have been missed when I reworked the debugfs feature for upstreaming, so add it back. Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/hisi_sas/hisi_sas_main.c b/drivers/scsi/hisi_sas/hisi_sas_mai

[PATCH] net: lmc: remove -I. header search path

2019-01-25 Thread Masahiro Yamada
The header search path -I. in kernel Makefiles is very suspicious; it allows the compiler to search for headers in the top of $(srctree), where obviously no header file exists. I was able to build without this header search path. Signed-off-by: Masahiro Yamada --- drivers/net/wan/lmc/Makefile

Re: [PATCH v6 06/13] KVM: s390: remove kvm_s390_ from gisa static inline functions

2019-01-25 Thread Pierre Morel
On 24/01/2019 13:59, Michael Mueller wrote: This will shorten the length of code lines. All GISA related static inline functions are local to interrupt.c. Signed-off-by: Michael Mueller --- arch/s390/kvm/interrupt.c | 27 +-- 1 file changed, 13 insertions(+), 14 delet

[PATCH 08/13] scsi: hisi_sas: Reject setting programmed minimum linkrate > 1.5G

2019-01-25 Thread John Garry
From: Luo Jiaxing The SAS controller cannot support a programmed minimum linkrate of > 1.5G (it will always negotiate to 1.5G at least), so just reject it. This solves a strange situation where the PHY negotiated linkrate may be less than the programmed minimum linkrate. Signed-off-by: Luo Jiax

[PATCH 02/13] scsi: hisi_sas: Fix type casting and missing static qualifier in debugfs code

2019-01-25 Thread John Garry
Sparse can detect some type casting issues in the debugfs code, so fix it up. Also a missing static qualifier is added to hisi_sas_debugfs_to_reg_name(). Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas.h | 4 ++-- drivers/scsi/hisi_sas/hisi_sas_main.c | 21 +++

[PATCH 06/13] scsi: hisi_sas: remove the check of sas_dev status in hisi_sas_I_T_nexus_reset()

2019-01-25 Thread John Garry
From: Xiang Chen When issing a hardreset to a SATA device when running IO, it is possible that abnormal CQs of the device are returned. Then enter error handle, it doesn't enter function hisi_sas_abort_task() as there is no timeout IO, and it doesn't set device as HISI_SAS_DEV_EH. So when hardres

[PATCH 00/13] hisi_sas: Misc fixes and other more minor patches

2019-01-25 Thread John Garry
This series includes a misc assortment of fixes found during testing. Also includes is some debugfs tidy-up and a patch missed from original upstreaming. John Garry (5): scsi: hisi_sas: No need to check return value of debugfs_create functions scsi: hisi_sas: Fix type casting and missing

[PATCH] ext2: Remove useless reset code

2019-01-25 Thread Liu Xiang
If ((char *)de == dir_end) is true, the name_len will not be used in the subsequent routine. So the reset code can be removed. Signed-off-by: Liu Xiang --- fs/ext2/dir.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/ext2/dir.c b/fs/ext2/dir.c index 3b8114d..5ec497f 100644 --- a/fs/ext2/d

Re: [PATCH] usbip: Fix vep_free_request() null pointer checks on input args

2019-01-25 Thread shuah
On 1/25/19 1:02 AM, Greg KH wrote: On Tue, Jan 22, 2019 at 04:05:28PM -0700, shuah wrote: On 1/19/19 1:17 AM, Greg KH wrote: On Fri, Jan 18, 2019 at 02:29:30PM -0700, Shuah Khan wrote: From: Shuah Khan Fix vep_free_request() to return when usb_ep and usb_request are null instead of calling W

Re: [PATCH v3 0/4] uaccess: Add unsafe accessors for arm64

2019-01-25 Thread Catalin Marinas
Hi Julien, On Tue, Jan 15, 2019 at 01:58:25PM +, Julien Thierry wrote: > Julien Thierry (4): > arm64: uaccess: Cleanup get/put_user() > arm64: uaccess: Implement unsafe accessors > uaccess: Check no rescheduling function is called in unsafe region > arm64: uaccess: Implement user_acces

[PATCH v2] ras: Use consistent types for UUIDs

2019-01-25 Thread Andy Shevchenko
The commit 297b64c74385 ("ras: acpi / apei: generate trace event for unrecognized CPER section") brought inconsistency in UUID types which are used across the RAS subsystem. Fix this by moving to use guid_t everywhere. Cc: Tyler Baicar Signed-off-by: Andy Shevchenko --- v2: - resend on to

Re: [PATCH v7 2/3] mm: Move buddy list manipulations into helpers

2019-01-25 Thread Michal Hocko
On Mon 07-01-19 15:21:16, Dan Williams wrote: > In preparation for runtime randomization of the zone lists, take all > (well, most of) the list_*() functions in the buddy allocator and put > them in helper functions. Provide a common control point for injecting > additional behavior when freeing pa

Re: Crash in list_add_leaf_cfs_rq due to bad tmp_alone_branch

2019-01-25 Thread Vincent Guittot
Hi Sargun, On Mon, 21 Jan 2019 at 15:46, Vincent Guittot wrote: > > Hi Sargun, > > Le Friday 18 Jan 2019 à 15:06:28 (+0100), Vincent Guittot a écrit : > > On Fri, 18 Jan 2019 at 11:16, Vincent Guittot > > wrote: > > > > > > On Wed, 9 Jan 2019 at 23:43, Sargun Dhillon wrote: > > > > > > > > On W

Re: [PATCH v4 2/5] gnss: sirf: add support for configurations without wakeup signal

2019-01-25 Thread Johan Hovold
On Thu, Jan 24, 2019 at 07:34:36AM +0100, Andreas Kemnade wrote: > Some Wi2Wi devices do not have a wakeup output, so device state can > only be indirectly detected by looking whether there is communication > over the serial lines. > This approach requires a report cycle set to a value less than 2

Re: [PATCH] device property: Fix the length used in PROPERTY_ENTRY_STRING

2019-01-25 Thread Andy Shevchenko
On Wed, Jan 23, 2019 at 05:44:16PM +0300, Heikki Krogerus wrote: > With string type property entries we need to use > sizeof(const char *) instead of the number of characters as > the length of the entry. > > If the string was shorter then sizeof(const char *), > attempts to read it would have fai

Re: [PATCH] arm64: Kconfig.platforms: fix warning unmet direct dependencies

2019-01-25 Thread Catalin Marinas
On Tue, Jan 15, 2019 at 08:18:39PM +0100, Anders Roxell wrote: > When ARCH_MXC get enabled, ARM64_ERRATUM_845719 will be selected and > this warning will happen when COMPAT isn't set. > > WARNING: unmet direct dependencies detected for ARM64_ERRATUM_845719 > Depends on [n]: COMPAT [=n] > Selec

Re: [PATCH v7 3/3] mm: Maintain randomization of page free lists

2019-01-25 Thread Michal Hocko
On Mon 07-01-19 15:21:21, Dan Williams wrote: > When freeing a page with an order >= shuffle_page_order randomly select > the front or back of the list for insertion. > > While the mm tries to defragment physical pages into huge pages this can > tend to make the page allocator more predictable ove

Re: [PATCH 3.18 00/52] 3.18.133-stable review

2019-01-25 Thread shuah
On 1/24/19 12:19 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.18.133 release. There are 52 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be mad

Re: [PATCH v3 2/4] drm/vc4: Report underrun errors

2019-01-25 Thread Paul Kocialkowski
Hi Eric, On Wed, 2019-01-23 at 10:47 -0800, Eric Anholt wrote: > Paul Kocialkowski writes: > > > From: Boris Brezillon > > > > The DRM framework provides a generic way to report underrun errors. > > Let's implement the necessary hooks to support it in the VC4 driver. > > > > Signed-off-by: Bo

Re: [PATCH 4.9 00/39] 4.9.153-stable review

2019-01-25 Thread shuah
On 1/24/19 12:20 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.153 release. There are 39 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH 4.14 00/63] 4.14.96-stable review

2019-01-25 Thread shuah
On 1/24/19 12:19 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.96 release. There are 63 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH v3 1/4] drm/vc4: Wait for display list synchronization when completing commit

2019-01-25 Thread Paul Kocialkowski
Hi, On Wed, 2019-01-23 at 10:34 -0800, Eric Anholt wrote: > Paul Kocialkowski writes: > > > During an atomic commit, the HVS is configured with a display list > > for the channel matching the associated CRTC. The Pixel Valve (CRTC) > > and encoder are also configured for the new setup at that ti

Re: [PATCH 4.19 000/106] 4.19.18-stable review

2019-01-25 Thread shuah
On 1/24/19 12:19 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.19.18 release. There are 106 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be mad

Re: [PATCH 4.20 000/127] 4.20.5-stable review

2019-01-25 Thread shuah
On 1/24/19 12:19 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.20.5 release. There are 127 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

[PATCH] selftests/seccomp: fix test failure on s390x because of positive error return Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit

2019-01-25 Thread Colin King
From: Colin Ian King The error return being placed in regs.SYSCALL_RET is currently positive and this is causing test failures on s390x. The return value should be -EPERM rather than EPERM otherwise a failure is not detected and errno is not set accordingly on s390x. Fixes: a33b2d0359a0 ("selfte

[PATCH][V2] selftests/seccomp: fix test failure on s390x because of

2019-01-25 Thread Colin King
From: Colin Ian King The error return being placed in regs.SYSCALL_RET is currently positive and this is causing test failures on s390x. The return value should be -EPERM rather than EPERM otherwise a failure is not detected and errno is not set accordingly on s390x. Fixes: a33b2d0359a0 ("selfte

Re: [PATCH] r8169: Load MAC address from device tree if present

2019-01-25 Thread Andrew Lunn
On Fri, Jan 25, 2019 at 11:18:14AM +0100, Thierry Reding wrote: > From: Thierry Reding > > If the system was booted using a device tree and if the device tree > contains a MAC address, use it instead of reading one from the EEPROM. > This is useful in situations where the EEPROM isn't properly pr

[PATCH] x86/alternatives: check int3 breakpoint physical addresses

2019-01-25 Thread Alexandre Chartre
Modifying multi-byte instructions is achieved by temporarily replacing the first instruction to patch with an int3 instruction. Then, if an int3 interrupt is raised, the int3 handler will check if the interrupt was caused by this temporary patch by comparing the address that raises the interrupt (t

Re: [PATCH] mmc: mxs-mmc: Introduce regulator support

2019-01-25 Thread Robin van der Gracht
Hi Martin, On Fri, 25 Jan 2019 12:34:49 +0100 Martin Kepplinger wrote: > From: Martin Kepplinger > > This adds support for explicitly switching the mmc's power on and off. > > Signed-off-by: Martin Kepplinger > --- > > This is not my patch. It's taken from > https://patchwork.kernel.org/pa

Re: [PATCH] net: phy: at803x: Use helpers to access MMD PHY registers

2019-01-25 Thread Andrew Lunn
On Fri, Jan 25, 2019 at 12:35:10PM +, Carlo Caione wrote: > Libphy provides a standard set of helpers to access the MMD PHY > registers. Use those instead of relying on custom driver-specific > functions. Hi Carlo Maybe deja vu, but i thought a similar patch went by recently? Anyway, Review

Re: [PATCH 00/15] Habana Labs kernel driver

2019-01-25 Thread Olof Johansson
On Thu, Jan 24, 2019 at 11:43 PM Daniel Vetter wrote: > > On Fri, Jan 25, 2019 at 1:14 AM Olof Johansson wrote: > > > > On Thu, Jan 24, 2019 at 2:23 AM Dave Airlie wrote: > > > > > > > I know I won't be able to convince you but I want to say that I think > > > > your arguments for full userspace

Re: [PATCH] net: phy: at803x: Use helpers to access MMD PHY registers

2019-01-25 Thread Carlo Caione
On 25/01/2019 15:00, Andrew Lunn wrote: On Fri, Jan 25, 2019 at 12:35:10PM +, Carlo Caione wrote: Libphy provides a standard set of helpers to access the MMD PHY registers. Use those instead of relying on custom driver-specific functions. Hi Carlo Hey Andrew, Maybe deja vu, but i thoug

Re: [PATCH 1/3] PCI: iproc: Add feature to set order mode

2019-01-25 Thread Bjorn Helgaas
On Fri, Jan 25, 2019 at 03:13:38PM +0530, Srinath Mannam wrote: > On Fri, Jan 25, 2019 at 1:01 AM Bjorn Helgaas wrote: > > On Thu, Jan 24, 2019 at 02:10:18PM +0530, Srinath Mannam wrote: > > > On Fri, Jan 18, 2019 at 8:37 PM Bjorn Helgaas wrote: > > > > On Fri, Jan 18, 2019 at 09:53:21AM +0530, S

Re: [PATCH] mmc: mxs-mmc: Introduce regulator support

2019-01-25 Thread Stefan Wahren
Hi Martin, Am 25.01.19 um 12:34 schrieb Martin Kepplinger: > From: Martin Kepplinger > > This adds support for explicitly switching the mmc's power on and off. could you please explain in the commit log why or for which board this is necessary? Thanks Stefan

[RFC PATCH] drivers core: cpu: add hotplug callback to update cpu_dev state to resumed

2019-01-25 Thread Sudeep Holla
The sysfs for the cpu caches are managed by adding devices with cpu as the parent in cpu_device_create() when secondary cpu is brought onlin. Generally when the secondary CPUs are hotplugged back is as part of resume from suspend-to-ram, we call cpu_device_create() from the cpu hotplug state machin

[PATCH] ext2: Remove redundant check for finding no group

2019-01-25 Thread Liu Xiang
When best_desc keeps NULL, best_group keeps -1, too. So we can return best_group directly. Signed-off-by: Liu Xiang --- fs/ext2/ialloc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/ext2/ialloc.c b/fs/ext2/ialloc.c index 5c3d7b7..a0c5ea9 100644 --- a/fs/ext2/ialloc.c +++ b/fs/ext2/ial

[PATCH] kprobe: safely access memory specified by userspace

2019-01-25 Thread Changbin Du
The userspace can ask kprobe to intercept strings at any memory address, including invalid kernel address. In this case, fetch_store_strlen() would crash since it uses general usercopy function. For example, we can crash the kernel by doing something as below: $ sudo kprobe 'p:do_sys_open +0(+0(%

Re: System crash with perf_fuzzer (kernel: 5.0.0-rc3)

2019-01-25 Thread Vince Weaver
On Fri, 25 Jan 2019, Ravi Bangoria wrote: > I'm seeing a system crash while running perf_fuzzer with upstream kernel > on an Intel machine. I hit the crash twice (out of which I don't have log > of first crash so don't know if the reason is same for both the crashes). > I've attached my .config wi

Re: [PATCH v5 2/4] perf: add arm64 smmuv3 pmu driver

2019-01-25 Thread Robin Murphy
On 30/11/2018 15:47, Shameer Kolothum wrote: From: Neil Leeder Adds a new driver to support the SMMUv3 PMU and add it into the perf events framework. Each SMMU node may have multiple PMUs associated with it, each of which may support different events. SMMUv3 PMCG devices are named as smmuv3_p

Re: [PATCH v2 06/29] ARM: add migrate_pages() system call

2019-01-25 Thread Catalin Marinas
On Fri, Jan 18, 2019 at 05:18:12PM +0100, Arnd Bergmann wrote: > The migrate_pages system call has an assigned number on all architectures > except ARM. When it got added initially in commit d80ade7b3231 ("ARM: > Fix warning: #warning syscall migrate_pages not implemented"), it was > intentionally

Re: [PATCH] staging: mt7621-pinctrl: Remove space after cast

2019-01-25 Thread Nishad Kamdar
On Wed, Jan 23, 2019 at 09:45:53AM -0800, Joe Perches wrote: > On Wed, 2019-01-23 at 22:01 +0530, Nishad Kamdar wrote: > > This patch removes space after a cast as it > > is not needed. > > Issue found by checkpatch. > > > > Signed-off-by: Nishad Kamdar > > --- > > drivers/staging/mt7621-pinctrl

Re: [PATCH net] net: mvpp2: fix condition for setting up link interrupt

2019-01-25 Thread Thomas Bogendoerfer
On Fri, 25 Jan 2019 09:37:20 +0100 Antoine Tenart wrote: > Hi, > > On Thu, Jan 24, 2019 at 04:07:41PM +, Russell King - ARM Linux admin > wrote: > > On Thu, Jan 24, 2019 at 04:51:37PM +0100, Andrew Lunn wrote: > > > On Thu, Jan 24, 2019 at 02:18:03PM +0100, Thomas Bogendoerfer wrote: > > >

Re: [PATCH 08/22] x86/fpu: Remove user_fpu_begin()

2019-01-25 Thread Borislav Petkov
On Wed, Jan 09, 2019 at 12:47:30PM +0100, Sebastian Andrzej Siewior wrote: > user_fpu_begin() sets fpu_fpregs_owner_ctx to task's fpu struct. This is > always the case since there is no lazy FPU anymore. > > fpu_fpregs_owner_ctx is used during context switch to decide if it needs > to load the sav

[PATCH] net: wireless: prefix header search paths with $(srctree)/

2019-01-25 Thread Masahiro Yamada
Currently, the Kbuild core manipulates header search paths in a crazy way [1]. To fix this mess, I want all Makefiles to add explicit $(srctree)/ to the search paths in the srctree. Some Makefiles are already written in that way, but not all. The goal of this work is to make the notation consisten

Re: [PATCH v10 0/4] Media Device Allocator API

2019-01-25 Thread Sakari Ailus
Hi Shuah, On Thu, Jan 24, 2019 at 01:32:37PM -0700, Shuah Khan wrote: > Media Device Allocator API to allows multiple drivers share a media device. > This API solves a very common use-case for media devices where one physical > device (an USB stick) provides both audio and video. When such media d

Re: [PATCH] drm/amd/display: add -msse2 to prevent Clang from emitting libcalls to undefined SW FP routines

2019-01-25 Thread Wentland, Harry
On 2019-01-24 7:52 p.m., ndesaulni...@google.com wrote: > arch/x86/Makefile disables SSE and SSE2 for the whole kernel. The > AMDGPU drivers modified in this patch re-enable SSE but not SSE2. Turn > on SSE2 to support emitting double precision floating point instructions > rather than calls to no

Re: [PATCH] workqueue: Try to catch flush_work() without INIT_WORK().

2019-01-25 Thread Tejun Heo
On Wed, Jan 23, 2019 at 09:44:12AM +0900, Tetsuo Handa wrote: > Daniel Jordan wrote: > > On Sat, Jan 19, 2019 at 11:41:22AM +0900, Tetsuo Handa wrote: > > > On 2019/01/19 4:48, Daniel Jordan wrote: > > > > On Sat, Jan 19, 2019 at 02:04:58AM +0900, Tetsuo Handa wrote: > > > > __queue_work has a sani

Re: [PATCH] r8169: Load MAC address from device tree if present

2019-01-25 Thread Thierry Reding
On Fri, Jan 25, 2019 at 03:57:11PM +0100, Andrew Lunn wrote: > On Fri, Jan 25, 2019 at 11:18:14AM +0100, Thierry Reding wrote: > > From: Thierry Reding > > > > If the system was booted using a device tree and if the device tree > > contains a MAC address, use it instead of reading one from the EE

Re: [PATCH] of: Make of_node_name_eq() case insensitive

2019-01-25 Thread Rob Herring
On Thu, Jan 24, 2019 at 11:00 PM Florian Fainelli wrote: > > > > On 1/24/19 6:06 PM, Frank Rowand wrote: > > On 1/24/19 5:20 PM, Florian Fainelli wrote: > >> > >> > >> On 1/24/19 3:45 PM, Frank Rowand wrote: > >>> On 1/24/19 12:08 PM, Florian Fainelli wrote: > Since c32569e358ad ("regulator:

Re: [PATCH 00/15] Habana Labs kernel driver

2019-01-25 Thread Olof Johansson
Hi, On Thu, Jan 24, 2019 at 11:37 PM Greg Kroah-Hartman wrote: > > On Thu, Jan 24, 2019 at 07:57:11AM +1000, Dave Airlie wrote: > > On Wed, 23 Jan 2019 at 10:01, Oded Gabbay wrote: > > > > > > Hello, > > > > > > For those who don't know me, my name is Oded Gabbay (Kernel Maintainer > > > for AMD

[PATCH] clk: ingenic: jz4740: Fix gating of UDC clock

2019-01-25 Thread Paul Cercueil
The UDC clock is gated when the bit is cleared, not when it is set. Signed-off-by: Paul Cercueil Tested-by: Artur Rojek --- drivers/clk/ingenic/jz4740-cgu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/ingenic/jz4740-cgu.c b/drivers/clk/ingenic/jz4740-cgu.c in

[PATCH 1/2] regulator: mc13xxx: Use lowercase regulator names to match the DT

2019-01-25 Thread Rob Herring
Since c32569e358ad ("regulator: Use of_node_name_eq for node name comparisons") Vivien reported the mc13892-regulator complaining about not being able to find regulators. This is because prior to that commit we used of_node_cmp() to compare the regulator array passed from mc13892_regulators down t

Re: [PATCH v10 1/4] media: Media Device Allocator API

2019-01-25 Thread Sakari Ailus
Hi Shuah, On Thu, Jan 24, 2019 at 01:32:38PM -0700, Shuah Khan wrote: > Media Device Allocator API to allows multiple drivers share a media device. > This API solves a very common use-case for media devices where one physical > device (an USB stick) provides both audio and video. When such media d

Re: [PATCH] x86/speculation: Update TIF_SPEC_IB before ibpb barrier

2019-01-25 Thread Thomas Gleixner
On Wed, 23 Jan 2019, Thomas Gleixner wrote: > On Fri, 18 Jan 2019, Zhenzhong Duan wrote: > > > When a task is set for updating TIF_SPEC_IB throuth SECCOMP by others > > and it's scheduled in the first time, a stale TIF_SPEC_IB value is > > picked in cond_ibpb(). This is due to TIF_SPEC_IB is upda

Re: [PATCH] media: ov5640: Fix set 15fps regression

2019-01-25 Thread Maxime Ripard
On Thu, Jan 24, 2019 at 11:28:01PM +0530, Jagan Teki wrote: > The ov5640_try_frame_interval operation updates the FPS as per user > input based on default ov5640_frame_rate, OV5640_30_FPS which is failed > to update when user trigger 15fps. > > So, initialize the default ov5640_frame_rate to OV564

Re: [PATCH v7 1/5] dt-bindings: media: sun6i: Add A64 CSI compatible

2019-01-25 Thread Maxime Ripard
On Thu, Jan 24, 2019 at 11:37:32PM +0530, Jagan Teki wrote: > Allwinner A64 CSI is a single channel time-multiplexed BT.656 > protocol interface. > > Add separate compatible string for A64 since it require explicit > change in sun6i_csi driver to update default CSI_SCLK rate. > > Reviewed-by: Rob

Re: [PATCH v7 2/5] media: sun6i: Add A64 CSI block support

2019-01-25 Thread Maxime Ripard
On Thu, Jan 24, 2019 at 11:37:33PM +0530, Jagan Teki wrote: > CSI block in Allwinner A64 has similar features as like in H3, > but the default CSI_SCLK rate cannot work properly to drive the > connected sensor interface. > > The tested mod cock rate is 300 MHz and BSP vfe media driver is also > us

Re: [PATCH v7 3/5] arm64: dts: allwinner: a64: Add A64 CSI controller

2019-01-25 Thread Maxime Ripard
On Thu, Jan 24, 2019 at 11:37:34PM +0530, Jagan Teki wrote: > Add dts node details for Allwinner A64 CSI controller. > > A64 CSI has similar features as like in H3, but the CSI_SCLK > need to update it to 300MHz than default clock rate. > > Signed-off-by: Jagan Teki Acked-by: Maxime Ripard Ma

Re: [PATCH v2 07/29] ARM: add kexec_file_load system call number

2019-01-25 Thread Catalin Marinas
On Fri, Jan 18, 2019 at 05:18:13PM +0100, Arnd Bergmann wrote: > diff --git a/arch/arm/tools/syscall.tbl b/arch/arm/tools/syscall.tbl > index 86de9eb34296..20ed7e026723 100644 > --- a/arch/arm/tools/syscall.tbl > +++ b/arch/arm/tools/syscall.tbl > @@ -415,3 +415,4 @@ > 398 common rseq

Re: [PATCH V4] livepatch: non static warnings fix

2019-01-25 Thread Jiri Kosina
On Thu, 24 Jan 2019, Nicholas Mc Guire wrote: > Sparse reported warnings about non-static symbols. For the variables > a simple static attribute is fine - for the functions referenced by > livepatch via klp_func the symbol-names must be unmodified in the > symbol table and the patchable code has t

<    1   2   3   4   5   6   7   8   9   >