[BACKPORT 4.14.y 5/8] pinctrl: sprd: Use define directive for sprd_pinconf_params values

2019-09-03 Thread Baolin Wang
From: Nathan Chancellor Clang warns when one enumerated type is implicitly converted to another: drivers/pinctrl/sprd/pinctrl-sprd.c:845:19: warning: implicit conversion from enumeration type 'enum sprd_pinconf_params' to different enumeration type 'enum pin_config_param' [-Wenum-conversion]

[BACKPORT 4.14.y 6/8] power: supply: sysfs: ratelimit property read error message

2019-09-03 Thread Baolin Wang
From: David Lechner This adds rate limiting to the message that is printed when reading a power supply property via sysfs returns an error. This will prevent userspace applications from unintentionally dDOSing the system by continuously reading a property that returns an error. Signed-off-by: Da

[BACKPORT 4.14.y 7/8] ppp: mppe: Revert "ppp: mppe: Add softdep to arc4"

2019-09-03 Thread Baolin Wang
From: Eric Biggers Commit 0e5a610b5ca5 ("ppp: mppe: switch to RC4 library interface"), which was merged through the crypto tree for v5.3, changed ppp_mppe.c to use the new arc4_crypt() library function rather than access RC4 through the dynamic crypto_skcipher API. Meanwhile commit aad1dcc4f011

[BACKPORT 4.14.y 8/8] serial: sprd: Modify the baud rate calculation formula

2019-09-03 Thread Baolin Wang
From: Lanqing Liu When the source clock is not divisible by the expected baud rate and the remainder is not less than half of the expected baud rate, the old formular will round up the frequency division coefficient. This will make the actual baud rate less than the expected value and can not mee

[PATCH 1/4] soc: amlogic: meson-gx-socinfo: Add A1 and A113L IDs

2019-09-03 Thread Jianxin Pan
Add the SoC IDs for the A113L Amlogic A1 SoC. Signed-off-by: Jianxin Pan --- drivers/soc/amlogic/meson-gx-socinfo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/soc/amlogic/meson-gx-socinfo.c b/drivers/soc/amlogic/meson-gx-socinfo.c index 6d0d04f..3c86d8d 100644 --- a/drivers/s

[PATCH 3/4] dt-bindings: arm: amlogic: add Amlogic AD401 bindings

2019-09-03 Thread Jianxin Pan
Add the compatible for the Amlogic A1 Based AD401 board. Signed-off-by: Jianxin Pan --- Documentation/devicetree/bindings/arm/amlogic.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/amlogic.yaml b/Documentation/devicetree/bindings/arm/amlogic.yam

[PATCH 0/4] arm64: Add basic support for Amlogic A1 SoC Family

2019-09-03 Thread Jianxin Pan
A1 is an application processor designed for smart audio and IoT applications, with Dual core ARM Cortex-A35 CPU. Unlike the previous GXL and G12 series, there is no Cortex-M3 AO CPU in it. This serial add basic support for the Amlogic A1 based Amlogic AD401 board: which describe components as foll

[PATCH 4/4] arm64: dts: add support for A1 based Amlogic AD401

2019-09-03 Thread Jianxin Pan
Add basic support for the Amlogic A1 based Amlogic AD401 board: which describe components as follows: Reserve Memory, CPU, GIC, IRQ, Timer, UART. It's capable of booting up into the serial console. Signed-off-by: Jianxin Pan --- arch/arm64/boot/dts/amlogic/Makefile | 1 + arch/arm64/

[PATCH 2/4] dt-bindings: arm: amlogic: add A1 bindings

2019-09-03 Thread Jianxin Pan
Add bindings for the new Amlogic A1 SoC family. A1 is an application processor designed for smart audio and IoT applications, with dual core Cortex-A35. Signed-off-by: Jianxin Pan --- Documentation/devicetree/bindings/arm/amlogic.yaml | 4 1 file changed, 4 insertions(+) diff --git a/Docu

[PATCH] [MT6660] Mediatek Smart Amplifier Driver

2019-09-03 Thread richtek . jeff . chang
From: Richtek Jeff Chang Signed-off-by: Richtek Jeff Chang --- sound/soc/codecs/Kconfig | 13 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/mt6660.c | 802 ++ sound/soc/codecs/mt6660.h | 68 4 files changed, 885 insertions(+) create m

Re: [PATCH 1/4] soc: amlogic: meson-gx-socinfo: Add A1 and A113L IDs

2019-09-03 Thread Neil Armstrong
Hi, On 03/09/2019 08:51, Jianxin Pan wrote: > Add the SoC IDs for the A113L Amlogic A1 SoC. > > Signed-off-by: Jianxin Pan > --- > drivers/soc/amlogic/meson-gx-socinfo.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/soc/amlogic/meson-gx-socinfo.c > b/drivers/soc/amlogic/m

Build regressions/improvements in v5.3-rc7

2019-09-03 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v5.3-rc7[1] compared to v5.2[2]. Summarized: - build errors: +6/-1 - build warnings: +121/-134 JFYI, when comparing v5.3-rc7[1] to v5.3-rc6[3], the summaries are: - build errors: +0/-0 - build warnings: +50/-60 Happy fi

Re: [PATCH net-next] r8152: modify rtl8152_set_speed function

2019-09-03 Thread Heiner Kallweit
On 03.09.2019 08:55, Hayes Wang wrote: > Heiner Kallweit [mailto:hkallwe...@gmail.com] >> Sent: Tuesday, September 03, 2019 2:45 PM > [...] >>> Besides, I have a question. I think I don't need rtl8152_set_speed() >>> if I implement phylib. However, I need to record some information >>> according to

Re: [PATCH 1/2] dt-bindings: power: syscon-reboot: Convert bindings to json-schema

