Re: PSA: Do not use "Reported-By" without reporter's approval

2019-05-22 Thread Bhaskar Chowdhury
Make sense Kai! On 15:30 Wed 22 May , Konstantin Ryabitsev wrote: Hello, all: It is common courtesy to include this tagline when submitting patches: Reported-By: J. Doe Please ask the reporter's permission before doing so (even if they'd submitted a public bugzilla report or sent a report

Re: [PATCH 2/3] firmware: add offset to request_firmware_into_buf

2019-05-22 Thread Greg Kroah-Hartman
On Wed, May 22, 2019 at 07:51:12PM -0700, Scott Branden wrote: > Add offset to request_firmware_into_buf to allow for portions > of firmware file to be read into a buffer. Necessary where firmware > needs to be loaded in portions from file in memory constrained systems. > > Signed-off-by: Scott

Re: [PATCH v2 bpf-next 4/4] selftests/bpf: add auto-detach test

2019-05-22 Thread Yonghong Song
On 5/22/19 4:20 PM, Roman Gushchin wrote: > Add a kselftest to cover bpf auto-detachment functionality. > The test creates a cgroup, associates some resources with it, > attaches a couple of bpf programs and deletes the cgroup. > > Then it checks that bpf programs are going away in 5 seconds. >

Re: -Wuninitialized warning in drivers/misc/sgi-xp/xpc_partition.c

2019-05-22 Thread Greg Kroah-Hartman
On Wed, May 22, 2019 at 06:56:39PM -0700, Nathan Chancellor wrote: > On Thu, May 02, 2019 at 08:33:40PM -0700, Nathan Chancellor wrote: > > Hi all, > > > > When building with -Wuninitialized, Clang warns: > > > > drivers/misc/sgi-xp/xpc_partition.c:73:14: warning: variable 'buf' is > >

[PATCH] scsi: smartpqi: properly set both the DMA mask and the coherent DMA mask in pqi_pci_init()

2019-05-22 Thread Lianbo Jiang
When SME is enabled, the smartpqi driver won't work on the HP DL385 G10 machine, which causes the failure of kernel boot because it fails to allocate pqi error buffer. Please refer to the kernel log: [9.431749] usbcore: registered new interface driver uas [9.441524] Microsemi PQI

Re: [PATCH 3/3] soc: qcom: mdt_loader: add offset to request_firmware_into_buf

2019-05-22 Thread Greg Kroah-Hartman
On Wed, May 22, 2019 at 07:51:13PM -0700, Scott Branden wrote: > Adjust request_firmware_into_buf API to allow for portions > of firmware file to be read into a buffer. mdt_loader still > retricts request fo whole file read into buffer. > > Signed-off-by: Scott Branden > --- >

[PATCH 1/2] DT: mailbox: add binding doc for the ARM SMC mailbox

2019-05-22 Thread Peng Fan
The ARM SMC mailbox binding describes a firmware interface to trigger actions in software layers running in the EL2 or EL3 exception levels. The term "ARM" here relates to the SMC instruction as part of the ARM instruction set, not as a standard endorsed by ARM Ltd. Signed-off-by: Peng Fan ---

[PATCH 2/2] mailbox: introduce ARM SMC based mailbox

2019-05-22 Thread Peng Fan
This mailbox driver implements a mailbox which signals transmitted data via an ARM smc (secure monitor call) instruction. The mailbox receiver is implemented in firmware and can synchronously return data when it returns execution to the non-secure world again. An asynchronous receive path is not

[PATCH 0/2] mailbox: arm: introduce smc triggered mailbox

2019-05-22 Thread Peng Fan
This is a modified version from Andre Przywara's patch series https://lore.kernel.org/patchwork/cover/812997/. [1] is a draft implementation of i.MX8MM SCMI ATF implementation that use smc as mailbox, power/clk is included, but only part of clk has been implemented to work with hardware, power

Re: [PATCH v2 bpf-next 4/4] selftests/bpf: add auto-detach test

2019-05-22 Thread Yonghong Song
On 5/22/19 4:20 PM, Roman Gushchin wrote: > Add a kselftest to cover bpf auto-detachment functionality. > The test creates a cgroup, associates some resources with it, > attaches a couple of bpf programs and deletes the cgroup. > > Then it checks that bpf programs are going away in 5 seconds. >

Re: [RFC PATCH 00/11] bpf, trace, dtrace: DTrace BPF program type implementation and sample use

2019-05-22 Thread Kris Van Hees
On Wed, May 22, 2019 at 01:53:31PM -0700, Alexei Starovoitov wrote: > On Wed, May 22, 2019 at 01:23:27AM -0400, Kris Van Hees wrote: > > > > Userspace aside, there are various features that are not currently available > > such as retrieving the ppid of the current task, and various other data >

Re: [PATCH v2 bpf-next 3/4] selftests/bpf: enable all available cgroup v2 controllers

2019-05-22 Thread Yonghong Song
On 5/22/19 4:20 PM, Roman Gushchin wrote: > Enable all available cgroup v2 controllers when setting up > the environment for the bpf kselftests. It's required to properly test > the bpf prog auto-detach feature. Also it will generally increase > the code coverage. > > Signed-off-by: Roman

Re: [PATCH 5.0 119/123] s390/mm: convert to the generic get_user_pages_fast code

2019-05-22 Thread Greg Kroah-Hartman
On Wed, May 22, 2019 at 04:46:16PM -0500, Justin Forbes wrote: > On Mon, May 20, 2019 at 7:30 AM Greg Kroah-Hartman > wrote: > > > > From: Martin Schwidefsky > > > > commit 1a42010cdc26bb7e5912984f3c91b8c6d55f089a upstream. > > > > Define the gup_fast_permitted to check against the asce_limit of

