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

2019-05-16 Thread Johannes Hirte
On 2019 Mai 15, Kees Cook wrote: > 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/compress

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

2019-05-16 Thread Kirill Tkhai
On 16.05.2019 16:32, Jann Horn wrote: > 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

Re: [PATCH 4.19 000/113] 4.19.44-stable review

2019-05-16 Thread shuah
On 5/15/19 4:54 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.19.44 release. There are 113 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH] memcg: make it work on sparse non-0-node systems

2019-05-16 Thread Michal Hocko
On Thu 09-05-19 15:25:26, Vladimir Davydov wrote: > On Mon, Apr 29, 2019 at 12:59:39PM +0200, Jiri Slaby wrote: > > We have a single node system with node 0 disabled: > > Scanning NUMA topology in Northbridge 24 > > Number of physical nodes 2 > > Skipping disabled node 0 > > Node 1 MemBase

[PATCH v5 2/3] drm/bridge: dw-hdmi: pass connector info to the CEC adapter

2019-05-16 Thread Dariusz Marcinkiewicz
This patch makes dw-hdmi pass DRM connector info to a respective CEC adapter. In order to be able to do that it delays creation of the dw-hdmi-cec platform device until DRM connector is initialized. Requires testing. Signed-off-by: Dariusz Marcinkiewicz --- drivers/gpu/drm/bridge/synopsys/dw-hd

[PATCH v5 1/3] media: cec: expose HDMI connector to CEC dev mapping

2019-05-16 Thread Dariusz Marcinkiewicz
This patch proposes to expose explicit mapping between HDMI connectors and /dev/cecX adapters to userland. New structure with connector info (card number and connector id in case of DRM connectors) is added to cec_adapter. That connector info is expected to be provided when an adapter is created.

[PATCH v5 3/3] drm/i2c: tda9950: pass HDMI connector info to CEC adapter

2019-05-16 Thread Dariusz Marcinkiewicz
With that change tda998x provides a connector info to the CEC adapter. In order to be able to that it delays creation of respective CEC device until the DRM connector is initialized. Requires testing. Signed-off-by: Dariusz Marcinkiewicz --- drivers/gpu/drm/i2c/tda9950.c | 7 - dri

Re: [Xen-devel] [PATCH v2 1/2] KVM: Start populating /sys/hypervisor with KVM entries

2019-05-16 Thread Alexander Graf
On 16.05.19 07:02, Andrew Cooper wrote: > On 16/05/2019 14:50, Alexander Graf wrote: >> On 14.05.19 08:16, Filippo Sironi wrote: >>> Start populating /sys/hypervisor with KVM entries when we're running on >>> KVM. This is to replicate functionality that's available when we're >>> running on Xen.

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

2019-05-16 Thread shuah
On 5/15/19 4:55 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.177 release. There are 51 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

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

2019-05-16 Thread Aisheng Dong
> From: Anson Huang > Sent: Thursday, May 16, 2019 8:01 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 s

Re: [RFC PATCH v2] media: cec: expose HDMI connector to CEC dev mapping

2019-05-16 Thread Dariusz Marcinkiewicz
Hi Hans. From: Hans Verkuil Date: Thu, May 9, 2019 at 11:31 AM To: Dariusz Marcinkiewicz Cc: , , > On 5/9/19 9:52 AM, Dariusz Marcinkiewicz wrote: > > Hi Hans. > > > > On Wed, Apr 24, 2019 at 2:09 PM Hans Verkuil wrote: > >> > >> Hi Dariusz, > >> > >> This is getting close, so I think for the

Re: Bad virt_to_phys since commit 54c7a8916a887f35

2019-05-16 Thread Steven Price
On 16/05/2019 14:41, Mark Rutland wrote: > On Thu, May 16, 2019 at 02:38:20PM +0100, Mark Rutland wrote: >> Hi, >> >> Since commit: >> >> 54c7a8916a887f35 ("initramfs: free initrd memory if opening /initrd.image >> fails") > > Ugh, I dropped a paragarph here. > > Since that commit, I'm seeing

Re: [Xen-devel] [PATCH v2 1/2] KVM: Start populating /sys/hypervisor with KVM entries

2019-05-16 Thread Andrew Cooper
On 16/05/2019 14:50, Alexander Graf wrote: > On 14.05.19 08:16, Filippo Sironi wrote: >> Start populating /sys/hypervisor with KVM entries when we're running on >> KVM. This is to replicate functionality that's available when we're >> running on Xen. >> >> Start with /sys/hypervisor/uuid, which use

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

2019-05-16 Thread shuah
On 5/15/19 4:54 AM, 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 know. Responses should be mad

Re: [PATCH 1/2] pid: add pidfd_open()

2019-05-16 Thread Jann Horn
On Thu, May 16, 2019 at 3:08 PM Christian Brauner wrote: > On Wed, May 15, 2019 at 10:45:06AM -0700, Daniel Colascione wrote: > > On Wed, May 15, 2019 at 3:04 AM Christian Brauner > > wrote: > > > > > > This adds the pidfd_open() syscall. It allows a caller to retrieve > > > pollable > > > pidf

Re: [alsa-devel] [PATCH] ASoC: AK4458: add regulator for ak4458