2019-09-03 Thread Rob Herring
On Mon, Sep 2, 2019 at 4:03 PM Krzysztof Kozlowski wrote: > > Convert the Syscon reboot bindings to DT schema format using > json-schema. > > Signed-off-by: Krzysztof Kozlowski > --- > .../bindings/power/reset/syscon-reboot.txt| 30 > .../bindings/power/reset/syscon-reboot.yaml |

Re: [PATCH] net: sched: taprio: Fix potential integer overflow in taprio_set_picos_per_byte

2019-09-03 Thread Eric Dumazet
On 9/3/19 3:08 AM, Gustavo A. R. Silva wrote: > Add suffix LL to constant 1000 in order to avoid a potential integer > overflow and give the compiler complete information about the proper > arithmetic to use. Notice that this constant is being used in a context > that expects an expression of ty

Re: [PATCH v3 2/4] edac: Add support for Amazon's Annapurna Labs L1 EDAC

2019-09-03 Thread Robert Richter
On 15.07.19 16:24:07, Hanna Hawa wrote: > Adds support for Amazon's Annapurna Labs L1 EDAC driver to detect and > report L1 errors. > > Signed-off-by: Hanna Hawa > Reviewed-by: James Morse > --- > MAINTAINERS | 6 ++ > drivers/edac/Kconfig | 8 +++ > drivers/edac/Makefile

Re: [PATCH v3 4/4] edac: Add support for Amazon's Annapurna Labs L2 EDAC

2019-09-03 Thread Robert Richter
On 15.07.19 16:24:09, Hanna Hawa wrote: > Adds support for Amazon's Annapurna Labs L2 EDAC driver to detect and > report L2 errors. > > Signed-off-by: Hanna Hawa > --- > MAINTAINERS | 6 ++ > drivers/edac/Kconfig | 8 ++ > drivers/edac/Makefile | 1 + > drivers/edac/

Re: [PATCH V2 2/5] input: keyboard: imx_sc: Add i.MX system controller power key support

2019-09-03 Thread Oleksij Rempel
On 03.09.19 08:48, Anson Huang wrote: Hi, Oleksij On 03.09.19 16:03, Anson Huang wrote: i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller inside, the system controller is in charge of controlling power, clock and power key etc.. Adds i.MX system controller power key driver s

Re: [PATCH 1/4] softirq: implement IRQ flood detection mechanism

2019-09-03 Thread Ming Lei
On Tue, Sep 03, 2019 at 08:40:35AM +0200, Daniel Lezcano wrote: > On 03/09/2019 08:31, Ming Lei wrote: > > Hi Daniel, > > > > On Tue, Sep 03, 2019 at 07:59:39AM +0200, Daniel Lezcano wrote: > >> > >> Hi Ming Lei, > >> > >> On 03/09/2019 05:30, Ming Lei wrote: > >> > >> [ ... ] > >> > >> > > 2)

Re: [PATCH 4/4] arm64: dts: add support for A1 based Amlogic AD401

2019-09-03 Thread Jerome Brunet
On Tue 03 Sep 2019 at 02:51, Jianxin Pan wrote: > Add basic support for the Amlogic A1 based Amlogic AD401 board: > which describe components as follows: Reserve Memory, CPU, GIC, IRQ, > Timer, UART. It's capable of booting up into the serial console. > > Signed-off-by: Jianxin Pan > --- > arch

Re: [PATCH v2 4/6] powerpc: Chunk calls to flush_dcache_range in arch_*_memory

2019-09-03 Thread Christophe Leroy
Le 03/09/2019 à 08:25, Alastair D'Silva a écrit : On Tue, 2019-09-03 at 08:19 +0200, Christophe Leroy wrote: Le 03/09/2019 à 07:23, Alastair D'Silva a écrit : From: Alastair D'Silva When presented with large amounts of memory being hotplugged (in my test case, ~890GB), the call to flush_d

Re: [PATCH v4 2/5] vsock/virtio: reduce credit update messages

2019-09-03 Thread Stefano Garzarella
On Tue, Sep 03, 2019 at 12:38:02AM -0400, Michael S. Tsirkin wrote: > On Wed, Jul 17, 2019 at 01:30:27PM +0200, Stefano Garzarella wrote: > > In order to reduce the number of credit update messages, > > we send them only when the space available seen by the > > transmitter is less than VIRTIO_VSOCK

Re: [RFC,v2 2/6] i2c: add I2C Address Translator (ATR) support

2019-09-03 Thread Luca Ceresoli
Hi Jacopo, thanks for your feedback. On 01/09/19 16:31, jacopo mondi wrote: > Hi Luca, >thanks for keep pushing this series! I hope we can use part of this > for the (long time) on-going GMSL work... > > I hope you will be patient enough to provide (another :) overview > of this work during

Re: [PATCH v5 6/6] virtio-balloon: Add support for providing unused page reports to host

2019-09-03 Thread Michael S. Tsirkin
On Mon, Aug 12, 2019 at 02:33:56PM -0700, Alexander Duyck wrote: > From: Alexander Duyck > > Add support for the page reporting feature provided by virtio-balloon. > Reporting differs from the regular balloon functionality in that is is > much less durable than a standard memory balloon. Instead

Re: [PATCH] staging: rts5208: Fix checkpath warning

2019-09-03 Thread Greg KH
On Sat, Aug 31, 2019 at 01:02:24PM +0530, P SAI PRASANTH wrote: > This patch fixes the following checkpath warning > in file drivers/staging/rts5208/xd.c:1754 > > WARNING: line over 80 characters > + index, offset, DMA_TO_DEVICE, > chip->xd_timeout); > >

RE: [PATCH V2 2/5] input: keyboard: imx_sc: Add i.MX system controller power key support

2019-09-03 Thread Anson Huang
Hi, Oleksij > On 03.09.19 08:48, Anson Huang wrote: > > Hi, Oleksij > > > >> On 03.09.19 16:03, Anson Huang wrote: > >>> i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller > >>> inside, the system controller is in charge of controlling power, > >>> clock and power key etc.. > >>> > >