Re: [PATCH v2 bpf-next 2/4] selftests/bpf: convert test_cgrp2_attach2 example into kselftest

2019-05-22 Thread Yonghong Song
On 5/22/19 4:20 PM, Roman Gushchin wrote: > Convert test_cgrp2_attach2 example into a proper test_cgroup_attach > kselftest. It's better because we do run kselftest on a constant > basis, so there are better chances to spot a potential regression. > > Also make it slightly less verbose to

Re: [PATCH 1/6] staging: kpc2000: make kconfig symbol 'KPC2000' select dependencies

2019-05-22 Thread Greg Kroah-Hartman
On Thu, May 23, 2019 at 01:35:02AM +, Geordan Neukum wrote: > On Wed, May 22, 2019 at 12:27 PM Greg Kroah-Hartman > wrote: > > depends on is better than select. There's a change to depend on UIO for > > this code already in my -linus branch which will show up in Linus's tree > > in a week or

[PATCH v2] perf/x86: always include regs->ip in callchain

2019-05-22 Thread Song Liu
Commit d15d356887e7 removes regs->ip for !perf_hw_regs(regs) case. This patch adds regs->ip back. Fixes: d15d356887e7 ("perf/x86: Make perf callchains work without CONFIG_FRAME_POINTER") Cc: Kairui Song Cc: Peter Zijlstra (Intel) Signed-off-by: Song Liu --- arch/x86/events/core.c | 4 ++-- 1

Re: [PATCH] swiotlb: sync buffer when mapping FROM_DEVICE

2019-05-22 Thread Marek Szyprowski
Hi Robin, On 2019-05-22 15:55, Robin Murphy wrote: > On 22/05/2019 14:34, Christoph Hellwig wrote: >> On Wed, May 22, 2019 at 02:25:38PM +0100, Robin Murphy wrote: >>> Sure, but that should be irrelevant since the effective problem here >>> is in >>> the sync_*_for_cpu direction, and it's the

Re: [PATCH v4 11/14] dmaengine: imx-sdma: fix ecspi1 rx dma not work on i.mx8mm

2019-05-22 Thread Vinod Koul
On 22-05-19, 10:00, Robin Gong wrote: > Because the number of ecspi1 rx event on i.mx8mm is 0, the condition > check ignore such special case without dma channel enabled, which caused > ecspi1 rx works failed. Actually, no need to check event_id0/event_id1 > and replace checking 'event_id1' with

Re: [GIT PULL] SPDX update for 5.2-rc1 - round 1

2019-05-22 Thread Thomas Gleixner
On Wed, 22 May 2019, Joe Perches wrote: > On Thu, 2019-05-23 at 11:49 +0900, Masahiro Yamada wrote: > > On Wed, May 22, 2019 at 3:37 PM Joe Perches wrote: > [] > > > I could also wire up a patch to checkpatch and docs to > > > remove the /* */ requirement for .h files and prefer > > > the

Re: [PATCH v2 bpf-next 1/4] bpf: decouple the lifetime of cgroup_bpf from cgroup itself

2019-05-22 Thread Yonghong Song
On 5/22/19 4:20 PM, Roman Gushchin wrote: > Currently the lifetime of bpf programs attached to a cgroup is bound > to the lifetime of the cgroup itself. It means that if a user > forgets (or intentionally avoids) to detach a bpf program before > removing the cgroup, it will stay attached up to

Re: [PATCH] tick/sched: Drop duplicated tick_sched.inidle

2019-05-22 Thread Peter Xu
On Wed, May 22, 2019 at 02:18:41PM +0200, Frederic Weisbecker wrote: > On Wed, May 22, 2019 at 11:29:06AM +0800, Peter Xu wrote: > > It is set before entering idle and cleared when quitting idle, though > > it seems to be a complete duplicate of tick_sched.idle_active. We > > should probably be

Re: [PATCH AUTOSEL 5.1 077/375] USB: serial: fix initial-termios handling

2019-05-22 Thread Johan Hovold
Hi Sasha, On Wed, May 22, 2019 at 03:16:17PM -0400, Sasha Levin wrote: > From: Johan Hovold > > [ Upstream commit 579bebe5dd522580019e7b10b07daaf500f9fb1e ] > > The USB-serial driver init_termios callback is used to override the > default initial terminal settings provided by USB-serial core.

Re: [RFC PATCH 00/11] bpf, trace, dtrace: DTrace BPF program type implementation and sample use

2019-05-22 Thread Kris Van Hees
On Wed, May 22, 2019 at 12:55:27PM -0700, Alexei Starovoitov wrote: > On Wed, May 22, 2019 at 02:22:15PM -0400, Kris Van Hees wrote: > > On Wed, May 22, 2019 at 04:25:32PM +0200, Peter Zijlstra wrote: > > > On Tue, May 21, 2019 at 10:56:18AM -0700, Alexei Starovoitov wrote: > > > > > > > and no

Re: [PATCH v2 bpf-next 0/4] cgroup bpf auto-detachment

2019-05-22 Thread Yonghong Song
On 5/22/19 4:20 PM, Roman Gushchin wrote: > This patchset implements a cgroup bpf auto-detachment functionality: > bpf programs are attached as soon as possible after removal of the typo here "attached" => "detached"? > cgroup, without waiting for the release of all associated resources. > >

