[PATCH v2 24/30] fuse, dax: Take ->i_mmap_sem lock during dax page fault

2019-05-15 Thread Vivek Goyal
We need some kind of locking mechanism here. Normal file systems like ext4 and xfs seems to take their own semaphore to protect agains truncate while fault is going on. We have additional requirement to protect against fuse dax memory range reclaim. When a range has been selected for reclaim, we

[PATCH v2 22/30] fuse, dax: add DAX mmap support

2019-05-15 Thread Vivek Goyal
From: Stefan Hajnoczi Add DAX mmap() support. Signed-off-by: Stefan Hajnoczi --- fs/fuse/file.c | 64 +- 1 file changed, 63 insertions(+), 1 deletion(-) diff --git a/fs/fuse/file.c b/fs/fuse/file.c index edbb11ca735e..a053bcb9498d 100644 ---

[PATCH v2 17/30] fuse, dax: add fuse_conn->dax_dev field

2019-05-15 Thread Vivek Goyal
From: Stefan Hajnoczi A struct dax_device instance is a prerequisite for the DAX filesystem APIs. Let virtio_fs associate a dax_device with a fuse_conn. Classic FUSE and CUSE set the pointer to NULL, disabling DAX. Signed-off-by: Stefan Hajnoczi --- fs/fuse/cuse.c | 3 ++-

[PATCH v2 28/30] fuse: Reschedule dax free work if too many EAGAIN attempts

2019-05-15 Thread Vivek Goyal
fuse_dax_free_memory() can be very cpu intensive in corner cases. For example, if one inode has consumed all the memory and a setupmapping request is pending, that means inode lock is held by request and worker thread will not get lock for a while. And given there is only one inode consuming all

[PATCH v2 25/30] fuse: Maintain a list of busy elements

2019-05-15 Thread Vivek Goyal
This list will be used selecting fuse_dax_mapping to free when number of free mappings drops below a threshold. Signed-off-by: Vivek Goyal --- fs/fuse/file.c | 8 fs/fuse/fuse_i.h | 7 +++ fs/fuse/inode.c | 4 3 files changed, 19 insertions(+) diff --git a/fs/fuse/file.c

[PATCH v2 12/30] dax: remove block device dependencies

2019-05-15 Thread Vivek Goyal
From: Stefan Hajnoczi Although struct dax_device itself is not tied to a block device, some DAX code assumes there is a block device. Make block devices optional by allowing bdev to be NULL in commonly used DAX APIs. When there is no block device: * Skip the partition offset calculation in

[PATCH v2 15/30] virtio: Implement get_shm_region for PCI transport

2019-05-15 Thread Vivek Goyal
From: Sebastien Boeuf On PCI the shm regions are found using capability entries; find a region by searching for the capability. Signed-off-by: Sebastien Boeuf Signed-off-by: Dr. David Alan Gilbert --- drivers/virtio/virtio_pci_modern.c | 108 +

Re: [PATCH V2 3/3] perf regs x86: Add X86 specific arch__intr_reg_mask()

2019-05-15 Thread Arnaldo Carvalho de Melo
Em Tue, May 14, 2019 at 01:19:34PM -0700, kan.li...@linux.intel.com escreveu: > From: Kan Liang > > XMM registers can be collected on Icelake and later platforms. > > Add specific arch__intr_reg_mask(), which creating an event to check if > the kernel and hardware can collect XMM registers. >

[PATCH v2 18/30] virtio_fs, dax: Set up virtio_fs dax_device

2019-05-15 Thread Vivek Goyal
From: Stefan Hajnoczi Setup a dax device. Use the shm capability to find the cache entry and map it. The DAX window is accessed by the fs/dax.c infrastructure and must have struct pages (at least on x86). Use devm_memremap_pages() to map the DAX window PCI BAR and allocate struct page.

[PATCH v2 30/30] virtio-fs: Do not provide abort interface in fusectl

2019-05-15 Thread Vivek Goyal
virtio-fs does not support aborting requests which are being processed. That is requests which have been sent to fuse daemon on host. So do not provide "abort" interface for virtio-fs in fusectl. Signed-off-by: Vivek Goyal --- fs/fuse/control.c | 4 ++-- fs/fuse/fuse_i.h| 4

[PATCH v2 07/30] fuse: export fuse_get_unique()

2019-05-15 Thread Vivek Goyal
From: Stefan Hajnoczi virtio-fs will need unique IDs for FORGET requests from outside fs/fuse/dev.c. Make the symbol visible. Signed-off-by: Stefan Hajnoczi --- fs/fuse/dev.c| 3 ++- fs/fuse/fuse_i.h | 5 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/fs/fuse/dev.c

[PATCH v2 26/30] fuse: Add logic to free up a memory range

2019-05-15 Thread Vivek Goyal
Add logic to free up a busy memory range. Freed memory range will be returned to free pool. Add a worker which can be started to select and free some busy memory ranges. In certain cases (write path), process can steal one of its busy dax ranges if free range is not available. If free range is

[PATCH v2 08/30] fuse: extract fuse_fill_super_common()

2019-05-15 Thread Vivek Goyal
From: Stefan Hajnoczi fuse_fill_super() includes code to process the fd= option and link the struct fuse_dev to the fd's struct file. In virtio-fs there is no file descriptor because /dev/fuse is not used. This patch extracts fuse_fill_super_common() so that both classic fuse and virtio-fs can

[PATCH v2 11/30] virtio_fs: add skeleton virtio_fs.ko module