Re: [PATCH] staging: rts5208: Fixed checkpatch warning.

2019-09-03 Thread Greg KH
On Sat, Aug 31, 2019 at 01:10:55PM +0530, Prakhar Sinha wrote: > This patch solves the following checkpatch.pl's messages in > drivers/staging/rts5208/sd.c > > WARNING: line over 80 characters > 4517: FILE: drivers/staging/rts5208/sd.c:4517: > + sd_car

Re: [RFC,v2 2/6] i2c: add I2C Address Translator (ATR) support

2019-09-03 Thread Wolfram Sang
> Adding the ATR features to i2c-mux.c was very tricky and error-prone due > to all of this code, that's why I have moved ATR to its own file in RFCv2. I forgot to say that I like this. signature.asc Description: PGP signature

RE: [PATCH net-next] r8152: modify rtl8152_set_speed function

2019-09-03 Thread Hayes Wang
Heiner Kallweit [mailto:hkallwe...@gmail.com] > Sent: Tuesday, September 03, 2019 3:13 PM [...] > > Some of our chips support the feature of UPS. When satisfying certain > > condition, the hw would recover the settings of speed. Therefore, I have > > to record the settings of the speed, and set the

[PATCH -next] misc: watch_queue: Fix build error

2019-09-03 Thread YueHaibing
drivers/misc/watch_queue.c: In function watch_queue_account_mem: drivers/misc/watch_queue.c:309:38: error: struct user_struct has no member named locked_vm; did you mean locked_shm? cur_pages = atomic_long_read(&user->locked_vm); ^

Re: [PATCH v4 2/5] vsock/virtio: reduce credit update messages

2019-09-03 Thread Michael S. Tsirkin
On Tue, Sep 03, 2019 at 09:31:20AM +0200, Stefano Garzarella wrote: > On Tue, Sep 03, 2019 at 12:38:02AM -0400, Michael S. Tsirkin wrote: > > On Wed, Jul 17, 2019 at 01:30:27PM +0200, Stefano Garzarella wrote: > > > In order to reduce the number of credit update messages, > > > we send them only wh

Re: [RFC PATCH 0/2] Add support for SBI version to 0.2

2019-09-03 Thread h...@infradead.org
On Fri, Aug 30, 2019 at 11:13:25PM +, Atish Patra wrote: > If I understood you clearly, you want to call it legacy in the spec and > just say v0.1 extensions. > > The whole idea of marking them as legacy extensions to indicate that it > would be obsolete in the future. > > But I am not too wo

Re: [PATCH v2] s390: vfio-ap: remove unnecessary calls to disable queue interrupts

2019-09-03 Thread Christian Borntraeger
On 30.08.19 18:02, Halil Pasic wrote: > From: Halil Pasic > Date: Fri, 30 Aug 2019 16:03:42 +0200 > Subject: [PATCH 1/2] s390: vfio-ap: fix warning reset not completed > > The intention seems to be to warn once when we don't wait enough for the > reset to complete. Let's use the right retry c

[PATCH net-next] vsock/virtio: a better comment on credit update

2019-09-03 Thread Michael S. Tsirkin
The comment we have is just repeating what the code does. Include the *reason* for the condition instead. Cc: Stefano Garzarella Signed-off-by: Michael S. Tsirkin --- net/vmw_vsock/virtio_transport_common.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/net/vmw_vso

Re: [PATCH v3] cpuidle-haltpoll: vcpu hotplug support

2019-09-03 Thread Rafael J. Wysocki
On Tue, Sep 3, 2019 at 12:18 AM Marcelo Tosatti wrote: > > On Mon, Sep 02, 2019 at 10:34:07PM +0200, Rafael J. Wysocki wrote: > > On Mon, Sep 2, 2019 at 12:43 PM Joao Martins > > wrote: > > > > > > When cpus != maxcpus cpuidle-haltpoll will fail to register all vcpus > > > past the online ones a

Re: [PATCH v2 29/49] Input: atmel_mxt_ts - implement debug output for messages

2019-09-03 Thread Jiada Wang
Hi Daniel On 2019/08/30 0:31, Daniel Thompson wrote: On Tue, Aug 27, 2019 at 03:29:23PM +0900, Jiada Wang wrote: From: Nick Dyer Add a debug switch which causes all messages from the touch controller to be dumped to the dmesg log with a set prefix "MXT MSG:". This is used by Atmel user-space

Re: [PATCH 2/3] task: RCU protect tasks on the runqueue