2019-05-16 Thread Viorel Suman
On Jo, 2019-05-16 at 10:14 -0300, Fabio Estevam wrote: > On Thu, May 16, 2019 at 10:02 AM Viorel Suman wrote: > > > > > +   for (i = 0; i < ARRAY_SIZE(ak4458->supplies); i++) > > +   ak4458->supplies[i].supply = ak4458_supply_names[i]; > > + > > +   ret = devm_regulator_bulk_

Re: 5.1 kernel: khugepaged stuck at 100%

2019-05-16 Thread Justin Piszcz
On Tue, May 14, 2019 at 9:16 AM Kirill A. Shutemov wrote: > Could you check what khugepaged doing? > > cat /proc/$(pidof khugepaged)/stack It is doing it again, 10:12am - 2019-05-16 PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 77 root 39 19 0

Re: Bad virt_to_phys since commit 54c7a8916a887f35

2019-05-16 Thread Steven Price
On 16/05/2019 15:16, Mark Rutland wrote: > On Thu, May 16, 2019 at 03:05:31PM +0100, Steven Price wrote: >> On 16/05/2019 14:41, Mark Rutland wrote: >>> On Thu, May 16, 2019 at 02:38:20PM +0100, Mark Rutland wrote: Hi, Since commit: 54c7a8916a887f35 ("initramfs: free init

Re: [PATCH RFC 0/5] mm/ksm, proc: introduce remote madvise

2019-05-16 Thread Oleksandr Natalenko
Hi. On Thu, May 16, 2019 at 12:44:12PM +0200, Michal Hocko wrote: > On Thu 16-05-19 11:42:29, Oleksandr Natalenko wrote: > [...] > > * to mark all the eligible VMAs as mergeable, use: > > > ># echo merge > /proc//madvise > > > > * to unmerge all the VMAs, use: > > > ># echo unmerge > /p

Re: [RFC PATCH v2] media: cec: expose HDMI connector to CEC dev mapping

2019-05-16 Thread Hans Verkuil
On 5/16/19 4:10 PM, Dariusz Marcinkiewicz wrote: > Hi Hans. > > From: Hans Verkuil > Date: Thu, May 9, 2019 at 11:31 AM > To: Dariusz Marcinkiewicz > Cc: , , > > >> On 5/9/19 9:52 AM, Dariusz Marcinkiewicz wrote: >>> Hi Hans. >>> >>> On Wed, Apr 24, 2019 at 2:09 PM Hans Verkuil wrote: >>>

Re: 5.1 kernel: khugepaged stuck at 100%

2019-05-16 Thread Justin Piszcz
On Thu, May 16, 2019 at 10:14 AM Justin Piszcz wrote: > > On Tue, May 14, 2019 at 9:16 AM Kirill A. Shutemov > wrote: > > > Could you check what khugepaged doing? > > > > cat /proc/$(pidof khugepaged)/stack > > It is doing it again, 10:12am - 2019-05-16 > > PID USER PR NIVIRTRES

[PATCH v2 2/3] drm: shmem: Add drm_gem_shmem_map_offset() wrapper

2019-05-16 Thread Steven Price
Provide a wrapper for drm_gem_map_offset() for clients of shmem. This wrapper provides the correct semantics for the drm_gem_shmem_mmap() callback. Signed-off-by: Steven Price --- drivers/gpu/drm/drm_gem_shmem_helper.c | 20 include/drm/drm_gem_shmem_helper.h | 2 ++ 2

Re: Bad virt_to_phys since commit 54c7a8916a887f35

2019-05-16 Thread Mike Rapoport
On Thu, May 16, 2019 at 02:41:06PM +0100, Mark Rutland wrote: > On Thu, May 16, 2019 at 02:38:20PM +0100, Mark Rutland wrote: > > Hi, > > > > Since commit: > > > > 54c7a8916a887f35 ("initramfs: free initrd memory if opening /initrd.image > > fails") > > Ugh, I dropped a paragarph here. > > S

Re: Bad virt_to_phys since commit 54c7a8916a887f35

2019-05-16 Thread Mark Rutland
On Thu, May 16, 2019 at 03:05:31PM +0100, Steven Price wrote: > On 16/05/2019 14:41, Mark Rutland wrote: > > On Thu, May 16, 2019 at 02:38:20PM +0100, Mark Rutland wrote: > >> Hi, > >> > >> Since commit: > >> > >> 54c7a8916a887f35 ("initramfs: free initrd memory if opening > >> /initrd.image fai

Re: [PATCH RFC 4/5] mm/ksm, proc: introduce remote merge

2019-05-16 Thread Oleksandr Natalenko
Hi. On Thu, May 16, 2019 at 12:00:24PM +0200, Jann Horn wrote: > On Thu, May 16, 2019 at 11:43 AM Oleksandr Natalenko > wrote: > > Use previously introduced remote madvise knob to mark task's > > anonymous memory as mergeable. > > > > To force merging task's VMAs, "merge" hint is used: > > > >

PROBLEM: Power9: kernel oops on memory hotunplug from ppc64le guest

2019-05-16 Thread srikanth
Hello, On power9 host, performing memory hotunplug from ppc64le guest results in kernel oops. Kernel used : https://github.com/torvalds/linux/tree/v5.1 built using ppc64le_defconfig for host and ppc64le_guest_defconfig for guest. Recreation steps: 1. Boot a guest with below mem configurati

Re: [PATCH v3 04/10] drm: Convert connector_helper_funcs->atomic_check to accept drm_atomic_state

2019-05-16 Thread Sean Paul
On Thu, May 16, 2019 at 03:00:01PM +0300, Laurent Pinchart wrote: > Hi Sean, > > On Mon, May 13, 2019 at 10:38:58AM -0400, Sean Paul wrote: > > On Sat, May 11, 2019 at 3:12 PM Laurent Pinchart wrote: > > > On Thu, May 02, 2019 at 03:49:46PM -0400, Sean Paul wrote: > > >> From: Sean Paul > > >> >

Re: Bad virt_to_phys since commit 54c7a8916a887f35

2019-05-16 Thread Mark Rutland
On Thu, May 16, 2019 at 05:13:14PM +0300, Mike Rapoport wrote: > On Thu, May 16, 2019 at 02:41:06PM +0100, Mark Rutland wrote: > > On Thu, May 16, 2019 at 02:38:20PM +0100, Mark Rutland wrote: > > > Hi, > > > > > > Since commit: > > > > > > 54c7a8916a887f35 ("initramfs: free initrd memory if op

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

2019-05-16 Thread Kirill Tkhai
On 16.05.2019 16:52, Michal Hocko wrote: > On Thu 16-05-19 15:30:34, Michal Hocko wrote: >> [You are defining a new user visible API, please always add linux-api >> mailing list - now done] >> >> On Wed 15-05-19 18:11:15, Kirill Tkhai wrote: > [...] >>> The proposed syscall aims to introduce an in

Re: [PATCH] ASoC: AK4458: add regulator for ak4458

2019-05-16 Thread Daniel Baluta
On Thu, 2019-05-16 at 13:00 +, Viorel Suman wrote: > From: Shengjiu Wang > > Add regulator for ak4458. > Hi Viorel, While at it please disable/enable the regulator in suspend/resume. thanks, Daniel.

[PATCH v2 3/3] drm/panfrost: Use drm_gem_shmem_map_offset()

2019-05-16 Thread Steven Price
panfrost_ioctl_mmap_bo() contains a reimplementation of drm_gem_shmem_map_offset() but with a bug - it allows mapping imported objects (without going through the exporter). Fix this by switching to use the new drm_gem_shmem_map_offset() function instead which has the bonus of simplifying the code.

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

2019-05-16 Thread Vivek Goyal
On Wed, May 15, 2019 at 05:21:51PM -0700, Dan Williams wrote: [..] > It just seems to me that we should stop pretending that the > filesystem-dax facility requires block devices and try to move this > functionality to generically use a dax device across all interfaces. That sounds reasonable and

Re: [PATCH 4.4 000/266] 4.4.180-stable review

2019-05-16 Thread shuah
On 5/15/19 4:51 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.180 release. There are 266 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: Bad virt_to_phys since commit 54c7a8916a887f35

2019-05-16 Thread Christoph Hellwig
On Thu, May 16, 2019 at 03:21:19PM +0100, Mark Rutland wrote: > > void __weak free_initrd_mem(unsigned long start, unsigned long end) > > { > > + if (!start) > > + return; > > + > > free_reserved_area((void *)start, (void *)end, POISON_FREE_INITMEM, > >

[PATCH v4] driver core: Fix use-after-free and double free on glue directory

2019-05-16 Thread Muchun Song
There is a race condition between removing glue directory and adding a new device under the glue directory. It can be reproduced in following test: path 1: Add the child device under glue dir device_add() get_device_parent() mutex_lock(&gdp_mutex); /*find parent fr

RE: [PATCH] media: i2c: adv748x: initialize bit 7 of csi_tx_top_reg_1f

2019-05-16 Thread Rodin, Michael (Ferchau; ADITG/ESM1)
Hi Kieran and Niklas, thank you for your responses! > Hi Kieran and Michael, > > On 2019-05-10 17:25:24 +0100, Kieran Bingham wrote: > > > > > > Niklas, how does RCar-CSI determine the top/bottom sequence? > > That patch just got merged in the media tree a few days ago, > > 9f7983bdc4925ae2

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

2019-05-16 Thread Kirill Tkhai
On 16.05.2019 16:42, Adam Borowski wrote: > On Thu, May 16, 2019 at 04:10:07PM +0300, Kirill Tkhai wrote: >> On 15.05.2019 22:38, Adam Borowski wrote: >>> On Wed, May 15, 2019 at 06:11:15PM +0300, Kirill Tkhai wrote: This patchset adds a new syscall, which makes possible to clone a mappin

Re: [PATCH 3.18 00/86] 3.18.140-stable review

2019-05-16 Thread shuah
On 5/15/19 4:54 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.18.140 release. There are 86 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

[PATCH 4/5] iio: adc: ad7606: Add support for software mode for ad7616

2019-05-16 Thread Beniamin Bia
Support for ad7616 running in software was added. In order to activate the software mode, HW_RNGSEL pins must be pulled low. Oversampling and input ranges are now configured in corresponding registers. Ad7616 has multiple scale options when it is configured in software mode. Signed-off-by: Beniami

[PATCH] arm64: dts: meson: g12a: add tohdmitx

2019-05-16 Thread Jerome Brunet
Add the hdmitx glue device linking the SoC audio interfaces to the embedded Synopsys hdmi controller. Signed-off-by: Jerome Brunet --- Hi Kevin, The related device driver and dt-binding have been merged in the ASoC tree, for-5.3 branch [0] This patch is based on the audio series I have jus

Re: [PATCH] vt/fbcon: deinitialize resources in visual_init() after failed memory allocation

2019-05-16 Thread Grzegorz Halat
On Fri, 26 Apr 2019 at 16:59, Grzegorz Halat wrote: > > After memory allocation failure vc_allocate() doesn't clean up data > which has been initialized in visual_init(). In case of fbcon this > leads to divide-by-0 in fbcon_init() on next open of the same tty. Hi, A gentle reminder. Could you pl

[PATCH 5/5] iio: adc: ad7606: Add debug mode for ad7616

2019-05-16 Thread Beniamin Bia
Support for register access was added for spi devices. Signed-off-by: Beniamin Bia --- drivers/iio/adc/ad7606.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/iio/adc/ad7606.c b/drivers/iio/adc/ad7606.c index f77df3efe43f..b03bdce4fd4e 100644 --- a/drivers

[RFC 2/2] input: soc_button_array for newer surface devices

2019-05-16 Thread Maximilian Luz
Power and volume button support for 5th and 6th genration Microsoft Surface devices via soc_button_array. Note that these devices use the same MSHW0040 device as on the Surface Pro 4, however the implementation is different (GPIOs vs. ACPI notifications). Thus some checking is required to ensure w

[PATCH] initramfs: Don't free a non-existent initrd

2019-05-16 Thread Steven Price
Since 54c7a8916a88 ("initramfs: free initrd memory if opening /initrd.image fails"), the kernel has unconditionally attempted to free the initrd even if it doesn't exist. In the non-existent case this causes a boot-time splat if CONFIG_DEBUG_VIRTUAL is enabled due to a call to virt_to_phys() with a

[PATCH 3/5] iio: adc: ad7606: Make SPI register calculation generic and add spi support

2019-05-16 Thread Beniamin Bia
In order to support AD7616 software mode, the spi register access must be added and the calculation of registers address must be generic. The length of address and bit which specifies the read/write operation is different for every device, that is why it was made generic. Signed-off-by: Beniamin B

[RFC 1/2] platform: Fix device check for surfacepro3_button

2019-05-16 Thread Maximilian Luz
Do not use the surfacepro3_button driver on newer Microsoft Surface models, only use it on the Surface Pro 3 and 4. Newer models (5th, 6th and possibly future generations) use the same device as the Surface Pro 4 to represent their volume and power buttons (MSHW0040), but their acutal implementatio

Re: Bad virt_to_phys since commit 54c7a8916a887f35

2019-05-16 Thread Mark Rutland
On Thu, May 16, 2019 at 03:20:59PM +0100, Steven Price wrote: > On 16/05/2019 15:16, Mark Rutland wrote: > > On Thu, May 16, 2019 at 03:05:31PM +0100, Steven Price wrote: > >> I suspect the following is sufficient to fix the problem: > >> > >> 8<- > >> diff --git a/init/initramfs.c b/init/i

[PATCH 1/5] iio: adc: ad7606: Move oversampling and scale options to chip info

2019-05-16 Thread Beniamin Bia
The device dependent options which are going to be different for devices which will be supported in the future by this driver, were moved in chip info for a more generic driver. This patch allows supporting more devices by the driver. Also, it is an intermediate step of adding support for ad7616 i

[PATCH 2/5] iio: adc: ad7606: Add software configuration

2019-05-16 Thread Beniamin Bia
Because this driver will support multiple configurations for software, the software configuration was made generic. Signed-off-by: Beniamin Bia --- drivers/iio/adc/ad7606.c | 40 +--- drivers/iio/adc/ad7606.h | 2 ++ 2 files changed, 39 insertions(+), 3 delet

Re: [RFC V2 00/16] objtool: Add support for Arm64

2019-05-16 Thread Josh Poimboeuf
On Thu, May 16, 2019 at 11:36:39AM +0100, Raphael Gault wrote: > Noteworthy points: > * I still haven't figured out how to detect switch-tables on arm64. I > have a better understanding of them but still haven't implemented checks > as it doesn't look trivial at all. Switch tables were tricky to g

Re: 5.1 kernel: khugepaged stuck at 100%

2019-05-16 Thread Justin Piszcz
On Thu, May 16, 2019 at 10:17 AM Justin Piszcz wrote: > > On Thu, May 16, 2019 at 10:14 AM Justin Piszcz > wrote: > > > > On Tue, May 14, 2019 at 9:16 AM Kirill A. Shutemov > > wrote: > > > > > Could you check what khugepaged doing? > > > > > > cat /proc/$(pidof khugepaged)/stack > > > > It is

[RFC 0/2] Support for buttons on newer MS Surface devices

2019-05-16 Thread Maximilian Luz
This series adds suport for power and volume buttons on 5th and 6th generation Microsoft Surface devices. Specifically, it adds support for the power-button on the Surface Laptop 1 and Laptop 2, as well as support for power- and (on-device) volume-buttons on the Surface Pro 5 (2017), Pro 6, and Boo

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

2019-05-16 Thread Ken Goldman
On 5/14/2019 1:14 PM, Lakshmi wrote: The motive behind this patch series is to measure the public key of the IMA signature signer in the IMA log. I have some questions about the rationale for the design ... > The IMA signature of the file, logged using ima-sig template, contains the key ident

Re: [PATCH v3 2/3] arm64: implement update_fdt_pgprot()

2019-05-16 Thread Rob Herring
On Thu, May 16, 2019 at 5:28 AM Hsin-Yi Wang wrote: > > Basically does similar things like __fixmap_remap_fdt(). It's supposed > to be called after fixmap_remap_fdt() is called at least once, so region > checking can be skipped. Since it needs to know dt physical address, make > a copy of the valu

[PATCH] char: misc: Move EXPORT_SYMBOL immediately next to the functions/varibles

2019-05-16 Thread parna . naveenkumar
From: Naveen Kumar Parna According to checkpatch: EXPORT_SYMBOL(foo); should immediately follow its function/variable. This patch fixes the following checkpatch.pl issues in drivers/char/misc.c: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable Signed-off-by: Naveen K

Re: [PATCH v3 2/3] arm64: implement update_fdt_pgprot()

2019-05-16 Thread Ard Biesheuvel
On Thu, 16 May 2019 at 16:37, Rob Herring wrote: > > On Thu, May 16, 2019 at 5:28 AM Hsin-Yi Wang wrote: > > > > Basically does similar things like __fixmap_remap_fdt(). It's supposed > > to be called after fixmap_remap_fdt() is called at least once, so region > > checking can be skipped. Since i

Re: [PATCH v3 2/3] arm64: implement update_fdt_pgprot()

2019-05-16 Thread Mark Rutland
On Thu, May 16, 2019 at 09:37:05AM -0500, Rob Herring wrote: > On Thu, May 16, 2019 at 5:28 AM Hsin-Yi Wang wrote: > > > > Basically does similar things like __fixmap_remap_fdt(). It's supposed > > to be called after fixmap_remap_fdt() is called at least once, so region > > checking can be skipped

Re: [PATCH RFC 4/5] mm/ksm, proc: introduce remote merge

2019-05-16 Thread Oleksandr Natalenko
On Thu, May 16, 2019 at 04:20:13PM +0200, Oleksandr Natalenko wrote: > > [...] > > > @@ -2960,15 +2962,63 @@ static int proc_stack_depth(struct seq_file *m, > > > struct pid_namespace *ns, > > > static ssize_t madvise_write(struct file *file, const char __user *buf, > > > size_t c

Re: [PATCH] mtd: nand: raw: brcmnand: When oops in progress use pio and interrupt polling

2019-05-16 Thread Kamal Dasu
On Mon, May 6, 2019 at 12:01 PM Richard Weinberger wrote: > > On Wed, May 1, 2019 at 7:52 PM Kamal Dasu wrote: > > > > If mtd_oops is in progress switch to polling for nand command completion > > interrupts and use PIO mode wihtout DMA so that the mtd_oops buffer can > > be completely written in

Re: [PATCH v3 2/3] arm64: implement update_fdt_pgprot()

2019-05-16 Thread Hsin-Yi Wang
On Thu, May 16, 2019 at 10:37 PM Rob Herring wrote: > > Why not just map the FDT R/W at the start and change it to RO just > before calling unflatten_device_tree? Then all the FDT scanning > functions or any future fixups we need can just assume R/W. That is > essentially what Stephen suggested.

Re: [PATCH 4/4] uapi: Wire up the mount API syscalls on non-x86 arches [ver #2]

2019-05-16 Thread Geert Uytterhoeven
Hi David, Christian, On Thu, May 16, 2019 at 1:54 PM David Howells wrote: > Wire up the mount API syscalls on non-x86 arches. > > Reported-by: Arnd Bergmann > Signed-off-by: David Howells > Reviewed-by: Arnd Bergmann > +428common open_tree sys_open_tree > +429co

[PATCH] RFC: genirq: allow userspace to set default priority of irq threads

2019-05-16 Thread Rasmus Villemoes
On -rt kernels, it is sometimes desirable to be able to prioritize some hardware interrupts over others, i.e. being able to set the priorities of the irq threads different from the default of 50. While chrt(1) can be used after the threads are created, there are at least two problems with that: (1)

[PATCH v9 3/4] drm/vc4: Check for the binner bo before handling OOM interrupt

2019-05-16 Thread Paul Kocialkowski
Since the OOM interrupt directly deals with the binner bo, it doesn't make sense to try and handle it without a binner buffer registered. Signed-off-by: Paul Kocialkowski Reviewed-by: Eric Anholt --- drivers/gpu/drm/vc4/vc4_irq.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gp

Re: [PATCH] vfio: vfio_pci_nvlink2: use a vma helper function

2019-05-16 Thread Alex Williamson
[Cc Alexey + kvm] On Thu, 16 May 2019 20:38:26 +0800 "richard.p...@oppo.com" wrote: > Use a vma helper function to simply code. > > Signed-off-by: Peng Hao > --- >  drivers/vfio/pci/vfio_pci_nvlink2.c | 3 +-- >  1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/vfio/pci/

Re: [PATCH v1 1/2] pid: add pidfd_open()

2019-05-16 Thread Geert Uytterhoeven
Hi Christian, David, On Thu, May 16, 2019 at 4:00 PM Christian Brauner wrote: > This adds the pidfd_open() syscall. It allows a caller to retrieve pollable > pidfds for a process which did not get created via CLONE_PIDFD, i.e. for a > process that is created via traditional fork()/clone() calls t

[PATCH v9 1/4] drm/vc4: Reformat and the binner bo allocation helper

2019-05-16 Thread Paul Kocialkowski
In preparation for wrapping the binner bo allocation helper with put/get helpers, pass the vc4 dev directly and drop the vc4 prefix. Signed-off-by: Paul Kocialkowski Reviewed-by: Eric Anholt --- drivers/gpu/drm/vc4/vc4_v3d.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) dif

Re: [PATCH v10 1/2] usb: xhci : Add devaddr in struct usb_device

2019-05-16 Thread Alan Stern
On Thu, 16 May 2019, Jim Lin wrote: > The Clear_TT_Buffer request sent to the hub includes the address of > the LS/FS child device in wValue field. usb_hub_clear_tt_buffer() > uses udev->devnum to set the address wValue. This won't work for > devices connected to xHC. > > For other host controlle

[PATCH v9 2/4] drm/vc4: Check for V3D before binner bo alloc

2019-05-16 Thread Paul Kocialkowski
Check that we have a V3D device registered before attempting to allocate a binner buffer object. Signed-off-by: Paul Kocialkowski Reviewed-by: Eric Anholt --- drivers/gpu/drm/vc4/vc4_v3d.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/vc4/vc4_v3d.c b/drivers/gpu/drm/vc4

Re: [PATCH v2 2/4] dt-bindings: memory: Add binding for NVIDIA Tegra30 External Memory Controller

2019-05-16 Thread Dmitry Osipenko
02.05.2019 4:39, Dmitry Osipenko пишет: > 02.05.2019 3:52, Dmitry Osipenko пишет: >> 02.05.2019 3:17, Rob Herring пишет: >>> On Wed, May 1, 2019 at 7:06 PM Dmitry Osipenko wrote: 30.04.2019 1:05, Rob Herring пишет: > On Sun, Apr 14, 2019 at 11:20:07PM +0300, Dmitry Osipenko wrote: >>

Re: [PATCH] serial-uartlite: Fix null-ptr-deref in ulite_exit

2019-05-16 Thread Shubhrajyoti Datta
Hi YueHaibing, Thanks for the patch. On Thu, May 16, 2019 at 9:42 AM YueHaibing wrote: > > If ulite_probe is not called or failed to registed s/registed/register > uart_register_driver, unload the module will call > uart_unregister_driver, which will tigger NULL s/tigger/trigger > pointer derefer

Re: [PATCH v1 1/2] pid: add pidfd_open()

2019-05-16 Thread Christian Brauner
On Thu, May 16, 2019 at 04:56:08PM +0200, Geert Uytterhoeven wrote: > Hi Christian, David, > > On Thu, May 16, 2019 at 4:00 PM Christian Brauner > wrote: > > This adds the pidfd_open() syscall. It allows a caller to retrieve pollable > > pidfds for a process which did not get created via CLONE_P

Re: [PATCH 3.18 00/86] 3.18.140-stable review

2019-05-16 Thread Greg Kroah-Hartman
On Thu, May 16, 2019 at 08:27:55AM -0600, shuah wrote: > On 5/15/19 4:54 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.18.140 release. > > There are 86 patches in this series, all will be posted as a response > > to this one. If anyone has any issues with

Re: [PATCH 4/4] uapi: Wire up the mount API syscalls on non-x86 arches [ver #2]

2019-05-16 Thread Christian Brauner
On Thu, May 16, 2019 at 04:56:10PM +0200, Geert Uytterhoeven wrote: > Hi David, Christian, > > On Thu, May 16, 2019 at 1:54 PM David Howells wrote: > > Wire up the mount API syscalls on non-x86 arches. > > > > Reported-by: Arnd Bergmann > > Signed-off-by: David Howells > > Reviewed-by: Arnd Ber

Re: [Xen-devel] [PATCH v2 1/2] KVM: Start populating /sys/hypervisor with KVM entries

2019-05-16 Thread Boris Ostrovsky
On 5/16/19 10:08 AM, Alexander Graf wrote: > > My point is mostly that we should be as common > as possible when it comes to /sys/hypervisor, so that tools don't have > to care about the HV they're working against. It might make sense to have a common sys-hypervisor.c file (drivers/hypervisor/sys-

Re: Linux 3.18.140

2019-05-16 Thread Greg KH
diff --git a/Documentation/usb/power-management.txt b/Documentation/usb/power-management.txt index 7b90fe034c4b..d3e38fe2091d 100644 --- a/Documentation/usb/power-management.txt +++ b/Documentation/usb/power-management.txt @@ -364,11 +364,15 @@ autosuspend the interface's device. When the usage

Re: [GIT PULL] Thermal-SoC management changes for v5.2-rc1

2019-05-16 Thread Linus Torvalds
On Wed, May 15, 2019 at 9:43 PM Eduardo Valentin wrote: > > - thermal core has a new devm_* API for registering cooling devices, thanks > to Guenter R. > I took the entire series, that is why you see changes on drivers/hwmon in > this pull. This clashed badly with commit 6b1ec4789fb1 ("hwmon:

Re: [PATCH v2] media/doc: Allow sizeimage to be set by v4l clients

2019-05-16 Thread Stanimir Varbanov
Hi Hans, On 5/16/19 1:40 PM, Hans Verkuil wrote: > On 5/16/19 11:56 AM, Tomasz Figa wrote: >> On Thu, May 16, 2019 at 5:09 PM Stanimir Varbanov >> wrote: >>> >>> Hi Hans, >>> >>> On 5/14/19 11:54 AM, Hans Verkuil wrote: Hi Stanimir, On 4/12/19 5:59 PM, Stanimir Varbanov wrote:

Re: [v2 PATCH] mm: vmscan: correct nr_reclaimed for THP

2019-05-16 Thread Johannes Weiner
On Tue, May 14, 2019 at 01:44:35PM -0700, Yang Shi wrote: > On 5/13/19 11:20 PM, Michal Hocko wrote: > > On Mon 13-05-19 21:36:59, Yang Shi wrote: > > > On Mon, May 13, 2019 at 2:45 PM Michal Hocko wrote: > > > > On Mon 13-05-19 14:09:59, Yang Shi wrote: > > > > [...] > > > > > I think we can just

Re: [git pull] drm fixes for 5.2-rc1

2019-05-16 Thread pr-tracker-bot
The pull request you sent on Thu, 16 May 2019 12:27:54 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-next-2019-05-16 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/cc7ce90153e74f8266eefee9fba466faa1a2d5df Thank you! -- Deet-doot-dot, I am a bot. https://ko

Re: [GIT PULL] Thermal-SoC management changes for v5.2-rc1

2019-05-16 Thread pr-tracker-bot
The pull request you sent on Wed, 15 May 2019 21:43:14 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a455eda33faafcaac1effb31d682765b14ef868c Thank you! -- Deet-doot-dot, I am a

Linux 3.18.140

2019-05-16 Thread Greg KH
I'm announcing the release of the 3.18.140 kernel. All users of the 3.18 kernel series must upgrade. Note, this is the LAST 3.18.y release that I will be doing on kernel.org. I know it has been marked as End-of-Life for quite some time, but I have kept it alive due to a few million phones out th

Re: [PATCH 2/3] thermal: sun50i: add thermal driver for h6

2019-05-16 Thread Maxime Ripard
Hi, On Sun, May 12, 2019 at 11:41:28PM +0200, Ondřej Jirman wrote: > > > +static int tsens_get_temp(void *data, int *temp) > > > +{ > > > + struct tsensor *s = data; > > > + struct tsens_device *tmdev = s->tmdev; > > > + int val; > > > + > > > + regmap_read(tmdev->regmap, tmdev->chip->temp_data_ba

[PATCH] USB: Add LPM quirk for Surface Dock GigE adapter

2019-05-16 Thread Maximilian Luz
Without USB_QUIRK_NO_LPM ethernet will not work and rtl8152 will complain with r8152 : Stop submitting intr, status -71 Adding the quirk resolves this. As the dock is externally powered, this should not have any drawbacks. Signed-off-by: Maximilian Luz --- drivers/usb/core/quirks.c | 3 +++

Re: [PATCH] initramfs: Don't free a non-existent initrd

2019-05-16 Thread Mike Rapoport
On Thu, May 16, 2019 at 03:31:25PM +0100, Steven Price wrote: > Since 54c7a8916a88 ("initramfs: free initrd memory if opening > /initrd.image fails"), the kernel has unconditionally attempted to free > the initrd even if it doesn't exist. In the non-existent case this > causes a boot-time splat if

Re: [PATCH v1 1/2] pid: add pidfd_open()

2019-05-16 Thread Aleksa Sarai
On 2019-05-16, Oleg Nesterov wrote: > On 05/17, Aleksa Sarai wrote: > > On 2019-05-16, Oleg Nesterov wrote: > > > On 05/16, Christian Brauner wrote: > > > > With the introduction of pidfds through CLONE_PIDFD it is possible to > > > > created pidfds at process creation time. > > > > > > Now I am

[PATCH 2/2] pinctrl: meson: add output support in pinconf

2019-05-16 Thread Jerome Brunet
Add pinconf support for PIN_CONFIG_OUTPUT_ENABLE and PIN_CONFIG_OUTPUT in the meson pinctrl driver. Signed-off-by: Jerome Brunet --- drivers/pinctrl/meson/pinctrl-meson.c | 182 ++ 1 file changed, 127 insertions(+), 55 deletions(-) diff --git a/drivers/pinctrl/meson/pinc

[PATCH 0/2] pinctrl: meson: pinconf output support

2019-05-16 Thread Jerome Brunet
This patchset adds output support in the amlogic pinctrl driver. Linus, this patchset is based on the drive strength series from Guillaume which you just applied [0] [0]: https://lkml.kernel.org/r/cacrpkdz+p-j5em3rzzcuwpa-a+cvoy91cglqorm_qvzp6e4...@mail.gmail.com Jerome Brunet (2): dt-binding

[PATCH 1/2] dt-bindings: pinctrl: meson: add output support in pinconf

2019-05-16 Thread Jerome Brunet
add support for the pinconf DT property output-enable, output-disable, output-low and output-high in the meson pinctrl driver. Signed-off-by: Jerome Brunet --- .../devicetree/bindings/pinctrl/meson,pinctrl.txt| 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Do

Re: [Xen-devel] [PATCH v2 1/2] KVM: Start populating /sys/hypervisor with KVM entries

2019-05-16 Thread Sironi, Filippo
> On 16. May 2019, at 17:02, Boris Ostrovsky wrote: > > On 5/16/19 10:08 AM, Alexander Graf wrote: >> >> My point is mostly that we should be as common >> as possible when it comes to /sys/hypervisor, so that tools don't have >> to care about the HV they're working against. > > It might make

Re: [PATCH v3 2/3] arm64: implement update_fdt_pgprot()

2019-05-16 Thread Rob Herring
On Thu, May 16, 2019 at 9:43 AM Mark Rutland wrote: > > On Thu, May 16, 2019 at 09:37:05AM -0500, Rob Herring wrote: > > On Thu, May 16, 2019 at 5:28 AM Hsin-Yi Wang wrote: > > > > > > Basically does similar things like __fixmap_remap_fdt(). It's supposed > > > to be called after fixmap_remap_fdt

Re: Recurring warning in page_copy_sane (inside copy_page_to_iter) when running stress tests involving drop_caches

2019-05-16 Thread Lech Perczak
W dniu 15.05.2019 o 17:18, Matthew Wilcox pisze: > On Wed, May 15, 2019 at 08:02:17AM -0700, Eric Dumazet wrote: >> On Wed, May 15, 2019 at 7:43 AM Matthew Wilcox wrote: >>> You're seeing a race between page_address(page) being called twice. >>> Between those two calls, something has caused the p

Re: [PATCH v3] driver core: Fix use-after-free and double free on glue directory

2019-05-16 Thread Muchun Song
Hi rafael, Thanks for your review. Rafael J. Wysocki 于2019年5月15日周三 下午4:35写道: > > On Wed, May 15, 2019 at 2:57 AM Muchun Song wrote: > > > > There is a race condition between removing glue directory and adding a new > > device under the glue directory. It can be reproduced in following test: > >

Re: [PATCH v2 2/2] KVM: x86: Implement the arch-specific hook to report the VM UUID

2019-05-16 Thread Sironi, Filippo
> On 16. May 2019, at 15:56, Graf, Alexander wrote: > > On 14.05.19 08:16, Filippo Sironi wrote: >> On x86, we report the UUID in DMI System Information (i.e., DMI Type 1) >> as VM UUID. >> >> Signed-off-by: Filippo Sironi >> --- >> arch/x86/kernel/kvm.c | 7 +++ >> 1 file changed, 7 inser

[GIT PULL] Thermal management updates for v5.2-rc1

2019-05-16 Thread Zhang Rui
Hi, Linus, Please pull from   git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next to receive the latest Thermal management updates for v5.2-rc1 with top-most commit 6df24c3e81b9ba9c5e8d815e593826c169e3f366:   Merge branches 'thermal-core', 'thermal-built-it' and 'thermal-intel'

Re: [v2 PATCH] mm: mmu_gather: remove __tlb_reset_range() for force flush

2019-05-16 Thread Jan Stancek
- Original Message - > On Mon, May 13, 2019 at 04:01:09PM -0700, Yang Shi wrote: > > > > > > On 5/13/19 9:38 AM, Will Deacon wrote: > > > On Fri, May 10, 2019 at 07:26:54AM +0800, Yang Shi wrote: > > > > diff --git a/mm/mmu_gather.c b/mm/mmu_gather.c > > > > index 99740e1..469492d 1006

Re: [PATCH v3 2/3] arm64: implement update_fdt_pgprot()

2019-05-16 Thread Rob Herring
On Thu, May 16, 2019 at 9:51 AM Hsin-Yi Wang wrote: > > On Thu, May 16, 2019 at 10:37 PM Rob Herring wrote: > > > > > Why not just map the FDT R/W at the start and change it to RO just > > before calling unflatten_device_tree? Then all the FDT scanning > > functions or any future fixups we need c

Re: [PATCH v2 2/2] KVM: x86: Implement the arch-specific hook to report the VM UUID

2019-05-16 Thread Alexander Graf
On 16.05.19 08:25, Sironi, Filippo wrote: >> On 16. May 2019, at 15:56, Graf, Alexander wrote: >> >> On 14.05.19 08:16, Filippo Sironi wrote: >>> On x86, we report the UUID in DMI System Information (i.e., DMI Type 1) >>> as VM UUID. >>> >>> Signed-off-by: Filippo Sironi >>> --- >>> arch/x86/ke

Re: [GIT PULL 1/4] ARM: SoC platform updates

2019-05-16 Thread Linus Torvalds
On Wed, May 15, 2019 at 11:43 PM Olof Johansson wrote: > > SoC updates, mostly refactorings and cleanups of old legacy platforms. > Major themes this release: Hmm. This brings in a new warning: drivers/clocksource/timer-ixp4xx.c:78:20: warning: ‘ixp4xx_read_sched_clock’ defined but not used [-

[PATCH v2] i2c: i2c-stm32f7: fix the get_irq error cases

2019-05-16 Thread Fabrice Gasnier
During probe, return the "get_irq" error value instead of -EINVAL which allows the driver to be deferred probed if needed. Fix also the case where of_irq_get() returns a negative value. Note : On failure of_irq_get() returns 0 or a negative value while platform_get_irq() returns a negative value.

Re: [PATCH v1 1/2] pid: add pidfd_open()

2019-05-16 Thread Christian Brauner
On Thu, May 16, 2019 at 05:22:53PM +0200, Oleg Nesterov wrote: > On 05/17, Aleksa Sarai wrote: > > > > On 2019-05-16, Oleg Nesterov wrote: > > > On 05/17, Aleksa Sarai wrote: > > > > On 2019-05-16, Oleg Nesterov wrote: > > > > > On 05/16, Christian Brauner wrote: > > > > > > With the introduction

<    1   2   3   4   5   6   7   8   9   >