[PATCH v2 2/2] ARM: dts: imx: Use new CODEC reset pin name

2018-09-04 Thread Andrew F. Davis
The correct DT property for specifying a GPIO used for reset is "reset-gpios", the driver now accepts this name use this here. Signed-off-by: Andrew F. Davis --- Changes from v1: - Remove "fix" from commit message arch/arm/boot/dts/imx6qdl-gw5903.dtsi | 2 +- 1 file changed, 1 insertion(+),

[PATCH v2 1/2] ARM: dts: imx6: RDU2: Use new CODEC reset pin name

2018-09-04 Thread Andrew F. Davis
The correct DT property for specifying a GPIO used for reset is "reset-gpios", the driver now accepts this name use this here. Signed-off-by: Andrew F. Davis --- Changes from v1: - Remove "fix" from commit message arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 4 ++-- 1 file changed, 2

Re: [RFC] perf tool improvement requests

2018-09-04 Thread Peter Zijlstra
On Tue, Sep 04, 2018 at 10:42:18AM -0300, Arnaldo Carvalho de Melo wrote: > Then I need to get the DW_AT_location stuff parsed in pahole, so > that with those offsets (second column, ending with :) with hits (first > column, there its local period, but we can ask for some specific metric >

Re: [RFC] perf tool improvement requests

2018-09-04 Thread Peter Zijlstra
On Tue, Sep 04, 2018 at 10:42:18AM -0300, Arnaldo Carvalho de Melo wrote: > Then I need to get the DW_AT_location stuff parsed in pahole, so > that with those offsets (second column, ending with :) with hits (first > column, there its local period, but we can ask for some specific metric >

Re: [PATCH v5 2/4] dt: bindings: Document ZynqMP DDRC in Synopsys documentation

2018-09-04 Thread Rob Herring
On Fri, Aug 31, 2018 at 06:57:48PM +0530, Manish Narani wrote: > Add information of ZynqMP DDRC which reports the single bit errors that > are corrected and the double bit errors that are detected. > > Signed-off-by: Manish Narani > --- > .../bindings/memory-controllers/synopsys.txt | 27

Re: [PATCH v5 2/4] dt: bindings: Document ZynqMP DDRC in Synopsys documentation

2018-09-04 Thread Rob Herring
On Fri, Aug 31, 2018 at 06:57:48PM +0530, Manish Narani wrote: > Add information of ZynqMP DDRC which reports the single bit errors that > are corrected and the double bit errors that are detected. > > Signed-off-by: Manish Narani > --- > .../bindings/memory-controllers/synopsys.txt | 27

[PATCH] mfd: arizona: make array mclk_name static, shrinks object size

2018-09-04 Thread Colin King
From: Colin Ian King Don't populate the array mclk_name on the stack but instead make it static. Makes the object code smaller by 23 bytes: Before: textdata bss dec hex filename 38050 11604 64 49718c236 linux/drivers/mfd/arizona-core.o After: textdata

[PATCH] mfd: arizona: make array mclk_name static, shrinks object size

2018-09-04 Thread Colin King
From: Colin Ian King Don't populate the array mclk_name on the stack but instead make it static. Makes the object code smaller by 23 bytes: Before: textdata bss dec hex filename 38050 11604 64 49718c236 linux/drivers/mfd/arizona-core.o After: textdata

[PATCH 3/3] dt-bindings: adxl372: Document the adxl372 I2C bindings

2018-09-04 Thread Stefan Popa
The adxl372 is designed to communicate in either SPI or I2C protocol. This patch adds the documentation of device tree bindings for adxl372 I2C. Signed-off-by: Stefan Popa --- Documentation/devicetree/bindings/iio/accel/adxl372.txt | 15 +-- 1 file changed, 13 insertions(+), 2

[PATCH 3/3] dt-bindings: adxl372: Document the adxl372 I2C bindings

2018-09-04 Thread Stefan Popa
The adxl372 is designed to communicate in either SPI or I2C protocol. This patch adds the documentation of device tree bindings for adxl372 I2C. Signed-off-by: Stefan Popa --- Documentation/devicetree/bindings/iio/accel/adxl372.txt | 15 +-- 1 file changed, 13 insertions(+), 2

[PATCH 2/3] iio: adxl372: Add support for I2C communication

2018-09-04 Thread Stefan Popa
The adxl372 is designed to communicate in either SPI or I2C protocol. It autodetects the format being used, requiring no configuration control to select the format. Signed-off-by: Stefan Popa --- MAINTAINERS | 1 + drivers/iio/accel/Kconfig | 11

[PATCH 2/3] iio: adxl372: Add support for I2C communication

2018-09-04 Thread Stefan Popa
The adxl372 is designed to communicate in either SPI or I2C protocol. It autodetects the format being used, requiring no configuration control to select the format. Signed-off-by: Stefan Popa --- MAINTAINERS | 1 + drivers/iio/accel/Kconfig | 11

Re: [PATCH 3/4] PCI/portdrv: Check platform supported service IRQ's

2018-09-04 Thread Bjorn Helgaas
On Fri, Aug 10, 2018 at 09:09:39PM +0530, Bharat Kumar Gogada wrote: > Platforms may have dedicated IRQ lines for PCIe services like > AER/PME etc., check for such IRQ lines. > Check mask and fill legacy irq line for services other than Capitalize "IRQ" consistently in English text like this.

Re: [PATCH 3/4] PCI/portdrv: Check platform supported service IRQ's

2018-09-04 Thread Bjorn Helgaas
On Fri, Aug 10, 2018 at 09:09:39PM +0530, Bharat Kumar Gogada wrote: > Platforms may have dedicated IRQ lines for PCIe services like > AER/PME etc., check for such IRQ lines. > Check mask and fill legacy irq line for services other than Capitalize "IRQ" consistently in English text like this.

Re: [RFC] perf tool improvement requests

2018-09-04 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 04, 2018 at 03:58:35PM +0200, Jiri Olsa escreveu: > On Tue, Sep 04, 2018 at 03:53:25PM +0200, Peter Zijlstra wrote: > > On Tue, Sep 04, 2018 at 10:42:18AM -0300, Arnaldo Carvalho de Melo wrote: > > > So, use 'c2c record' to get the samples: > > IIRC that uses numa events and is

Re: [RFC] perf tool improvement requests

2018-09-04 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 04, 2018 at 03:58:35PM +0200, Jiri Olsa escreveu: > On Tue, Sep 04, 2018 at 03:53:25PM +0200, Peter Zijlstra wrote: > > On Tue, Sep 04, 2018 at 10:42:18AM -0300, Arnaldo Carvalho de Melo wrote: > > > So, use 'c2c record' to get the samples: > > IIRC that uses numa events and is

[RFC PATCH v2] irqchip/gic-v3: Add quirk for msm8996 secured registers

2018-09-04 Thread Srinivas Kandagatla
Access to GICR_WAKER is restricted on msm8996 SoC in Hypervisor. Its been more than 2 years of wait for this to be fixed, which has no hopes to be fixed. This change was introduced for the "lead device" on msm8996 platform. It looks like all publicly available msm8996 devices have this

[RFC PATCH v2] irqchip/gic-v3: Add quirk for msm8996 secured registers

2018-09-04 Thread Srinivas Kandagatla
Access to GICR_WAKER is restricted on msm8996 SoC in Hypervisor. Its been more than 2 years of wait for this to be fixed, which has no hopes to be fixed. This change was introduced for the "lead device" on msm8996 platform. It looks like all publicly available msm8996 devices have this

Re: [PATCH 0/8] gpio-addr-flash: Support for device-tree and cleanup

2018-09-04 Thread Ricardo Ribalda Delgado
Hi! Any other comment before I resubmit v2 tomorrow from https://github.com/ribalda/linux/tree/gpio-addr-flash-v2 So far the diff for v2 I have >From Boris Brezillon: -Add Fixes and cc:stable >From kbuild: - Fix warnings - Rebase Thanks! On Tue, Aug 21, 2018 at 4:31 PM Ricardo Ribalda

Re: [PATCH 0/8] gpio-addr-flash: Support for device-tree and cleanup

2018-09-04 Thread Ricardo Ribalda Delgado
Hi! Any other comment before I resubmit v2 tomorrow from https://github.com/ribalda/linux/tree/gpio-addr-flash-v2 So far the diff for v2 I have >From Boris Brezillon: -Add Fixes and cc:stable >From kbuild: - Fix warnings - Rebase Thanks! On Tue, Aug 21, 2018 at 4:31 PM Ricardo Ribalda

Re: [PATCH v5 06/16] x86/nops: init ideal_nops for Hygon

2018-09-04 Thread Borislav Petkov
On Wed, Aug 29, 2018 at 08:44:07PM +0800, Pu Wen wrote: > The ideal_nops for Dhyana processors should be p6_nops. > > Signed-off-by: Pu Wen > --- > arch/x86/kernel/alternative.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/arch/x86/kernel/alternative.c

Re: [PATCH v5 06/16] x86/nops: init ideal_nops for Hygon

2018-09-04 Thread Borislav Petkov
On Wed, Aug 29, 2018 at 08:44:07PM +0800, Pu Wen wrote: > The ideal_nops for Dhyana processors should be p6_nops. > > Signed-off-by: Pu Wen > --- > arch/x86/kernel/alternative.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/arch/x86/kernel/alternative.c

Re: [PATCH v6 1/2] mm: migration: fix migration of huge PMD shared pages

2018-09-04 Thread Jerome Glisse
On Mon, Sep 03, 2018 at 07:56:54AM +0200, Michal Hocko wrote: > On Thu 30-08-18 14:39:44, Jerome Glisse wrote: > > On Thu, Aug 30, 2018 at 11:05:16AM -0700, Mike Kravetz wrote: > > > On 08/30/2018 09:57 AM, Jerome Glisse wrote: > > > > On Thu, Aug 30, 2018 at 06:19:52PM +0200, Michal Hocko wrote:

Re: [PATCH v6 1/2] mm: migration: fix migration of huge PMD shared pages

2018-09-04 Thread Jerome Glisse
On Mon, Sep 03, 2018 at 07:56:54AM +0200, Michal Hocko wrote: > On Thu 30-08-18 14:39:44, Jerome Glisse wrote: > > On Thu, Aug 30, 2018 at 11:05:16AM -0700, Mike Kravetz wrote: > > > On 08/30/2018 09:57 AM, Jerome Glisse wrote: > > > > On Thu, Aug 30, 2018 at 06:19:52PM +0200, Michal Hocko wrote:

Re: [PATCH] mm: hugepage: mark splitted page dirty when needed

2018-09-04 Thread Zi Yan
On 4 Sep 2018, at 4:01, Kirill A. Shutemov wrote: > On Tue, Sep 04, 2018 at 03:55:10PM +0800, Peter Xu wrote: >> When splitting a huge page, we should set all small pages as dirty if >> the original huge page has the dirty bit set before. Otherwise we'll >> lose the original dirty bit. > > We

Re: [PATCH] mm: hugepage: mark splitted page dirty when needed

2018-09-04 Thread Zi Yan
On 4 Sep 2018, at 4:01, Kirill A. Shutemov wrote: > On Tue, Sep 04, 2018 at 03:55:10PM +0800, Peter Xu wrote: >> When splitting a huge page, we should set all small pages as dirty if >> the original huge page has the dirty bit set before. Otherwise we'll >> lose the original dirty bit. > > We

Re: [RFC] perf tool improvement requests

2018-09-04 Thread Jiri Olsa
On Tue, Sep 04, 2018 at 03:53:25PM +0200, Peter Zijlstra wrote: > On Tue, Sep 04, 2018 at 10:42:18AM -0300, Arnaldo Carvalho de Melo wrote: > > So, use 'c2c record' to get the samples: > > IIRC that uses numa events and is completely useless. I guess perf record on any other event would work in

Re: [RFC] perf tool improvement requests

2018-09-04 Thread Jiri Olsa
On Tue, Sep 04, 2018 at 03:53:25PM +0200, Peter Zijlstra wrote: > On Tue, Sep 04, 2018 at 10:42:18AM -0300, Arnaldo Carvalho de Melo wrote: > > So, use 'c2c record' to get the samples: > > IIRC that uses numa events and is completely useless. I guess perf record on any other event would work in

Re: [PATCH 3/3] ASoC: qdsp6: q6asm-dai: Add support to compress offload

2018-09-04 Thread Vinod
On 03-09-18, 13:34, Srinivas Kandagatla wrote: > +static void compress_event_handler(uint32_t opcode, uint32_t token, > +uint32_t *payload, void *priv) > +{ > + struct q6asm_dai_rtd *prtd = priv; > + struct snd_compr_stream *substream = prtd->cstream; > +

Re: [PATCH] ASoC: tlv320aic31xx: Add MICBIAS off setting

2018-09-04 Thread Andrew F. Davis
On 09/03/2018 06:26 AM, Mark Brown wrote: > On Fri, Aug 31, 2018 at 01:05:07PM -0500, Andrew F. Davis wrote: >> Leaving microphone bias off is a valid setting and even used in the DT >> binding document example. Add this setting here and document the same. >> Although it may not make much sense to

Re: [PATCH 3/3] ASoC: qdsp6: q6asm-dai: Add support to compress offload

2018-09-04 Thread Vinod
On 03-09-18, 13:34, Srinivas Kandagatla wrote: > +static void compress_event_handler(uint32_t opcode, uint32_t token, > +uint32_t *payload, void *priv) > +{ > + struct q6asm_dai_rtd *prtd = priv; > + struct snd_compr_stream *substream = prtd->cstream; > +

Re: [PATCH] ASoC: tlv320aic31xx: Add MICBIAS off setting

2018-09-04 Thread Andrew F. Davis
On 09/03/2018 06:26 AM, Mark Brown wrote: > On Fri, Aug 31, 2018 at 01:05:07PM -0500, Andrew F. Davis wrote: >> Leaving microphone bias off is a valid setting and even used in the DT >> binding document example. Add this setting here and document the same. >> Although it may not make much sense to

Re: [RFC] perf tool improvement requests

2018-09-04 Thread Peter Zijlstra
On Tue, Sep 04, 2018 at 10:42:18AM -0300, Arnaldo Carvalho de Melo wrote: > So, use 'c2c record' to get the samples: IIRC that uses numa events and is completely useless.

Re: [RFC] perf tool improvement requests

2018-09-04 Thread Peter Zijlstra
On Tue, Sep 04, 2018 at 10:42:18AM -0300, Arnaldo Carvalho de Melo wrote: > So, use 'c2c record' to get the samples: IIRC that uses numa events and is completely useless.

Re: [PATCH 4/4] PCI: xilinx-nwl: Add method to setup_platform_service_irq hook

2018-09-04 Thread Bjorn Helgaas
On Fri, Aug 10, 2018 at 09:09:40PM +0530, Bharat Kumar Gogada wrote: > Add nwl_setup_service_irqs hook to setup_platform_service_irq IRQs to > register platform provided IRQ number to kernel AER service. > > Signed-off-by: Bharat Kumar Gogada > --- > drivers/pci/controller/pcie-xilinx-nwl.c |

Re: [PATCH 4/4] PCI: xilinx-nwl: Add method to setup_platform_service_irq hook

2018-09-04 Thread Bjorn Helgaas
On Fri, Aug 10, 2018 at 09:09:40PM +0530, Bharat Kumar Gogada wrote: > Add nwl_setup_service_irqs hook to setup_platform_service_irq IRQs to > register platform provided IRQ number to kernel AER service. > > Signed-off-by: Bharat Kumar Gogada > --- > drivers/pci/controller/pcie-xilinx-nwl.c |

Re: [PATCH v4 14/16] sched/core: uclamp: request CAP_SYS_ADMIN by default

2018-09-04 Thread Juri Lelli
Hi, On 28/08/18 14:53, Patrick Bellasi wrote: > The number of clamp groups supported is limited and defined at compile > time. However, a malicious user can currently ask for many different Even if not malicious.. :-) > clamp values thus consuming all the available clamp groups. > > Since on

Re: [PATCH v4 14/16] sched/core: uclamp: request CAP_SYS_ADMIN by default

2018-09-04 Thread Juri Lelli
Hi, On 28/08/18 14:53, Patrick Bellasi wrote: > The number of clamp groups supported is limited and defined at compile > time. However, a malicious user can currently ask for many different Even if not malicious.. :-) > clamp values thus consuming all the available clamp groups. > > Since on

Re: REGRESSION: boot stalls on several old dual core Intel CPUs

2018-09-04 Thread Niklas Cassel
On Mon, Sep 03, 2018 at 11:33:05AM +0200, Peter Zijlstra wrote: > On Mon, Sep 03, 2018 at 10:54:23AM +0200, Peter Zijlstra wrote: > > On Mon, Sep 03, 2018 at 09:38:15AM +0200, Thomas Gleixner wrote: > > > On Mon, 3 Sep 2018, Peter Zijlstra wrote: > > > > On Sat, Sep 01, 2018 at 11:51:26AM +0930,

Re: REGRESSION: boot stalls on several old dual core Intel CPUs

2018-09-04 Thread Niklas Cassel
On Mon, Sep 03, 2018 at 11:33:05AM +0200, Peter Zijlstra wrote: > On Mon, Sep 03, 2018 at 10:54:23AM +0200, Peter Zijlstra wrote: > > On Mon, Sep 03, 2018 at 09:38:15AM +0200, Thomas Gleixner wrote: > > > On Mon, 3 Sep 2018, Peter Zijlstra wrote: > > > > On Sat, Sep 01, 2018 at 11:51:26AM +0930,

Re: [RFC] perf tool improvement requests

2018-09-04 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 04, 2018 at 09:10:49AM +0200, Peter Zijlstra escreveu: > On Mon, Sep 03, 2018 at 07:45:48PM -0700, Stephane Eranian wrote: > > A few weeks ago, you had asked if I had more requests for the perf tool. > I have one long standing one; that is IP based data structure > annotation. >

Re: [RFC] perf tool improvement requests

2018-09-04 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 04, 2018 at 09:10:49AM +0200, Peter Zijlstra escreveu: > On Mon, Sep 03, 2018 at 07:45:48PM -0700, Stephane Eranian wrote: > > A few weeks ago, you had asked if I had more requests for the perf tool. > I have one long standing one; that is IP based data structure > annotation. >

Re: [PATCH v2] arm64: dts: ti: k3-am65: Change #address-cells and #size-cells of interconnect to 2

2018-09-04 Thread Nishanth Menon
On 15:22-20180903, Kishon Vijay Abraham I wrote: > AM65 has two PCIe controllers and each PCIe controller has '2' address > spaces one within the 4GB address space of the SoC and the other above > the 4GB address space of the SoC (cbass_main) in addition to the > register space. The size of the

Re: [PATCH v2] arm64: dts: ti: k3-am65: Change #address-cells and #size-cells of interconnect to 2

2018-09-04 Thread Nishanth Menon
On 15:22-20180903, Kishon Vijay Abraham I wrote: > AM65 has two PCIe controllers and each PCIe controller has '2' address > spaces one within the 4GB address space of the SoC and the other above > the 4GB address space of the SoC (cbass_main) in addition to the > register space. The size of the

Re: [PATCH 1/2] ARM: dts: imx6: RDU2: Fix the audio CODEC's reset pin

2018-09-04 Thread Andrew F. Davis
On 09/02/2018 11:54 PM, Shawn Guo wrote: > On Fri, Aug 31, 2018 at 02:17:31PM -0500, Andrew F. Davis wrote: >> The correct DT property for specifying a GPIO used for reset >> is "reset-gpios", fix this here. >> >> Fixes: d763762e3b58 ("ARM: dts: imx6: add ZII RDU2 boards") > > This Fixes tag and

Re: [PATCH 1/2] ARM: dts: imx6: RDU2: Fix the audio CODEC's reset pin

2018-09-04 Thread Andrew F. Davis
On 09/02/2018 11:54 PM, Shawn Guo wrote: > On Fri, Aug 31, 2018 at 02:17:31PM -0500, Andrew F. Davis wrote: >> The correct DT property for specifying a GPIO used for reset >> is "reset-gpios", fix this here. >> >> Fixes: d763762e3b58 ("ARM: dts: imx6: add ZII RDU2 boards") > > This Fixes tag and

Re: [PATCH] Partially revert "HID: generic: create one input report per application type"

2018-09-04 Thread Benjamin Tissoires
On Tue, Sep 4, 2018 at 1:55 PM Benjamin Tissoires wrote: > > On Fri, Aug 31, 2018 at 11:36 AM Benjamin Tissoires > wrote: > > > > This partially reverts commit f07b3c1da92db108662f99417a212fc1eddc44d1. > > > > It looks like some mice are not correctly treated by > > HID_QUIRK_INPUT_PER_APP.

Re: [PATCH] Partially revert "HID: generic: create one input report per application type"

2018-09-04 Thread Benjamin Tissoires
On Tue, Sep 4, 2018 at 1:55 PM Benjamin Tissoires wrote: > > On Fri, Aug 31, 2018 at 11:36 AM Benjamin Tissoires > wrote: > > > > This partially reverts commit f07b3c1da92db108662f99417a212fc1eddc44d1. > > > > It looks like some mice are not correctly treated by > > HID_QUIRK_INPUT_PER_APP.

Re: [PATCH 1/3] ASoC: q6asm-dai: dt-bindings: Add support to compress dais

2018-09-04 Thread Vinod
On 03-09-18, 13:34, Srinivas Kandagatla wrote: > This patch adds board specific bindings required for dais, In particular > for compressed dais and dai direction. > > Board specific setup involves setting up some of dais as compressed dais > and also specify direction of any dai. Some of the dais

Re: [PATCH v5 05/16] x86/pmu: enable Hygon support to PMU infrastructure

2018-09-04 Thread Pu Wen
On 2018/9/4 18:48, Borislav Petkov wrote: On Wed, Aug 29, 2018 at 08:43:54PM +0800, Pu Wen wrote: Hygon PMU arch is similar to AMD Family 17h. To support Hygon PMU, the initialization flow for it just call amd_pmu_init() and change PMU name That sentence reads funny. Will rewrite this

Re: [PATCH 1/3] ASoC: q6asm-dai: dt-bindings: Add support to compress dais

2018-09-04 Thread Vinod
On 03-09-18, 13:34, Srinivas Kandagatla wrote: > This patch adds board specific bindings required for dais, In particular > for compressed dais and dai direction. > > Board specific setup involves setting up some of dais as compressed dais > and also specify direction of any dai. Some of the dais

Re: [PATCH v5 05/16] x86/pmu: enable Hygon support to PMU infrastructure

2018-09-04 Thread Pu Wen
On 2018/9/4 18:48, Borislav Petkov wrote: On Wed, Aug 29, 2018 at 08:43:54PM +0800, Pu Wen wrote: Hygon PMU arch is similar to AMD Family 17h. To support Hygon PMU, the initialization flow for it just call amd_pmu_init() and change PMU name That sentence reads funny. Will rewrite this

[PATCH 3/4] HID: core: fix grouping by application

2018-09-04 Thread Benjamin Tissoires
commit f07b3c1da92d ("HID: generic: create one input report per application type") was effectively the same as MULTI_INPUT: hidinput->report was never set, so hidinput_match_application() always returned null. Fix that by testing against the real application. Note that this breaks some old

[PATCH 2/4] HID: input: do not append a suffix if the name already has it

2018-09-04 Thread Benjamin Tissoires
Or it creates some weird input names like: "MI Dongle MI Wireless Mouse Mouse" Signed-off-by: Benjamin Tissoires --- drivers/hid/hid-input.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c index

[PATCH 1/4] HID: multitouch: fix Elan panels with 2 input modes declaration

2018-09-04 Thread Benjamin Tissoires
When implementing commit 7f81c8db5489 ("HID: multitouch: simplify the settings of the various features"), I wrongly removed a test that made sure we never try to set the second InputMode feature to something else than 0. This broke badly some recent Elan panels that now forget to send the click

[PATCH 4/4] HID: multitouch: simplify the application retrieval

2018-09-04 Thread Benjamin Tissoires
Now that the application is simply stored in struct hid_input, we can overwrite it in mt_input_mapping() for the faulty egalax and have a simpler suffix processing in mt_input_configured() Signed-off-by: Benjamin Tissoires --- drivers/hid/hid-multitouch.c | 72

[PATCH 3/4] HID: core: fix grouping by application

2018-09-04 Thread Benjamin Tissoires
commit f07b3c1da92d ("HID: generic: create one input report per application type") was effectively the same as MULTI_INPUT: hidinput->report was never set, so hidinput_match_application() always returned null. Fix that by testing against the real application. Note that this breaks some old

[PATCH 2/4] HID: input: do not append a suffix if the name already has it

2018-09-04 Thread Benjamin Tissoires
Or it creates some weird input names like: "MI Dongle MI Wireless Mouse Mouse" Signed-off-by: Benjamin Tissoires --- drivers/hid/hid-input.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c index

[PATCH 1/4] HID: multitouch: fix Elan panels with 2 input modes declaration

2018-09-04 Thread Benjamin Tissoires
When implementing commit 7f81c8db5489 ("HID: multitouch: simplify the settings of the various features"), I wrongly removed a test that made sure we never try to set the second InputMode feature to something else than 0. This broke badly some recent Elan panels that now forget to send the click

[PATCH 4/4] HID: multitouch: simplify the application retrieval

2018-09-04 Thread Benjamin Tissoires
Now that the application is simply stored in struct hid_input, we can overwrite it in mt_input_mapping() for the faulty egalax and have a simpler suffix processing in mt_input_configured() Signed-off-by: Benjamin Tissoires --- drivers/hid/hid-multitouch.c | 72

[PATCH 0/4] HID fixes

2018-09-04 Thread Benjamin Tissoires
Hi Jiri, there is no real link between those 4 commit but the fact that I wrote them today ;) 2 patches should at least be scheduled for v4.19: 1/4 and 3/4 Both are stable fixes for mistakes I made in v4.18. Patch 2 and 4 are just nice to have, so v4.20 should be fine. Cheers, Benjamin

[PATCH 0/4] HID fixes

2018-09-04 Thread Benjamin Tissoires
Hi Jiri, there is no real link between those 4 commit but the fact that I wrote them today ;) 2 patches should at least be scheduled for v4.19: 1/4 and 3/4 Both are stable fixes for mistakes I made in v4.18. Patch 2 and 4 are just nice to have, so v4.20 should be fine. Cheers, Benjamin