2019-09-03 Thread Peter Zijlstra
On Mon, Sep 02, 2019 at 11:52:01PM -0500, Eric W. Biederman wrote: > diff --git a/kernel/sched/core.c b/kernel/sched/core.c > index 2b037f195473..802958407369 100644 > --- a/kernel/sched/core.c > +++ b/kernel/sched/core.c > @@ -3857,7 +3857,7 @@ static void __sched notrace __schedule(bool preempt

Re: [RFC PATCH] iommu/vt-d: Fix IOMMU field not populated on device hot re-plug

2019-09-03 Thread Janusz Krzysztofik
Hi Baolu, On Tuesday, September 3, 2019 3:29:40 AM CEST Lu Baolu wrote: > Hi Janusz, > > On 9/2/19 4:37 PM, Janusz Krzysztofik wrote: > >> I am not saying that keeping data is not acceptable. I just want to > >> check whether there are any other solutions. > > Then reverting 458b7c8e0dde and appl

Re: [PATCH 4/4] arm64: dts: add support for A1 based Amlogic AD401

2019-09-03 Thread Neil Armstrong
Hi, On 03/09/2019 08:51, Jianxin Pan wrote: > Add basic support for the Amlogic A1 based Amlogic AD401 board: > which describe components as follows: Reserve Memory, CPU, GIC, IRQ, > Timer, UART. It's capable of booting up into the serial console. > > Signed-off-by: Jianxin Pan > --- > arch/arm

RE: [PATCH v5 0/6] Deliver vGPU display refresh event to userspace

2019-09-03 Thread Tian, Kevin
> From: Zhang, Tina > Sent: Tuesday, September 3, 2019 9:27 AM > > Hi, > > Some people are asking whether the display refresh irq could be provided by > qemu vfio display? > > Some background: currently, we have two display timers. One is provided by > QEMU UI and the other one is provided by th

Re: [PATCH v2] ACPI / PCI: fix acpi_pci_irq_enable() memory leak

2019-09-03 Thread Rafael J. Wysocki
On Tue, Sep 3, 2019 at 12:34 AM Bjorn Helgaas wrote: > > On Mon, Sep 02, 2019 at 11:19:58PM +0200, Rafael J. Wysocki wrote: > > On Wed, Aug 21, 2019 at 5:44 AM Wenwen Wang wrote: > > > > > > In acpi_pci_irq_enable(), 'entry' is allocated by kzalloc() in > > > acpi_pci_irq_check_entry() (invoked f

Re: [PATCH V2 2/5] input: keyboard: imx_sc: Add i.MX system controller power key support

2019-09-03 Thread Oleksij Rempel
On 03.09.19 09:35, Anson Huang wrote: Hi, Oleksij On 03.09.19 08:48, Anson Huang wrote: Hi, Oleksij On 03.09.19 16:03, Anson Huang wrote: i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller inside, the system controller is in charge of controlling power, clock and power key

Re: [PATCH v2 12/49] Input: atmel_mxt_ts - add debug for T92 gesture and T93 touch seq msgs

2019-09-03 Thread Jiada Wang
Hi Daniel On 2019/08/30 0:24, Daniel Thompson wrote: On Tue, Aug 27, 2019 at 03:27:19PM +0900, Jiada Wang wrote: From: Karl Tsou This description is a little brief. Signed-off-by: Nick Dyer (cherry picked from ndyer/linux/for-upstream commit cb98986f8342107bf4a536aed4160b20839e97c1) Sig

Re: [PATCH 5/9] crypto: ccree - Rename arrays to avoid conflict with crypto/sha256.h

2019-09-03 Thread Gilad Ben-Yossef
On Sun, Sep 1, 2019 at 11:36 PM Hans de Goede wrote: > > Rename the algo_init arrays to cc_algo_init so that they do not conflict > with the functions declared in crypto/sha256.h. > > This is a preparation patch for folding crypto/sha256.h into crypto/sha.h. I'm fine with the renaming. Signed-of

Re: [PATCH v4 1/5] vsock/virtio: limit the memory used per-socket

2019-09-03 Thread Stefano Garzarella
On Tue, Sep 03, 2019 at 12:39:19AM -0400, Michael S. Tsirkin wrote: > On Mon, Sep 02, 2019 at 11:57:23AM +0200, Stefano Garzarella wrote: > > > > > > Assuming we miss nothing and buffers < 4K are broken, > > > I think we need to add this to the spec, possibly with > > > a feature bit to relax the

Re: [PATCH 1/2] dt-bindings: power: syscon-reboot: Convert bindings to json-schema

2019-09-03 Thread Krzysztof Kozlowski
On Tue, 3 Sep 2019 at 09:14, Rob Herring wrote: > > On Mon, Sep 2, 2019 at 4:03 PM Krzysztof Kozlowski wrote: > > > > Convert the Syscon reboot bindings to DT schema format using > > json-schema. > > > > Signed-off-by: Krzysztof Kozlowski > > --- > > .../bindings/power/reset/syscon-reboot.txt

Re: [PATCH 0/8] x86/platform/UV: Update UV Hubless System Support

2019-09-03 Thread Ingo Molnar
* Mike Travis wrote: > > These patches support upcoming UV systems that do not have a UV HUB. > > * Save OEM_ID from ACPI MADT probe > * Return UV Hubless System Type > * Add return code to UV BIOS Init function > * Setup UV functions for Hubless UV Systems > * A

Re: [PATCH net-next] vsock/virtio: a better comment on credit update

2019-09-03 Thread Stefano Garzarella
On Tue, Sep 03, 2019 at 03:38:16AM -0400, Michael S. Tsirkin wrote: > The comment we have is just repeating what the code does. > Include the *reason* for the condition instead. > > Cc: Stefano Garzarella > Signed-off-by: Michael S. Tsirkin > --- > net/vmw_vsock/virtio_transport_common.c | 9 ++

Re: [PATCH 2/3] task: RCU protect tasks on the runqueue

2019-09-03 Thread Peter Zijlstra
On Tue, Sep 03, 2019 at 09:41:17AM +0200, Peter Zijlstra wrote: > On Mon, Sep 02, 2019 at 11:52:01PM -0500, Eric W. Biederman wrote: > > > diff --git a/kernel/sched/core.c b/kernel/sched/core.c > > index 2b037f195473..802958407369 100644 > > --- a/kernel/sched/core.c > > +++ b/kernel/sched/core.c

Re: [PATCH 1/4] softirq: implement IRQ flood detection mechanism

2019-09-03 Thread Daniel Lezcano
On 03/09/2019 09:28, Ming Lei wrote: > On Tue, Sep 03, 2019 at 08:40:35AM +0200, Daniel Lezcano wrote: >> On 03/09/2019 08:31, Ming Lei wrote: >>> Hi Daniel, >>> >>> On Tue, Sep 03, 2019 at 07:59:39AM +0200, Daniel Lezcano wrote: Hi Ming Lei, On 03/09/2019 05:30, Ming Lei wrote:

[ANNOUNCE] 4.4.190-rt187

2019-09-03 Thread Daniel Wagner
Hello RT Folks! I'm pleased to announce the 4.4.190-rt187 stable release. This release is just an update to the new stable 4.4.190 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.

Re: [PATCH v4 1/5] vsock/virtio: limit the memory used per-socket

2019-09-03 Thread Michael S. Tsirkin
On Tue, Sep 03, 2019 at 09:45:54AM +0200, Stefano Garzarella wrote: > On Tue, Sep 03, 2019 at 12:39:19AM -0400, Michael S. Tsirkin wrote: > > On Mon, Sep 02, 2019 at 11:57:23AM +0200, Stefano Garzarella wrote: > > > > > > > > Assuming we miss nothing and buffers < 4K are broken, > > > > I think we

Re: [PATCH 02/12] media: hantro: Do not reorder H264 scaling list

2019-09-03 Thread Jonas Karlman
On 2019-09-02 18:18, Jonas Karlman wrote: > On 2019-09-02 16:00, Philipp Zabel wrote: >> Hi Jonas, >> >> On Sun, 2019-09-01 at 12:45 +, Jonas Karlman wrote: >>> Scaling list supplied from userspace using ffmpeg and libva-v4l2-request >>> is already in matrix order and can be used without applyi

Re: [RFC 5/9] dt-bindings: arm: samsung: Convert Exynos PMU bindings to json-schema

2019-09-03 Thread Krzysztof Kozlowski
On Mon, 26 Aug 2019 at 13:54, Rob Herring wrote: > > On Fri, Aug 23, 2019 at 9:54 AM Krzysztof Kozlowski wrote: > > > > Convert Samsung Exynos Power Management Unit (PMU) bindings to DT schema > > format using json-schema. > > > > Signed-off-by: Krzysztof Kozlowski > > --- > > .../devicetree/bi

Re: numlist API Re: [RFC PATCH v4 1/9] printk-rb: add a new printk ringbuffer implementation

2019-09-03 Thread Sergey Senozhatsky
On (08/27/19 15:03), Petr Mladek wrote: [..] > > IMHO the API is sane. The only bizarre rule is that the numlist must > > always have at least 1 node. But since the readers are non-consuming, > > there is no real tragedy here. > > > > My goal is not to create some fabulous abstract data structure t

Re: [PATCH 4/4] arm64: dts: add support for A1 based Amlogic AD401

2019-09-03 Thread Jianxin Pan
Hi Jerome, Thanks for your suggestion. I will fix them in the next version. On 2019/9/3 15:30, Jerome Brunet wrote: > On Tue 03 Sep 2019 at 02:51, Jianxin Pan wrote: > >> Add basic support for the Amlogic A1 based Amlogic AD401 board: >> which describe components as follows: Reserve Memory, C

Re: [PATCH v4 1/5] vsock/virtio: limit the memory used per-socket

2019-09-03 Thread Stefano Garzarella
On Tue, Sep 03, 2019 at 03:52:24AM -0400, Michael S. Tsirkin wrote: > On Tue, Sep 03, 2019 at 09:45:54AM +0200, Stefano Garzarella wrote: > > On Tue, Sep 03, 2019 at 12:39:19AM -0400, Michael S. Tsirkin wrote: > > > On Mon, Sep 02, 2019 at 11:57:23AM +0200, Stefano Garzarella wrote: > > > > > > >

[PATCH] hostap: remove set but not used variable 'copied' in prism2_io_debug_proc_read

2019-09-03 Thread zhong jiang
Obviously, variable 'copied' is initialized to zero. But it is not used. hence just remove it. Signed-off-by: zhong jiang --- drivers/net/wireless/intersil/hostap/hostap_proc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/wireless/intersil/hostap/hostap_proc.

[PATCH 0/1] mm/debug: Add tests for architecture exported page table helpers

2019-09-03 Thread Anshuman Khandual
This series adds a test validation for architecture exported page table helpers. Patch in the series adds basic transformation tests at various levels of the page table. This test was originally suggested by Catalin during arm64 THP migration RFC discussion earlier. Going forward it can include mo

Re: [PATCH] hostap: remove set but not used variable 'copied' in prism2_io_debug_proc_read

2019-09-03 Thread zhong jiang
Please ignore the patch. Because the hostap_proc.c is marked as 'obsolete'. Thanks, zhong jiang On 2019/9/3 15:57, zhong jiang wrote: > Obviously, variable 'copied' is initialized to zero. But it is not used. > hence just remove it. > > Signed-off-by: zhong jiang > --- > drivers/net/wireless/i

[PATCH 1/1] mm/pgtable/debug: Add test validating architecture page table helpers

2019-09-03 Thread Anshuman Khandual
This adds a test module which will validate architecture page table helpers and accessors regarding compliance with generic MM semantics expectations. This will help various architectures in validating changes to the existing page table helpers or addition of new ones. Test page table and memory p

request for stable (was Re: [PATCH v4 0/5] vsock/virtio: optimizations to increase the throughput)

2019-09-03 Thread Michael S. Tsirkin
Patches 1,3 and 4 are needed for stable. Dave, could you queue them there please? On Wed, Jul 17, 2019 at 01:30:25PM +0200, Stefano Garzarella wrote: > This series tries to increase the throughput of virtio-vsock with slight > changes. > While I was testing the v2 of this series I discovered an hu

Re: [PREEMPT_RT PATCH 2/3] i915: convert all irq_locks spinlocks to raw spinlocks

2019-09-03 Thread Sebastian Andrzej Siewior
On 2019-08-19 19:33:18 [-0500], Clark Williams wrote: > From: Clark Williams > > The following structures contain a member named 'irq_lock'. > These three locks are of type spinlock_t and are used in > multiple contexts including atomic: > > struct drm_i915_private > struct intel_breadcr

Re: [PATCH v4 00/10] arm64: Stolen time support

2019-09-03 Thread Andrew Jones
On Fri, Aug 30, 2019 at 09:42:45AM +0100, Steven Price wrote: > This series add support for paravirtualized time for arm64 guests and > KVM hosts following the specification in Arm's document DEN 0057A: > > https://developer.arm.com/docs/den0057/a > > It implements support for stolen time, allowi

[PATCH 3/3] dt-bindings: regulator: add regulator-fixed-clock binding

2019-09-03 Thread Philippe Schenker
This adds the documentation to the compatible regulator-fixed-clock Signed-off-by: Philippe Schenker --- .../bindings/regulator/fixed-regulator.yaml| 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/regulator/fixed-regul

[PATCH 0/3] Add new binding regulator-fixed-clock to regulator-fixed

2019-09-03 Thread Philippe Schenker
Our hardware has a FET that is switching power rail of the ethernet PHY on and off. This switching enable signal is a clock from the SoC. There is no possibility in regulator subsystem to have this hardware reflected in software. I already discussed with Mark Brown about possible solutions and

[PATCH 2/3] ARM: dts: imx6ull-colibri: add phy-supply and respective regulator

2019-09-03 Thread Philippe Schenker
This adds regulator-fixed-clock, a fixed-regulator that turns on and off with a clock and add it to the phy. Signed-off-by: Philippe Schenker --- arch/arm/boot/dts/imx6ull-colibri.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/imx6ull-colibri.dtsi b/ar

[PATCH 1/3] regulator: fixed: add possibility to enable by clock

2019-09-03 Thread Philippe Schenker
This commit adds the possibility to choose the compatible "regulator-fixed-clock" in devicetree. This is a special regulator-fixed that has to have a clock, from which the regulator gets switched on and off. Signed-off-by: Philippe Schenker --- drivers/regulator/fixed.c | 86 ++

Re: [PATCH v3 00/13] virtio-fs: shared file system for virtual machines

2019-09-03 Thread Miklos Szeredi
[Cc: virtualizat...@lists.linux-foundation.org, "Michael S. Tsirkin" , Jason Wang ] It'd be nice to have an ACK for this from the virtio maintainers. Thanks, Miklos On Wed, Aug 21, 2019 at 7:38 PM Vivek Goyal wrote: > > Hi, > > Here are the V3 patches for virtio-fs filesystem. This time I have

[PATCH 1/1] mm/migrate: fix list corruption in migration of non-LRU movable pages

2019-09-03 Thread sunqiuyang
From: Qiuyang Sun Currently, after a page is migrated, it 1) has its PG_isolated flag cleared in move_to_new_page(), and 2) is deleted from its LRU list (cc->migratepages) in unmap_and_move(). However, between steps 1) and 2), the page could be isolated by another thread in isolate_movable_page()

