[PATCH v6 5/6] virtio-balloon: Pull page poisoning config out of free page hinting

2019-08-21 Thread Alexander Duyck
From: Alexander Duyck Currently the page poisoning setting wasn't being enabled unless free page hinting was enabled. However we will need the page poisoning tracking logic as well for unused page reporting. As such pull it out and make it a separate bit of config in the probe function. In

[PATCH v6 3/6] mm: Use zone and order instead of free area in free_list manipulators

2019-08-21 Thread Alexander Duyck
From: Alexander Duyck In order to enable the use of the zone from the list manipulator functions I will need access to the zone pointer. As it turns out most of the accessors were always just being directly passed >free_area[order] anyway so it would make sense to just fold that into the

[PATCH v6 0/6] mm / virtio: Provide support for unused page reporting

2019-08-21 Thread Alexander Duyck
This series provides an asynchronous means of reporting to a hypervisor that a guest page is no longer in use and can have the data associated with it dropped. To do this I have implemented functionality that allows for what I am referring to as unused page reporting The functionality for this is

[PATCH v6 2/6] mm: Move set/get_pcppage_migratetype to mmzone.h

2019-08-21 Thread Alexander Duyck
From: Alexander Duyck In order to support page reporting it will be necessary to store and retrieve the migratetype of a page. To enable that I am moving the set and get operations for pcppage_migratetype into the mm/internal.h header so that they can be used outside of the page_alloc.c file.

[PATCH v6 4/6] mm: Introduce Reported pages

2019-08-21 Thread Alexander Duyck
From: Alexander Duyck In order to pave the way for free page reporting in virtualized environments we will need a way to get pages out of the free lists and identify those pages after they have been returned. To accomplish this, this patch adds the concept of a Reported Buddy, which is

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

2019-08-21 Thread Alexander Duyck
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 of creating a list of pages that cannot be accessed the pages are only

[PATCH v6 1/6] mm: Adjust shuffle code to allow for future coalescing

2019-08-21 Thread Alexander Duyck
From: Alexander Duyck Move the head/tail adding logic out of the shuffle code and into the __free_one_page function since ultimately that is where it is really needed anyway. By doing this we should be able to reduce the overhead and can consolidate all of the list addition bits in one spot.

Re: [ANNOUNCE] v5.2.9-rt3

2019-08-21 Thread Alexandre Belloni
On 21/08/2019 16:42:30+0200, Sebastian Andrzej Siewior wrote: > On 2019-08-21 16:21:10 [+0200], Alexandre Belloni wrote: > > I'm not sure it is worth it as the issue is introduced by > > clocksource-tclib-allow-higher-clockrates.patch. Shouldn't we fix it > > directly? > > you want to get rid of

perf tool issue following 'perf stat: Fix --no-scale' patch integration

2019-08-21 Thread Gerald BAEZA
Dear Andi and all perf tool / arm debug  experts This is about the following patch : perf stat: Fix --no-scale SHA-1 : 75998bb263bf48c1c85d78cd2d2f3a97d3747cab Since it is applied in the kernel, I noticed that perf tool fails on my ARMv7 platform (STM32MP1 with Cortex-A7 and NEON)

Re: [RFC v2] rcu/tree: Try to invoke_rcu_core() if in_irq() during unlock

2019-08-21 Thread Joel Fernandes
On Wed, Aug 21, 2019 at 10:38:41AM -0400, Joel Fernandes wrote: > On Mon, Aug 19, 2019 at 08:41:43AM -0700, Paul E. McKenney wrote: > > On Mon, Aug 19, 2019 at 07:33:14AM -0700, Paul E. McKenney wrote: > > > On Mon, Aug 19, 2019 at 05:57:57AM -0700, Paul E. McKenney wrote: > > > > On Sun, Aug 18,

[PATCH 3/4] x86: Support Generic Initiator only proximity domains

2019-08-21 Thread Jonathan Cameron
Done in a somewhat different fashion to arm64. Here the infrastructure for memoryless domains was already in place. That infrastruture applies just as well to domains that also don't have a CPU, hence it works for Generic Initiator Domains. In common with memoryless domains we only register GI

[PATCH 0/4 V4] ACPI: Support generic initiator proximity domains

2019-08-21 Thread Jonathan Cameron
This patch set has been sitting around for a long time without significant review. I would appreciate it very much if anyone has time to take a look. One outstanding question to highlight in this series is whether we should assume all ACPI supporting architectures support Generic Initiator

[PATCH 2/4] arm64: Support Generic Initiator only domains

2019-08-21 Thread Jonathan Cameron
The one thing that currently needs doing from an architecture point of view is associating the GI domain with its nearest memory domain. This allows all the standard NUMA aware code to get a 'reasonable' answer. A clever driver might elect to do load balancing etc if there are multiple host /

[PATCH 4/4] ACPI: Let ACPI know we support Generic Initiator Affinity Structures

2019-08-21 Thread Jonathan Cameron
Until we tell ACPI that we support generic initiators, it will have to operate in fall back domain mode and all _PXM entries should be on existing non GI domains. This patch sets the relevant OSC bit to make that happen. Note that this currently doesn't take into account whether we have the