[PATCH v4] EDAC, ghes: use CPER module handles to locate DIMMs

2018-09-04 Thread Fan Wu
For platforms whose firmwares provide valid module handles (SMBIOS type 17) in error records, this patch uses the module handles to locate corresponding DIMMs and enables per-DIMM error counter update. Signed-off-by: Fan Wu Reviewed-by: Tyler Baicar Tested-by: Toshi Kani --- Changes from v3:

[PATCH v4] EDAC, ghes: use CPER module handles to locate DIMMs

2018-09-04 Thread Fan Wu
For platforms whose firmwares provide valid module handles (SMBIOS type 17) in error records, this patch uses the module handles to locate corresponding DIMMs and enables per-DIMM error counter update. Signed-off-by: Fan Wu Reviewed-by: Tyler Baicar Tested-by: Toshi Kani --- Changes from v3:

Re: [PATCH 0/2] Drop node-local allocation during host controller initialisation

2018-09-04 Thread Bjorn Helgaas
On Tue, Aug 28, 2018 at 04:05:11PM +0100, Punit Agrawal wrote: > Hi Bjorn, > > As discussed before[0], here are a couple of patches to drop > node-local allocations during host contoller initialisation. This set > covers both arm64 and x86. > > I'm posting early to give the patches time on the

Re: [PATCH 0/2] Drop node-local allocation during host controller initialisation

