Re: [PATCH] mm: fix race between kmem_cache destroy, create and deactivate

2018-05-21 Thread Andrew Morton
On Mon, 21 May 2018 10:41:16 -0700 Shakeel Butt wrote: > The memcg kmem cache creation and deactivation (SLUB only) is > asynchronous. If a root kmem cache is destroyed whose memcg cache is in > the process of creation or deactivation, the kernel may crash. > > Example of one such crash: >

[PATCH v2] remoteproc: Introduce prepare/unprepare ops for rproc coredump

2018-05-21 Thread Sibi Sankar
In some occasions the remoteproc device might need to prepare some hardware before the coredump can be performed and cleanup the state afterwards. Q6V5 modem requires the mba to be loaded before the coredump and some cleanup of the resources afterwards. Signed-off-by: Sibi Sankar --- This patch

Re: [PATCH 00/10] Misc block layer patches for bcachefs

2018-05-21 Thread Bart Van Assche
On Mon, 2018-05-21 at 11:37 -0700, Omar Sandoval wrote: > Have you made any progress in porting srp-test to blktests so we don't > have to have this conversation again? Hello Omar, Porting the srp-test software to the blktests framework is still high on my to-do list. I will start working on this

[PATCH net-next 3/5] net: ethernet: ti: cpsw: Fix cpsw_add_ch_strings() printk format

2018-05-21 Thread Florian Fainelli
When building on a 64-bit host we will get the following warning: drivers/net/ethernet/ti/cpsw.c: In function 'cpsw_add_ch_strings': drivers/net/ethernet/ti/cpsw.c:1284:19: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] "%s DMA cha

[PATCH net-next 2/5] net: ethernet: ti: cpts: Fix timestamp print

2018-05-21 Thread Florian Fainelli
On 64-bit hosts we will get the following warning: drivers/net/ethernet/ti/cpts.c: In function 'cpts_overflow_check': drivers/net/ethernet/ti/cpts.c:297:11: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type '__kernel_time_t {aka long int}' [-Wformat=] pr_de

[PATCH net-next 1/5] ti: ethernet: cpdma: Use correct format for genpool_*

2018-05-21 Thread Florian Fainelli
Now that we can compile davinci_cpdma.c on 64-bit hosts, we can see that the format used for printing a size_t type is incorrect, use %zd accordingly. Fixes: aeec3021043b ("net: ethernet: ti: cpdma: remove used_desc counter") Signed-off-by: Florian Fainelli --- drivers/net/ethernet/ti/davinci_cp

[PATCH net-next 4/5] net: ethernet: davinci_emac: Fix printing of base address

2018-05-21 Thread Florian Fainelli
Use %pa which is the correct formatter to print a physical address, instead of %p which is just a pointer. Fixes: a6286ee630f6 ("net: Add TI DaVinci EMAC driver") Signed-off-by: Florian Fainelli --- drivers/net/ethernet/ti/davinci_emac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH net-next 5/5] ti: ethernet: davinci: Fix cast to int warnings

2018-05-21 Thread Florian Fainelli
Now that we can compile test this driver on 64-bit hosts, we get some warnings about how a pointer/address is written/read to/from a register (sw_token). Fix this by doing the appropriate conversions, we cannot possibly have the driver work on 64-bit hosts the way the tokens are managed though, sin

[PATCH net-next 0/5] TI Ethernet driver warnings fixes

2018-05-21 Thread Florian Fainelli
Hi all, This patch series attempts to fix properly the warnings observed with turning on COMPILE_TEST and TI Ethernet drivers on 64-bit hosts. Since I don't have any of this hardware, please review carefully for possible breakage! Thank you! Florian Fainelli (5): ti: ethernet: cpdma: Use corr

Re: [Xen-devel] [RFC 1/3] xen/balloon: Allow allocating DMA buffers

2018-05-21 Thread Boris Ostrovsky
On 05/21/2018 01:32 PM, Oleksandr Andrushchenko wrote: > On 05/21/2018 07:35 PM, Boris Ostrovsky wrote: >> On 05/21/2018 01:40 AM, Oleksandr Andrushchenko wrote: >>> On 05/19/2018 01:04 AM, Boris Ostrovsky wrote: On 05/17/2018 04:26 AM, Oleksandr Andrushchenko wrote: > From: Oleksandr Andr

Re: Delivery Status Notification (Failure)

2018-05-21 Thread Pintu Kumar
Dear Lucas, Can you give me some pointers on how to set affinity for entire GPIO Bank. Currently I am exploring drivers/gpio/gpio-mxc.c to find out how the GPIO banks are set up. I also found that affinity can be set using: desc->irq_data.affinity, may be by using cpumask_copy(...). But still I a

Re: [PATCHv2] drivers/perf: arm-ccn: don't log to dmesg in event_init