Re: [RFC PATCH 00/11] bpf, trace, dtrace: DTrace BPF program type implementation and sample use

2019-05-22 Thread Kris Van Hees
On Wed, May 22, 2019 at 01:16:25PM -0700, Alexei Starovoitov wrote: > On Wed, May 22, 2019 at 12:12:53AM -0400, Kris Van Hees wrote: > > > > Could you elaborate on why you believe my patches are not adding generic > > features? I can certainly agree that the DTrace-specific portions are less > >

Re: [PATCH 11/12] powerpc/pseries/svm: Force SWIOTLB for secure guests

2019-05-22 Thread Thiago Jung Bauermann
Hello Christoph, Thanks for reviewing the patch! Christoph Hellwig writes: >> diff --git a/arch/powerpc/include/asm/mem_encrypt.h >> b/arch/powerpc/include/asm/mem_encrypt.h >> new file mode 100644 >> index ..45d5e4d0e6e0 >> --- /dev/null >> +++

Re: [PATCH 2/2] Input: synaptics - remove X240 from the topbuttonpad list

2019-05-22 Thread Aaron Ma
On 5/21/19 2:49 PM, Benjamin Tissoires wrote: > A quick google image search showed that the X240 had 2 versions: one > with the top software buttons, one without. > > And this definitively rings a bell. I am sure we asked Lenovo and > Synaptics to change the PnPID when they would do such a

Re: Linux Testing Microconference at LPC

2019-05-22 Thread Knut Omang
On Wed, 2019-05-22 at 14:02 -0700, Brendan Higgins wrote: > On Wed, May 15, 2019 at 08:36:49PM -0400, Sasha Levin wrote: > > On Wed, May 15, 2019 at 04:44:19PM -0600, shuah wrote: > > > Hi Sasha and Dhaval, > > > > > > On 4/11/19 11:37 AM, Dhaval Giani wrote: > > > > Hi Folks, > > > > > > > >

[PATCH V6 1/2] soc: imx: Add SCU SoC info driver support

2019-05-22 Thread Anson Huang
Add i.MX SCU SoC info driver to support i.MX8QXP SoC, introduce driver dependency into Kconfig as CONFIG_IMX_SCU must be selected to support i.MX SCU SoC driver, also need to use platform driver model to make sure IMX_SCU driver is probed before i.MX SCU SoC driver. With this patch, SoC info can

[PATCH V6 2/2] arm64: defconfig: Add i.MX SCU SoC info driver

2019-05-22 Thread Anson Huang
This patch selects CONFIG_IMX_SCU_SOC by default to support i.MX system controller unit SoC info driver. Signed-off-by: Anson Huang Reviewed-by: Abel Vesa Reviewed-by: Dong Aisheng --- No changes. --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH] PCI / PM: Don't runtime suspend when device only supports wakeup from D0

2019-05-22 Thread Kai-Heng Feng
at 04:52, Bjorn Helgaas wrote: On Wed, May 22, 2019 at 02:39:56PM -0400, Alan Stern wrote: On Wed, 22 May 2019, Bjorn Helgaas wrote: On Wed, May 22, 2019 at 11:46:25PM +0800, Kai Heng Feng wrote: On May 22, 2019, at 9:48 PM, Bjorn Helgaas wrote: On Wed, May 22, 2019 at 11:42:14AM +0800,

[PATCH 2/2] KVM: LAPIC: remove the trailing newline used in the fmt parameter of TP_printk

2019-05-22 Thread Wanpeng Li
From: Wanpeng Li The trailing newlines will lead to extra newlines in the trace file which looks like the following output, so remove it. qemu-system-x86-15695 [002] ...1 15774.839240: kvm_hv_timer_state: vcpu_id 0 hv_timer 1 qemu-system-x86-15695 [002] ...1 15774.839309: kvm_hv_timer_state:

[PATCH 1/2] KVM: LAPIC: Optimize timer latency consider world switch time

2019-05-22 Thread Wanpeng Li
From: Wanpeng Li Advance lapic timer tries to hidden the hypervisor overhead between the host emulated timer fires and the guest awares the timer is fired. However, even though after more sustaining optimizations, kvm-unit-tests/tscdeadline_latency still awares ~1000 cycles latency since we

Re: [PATCH -next v2] mm/hotplug: fix a null-ptr-deref during NUMA boot

2019-05-22 Thread Pingfan Liu
On Thu, May 23, 2019 at 11:58 AM Pingfan Liu wrote: > > On Wed, May 22, 2019 at 7:16 PM Michal Hocko wrote: > > > > On Wed 22-05-19 15:12:16, Pingfan Liu wrote: > > > On Mon, May 13, 2019 at 11:31 PM Michal Hocko wrote: > > > > > > > > On Mon 13-05-19 11:20:46, Qian Cai wrote: > > > > > On Mon,

Re: [PATCH -next v2] mm/hotplug: fix a null-ptr-deref during NUMA boot

2019-05-22 Thread Pingfan Liu
On Wed, May 22, 2019 at 7:16 PM Michal Hocko wrote: > > On Wed 22-05-19 15:12:16, Pingfan Liu wrote: > > On Mon, May 13, 2019 at 11:31 PM Michal Hocko wrote: > > > > > > On Mon 13-05-19 11:20:46, Qian Cai wrote: > > > > On Mon, 2019-05-13 at 16:04 +0200, Michal Hocko wrote: > > > > > On Mon

[PATCH] ASoc: fix sound/soc/intel/skylake/slk-ssp-clk.c build error on IA64