2018-09-04 Thread Bjorn Helgaas
On Tue, Aug 28, 2018 at 04:05:11PM +0100, Punit Agrawal wrote: > Hi Bjorn, > > As discussed before[0], here are a couple of patches to drop > node-local allocations during host contoller initialisation. This set > covers both arm64 and x86. > > I'm posting early to give the patches time on the

RE: [PATCH v3] EDAC, ghes: use CPER module handles to locate DIMMs

2018-09-04 Thread wufan
> -Original Message- > From: Borislav Petkov > Sent: Tuesday, September 4, 2018 1:29 AM > To: Fan Wu > Cc: mche...@kernel.org; james.mo...@arm.com; baicar.ty...@gmail.com; > linux-e...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-arm- > ker...@lists.infradead.org;

RE: [PATCH v3] EDAC, ghes: use CPER module handles to locate DIMMs

2018-09-04 Thread wufan
> -Original Message- > From: Borislav Petkov > Sent: Tuesday, September 4, 2018 1:29 AM > To: Fan Wu > Cc: mche...@kernel.org; james.mo...@arm.com; baicar.ty...@gmail.com; > linux-e...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-arm- > ker...@lists.infradead.org;

Re: [PATCH v6 3/5] clk: imx: add SCCG PLL type

2018-09-04 Thread Abel Vesa
On Tue, Aug 28, 2018 at 12:11:13PM -0700, Andrey Smirnov wrote: > On Tue, Aug 28, 2018 at 3:58 AM Abel Vesa wrote: > > > > On Fri, Aug 24, 2018 at 09:40:11AM +0200, Sascha Hauer wrote: > > > +Cc Andrey Smirnov who made me aware of this issue. > > > > > > On Wed, Aug 22, 2018 at 04:48:21PM +0300,