[PATCH 1/4] ACPI: Support Generic Initiator only domains

2019-08-21 Thread Jonathan Cameron
Generic Initiators are a new ACPI concept that allows for the description of proximity domains that contain a device which performs memory access (such as a network card) but neither host CPU nor Memory. This patch has the parsing code and provides the infrastructure for an architecture to

[PATCH v2 1/3] staging: rtl8192u: fix OPEN_BRACE errors in ieee80211

2019-08-21 Thread Stephen Brennan
Checkpatch emits several errors regarding braces being on the incorrect line. These can be fixed by moving the brace, do this. In a few cases, some comments were moved to facilitate this. Signed-off-by: Stephen Brennan --- .../staging/rtl8192u/ieee80211/ieee80211.h| 3 +-

[PATCH v2 2/3] staging: rtl8192u: fix macro alignment in ieee80211

2019-08-21 Thread Stephen Brennan
Several macros display unaligned, due to mixes of tabs and spaces. These can be fixed by making spacing consistent, do this. Signed-off-by: Stephen Brennan --- .../staging/rtl8192u/ieee80211/ieee80211.h| 35 ++- .../staging/rtl8192u/ieee80211/rtl819x_HT.h | 8 ++--- 2

[PATCH v2 3/3] staging: rtl8192u: fix spacing in ieee80211

2019-08-21 Thread Stephen Brennan
Checkpatch emits several errors, warnings, and checks about spacing. Apply checkpatch's suggested spacing rules. Signed-off-by: Stephen Brennan --- drivers/staging/rtl8192u/ieee80211/dot11d.c | 10 ++-- .../staging/rtl8192u/ieee80211/ieee80211.h| 4 +-

Re: [v2 PATCH] RISC-V: Optimize tlb flush path.

2019-08-21 Thread h...@infradead.org
Btw, for the next version it also might make sense to do one optimization at a time. E.g. the empty cpumask one as the first patch, the local cpu directly one next, and the threshold based full flush as a third.

[PATCH net] net: cpsw: fix NULL pointer exception in the probe error path

2019-08-21 Thread Antoine Tenart
In certain cases when the probe function fails the error path calls cpsw_remove_dt() before calling platform_set_drvdata(). This is an issue as cpsw_remove_dt() uses platform_get_drvdata() to retrieve the cpsw_common data and leds to a NULL pointer exception. This patches fixes it by calling

Re: [ANNOUNCE] v5.2.9-rt3

2019-08-21 Thread Sebastian Andrzej Siewior
On 2019-08-21 16:21:10 [+0200], Alexandre Belloni wrote: > I'm not sure it is worth it as the issue is introduced by > clocksource-tclib-allow-higher-clockrates.patch. Shouldn't we fix it > directly? you want to get rid of CONFIG_ATMEL_TCB_CLKSRC_USE_SLOW_CLOCK and use the highest possible

Re: [v2 PATCH] RISC-V: Optimize tlb flush path.

2019-08-21 Thread h...@infradead.org
On Tue, Aug 20, 2019 at 08:29:47PM +, Atish Patra wrote: > Sounds good to me. Christoph has already mm/tlbflush.c in his mmu > series. I will rebase on top of it. It was't really intended for the nommu series but for the native clint prototype. But the nommu series grew so many cleanups and

Re: [RFC v2] rcu/tree: Try to invoke_rcu_core() if in_irq() during unlock

2019-08-21 Thread Joel Fernandes
On Mon, Aug 19, 2019 at 08:41:43AM -0700, Paul E. McKenney wrote: > On Mon, Aug 19, 2019 at 07:33:14AM -0700, Paul E. McKenney wrote: > > On Mon, Aug 19, 2019 at 05:57:57AM -0700, Paul E. McKenney wrote: > > > On Sun, Aug 18, 2019 at 07:29:27PM -0700, Paul E. McKenney wrote: > > > > On Sun, Aug

[PATCH RESEND v2 3/6] dt-bindings: watchdog: sun4i: Add the watchdog interrupts

2019-08-21 Thread Maxime Ripard
From: Maxime Ripard The Allwinner watchdog has an interrupt, either shared or dedicated depending on the SoC, that has been described in some DT, but not all of them. The binding is also completely missing that description. Let's add that property to be consistent. Reviewed-by: Rob Herring

[PATCH RESEND v2 6/6] ARM: dts: sunxi: Add missing watchdog clocks

2019-08-21 Thread Maxime Ripard
From: Maxime Ripard The watchdog has a clock on all our SoCs, but it wasn't always listed. Add it to the devicetree where it's missing. Signed-off-by: Maxime Ripard --- Changes from v1: - New patch --- arch/arm/boot/dts/sun4i-a10.dtsi | 1 + arch/arm/boot/dts/sun5i.dtsi

[PATCH RESEND v2 5/6] ARM: dts: sunxi: Add missing watchdog interrupts

2019-08-21 Thread Maxime Ripard
From: Maxime Ripard The watchdog has an interrupt on all our SoCs, but it wasn't always listed. Add it to the devicetree where it's missing. Acked-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun4i-a10.dtsi | 1 + arch/arm/boot/dts/sun5i.dtsi | 1 +