Re: [PATCH 1/4] softirq: implement IRQ flood detection mechanism

2019-09-03 Thread Thomas Gleixner
On Tue, 3 Sep 2019, Ming Lei wrote: > Scheduler can do nothing if the CPU is taken completely by handling > interrupt & softirq, so seems not a scheduler problem, IMO. Well, but thinking more about it, the solution you are proposing is more a bandaid than anything else. If you look at the network

Tweak I2C SDA hold time on GemniLake to make touchpad work

2019-09-03 Thread Chris Chiu
Hi, We're working on the acer Gemnilake laptop TravelMate B118-M for touchpad not working issue. The touchpad fails to bring up and the i2c-hid ouput the message as follows [8.317293] i2c_hid i2c-ELAN0502:00: hid_descr_cmd failed We tried on latest linux kernel 5.3.0-rc6 and it reports the

Re: "fs/namei.c: keep track of nd->root refcount status" causes boot panic

2019-09-03 Thread Naresh Kamboju
On Tue, 3 Sep 2019 at 09:51, Qian Cai wrote: > > The linux-next commit "fs/namei.c: keep track of nd->root refcount status” > [1] causes boot panic on all > architectures here on today’s linux-next (0902). Reverted it will fix the > issue. I have same problem and reverting this patch fixed the