2019-05-22 Thread Randy Dunlap
From: Randy Dunlap skl-ssp-clk.c does not build on IA64 because the driver uses the common clock interface, so make the driver depend on COMMON_CLK. Fixes this build error: ../sound/soc/intel/skylake/skl-ssp-clk.c:26:16: error: field 'hw' has incomplete type struct clk_hw hw;

[PATCH] ASoC: sound/soc/intel/boards: limit some drivers to X86 since headers are only in arch/x86/

2019-05-22 Thread Randy Dunlap
From: Randy Dunlap Several drivers in sound/soc/intel/boards/ #include header files that only exist in arch/x86/include/asm. This causes build errors, so make these drivers depend on X86. Fixes these build errors (on ia64): ../sound/soc/intel/boards/bxt_da7219_max98357a.c:19:10: fatal error:

Re: [PATCH v2] configfs: Fix use-after-free when accessing sd->s_dentry

2019-05-22 Thread Sahitya Tummala
On Fri, May 17, 2019 at 10:23:12AM +0200, Christoph Hellwig wrote: > On Thu, May 16, 2019 at 06:27:53PM +0530, stumm...@codeaurora.org wrote: > > Hi Christoph, Al, > > > > Can you please consider this patch for merging? > > I've been sitting on this for a while, mostly because I can't convince >

linux-next: Tree for May 23

2019-05-22 Thread Stephen Rothwell
Hi all, Changes since 20190522: The slave-dma-fixes tree gained a conflict against Linus' tree. The drm-misc tree gained conflicts against the drm-intel tree. Non-merge commits (relative to Linus' tree): 1529 1601 files changed, 50560 insertions(+), 29437 deletions

RE: [PATCH V5 2/2] arm64: defconfig: Add i.MX SCU SoC info driver

2019-05-22 Thread Aisheng Dong
> From: Anson Huang > Sent: Wednesday, May 22, 2019 2:24 PM > > This patch selects CONFIG_IMX_SCU_SOC by default to support i.MX system > controller unit SoC info driver. > > Signed-off-by: Anson Huang Reviewed-by: Dong Aisheng Regards Dong Aisheng

Re: [PATCH] powerpc: Fix loading of kernel + initramfs with kexec_file_load()

2019-05-22 Thread Dave Young
On 05/22/19 at 07:01pm, Thiago Jung Bauermann wrote: > Commit b6664ba42f14 ("s390, kexec_file: drop arch_kexec_mem_walk()") > changed kexec_add_buffer() to skip searching for a memory location if > kexec_buf.mem is already set, and use the address that is there. > > In powerpc code we reuse a

RE: [PATCH V5 1/2] soc: imx: Add SCU SoC info driver support

2019-05-22 Thread Aisheng Dong
> From: Anson Huang > Sent: Wednesday, May 22, 2019 2:24 PM > > Add i.MX SCU SoC info driver to support i.MX8QXP SoC, introduce driver > dependency into Kconfig as CONFIG_IMX_SCU must be selected to support > i.MX SCU SoC driver, also need to use platform driver model to make sure > IMX_SCU

Re: [PATCH v4 3/3] x86/kdump/64: Change the upper limit of crashkernel reservation

2019-05-22 Thread Baoquan He
On 05/22/19 at 11:11am, Dave Young wrote: > > /* > > - * Keep the crash kernel below this limit. On 32 bits earlier kernels > > - * would limit the kernel to the low 512 MiB due to mapping restrictions. > > + * Keep the crash kernel below this limit. > > + * > > + * On 32 bits earlier kernels

Re: [PATCH 01/12] perf tools: Separate generic code in dso__data_file_size

2019-05-22 Thread Namhyung Kim
Hi Jirka, On Mon, May 13, 2019 at 10:00:15PM +0200, Jiri Olsa wrote: > On Mon, May 13, 2019 at 04:47:54PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Wed, May 08, 2019 at 03:19:59PM +0200, Jiri Olsa escreveu: > > > Moving file specific code in dso__data_file_size function > > > into separate

Re: [GIT PULL] SPDX update for 5.2-rc1 - round 1

2019-05-22 Thread Joe Perches
On Thu, 2019-05-23 at 11:49 +0900, Masahiro Yamada wrote: > On Wed, May 22, 2019 at 3:37 PM Joe Perches wrote: [] > > I could also wire up a patch to checkpatch and docs to > > remove the /* */ requirement for .h files and prefer > > the generic // form for both .c and .h files as the > > current

[PATCH v5] x86/mm/KASLR: Fix the size of vmemmap section

2019-05-22 Thread Baoquan He
kernel_randomize_memory() hardcodes the size of vmemmap section as 1 TB, to support the maximum amount of system RAM in 4-level paging mode, 64 TB. However, 1 TB is not enough for vmemmap in 5-level paging mode. Assuming the size of struct page is 64 Bytes, to support 4 PB system RAM in 5-level,

[PATCH 3/3] soc: qcom: mdt_loader: add offset to request_firmware_into_buf

2019-05-22 Thread Scott Branden
Adjust request_firmware_into_buf API to allow for portions of firmware file to be read into a buffer. mdt_loader still retricts request fo whole file read into buffer. Signed-off-by: Scott Branden --- drivers/soc/qcom/mdt_loader.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-)

[PATCH 1/3] fs: introduce kernel_pread_file* support

2019-05-22 Thread Scott Branden
Add kernel_pread_file* support to kernel to allow for partial read of files with an offset into the file. Existing kernel_read_file functions call new kernel_pread_file functions with offset=0 and flags=KERNEL_PREAD_FLAG_WHOLE. Signed-off-by: Scott Branden --- fs/exec.c | 77

