Re: [PATCH 4.14 58/62] mtd: rawnand: atmel: fix OF child-node lookup

2018-11-29 Thread Greg Kroah-Hartman
On Mon, Nov 26, 2018 at 07:48:24AM -0800, Johan Hovold wrote: > On Mon, Nov 26, 2018 at 04:14:18PM +0100, Greg Kroah-Hartman wrote: > > On Mon, Nov 26, 2018 at 04:08:40PM +0100, Boris Brezillon wrote: > > > On Mon, 26 Nov 2018 19:46:15 +0530 > > > Naresh Kamboju wrote: > > > > > > > Do you see bu

Re: [PATCH] ubi: fastmap: Check each mapping only once

2018-11-29 Thread Greg KH
On Mon, Nov 26, 2018 at 11:38:42AM +0100, Martin Kepplinger wrote: > From: Richard Weinberger > > [ Upstream commit 34653fd8c46e771585fce5975e4243f8fd401914 ] > > This commit got merged along with commit 781932375ffc > ("ubi: fastmap: Correctly handle interrupted erasures in EBA") upstream but >

[PATCH v12 1/5] x86/boot: Add get_acpi_rsdp() to parse RSDP in cmdline from KEXEC

2018-11-29 Thread Chao Fan
To fix the conflict between KASLR and memory-hotremove, memory information in SRAT table is necessary. ACPI SRAT (System/Static Resource Affinity Table) can show the details about memory ranges, including ranges of memory provided by hot-added memory devices. SRAT table must be introduced by RSDP

[PATCH v12 5/5] x86/boot/KASLR: Limit KASLR to extracting kernel in immovable memory

2018-11-29 Thread Chao Fan
KASLR may randomly choose some positions which are located in movable memory regions. This will break memory hotplug feature and make the movable memory chosen by KASLR practically immovable. The solution is to limit KASLR to choose memory regions in immovable node according to SRAT tables. If CON

[PATCH v12 2/5] x86/boot: Add efi_get_rsdp_addr() to find RSDP from EFI table

2018-11-29 Thread Chao Fan
To fix the conflict between KASLR and memory-hotremove, memory information in SRAT table is necessary. So RSDP and SRAT table should be parsed. When booting form KEXEC/EFI/BIOS, the methods to compute RSDP pointer are different. When booting from EFI, EFI table points to RSDP. So parse the EFI tab

[PATCH v12 0/5] x86/boot/KASLR: Parse ACPI table and limit KASLR to choosing immovable memory

2018-11-29 Thread Chao Fan
***Background: People reported that KASLR may randomly choose some positions which are located in movable memory regions. This will break memory hotplug feature and make the movable memory chosen by KASLR can't be removed. ***Solutions: Get the information of memory hot-remove, then KASLR will kno

RE: [PATCH] [repost] Drivers: hv: vmbus: Offload the handling of channels to two workqueues

2018-11-29 Thread Dexuan Cui
> From: gre...@linuxfoundation.org > Sent: Wednesday, November 28, 2018 11:45 PM > > > > There is no change in this repost. I just rebased this patch to today's > > char-misc's char-misc-next branch. Previously KY posted the patch with his > > Signed-off-by (which is kept in this repost), but ther

[PATCH v12 4/5] x86/boot: Parse SRAT table from RSDP and store immovable memory

2018-11-29 Thread Chao Fan
To fix the conflict between KASLR and memory-hotremove, SRAT table should be parsed by RSDP pointer, then find the immovable memory regions and store them in an array called immovable_mem[]. The array called immovable_mem[] will extern to KASLR, then KASLR will avoid to extract kernel to these regi

[PATCH v12 3/5] x86/boot: Add bios_get_rsdp_addr() to search RSDP in memory

2018-11-29 Thread Chao Fan
To fix the conflict between KASLR and memory-hotremove, memory information in SRAT table is necessary. So RSDP and SRAT table should be parsed. When booting form KEXEC/EFI/BIOS, the methods to compute RSDP pointer are different. When booting from BIOS, there is no variable who can point to RSDP di

Re: [PATCH v2] module: make it clearer when we're handling kallsyms symbols vs exported symbols

2018-11-29 Thread Miroslav Benes
On Fri, 23 Nov 2018, Jessica Yu wrote: > The module loader internally works with both exported symbols > represented as struct kernel_symbol, as well as Elf symbols from a > module's symbol table. It's hard to distinguish sometimes which type of > symbol we're handling given that some helper funct

Re: [PATCH] mm: remove pte_lock_deinit()

2018-11-29 Thread Michal Hocko
On Wed 28-11-18 16:55:25, Yu Zhao wrote: > Pagetable page doesn't touch page->mapping or have any used field > that overlaps with it. No need to clear mapping in dtor. In fact, > doing so might mask problems that otherwise would be detected by > bad_page(). yes the layour of the structure has chan

rcu_preempt caused oom

2018-11-29 Thread He, Bo
Hi, we test on kernel 4.19.0 on android, after run more than 24 Hours monkey stress test, we see OOM on 1/10 2G memory board, the issue is not seen on the 4.14 kernel. we have done some debugs: 1. OOM is due to the filp consume too many memory: 300M vs 2G board. 2. with the 120s hung task

Re: [PATCH 01/17] dt-bindings: remoteproc: Add TI PRUSS bindings