2019-05-15 Thread Vivek Goyal
From: Stefan Hajnoczi Add a basic file system module for virtio-fs. Signed-off-by: Stefan Hajnoczi Signed-off-by: Vivek Goyal --- fs/fuse/Kconfig | 11 + fs/fuse/Makefile| 1 + fs/fuse/fuse_i.h| 13 + fs/fuse/inode.c | 15

[PATCH v2 00/30] [RFC] virtio-fs: shared file system for virtual machines

2019-05-15 Thread Vivek Goyal
Hi, Here are the RFC patches for V2 of virtio-fs. These patches apply on top of 5.1 kernel. These patches are also available here. https://github.com/rhvgoyal/linux/commits/virtio-fs-dev-5.1 Patches for V1 were posted here.

[PATCH v2 06/30] fuse: Export fuse_send_init_request()

2019-05-15 Thread Vivek Goyal
This will be used by virtio-fs to send init request to fuse server after initialization of virt queues. Signed-off-by: Vivek Goyal --- fs/fuse/dev.c| 1 + fs/fuse/fuse_i.h | 1 + fs/fuse/inode.c | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/fs/fuse/dev.c

[PATCH v2 09/30] fuse: add fuse_iqueue_ops callbacks

2019-05-15 Thread Vivek Goyal
From: Stefan Hajnoczi The /dev/fuse device uses fiq->waitq and fasync to signal that requests are available. These mechanisms do not apply to virtio-fs. This patch introduces callbacks so alternative behavior can be used. Note that queue_interrupt() changes along these lines:

[PATCH v2 19/30] fuse: Keep a list of free dax memory ranges

2019-05-15 Thread Vivek Goyal
Divide the dax memory range into fixed size ranges (2MB for now) and put them in a list. This will track free ranges. Once an inode requires a free range, we will take one from here and put it in interval-tree of ranges assigned to inode. Signed-off-by: Vivek Goyal Signed-off-by: Peng Tao ---

[PATCH v2 23/30] fuse: Define dax address space operations

2019-05-15 Thread Vivek Goyal
This is done along the lines of ext4 and xfs. I primarily wanted ->writepages hook at this time so that I could call into dax_writeback_mapping_range(). This in turn will decide which pfns need to be written back. Signed-off-by: Vivek Goyal --- fs/fuse/file.c | 19 +++ 1 file

Re: [RFC 2/3] arm64: dts: qcom: sdm845-cheza: Re-add reserved memory

2019-05-15 Thread Jordan Crouse
On Tue, May 14, 2019 at 09:09:55PM -0700, Rob Clark wrote: > On Mon, May 13, 2019 at 3:48 PM Doug Anderson wrote: > > > > Hi, > > > > On Thu, May 9, 2019 at 11:44 AM Rob Clark wrote: > > > > > From: Douglas Anderson > > > > > > Let's fixup the reserved memory to re-add the things we deleted in

Re: [PATCH v2 0/3] perf vendor events arm64: support for Brahma-B53, Cortex-A57/A72

2019-05-15 Thread Arnaldo Carvalho de Melo
Em Mon, May 13, 2019 at 01:25:19PM -0700, Florian Fainelli escreveu: > Hi all, > > Based on discussion about the last patch, it turned out that we can > remove the [[:xdigit:]] wildcard entirely since get_cpuid_str() strips > the revision bits anyway. Thanks, applied. - Arnaldo

Re: [PATCH] perf jevents: Remove unused variables

2019-05-15 Thread Arnaldo Carvalho de Melo
Em Wed, May 15, 2019 at 11:19:29AM +, Zenghui Yu escreveu: > Fix gcc warning: s/Fix/Address/g Thanks, applied. - Arnaldo > pmu-events/jevents.c: In function ‘save_arch_std_events’: > pmu-events/jevents.c:417:15: warning: unused variable ‘sb’ [-Wunused-variable] > struct stat *sb = data;

Re: [GIT PULL] RISC-V Patches for the 5.2 Merge Window, Part 1