[PATCH 0/3] fs: add partial file read support

2019-05-22 Thread Scott Branden
This patch series adds partial file read support to the kernel via kernel_pread_file functions. request_firmware_into_buf function enhanced to allow partial file read support and single qcom driver using existing function updated. Change to core kernel file support allows new drivers to read

[Patch v2] staging: rtl8723bs: core: rtw_recv: fix warning Comparison to NULL

2019-05-22 Thread Hariprasad Kelam
fix below warning reported by checkpatch CHECK: Comparison to NULL could be written "!precvpriv->pallocated_frame_buf" CHECK: Comparison to NULL could be written "padapter" Signed-off-by: Hariprasad Kelam - changes in v2: Corected few erorrs like (!*psta == NULL) pointed in

[PATCH 2/3] firmware: add offset to request_firmware_into_buf

2019-05-22 Thread Scott Branden
Add offset to request_firmware_into_buf to allow for portions of firmware file to be read into a buffer. Necessary where firmware needs to be loaded in portions from file in memory constrained systems. Signed-off-by: Scott Branden --- drivers/base/firmware_loader/firmware.h | 5 +++

Re: [GIT PULL] SPDX update for 5.2-rc1 - round 1

2019-05-22 Thread Masahiro Yamada
On Wed, May 22, 2019 at 3:37 PM Joe Perches wrote: > > On Wed, 2019-05-22 at 13:32 +0900, Masahiro Yamada wrote: > > On Tue, May 21, 2019 at 10:34 PM Greg KH wrote: > [] > > > - Add GPL-2.0-only or GPL-2.0-or-later tags to files where our scan > > > tools can determine the license text in

Re: [PATCH v2] fix use-after-free in perf_sched__lat

2019-05-22 Thread Namhyung Kim
On Wed, May 22, 2019 at 08:08:23AM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, May 22, 2019 at 03:56:10PM +0900, Namhyung Kim escreveu: > > On Wed, May 08, 2019 at 10:36:48PM +0800, Wei Li wrote: > > > After thread is added to machine->threads[i].dead in > > > __machine__remove_thread, the

Re: [PATCH 3/3] perf top: Enable --namespaces option

2019-05-22 Thread Namhyung Kim
On Wed, May 22, 2019 at 10:24:24AM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, May 22, 2019 at 02:32:50PM +0900, Namhyung Kim escreveu: > > Since perf record already have the option, let's have it for perf top > > as well. > > I'm applying, but I wonder if this shouldn't be the default...

[PATCH] sg: Fix a double-fetch bug in drivers/scsi/sg.c

2019-05-22 Thread Gen Zhang
In sg_write(), the opcode of the command is fetched the first time from the userspace by __get_user(). Then the whole command, the opcode included, is fetched again from userspace by __copy_from_user(). However, a malicious user can change the opcode between the two fetches. This can cause

Re: [PATCH V2 0/4] Prevent vhost kthread from hogging CPU

2019-05-22 Thread Jason Wang
On 2019/5/20 下午8:52, Michael S. Tsirkin wrote: On Fri, May 17, 2019 at 12:29:48AM -0400, Jason Wang wrote: Hi: This series try to prevent a guest triggerable CPU hogging through vhost kthread. This is done by introducing and checking the weight after each requrest. The patch has been tested

Re: [PATCH 1/3] perf tools: Protect reading thread's namespace

2019-05-22 Thread Namhyung Kim
Hi Arnaldo, On Wed, May 22, 2019 at 10:18:32AM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, May 22, 2019 at 02:32:48PM +0900, Namhyung Kim escreveu: > > It seems that the current code lacks holding the namespace lock in > > thread__namespaces(). Otherwise it can see inconsistent results. > >

Re: SGX vs LSM (Re: [PATCH v20 00/28] Intel SGX1 support)

2019-05-22 Thread Sean Christopherson
On Wed, May 22, 2019 at 03:42:45PM -0700, Andy Lutomirski wrote: > On Wed, May 22, 2019 at 8:38 AM Sean Christopherson > wrote: > > > > And that straight up doesn't work with the v20 driver because mmap() with > > the enclave_fd will run through sgx_get_unmapped_area(), which also does > > the

[PATCH net-next v2, 2/4] enetc: add get_ts_info interface for ethtool

2019-05-22 Thread Y.b. Lu
This patch is to add get_ts_info interface for ethtool to support getting timestamping capability. Signed-off-by: Yangbo Lu --- Changes for v2: - None. --- drivers/net/ethernet/freescale/enetc/enetc.h | 3 ++ .../ethernet/freescale/enetc/enetc_ethtool.c | 31 +++

[PATCH net-next v2, 3/4] dt-binding: ptp_qoriq: support ENETC PTP compatible

2019-05-22 Thread Y.b. Lu
Add a new compatible for ENETC PTP. Signed-off-by: Yangbo Lu --- Changes for v2: - Added this patch. --- Documentation/devicetree/bindings/ptp/ptp-qoriq.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/ptp/ptp-qoriq.txt

[PATCH net-next v2, 1/4] enetc: add hardware timestamping support

2019-05-22 Thread Y.b. Lu
This patch is to add hardware timestamping support for ENETC. On Rx, timestamping is enabled for all frames. On Tx, we only instruct the hardware to timestamp the frames marked accordingly by the stack. Because the RX BD ring dynamic allocation has not been supported and it is too expensive to

[PATCH net-next v2, 4/4] arm64: dts: fsl: ls1028a: add ENETC 1588 timer node