2018-05-21 Thread Kim Phillips
[adding LKML, linux-perf-users. Please do so from now on] On Mon, 21 May 2018 18:19:49 +0100 Mark Rutland wrote: > The ARM CCN PMU driver uses dev_warn() to complain about parameters in > the user-provided perf_event_attr. This means that under normal > operation (e.g. a single invocation of th

Re: [PATCH 0/3] bpf: add boot parameters for sysctl knobs

2018-05-21 Thread Alexei Starovoitov
On Mon, May 21, 2018 at 02:29:30PM +0200, Eugene Syromiatnikov wrote: > Hello. > > This patch set adds ability to set default values for > kernel.unprivileged_bpf_disable, net.core.bpf_jit_harden, > net.core.bpf_jit_kallsyms sysctl knobs as well as option to override > them via a boot-time kernel

Re: [PATCH v2] arm: bcm2835: Add the PMU to the devicetree.

2018-05-21 Thread Stefan Wahren
> Eric Anholt hat am 21. Mai 2018 um 20:39 geschrieben: > > > This only probes on arm64 so far, but hopefully that driver will be > generalized soon. > > Signed-off-by: Eric Anholt Acked-by: Stefan Wahren

Re: [PATCH v8 2/3] drm: writeback: Add out-fences for writeback connectors

2018-05-21 Thread Eric Anholt
Liviu Dudau writes: > From: Brian Starkey > > Add the WRITEBACK_OUT_FENCE_PTR property to writeback connectors, to > enable userspace to get a fence which will signal once the writeback is > complete. It is not allowed to request an out-fence without a > framebuffer attached to the connector. >

Re: [PATCH] kdump: add default crashkernel reserve kernel config options

2018-05-21 Thread Andrew Morton
On Mon, 21 May 2018 10:53:37 +0800 Dave Young wrote: > This is a rework of the crashkernel=auto patches back to 2009 although > I'm not sure if below is the last version of the old effort: > https://lkml.org/lkml/2009/8/12/61 > https://lwn.net/Articles/345344/ > > I changed the original design,

Re: [PATCH v2 2/2] cpufreq: qcom-fw: Add support for QCOM cpufreq FW driver

2018-05-21 Thread skannan
On 2018-05-21 02:01, Viresh Kumar wrote: On 19-05-18, 23:04, Taniya Das wrote: The CPUfreq FW present in some QCOM chipsets offloads the steps necessary for changing the frequency of CPUs. The driver implements the cpufreq driver interface for this firmware. Signed-off-by: Saravana Kannan Sig

Re: REGRESSION: HiKey eMMC corruption

2018-05-21 Thread John Stultz
On Mon, May 21, 2018 at 1:34 AM, Wei Xu wrote: > On 2018/5/18 23:59, John Stultz wrote: >> The last few months have been busy and I've not been ontop of my >> upstream testing as well as I'd like, but today I did manage to chase >> down an issue I've been seeing since 4.17-rc1 on the HiKey board,

Re: [PATCH] idr: fix invalid ptr dereference on item delete

2018-05-21 Thread Andrew Morton
On Sat, 19 May 2018 07:14:45 -0700 Matthew Wilcox wrote: > On Sat, May 19, 2018 at 09:26:36AM +0300, Roman Kagan wrote: > > On Fri, May 18, 2018 at 03:31:38PM -0700, Andrew Morton wrote: > > > On Fri, 18 May 2018 10:50:25 -0700 Matthew Wilcox > > > wrote: > > > > > > > If the radix tree underl

Re: [Xen-devel] [RFC 1/3] xen/balloon: Allow allocating DMA buffers

2018-05-21 Thread Oleksandr Andrushchenko
On 05/21/2018 09:53 PM, Boris Ostrovsky wrote: On 05/21/2018 01:32 PM, Oleksandr Andrushchenko wrote: On 05/21/2018 07:35 PM, Boris Ostrovsky wrote: On 05/21/2018 01:40 AM, Oleksandr Andrushchenko wrote: On 05/19/2018 01:04 AM, Boris Ostrovsky wrote: On 05/17/2018 04:26 AM, Oleksandr Andrushc

Re: [RFC PATCH ghak32 V2 13/13] debug audit: read container ID of a process

2018-05-21 Thread Steve Grubb
On Friday, March 16, 2018 5:00:40 AM EDT Richard Guy Briggs wrote: > Add support for reading the container ID from the proc filesystem. I think this could be useful in general. Please consider this to be part of the full patch set and not something merely used to debug the patches. -Steve > Thi

Re: [RFC PATCH ghak32 V2 03/13] audit: log container info of syscalls

2018-05-21 Thread Steve Grubb
On Thursday, May 17, 2018 5:41:02 PM EDT Richard Guy Briggs wrote: > On 2018-05-17 17:09, Steve Grubb wrote: > > On Fri, 16 Mar 2018 05:00:30 -0400 > > > > Richard Guy Briggs wrote: > > > Create a new audit record AUDIT_CONTAINER_INFO to document the > > > container ID of a process if it is prese

Re: [RFC PATCH ghak32 V2 13/13] debug audit: read container ID of a process

2018-05-21 Thread Eric W. Biederman
Steve Grubb writes: > On Friday, March 16, 2018 5:00:40 AM EDT Richard Guy Briggs wrote: >> Add support for reading the container ID from the proc filesystem. > > I think this could be useful in general. Please consider this to be part of > the full patch set and not something merely used to deb

Re: [PATCH 1/2] rtc: brcmstb-waketimer: switch to rtc_register_device

2018-05-21 Thread Florian Fainelli
On 05/20/2018 01:27 PM, Alexandre Belloni wrote: > Switch to devm_rtc_allocate_device/rtc_register_device. > > Signed-off-by: Alexandre Belloni Reviewed-by: Florian Fainelli -- Florian

Re: [PATCH 2/2] rtc: brcmstb-waketimer: add range

2018-05-21 Thread Florian Fainelli
On 05/20/2018 01:27 PM, Alexandre Belloni wrote: > Let the core handle the range. > > Signed-off-by: Alexandre Belloni Reviewed-by: Florian Fainelli -- -- Florian

Re: [PATCH] soc: qcom: geni: Make version macros simpler

2018-05-21 Thread Doug Anderson
Hi, On Fri, May 18, 2018 at 3:47 PM, Stephen Boyd wrote: > This macro doesn't work, because it hides a local variable inside of the > macro to hold the version and that variable name is called 'ver' and > 'version' sometimes. > > Let's change this to be more explicit. Introduce three macros for t

RE: [PATCH v7 3/3] arm64: defconfig: Enable dw_mmc-bluefield driver

2018-05-21 Thread Liming Sun
Thanks! I'll try to send this one to arm soc. Best regards, Liming > -Original Message- > From: Ulf Hansson [mailto:ulf.hans...@linaro.org] > Sent: Monday, May 21, 2018 7:36 AM > To: Liming Sun > Cc: Rob Herring ; Mark Rutland > ; Jaehoon Chung ; > Catalin Marinas ; Will Deacon > ; linux

[PATCH] mm/THP: use hugepage_vma_check() in khugepaged_enter_vma_merge()

2018-05-21 Thread Song Liu
khugepaged_enter_vma_merge() is using a different approach to check whether a vma is valid for khugepaged_enter(): if (!vma->anon_vma) /* * Not yet faulted in so we will register later in the * page fault if needed. */ return 0;

[media] duplicate code in media drivers

2018-05-21 Thread Gustavo A. R. Silva
Hi Mauro, I found some duplicate code with the help of Coccinelle and Coverity. Notice that these are not code patches, they only point out the duplicate code in some media drivers: diff -u -p drivers/media/pci/bt8xx/dvb-bt8xx.c /tmp/nothing/media/pci/bt8xx/dvb-bt8xx.c --- drivers/media/pci/bt

Re: [PATCH] usb: dwc2: Fix HiKey regression caused by power_down feature

2018-05-21 Thread John Stultz
On Mon, May 21, 2018 at 1:45 AM, Minas Harutyunyan wrote: > Hi John, > > On 5/19/2018 4:49 AM, John Stultz wrote: >> In 4.17-rc, commit 03ea6d6e9e1f ("usb: dwc2: Enable power down") >> caused the HiKey board to not correctly handle switching between >> usb-gadget and usb-host mode. >> >> Unpluggin

Re: [PATCH] mm/THP: use hugepage_vma_check() in khugepaged_enter_vma_merge()

2018-05-21 Thread Rik van Riel
On Mon, 2018-05-21 at 12:38 -0700, Song Liu wrote: > This patch fixes these problems by reusing hugepage_vma_check() in > khugepaged_enter_vma_merge(). Lets take a look at this in more detail. This effectively adds the following conditions to khugepaged_enter_vma_merge: - fail if MMF_DISABLE_THP

[REGRESSION] v4.17-rc4: xgalaga fails to start in fullscreen (default) mode

2018-05-21 Thread Vito Caputo
Hello all, 4.17-rc4 (my latest kernel ATM) consistently fails to start xgalaga without -window. I will try find time to build the latest rc this evening. > ~$ xgalaga > X Error of failed request: BadValue (integer parameter out of range for > operation) > Major opcode of failed request: 152

Hello,

2018-05-21 Thread Mr.Anthony Jones
Good Day, I am Mr.Anthony Jones, I apologize for contacting you in this manner but the situation at hand demands urgent attention from all presumed beneficiaries. There is an unfinished business transaction in my branch with my late client Mr. Alfred , who is from your country, he left sum of Ele

[PATCH v4 00/10] PECI device driver introduction

2018-05-21 Thread Jae Hyun Yoo
Introduction of the Platform Environment Control Interface (PECI) bus device driver. PECI is a one-wire bus interface that provides a communication channel between an Intel processor and chipset components to external monitoring or control devices. PECI is designed to support the following sideband

[v4 01/11] dt-bindings: Add a document of PECI subsystem

2018-05-21 Thread Jae Hyun Yoo
This commit adds a document of generic PECI bus, adapter and client driver. Signed-off-by: Jae Hyun Yoo Reviewed-by: Haiyue Wang Reviewed-by: James Feist Reviewed-by: Vernon Mauery Cc: Andrew Jeffery Cc: Joel Stanley --- .../devicetree/bindings/peci/peci.txt | 59 +++

[v4 02/11] Documentation: ioctl: Add ioctl numbers for PECI subsystem

2018-05-21 Thread Jae Hyun Yoo
This commit updates ioctl-number.txt to reflect ioctl numbers used by the PECI subsystem. Signed-off-by: Jae Hyun Yoo Cc: James Feist Cc: Jason M Biils Cc: Vernon Mauery --- Documentation/ioctl/ioctl-number.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/ioctl/ioctl-nu

[PATCH v2] usb: dwc2: Fix HiKey regression caused by power_down feature

2018-05-21 Thread John Stultz
In 4.17-rc, commit 03ea6d6e9e1f ("usb: dwc2: Enable power down") caused the HiKey board to not correctly handle switching between usb-gadget and usb-host mode. Unplugging the OTG port would result in: [ 42.240973] dwc2 f72c.usb: dwc2_restore_host_registers: no host registers to restore [

[v4 03/11] drivers/peci: Add support for PECI bus driver core

2018-05-21 Thread Jae Hyun Yoo
This commit adds driver implementation for PECI bus core into linux driver framework. Signed-off-by: Jae Hyun Yoo Signed-off-by: Fengguang Wu Reviewed-by: Haiyue Wang Reviewed-by: James Feist Reviewed-by: Vernon Mauery Cc: Alan Cox Cc: Andrew Lunn Cc: Andy Shevchenko Cc: Arnd Bergmann Cc:

[v4 04/11] dt-bindings: Add a document of PECI adapter driver for ASPEED AST24xx/25xx SoCs

2018-05-21 Thread Jae Hyun Yoo
This commit adds a dt-bindings document of PECI adapter driver for ASPEED AST24xx/25xx SoCs. Signed-off-by: Jae Hyun Yoo Reviewed-by: Haiyue Wang Reviewed-by: James Feist Reviewed-by: Vernon Mauery Cc: Benjamin Herrenschmidt Cc: Greg KH Cc: Jason M Biils Cc: Milton Miller II Cc: Pavel Mach

[v4 05/11] ARM: dts: aspeed: peci: Add PECI node

2018-05-21 Thread Jae Hyun Yoo
This commit adds PECI bus/adapter node of AST24xx/AST25xx into aspeed-g4 and aspeed-g5. Signed-off-by: Jae Hyun Yoo Reviewed-by: Haiyue Wang Reviewed-by: James Feist Reviewed-by: Vernon Mauery Cc: Jason M Biils Cc: Ryan Chen --- arch/arm/boot/dts/aspeed-g4.dtsi | 26

[v4 06/11] drivers/peci: Add a PECI adapter driver for Aspeed AST24xx/AST25xx

2018-05-21 Thread Jae Hyun Yoo
This commit adds PECI adapter driver implementation for Aspeed AST24xx/AST25xx SoCs. Signed-off-by: Jae Hyun Yoo Reviewed-by: Haiyue Wang Reviewed-by: James Feist Reviewed-by: Vernon Mauery Cc: Andy Shevchenko Cc: Greg KH Cc: Robin Murphy Cc: Ryan Chen --- drivers/peci/Kconfig | 27

[PATCH] gpu: drm: omapdrm: Adding new typedef vm_fault_t

2018-05-21 Thread Souptick Joarder
Use new return type vm_fault_t for fault handler. For now, this is just documenting that the function returns a VM_FAULT value rather than an errno. Once all instances are converted, vm_fault_t will become a distinct type. Ref-> commit 1c8f422059ae ("mm: change return type to vm_fault_t") Previou

[v4 07/11] dt-bindings: hwmon: Add documents for PECI hwmon client drivers

2018-05-21 Thread Jae Hyun Yoo
This commit adds dt-bindings documents for PECI hwmon client drivers. Signed-off-by: Jae Hyun Yoo Reviewed-by: Haiyue Wang Reviewed-by: James Feist Reviewed-by: Vernon Mauery Cc: Andrew Jeffery Cc: Arnd Bergmann Cc: Jason M Biils Cc: Joel Stanley --- .../bindings/hwmon/peci-cputemp.txt

[v4 08/11] Documentation: hwmon: Add documents for PECI hwmon client drivers

2018-05-21 Thread Jae Hyun Yoo
This commit adds hwmon documents for PECI cputemp and dimmtemp drivers. Signed-off-by: Jae Hyun Yoo Reviewed-by: Haiyue Wang Reviewed-by: James Feist Reviewed-by: Vernon Mauery Cc: Jason M Biils Cc: Randy Dunlap --- Documentation/hwmon/peci-cputemp | 78 +++ Doc

[v4 09/11] drivers/hwmon: Add PECI cputemp driver

2018-05-21 Thread Jae Hyun Yoo
This commit adds PECI cputemp hwmon driver. Signed-off-by: Jae Hyun Yoo Reviewed-by: Haiyue Wang Reviewed-by: James Feist Reviewed-by: Vernon Mauery Cc: Alan Cox Cc: Andrew Jeffery Cc: Andy Shevchenko Cc: Arnd Bergmann Cc: Jason M Biils Cc: Joel Stanley Cc: Miguel Ojeda Cc: Andrew Lunn

[v4 11/11] Add maintainers for the PECI subsystem

2018-05-21 Thread Jae Hyun Yoo
This commit adds maintainer information for the PECI subsystem. Signed-off-by: Jae Hyun Yoo Reviewed-by: Haiyue Wang Reviewed-by: James Feist Reviewed-by: Vernon Mauery Cc: Jason M Biils --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS

[v4 10/11] drivers/hwmon: Add PECI dimmtemp driver

2018-05-21 Thread Jae Hyun Yoo
This commit adds PECI dimmtemp hwmon driver. Signed-off-by: Jae Hyun Yoo Reviewed-by: Haiyue Wang Reviewed-by: James Feist Reviewed-by: Vernon Mauery Cc: Alan Cox Cc: Andrew Jeffery Cc: Andy Shevchenko Cc: Arnd Bergmann Cc: Jason M Biils Cc: Joel Stanley Cc: Miguel Ojeda Cc: Andrew Lunn

[PATCH net-next v2] net: sched: don't disable bh when accessing action idr

2018-05-21 Thread Vlad Buslov
Initial net_device implementation used ingress_lock spinlock to synchronize ingress path of device. This lock was used in both process and bh context. In some code paths action map lock was obtained while holding ingress_lock. Commit e1e992e52faa ("[NET_SCHED] protect action config/dump from irqs")

Re: [RFC PATCH ghak32 V2 13/13] debug audit: read container ID of a process

2018-05-21 Thread Paul Moore
On Mon, May 21, 2018 at 3:19 PM, Eric W. Biederman wrote: > Steve Grubb writes: > >> On Friday, March 16, 2018 5:00:40 AM EDT Richard Guy Briggs wrote: >>> Add support for reading the container ID from the proc filesystem. >> >> I think this could be useful in general. Please consider this to be

Re: PROBLEM: mce: [Hardware Error] from dmesg -l emerg

2018-05-21 Thread Jeffrin Thalakkottoor
> (*) Can you send a snip from the raw dmesg output that starts > a couple of lines before: > > > ... [Hardware Error]: CPU 0: Machine Check: 0 Bank: 5 ... > > and continues a couple of lines past > > ... [Hardware Error]: PROCESSOR 0:306d4 ... > > and I'll take a look at why mcelog

Re: [PATCH] mm: fix race between kmem_cache destroy, create and deactivate

2018-05-21 Thread Shakeel Butt
On Mon, May 21, 2018 at 11:42 AM Andrew Morton wrote: > On Mon, 21 May 2018 10:41:16 -0700 Shakeel Butt wrote: > > The memcg kmem cache creation and deactivation (SLUB only) is > > asynchronous. If a root kmem cache is destroyed whose memcg cache is in > > the process of creation or deactivatio

Re: [PATCH 07/33] iwlwifi: mvm: use match_string() helper

2018-05-21 Thread Luca Coelho
On Mon, 2018-05-21 at 19:57 +0800, Yisheng Xie wrote: > match_string() returns the index of an array for a matching string, > which can be used intead of open coded variant. > > Cc: Kalle Valo > Cc: Intel Linux Wireless > Cc: Johannes Berg > Cc: Emmanuel Grumbach > Cc: linux-wirel...@vger.kern

Re: [media] duplicate code in media drivers

2018-05-21 Thread Mauro Carvalho Chehab
Em Mon, 21 May 2018 14:39:51 -0500 "Gustavo A. R. Silva" escreveu: > Hi Mauro, > > I found some duplicate code with the help of Coccinelle and Coverity. Notice > that these are not code patches, they only point out the duplicate code in > some media drivers: > > diff -u -p drivers/media/pci/b

Re: [PATCH net-next 0/5] TI Ethernet driver warnings fixes

2018-05-21 Thread David Miller
From: Florian Fainelli Date: Mon, 21 May 2018 11:45:50 -0700 > Hi all, > > This patch series attempts to fix properly the warnings observed with turning > on COMPILE_TEST and TI Ethernet drivers on 64-bit hosts. > > Since I don't have any of this hardware, please review carefully for possible >

Re: PROBLEM: mce: [Hardware Error] from dmesg -l emerg

2018-05-21 Thread Borislav Petkov
On Mon, May 21, 2018 at 09:58:03AM -0700, Luck, Tony wrote: > So BIOS did something to trigger some issues in the L3 > cache (more than once since the overflow and filter bits > are both set). > > I think (but am not 100% sure because I don't have an > internal decoder that knows about this specif

Re: [alsa-devel] [PATCH 5/6] mtd: rawnand: ams-delta: use GPIO lookup table

2018-05-21 Thread Janusz Krzysztofik
On Sunday, May 20, 2018 10:08:22 PM CEST Dmitry Torokhov wrote: > On Sun, May 20, 2018 at 09:27:05PM +0200, Ladislav Michl wrote: > > On Sat, May 19, 2018 at 11:55:51PM +0200, Janusz Krzysztofik wrote: > > > On Saturday, May 19, 2018 8:00:38 PM CEST Andy Shevchenko wrote: > > > > On Sat, May 19, 20

Re: [PATCH v7 08/13] KVM: arm/arm64: Remove kvm_vgic_vcpu_early_init

2018-05-21 Thread kbuild test robot
Hi Eric, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on kvmarm/next] [also build test WARNING on v4.17-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Er

Re: [PATCH v3 4/6] ALSA: xen-front: Implement handling of shared buffers

2018-05-21 Thread Takashi Iwai
On Thu, 17 May 2018 08:26:16 +0200, Takashi Iwai wrote: > > On Tue, 15 May 2018 08:02:08 +0200, > Oleksandr Andrushchenko wrote: > > > > On 05/15/2018 09:01 AM, Takashi Iwai wrote: > > > On Tue, 15 May 2018 07:46:38 +0200, > > > Oleksandr Andrushchenko wrote: > > >> On 05/14/2018 11:28 PM, Takash

Re: [Xen-devel] [RFC 1/3] xen/balloon: Allow allocating DMA buffers

2018-05-21 Thread Boris Ostrovsky
On 05/21/2018 03:13 PM, Oleksandr Andrushchenko wrote: > On 05/21/2018 09:53 PM, Boris Ostrovsky wrote: >> On 05/21/2018 01:32 PM, Oleksandr Andrushchenko wrote: >>> On 05/21/2018 07:35 PM, Boris Ostrovsky wrote: On 05/21/2018 01:40 AM, Oleksandr Andrushchenko wrote: > On 05/19/2018 01:04

Re: [PATCHv9] gpio: Remove VLA from gpiolib

2018-05-21 Thread Andy Shevchenko
On Mon, May 21, 2018 at 8:57 PM, Laura Abbott wrote: > The new challenge is to remove VLAs from the kernel > (see https://lkml.org/lkml/2018/3/7/621) to eventually > turn on -Wvla. > > Using a kmalloc array is the easy way to fix this but kmalloc is still > more expensive than stack allocation. In

[PATCH] Bluetooth: Apply QCA Rome patches for some ATH3012 models

2018-05-21 Thread Takashi Iwai
In commit f44cb4b19ed4 ("Bluetooth: btusb: Fix quirk for Atheros 1525/QCA6174") we tried to address the non-working Atheros BT devices by changing the quirk from BTUSB_ATH3012 to BTUSB_QCA_ROME. This made such devices working while it turned out to break other existing chips with the very same USB

Re: [PATCH] ath10k: transmit queued frames after waking queues

2018-05-21 Thread Niklas Cassel
On Thu, May 17, 2018 at 03:26:25PM -0700, Adrian Chadd wrote: > On Thu, 17 May 2018 at 16:16, Niklas Cassel > wrote: > > > diff --git a/drivers/net/wireless/ath/ath10k/txrx.c > b/drivers/net/wireless/ath/ath10k/txrx.c > > index cda164f6e9f6..1d3b2d2c3fee 100644 > > --- a/drivers/net/wireless/ath/

Re: [v4 10/11] drivers/hwmon: Add PECI dimmtemp driver

2018-05-21 Thread Guenter Roeck
On Mon, May 21, 2018 at 01:00:02PM -0700, Jae Hyun Yoo wrote: > This commit adds PECI dimmtemp hwmon driver. > > Signed-off-by: Jae Hyun Yoo > Reviewed-by: Haiyue Wang > Reviewed-by: James Feist > Reviewed-by: Vernon Mauery > Cc: Alan Cox > Cc: Andrew Jeffery > Cc: Andy Shevchenko > Cc: Arn

Re: [v4 09/11] drivers/hwmon: Add PECI cputemp driver

2018-05-21 Thread Guenter Roeck
On Mon, May 21, 2018 at 12:59:52PM -0700, Jae Hyun Yoo wrote: > This commit adds PECI cputemp hwmon driver. > > Signed-off-by: Jae Hyun Yoo > Reviewed-by: Haiyue Wang > Reviewed-by: James Feist > Reviewed-by: Vernon Mauery > Cc: Alan Cox > Cc: Andrew Jeffery > Cc: Andy Shevchenko > Cc: Arnd

[PATCH v2] ath10k: transmit queued frames after waking queues

2018-05-21 Thread Niklas Cassel
The following problem was observed when running iperf: [ 3] 0.0- 1.0 sec 2.00 MBytes 16.8 Mbits/sec [ 3] 1.0- 2.0 sec 3.12 MBytes 26.2 Mbits/sec [ 3] 2.0- 3.0 sec 3.25 MBytes 27.3 Mbits/sec [ 3] 3.0- 4.0 sec 655 KBytes 5.36 Mbits/sec [ 3] 4.0- 5.0 sec 0.00 Bytes 0.00 bits/sec

Re: [PATCH v7 2/2] leds: lm3601x: Introduce the lm3601x LED driver

2018-05-21 Thread Andy Shevchenko
On Mon, May 21, 2018 at 9:09 PM, Dan Murphy wrote: > Introduce the family of LED devices that can > drive a torch, strobe or IR LED. > > The LED driver can be configured with a strobe > timer to execute a strobe flash. The IR LED > brightness is controlled via the torch brightness > register. > >

Re: [media] duplicate code in media drivers

2018-05-21 Thread Devin Heitmueller
>> diff -u -p drivers/media/dvb-frontends/au8522_decoder.c >> /tmp/nothing/media/dvb-frontends/au8522_decoder.c >> --- drivers/media/dvb-frontends/au8522_decoder.c >> +++ /tmp/nothing/media/dvb-frontends/au8522_decoder.c >> @@ -280,14 +280,9 @@ static void setup_decoder_defaults(struc >>

Re: [v4 10/11] drivers/hwmon: Add PECI dimmtemp driver

2018-05-21 Thread Jae Hyun Yoo
On 5/21/2018 1:39 PM, Guenter Roeck wrote: On Mon, May 21, 2018 at 01:00:02PM -0700, Jae Hyun Yoo wrote: This commit adds PECI dimmtemp hwmon driver. Signed-off-by: Jae Hyun Yoo Reviewed-by: Haiyue Wang Reviewed-by: James Feist Reviewed-by: Vernon Mauery Cc: Alan Cox Cc: Andrew Jeffery Cc

[PATCH v2] rtc: st-lpc: add range

2018-05-21 Thread Alexandre Belloni
The RTC has a 64 bit counter. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-st-lpc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/rtc/rtc-st-lpc.c b/drivers/rtc/rtc-st-lpc.c index 2f1ef2c28740..bee75ca7ff79 100644 --- a/drivers/rtc/rtc-st-lpc.c +++ b/drivers/rtc/rtc-st-lp

[PATCH] staging: rtl8192e: rtllib_tx: fix spelling issue.

2018-05-21 Thread Davide Spataro
Fix a spelling problem. Issue found by checkpatch.pl. Signed-off-by: Davide Spataro --- drivers/staging/rtl8192e/rtllib_tx.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib_tx.c b/drivers/staging/rtl8192e/rtllib_tx.c index fc88d

Re: [v4 09/11] drivers/hwmon: Add PECI cputemp driver

2018-05-21 Thread Jae Hyun Yoo
On 5/21/2018 1:42 PM, Guenter Roeck wrote: On Mon, May 21, 2018 at 12:59:52PM -0700, Jae Hyun Yoo wrote: This commit adds PECI cputemp hwmon driver. Signed-off-by: Jae Hyun Yoo Reviewed-by: Haiyue Wang Reviewed-by: James Feist Reviewed-by: Vernon Mauery Cc: Alan Cox Cc: Andrew Jeffery Cc:

Re: [alsa-devel] [PATCH 5/6] mtd: rawnand: ams-delta: use GPIO lookup table

2018-05-21 Thread Dmitry Torokhov
On Mon, May 21, 2018 at 10:21:46PM +0200, Janusz Krzysztofik wrote: > On Sunday, May 20, 2018 10:08:22 PM CEST Dmitry Torokhov wrote: > > On Sun, May 20, 2018 at 09:27:05PM +0200, Ladislav Michl wrote: > > > On Sat, May 19, 2018 at 11:55:51PM +0200, Janusz Krzysztofik wrote: > > > > On Saturday, Ma

Re: [v4 09/11] drivers/hwmon: Add PECI cputemp driver

2018-05-21 Thread Jae Hyun Yoo
On 5/21/2018 1:50 PM, Jae Hyun Yoo wrote: On 5/21/2018 1:42 PM, Guenter Roeck wrote: On Mon, May 21, 2018 at 12:59:52PM -0700, Jae Hyun Yoo wrote: This commit adds PECI cputemp hwmon driver. Signed-off-by: Jae Hyun Yoo Reviewed-by: Haiyue Wang Reviewed-by: James Feist Reviewed-by: Vernon Ma

Re: [PATCH v5 0/5] AIO add per-command iopriority

2018-05-21 Thread Jeff Moyer
Hi, Adam, adam.manzana...@wdc.com writes: > From: Adam Manzanares > > This is the per-I/O equivalent of the ioprio_set system call. > See the following link for performance implications on a SATA HDD: > https://lkml.org/lkml/2016/12/6/495 > > First patch factors ioprio_check_cap function out of

Re: [PATCH v5 1/5] block: add ioprio_check_cap function

2018-05-21 Thread Jeff Moyer
adam.manzana...@wdc.com writes: > From: Adam Manzanares > > Aio per command iopriority support introduces a second interface between > userland and the kernel capable of passing iopriority. The aio interface also > needs the ability to verify that the submitting context has sufficient > priviledg

Re: PROBLEM: mce: [Hardware Error] from dmesg -l emerg

2018-05-21 Thread Luck, Tony
I guess I didn't explain that very clearly. I need all the lines in betweeen. How about this: $ sudo dmesg -r | grep -C 30 Bank -Tony

Re: [PATCH v5 4/5] fs: blkdev set bio prio from kiocb prio

2018-05-21 Thread Jeff Moyer
adam.manzana...@wdc.com writes: > From: Adam Manzanares > > Now that kiocb has an ioprio field copy this over to the bio when it is > created from the kiocb. > > Signed-off-by: Adam Manzanares Reviewed-by: Jeff Moyer > --- > fs/block_dev.c | 1 + > 1 file changed, 1 insertion(+) > > diff --

Re: [PATCH v5 5/5] fs: iomap dio set bio prio from kiocb prio

2018-05-21 Thread Jeff Moyer
adam.manzana...@wdc.com writes: > From: Adam Manzanares > > Now that kiocb has an ioprio field copy this over to the bio when it is > created from the kiocb during direct IO. > > Signed-off-by: Adam Manzanares Reviewed-by: Jeff Moyer > --- > fs/iomap.c | 1 + > 1 file changed, 1 insertion(+

Re: [v4 09/11] drivers/hwmon: Add PECI cputemp driver

2018-05-21 Thread Andrew Lunn
> >>+#if IS_ENABLED(CONFIG_X86) > >>+#include > >>+#else > >>+#define INTEL_FAM6_HASWELL_X 0x3F > >>+#define INTEL_FAM6_BROADWELL_X 0x4F > >>+#define INTEL_FAM6_SKYLAKE_X 0x55 > >>+#endif > > > >The entire code is very Intel specific. Why this #if instead of > >making the driver dependent on X

Re: [PATCH v5 4/5] fs: blkdev set bio prio from kiocb prio

2018-05-21 Thread Jeff Moyer
adam.manzana...@wdc.com writes: > From: Adam Manzanares > > Now that kiocb has an ioprio field copy this over to the bio when it is > created from the kiocb. > > Signed-off-by: Adam Manzanares > --- > fs/block_dev.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/fs/block_dev.c b/fs/bl

Re: [PATCH v5 3/5] fs: Add aio iopriority support

2018-05-21 Thread Jeff Moyer
adam.manzana...@wdc.com writes: > From: Adam Manzanares > > This is the per-I/O equivalent of the ioprio_set system call. > > When IOCB_FLAG_IOPRIO is set on the iocb aio_flags field, then we set the > newly added kiocb ki_ioprio field to the value in the iocb aio_reqprio field. > > We set the bl

Re: [v4 09/11] drivers/hwmon: Add PECI cputemp driver

2018-05-21 Thread Guenter Roeck
On Mon, May 21, 2018 at 01:50:34PM -0700, Jae Hyun Yoo wrote: > On 5/21/2018 1:42 PM, Guenter Roeck wrote: > >On Mon, May 21, 2018 at 12:59:52PM -0700, Jae Hyun Yoo wrote: > >>This commit adds PECI cputemp hwmon driver. > >> > >>Signed-off-by: Jae Hyun Yoo > >>Reviewed-by: Haiyue Wang > >>Reviewe

Re: [RFC PATCH] mtd: spi-nor: add support to non-uniform SPI NOR flash memories

2018-05-21 Thread Marek Vasut
On 05/21/2018 06:42 PM, Tudor Ambarus wrote: > Hi, Marek, [...] >>> This is a transitional patch: non-uniform erase maps will be used later >>> when initialized based on the SFDP data. >> >> What about non-SFDP non-linear flashes ? > > Non-SFDP non-uniform flashes support is not addressed with t

Re: [v4 09/11] drivers/hwmon: Add PECI cputemp driver

2018-05-21 Thread Guenter Roeck
On Mon, May 21, 2018 at 11:01:58PM +0200, Andrew Lunn wrote: > > >>+#if IS_ENABLED(CONFIG_X86) > > >>+#include > > >>+#else > > >>+#define INTEL_FAM6_HASWELL_X 0x3F > > >>+#define INTEL_FAM6_BROADWELL_X 0x4F > > >>+#define INTEL_FAM6_SKYLAKE_X 0x55 > > >>+#endif > > > > > >The entire code is v

Re: [PATCH v6 6/9] input: touchscreen: resistive-adc-touch: add generic resistive ADC touchscreen

2018-05-21 Thread Dmitry Torokhov
On Mon, May 21, 2018 at 01:27:54PM +0300, Eugen Hristev wrote: > This adds a generic resistive touchscreen (GRTS) driver, which is based > on an IIO device (an ADC). It must be connected to the channels of an ADC > to receive touch data. Then it will feed the data into the input subsystem > where i

Re: [PATCH] Add the memcg print oom info for system oom

2018-05-21 Thread David Rientjes
On Thu, 17 May 2018, Michal Hocko wrote: > this is not 5 lines at all. We dump memcg stats for the whole oom memcg > subtree. For your patch it would be the whole subtree of the memcg of > the oom victim. With cgroup v1 this can be quite deep as tasks can > belong to inter-nodes as well. Would be

Re: [PATCH v7 2/2] leds: lm3601x: Introduce the lm3601x LED driver

2018-05-21 Thread Jacek Anaszewski
Hi Dan, Thank you for the update. On 05/21/2018 08:09 PM, Dan Murphy wrote: Introduce the family of LED devices that can drive a torch, strobe or IR LED. The LED driver can be configured with a strobe timer to execute a strobe flash. The IR LED brightness is controlled via the torch brightnes

Re: PROBLEM: mce: [Hardware Error] from dmesg -l emerg

2018-05-21 Thread Jeffrin Thalakkottoor
On Tue, May 22, 2018 at 2:27 AM, Luck, Tony wrote: > How about this: > > $ sudo dmesg -r | grep -C 30 Bank > > -Tony --> $sudo dmesg -r | grep -C 30 Bank x2apic: IRQ remapping doesn't support X2APIC mode ..TIMER:

[PATCH 4.9 01/87] usbip: usbip_host: refine probe and disconnect debug msgs to be useful

2018-05-21 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Shuah Khan commit 28b68acc4a88dcf91fd1dcf2577371dc9bf574cc upstream. Refine probe and disconnect debug msgs to be useful and say what is in progress. Signed-off-by: Shuah Khan Cc: stable Sig

[PATCH 4.9 07/87] ALSA: hda: Add Lenovo C50 All in one to the power_save blacklist

2018-05-21 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit c8beccc19b92f5172994c0732db689c08f4f98e5 upstream. Power-saving is causing loud plops on the Lenovo C50 All in one, add it to the blacklist. BugLink: https://bugzilla.redh

[PATCH 4.9 00/87] 4.9.102-stable review

2018-05-21 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.9.102 release. There are 87 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 by Tue May 22 21:03:57 UTC 2018. Anything receiv

[PATCH 4.9 14/87] signals: avoid unnecessary taking of sighand->siglock

2018-05-21 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Waiman Long commit c7be96af89d4b53211862d8599b2430e8900ed92 upstream. When running certain database workload on a high-end system with many CPUs, it was found that spinlock contention in the si

[PATCH 4.9 11/87] spi: bcm-qspi: Always read and set BSPI_MAST_N_BOOT_CTRL

2018-05-21 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Kamal Dasu commit 602805fb618b018b7a41fbb3f93c1992b078b1ae upstream. Always confirm the BSPI_MAST_N_BOOT_CTRL bit when enabling or disabling BSPI transfers. Fixes: 4e3b2d236fe00 ("spi: bcm-qsp

[PATCH 4.9 04/87] usbip: usbip_host: fix NULL-ptr deref and use-after-free errors

2018-05-21 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Shuah Khan (Samsung OSG) commit 22076557b07c12086eeb16b8ce2b0b735f7a27e7 upstream. usbip_host updates device status without holding lock from stub probe, disconnect and rebind code paths. When

[PATCH 4.9 30/87] ARM: 8770/1: kprobes: Prohibit probing on optimized_callback

2018-05-21 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Masami Hiramatsu commit 70948c05fdde0aac32f9667856a88725c192fa40 upstream. Prohibit probing on optimized_callback() because it is called from kprobes itself. If we put a kprobes on it, that wil

[PATCH 4.9 32/87] Btrfs: fix xattr loss after power failure

2018-05-21 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Filipe Manana commit 9a8fca62aacc1599fea8e813d01e1955513e4fad upstream. If a file has xattrs, we fsync it, to ensure we clear the flags BTRFS_INODE_NEEDS_FULL_SYNC and BTRFS_INODE_COPY_EVERYTHI

[PATCH 4.9 31/87] ARM: 8772/1: kprobes: Prohibit kprobes on get_user functions

2018-05-21 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Masami Hiramatsu commit 0d73c3f8e7f6ee2aab1bb350f60c180f5ae21a2c upstream. Since do_undefinstr() uses get_user to get the undefined instruction, it can be called before kprobes processes recurs

[PATCH 4.9 46/87] x86/bugs/AMD: Add support to disable RDS on Fam[15,16,17]h if requested

2018-05-21 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: David Woodhouse commit 764f3c21588a059cd783c6ba0734d4db2d72822d upstream AMD does not need the Speculative Store Bypass mitigation to be enabled. The parameters for this are already available

[PATCH 4.9 35/87] btrfs: fix reading stale metadata blocks after degraded raid1 mounts

2018-05-21 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Liu Bo commit 02a3307aa9c20b4f6626255b028f07f6cfa16feb upstream. If a btree block, aka. extent buffer, is not available in the extent buffer cache, it'll be read out from the disk instead, i.e.

[PATCH 4.9 50/87] x86/process: Optimize TIF checks in __switch_to_xtra()

2018-05-21 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Kyle Huey commit af8b3cd3934ec60f4c2a420d19a9d416554f140b upstream Help the compiler to avoid reevaluating the thread flags for each checked bit by reordering the bit checks and providing an ex

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