2019-05-15 Thread Atish Patra
On 5/15/19 10:40 AM, Palmer Dabbelt wrote: The following changes since commit 085b7755808aa11f78ab9377257e1dad2e6fa4bb: Linux 5.1-rc6 (2019-04-21 10:45:57 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/palmer/riscv-linux.git

Re: [PATCH] x86/build: Move _etext to actual end of .text

2019-05-15 Thread Kees Cook
On Tue, May 14, 2019 at 06:10:55PM +0200, Johannes Hirte wrote: > On 2019 Mai 14, Kees Cook wrote: > > On Tue, May 14, 2019 at 02:04:21PM +0200, Johannes Hirte wrote: > > > This breaks the build on my system: > > > > > > RELOCS arch/x86/boot/compressed/vmlinux.relocs > > > CC

Re: [RFC] simple_lmk: Introduce Simple Low Memory Killer for Android

2019-05-15 Thread Sultan Alsawaf
On Wed, May 15, 2019 at 02:32:48PM -0400, Steven Rostedt wrote: > I'm confused why you did this? Oleg said that debug_locks_off() could've been called and thus prevented lockdep complaints about simple_lmk from appearing. To eliminate any possibility of that, I disabled debug_locks_off(). Oleg

Re: [PATCH RFC 0/5] mm: process_vm_mmap() -- syscall for duplication a process mapping

2019-05-15 Thread Jann Horn
On Wed, May 15, 2019 at 5:11 PM Kirill Tkhai wrote: > This patchset adds a new syscall, which makes possible > to clone a mapping from a process to another process. > The syscall supplements the functionality provided > by process_vm_writev() and process_vm_readv() syscalls, > and it may be

Re: [PATCH v2 1/3] iio: Add driver for Infineon DPS310

2019-05-15 Thread Eddie James
On 5/11/19 4:22 AM, Jonathan Cameron wrote: On Wed, 8 May 2019 14:35:26 -0500 Eddie James wrote: From: Joel Stanley The DPS310 is a temperature and pressure sensor. It can be accessed over i2c and SPI. Signed-off-by: Eddie James Hi Eddie, Ideally we'll get a sign off form Joel as

Re: [PATCH] ARM: dts: rockchip: Add #cooling-cells entry for rk3288 GPU

2019-05-15 Thread Doug Anderson
Hi, On Wed, May 15, 2019 at 10:59 AM Doug Anderson wrote: > Hi, > > On Wed, Apr 24, 2019 at 9:28 AM Matthias Kaehlcke wrote: > > > The Mali GPU of the rk3288 can be used as cooling device, add > > a #cooling-cells entry for it. > > > > Signed-off-by: Matthias Kaehlcke > > --- > >

Re: [PATCH] sched: introduce configurable delay before entering idle

2019-05-15 Thread Ankur Arora
On 5/14/19 6:50 AM, Marcelo Tosatti wrote: On Mon, May 13, 2019 at 05:20:37PM +0800, Wanpeng Li wrote: On Wed, 8 May 2019 at 02:57, Marcelo Tosatti wrote: Certain workloads perform poorly on KVM compared to baremetal due to baremetal's ability to perform mwait on NEED_RESCHED bit of task

[PATCH v3 1/3] iio: Add driver for Infineon DPS310

2019-05-15 Thread Eddie James
From: Joel Stanley The DPS310 is a temperature and pressure sensor. It can be accessed over i2c and SPI. Signed-off-by: Eddie James --- MAINTAINERS | 6 + drivers/iio/pressure/Kconfig | 10 + drivers/iio/pressure/Makefile | 1 + drivers/iio/pressure/dps310.c | 468

[PATCH v3 2/3] iio: dps310: Temperature measurement errata

2019-05-15 Thread Eddie James
From: Christopher Bostic Add a manufacturer's suggested workaround to deal with early revisions of chip that don't indicate correct temperature. Readings can be in the ~60C range when they should be in the ~20's. Signed-off-by: Christopher Bostic Signed-off-by: Joel Stanley Signed-off-by:

[PATCH v3 3/3] iio: dps310: Add pressure sensing capability

2019-05-15 Thread Eddie James
The DPS310 supports measurement of pressure, so support that in the driver. Use background measurement like the temperature sensing and default to lowest precision and lowest measurement rate. Signed-off-by: Eddie James --- drivers/iio/pressure/dps310.c | 360

[PATCH v3 0/3] iio: Add driver for Infineon DPS310

2019-05-15 Thread Eddie James
The DPS310 is a temperature and pressure sensor. It can be accessed over i2c and SPI. The driver supports polled measurement of temperature and pressure over i2c only. Changes since v2: - Switch to processed rather than raw for both pressure and temperature - Add locking around writing

[GIT PULL] xen: fixes and features for 5.2-rc1

2019-05-15 Thread Juergen Gross
Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-5.2b-rc1-tag xen: fixes and features for 5.2-rc1 It contains: - some minor cleanups - 2 small corrections for Xen on ARM - 2 fixes for Xen PVH guest support - a patch for a new

Re: [RFC PATCH] kbuild: check uniqueness of basename of modules

2019-05-15 Thread Kees Cook
On Thu, May 16, 2019 at 02:55:02AM +0900, Masahiro Yamada wrote: > > On Thu, May 16, 2019 at 1:20 AM Kees Cook wrote: > > > > On Wed, May 15, 2019 at 04:53:15PM +0900, Masahiro Yamada wrote: > > > On Wed, May 15, 2019 at 4:40 PM Masahiro Yamada > > > wrote: > > > > > > > > [...] > > > > diff

Re: [PATCH 4.14 000/115] 4.14.120-stable review

2019-05-15 Thread Greg Kroah-Hartman
On Wed, May 15, 2019 at 08:24:27PM +0200, Greg Kroah-Hartman wrote: > On Wed, May 15, 2019 at 11:17:05AM -0700, Guenter Roeck wrote: > > On Wed, May 15, 2019 at 12:54:40PM +0200, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 4.14.120 release. > > > There are

Re: [PATCH] clk: Remove io.h from clk-provider.h

2019-05-15 Thread Max Filippov
On Tue, May 14, 2019 at 10:09 AM Stephen Boyd wrote: > Now that we've gotten rid of clk_readl() we can remove io.h from the > clk-provider header and push out the io.h include to any code that isn't > already including the io.h header but using things like readl/writel, > etc. For

Re: [PATCH 0/5] ASoC: meson: add hdmitx glue support

2019-05-15 Thread Kevin Hilman
Jerome Brunet writes: > On the Amlogic SoC, there is a glue between the SoC audio outputs and the > input of the embedded Synopsys HDMI controller. > > On the g12a, this glue is mostly a couple of muxes to select the i2s and > spdif inputs of the hdmi controller. Each of these inputs may have >

Re: [RFC] simple_lmk: Introduce Simple Low Memory Killer for Android

2019-05-15 Thread Steven Rostedt
On Wed, 15 May 2019 10:27:28 -0700 Sultan Alsawaf wrote: > On Wed, May 15, 2019 at 04:58:32PM +0200, Oleg Nesterov wrote: > > Could you explain in detail what exactly did you do and what do you see in > > dmesg? > > > > Just in case, lockdep complains only once, print_circular_bug() does > >

Re: [RFC PATCH] kbuild: check uniqueness of basename of modules

2019-05-15 Thread Kees Cook
On Thu, May 16, 2019 at 03:07:54AM +0900, Masahiro Yamada wrote: > On Wed, May 15, 2019 at 4:40 PM Masahiro Yamada > wrote: > > > $(Q)$(AWK) '!x[$$0]++' $^ > $(objtree)/modules.builtin > > diff --git a/scripts/modules-check.sh b/scripts/modules-check.sh > > new file mode 100755 > > index

Re: [PATCH 1/2] dts: rockchip: raise GPU trip point temperature for veyron to 72.5 degC

2019-05-15 Thread Doug Anderson
Hi, On Wed, May 15, 2019 at 8:31 AM Matthias Kaehlcke wrote: > This value matches what is used by the downstream Chrome OS 3.14 > kernel, the 'official' kernel for veyron devices. > > Signed-off-by: Matthias Kaehlcke > --- > arch/arm/boot/dts/rk3288-veyron.dtsi | 8 > 1 file changed,

Re: [PATCH 2/2] ARM: dts: raise GPU trip point temperature for speedy to 80 degC

2019-05-15 Thread Doug Anderson
Hi, On Wed, May 15, 2019 at 8:31 AM Matthias Kaehlcke wrote: > Raise the temperature of the GPU thermal trip point for speedy > to 80°C. This is the value used by the downstream Chrome OS 3.14 > kernel, the 'official' kernel for speedy. > > Signed-off-by: Matthias Kaehlcke > --- >

Re: [PATCH RFC 5/5] mm: Add process_vm_mmap()

2019-05-15 Thread Kees Cook
On Wed, May 15, 2019 at 06:11:44PM +0300, Kirill Tkhai wrote: > This adds a new syscall to map from or to another > process vma. Flag PVMMAP_FIXED may be specified, > its meaning is similar to mmap()'s MAP_FIXED. > > @pid > 0 means to map from process of @pid to current, > @pid < 0 means to map

Re: [PATCH 4.9 00/51] 4.9.177-stable review

2019-05-15 Thread kernelci.org bot
stable-rc/linux-4.9.y boot: 112 boots: 0 failed, 106 passed with 3 offline, 1 untried/unknown, 2 conflicts (v4.9.176-52-g2647f24152a7) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.9.y/kernel/v4.9.176-52-g2647f24152a7/ Full Build Summary:

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

2019-05-15 Thread Andy Lutomirski
Hi, LSM and SELinux people- We're trying to figure out how SGX fits in with LSMs. For background, an SGX library is functionally a bit like a DSO, except that it's nominally resistant to attack from outside and the process of loading it is complicated. To load an enclave, a program can open

[GIT PULL] nfsd changes for 5.2

2019-05-15 Thread J. Bruce Fields
Please pull: git://linux-nfs.org/~bfields/linux.git tags/nfsd-5.2 This pull consists mostly of nfsd container work: Scott Mayhew revived an old api that communicates with a userspace daemon to manage some on-disk state that's used to track clients across server reboots. We've been using a

Re: [PATCH 5/5] ARM: dts: rockchip: Add HDMI i2c unwedging for rk3288-veyron

2019-05-15 Thread Sean Paul
On Thu, May 02, 2019 at 03:53:36PM -0700, Douglas Anderson wrote: > Veyron uses the builtin i2c controller that's part of dw-hdmi. Hook > up the unwedging feature. > > Signed-off-by: Douglas Anderson Reviewed-by: Sean Paul > --- > > arch/arm/boot/dts/rk3288-veyron.dtsi | 3 ++- > 1 file

Re: [PATCH 4/5] ARM: dts: rockchip: Add unwedge pinctrl entries for dw_hdmi on rk3288

2019-05-15 Thread Sean Paul
On Thu, May 02, 2019 at 03:53:35PM -0700, Douglas Anderson wrote: > This adds the "unwedge" pinctrl entries introduced by a recent dw_hdmi > change that can unwedge the dw_hdmi i2c bus in some cases. It's > expected that any boards using this would add: > > pinctrl-names = "default",

Re: [PATCH 3/5] ARM: dts: rockchip: Switch to builtin HDMI DDC bus on rk3288-veyron

2019-05-15 Thread Sean Paul
On Thu, May 02, 2019 at 03:53:34PM -0700, Douglas Anderson wrote: > Downstream Chrome OS kernels use the builtin DDC bus from dw_hdmi on > veyron. This is the only way to get them to negotiate HDCP. > > Although HDCP isn't currently all supported upstream, it still seems > like it makes sense to

Re: [PATCH 4.14 000/115] 4.14.120-stable review

2019-05-15 Thread Greg Kroah-Hartman
On Wed, May 15, 2019 at 11:17:05AM -0700, Guenter Roeck wrote: > On Wed, May 15, 2019 at 12:54:40PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.120 release. > > There are 115 patches in this series, all will be posted as a response > > to this

[PATCH v3] lkdtm: support llvm-objcopy

2019-05-15 Thread Nick Desaulniers
With CONFIG_LKDTM=y and make OBJCOPY=llvm-objcopy, llvm-objcopy errors: llvm-objcopy: error: --set-section-flags=.text conflicts with --rename-section=.text=.rodata Rather than support setting flags then renaming sections vs renaming then setting flags, it's simpler to just change both at the

Re: [PATCH v2] lkdtm: support llvm-objcopy

2019-05-15 Thread Nathan Chancellor
On Wed, May 15, 2019 at 11:12:04AM -0700, 'Nick Desaulniers' via Clang Built Linux wrote: > With CONFIG_LKDTM=y and make OBJCOPY=llvm-objcopy, llvm-objcopy errors: > llvm-objcopy: error: --set-section-flags=.text conflicts with > --rename-section=.text=.rodata > > Rather than support setting

Re: [PATCH 0/2] public key: IMA signer logging: Log public key of IMA Signature signer in IMA log

2019-05-15 Thread Lakshmi
Hi Mimi, I would like to make sure I understood your feedback. Why duplicate the certificate info on each record in the measurement list?  Why not add the certificate info once, as the key is loaded onto the .ima and .platform keyrings? Mimi key_create_or_update function in

Re: [PATCH 4.14 000/115] 4.14.120-stable review

2019-05-15 Thread Guenter Roeck
On Wed, May 15, 2019 at 12:54:40PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.120 release. > There are 115 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

Re: [v5 0/3] "Hotremove" persistent memory

2019-05-15 Thread Pavel Tatashin
> Hi Pavel, > > I am working on adding this sort of a workflow into a new daxctl command > (daxctl-reconfigure-device)- this will allow changing the 'mode' of a > dax device to kmem, online the resulting memory, and with your patches, > also attempt to offline the memory, and change back to

[PATCH v2] lkdtm: support llvm-objcopy

2019-05-15 Thread Nick Desaulniers
With CONFIG_LKDTM=y and make OBJCOPY=llvm-objcopy, llvm-objcopy errors: llvm-objcopy: error: --set-section-flags=.text conflicts with --rename-section=.text=.rodata Rather than support setting flags then renaming sections vs renaming then setting flags, it's simpler to just change both at the

Re: [RFC PATCH] kbuild: check uniqueness of basename of modules

2019-05-15 Thread Masahiro Yamada
On Wed, May 15, 2019 at 4:40 PM Masahiro Yamada wrote: > $(Q)$(AWK) '!x[$$0]++' $^ > $(objtree)/modules.builtin > diff --git a/scripts/modules-check.sh b/scripts/modules-check.sh > new file mode 100755 > index ..944e68bd22b0 > --- /dev/null > +++ b/scripts/modules-check.sh >

Re: [PATCH 4.14 000/115] 4.14.120-stable review

2019-05-15 Thread kernelci.org bot
stable-rc/linux-4.14.y boot: 128 boots: 1 failed, 122 passed with 3 offline, 2 conflicts (v4.14.119-116-g7b9ae876e241) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.14.y/kernel/v4.14.119-116-g7b9ae876e241/ Full Build Summary:

Re: [PATCH 5.0 000/137] 5.0.17-stable review

2019-05-15 Thread Naresh Kamboju
On Wed, 15 May 2019 at 16:57, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.0.17 release. > There are 137 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. > >

Re: [PATCH] ARM: dts: rockchip: Add #cooling-cells entry for rk3288 GPU

2019-05-15 Thread Doug Anderson
Hi, On Wed, Apr 24, 2019 at 9:28 AM Matthias Kaehlcke wrote: > The Mali GPU of the rk3288 can be used as cooling device, add > a #cooling-cells entry for it. > > Signed-off-by: Matthias Kaehlcke > --- > arch/arm/boot/dts/rk3288.dtsi | 1 + > 1 file changed, 1 insertion(+) > > diff --git

[GIT PULL] ktest: Updates for 5.2

2019-05-15 Thread Steven Rostedt
Linus, Updates to ktest.pl - Handle meta data in GRUB_MENU - Add variable to cusomize what return value the reboot code should return. - Add support for grub2bls boot loader - Show name and test iteration number in error message sent in mail - Minor fixes and clean ups Please pull

Re: [RFC PATCH] kbuild: check uniqueness of basename of modules

2019-05-15 Thread Masahiro Yamada
Hi Kees, On Thu, May 16, 2019 at 1:20 AM Kees Cook wrote: > > On Wed, May 15, 2019 at 04:53:15PM +0900, Masahiro Yamada wrote: > > On Wed, May 15, 2019 at 4:40 PM Masahiro Yamada > > wrote: > > > > > > In the recent build test of linux-next, Stephen saw a build error > > > caused by a broken

Re: [PATCH] staging: Add rtl8821ce PCIe WiFi driver

2019-05-15 Thread Greg KH
On Thu, May 16, 2019 at 01:40:00AM +0800, Kai-Heng Feng wrote: > at 00:39, Greg KH wrote: > > > On Wed, May 15, 2019 at 09:06:44PM +0800, Kai-Heng Feng wrote: > > > at 20:33, Greg KH wrote: > > > > > > > On Wed, May 15, 2019 at 07:54:58PM +0800, Kai-Heng Feng wrote: > > > > > at 19:40, Greg KH

Re: [PATCH 1/1] LZ4: Port LZ4 1.9.x FAST_DEC_LOOP and enable it on x86 and ARM64

2019-05-15 Thread Gao Xiang
Hi Yann, On 2019/5/16 1:03, Cyan wrote: > Re-posted, > it seems the previous message was rejected by the linux-kernel server > due to some kind of format limitation (no html). > > > Le mer. 15 mai 2019 à 09:56, Cyan a écrit : >> >> The v1.9.0 version has a bug which makes it read a few bytes

Re: [PATCH] staging: Add rtl8821ce PCIe WiFi driver

2019-05-15 Thread Joe Perches
On Wed, 2019-05-15 at 18:39 +0200, Greg KH wrote: > On Wed, May 15, 2019 at 09:06:44PM +0800, Kai-Heng Feng wrote: > > 296 files changed, 206166 insertions(+) > I'm not going to take another 200k lines for a simple wifi driver. Good. Realtek _really_ needs to improve the driver software.

Re: [PATCH] mm: refactor __vunmap() to avoid duplicated call to find_vm_area()

2019-05-15 Thread Roman Gushchin
On Wed, May 15, 2019 at 10:35:26AM -0700, Ira Weiny wrote: > > > > -/* Handle removing and resetting vm mappings related to the vm_struct. */ > > -static void vm_remove_mappings(struct vm_struct *area, int > > deallocate_pages) > > +/* Handle removing and resetting vm mappings related to the

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

2019-05-15 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 --- drivers/staging/rtl8723bs/core/rtw_recv.c | 48 +++ 1

Re: [PATCH v2 4/4] KVM: LAPIC: Optimize timer latency further

2019-05-15 Thread Sean Christopherson
On Wed, May 15, 2019 at 12:11:54PM +0800, Wanpeng Li wrote: > 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, > it just hidden the time between

[for-next][PATCH 2/6] ktest: cleanup get_grub_index

2019-05-15 Thread Steven Rostedt
From: Masayoshi Mizuma Cleanup get_grub_index(). Link: http://lkml.kernel.org/r/20190509213647.6276-3-msys.miz...@gmail.com Signed-off-by: Masayoshi Mizuma Signed-off-by: Steven Rostedt (VMware) --- tools/testing/ktest/ktest.pl | 50 1 file changed, 17

[for-next][PATCH 5/6] ktest: remove get_grub2_index

2019-05-15 Thread Steven Rostedt
From: Masayoshi Mizuma Remove get_grub2_index() because it isn't used anywhere. Link: http://lkml.kernel.org/r/20190509213647.6276-6-msys.miz...@gmail.com Signed-off-by: Masayoshi Mizuma Signed-off-by: Steven Rostedt (VMware) --- tools/testing/ktest/ktest.pl | 36

[for-next][PATCH 3/6] ktest: introduce grub2bls REBOOT_TYPE option

2019-05-15 Thread Steven Rostedt
From: Masayoshi Mizuma Fedora 30 introduces Boot Loader Specification (BLS), it changes around grub entry configuration. kernel entries aren't in grub.cfg. We can get the entries by "grubby --info=ALL" command. Introduce grub2bls as REBOOT_TYPE option for BLS. Link:

[for-next][PATCH 4/6] ktest: pass KERNEL_VERSION to POST_KTEST

2019-05-15 Thread Steven Rostedt
From: Masayoshi Mizuma For BLS, kernel entry is added by kernel-install command through POST_INSALL, for example, POST_INSTALL = ssh root@Test "/usr/bin/kernel-install \ add $KERNEL_VERSION /boot/vmlinuz-$KERNEL_VERSION" The entry is removed by kernel-install command and the kernel version

[for-next][PATCH 1/6] ktest: introduce _get_grub_index

2019-05-15 Thread Steven Rostedt
From: Masayoshi Mizuma Introduce _get_grub_index() to deal with Boot Loader Specification (BLS) and cleanup. Link: http://lkml.kernel.org/r/20190509213647.6276-2-msys.miz...@gmail.com Signed-off-by: Masayoshi Mizuma Signed-off-by: Steven Rostedt (VMware) --- tools/testing/ktest/ktest.pl |

[for-next][PATCH 6/6] ktest: update sample.conf for grub2bls

2019-05-15 Thread Steven Rostedt
From: Masayoshi Mizuma Update sample.conf for grub2bls Link: http://lkml.kernel.org/r/20190509213647.6276-7-msys.miz...@gmail.com Signed-off-by: Masayoshi Mizuma Signed-off-by: Steven Rostedt (VMware) --- tools/testing/ktest/sample.conf | 20 ++-- 1 file changed, 18

[for-next][PATCH 0/6] ktest: Final updates for this merge window

2019-05-15 Thread Steven Rostedt
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest.git for-next Head SHA1: d20f6b41b7c2715b3d900f2da02029dbc14cd60a Masayoshi Mizuma (6): ktest: introduce _get_grub_index ktest: cleanup get_grub_index ktest: introduce grub2bls REBOOT_TYPE option ktest:

Re: [PATCH] staging: Add rtl8821ce PCIe WiFi driver

2019-05-15 Thread Kai-Heng Feng
at 00:39, Greg KH wrote: On Wed, May 15, 2019 at 09:06:44PM +0800, Kai-Heng Feng wrote: at 20:33, Greg KH wrote: On Wed, May 15, 2019 at 07:54:58PM +0800, Kai-Heng Feng wrote: at 19:40, Greg KH wrote: On Wed, May 15, 2019 at 07:24:01PM +0800, Kai-Heng Feng wrote: The rtl8821ce can be

[GIT PULL] RISC-V Patches for the 5.2 Merge Window, Part 1

2019-05-15 Thread Palmer Dabbelt
The following changes since commit 085b7755808aa11f78ab9377257e1dad2e6fa4bb: Linux 5.1-rc6 (2019-04-21 10:45:57 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/palmer/riscv-linux.git tags/riscv-for-linus-5.2-mw0 for you to fetch changes up to

Re: [PATCH] lkdtm: support llvm-objcopy

2019-05-15 Thread Nick Desaulniers
On Wed, May 15, 2019 at 9:43 AM Kees Cook wrote: > > On Tue, May 14, 2019 at 01:24:37PM -0700, Nick Desaulniers wrote: > > On Tue, May 14, 2019 at 11:11 AM Kees Cook wrote: > > > > > > On Mon, May 13, 2019 at 04:50:05PM -0700, Nick Desaulniers wrote: > > > > On Mon, May 13, 2019 at 4:29 PM

[GIT PULL] tracing: Updates for 5.2

2019-05-15 Thread Steven Rostedt
Linus, The major changes in this tracing update includes: - Removing of non-DYNAMIC_FTRACE from 32bit x86 - Removing of mcount support from x86 - Emulating a call from int3 on x86_64, fixes live kernel patching - Consolidated Tracing Error logs file Minor updates: - Removal of

Re: [PATCH] mm: refactor __vunmap() to avoid duplicated call to find_vm_area()

2019-05-15 Thread Ira Weiny
> > -/* Handle removing and resetting vm mappings related to the vm_struct. */ > -static void vm_remove_mappings(struct vm_struct *area, int deallocate_pages) > +/* Handle removing and resetting vm mappings related to the va->vm > vm_struct. */ > +static void vm_remove_mappings(struct vmap_area

Re: [PATCH 07/15] Add wait_var_event_interruptible()

2019-05-15 Thread Peter Zijlstra
On Wed, May 15, 2019 at 05:26:28PM +0100, David Howells wrote: > Add wait_var_event_interruptible() to allow interruptible waits for events. > > Signed-off-by: David Howells Acked-by: Peter Zijlstra (Intel) > --- > > include/linux/wait_bit.h | 13 + > 1 file changed, 13

Re: [PATCH v6 3/4] x86/acrn: Use HYPERVISOR_CALLBACK_VECTOR for ACRN guest upcall vector

2019-05-15 Thread Borislav Petkov
On Tue, Apr 30, 2019 at 11:45:25AM +0800, Zhao Yakui wrote: > @@ -30,6 +36,29 @@ static bool acrn_x2apic_available(void) > return false; > } > > +static void (*acrn_intr_handler)(void); > + > +__visible void __irq_entry acrn_hv_vector_handler(struct pt_regs *regs) > +{ > + struct

Re: [PATCH v2 3/4] KVM: LAPIC: Expose per-vCPU timer adavance information to userspace

2019-05-15 Thread Sean Christopherson
On Wed, May 15, 2019 at 12:11:53PM +0800, Wanpeng Li wrote: > From: Wanpeng Li > > Expose the per-vCPU advancement information to the user via per-vCPU debugfs > entry. wait_lapic_expire() call was moved above guest_enter_irqoff() because > of its tracepoint, which violated the RCU extended

Re: [PATCH] mm: refactor __vunmap() to avoid duplicated call to find_vm_area()

2019-05-15 Thread Roman Gushchin
On Wed, May 15, 2019 at 09:57:11AM +0530, Anshuman Khandual wrote: > > > On 05/15/2019 05:21 AM, Roman Gushchin wrote: > > __vunmap() calls find_vm_area() twice without an obvious reason: > > first directly to get the area pointer, second indirectly by calling > >

Re: [PATCH] mm: refactor __vunmap() to avoid duplicated call to find_vm_area()

2019-05-15 Thread Roman Gushchin
On Wed, May 15, 2019 at 01:11:46PM +0530, Anshuman Khandual wrote: > > > On 05/15/2019 05:21 AM, Roman Gushchin wrote: > > __vunmap() calls find_vm_area() twice without an obvious reason: > > first directly to get the area pointer, second indirectly by calling > >

[PATCH] staging: rtl8723bs: core: rtw_recv: fix warning Unneeded variable ret

2019-05-15 Thread Hariprasad Kelam
fix below warning reported by coccicheck drivers/staging/rtl8723bs/core/rtw_recv.c:1903:5-8: Unneeded variable: "ret". Return "_SUCCESS" on line 1972 drivers/staging/rtl8723bs/core/rtw_recv.c:1618:6-9: Unneeded variable: "ret". Return "_SUCCESS" on line 1705 Signed-off-by: Hariprasad Kelam ---

Re: [PATCH v2 0/3] initramfs: add support for xattrs in the initial ram disk

2019-05-15 Thread Roberto Sassu
On 5/15/2019 6:08 PM, Arvind Sankar wrote: On Wed, May 15, 2019 at 01:19:04PM +0200, Roberto Sassu wrote: On 5/15/2019 2:52 AM, Arvind Sankar wrote: You can specify multiple initrd's to the boot loader, and they get loaded in sequence into memory and parsed by the kernel before /init is

Re: [PATCH 4.14 053/115] i2c: omap: Enable for ARCH_K3

2019-05-15 Thread Greg Kroah-Hartman
On Wed, May 15, 2019 at 11:53:08AM -0500, Vignesh Raghavendra wrote: > > > On 15/05/19 6:28 AM, Grygorii Strashko wrote: > > Hi Greg, > > > > On 15.05.19 13:55, Greg Kroah-Hartman wrote: > >> [ Upstream commit 5b277402deac0691226a947df71c581686bd4020 ] > >> > >> Allow I2C_OMAP to be built for

Re: [PATCH 03/18] dt-bindings: soc: qcom: add IPA bindings

2019-05-15 Thread Alex Elder
On 5/15/19 11:50 AM, Rob Herring wrote: >> OK. I didn't realize that was upstream yet. I will convert. > Not required yet, but it puts the maintainer in a good mood. :) > > As does CCing the DT list. I'll convert it to YAML *and* CC the DT list next time, to avoid triggering a crabby

Re: [PATCH 1/1] LZ4: Port LZ4 1.9.x FAST_DEC_LOOP and enable it on x86 and ARM64

2019-05-15 Thread Cyan
Re-posted, it seems the previous message was rejected by the linux-kernel server due to some kind of format limitation (no html). Le mer. 15 mai 2019 à 09:56, Cyan a écrit : > > The v1.9.0 version has a bug which makes it read a few bytes out of bound in > certain cases. > This was fixed in

Re: [PATCH] signal: don't always leave task frozen after ptrace_stop()

2019-05-15 Thread Roman Gushchin
On Wed, May 15, 2019 at 04:43:35PM +0200, Oleg Nesterov wrote: > On 05/14, Roman Gushchin wrote: > > > > I agree that "may_remain_frozen" adds a lot of ugliness, so let's fix > > the regression with the unconditional leave_frozen(true). The patch below. > > Please, let me know if it's not what you

Re: [PATCH v4 1/3] platform/chrome: cros_ec_spi: Move to real time priority for transfers

2019-05-15 Thread Guenter Roeck
On Wed, May 15, 2019 at 9:48 AM Douglas Anderson wrote: > > In commit 37a186225a0c ("platform/chrome: cros_ec_spi: Transfer > messages at high priority") we moved transfers to a high priority > workqueue. This helped make them much more reliable. > > ...but, we still saw failures. > > We were

Re: [PATCH 5/5] proc: use down_read_killable for /proc/pid/map_files

2019-05-15 Thread Roman Gushchin
On Wed, May 15, 2019 at 11:41:23AM +0300, Konstantin Khlebnikov wrote: > It seems ->d_revalidate() could return any error (except ECHILD) to > abort validation and pass error as result of lookup sequence. > > Signed-off-by: Konstantin Khlebnikov > --- > fs/proc/base.c | 27

Re: [PATCH V3 2/4] arm64/mm: Hold memory hotplug lock while walking for kernel page table dump

2019-05-15 Thread Michal Hocko
On Tue 14-05-19 14:30:05, Anshuman Khandual wrote: > The arm64 pagetable dump code can race with concurrent modification of the > kernel page tables. When a leaf entries are modified concurrently, the dump > code may log stale or inconsistent information for a VA range, but this is > otherwise not

Re: [PATCH 4.14 053/115] i2c: omap: Enable for ARCH_K3

2019-05-15 Thread Vignesh Raghavendra
On 15/05/19 6:28 AM, Grygorii Strashko wrote: > Hi Greg, > > On 15.05.19 13:55, Greg Kroah-Hartman wrote: >> [ Upstream commit 5b277402deac0691226a947df71c581686bd4020 ] >> >> Allow I2C_OMAP to be built for K3 platforms. >> >> Signed-off-by: Vignesh R >> Reviewed-by: Grygorii Strashko >>

Re: [PATCH 03/18] dt-bindings: soc: qcom: add IPA bindings

2019-05-15 Thread Rob Herring
On Wed, May 15, 2019 at 7:04 AM Alex Elder wrote: > > On 5/15/19 2:03 AM, Arnd Bergmann wrote: > > On Sun, May 12, 2019 at 3:25 AM Alex Elder wrote: > >> > >> Add the binding definitions for the "qcom,ipa" device tree node. > >> > >> Signed-off-by: Alex Elder > >> --- > >>

[PATCH v4 2/3] spi: Allow SPI devices to request the pumping thread be realtime

2019-05-15 Thread Douglas Anderson
Right now the only way to get the SPI pumping thread bumped up to realtime priority is for the controller to request it. However it may be that the controller works fine with the normal priority but communication to a particular SPI device on the bus needs realtime priority. Let's add a way for

Re: [RFCv2 0/6] TurboSched: A scheduler for sustaining Turbo Frequencies for longer durations

2019-05-15 Thread Peter Zijlstra
On Wed, May 15, 2019 at 07:23:16PM +0530, Parth Shah wrote: > Abstract > > > The modern servers allows multiple cores to run at range of > frequencies higher than rated range of frequencies. But the power budget > of the system inhibits sustaining these higher frequencies for > longer

[PATCH v4 3/3] platform/chrome: cros_ec_spi: Request the SPI thread be realtime

2019-05-15 Thread Douglas Anderson
All currently known ECs in the wild are very sensitive to timing. Specifically the ECs are known to drop a transfer if more than 8 ms passes from the assertion of the chip select until the transfer finishes. Let's use the new feature introduced in the patch (spi: Allow SPI devices to request the

[PATCH v4 0/3] spi: A better solution for cros_ec_spi reliability

2019-05-15 Thread Douglas Anderson
This series is a much better solution for getting the Chrome OS EC to talk reliably. Patch #1 in this series is the most important. It can land any time. Patch #2 in this series (a SPI framework patch) needs to land before patch #3. Note that patches #2 and #3 really just fix a corner case and

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