2019-05-22 Thread Y.b. Lu
Add ENETC 1588 timer node which is ENETC PF 4 (Physiscal Function 4). Signed-off-by: Yangbo Lu --- Changes for v2: - Added compatible. --- arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH net-next v2, 0/4] ENETC: support hardware timestamping

2019-05-22 Thread Y.b. Lu
This patch-set is to support hardware timestamping for ENETC and also to add ENETC 1588 timer device tree node for ls1028a. Because the ENETC RX BD ring dynamic allocation has not been supported and it is too expensive to use extended RX BDs if timestamping is not used, a Kconfig option is used

[PATCH] powerpc/powernv: fix variable "c" set but not used

2019-05-22 Thread Qian Cai
The commit 58629c0dc349 ("powerpc/powernv/npu: Fault user page into the hypervisor's pagetable") introduced a variable "c" to be used in __get_user() and __get_user_nocheck() which need to stay as macros for performance reasons, and "c" is not actually used in pnv_npu2_handle_fault(),

[v4 PATCH 2/2] mm: vmscan: correct some vmscan counters for THP swapout

2019-05-22 Thread Yang Shi
Since commit bd4c82c22c36 ("mm, THP, swap: delay splitting THP after swapped out"), THP can be swapped out in a whole. But, nr_reclaimed and some other vm counters still get inc'ed by one even though a whole THP (512 pages) gets swapped out. This doesn't make too much sense to memory reclaim.

[v4 PATCH 1/2] mm: vmscan: remove double slab pressure by inc'ing sc->nr_scanned

2019-05-22 Thread Yang Shi
The commit 9092c71bb724 ("mm: use sc->priority for slab shrink targets") has broken up the relationship between sc->nr_scanned and slab pressure. The sc->nr_scanned can't double slab pressure anymore. So, it sounds no sense to still keep sc->nr_scanned inc'ed. Actually, it would prevent from

[PATCH v2] jbd2: fix some print format mistakes

2019-05-22 Thread Gaowei Pu
There are some print format mistakes in debug messages. Fix them. Signed-off-by: Gaowei Pu Reviewed-by: Jan Kara V2: add Reviewed-by. --- fs/jbd2/journal.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c index

mainline/master boot bisection: v5.2-rc1-165-g54dee406374c on rk3288-veyron-jaq

2019-05-22 Thread kernelci.org bot
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This automated bisection report was sent to you on the basis * * that you may be involved with the breaking commit it has * * found. No manual investigation has been done to verify it, * * and the root cause of the

RE:Re: [PATCH v4 00/14] add ecspi ERR009165 for i.mx6/7 soc family

2019-05-22 Thread Robin Gong
> -Original Message- > From: Lucas Stach > Sent: 2019年5月22日 18:10 > Hi Robin, > > Am Mittwoch, den 22.05.2019, 09:59 + schrieb Robin Gong: > > There is ecspi ERR009165 on i.mx6/7 soc family, which cause FIFO > > transfer to be send twice in DMA mode. Please get more information

[PATCH] sched: fix "runnable_avg_yN_inv" not used warnings

2019-05-22 Thread Qian Cai
runnable_avg_yN_inv[] is only used in kernel/sched/pelt.c but was included in several other places and causes compilation warnings, In file included from kernel/sched/pelt.h:2, from kernel/sched/rt.c:8: kernel/sched/sched-pelt.h:4:18: warning: 'runnable_avg_yN_inv' defined but

RE: [EXT] Re: [PATCH v4 10/14] dma: imx-sdma: add i.mx6ul/6sx compatible name

2019-05-22 Thread Robin Gong
Hi Rob, Thank you for your reminding, I have added Acked-by tags gotten from Mark and Vinod in v4 patch set, but there is still one update ( remove checking 'event_id1' zero as 'event_id0'.) for Vinod's concern, so I sent new v4. > -Original Message- > From: Rob Herring > Sent:

From: Mr.Ahmed Owain

2019-05-22 Thread Mr.Ahmed Owain
Good Day, Please accept my apologies for writing you a surprise letter.I am Mr.Ahmed Owain, account Manager with an investment bank here in Burkina Faso.I have a very important business I want to discuss with you.There is a draft account opened in my firm by a long-time client of our bank.I have

Re: [PATCH RFC v8 01/10] namei: obey trailing magic-link DAC permissions

2019-05-22 Thread Aleksa Sarai
On 2019-05-22, Andy Lutomirski wrote: > On Mon, May 20, 2019 at 6:34 AM Aleksa Sarai wrote: > > One final exception is given, which is that non-O_PATH file descriptors > > are given re-open rights equivalent to the permissions available at > > open-time. This allows for O_RDONLY file descriptors

Re: [PATCH] MIPS: remove a space after -I to cope with header search paths for VDSO

2019-05-22 Thread Paul Burton
Hello, Masahiro Yamada wrote: > Commit 9cc342f6c4a0 ("treewide: prefix header search paths with > $(srctree)/") caused a build error for MIPS VDSO. > > CC arch/mips/vdso/gettimeofday.o > In file included from ../arch/mips/vdso/vdso.h:26, > from ../arch/mips/vdso/gettimeofday.c:11: >

Re: -Wuninitialized warning in drivers/misc/sgi-xp/xpc_partition.c

2019-05-22 Thread Nathan Chancellor
On Thu, May 02, 2019 at 08:33:40PM -0700, Nathan Chancellor wrote: > Hi all, > > When building with -Wuninitialized, Clang warns: > > drivers/misc/sgi-xp/xpc_partition.c:73:14: warning: variable 'buf' is > uninitialized when used within its own initialization [-Wuninitialized] > void

