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

2019-05-22 Thread Stephen Hines
Hi Nathan, Since this kind of self-initialization is considered undefined behavior, the simplest fix here is to just initialize to NULL. It's a reasonable interpretation of what is currently written, and will at least make the existing code more deterministic. Thanks, Steve On Wed, May 22, 2019

Re: [PATCH] RDMA/mlx5: Use DIV_ROUND_UP_ULL macro to allow 32 bit to build

2019-05-22 Thread Michal Kubecek
On Wed, May 22, 2019 at 02:54:50PM -0400, Steven Rostedt wrote: > > From: Steven Rostedt (VMware) > > When testing 32 bit x86, my build failed with: > > ERROR: "__udivdi3" [drivers/infiniband/hw/mlx5/mlx5_ib.ko] undefined! > > It appears that a few non-ULL roundup() calls were made, which us

Re: [PATCH v4 0/3] mtd: spinand: Add support for GigaDevice GD5F1GQ4UFxxG

2019-05-22 Thread Schrempf Frieder
Hi Jeff, On 23.05.19 00:05, Jeff Kletsky wrote: > Addresses changes in macros and related data structures introduced by >commit 377e517b5fa5 >mtd: nand: Add max_bad_eraseblocks_per_lun info to memorg > > Resolves issue detected by kbuild test robot >Tue, 21 May 2019 17:28:09 +0800

Re: [PATCH v6 0/5] prerequisites for device reserved local mem rework

2019-05-22 Thread Christoph Hellwig
As we seem to be getting ready to merge this series: can the usb maintainers please commit it to an immutable branch that I can pull into the dma-mapping tree? These changes are a preparation for reworking the per-device DMA coherent allocator, and I'd prefer not to wait for the next merge window

Re: [PATCH] powerpc/32s: Include header file to fix a warning

2019-05-22 Thread Christophe Leroy
Le 23/05/2019 à 08:49, Mathieu Malaterre a écrit : In commit 2edb16efc899 ("powerpc/32: Add KASAN support") support for KASAN has been added. However building it as module leads to (warning treated as error with W=1): arch/powerpc/mm/kasan/kasan_init_32.c:135:7: error: no previous prototyp

Re: [PATCHv2 3/4] printk: factor out register_console() code

2019-05-22 Thread Sergey Senozhatsky
Hello, On (05/15/19 16:36), Petr Mladek wrote: [..] > > > > console_unlock(); > > console_sysfs_notify(); > > + console_lock(); > > I have got an idea how to get rid of this weirdness: > > 1. The check for bcon seems to be just an optimization. There is not need >to remove boot co

[PATCH 0/6] Add anx6345 DP/eDP bridge for Olimex Teres-I

2019-05-22 Thread Torsten Duwe
Hi all, left over from my previous Teres-I device tree series, here comes the revised anx6345 node for the Teres-I, along with the driver. The innolux panel attached to it is already known; pinebooks can be enabled on top of this series, once their panels are introduced. Changes from the respecti

[PATCH] powerpc/32s: Include header file to fix a warning

2019-05-22 Thread Mathieu Malaterre
In commit 2edb16efc899 ("powerpc/32: Add KASAN support") support for KASAN has been added. However building it as module leads to (warning treated as error with W=1): arch/powerpc/mm/kasan/kasan_init_32.c:135:7: error: no previous prototype for 'module_alloc' [-Werror=missing-prototypes] Make

Re: Linux Testing Microconference at LPC

2019-05-22 Thread Dmitry Vyukov
On Thu, May 23, 2019 at 2:08 AM wrote: > > From: Dmitry Vyukov > > On Fri, Apr 26, 2019 at 11:03 PM Tim Bird wrote: > > > > > > I'm in the process now of planning Automated Testing Summit 2019, > > > which is tentatively planned for Lyon, France on October 31. This is > > > > This is _November_

Re: Getting empty callchain from perf_callchain_kernel()

2019-05-22 Thread Kairui Song
On Thu, May 23, 2019 at 7:46 AM Josh Poimboeuf wrote: > > On Wed, May 22, 2019 at 12:45:17PM -0500, Josh Poimboeuf wrote: > > On Wed, May 22, 2019 at 02:49:07PM +, Alexei Starovoitov wrote: > > > The one that is broken is prog_tests/stacktrace_map.c > > > There we attach bpf to standard tracep

Re: [PATCH v4 3/3] mtd: spinand: Add support for GigaDevice GD5F1GQ4UFxxG

2019-05-22 Thread Schrempf Frieder
On 23.05.19 00:05, Jeff Kletsky wrote: > From: Jeff Kletsky > > The GigaDevice GD5F1GQ4UFxxG SPI NAND is in current production devices > and, while it has the same logical layout as the E-series devices, > it differs in the SPI interfacing in significant ways. > > This support is contingent on p

Re: [PATCH] mailbox: stm32_ipcc: add spinlock to fix channels concurrent access

2019-05-22 Thread Fabien DESSENNE
Hi Arnaud, Thank you for the patch. On 22/05/2019 10:25 AM, Arnaud Pouliquen wrote: > Add spinlock protection on IPCC register update to avoid race condition. > Without this fix, stm32_ipcc_set_bits and stm32_ipcc_clr_bits can be > called in parallel for different channels. This results in regi

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

2019-05-22 Thread John Hubbard
On 5/22/19 6:25 PM, Jason Gunthorpe wrote: 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 l

Re: [PATCH v3 14/16] powerpc/32: implement fast entry for syscalls on BOOKE

2019-05-22 Thread Paul Mackerras
On Tue, Apr 30, 2019 at 12:39:03PM +, Christophe Leroy wrote: > This patch implements a fast entry for syscalls. > > Syscalls don't have to preserve non volatile registers except LR. > > This patch then implement a fast entry for syscalls, where > volatile registers get clobbered. > > As thi

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

2019-05-22 Thread Kairui Song
On Thu, May 23, 2019 at 1:34 PM Song Liu wrote: > > 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) >

Re: 答复: 答复: 答复: [PATCH] input: alps-fix the issue the special alps trackpoint do not work.

2019-05-22 Thread Peter Hutterer
On Wed, May 22, 2019 at 09:40:30AM +0200, Pali Rohár wrote: > On Wednesday 22 May 2019 07:30:43 Xiaoxiao Liu wrote: > > Hi Pali, > > > > Ok, and cannot you set ALPS_DUALPOINT flag based on that > > alps_check_is_trackpoint() result and then update > > alps_process_packet_ss4_v3() code to supports

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 to

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 B

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 > > uninitial

[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 Drive

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 > --- > drivers/soc/qcom/

[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 --- V

[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 im

[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 doma

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 Gushch

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 confor

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 unm

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 'D

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 generic

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 th

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 ab

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 ch

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. > > Pa

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 >> +++ b/arch/powerpc/include/asm/mem_enc

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 chan

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, > > > > > > > > Thi

[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 b

[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 a/arch/arm64/c

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, Kai

[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 los

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 13-05

[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 > m

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

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 kexe

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 driver

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 wou

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 fil

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, 6

[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(-) di

[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 parti

[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 +++ drivers/ba

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 th

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 mac

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... No

[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 incon

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 w

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 nat

[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 +++ .../n

[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 b/Documentation/devicetree

[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 use

[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 a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dt

[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 to

[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(), arch/powerpc

[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. Fo

[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 addi

[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 37e16d9

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 problem

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 from

[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 not

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: 2

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 t

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: > ../arch/

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 *bu

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 ma

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 please

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: > > > > > > drivers/net/wireless/rsi/r

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 > i

[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 stru

[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 fo

  1   2   3   4   5   6   7   8   9   10   >