Re: [PATCH v6 3/5] clk: imx: add SCCG PLL type

2018-09-04 Thread Abel Vesa
On Tue, Aug 28, 2018 at 12:11:13PM -0700, Andrey Smirnov wrote: > On Tue, Aug 28, 2018 at 3:58 AM Abel Vesa wrote: > > > > On Fri, Aug 24, 2018 at 09:40:11AM +0200, Sascha Hauer wrote: > > > +Cc Andrey Smirnov who made me aware of this issue. > > > > > > On Wed, Aug 22, 2018 at 04:48:21PM +0300,

Re: [PATCH v2 0/9] of: fix compatible-child-node lookups

2018-09-04 Thread Johan Hovold
Hi all, On Mon, Aug 27, 2018 at 10:21:44AM +0200, Johan Hovold wrote: > Several drivers currently use of_find_compatible_node() to lookup child > nodes while failing to notice that the of_find_ functions search the > entire tree depth-first (from a given start node) and therefore can > match

Re: [PATCH v2 0/9] of: fix compatible-child-node lookups

2018-09-04 Thread Johan Hovold
Hi all, On Mon, Aug 27, 2018 at 10:21:44AM +0200, Johan Hovold wrote: > Several drivers currently use of_find_compatible_node() to lookup child > nodes while failing to notice that the of_find_ functions search the > entire tree depth-first (from a given start node) and therefore can > match