[PATCH RESEND v2 1/6] dt-bindings: watchdog: Add YAML schemas for the generic watchdog bindings

2019-08-21 Thread Maxime Ripard
From: Maxime Ripard The watchdogs have a bunch of generic properties that are needed in a device tree. Add a YAML schemas for those. Reviewed-by: Rob Herring Signed-off-by: Maxime Ripard --- Changes from v1: - New patch --- .../bindings/watchdog/watchdog.yaml | 26

[PATCH RESEND v2 4/6] dt-bindings: watchdog: sun4i: Add the watchdog clock

2019-08-21 Thread Maxime Ripard
From: Maxime Ripard The Allwinner watchdog has a clock that has been described in some DT, but not all of them. The binding is also completely missing that description. Let's add that property to be consistent. Reviewed-by: Rob Herring Signed-off-by: Maxime Ripard --- Changes from v1: -

[PATCH RESEND v2 2/6] dt-bindings: watchdog: Convert Allwinner watchdog to a schema

2019-08-21 Thread Maxime Ripard
From: Maxime Ripard The Allwinner SoCs have a watchdog supported in Linux, with a matching Device Tree binding. Now that we have the DT validation in place, let's convert the device tree bindings for that controller over to a YAML schemas. Reviewed-by: Rob Herring Signed-off-by: Maxime Ripard

Re: memory-barriers.txt questions