Re: [PATCH v3 1/2] net: core: Notify on changes to dev->promiscuity.

2019-09-03 Thread Allan W. Nielsen
Hi Ido, The 09/03/2019 09:13, Ido Schimmel wrote: > On Mon, Sep 02, 2019 at 07:42:31PM +0200, Allan W. Nielsen wrote: > > I have been reading through this thread several times and I still do not > > get it. > I kept thinking about this and I want to make sure that I correctly > understand the end

Re: [PATCH v3] trace:Add "gfp_t" support in synthetic_events

2019-09-03 Thread Xing Zhengjun
Hi Steve, On 8/13/2019 11:04 AM, Steven Rostedt wrote: On Tue, 13 Aug 2019 09:04:28 +0800 Xing Zhengjun wrote: Hi Steve, Could you help to review? Thanks. Thanks for the ping. Yes, I'll take a look at it. I'll be pulling in a lot of patches that have queued up. -- Steve Could you

Re: [PATCH 4/4] arm64: dts: add support for A1 based Amlogic AD401

2019-09-03 Thread Jianxin Pan
Hi Neil, Thanks for your time. Please see my comments below. On 2019/9/3 15:42, Neil Armstrong wrote: > Hi, > > On 03/09/2019 08:51, Jianxin Pan wrote: >> Add basic support for the Amlogic A1 based Amlogic AD401 board: >> which describe components as follows: Reserve Memory, CPU, GIC, IRQ, [...]

Re: [PATCH] clocksource: atmel-st: Variable sr in at91rm9200_timer_interrupt() could be uninitialized

2019-09-03 Thread Alexandre Belloni
On 02/09/2019 22:56:48-0700, Yizhuo Zhai wrote: > In function regmap_read(), there're two places which could make the read > fail. > > First, if "reg" and "map->reg_stride" are not aligned, then remap_read() will > return -EINVAL without initialize variable "val". > A quick look at of_syscon_

Re: Tweak I2C SDA hold time on GemniLake to make touchpad work