Re: [PATCH v2 6/9] net: bcmgenet: fix OF child-node lookup

2018-09-04 Thread Johan Hovold
On Thu, Aug 30, 2018 at 05:47:33PM -0700, Florian Fainelli wrote: > On 08/27/2018 01:21 AM, Johan Hovold wrote: > > Use the new of_get_compatible_child() helper to lookup the mdio child > > node instead of using of_find_compatible_node(), which searches the > > entire tree from a given start node

Re: [PATCH v2 6/9] net: bcmgenet: fix OF child-node lookup

2018-09-04 Thread Johan Hovold
On Thu, Aug 30, 2018 at 05:47:33PM -0700, Florian Fainelli wrote: > On 08/27/2018 01:21 AM, Johan Hovold wrote: > > Use the new of_get_compatible_child() helper to lookup the mdio child > > node instead of using of_find_compatible_node(), which searches the > > entire tree from a given start node

[PATCH v2] ACPI / bus: Only call dmi_check_system on X86

2018-09-04 Thread Jean Delvare
Calling dmi_check_system() early only works on X86. Other architectures initialize the DMI subsystem later so it's not ready yet when ACPI itself gets initialized. In the best case it results in a useless call to a function which will do nothing. But depending on the dmi implementation, it could

[PATCH v2] ACPI / bus: Only call dmi_check_system on X86