Re: [PATCH] MIPS: TXx9: Fix boot crash in free_initmem()

2019-05-22 Thread Paul Burton
Hello, Geert Uytterhoeven wrote: > On rbtx4927: > > BUG: Bad page state in process swapper pfn:1 > page:804b7820 refcount:0 mapcount:-128 mapping: index:0x1 > flags: 0x0() > raw: 0100 0200 0001 ff7f > page dumped because: nonzero

Re: [PATCH] MIPS: mark ginvt() as __always_inline

2019-05-22 Thread Paul Burton
Hello, Masahiro Yamada wrote: > To meet the 'i' (immediate) constraint for the asm operands, > this function must be always inlined. > > Signed-off-by: Masahiro Yamada Applied to mips-fixes. Thanks, Paul [ This message was auto-generated; if you believe anything is incorrect then

Re: [PATCH] rsi: Properly initialize data in rsi_sdio_ta_reset

2019-05-22 Thread Nathan Chancellor
On Thu, May 02, 2019 at 08:17:18PM -0700, Nathan Chancellor wrote: > On Thu, May 02, 2019 at 11:18:01AM -0700, Nick Desaulniers wrote: > > On Thu, May 2, 2019 at 8:16 AM Nathan Chancellor > > wrote: > > > > > > When building with -Wuninitialized, Clang warns: > > > > > >

Re: [PATCH] kbuild: Enable -Wsometimes-uninitialized

2019-05-22 Thread Nathan Chancellor
On Tue, Apr 30, 2019 at 11:46:44AM +0200, Arnd Bergmann wrote: > Ah, I thought they were all fixed, as I don't see any remaining warnings > in my tree. It seems that I never send this workaround for > DECLARE_WAIT_QUEUE_HEAD_ONSTACK: > > diff --git a/include/linux/wait.h b/include/linux/wait.h >

[PATCHv3] arm64: dts: ls1028a: add flexspi nodes

2019-05-22 Thread Xiaowei Bao
From: Xiaowei Bao Add fspi node property for LS1028A SoC for FlexSPI driver. Property added for the FlexSPI controller and for the connected slave device for the LS1028ARDB and LS1028AQDS target. This is having one SPI-NOR flash device, mt35xu02g connected at CS0. Signed-off-by: Xiaowei Bao

Re: [PATCH v2] kasan: Initialize tag to 0xff in __kasan_kmalloc

2019-05-22 Thread Nathan Chancellor
On Thu, May 02, 2019 at 06:40:52PM +0200, Andrey Konovalov wrote: > On Thu, May 2, 2019 at 6:31 PM Nathan Chancellor > wrote: > > > > When building with -Wuninitialized and CONFIG_KASAN_SW_TAGS unset, Clang > > warns: > > > > mm/kasan/common.c:484:40: warning: variable 'tag' is uninitialized when

Re: [PATCH] regulator: max77650: Move max77651_SBB1_desc's declaration down

2019-05-22 Thread Axel Lin
Nathan Chancellor 於 2019年5月23日 週四 上午9:27寫道: > > Clang warns: > > drivers/regulator/max77650-regulator.c:32:39: warning: tentative > definition of variable with internal linkage has incomplete non-array > type 'struct max77650_regulator_desc' > [-Wtentative-definition-incomplete-type] > static

[PATCH] scsi: hpsa: Avoid using dev uninitialized in hpsa_eh_device_reset_handler

2019-05-22 Thread Nathan Chancellor
Clang warns: drivers/scsi/hpsa.c:5964:6: warning: variable 'dev' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if (lockup_detected(h)) { ^~ drivers/scsi/hpsa.c:6042:6: note: uninitialized use occurs here if (dev)

Re: [PATCH v3 1/3] thermal: rockchip: fix up the tsadc pinctrl setting error

2019-05-22 Thread elaine.zhang
hi, Heiko & Enric: 在 2019/5/22 下午8:27, Heiko Stuebner 写道: Hi Enric, Am Montag, 20. Mai 2019, 15:38:32 CEST schrieb Enric Balletbo Serra: Hi all, As pointed by [1] and [2] this commit, that now is upstream, breaks veyron (rk3288) and kevin (rk3399) boards. The problem is especially critical

Re: [PATCH 1/6] staging: kpc2000: make kconfig symbol 'KPC2000' select dependencies

2019-05-22 Thread Geordan Neukum
On Wed, May 22, 2019 at 12:27 PM Greg Kroah-Hartman wrote: > depends on is better than select. There's a change to depend on UIO for > this code already in my -linus branch which will show up in Linus's tree > in a week or so. Noted on both accounts. Thanks for the feedback and sorry for the

Re: [PATCH V1 00/12] LP0 entry and exit support for Tegra210

2019-05-22 Thread Sowjanya Komatineni
HI All Sorry. Please ignore this as it was sent out accidentally thanks sowjanya On 5/22/19 6:28 PM, Sowjanya Komatineni wrote: This patch series includes Tegra210 deepsleep or LP0 support with deep sleep exit through RTC alarm wake and power button wake events. This series also includes

[PATCH V1 00/12] LP0 entry and exit support for Tegra210

2019-05-22 Thread Sowjanya Komatineni
This patch series includes Tegra210 deepsleep or LP0 support with deep sleep exit through RTC alarm wake and power button wake events. This series also includes save and restore of PLLs, clocks, OSC contexts for basic LP0 exit. This patch series is doesn't support for 100% suspend/resume to

[PATCH V1] spi: tegra114: set master cleanup and also invoke it on probe error

2019-05-22 Thread Sowjanya Komatineni
This patch sets master cleanup and also invokes tegra spi clean on tegra spi probe failure to release tegra spi client data. Signed-off-by: Sowjanya Komatineni --- drivers/spi/spi-tegra114.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/spi/spi-tegra114.c

memory leak in new_inode_pseudo

2019-05-22 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:f49aa1de Merge tag 'for-5.2-rc1-tag' of git://git.kernel.o.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12dccd9ca0 kernel config: https://syzkaller.appspot.com/x/.config?x=61dd9e15a761691d

[PATCH] regulator: max77650: Move max77651_SBB1_desc's declaration down

2019-05-22 Thread Nathan Chancellor
Clang warns: drivers/regulator/max77650-regulator.c:32:39: warning: tentative definition of variable with internal linkage has incomplete non-array type 'struct max77650_regulator_desc' [-Wtentative-definition-incomplete-type] static struct max77650_regulator_desc max77651_SBB1_desc;

Re: [PATCH 5/5] mm/hmm: Fix mm stale reference use in hmm_free()

2019-05-22 Thread Jason Gunthorpe
On Wed, May 22, 2019 at 05:54:17PM -0700, Ralph Campbell wrote: > > On 5/22/19 4:36 PM, Jason Gunthorpe wrote: > > On Mon, May 06, 2019 at 04:35:14PM -0700, rcampb...@nvidia.com wrote: > > > From: Ralph Campbell > > > > > > The last reference to struct hmm may be released long after the

Re: [PATCH v2 0/5] 32-bit Meson: add the canvas module

2019-05-22 Thread Kevin Hilman
Martin Blumenstingl writes: > This adds the canvas module on Meson8, Meson8b and Meson8m2. The canvas > IP is used by the video decoder hardware as well as the VPU (video > output) hardware. > > Neither the VPU nor the video decoder driver support the 32-bit SoCs > yet. However, we can still add

[A General Question] What should I do after getting Reviewed-by from a maintainer?

2019-05-22 Thread Gen Zhang
Hi Andrew, I am starting submitting patches these days and got some patches "Reviewed-by" from maintainers. After checking the submitting-patches.html, I figured out what "Reviewed-by" means. But I didn't get the guidance on what to do after getting "Reviewed-by". Am I supposed to send this

Re: [PATCH V5 4/4] spi: tegra114: add support for TX and RX trimmers

2019-05-22 Thread Sowjanya Komatineni
Hi Nathan Thanks for finding it. I missed to set it to master cleanup when I updated the patch. Will send the patch fixing this. Thanks Sowjanya On 5/22/19 6:02 PM, Nathan Chancellor wrote: Hi Sowjanya, On Mon, May 13, 2019 at 10:03:55PM -0700, Sowjanya Komatineni wrote: Tegra SPI

Re: [PATCH 3/3] arm64: dts: imx8mq: add clock for SNVS RTC node

2019-05-22 Thread Shawn Guo
On Wed, May 15, 2019 at 01:09:36AM +, Anson Huang wrote: > i.MX8MQ has clock gate for SNVS module, add clock info to SNVS > RTC node for clock management. > > Signed-off-by: Anson Huang This one still has problem with encoding and thus cannot be applied. Here is what I get, and there is

Re: [PATCH V5 4/4] spi: tegra114: add support for TX and RX trimmers

2019-05-22 Thread Nathan Chancellor
Hi Sowjanya, On Mon, May 13, 2019 at 10:03:55PM -0700, Sowjanya Komatineni wrote: > Tegra SPI master controller has programmable trimmers to adjust the > data with respect to the clock. > > These trimmers are programmed in TX_CLK_TAP_DELAY and RX_CLK_TAP_DELAY > fields of COMMAND2 register. > >

Re: Linux Testing Microconference at LPC

2019-05-22 Thread Steven Rostedt
On Wed, 22 May 2019 20:58:47 -0400 Steven Rostedt wrote: > You have till the end of today to submit a Refereed talk if you want to > present. Otherwise, Microconferences should only have 5 to 10 minutes > to present what they want to discuss before a discussion should > proceed. If you need more

Re: [PATCH net-next] hv_sock: perf: loop in send() to maximize bandwidth

2019-05-22 Thread David Miller
From: Sunil Muthuswamy Date: Wed, 22 May 2019 23:10:44 + > Currently, the hv_sock send() iterates once over the buffer, puts data into > the VMBUS channel and returns. It doesn't maximize on the case when there > is a simultaneous reader draining data from the channel. In such a case, > the

Re: [PATCH net-next] hv_sock: perf: Allow the socket buffer size options to influence the actual socket buffers

2019-05-22 Thread David Miller
From: Sunil Muthuswamy Date: Wed, 22 May 2019 22:56:07 + > Currently, the hv_sock buffer size is static and can't scale to the > bandwidth requirements of the application. This change allows the > applications to influence the socket buffer sizes using the SO_SNDBUF and > the SO_RCVBUF

Re: [PATCH 2/3] clk: imx8mq: add SNVS clock to clock tree

2019-05-22 Thread Shawn Guo
On Wed, May 15, 2019 at 01:09:30AM +, Anson Huang wrote: > i.MX8MQ has clock gate for SNVS module, add it into clock tree > for SNVS RTC driver to manage. > > Signed-off-by: Anson Huang Applied, thanks.

  1   2   3   4   5   6   7   8   9   10   >