2019-09-03 Thread Mika Westerberg
+Jarkko On Tue, Sep 03, 2019 at 04:10:27PM +0800, Chris Chiu wrote: > Hi, > > We're working on the acer Gemnilake laptop TravelMate B118-M for > touchpad not working issue. The touchpad fails to bring up and the > i2c-hid ouput the message as follows > [8.317293] i2c_hid i2c-ELAN0502:00:

Re: [PATCH] irqdomain: Add the missing assignment of domain->fwnode for named fwnode

2019-09-03 Thread Marc Zyngier
Hi Dexuan, On 03/09/2019 00:14, Dexuan Cui wrote: > > Recently device pass-through stops working for Linux VM running on Hyper-V. > > git-bisect shows the regression is caused by the recent commit > 467a3bb97432 ("PCI: hv: Allocate a named fwnode ..."), but the root cause > is that the commit d5

[PATCH v2 -next] PCI: Don't use GFP_KERNEL for kstrbdup in resource_alignment_store

2019-09-03 Thread YueHaibing
When allocating memory, the GFP_KERNEL cannot be used during the spin_lock period. It may cause scheduling when holding spin_lock. Suggested-by: Christoph Hellwig Fixes: f13755318675 ("PCI: Move pci_[get|set]_resource_alignment_param() into their callers") Signed-off-by: YueHaibing --- v2: move

Re: [RFC 5/9] dt-bindings: arm: samsung: Convert Exynos PMU bindings to json-schema

2019-09-03 Thread Rob Herring
On Tue, Sep 3, 2019 at 8:58 AM Krzysztof Kozlowski wrote: > > On Mon, 26 Aug 2019 at 13:54, Rob Herring wrote: > > > > On Fri, Aug 23, 2019 at 9:54 AM Krzysztof Kozlowski wrote: > > > > > > Convert Samsung Exynos Power Management Unit (PMU) bindings to DT schema > > > format using json-schema. >

Re: [PATCH v3 2/4] edac: Add support for Amazon's Annapurna Labs L1 EDAC

2019-09-03 Thread Hawa, Hanna
On 9/3/2019 10:24 AM, Robert Richter wrote: On 15.07.19 16:24:07, Hanna Hawa wrote: Adds support for Amazon's Annapurna Labs L1 EDAC driver to detect and report L1 errors. Signed-off-by: Hanna Hawa Reviewed-by: James Morse --- MAINTAINERS | 6 ++ drivers/edac/Kconfig

Re: [PATCH v3 4/4] edac: Add support for Amazon's Annapurna Labs L2 EDAC

2019-09-03 Thread Hawa, Hanna
On 9/3/2019 10:27 AM, Robert Richter wrote: On 15.07.19 16:24:09, Hanna Hawa wrote: Adds support for Amazon's Annapurna Labs L2 EDAC driver to detect and report L2 errors. Signed-off-by: Hanna Hawa --- MAINTAINERS | 6 ++ drivers/edac/Kconfig | 8 ++ drivers/edac/

[tip: sched/urgent] sched/fair: Don't assign runtime for throttled cfs_rq

2019-09-03 Thread tip-bot2 for Liangyan
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: 5e2d2cc2588bd3307ce3937acbc2ed03c830a861 Gitweb: https://git.kernel.org/tip/5e2d2cc2588bd3307ce3937acbc2ed03c830a861 Author:Liangyan AuthorDate:Mon, 26 Aug 2019 20:16:33 +08:00 Committer:

[tip: x86/asm] x86/math64: Provide a sane mul_u64_u32_div() implementation for x86_64

2019-09-03 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the x86/asm branch of tip: Commit-ID: db4e919d9a119b7c54eb5e5ac9bee5d3eb4cb859 Gitweb: https://git.kernel.org/tip/db4e919d9a119b7c54eb5e5ac9bee5d3eb4cb859 Author:Peter Zijlstra AuthorDate:Wed, 28 Aug 2019 17:39:46 +02:00 Committer:

[tip: x86/mm] x86/mm: Remove the unused set_memory_wt() function

2019-09-03 Thread tip-bot2 for Christoph Hellwig
The following commit has been merged into the x86/mm branch of tip: Commit-ID: aeb415fbe9f62e6db0fabd2023d39728ccc705fd Gitweb: https://git.kernel.org/tip/aeb415fbe9f62e6db0fabd2023d39728ccc705fd Author:Christoph Hellwig AuthorDate:Mon, 26 Aug 2019 09:55:57 +02:00 Committe

[tip: sched/core] sched/uclamp: Update CPU's refcount on TG's clamp changes

2019-09-03 Thread tip-bot2 for Patrick Bellasi
The following commit has been merged into the sched/core branch of tip: Commit-ID: babbe170e053c6ec2343751749995b7b9fd5fd2c Gitweb: https://git.kernel.org/tip/babbe170e053c6ec2343751749995b7b9fd5fd2c Author:Patrick Bellasi AuthorDate:Thu, 22 Aug 2019 14:28:10 +01:00 Commit

[tip: sched/core] sched/topology: Improve load balancing on AMD EPYC systems

2019-09-03 Thread tip-bot2 for Matt Fleming
The following commit has been merged into the sched/core branch of tip: Commit-ID: a55c7454a8c887b226a01d7eed088ccb5374d81e Gitweb: https://git.kernel.org/tip/a55c7454a8c887b226a01d7eed088ccb5374d81e Author:Matt Fleming AuthorDate:Thu, 08 Aug 2019 20:53:01 +01:00 Committer

Re: [PATCH v2 2/9] x86: numa: check the node id consistently for x86

2019-09-03 Thread Yunsheng Lin
On 2019/9/3 15:11, Peter Zijlstra wrote: > On Tue, Sep 03, 2019 at 02:19:04PM +0800, Yunsheng Lin wrote: >> On 2019/9/2 20:56, Peter Zijlstra wrote: >>> On Mon, Sep 02, 2019 at 08:25:24PM +0800, Yunsheng Lin wrote: On 2019/9/2 15:25, Peter Zijlstra wrote: > On Mon, Sep 02, 2019 at 01:46:51