2018-09-04 Thread Jean Delvare
Calling dmi_check_system() early only works on X86. Other architectures initialize the DMI subsystem later so it's not ready yet when ACPI itself gets initialized. In the best case it results in a useless call to a function which will do nothing. But depending on the dmi implementation, it could

Re: [PATCH v2 4/9] mmc: meson-mx-sdio: fix OF child-node lookup

2018-09-04 Thread Johan Hovold
On Mon, Aug 27, 2018 at 04:44:44PM +0200, Ulf Hansson wrote: > On 27 August 2018 at 10:21, Johan Hovold wrote: > > Use the new of_get_compatible_child() helper to lookup the slot child > > node instead of using of_find_compatible_node(), which searches the > > entire tree from a given start node

Re: [PATCH v2 4/9] mmc: meson-mx-sdio: fix OF child-node lookup

2018-09-04 Thread Johan Hovold
On Mon, Aug 27, 2018 at 04:44:44PM +0200, Ulf Hansson wrote: > On 27 August 2018 at 10:21, Johan Hovold wrote: > > Use the new of_get_compatible_child() helper to lookup the slot child > > node instead of using of_find_compatible_node(), which searches the > > entire tree from a given start node

Re: [PATCH 4/7] dt-bindings: spi: add binding file for NXP FlexSPI driver