2019-08-21 Thread Paul E. McKenney
On Wed, Aug 21, 2019 at 04:24:42PM +0200, Björn Töpel wrote: > Paul, > > Reaching out directly, hope that's OK! Adding LKML on CC, hope that's OK! > >From memory-barriers.txt (what an excellent document. I've read it > over and over, and never get all the details. :-)): > --8<-- > MISCELLANEOUS

Re: [PATCH] PCI: Add sysfs attribute for disabling PCIe link to downstream component

2019-08-21 Thread Mika Westerberg
On Wed, Aug 21, 2019 at 10:28:37AM +0300, Mika Westerberg wrote: > > If we see a type of PCI_EXP_TYPE_ROOT_PORT or > > PCI_EXP_TYPE_PCIE_BRIDGE, I think we have to assume that's accurate > > (which we already do today -- for those types, we assume the device > > has a secondary link). > > > > For

[PATCH v2 0/3] staging: rtl8192u: coding style fixes in ieee80211

2019-08-21 Thread Stephen Brennan
Addressed some spacing, brace placement, and macro alignment in this driver. I do not have the relevant hardware, but I verified that the drivers/staging/rtl8192u module built between each patch. This time I've included proper patch descriptions, my apologies for the previous series. Stephen

Re: [PATCH v2 1/6] dt-bindings: watchdog: Add YAML schemas for the generic watchdog bindings

2019-08-21 Thread Maxime Ripard
Hi Guenter, On Tue, Aug 20, 2019 at 08:54:53AM -0700, Guenter Roeck wrote: > On 8/19/19 11:20 AM, Maxime Ripard wrote: > > From: Maxime Ripard > > > > The watchdogs have a bunch of generic properties that are needed in a > > device tree. Add a YAML schemas for those. > > > > Signed-off-by:

Re: [PATCH 2/2] uacce: add uacce module

2019-08-21 Thread zhangfei
On 2019/8/21 下午5:17, Greg Kroah-Hartman wrote: On Wed, Aug 21, 2019 at 03:21:18PM +0800, zhangfei@foxmail.com wrote: Hi, Greg On 2019/8/21 上午12:59, Greg Kroah-Hartman wrote: On Tue, Aug 20, 2019 at 09:08:55PM +0800, zhangfei wrote: On 2019/8/15 下午10:13, Greg Kroah-Hartman wrote: On

Re: [PATCH v4 3/9] nvmem: core: add nvmem_device_find

2019-08-21 Thread Thomas Bogendoerfer
On Mon, Aug 19, 2019 at 05:03:42PM +0100, Srinivas Kandagatla wrote: > >>On 14/08/2019 12:46, Thomas Bogendoerfer wrote: > >these patches are not in Linus tree, yet. I guess they will show up > >in 5.4. No idea how to deal with it right now, do you ? > All these patches are due to go in next merge

Re: Pointer magic in mm_init_cpumask()

2019-08-21 Thread Rik van Riel
On Wed, 2019-08-21 at 09:13 -0400, Siarhei Liakh wrote: > If mm_cpumask() is not safe, then at the very least the following has > to be fixed: > $ grep -rIn 'cpumask_clear(mm_cpumask(' * > arch/powerpc/include/asm/tlb.h:69:cpumask_clear(mm_cpumask(mm)); > arch/sparc/mm/init_64.c:857:

[v7 2/2] gpio: aspeed: Add SGPIO driver

2019-08-21 Thread Hongwei Zhang
Hello Linus, Thanks for your review! I just submitted v8 to the list, please help to review it again. Since you have already merged the dt-binding document [v7 1/2], and I don't have your update to this file, so to avoid confusion, I only include the driver code in v8. Regards, --Hongwei

Re: [PATCH 0/2] arm64: dts: meson: g12a: add tdm resets

2019-08-21 Thread Neil Armstrong
On 20/08/2019 14:15, Jerome Brunet wrote: > This patchset adds the dedicated reset of the tdm formatters which > have been added on the g12a SoC family. Using these help with the channel > mapping when the formatter uses more than 1 i2s lane. > > Kevin, please note that to build, this patchset

[PATCH v2 13/14] arm64: dts: meson-gxbb-p201: fix snps,reset-delays-us format

2019-08-21 Thread Neil Armstrong
This fixes the following DT schemas check errors: meson-gxbb-p201.dt.yaml: ethernet@c941: snps,reset-delays-us: [[0, 1, 100]] is too short Signed-off-by: Neil Armstrong Reviewed-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-gxbb-p201.dts | 2 +- 1 file changed, 1

[PATCH v2 05/14] arm64: dts: meson-gx: fix watchdog compatible

2019-08-21 Thread Neil Armstrong
This fixes the following DT schemas check errors: meson-gxbb-nanopi-k2.dt.yaml: watchdog@98d0: compatible:0: 'amlogic,meson-gx-wdt' is not one of ['amlogic,meson-gxbb-wdt'] meson-gxl-s805x-libretech-ac.dt.yaml: watchdog@98d0: compatible:0: 'amlogic,meson-gx-wdt' is not one of

[PATCH v2 07/14] arm64: dts: meson-gx: fix periphs bus node name

2019-08-21 Thread Neil Armstrong
This fixes the following DT schemas check errors: meson-gxbb-nanopi-k2.dt.yaml: periphs@c8834000: $nodename:0: 'periphs@c8834000' does not match '^(bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$' meson-gxl-s805x-libretech-ac.dt.yaml: periphs@c8834000: $nodename:0: 'periphs@c8834000' does not match

[PATCH v2 11/14] arm64: dts: meson-g12a-x96-max: fix compatible

2019-08-21 Thread Neil Armstrong
This fixes the following DT schemas check errors: meson-g12a-x96-max.dt.yaml: /: compatible: ['amediatech,x96-max', 'amlogic,u200', 'amlogic,g12a'] is not valid under any of the given schemas Signed-off-by: Neil Armstrong Reviewed-by: Martin Blumenstingl ---

[PATCH v2 10/14] arm64: dts: meson-g12a: fix reset controller compatible

2019-08-21 Thread Neil Armstrong
This fixes the following DT schemas check errors: meson-g12a-u200.dt.yaml: reset-controller@1004: compatible:0: 'amlogic,meson-g12a-reset' is not one of ['amlogic,meson8b-reset', 'amlogic,meson-gxbb-reset', 'amlogic,meson-axg-reset'] meson-g12a-sei510.dt.yaml: reset-controller@1004:

[PATCH v2 08/14] arm64: dts: meson-gxl: fix internal phy compatible

2019-08-21 Thread Neil Armstrong
This fixes the following DT schemas check errors: meson-gxl-s805x-libretech-ac.dt.yaml: ethernet-phy@8: compatible: ['ethernet-phy-id0181.4400', 'ethernet-phy-ieee802.3-c22'] is not valid under any of the given schemas Signed-off-by: Neil Armstrong ---

[PATCH v2 06/14] arm64: dts: meson-gx: fix mhu compatible

2019-08-21 Thread Neil Armstrong
This fixes the following DT schemas check errors: meson-gxbb-nanopi-k2.dt.yaml: mailbox@404: compatible:0: 'amlogic,meson-gx-mhu' is not one of ['amlogic,meson-gxbb-mhu'] meson-gxl-s805x-libretech-ac.dt.yaml: mailbox@404: compatible:0: 'amlogic,meson-gx-mhu' is not one of

[PATCH v2 02/14] arm64: dts: meson-gx: drop the vpu dmc memory cell

2019-08-21 Thread Neil Armstrong
This fixes the following DT schemas check errors: meson-gxl-s805x-libretech-ac.dt.yaml: vpu@d010: reg-names: Additional items are not allowed ('dmc' was unexpected) meson-gxl-s805x-libretech-ac.dt.yaml: vpu@d010: reg-names: ['vpu', 'hhi', 'dmc'] is too long The 'dmc' register area was

[PATCH v2 04/14] arm64: dts: meson-gx: fix spifc compatible

2019-08-21 Thread Neil Armstrong
This fixes the following DT schemas check errors: meson-gxl-s805x-libretech-ac.dt.yaml: spi@8c80: compatible:0: 'amlogic,meson-gx-spifc' is not one of ['amlogic,meson6-spifc', 'amlogic,meson-gxbb-spifc'] Signed-off-by: Neil Armstrong Reviewed-by: Martin Blumenstingl ---

Re: [PATCH net-next] net: ethernet: ti: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread Grygorii Strashko
On 21/08/2019 15:48, YueHaibing wrote: Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/net/ethernet/ti/cpsw.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)

Re: [ANNOUNCE] v5.2.9-rt3