[tip: perf/core] perf/x86: Make more stuff static

2019-09-03 Thread tip-bot2 for Valdis Klētnieks
The following commit has been merged into the perf/core branch of tip: Commit-ID: d9f3b450f206332b7ef3d78b5a85b6c20ad00fd2 Gitweb: https://git.kernel.org/tip/d9f3b450f206332b7ef3d78b5a85b6c20ad00fd2 Author:Valdis Klētnieks AuthorDate:Thu, 08 Aug 2019 13:44:02 -04:00 Commit

[tip: sched/core] sched/uclamp: Always use 'enum uclamp_id' for clamp_id values

2019-09-03 Thread tip-bot2 for Patrick Bellasi
The following commit has been merged into the sched/core branch of tip: Commit-ID: 0413d7f33e60751570fd6c179546bde2f7d82dcb Gitweb: https://git.kernel.org/tip/0413d7f33e60751570fd6c179546bde2f7d82dcb Author:Patrick Bellasi AuthorDate:Thu, 22 Aug 2019 14:28:11 +01:00 Commit

[tip: sched/core] sched, perf: MAINTAINERS update, add submaintainers and reviewers

2019-09-03 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/core branch of tip: Commit-ID: bb87481612c4a87d0d9ce8bcb3b9e8ce0ff89a71 Gitweb: https://git.kernel.org/tip/bb87481612c4a87d0d9ce8bcb3b9e8ce0ff89a71 Author:Peter Zijlstra AuthorDate:Fri, 30 Aug 2019 14:02:46 +02:00 Committ

Re: [PATCH v3 00/13] virtio-fs: shared file system for virtual machines

2019-09-03 Thread Michael S. Tsirkin
On Tue, Sep 03, 2019 at 10:05:02AM +0200, Miklos Szeredi wrote: > [Cc: virtualizat...@lists.linux-foundation.org, "Michael S. Tsirkin" > , Jason Wang ] > > It'd be nice to have an ACK for this from the virtio maintainers. > > Thanks, > Miklos Can the patches themselves be posted to the relevant

[tip: sched/core] arch, ia64: Make NUMA select SMP

2019-09-03 Thread tip-bot2 for Matt Fleming
The following commit has been merged into the sched/core branch of tip: Commit-ID: a2cbfd46559e809c8165773b7fe8afa058b35414 Gitweb: https://git.kernel.org/tip/a2cbfd46559e809c8165773b7fe8afa058b35414 Author:Matt Fleming AuthorDate:Thu, 08 Aug 2019 20:53:00 +01:00 Committer

[tip: x86/mm] x86/mm: Remove set_pages_x() and set_pages_nx()

2019-09-03 Thread tip-bot2 for Christoph Hellwig
The following commit has been merged into the x86/mm branch of tip: Commit-ID: 185be15143aa308184310df9fde3d409ca9f83bb Gitweb: https://git.kernel.org/tip/185be15143aa308184310df9fde3d409ca9f83bb Author:Christoph Hellwig AuthorDate:Mon, 26 Aug 2019 09:55:56 +02:00 Committe

[tip: x86/mm] x86/mm: Unexport set_memory_x() and set_memory_nx()

2019-09-03 Thread tip-bot2 for Christoph Hellwig
The following commit has been merged into the x86/mm branch of tip: Commit-ID: ec46133d3b81053701e2a29047dfb6228ff487bd Gitweb: https://git.kernel.org/tip/ec46133d3b81053701e2a29047dfb6228ff487bd Author:Christoph Hellwig AuthorDate:Mon, 26 Aug 2019 09:55:54 +02:00 Committe

[tip: sched/core] sched/uclamp: Extend CPU's cgroup controller

2019-09-03 Thread tip-bot2 for Patrick Bellasi
The following commit has been merged into the sched/core branch of tip: Commit-ID: 2480c093130f64ac3a410504fa8b3db1fc4b87ce Gitweb: https://git.kernel.org/tip/2480c093130f64ac3a410504fa8b3db1fc4b87ce Author:Patrick Bellasi AuthorDate:Thu, 22 Aug 2019 14:28:06 +01:00 Commit

[tip: sched/core] sched/uclamp: Propagate system defaults to the root group

2019-09-03 Thread tip-bot2 for Patrick Bellasi
The following commit has been merged into the sched/core branch of tip: Commit-ID: 7274a5c1bbec45f06f1fff4b8c8b5855b6cc189d Gitweb: https://git.kernel.org/tip/7274a5c1bbec45f06f1fff4b8c8b5855b6cc189d Author:Patrick Bellasi AuthorDate:Thu, 22 Aug 2019 14:28:08 +01:00 Commit

[tip: sched/core] sched/uclamp: Use TG's clamps to restrict TASK's clamps

2019-09-03 Thread tip-bot2 for Patrick Bellasi
The following commit has been merged into the sched/core branch of tip: Commit-ID: 3eac870a324728e5d1711840dad70bcd37f3 Gitweb: https://git.kernel.org/tip/3eac870a324728e5d1711840dad70bcd37f3 Author:Patrick Bellasi AuthorDate:Thu, 22 Aug 2019 14:28:09 +01:00 Commit

[tip: sched/core] sched/uclamp: Propagate parent clamps

2019-09-03 Thread tip-bot2 for Patrick Bellasi
The following commit has been merged into the sched/core branch of tip: Commit-ID: 0b60ba2dd342016e4e717dbaa4ca9af3a43f4434 Gitweb: https://git.kernel.org/tip/0b60ba2dd342016e4e717dbaa4ca9af3a43f4434 Author:Patrick Bellasi AuthorDate:Thu, 22 Aug 2019 14:28:07 +01:00 Commit

  1   2   3   4   5   6   7   8   9   10   >