2018-09-04 Thread Boris Brezillon
On Mon, 3 Sep 2018 09:54:08 + Prabhakar Kushwaha wrote: > Dear Yogesh, > > > -Original Message- > > From: linux-kernel-ow...@vger.kernel.org > ow...@vger.kernel.org> On Behalf Of Yogesh Gaur > > Sent: Friday, August 31, 2018 4:00 PM > > To: linux-...@lists.infradead.org;

Re: linux-next: manual merge of the dmi tree with Linus' tree

2018-09-04 Thread Jean Delvare
Hi Stephen, On Tue, 4 Sep 2018 09:19:50 +1000, Stephen Rothwell wrote: > Today's linux-next merge of the dmi tree got a conflict in: > > drivers/acpi/bus.c > > between commit: > > ae976358cd7b ("Revert "ACPI / bus: Parse tables as term_list for Dell XPS > 9570 and Precision M5530"") > >

Re: [PATCH 4/7] dt-bindings: spi: add binding file for NXP FlexSPI driver

2018-09-04 Thread Boris Brezillon
On Mon, 3 Sep 2018 09:54:08 + Prabhakar Kushwaha wrote: > Dear Yogesh, > > > -Original Message- > > From: linux-kernel-ow...@vger.kernel.org > ow...@vger.kernel.org> On Behalf Of Yogesh Gaur > > Sent: Friday, August 31, 2018 4:00 PM > > To: linux-...@lists.infradead.org;

Re: linux-next: manual merge of the dmi tree with Linus' tree

2018-09-04 Thread Jean Delvare
Hi Stephen, On Tue, 4 Sep 2018 09:19:50 +1000, Stephen Rothwell wrote: > Today's linux-next merge of the dmi tree got a conflict in: > > drivers/acpi/bus.c > > between commit: > > ae976358cd7b ("Revert "ACPI / bus: Parse tables as term_list for Dell XPS > 9570 and Precision M5530"") > >

[RFC PATCH 4/5] irqchip: RISC-V Local Interrupt Controller Driver

2018-09-04 Thread Anup Patel
The RISC-V local interrupt controller manages software interrupts, timer interrupts, external interrupts (which are routed via the platform level interrupt controller) and per-HART local interrupts. This patch add a driver for RISC-V local interrupt controller. It's a major re-write over

[RFC PATCH 4/5] irqchip: RISC-V Local Interrupt Controller Driver

2018-09-04 Thread Anup Patel
The RISC-V local interrupt controller manages software interrupts, timer interrupts, external interrupts (which are routed via the platform level interrupt controller) and per-HART local interrupts. This patch add a driver for RISC-V local interrupt controller. It's a major re-write over

[RFC PATCH 2/5] RISC-V: No need to pass scause as arg to do_IRQ()

2018-09-04 Thread Anup Patel
The scause is already part of pt_regs so no need to pass scause as separate arg to do_IRQ(). Signed-off-by: Anup Patel --- arch/riscv/kernel/entry.S | 1 - arch/riscv/kernel/irq.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/riscv/kernel/entry.S

[RFC PATCH 0/5] New RISC-V Local Interrupt Controller Driver

2018-09-04 Thread Anup Patel
This patchset provides a new RISC-V Local Interrupt Controller Driver for managing per-CPU local interrupts. The overall approach is inspired from the way per-CPU local interrupts are handled by Linux ARM64 and ARM GICv3 driver. Few advantages of having this new driver are as follows: 1. It

[RFC PATCH 1/5] RISC-V: Make IPI triggering flexible

2018-09-04 Thread Anup Patel
The mechanism to trigger IPI is generally part of interrupt-controller driver for various architectures. On RISC-V, we have an option to trigger IPI using SBI or SOC vendor can implement RISC-V CPU where IPI will be triggered using SOC interrupt-controller (e.g. custom PLIC). This patch makes IPI

[RFC PATCH 3/5] RISC-V: Select useful GENERIC_IRQ kconfig options

2018-09-04 Thread Anup Patel
This patch selects following GENERIC_IRQ kconfig options: GENERIC_IRQ_MULTI_HANDLER GENERIC_IRQ_PROBE GENERIC_IRQ_SHOW_LEVEL HANDLE_DOMAIN_IRQ Signed-off-by: Anup Patel --- arch/riscv/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index