2019-08-21 Thread Alexandre Belloni
On 21/08/2019 15:25:54+0200, Sebastian Andrzej Siewior wrote: > On 2019-08-20 17:44:18 [+0200], Alexandre Belloni wrote: > > Hi, > Hi, > > > On 19/08/2019 13:03:51+0200, Alexander Dahl wrote: > > > Hei hei, > > > > > > just tried to compile this v5.2.9-rt3 for SAMA5D27-SOM1-EK1 based on > > >

[PATCH v2 14/14] arm64: dts: meson: fix boards regulators states format

2019-08-21 Thread Neil Armstrong
This fixes the following DT schemas check errors: meson-gxbb-odroidc2.dt.yaml: gpio-regulator-tf_io: states:0: Additional items are not allowed (180, 1 were unexpected) meson-gxbb-odroidc2.dt.yaml: gpio-regulator-tf_io: states:0: [330, 0, 180, 1] is too long

[PATCH v2 12/14] arm64: dts: meson-gxbb-nanopi-k2: add missing model

2019-08-21 Thread Neil Armstrong
This fixes the following DT schemas check errors: meson-gxbb-nanopi-k2.dt.yaml: /: 'model' is a required property Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 09/14] arm64: dts: meson-axg: fix MHU compatible

2019-08-21 Thread Neil Armstrong
This fixes the following DT schemas check errors: meson-axg-s400.dt.yaml: mailbox@ff63c404: compatible:0: 'amlogic,meson-gx-mhu' is not one of ['amlogic,meson-gxbb-mhu'] Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2 03/14] arm64: dts: meson-gx: fix reset controller compatible

2019-08-21 Thread Neil Armstrong
This fixes the following DT schemas check errors: meson-gxbb-nanopi-k2.dt.yaml: reset-controller@4404: compatible:0: 'amlogic,meson-gx-reset' is not one of ['amlogic,meson8b-reset', 'amlogic,meson-gxbb-reset', 'amlogic,meson-axg-reset'] Signed-off-by: Neil Armstrong Reviewed-by: Martin

[PATCH v2 00/14] arm64: dts: meson: fixes following YAML bindings schemas conversion

2019-08-21 Thread Neil Armstrong
This is the first set of DT fixes following the first YAML bindings conversion at [1], [2] and [3]. After this set of fixes, the remaining errors are : meson-axg-s400.dt.yaml: sound: 'clocks' is a dependency of 'assigned-clocks' meson-g12a-sei510.dt.yaml: sound: 'clocks' is a dependency of

[PATCH v2 01/14] arm64: dts: meson: fix ethernet mac reg format

2019-08-21 Thread Neil Armstrong
This fixes the following DT schemas check errors: meson-axg-s400.dt.yaml: soc: ethernet@ff3f:reg:0: [0, 4282318848, 0, 65536, 0, 4284695872, 0, 8] is too long meson-axg-s400.dt.yaml: ethernet@ff3f: reg: [[0, 4282318848, 0, 65536, 0, 4284695872, 0, 8]] is too short

RE: [EXT] Re: [Patch v4 1/3] dt-bindings: spi: spi-fsl-qspi: Add ls2080a compatibility string to bindings

2019-08-21 Thread Ashish Kumar
> -Original Message- > From: Mark Brown > Sent: Wednesday, August 21, 2019 4:37 PM > To: Ashish Kumar > Cc: linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; > devicet...@vger.kernel.org; robh...@kernel.org; mark.rutl...@arm.com; > linux-n...@vger.kernel.org; Kuldeep Singh >

[PATCH v3 3/4] dt-bindings: iio: adc: Migrate AD7606 documentation to yaml

2019-08-21 Thread Beniamin Bia
The documentation for ad7606 was migrated to yaml. Signed-off-by: Beniamin Bia --- Changes in v3: -nothing changed .../bindings/iio/adc/adi,ad7606.txt | 66 - .../bindings/iio/adc/adi,ad7606.yaml | 134 ++ MAINTAINERS

[PATCH v3 2/4] MAINTAINERS: Add Beniamin Bia for AD7606 driver

2019-08-21 Thread Beniamin Bia
Add Beniamin Bia as maintainer for AD7606 driver. Signed-off-by: Beniamin Bia --- Changes in v3: -nothing changed MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index ad498428b38c..052d7a8591fb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -895,6

[PATCH v3 1/4] iio: adc: ad7606: Add support for AD7606B ADC

2019-08-21 Thread Beniamin Bia
From: Stefan Popa The AD7606B is a 16-bit ADC that supports simultaneous sampling of 8 channels. It is pin compatible to AD7606, but adds extra modes by writing to the register map. The AD7606B can be configured to work in software mode by setting all oversampling pins to high. This mode is

[PATCH v3 4/4] dt-bindings: iio: adc: Add AD7606B ADC documentation

2019-08-21 Thread Beniamin Bia
Documentation for AD7606B Analog to Digital Converter and software mode was added. Signed-off-by: Beniamin Bia --- Changes in v3: -nothing changed Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v3 2/4] backlight: Expose brightness curve type through sysfs