2018-11-29 Thread Roger Quadros
David, On 28/11/18 17:42, David Lechner wrote: > On 11/27/18 9:15 AM, Roger Quadros wrote: >> >> On 26/11/18 23:14, David Lechner wrote: >>> On 11/22/18 5:38 AM, Roger Quadros wrote: From: Suman Anna This patch adds the bindings for the Programmable Real-Time Unit and Industri

Re: [PATCH 02/16] remoteproc: Add a rproc_set_firmware() API

2018-11-29 Thread Roger Quadros
On 26/11/18 23:41, David Lechner wrote: > On 11/26/18 1:52 AM, Roger Quadros wrote: >> From: Suman Anna >> >> A new API, rproc_set_firmware() is added to allow the remoteproc platform >> drivers and remoteproc client drivers to be able to configure a custom >> firmware name that is different from

[PATCH] armv8: GPIO: enable port input and interrupt

2018-11-29 Thread ying . zhang22455
From: Zhang Ying-22455 The GPIO Input Buffer Enable register is used to control the input enable of each individual GPIO port. When an individual GPIO port’s direction is set to input (GPIO_GPDIR[DRn=0]), the associated input enable must be set (GPIOxGPIE[IEn]=1) to propagate the port value to th

[PATCH] ALSA: hda: Add support for AMD Stoney Ridge

2018-11-29 Thread Kai-Heng Feng
It's similar to other AMD audio devices, it also supports D3, which can save some power drain. Signed-off-by: Kai-Heng Feng --- sound/pci/hda/hda_intel.c | 4 1 file changed, 4 insertions(+) diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index d8eb2b5f51ae..3f5659064585

Re: [PATCH] arm64: io: specify asm operand width for __iormb()

2018-11-29 Thread Julien Thierry
On 29/11/18 04:19, Nick Desaulniers wrote: > Fixes the warning produced from Clang: > ./include/asm-generic/io.h:711:9: warning: value size does not match > register size specified by the constraint and modifier > [-Wasm-operand-widths] > return readl(addr); >^ > ./arch/ar

Re: [PATCH v6 2/2] PCI: amlogic: Add the Amlogic Meson PCIe controller driver

2018-11-29 Thread Dan Carpenter
Hi Yue, url: https://github.com/0day-ci/linux/commits/Hanjie-Lin/dt-bindings-PCI-meson-add-DT-bindings-for-Amlogic-Meson-PCIe-controller/20181122-225955 base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next smatch warnings: drivers/pci/controller/dwc/pci-meson.c:171 mes

Re: [PATCH v4 20/21] mk68/mac: Switch to use %ptR

2018-11-29 Thread Geert Uytterhoeven
CC linux-m68k On Wed, Nov 28, 2018 at 8:07 PM Andy Shevchenko wrote: > Use %ptR instead of open coded variant to print content of > struct rtc_time in human readable format. > > Cc: Geert Uytterhoeven > Signed-off-by: Andy Shevchenko > --- > arch/m68k/mac/misc.c | 8 ++-- > 1 file changed,

Re: [PATCH v4 20/21] mk68/mac: Switch to use %ptR

2018-11-29 Thread Geert Uytterhoeven
CC linux-m68k (now for real, stumbling to Senseo machine) On Wed, Nov 28, 2018 at 8:07 PM Andy Shevchenko wrote: > > Use %ptR instead of open coded variant to print content of > struct rtc_time in human readable format. > > Cc: Geert Uytterhoeven > Signed-off-by: Andy Shevchenko > --- > arch/m

Re: [PATCH V5 1/2] base/drivers/arch_topology: Replace mutex with READ_ONCE / WRITE_ONCE