[RFC PATCH 2/5] RISC-V: No need to pass scause as arg to do_IRQ()

2018-09-04 Thread Anup Patel
The scause is already part of pt_regs so no need to pass scause as separate arg to do_IRQ(). Signed-off-by: Anup Patel --- arch/riscv/kernel/entry.S | 1 - arch/riscv/kernel/irq.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/riscv/kernel/entry.S

[RFC PATCH 0/5] New RISC-V Local Interrupt Controller Driver

2018-09-04 Thread Anup Patel
This patchset provides a new RISC-V Local Interrupt Controller Driver for managing per-CPU local interrupts. The overall approach is inspired from the way per-CPU local interrupts are handled by Linux ARM64 and ARM GICv3 driver. Few advantages of having this new driver are as follows: 1. It

[RFC PATCH 1/5] RISC-V: Make IPI triggering flexible

2018-09-04 Thread Anup Patel
The mechanism to trigger IPI is generally part of interrupt-controller driver for various architectures. On RISC-V, we have an option to trigger IPI using SBI or SOC vendor can implement RISC-V CPU where IPI will be triggered using SOC interrupt-controller (e.g. custom PLIC). This patch makes IPI

[RFC PATCH 3/5] RISC-V: Select useful GENERIC_IRQ kconfig options

2018-09-04 Thread Anup Patel
This patch selects following GENERIC_IRQ kconfig options: GENERIC_IRQ_MULTI_HANDLER GENERIC_IRQ_PROBE GENERIC_IRQ_SHOW_LEVEL HANDLE_DOMAIN_IRQ Signed-off-by: Anup Patel --- arch/riscv/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index

[RFC PATCH 5/5] clocksource: riscv_timer: Make timer interrupt as a per-CPU interrupt

2018-09-04 Thread Anup Patel
Instead of directly calling RISC-V timer interrupt handler from RISC-V local interrupt conntroller driver, this patch implements RISC-V timer interrupt as a per-CPU interrupt using per-CPU APIs of Linux IRQ subsystem. Signed-off-by: Anup Patel --- arch/riscv/include/asm/irq.h | 2 -

[RFC PATCH 5/5] clocksource: riscv_timer: Make timer interrupt as a per-CPU interrupt

2018-09-04 Thread Anup Patel
Instead of directly calling RISC-V timer interrupt handler from RISC-V local interrupt conntroller driver, this patch implements RISC-V timer interrupt as a per-CPU interrupt using per-CPU APIs of Linux IRQ subsystem. Signed-off-by: Anup Patel --- arch/riscv/include/asm/irq.h | 2 -

Re: [PATCH v2 00/15] soc: octeontx2: Add RVU admin function driver

2018-09-04 Thread Andrew Lunn
On Tue, Sep 04, 2018 at 05:24:35PM +0530, sunil.kovv...@gmail.com wrote: > From: Sunil Goutham > > Resource virtualization unit (RVU) on Marvell's OcteonTX2 SOC supports > multiple PCIe SRIOV physical functions (PFs) and virtual functions (VFs). > PF0 is called administrative / admin function

Re: [PATCH v2 00/15] soc: octeontx2: Add RVU admin function driver

2018-09-04 Thread Andrew Lunn
On Tue, Sep 04, 2018 at 05:24:35PM +0530, sunil.kovv...@gmail.com wrote: > From: Sunil Goutham > > Resource virtualization unit (RVU) on Marvell's OcteonTX2 SOC supports > multiple PCIe SRIOV physical functions (PFs) and virtual functions (VFs). > PF0 is called administrative / admin function

Re: [PATCH v5 03/16] x86/mtrr: get MTRR number and support TOP_MEM2

2018-09-04 Thread Pu Wen
On 2018/9/4 16:02, Borislav Petkov wrote: shows only old mails so I'm going to assume this got fixed, finally! And you probably have received a *fixed* BIOS even, allegedly. So what's up? I tested the function on Hygon Dhyana platforms with the latest BIOS, found that this problem is indeed

Re: [PATCH v5 03/16] x86/mtrr: get MTRR number and support TOP_MEM2

2018-09-04 Thread Pu Wen
On 2018/9/4 16:02, Borislav Petkov wrote: shows only old mails so I'm going to assume this got fixed, finally! And you probably have received a *fixed* BIOS even, allegedly. So what's up? I tested the function on Hygon Dhyana platforms with the latest BIOS, found that this problem is indeed

Re: [PATCH 0/7] spi: spi-mem: Add a driver for NXP FlexSPI controller

2018-09-04 Thread Boris Brezillon
Hi Yogesh, On Fri, 31 Aug 2018 15:59:57 +0530 Yogesh Gaur wrote: > - Add a driver for NXP FlexSPI host controller > > FlexSPI is a flexsible SPI host controller [1], Chapter 30 page 1475, > which supports two SPI channels and up to 4 external devices. > Each channel supports

Re: [PATCH 0/7] spi: spi-mem: Add a driver for NXP FlexSPI controller

2018-09-04 Thread Boris Brezillon
Hi Yogesh, On Fri, 31 Aug 2018 15:59:57 +0530 Yogesh Gaur wrote: > - Add a driver for NXP FlexSPI host controller > > FlexSPI is a flexsible SPI host controller [1], Chapter 30 page 1475, > which supports two SPI channels and up to 4 external devices. > Each channel supports

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