2019-08-21 Thread Daniel Thompson
On Tue, Aug 20, 2019 at 04:49:21PM +0200, Daniel Vetter wrote: > On Mon, Aug 19, 2019 at 11:50 AM Daniel Thompson > wrote: > > On Mon, Aug 19, 2019 at 07:46:28AM +0200, Uwe Kleine-König wrote: > > > And the big upside is that in the end (i.e. when all kernel drivers and > > > userspace

[PATCH v2 1/1] netfilter: nf_tables: fib: Drop IPV6 packages if IPv6 is disabled on boot

2019-08-21 Thread Leonardo Bras
If IPv6 is disabled on boot (ipv6.disable=1), but nft_fib_inet ends up dealing with a IPv6 package, it causes a kernel panic in fib6_node_lookup_1(), crashing in bad_page_fault. The panic is caused by trying to deference a very low address (0x38 in ppc64le), due to ipv6.fib6_main_tbl = NULL. BUG:

Re: [PATCH 1/1] netfilter: nf_tables: fib: Drop IPV6 packages if IPv6 is disabled on boot

2019-08-21 Thread Leonardo Bras
On Wed, 2019-08-21 at 11:58 +0200, Pablo Neira Ayuso wrote: > On Tue, Aug 20, 2019 at 01:15:58PM -0300, Leonardo Bras wrote: > > On Tue, 2019-08-20 at 07:36 +0200, Florian Westphal wrote: > > > Wouldn't fib_netdev.c have the same problem? > > Probably, but I haven't hit this issue yet. > > > > >

Re: [PATCH V3 2/4] watchdog: Add i.MX7ULP watchdog support

2019-08-21 Thread Guenter Roeck
On Tue, Aug 20, 2019 at 10:07:56PM -0400, Anson Huang wrote: > The i.MX7ULP Watchdog Timer (WDOG) module is an independent timer > that is available for system use. > It provides a safety feature to ensure that software is executing > as planned and that the CPU is not stuck in an infinite loop or

Re: kernel panic in 5.3-rc5, nfsd_reply_cache_stats_show+0x11

2019-08-21 Thread J. Bruce Fields
Probably just needs the following. I've been slow to get some bugfixes upstream, sorry--I'll go send a pull request now --b. commit 78e70e780b28 Author: He Zhe Date: Tue Aug 6 17:41:04 2019 +0800 nfsd4: Fix kernel crash when reading proc file reply_cache_stats

Re: [PATCH v3 3/3] clocksource/drivers/ostm: Use unique device name instead of ostm

2019-08-21 Thread Simon Horman
On Fri, Aug 16, 2019 at 03:18:06PM +0200, Geert Uytterhoeven wrote: > Hi Simon, > > On Fri, Aug 16, 2019 at 3:11 PM Simon Horman wrote: > > On Wed, Aug 07, 2019 at 10:46:35AM +0200, Geert Uytterhoeven wrote: > > > Currently all OSTM devices are called "ostm", also in kernel messages. > > > > > >

Re: [PATCH 12/14] arm64: dts: meson-gxbb-nanopi-k2: add missing model

2019-08-21 Thread Neil Armstrong
On 20/08/2019 22:25, Martin Blumenstingl wrote: > On Wed, Aug 14, 2019 at 4:33 PM Neil Armstrong > wrote: >> >> This fixes the following DT schemas check errors: >> meson-gxbb-nanopi-k2.dt.yaml: /: 'model' is a required property >> >> Signed-off-by: Neil Armstrong >> --- >>

Re: [PATCH 11/14] arm64: dts: meson-g12a-x96-max: fix compatible

2019-08-21 Thread Neil Armstrong
On 20/08/2019 22:32, Martin Blumenstingl wrote: > On Wed, Aug 14, 2019 at 4:33 PM Neil Armstrong > wrote: >> >> This fixes the following DT schemas check errors: >> meson-g12a-x96-max.dt.yaml: /: compatible: ['amediatech,x96-max', >> 'amlogic,u200', 'amlogic,g12a'] is not valid under any of the

Re: [PATCH 08/14] arm64: dts: meson-gxl: fix internal phy compatible

2019-08-21 Thread Neil Armstrong
On 20/08/2019 22:38, Martin Blumenstingl wrote: > adding Jerome > > On Wed, Aug 14, 2019 at 4:31 PM Neil Armstrong > wrote: >> >> This fixes the following DT schemas check errors: >> meson-gxl-s805x-libretech-ac.dt.yaml: ethernet-phy@8: compatible: >> ['ethernet-phy-id0181.4400',

Re: [RFC PATCH 0/2] Add predictive memory reclamation and compaction

2019-08-21 Thread Michal Hocko
On Thu 15-08-19 14:51:04, Khalid Aziz wrote: > Hi Michal, > > The smarts for tuning these knobs can be implemented in userspace and > more knobs added to allow for what is missing today, but we get back to > the same issue as before. That does nothing to make kernel self-tuning > and adds

Re: [PATCH][next] PCI: tegra: tegra194: fix phy_count less than zero check

2019-08-21 Thread Lorenzo Pieralisi
On Wed, Aug 21, 2019 at 01:01:23PM +0100, Colin King wrote: > From: Colin Ian King > > The check for pcie->phy_count < 0 is always false because phy_count > is an unsigned int and can never be less than zero. Fix this by > assigning ret to the return from of_property_count_strings and > checking

Re: [PATCH 02/14] arm64: dts: meson-gx: drop the vpu dmc memory cell

2019-08-21 Thread Neil Armstrong
On 20/08/2019 22:28, Martin Blumenstingl wrote: > On Wed, Aug 14, 2019 at 4:31 PM Neil Armstrong > wrote: >> >> This fixes the following DT schemas check errors: >> meson-gxl-s805x-libretech-ac.dt.yaml: vpu@d010: reg-names: Additional >> items are not allowed ('dmc' was unexpected) >>

Re: [RT PATCH 3/3] hrtimer: Prevent using uninitialized spin_lock in hrtimer_grab_expiry_lock()

2019-08-21 Thread Thomas Gleixner
On Wed, 21 Aug 2019, Julien Grall wrote: > migration_base is used as a placeholder when an hrtimer is switching > between base (see switch_hrtimer_timer_base). It is possible > theoritically possible to have timer->base equal to migration_base. > > Even if it is a placeholder, it would pass all

Re: [PATCH net-next] net: stmmac: dwmac-meson8b: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread Neil Armstrong
On 21/08/2019 15:51, YueHaibing wrote: > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing > --- > drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c | 4 +--- > 1 file changed, 1

Re: [alsa-devel] [PATCH 00/17] soundwire: fixes for 5.4

2019-08-21 Thread Pierre-Louis Bossart
On 8/21/19 4:07 AM, Vinod Koul wrote: On 05-08-19, 19:55, Pierre-Louis Bossart wrote: This series provides an update on the initial RFC. Debugfs and Intel updates will be provided in follow-up patches. The order of patches was changed since the RFC so detailed change logs are provided below.

Re: [PATCH net-next] net: stmmac: dwmac-meson: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread Neil Armstrong
On 21/08/2019 15:54, YueHaibing wrote: > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing > --- > drivers/net/ethernet/stmicro/stmmac/dwmac-meson.c | 4 +--- > 1 file changed, 1

Re: [RT PATCH 1/3] hrtimer: Use READ_ONCE to access timer->base in hrimer_grab_expiry_lock()

2019-08-21 Thread Sebastian Andrzej Siewior
On 2019-08-21 15:50:33 [+0200], Thomas Gleixner wrote: > On Wed, 21 Aug 2019, Sebastian Andrzej Siewior wrote: > > > On 2019-08-21 10:24:07 [+0100], Julien Grall wrote: > > > The update to timer->base is protected by the base->cpu_base->lock(). > > > However, hrtimer_grab_expirty_lock() does not

[PATCH net-next] net: stmmac: dwc-qos: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH v10 19/23] memory: mtk-smi: Invoke pm runtime_callback to enable clocks

2019-08-21 Thread Yong Wu
This patch only move the clk_prepare_enable and config_port into the runtime suspend/resume callback. It doesn't change the code content and sequence. This is a preparing patch for adjusting SMI_BUS_SEL for mt8183. (SMI_BUS_SEL need to be restored after smi-common resume every time.) Also it

[PATCH net-next] net: stmmac: dwmac-anarion: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/net/ethernet/stmicro/stmmac/dwmac-anarion.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH v10 13/23] iommu/mediatek: Refine protect memory definition