2018-11-29 Thread Daniel Lezcano
On 29/11/2018 08:04, Juri Lelli wrote: [ ... ] >> With or without this patch, it is the case: >> >> task1 task2 >> | | >> read("/sys/.../cpu1/cpu_capacity) | >> | write("/

Re: [PATCH V3 1/3] mmc: sdhci: add support for using external DMA devices

2018-11-29 Thread Adrian Hunter
On 29/11/18 8:07 AM, Chunyan Zhang wrote: > Some standard SD host controllers can support both external dma > controllers as well as ADMA/SDMA in which the SD host controller > acts as DMA master. TI's omap controller is the case as an example. > > Currently the generic SDHCI code supports ADMA/SD

Re: [PATCH 04/16] remoteproc/pru: Add PRU remoteproc driver

2018-11-29 Thread Roger Quadros
On 27/11/18 00:32, David Lechner wrote: > On 11/26/18 1:52 AM, Roger Quadros wrote: > >> diff --git a/drivers/remoteproc/Makefile b/drivers/remoteproc/Makefile >> index ce5d061..88a86cc 100644 >> --- a/drivers/remoteproc/Makefile >> +++ b/drivers/remoteproc/Makefile >> @@ -26,3 +26,4 @@ qcom_wcnss

[PATCH v14 0/5] Add i.MX8MQ clock driver

2018-11-29 Thread Abel Vesa
Here is a link to the 13th version: https://lkml.org/lkml/2018/11/13/1020 Changes since v13: * included changes suggested by Stephen Boyd Abel Vesa (2): clk: imx: Add imx composite clock clk: imx: Add clock driver for i.MX8MQ CCM Lucas Stach (3): dt-bindings: Add binding for i.MX8MQ CCM

[PATCH v14 2/5] clk: imx: Add fractional PLL output clock

2018-11-29 Thread Abel Vesa
From: Lucas Stach This is a new fractional clock type introduced on i.MX8. The description of this fractional clock can be found here: https://www.nxp.com/docs/en/reference-manual/IMX8MDQLQRM.pdf#page=834 Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- dri

[PATCH v14 5/5] clk: imx: Add clock driver for i.MX8MQ CCM

2018-11-29 Thread Abel Vesa
Add driver for the Clock Control Module found on i.MX8MQ. Signed-off-by: Anson Huang Signed-off-by: Bai Ping Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-imx8mq.c | 589

[PATCH v14 1/5] dt-bindings: Add binding for i.MX8MQ CCM

2018-11-29 Thread Abel Vesa
From: Lucas Stach This adds the binding for the i.MX8MQ Clock Controller Module. Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Rob Herring --- .../devicetree/bindings/clock/imx8mq-clock.txt | 20 ++ include/dt-bindings/clock/imx8mq-clock.h | 395

[PATCH v14 3/5] clk: imx: Add SCCG PLL type

2018-11-29 Thread Abel Vesa
From: Lucas Stach The SCCG is a new PLL type introduced on i.MX8. The description of this SCCG clock can be found here: https://www.nxp.com/docs/en/reference-manual/IMX8MDQLQRM.pdf#page=834 Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- drivers/clk/imx/Ma

[PATCH v14 4/5] clk: imx: Add imx composite clock

2018-11-29 Thread Abel Vesa
Since a lot of clocks on imx8m are formed by a mux, gate, predivider and divider, the idea here is to combine all of those into one composite clock, but we need to deal with both predivider and divider at the same time and therefore we add the imx8m_clk_composite_divider_ops and register the compos

Re: [PATCH v2 4/4] x86/static_call: Add inline static call implementation for x86-64

2018-11-29 Thread Peter Zijlstra
On Wed, Nov 28, 2018 at 10:05:54PM -0800, Andy Lutomirski wrote: > >> +static void static_call_bp_handler(struct pt_regs *regs, void *_data) > >> +{ > >> +struct static_call_bp_data *data = _data; > >> + > >> +/* > >> + * For inline static calls, push the return address on the stack so

Re: [RFC/RFT][PATCH v6] cpuidle: New timer events oriented governor for tickless systems

2018-11-29 Thread Rafael J. Wysocki
Hi Doug, On Thu, Nov 29, 2018 at 12:20 AM Doug Smythies wrote: > > On 2018.11.23 02:36 Rafael J. Wysocki wrote: > > v5 -> v6: > * Avoid applying poll_time_limit to non-polling idle states by mistake. > * Use idle duration measured by the governor for everything (as it likely is >more accura

[PATCH v14 05/11] livepatch: Simplify API by removing registration step

2018-11-29 Thread Petr Mladek
The possibility to re-enable a registered patch was useful for immediate patches where the livepatch module had to stay until the system reboot. The improved consistency model allows to achieve the same result by unloading and loading the livepatch module again. Also we are going to add a feature

[PATCH v14 11/11] selftests/livepatch: introduce tests

2018-11-29 Thread Petr Mladek
From: Joe Lawrence Add a few livepatch modules and simple target modules that the included regression suite can run tests against: - basic livepatching (multiple patches, atomic replace) - pre/post (un)patch callbacks - shadow variable API Signed-off-by: Joe Lawrence Signed-off-by: Petr

[PATCH v14 09/11] livepatch: Atomic replace and cumulative patches documentation

2018-11-29 Thread Petr Mladek
User documentation for the atomic replace feature. It makes it easier to maintain livepatches using so-called cumulative patches. Signed-off-by: Petr Mladek --- Documentation/livepatch/cumulative-patches.txt | 105 + 1 file changed, 105 insertions(+) create mode 100644 D

[PATCH v14 08/11] livepatch: Remove Nop structures when unused

2018-11-29 Thread Petr Mladek
Replaced patches are removed from the stack when the transition is finished. It means that Nop structures will never be needed again and can be removed. Why should we care? + Nop structures make false feeling that the function is patched even though the ftrace handler has no effect. + Ftr

[PATCH v14 04/11] livepatch: Refuse to unload only livepatches available during a forced transition

2018-11-29 Thread Petr Mladek
module_put() is currently never called in klp_complete_transition() when klp_force is set. As a result, we might keep the reference count even when klp_enable_patch() fails and klp_cancel_transition() is called. This might make an assumption that a module might get blocked in some strange init sta

[PATCH v14 10/11] livepatch: Remove ordering and refuse loading conflicting patches

2018-11-29 Thread Petr Mladek
The atomic replace and cumulative patches were introduced as a more secure way to handle dependent patches. They simplify the logic: + Any new cumulative patch is supposed to take over shadow variables and changes made by callbacks from previous livepatches. + All replaced patches are dis

Re: [PATCH V3 1/3] mmc: sdhci: add support for using external DMA devices

2018-11-29 Thread Chunyan Zhang
On Thu, 29 Nov 2018 at 17:25, Adrian Hunter wrote: > > On 29/11/18 8:07 AM, Chunyan Zhang wrote: > > Some standard SD host controllers can support both external dma > > controllers as well as ADMA/SDMA in which the SD host controller > > acts as DMA master. TI's omap controller is the case as an e

[PATCH v14 03/11] livepatch: Consolidate klp_free functions

2018-11-29 Thread Petr Mladek
The code for freeing livepatch structures is a bit scattered and tricky: + direct calls to klp_free_*_limited() and kobject_put() are used to release partially initialized objects + klp_free_patch() removes the patch from the public list and releases all objects except for patch->kobj

[PATCH v14 07/11] livepatch: Add atomic replace

2018-11-29 Thread Petr Mladek
From: Jason Baron Sometimes we would like to revert a particular fix. Currently, this is not easy because we want to keep all other fixes active and we could revert only the last applied patch. One solution would be to apply new patch that implemented all the reverted functions like in the origi

[PATCH v14 06/11] livepatch: Use lists to manage patches, objects and functions

2018-11-29 Thread Petr Mladek
From: Jason Baron Currently klp_patch contains a pointer to a statically allocated array of struct klp_object and struct klp_objects contains a pointer to a statically allocated array of klp_func. In order to allow for the dynamic allocation of objects and functions, link klp_patch, klp_object, a

[PATCH v14 02/11] livepatch: Shuffle klp_enable_patch()/klp_disable_patch() code

2018-11-29 Thread Petr Mladek
We are going to simplify the API and code by removing the registration step. This would require calling init/free functions from enable/disable ones. This patch just moves the code to prevent more forward declarations. This patch does not change the code except of two forward declarations. Signe

[PATCH v14 00/11] livepatch: Atomic replace feature

2018-11-29 Thread Petr Mladek
Hi, I have an updated present for your mailboxes. The atomic replace allows to create cumulative patches. They are useful when you maintain many livepatches and want to remove one that is lower on the stack. In addition it is very useful when more patches touch the same function and there are dep

Re: [RFC PATCH 1/5] x86: introduce preemption disable prefix

2018-11-29 Thread Peter Zijlstra
On Fri, Oct 19, 2018 at 07:29:45AM -0700, Andy Lutomirski wrote: > > On Oct 19, 2018, at 1:33 AM, Peter Zijlstra wrote: > > > >> On Fri, Oct 19, 2018 at 01:08:23AM +, Nadav Amit wrote: > >> Consider for example do_int3(), and see my inlined comments: > >> > >> dotraplinkage void notrace do_i

[PATCH v14 01/11] livepatch: Change unsigned long old_addr -> void *old_func in struct klp_func

2018-11-29 Thread Petr Mladek
The address of the to be patched function and new function is stored in struct klp_func as: void *new_func; unsigned long old_addr; The different naming scheme and type is derived from the way how the addresses are set. @old_addr is assigned at runtime using kallsyms-based search.

Re: [PATCH] pci: imx6: support kernels built in Thumb-2 mode

2018-11-29 Thread Stefan Agner
On 28.11.2018 19:01, Russell King - ARM Linux wrote: > On Wed, Nov 28, 2018 at 02:25:54PM +0100, Stefan Agner wrote: >> Add a fault handler which handles reads in Thumb-2 mode. Install >> the appropriate handler depending on which mode the kernel has >> been built. This avoids an "Unhandled fault:

Re: [PATCH] pci: imx6: support kernels built in Thumb-2 mode

2018-11-29 Thread Stefan Agner
On 28.11.2018 20:35, Robin Murphy wrote: > On 28/11/2018 17:53, Stefan Agner wrote: >> On 28.11.2018 17:16, Robin Murphy wrote: >>> Hi Stefan, >>> >>> On 28/11/2018 13:25, Stefan Agner wrote: Add a fault handler which handles reads in Thumb-2 mode. Install the appropriate handler dependin

Re: [PATCH v2] mtd: spinand: Fix ECC status and OOB layout for Toshiba TC58CVG2S0H

2018-11-29 Thread Clément Péron
Hi Frieder, On Wed, 28 Nov 2018 at 14:18, Schrempf Frieder wrote: > > When reading the status of the on-chip ECC, the Toshiba chip returns > two different states for reporting corrected bitflips. We should check > for both of them. > > Also return the free OOB bytes as one contiguous area, instea

Re: [PATCH V5 1/2] base/drivers/arch_topology: Replace mutex with READ_ONCE / WRITE_ONCE

2018-11-29 Thread Juri Lelli
On 29/11/18 10:18, Daniel Lezcano wrote: > On 29/11/2018 08:04, Juri Lelli wrote: > > [ ... ] > > >> With or without this patch, it is the case: > >> > >> task1 task2 > >> | | > >> read("/sys/.../cpu1/cpu_capacity)

Re: [PATCH 24/27] locking/lockdep: Introduce __lockdep_free_key_range()

2018-11-29 Thread Peter Zijlstra
On Wed, Nov 28, 2018 at 03:43:22PM -0800, Bart Van Assche wrote: > This patch does not change any functionality but makes the next patch > in this series easier to read. Ooh, I completely forgot about commit: 35a9393c95b3 ("lockdep: Fix the module unload key range freeing logic") I was still t

Re: [PATCH v2 1/3] mmc: sdhci: add support for using external DMA devices

2018-11-29 Thread Chunyan Zhang
Hi Adrian, On Thu, 29 Nov 2018 at 15:36, Adrian Hunter wrote: > > On 29/11/18 8:22 AM, Chunyan Zhang wrote: > > On Tue, 20 Nov 2018 at 21:41, Adrian Hunter wrote: > >> > >> On 12/11/18 9:26 AM, Chunyan Zhang wrote: > >>> Some standard SD host controllers can support both external dma > >>> contr

Re: [PATCH AUTOSEL 4.19 15/68] batman-adv: Expand merged fragment buffer for full packet

2018-11-29 Thread Sergei Shtylyov
Hello! On 11/29/2018 08:55 AM, Sasha Levin wrote: > From: Sven Eckelmann > > [ Upstream commit d7d8bbb40a5b1f682ee6589e212934f4c6b8ad60 ] > > The complete size ("total_size") of the fragmented packet is stored in the > fragment header and in the size of the fragment chain. When the fragments >

Re: [RFC PATCH] net: macb: Apply RXUBR workaround only to versions with errata

2018-11-29 Thread Claudiu.Beznea
On 28.11.2018 23:09, Brandon Streiff wrote: > On 11/23/2018 3:59 AM, Harini Katakam wrote: >> +/* Errata mask bits */ >> +#define MACB_ERRATA_RXLOCKUP0x0001 >> + >> /* LSO settings */ >> #define MACB_LSO_UFO_ENABLE 0x01 >> #define MACB_LSO_TSO_ENABLE

Re: [PATCH V5 1/2] base/drivers/arch_topology: Replace mutex with READ_ONCE / WRITE_ONCE

2018-11-29 Thread Daniel Lezcano
On 29/11/2018 10:58, Juri Lelli wrote: > On 29/11/18 10:18, Daniel Lezcano wrote: >> On 29/11/2018 08:04, Juri Lelli wrote: >> >> [ ... ] >> With or without this patch, it is the case: task1 task2 |

[PATCH] ASoC: adau1761: Ensure DSP_RUN and DSP_ENABLE are disabled

2018-11-29 Thread Niklas Carlsson
DSP_RUN and DSP_ENABLE needs to be disabled during FW load. This is not a problem after power-cycling but for soft reboots. Signed-off-by: Niklas Carlsson --- sound/soc/codecs/adau1761.c | 29 - 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/sound/soc/c

Re: linux-next: manual merge of the selinux tree with the vfs tree

2018-11-29 Thread Ondrej Mosnacek
On Wed, Nov 28, 2018 at 10:52 PM Paul Moore wrote: > On Tue, Nov 27, 2018 at 6:50 AM Stephen Rothwell > wrote: > > Hi Ondrej, > > > > On Tue, 27 Nov 2018 09:53:32 +0100 Ondrej Mosnacek > > wrote: > > > > > > Hm... seems that there was some massive overhaul in the VFS code right > > > at the wr

Re: [PATCH 12/16] dt-bindings: remoteproc: ti-pruss: Document application node bindings

2018-11-29 Thread Roger Quadros
On 27/11/18 01:27, David Lechner wrote: > On 11/26/18 1:52 AM, Roger Quadros wrote: >> From: Tero Kristo >> >> Add documentation for the Texas Instruments PRU application nodes. >> These are used to configure specific user applications for PRU instances. > > Could this be made into a generic remo

Re: [PATCH 3/3] lockdep: Use line-buffered printk() for lockdep messages.

2018-11-29 Thread Tetsuo Handa
On 2018/11/28 22:29, David Laight wrote: > I also spent a week trying to work out why a customer kernel was > locking up - only to finally find out that the distro they were > using set 'panic on opps' - making it almost impossible to find > out what was happening. How can line buffering negativel

[PATCH v4 1/3] thermal: tegra: remove unnecessary warnings

2018-11-29 Thread Wei Ni
Convert warnings to info as not all platforms may have all the thresholds and sensors enabled. Signed-off-by: Wei Ni --- drivers/thermal/tegra/soctherm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/thermal/tegra/soctherm.c b/drivers/thermal/tegra/soctherm.c

[PATCH v4 3/3] thermal: tegra: parse sensor id before sensor register

2018-11-29 Thread Wei Ni
Since different platforms may not support all 4 sensors, so the sensor registration may be failed. Add codes to parse dt to find sensor id which need to be registered. So that the registration can be successful on all platform. Signed-off-by: Wei Ni --- drivers/thermal/tegra/soctherm.c | 46

Re: [PATCH 25/27] locking/lockdep: Add support for dynamic keys

2018-11-29 Thread Peter Zijlstra
On Wed, Nov 28, 2018 at 03:43:23PM -0800, Bart Van Assche wrote: > +/* hash_entry is used to keep track of dynamically allocated keys. */ > struct lock_class_key { > + struct hlist_node hash_entry; > struct lockdep_subclass_key subkeys[MAX_LOCKDEP_SUBCLASSES]; > }; On

[PATCH v4 0/3] Fixes for Tegra soctherm

2018-11-29 Thread Wei Ni
This series fixed some issues for Tegra soctherm Main changes from v3: 1. updated codes for parsing sensor id, per Thierry's comments Main changes from v2: 1. add codes to parse sensor id to avoid registration failure. Main changes from v1: 1. Acked by Thierry Reding for the patch "thermal: teg

[PATCH v4 2/3] thermal: tegra: fix memory allocation

2018-11-29 Thread Wei Ni
Fix memory allocation to store the pointers to thermal_zone_device. Signed-off-by: Wei Ni Acked-by: Thierry Reding --- drivers/thermal/tegra/soctherm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/tegra/soctherm.c b/drivers/thermal/tegra/soctherm.c index 5

Re: [GIT PULL] Qualcomm Device Tree updates for 4.20

2018-11-29 Thread Clément Péron
HI Arnd, On Tue, 2 Oct 2018 at 11:38, Arnd Bergmann wrote: > > On Sun, Sep 30, 2018 at 8:38 PM Andy Gross wrote: > > > > The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: > > > > Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) > > > > are available in the git repository a

Re: [PATCH v3 0/3] perf report/annotate: Support average IPC and IPC coverage for function

2018-11-29 Thread Jiri Olsa
On Thu, Nov 29, 2018 at 02:24:27PM +0800, Jin, Yao wrote: > > > On 11/28/2018 6:18 PM, Jiri Olsa wrote: > > On Wed, Nov 28, 2018 at 11:17:57AM +0100, Jiri Olsa wrote: > > > On Wed, Nov 28, 2018 at 11:14:55PM +0800, Jin Yao wrote: > > > > Add supporting of displaying the average IPC and IPC covera

Re: [PATCH v2 0/2] KVM: x86: expose direct stores instructions into VM.

2018-11-29 Thread David Hildenbrand
On 06.11.18 06:55, Liu Jingqi wrote: > Direct stores instructions MOVDIRI and MOVDIR64B will be available in > Tremont and other future x86 processors, > and need to be exposed to guest VM. > > The release document ref below link: > https://software.intel.com/sites/default/files/managed/c5/15/\ >

Re: [PATCH 1/1] crypto: cavium/nitrox - Enable interrups for PF in SR-IOV mode.

2018-11-29 Thread Herbert Xu
On Wed, Nov 21, 2018 at 09:52:24AM +, Srikanth, Jampala wrote: > Enable the available interrupt vectors for PF in SR-IOV Mode. > Only single vector entry 192 is valid of PF. This is used to > notify any hardware errors and mailbox messages from VF(s). > > Signed-off-by: Srikanth Jampala > ---

Re: [PATCH v5 0/2] Add device driver for APU2/APU3 GPIOs

2018-11-29 Thread Florian Eckert
Hello Andy, Thank you very very much for your code review "again" I will update my patch set with your hints. Should I send v6 or should i wait till I get feedback from you about ACPI? Until now it was not possible to get more information to detect the MMIO_BASE address from the ACPI subsys

Re: [PATCH] ALSA: hda: Add support for AMD Stoney Ridge

2018-11-29 Thread Takashi Iwai
On Thu, 29 Nov 2018 09:57:37 +0100, Kai-Heng Feng wrote: > > It's similar to other AMD audio devices, it also supports D3, which can > save some power drain. > > Signed-off-by: Kai-Heng Feng Thanks, applied now (also Cc to stable). Takashi

Re: [PATCH v2] tty: serial: qcom_geni_serial: Fix softlock

2018-11-29 Thread kbuild test robot
Hi Ryan, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on tty/tty-testing] [also build test WARNING on v4.20-rc4 next-20181129] [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

Re: [PATCH 05/16] remoteproc/pru: Add pru-specific debugfs support

2018-11-29 Thread Roger Quadros
On 27/11/18 00:37, David Lechner wrote: > On 11/26/18 1:52 AM, Roger Quadros wrote: >> From: Suman Anna >> >> The remoteproc core creates certain standard debugfs entries, >> that does not give a whole lot of useful information for the >> PRUs. The PRU remoteproc driver is enhanced to add addition

Re: [PATCH 7/7] lib/lzo: separate lzo-rle from lzo

2018-11-29 Thread Dave Rodgman
On 29/11/2018 4:43 am, Sergey Senozhatsky wrote: > On (11/27/18 16:19), Dave Rodgman wrote: >> Documentation/lzo.txt | 12 ++- >> crypto/Makefile | 2 +- >> crypto/lzo-rle.c | 175 >> ++ >> crypto/tcrypt.c

[GIT PULL] sound fixes for 4.20-rc5

2018-11-29 Thread Takashi Iwai
Linus, please pull sound fixes for v4.20-rc5 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.20-rc5 The topmost commit is 8159a6a4a7d2a092d5375f695ecfca22b4562b5f sound fixes for 4.20-rc5 As a

Re: [PATCH 0/8] HID: MS and Logitech high-resolution scroll wheel support

2018-11-29 Thread Benjamin Tissoires
On Thu, Nov 29, 2018 at 5:27 AM Peter Hutterer wrote: > > On Wed, Nov 28, 2018 at 03:22:14PM -0800, Harry Cutts wrote: > > On Wed, 21 Nov 2018 at 22:34, Peter Hutterer > > wrote: > > > [snip] > > > Devices tested: > > > - Microsoft Comfort Optical Mouse 3000 > > > - Microsoft Sculpt Ergonomic Mo

Re: [PATCH 2/3] phy: sr-usb: Add stingray usb phy driver

2018-11-29 Thread Kishon Vijay Abraham I
Hi, On 13/11/18 9:43 AM, Srinath Mannam wrote: > This driver supports all versions of stingray SS and HS > USB phys. > In version 1 is combo phy contain both SS and HS phys > in a common IO space. > In version 2 a single HS phy. > These phys support both xHCI host driver and > BDC Broadcom device

Dear Urgent Respond,

2018-11-29 Thread David Cooper
Sorry to have contacted you through this medium without a previous notice; I had to use the email because it is the easiest and more confidential way of making contact with people around the world. This communication is to inform you that we have programmed your payment of the $10,000.000.00 U

Re: [PATCH 4.14] kbuild: allow to use GCC toolchain not in Clang search path

2018-11-29 Thread Greg Kroah-Hartman
On Wed, Nov 28, 2018 at 10:35:12PM -0700, Nathan Chancellor wrote: > From: Stefan Agner > > commit ef8c4ed9db80261f397f0c0bf723684601ae3b52 upstream. > > When using a GCC cross toolchain which is not in a compiled in > Clang search path, Clang reverts to the system assembler and > linker. This l

[PATCH 1/2] regulator: Factor out location of init data OF node

2018-11-29 Thread Charles Keepax
To support future additions factor out the location of the OF node containing the init data for the regulator from the code that parses the init data. Signed-off-by: Charles Keepax --- drivers/regulator/of_regulator.c | 64 +++- 1 file changed, 37 insertions(+

[PATCH 2/2] regulator: Allow regulator nodes to contain their own init data

2018-11-29 Thread Charles Keepax
Currently it is expected that regulator init data will be defined as a series of sub-nodes from the node that bound in the driver. Add support for a node to both bind in a driver and contain init data for that regulator. Signed-off-by: Charles Keepax --- drivers/regulator/of_regulator.c | 8

[PATCH 0/2] Allow regulator nodes to hold their own init data

2018-11-29 Thread Charles Keepax
Unfortunately due to a rather large testing oversight on my part the recently merged Lochnagar regulator binding does not actually work. The binding looks like this: lochnagar { compatible = "cirrus,lochnagar1"; ... lochnagar-micvdd: MICVDD { compatible =

My Humble Request

2018-11-29 Thread Abel Brent
Dear Friend, I am Abel Brent, a NATO soldier serving in Afghanistan. I and my Comrades, we are seeking your assistance to help us receive/invest our funds in your country in any lucrative business. Please if this proposal is acceptable by you, kindly respond back to me for more details. Thank

Re: [PATCH 01/16] remoteproc: Extend rproc_da_to_va() API with a flags parameter

2018-11-29 Thread Roger Quadros
Bjorn, Suman, On 26/11/18 23:29, David Lechner wrote: > On 11/26/18 1:52 AM, Roger Quadros wrote: >> From: Suman Anna >> >> The rproc_da_to_va() API is currently used to perform any device >> to kernel address translations to meet the different needs of the >> remoteproc core/platform drivers (eg

[PATCH] perf test: fix spelling mistake "sythesizing" -> "synthesizing"

2018-11-29 Thread Colin King
From: Colin Ian King There are spelling mistakes in TEST_ASSERT_VAL messages, fix them. Signed-off-by: Colin Ian King --- tools/perf/tests/mmap-thread-lookup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/perf/tests/mmap-thread-lookup.c b/tools/perf/tests/mmap

Re: [PATCH 4.14 117/126] net: sk_buff rbnode reorg

2018-11-29 Thread Greg Kroah-Hartman
On Thu, Oct 04, 2018 at 03:13:56PM -0500, Mitch Harder wrote: > On Mon, Sep 17, 2018 at 5:42 PM, Greg Kroah-Hartman > wrote: > > 4.14-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Eric Dumazet > > > > commit bffa72cf7f9df842f0016b

Re: [PATCH v4 1/2] ptrace: save the type of syscall-stop in ptrace_message

2018-11-29 Thread Dmitry V. Levin
On Wed, Nov 28, 2018 at 03:17:49PM -0800, Andy Lutomirski wrote: > On Wed, Nov 28, 2018 at 2:11 PM Dmitry V. Levin wrote: > > > > On Wed, Nov 28, 2018 at 06:23:46PM +0300, Dmitry V. Levin wrote: > > > On Wed, Nov 28, 2018 at 03:20:06PM +0100, Oleg Nesterov wrote: > > > > On 11/28, Dmitry V. Levin

Re: [PATCH 20/27] locking/lockdep: Free lock classes that are no longer in use

2018-11-29 Thread Peter Zijlstra
On Wed, Nov 28, 2018 at 03:43:18PM -0800, Bart Van Assche wrote: > +/* Must be called with the graph lock held. */ > +static void remove_class_from_lock_chain(struct lock_chain *chain, > + struct lock_class *class) > +{ > + u64 chain_key; > + int i; > +

Re: [PATCH V3 1/3] mmc: sdhci: add support for using external DMA devices

2018-11-29 Thread Adrian Hunter
On 29/11/18 11:44 AM, Chunyan Zhang wrote: > On Thu, 29 Nov 2018 at 17:25, Adrian Hunter wrote: >> >> On 29/11/18 8:07 AM, Chunyan Zhang wrote: >>> Some standard SD host controllers can support both external dma >>> controllers as well as ADMA/SDMA in which the SD host controller >>> acts as DMA m

[PATCH] IB/usnic: fix spelling mistake "miniumum" -> "minimum"

2018-11-29 Thread Colin King
From: Colin Ian King There is a spelling mistake in a usnic_err error message, fix it. Signed-off-by: Colin Ian King --- drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c b/drivers/in

Re: [PATCH] Compiler Attributes: move kernel-only attributes into __KERNEL__

2018-11-29 Thread Miguel Ojeda
On Thu, Nov 29, 2018 at 3:16 AM Xiaozhou Liu wrote: > > On Wed, Nov 28, 2018 at 06:35:18PM +0100, Miguel Ojeda wrote: > > By `these' I mean inline and the like, to be clear. Ah, that makes more sense! Sorry. > > That is not exactly correct -- a3f8a30f3f00 moved some attributes to > > another fil

Re: [PATCH v7 2/2] sched/fair: update scale invariance of PELT

2018-11-29 Thread Vincent Guittot
On Wed, 28 Nov 2018 at 17:35, Patrick Bellasi wrote: > > On 28-Nov 16:42, Vincent Guittot wrote: > > On Wed, 28 Nov 2018 at 16:21, Patrick Bellasi > > wrote: > > > > > > On 28-Nov 15:55, Vincent Guittot wrote: > > > > On Wed, 28 Nov 2018 at 15:40, Patrick Bellasi > > > > wrote: > > > > > > > >

Re: [PATCH V3 1/3] mmc: sdhci: add support for using external DMA devices

2018-11-29 Thread Chunyan Zhang
On Thu, 29 Nov 2018 at 18:41, Adrian Hunter wrote: > > On 29/11/18 11:44 AM, Chunyan Zhang wrote: > > On Thu, 29 Nov 2018 at 17:25, Adrian Hunter wrote: > >> > >> On 29/11/18 8:07 AM, Chunyan Zhang wrote: > >>> Some standard SD host controllers can support both external dma > >>> controllers as w

fs/ubifs/tnc.c:493: undefined reference to `ubifs_bad_hash'

2018-11-29 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 60b548237fed4b4164bab13c994dd9615f6c4323 commit: 16a26b20d2afd0cf063816725b45b12e78d5bb31 ubifs: authentication: Add hashes to index nodes date: 5 weeks ago config: i386-randconfig-x0-11291730 (attached as

Re: [PATCH] arm64: io: specify asm operand width for __iormb()

2018-11-29 Thread Will Deacon
On Thu, Nov 29, 2018 at 09:03:54AM +, Julien Thierry wrote: > > > On 29/11/18 04:19, Nick Desaulniers wrote: > > Fixes the warning produced from Clang: > > ./include/asm-generic/io.h:711:9: warning: value size does not match > > register size specified by the constraint and modifier > > [-Was

Re: [PATCH 22/27] locking/lockdep: Reuse list entries that are no longer in use

2018-11-29 Thread Peter Zijlstra
On Wed, Nov 28, 2018 at 03:43:20PM -0800, Bart Van Assche wrote: > Instead of abandoning elements of list_entries[] that are no longer in > use, make alloc_list_entry() reuse array elements that have been freed. > diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h > index 43327a1dd488.

Re: [PATCH v2 1/3] mmc: sdhci: add support for using external DMA devices

2018-11-29 Thread Adrian Hunter
On 29/11/18 11:59 AM, Chunyan Zhang wrote: > Hi Adrian, > > On Thu, 29 Nov 2018 at 15:36, Adrian Hunter wrote: >> >> On 29/11/18 8:22 AM, Chunyan Zhang wrote: >>> On Tue, 20 Nov 2018 at 21:41, Adrian Hunter wrote: On 12/11/18 9:26 AM, Chunyan Zhang wrote: > Some standard SD host co

RE: [PATCH 3/3] PCI: imx: Add support for i.MX8MQ

2018-11-29 Thread Richard Zhu
> -Original Message- > From: Andrey Smirnov [mailto:andrew.smir...@gmail.com] > Sent: 2018年11月27日 2:10 > To: Richard Zhu > Cc: linux-kernel ; Bjorn Helgaas > ; Fabio Estevam ; Chris > Healy ; Lucas Stach ; > Leonard Crestez ; Aisheng DONG > ; dl-linux-imx ; > linux-arm-kernel ; > linux-.

[PATCH 1/2] dt-bindings: i2c: meson: add Meson G12A SoC i2c compatible string

2018-11-29 Thread Jian Hu
Add Meson G12A SoC i2c controller compatible string Signed-off-by: Jian Hu --- Documentation/devicetree/bindings/i2c/i2c-meson.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-meson.txt b/Documentation/devicetree/bindings/i2c/i2c-meson.txt index

[PATCH 0/2] i2c: meson: add support for Meson G12A SoC i2c controller

2018-11-29 Thread Jian Hu
1)Add G12A SoC i2c compatible string in dt-bindings. 2)Add compatible and data for G12A I2C controller driver. Jian Hu (2): dt-bindings: i2c: meson: add Meson G12A SoC i2c compatible string i2c: meson: add support for Meson G12A SoC I2C controller Documentation/devicetree/bindings/i2c/i2c-me

[PATCH 2/2] i2c: meson: add support for Meson G12A SoC I2C controller

2018-11-29 Thread Jian Hu
Add compatible and data for G12A I2C controller. Signed-off-by: Jian Hu --- drivers/i2c/busses/i2c-meson.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/i2c/busses/i2c-meson.c b/drivers/i2c/busses/i2c-meson.c index 90f5d04..b86eed7 100644 --- a/drivers/i2c/busses/i2c-meson.c +

Re: [PATCH 0/2] i2c: meson: add support for Meson G12A SoC i2c controller

2018-11-29 Thread Jerome Brunet
On Thu, 2018-11-29 at 18:59 +0800, Jian Hu wrote: > 1)Add G12A SoC i2c compatible string in dt-bindings. > 2)Add compatible and data for G12A I2C controller driver. > > Jian Hu (2): > dt-bindings: i2c: meson: add Meson G12A SoC i2c compatible string > i2c: meson: add support for Meson G12A SoC

  1   2   3   4   5   6   7   8   9   10   >