2019-08-21 Thread Yong Wu
The protect memory setting is a little different in the different SoCs. In the register REG_MMU_CTRL_REG(0x110), the TF_PROT(translation fault protect) shift bit is normally 4 while it shift 5 bits only in the mt8173. This patch delete the complex MACRO and use a common if-else instead.

Re: [PATCH 1/1] Fix: trace sched switch start/stop racy updates

2019-08-21 Thread Paul E. McKenney
On Wed, Aug 21, 2019 at 02:32:48PM +0100, Will Deacon wrote: > On Wed, Aug 21, 2019 at 06:23:10AM -0700, Paul E. McKenney wrote: > > On Wed, Aug 21, 2019 at 11:32:01AM +0100, Will Deacon wrote: > > > void bar(u64 *x) > > > { > > > *(volatile u64 *)x = 0xabcdef10abcdef10; > > > } > > > > > >

[PATCH net-next] net: stmmac: dwmac-meson: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/net/ethernet/stmicro/stmmac/dwmac-meson.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH net-next] net: stmmac: dwmac-meson8b: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

Re: [RT PATCH 1/3] hrtimer: Use READ_ONCE to access timer->base in hrimer_grab_expiry_lock()

2019-08-21 Thread Thomas Gleixner
On Wed, 21 Aug 2019, Sebastian Andrzej Siewior wrote: > On 2019-08-21 10:24:07 [+0100], Julien Grall wrote: > > The update to timer->base is protected by the base->cpu_base->lock(). > > However, hrtimer_grab_expirty_lock() does not access it with the lock. > > > > So it would theorically be

Re: [RT PATCH 2/3] hrtimer: Don't grab the expiry lock for non-soft hrtimer

2019-08-21 Thread Sebastian Andrzej Siewior
On 2019-08-21 10:24:08 [+0100], Julien Grall wrote: > diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c > index b869e816e96a..119414a2f59c 100644 > --- a/kernel/time/hrtimer.c > +++ b/kernel/time/hrtimer.c > @@ -934,7 +934,7 @@ void hrtimer_grab_expiry_lock(const struct hrtimer *timer) >

Re: [PATCH 1/5] dt-bindings: power: add Amlogic Everything-Else power domains bindings

2019-08-21 Thread Rob Herring
On Wed, Aug 21, 2019 at 6:41 AM Neil Armstrong wrote: > > Add the bindings for the Amlogic Everything-Else power domains, > controlling the Everything-Else peripherals power domains. > > The bindings targets the Amlogic G12A and SM1 compatible SoCs, > support for earlier SoCs will be added later.

[PATCH net-next] net: systemport: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/net/ethernet/broadcom/bcmsysport.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

Re: [RT PATCH 1/3] hrtimer: Use READ_ONCE to access timer->base in hrimer_grab_expiry_lock()

2019-08-21 Thread Sebastian Andrzej Siewior
On 2019-08-21 10:24:07 [+0100], Julien Grall wrote: > The update to timer->base is protected by the base->cpu_base->lock(). > However, hrtimer_grab_expirty_lock() does not access it with the lock. > > So it would theorically be possible to have timer->base changed under > our feet. We need to

[PATCH net-next] net: bcmgenet: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/net/ethernet/broadcom/genet/bcmgenet.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH net-next] pxa168_eth: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/net/ethernet/marvell/pxa168_eth.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH net-next] net: mvneta: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/net/ethernet/marvell/mvneta_bm.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

Re: [PATCH v3 1/2] dt-bindings: phy: intel-emmc-phy: Add YAML schema for LGM eMMC PHY

2019-08-21 Thread Rob Herring
On Wed, Aug 21, 2019 at 5:11 AM Ramuthevar,Vadivel MuruganX wrote: > > From: Ramuthevar Vadivel Murugan > > Add a YAML schema to use the host controller driver with the > eMMC PHY on Intel's Lightning Mountain SoC. > > Signed-off-by: Ramuthevar Vadivel Murugan > > --- > changes in v3: > -

Re: [PATCH 1/1] Fix: trace sched switch start/stop racy updates

2019-08-21 Thread Will Deacon
On Wed, Aug 21, 2019 at 06:23:10AM -0700, Paul E. McKenney wrote: > On Wed, Aug 21, 2019 at 11:32:01AM +0100, Will Deacon wrote: > > void bar(u64 *x) > > { > > *(volatile u64 *)x = 0xabcdef10abcdef10; > > } > > > > then I get: > > > > bar: > > mov w1, 61200 > > movkw1,

Re: [PATCH net-next] amd-xgbe: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread Lendacky, Thomas
On 8/21/19 7:32 AM, YueHaibing wrote: > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Acked-by: Tom Lendacky > --- > drivers/net/ethernet/amd/xgbe/xgbe-platform.c | 19

Re: [PATCH v3 2/9] soc: samsung: Convert exynos-chipid driver to use the regmap API

2019-08-21 Thread Bartlomiej Zolnierkiewicz
On 8/21/19 2:16 PM, Krzysztof Kozlowski wrote: > On Wed, 21 Aug 2019 at 13:51, Bartlomiej Zolnierkiewicz > wrote: > Following this change, I am now seeing the above error on our Tegra > boards where this driver is enabled. This is triggering a kernel > warnings test we have to fail.

Re: [patch 04/44] posix-cpu-timers: Fixup stale comment

2019-08-21 Thread Thomas Gleixner
On Wed, 21 Aug 2019, Frederic Weisbecker wrote: > On Tue, Aug 20, 2019 at 11:43:26PM +0200, Thomas Gleixner wrote: > > On Tue, 20 Aug 2019, Frederic Weisbecker wrote: > > No it can't do that throughout posix_cpu_timer_del() because exit_itimers() > > can only look at current->signal->posix_timers

[PATCH net-next] net: fec: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/net/ethernet/freescale/fec_main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

Re: KASAN: use-after-free Read in hidraw_ioctl

2019-08-21 Thread syzbot
Hello, syzbot has tested the proposed patch but the reproducer still triggered crash: KASAN: use-after-free Read in hidraw_ioctl == BUG: KASAN: use-after-free in hidraw_ioctl+0x609/0xaf0 drivers/hid/hidraw.c:380 Read of size

Re: [PATCH v1 03/63] Input: atmel_mxt_ts - only read messages in mxt_acquire_irq() when necessary

2019-08-21 Thread Jiada Wang
Hi Dmitry On 2019/08/17 2:16, Dmitry Torokhov wrote: On Fri, Aug 16, 2019 at 05:28:52PM +0900, Jiada Wang wrote: From: Nick Dyer The workaround of reading all messages until an invalid is received is a way of forcing the CHG line high, which means that when using edge-triggered interrupts

<    2   3   4   5   6   7   8   9   10   >