[PATCH 00/11] MAINTAINERS: update of of some Microchip entries

2018-08-29 Thread Nicolas Ferre
Hi, This is an update of most of Microchip MAINTAINERS' entries. I took advantage of the addition of Ludovic as co-maintainer to go through some of the entries that were outdated. There are moves of entries in the 3 last patches of this series. You can drop them if they introduce too much headach

[PATCH 04/11] MAINTAINERS: ASoC: change maintainer for Microchip ALSA drivers

2018-08-29 Thread Nicolas Ferre
Hand over to Codrin for Microchip Audio SoC drivers in "atmel" directory. Signed-off-by: Nicolas Ferre --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 6eaf54960c1c..686822714e6b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -248

[PATCH 07/11] MAINTAINERS: pwm: add entry for Microchip pwm driver

2018-08-29 Thread Nicolas Ferre
Add the entry that was missing for pwm-atmel.c driver. Add binding file as well. Signed-off-by: Nicolas Ferre --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 414324563009..fca67dcb84e0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9553

[PATCH 02/11] MAINTAINERS: update entry for Microchip NAND driver support

2018-08-29 Thread Nicolas Ferre
Replace the Microchip/Atmel NAND controller driver maintainer by removing Josh and adding Tudor. Cc: Josh Wu Signed-off-by: Nicolas Ferre --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 7f97f1f83398..43fa2ebb292e 100644 --- a/M

Re: [PATCH 2/2] ARM: dts: imx6sll: add gpio clocks

2018-08-29 Thread Shawn Guo
On Wed, Aug 29, 2018 at 01:12:04AM +, Anson Huang wrote: > Hi, Shawn > I saw v4.19-rc1 is created, can you please apply this patch? > Applied. Thanks for reminding. Shawn

[PATCH 06/11] MAINTAINERS: dmaengine: add files to Microchip dma entry

2018-08-29 Thread Nicolas Ferre
In Microchip DMA (HDMA actually) entry, add the missing files for better matching with get_maintainer.pl tool. Signed-off-by: Nicolas Ferre --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index fe1280b92a2e..414324563009 100644 --- a/MAINTAINERS ++

[PATCH 03/11] MAINTAINERS: media: change Microchip ISI, ISC maintainers

2018-08-29 Thread Nicolas Ferre
For ISC, Songjun is not with Microchip anymore, his address shouldn't be reachable. For ISI, Eugen can handle the maintenance now. Signed-off-by: Nicolas Ferre --- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 43fa2ebb292e..6e

[PATCH 09/11] MAINTAINERS: remove the / ATMEL string from MICROCHIP entries

2018-08-29 Thread Nicolas Ferre
No need to keep this additional string as it can puzzle people while adding new driver's entries. Move the NAND entry to keep it alphabetically ordered. Signed-off-by: Nicolas Ferre --- MAINTAINERS | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/MAINT

[PATCH 10/11] MAINTAINERS: move former ATMEL entries to proper MICROCHIP location

2018-08-29 Thread Nicolas Ferre
Standardize the Microchip / Atmel entries with the same form and move them so that they are all located at the same place, under the newer MICROCHIP banner. Only modifications to the titles of the entries are done in this patch. Signed-off-by: Nicolas Ferre --- MAINTAINERS | 154

[PATCH 08/11] MAINTAINERS: iio: add co-maintainer to SAMA5D2-compatible ADC driver

2018-08-29 Thread Nicolas Ferre
Add Eugen as co-maintainer with Ludovic of Microchip SAMA5D2-compatible ADC driver. Also add the binding documentation/include as file pattern. Signed-off-by: Nicolas Ferre --- MAINTAINERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index fca67dcb84e0..3f5494

[PATCH 01/11] MAINTAINERS: ARM: at91: add co-maintainer for ARM/Microchip

2018-08-29 Thread Nicolas Ferre
Add Ludovic as a new co-maintainer for the AT91 Microchip ARM sub-architecture. Add the newly created kernel.org group git tree that we will use from now on. Cc: Alexandre Belloni Signed-off-by: Nicolas Ferre --- MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/

[PATCH 11/11] MAINTAINERS: sdhci: move the Microchip entry to proper location

2018-08-29 Thread Nicolas Ferre
All SDHCI controller drivers are gathered at the same place, add the Microchip one there. Signed-off-by: Nicolas Ferre --- MAINTAINERS | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 78044223d90f..df2f61548308 100644 --- a/MAINTAIN

Re: [PATCH v2] perf: Support for Arm A32/T32 instruction sets in CoreSight trace

2018-08-29 Thread Robert Walker
Hi Kim, On 29/08/18 14:49, Kim Phillips wrote: On Wed, 29 Aug 2018 10:44:23 +0100 Robert Walker wrote: This patch adds support for generating instruction samples from trace of AArch32 programs using the A32 and T32 instruction sets. T32 has variable 2 or 4 byte instruction size, so the conv

Re: [PATCH 2/2] power: supply: Add Spreadtrum SC2731 charger support

2018-08-29 Thread Krzysztof Kozlowski
I'll try one more time... but without HTML from Gmail. Previous mail bounced from lists. On Tue, 28 Aug 2018 at 11:04, Baolin Wang wrote: > > This patch adds the SC2731 PMIC switch charger support. > > Signed-off-by: Baolin Wang > --- > drivers/power/supply/Kconfig |7 + > drivers/

Re: [PATCH] KVM: LAPIC: Fix pv ipis out-of-bounds access

2018-08-29 Thread Radim Krcmar
2018-08-29 15:55+0200, Radim Krcmar: > 2018-08-29 13:43+0300, Liran Alon: > > Why is “min” defined as “int” instead of “unsigned int”? > > It represents the lowest APIC ID in bitmap so it can’t be negative… > > Right, > > I think the code would look better as something like (untested): > > diff

Re: [PATCH 14/25] ubifs: Add authentication nodes to journal

2018-08-29 Thread Sascha Hauer
On Mon, Aug 27, 2018 at 10:48:26PM +0200, Richard Weinberger wrote: > Am Mittwoch, 4. Juli 2018, 14:41:26 CEST schrieb Sascha Hauer: > > Nodes that are written to flash can only be authenticated through the > > index after the next commit. When a journal replay is necessary the > > nodes are not ye

Re: [PATCH 1/4] tty: Drop tty->count on tty_reopen() failure

2018-08-29 Thread Jiri Slaby
On 08/29/2018, 04:23 AM, Dmitry Safonov wrote: > In case of tty_ldisc_reinit() failure, tty->count should be decremented > back, otherwise we will never release_tty(). > Never seen it in the real life, but it seems not really hard to hit. I did see it. And this fixes it. > Cc: Greg Kroah-Hartman

Re: [PATCH 2/4] tty: Hold tty_ldisc_lock() during tty_reopen()

2018-08-29 Thread Jiri Slaby
On 08/29/2018, 04:23 AM, Dmitry Safonov wrote: > tty_ldisc_reinit() doesn't race with neither tty_ldisc_hangup() > nor set_ldisc() nor tty_ldisc_release() as they use tty lock. > But it races with anyone who expects line discipline to be the same > after hoding read semaphore in tty_ldisc_ref(). >

Re: [PATCH v2 2/3] x86/mm: add .data..decrypted section to hold shared variables

2018-08-29 Thread Brijesh Singh
On 08/29/2018 08:59 AM, Borislav Petkov wrote: On Tue, Aug 28, 2018 at 05:12:56PM -0500, Brijesh Singh wrote: kvmclock defines few static variables which are shared with hypervisor ... with the hypervisor ... during the kvmclock ini

Re: [RFC PATCH 3/4] sched/topology: remove smt_gain

2018-08-29 Thread Vincent Guittot
On Wed, 29 Aug 2018 at 16:08, Qais Yousef wrote: > > You beat me to it, I got confused by smt_gain recently when I stumbled > on it as I found out on ARM it's not used and had to spend sometime to > convince myself it's not really necessary to use it. > > It was hard to track the history of this

[RFC PATCH] drivers: edac: edac_reg_data[] can be static

2018-08-29 Thread kbuild test robot
Fixes: 6984008cfe6b ("drivers: edac: Add EDAC driver support for QCOM SoCs") Signed-off-by: kbuild test robot --- qcom_edac.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/edac/qcom_edac.c b/drivers/edac/qcom_edac.c index 871ed07..69b4cb5 100644 --- a/drivers/ed

Re: [PATCH v3 3/4] drivers: edac: Add EDAC driver support for QCOM SoCs

2018-08-29 Thread kbuild test robot
Hi Channagoud, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.19-rc1 next-20180829] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

Re: [PATCH V2 1/2] ARM: dts: imx6ull-14x14-evk: correct machine model name

2018-08-29 Thread Shawn Guo
On Thu, Aug 23, 2018 at 04:41:13PM +0800, Anson Huang wrote: > i.MX6ULL is a lite version of i.MX6UL, its full name > is i.MX6 UltraLiteLite, NOT UlltraLite. > > Signed-off-by: Anson Huang Applied both, thanks.

Re: [PATCH 2/4] tty: Hold tty_ldisc_lock() during tty_reopen()

2018-08-29 Thread Jiri Slaby
On 08/29/2018, 04:40 PM, Jiri Slaby wrote: > On 08/29/2018, 04:23 AM, Dmitry Safonov wrote: >> tty_ldisc_reinit() doesn't race with neither tty_ldisc_hangup() >> nor set_ldisc() nor tty_ldisc_release() as they use tty lock. >> But it races with anyone who expects line discipline to be the same >> a

Re: [PATCH 3/4] tty: Lock tty pair in tty_init_dev()

2018-08-29 Thread Jiri Slaby
On 08/29/2018, 04:23 AM, Dmitry Safonov wrote: > It's safe to not lock both here - done to silence attempt lockdep assert in > tty_ldisc_open(), which will be added with following patch. SOrry, could you elaborate here? I don't follow... thanks, -- js suse labs

[PATCH 0/2] ASoC: Add support for MikroElektronika PROTO codec

2018-08-29 Thread Codrin Ciubotariu
This patchset is based on Florian's initial PROTO driver: https://lkml.org/lkml/2013/5/22/342 My changes made the driver more generic, so that we could connect other I2S CPU DAIs, by using device-tree. Tested with sama5d2 I2S driver. Codrin Ciubotariu (2): ASoC: Add driver for PROTO Audio CODE

[PATCH 2/2] ASoC: mikroe-proto: dt-bindings: add DT bindings for PROTO board

2018-08-29 Thread Codrin Ciubotariu
DT binding documentation for this new ASoC driver. Signed-off-by: Codrin Ciubotariu --- .../bindings/sound/mikroe,mikroe-proto.txt| 23 +++ .../devicetree/bindings/vendor-prefixes.txt | 1 + 2 files changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bi

[PATCH 1/2] ASoC: Add driver for PROTO Audio CODEC (with a WM8731)

2018-08-29 Thread Codrin Ciubotariu
Add support for the MikroElektronika PROTO audio codec board. URL to the audio chip: http://www.mikroe.com/add-on-boards/audio-voice/audio-codec-proto/ Signed-off-by: Florian Meier Signed-off-by: Codrin Ciubotariu --- sound/soc/atmel/Kconfig| 7 ++ sound/soc/atmel/Makefile |

Re: [PATCH v2] n_tty: Protect tty->disc_data using refcount.

2018-08-29 Thread Jiri Slaby
On 08/29/2018, 03:53 PM, Jiri Slaby wrote: > On 07/24/2018, 05:22 PM, Tetsuo Handa wrote: >> From 118c64e86641a97d44dec39e313a95b12d9bc3b2 Mon Sep 17 00:00:00 2001 >> From: Tetsuo Handa >> Date: Wed, 25 Jul 2018 00:15:18 +0900 >> Subject: [PATCH v2] n_tty: Protect tty->disc_data using refcount. >>

[PATCH][V2] power: supply: cros_usbpd: remove unused pointer 'dev'

2018-08-29 Thread Colin King
From: Colin Ian King Pointer 'dev' is being assigned but is never used hence it is redundant and can be removed. Cleans up clang warning: variable 'dev' set but not used [-Wunused-but-set-variable] Signed-off-by: Colin Ian King --- V2: change subject to include 'cros_usbpd' and also send to S

Re: [PATCH 14/25] ubifs: Add authentication nodes to journal

2018-08-29 Thread Richard Weinberger
Am Mittwoch, 29. August 2018, 16:38:34 CEST schrieb Sascha Hauer: > On Mon, Aug 27, 2018 at 10:48:26PM +0200, Richard Weinberger wrote: > > > release_head(c, BASEHD); > > > kfree(dent); > > > + ubifs_add_dirt(c, lnum, ubifs_auth_node_sz(c)); > > > > You have to account it immediately because w

Re: [PATCH 1/2] ASoC: Add driver for PROTO Audio CODEC (with a WM8731)

2018-08-29 Thread Mark Brown
On Wed, Aug 29, 2018 at 05:47:26PM +0300, Codrin Ciubotariu wrote: > +static const unsigned int wm8731_rates_12288000[] = { > + 8000, 32000, 48000, 96000, > +}; > + > +static struct snd_pcm_hw_constraint_list wm8731_constraints_12288000 = { > + .list = wm8731_rates_12288000, > + .count

Re: [PATCH] ARM: imx_v6_v7_defconfig: Make usbnet drivers builtin for boot

2018-08-29 Thread Shawn Guo
On Mon, Aug 27, 2018 at 03:32:39PM +0300, Leonard Crestez wrote: > Chips such as imx6sll and imx7ulp have no ethernet support so the common > development usecase of nfs boot is supported via usb ethernet dongles. > > Add drivers for additional usbnet device directly into the kernel image > image p

Re: [PATCH 13/26] ARM: tegra: colibri_t30: use proper irq-gpio for stmpe811

2018-08-29 Thread Marcel Ziswiler
On Thu, 2018-07-26 at 10:07 +0200, Stefan Agner wrote: > On 23.07.2018 14:36, Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > > > Use proper irq-gpio for stmpe811 touch controller. > > I don't think this change is necessary, interrupts/interrupt-parent > specification seems to be supported

[PATCH] iio: dac: ad5758: Add support for hard reset

2018-08-29 Thread Stefan Popa
The ad5758 has a hardware reset active low input pin. This patch adds a devicetree entry for a reset GPIO and a new ad5758_reset() function. During initialization, it is checked if the reset property is specified and the the GPIO is being asserted, therefore the device will become active. When the

[PATCH 1/4] ASoC: dmic: add Kconfig prompt for the generic dmic codec.

2018-08-29 Thread Jerome Brunet
Add Kconfig prompt for the generic digital mic to make it configurable through menuconfig Signed-off-by: Jerome Brunet --- sound/soc/codecs/Kconfig | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index adaf26e1989c..998

[PATCH 0/4] ASoC: meson-axg: add pdm input support

2018-08-29 Thread Jerome Brunet
The purpose of this patchset is to add the support for PDM input backend found on the AXG SoC family. The first 2 patches, for the dmic, are not specific to this amlogic driver but it is useful to have them since the PDM input will use this dmic codec. Jerome Brunet (4): ASoC: dmic: add Kconfig

[PATCH 3/4] ASoC: meson: add axg pdm input DT binding documentation

2018-08-29 Thread Jerome Brunet
Add the DT binding documentation for axg's PDM input Signed-off-by: Jerome Brunet --- .../bindings/sound/amlogic,axg-pdm.txt| 24 +++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/amlogic,axg-pdm.txt diff --git a/Documentati

[PATCH 4/4] ASoC: meson: add axg pdm input

2018-08-29 Thread Jerome Brunet
Add pdm input driver for the device found on the amlogic AXG SoC family Signed-off-by: Jerome Brunet --- sound/soc/meson/Kconfig | 9 + sound/soc/meson/Makefile | 2 + sound/soc/meson/axg-pdm.c | 654 ++ 3 files changed, 665 insertions(+) create mode 1

[PATCH 2/4] ASoC: dmic: add DT module alias

2018-08-29 Thread Jerome Brunet
Before this patch the only alias provided by the dmic module is: alias: platform:dmic-codec Device instantiated from DT will not probe automatically with this After this patch, here is the new alias list: alias: platform:dmic-codec alias: of:N*T*Cdmic-codecC* alias:

Re: [PATCH v2 2/3] x86/mm: add .data..decrypted section to hold shared variables

2018-08-29 Thread Sean Christopherson
On Tue, Aug 28, 2018 at 05:12:56PM -0500, Brijesh Singh wrote: > kvmclock defines few static variables which are shared with hypervisor > during the kvmclock initialization. > > When SEV is active, memory is encrypted with a guest-specific key, and > if guest OS wants to share the memory region wi

Re: [PATCH v2] n_tty: Protect tty->disc_data using refcount.

2018-08-29 Thread Tetsuo Handa
On 2018/08/29 22:53, Jiri Slaby wrote: > On 07/24/2018, 05:22 PM, Tetsuo Handa wrote: >> From 118c64e86641a97d44dec39e313a95b12d9bc3b2 Mon Sep 17 00:00:00 2001 >> From: Tetsuo Handa >> Date: Wed, 25 Jul 2018 00:15:18 +0900 >> Subject: [PATCH v2] n_tty: Protect tty->disc_data using refcount. >> >>

Applied "regulator: bd71837: Disable voltage monitoring for LDO3/4" to the regulator tree

2018-08-29 Thread Mark Brown
The patch regulator: bd71837: Disable voltage monitoring for LDO3/4 has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next

Applied "spi: dw-mmio: add MSCC Jaguar2 support" to the spi tree

2018-08-29 Thread Mark Brown
The patch spi: dw-mmio: add MSCC Jaguar2 support has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus dur

[andriy.shevche...@linux.intel.com: Re: [PATCH] spi: dw-mmio: add MSCC Jaguar2 support]

2018-08-29 Thread Andy Shevchenko
- Forwarded message from Andy Shevchenko - Date: Wed, 29 Aug 2018 18:08:31 +0300 From: Andy Shevchenko To: Alexandre Belloni Subject: Re: [PATCH] spi: dw-mmio: add MSCC Jaguar2 support User-Agent: Mutt/1.10.1 (2018-07-13) On Wed, Aug 29, 2018 at 02:45:48PM +0200, Alexandre Belloni wro

[PATCH] serial: 8250_of: Fix for lack of interrupt support

2018-08-29 Thread John Garry
In commit c58caaab3bf8 ("serial: 8250: of: Defer probe on missing IRQ"), a check was added for the UART driver being probed prior to the parent IRQ controller. Unfortunately this breaks certain boards which have no interrupt support, like Huawei D03. Indeed, the 8250 DT bindings state that interr

Re: [RFC] perf script: callchain handling is not useful

2018-08-29 Thread Stephane Eranian
On Wed, Aug 29, 2018 at 6:54 AM Arnaldo Carvalho de Melo wrote: > > Em Tue, Aug 28, 2018 at 07:41:31PM -0700, Stephane Eranian escreveu: > > Hi, > > > > I am doing the following simple collection with callchain and load > > profiling: > > > > $ perf record -g -d -e cpu/event=0xd0,umask=0x81/pp m

Re: [PATCH V3 1/2] kvm/x86 : add coalesced pio support

2018-08-29 Thread Radim Krčmář
2018-08-24 19:20+0800, Peng Hao: > Signed-off-by: Peng Hao > --- > include/uapi/linux/kvm.h | 5 +++-- > virt/kvm/coalesced_mmio.c | 8 +--- > virt/kvm/kvm_main.c | 2 ++ > 3 files changed, 10 insertions(+), 5 deletions(-) > > diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux

Re: [andriy.shevche...@linux.intel.com: Re: [PATCH] spi: dw-mmio: add MSCC Jaguar2 support]

2018-08-29 Thread Mark Brown
On Wed, Aug 29, 2018 at 06:09:55PM +0300, Andy Shevchenko wrote: > - Forwarded message from Andy Shevchenko > - > > Date: Wed, 29 Aug 2018 18:08:31 +0300 > From: Andy Shevchenko > To: Alexandre Belloni > Subject: Re: [PATCH] spi: dw-mmio: add MSCC Jaguar2 support > User-Agent: Mutt/1.1

Re: [PATCH 2/2] mm: zero remaining unavailable struct pages

2018-08-29 Thread Masayoshi Mizuma
Hi Horiguchi-san and Pavel Thank you for your comments! The Pavel's additional patch looks good to me, so I will add it to this series. However, unfortunately, the movable_node option has something wrong yet... When I offline the memory which belongs to movable zone, I got the following warning.

Re: [PATCH v2] x86/nmi: Fix some races in NMI uaccess

2018-08-29 Thread Rik van Riel
On Tue, 2018-08-28 at 20:46 -0700, Andy Lutomirski wrote: > On Tue, Aug 28, 2018 at 10:56 AM, Rik van Riel > wrote: > > On Mon, 27 Aug 2018 16:04:16 -0700 > > Andy Lutomirski wrote: > > > > > The 0day bot is still chewing on this, but I've tested it a bit > > > locally > > > and it seems to do t

Re: [PATCH v2] clocksource: ti-32k: Add CLOCK_SOURCE_SUSPEND_NONSTOP flag for non-am43 SoCs

2018-08-29 Thread Daniel Lezcano
On 08/08/2018 15:14, Keerthy wrote: > The 32k clocksource is NONSTOP for non-am43 SoCs. Hence > add the flag for all the other SoCs. > > Reported-by: Tony Lindgren > Signed-off-by: Keerthy > Acked-by: Tony Lindgren > --- Applied for 4.19-rc2 Thanks -- Daniel --

Re: [PATCH 2/4] tty: Hold tty_ldisc_lock() during tty_reopen()

2018-08-29 Thread Tetsuo Handa
On 2018/08/29 11:23, Dmitry Safonov wrote: > tty_ldisc_reinit() doesn't race with neither tty_ldisc_hangup() > nor set_ldisc() nor tty_ldisc_release() as they use tty lock. > But it races with anyone who expects line discipline to be the same > after hoding read semaphore in tty_ldisc_ref(). > > W

Re: [PATCH 1/2] ASoC: Add driver for PROTO Audio CODEC (with a WM8731)

2018-08-29 Thread Codrin Ciubotariu
On 29.08.2018 17:53, Mark Brown wrote: On Wed, Aug 29, 2018 at 05:47:26PM +0300, Codrin Ciubotariu wrote: +static const unsigned int wm8731_rates_12288000[] = { + 8000, 32000, 48000, 96000, +}; + +static struct snd_pcm_hw_constraint_list wm8731_constraints_12288000 = { + .list = wm8

Re: [PATCH v5 1/5] pinctrl: actions: define constructor generic to Actions Semi SoC's

2018-08-29 Thread Manivannan Sadhasivam
Hi Saravanan, On Wed, Aug 29, 2018 at 10:24:09AM +0200, Saravanan Sekar wrote: > Move generic defines common to the Owl family out of S900 driver. > > Signed-off-by: Parthiban Nallathambi > Signed-off-by: Saravanan Sekar > --- > drivers/pinctrl/actions/pinctrl-owl.h | 131

[PATCH] HID: core: fix NULL pointer dereference

2018-08-29 Thread Gustavo A. R. Silva
There is a NULL pointer dereference in case memory resources for *parse* are not successfully allocated. Fix this by adding a new goto label and make the execution path jump to it in case vzalloc() fails. Addresses-Coverity-ID: 1473081 ("Dereference after null check") Fixes: b2dd9f2e5a8a ("HID: c

Re: [PATCH] clocksource: Convert to using %pOFn instead of device_node.name

2018-08-29 Thread Daniel Lezcano
On 28/08/2018 03:52, Rob Herring wrote: > In preparation to remove the node name pointer from struct device_node, > convert printf users to use the %pOFn format specifier. > > Cc: Daniel Lezcano > Cc: Thomas Gleixner > Cc: Michal Simek > Cc: linux-arm-ker...@lists.infradead.org > Signed-off-by:

Re: [PATCH 1/2] ASoC: Add driver for PROTO Audio CODEC (with a WM8731)

2018-08-29 Thread Mark Brown
On Wed, Aug 29, 2018 at 06:20:59PM +0300, Codrin Ciubotariu wrote: > On 29.08.2018 17:53, Mark Brown wrote: > > That also has the nice bonus that with that I think you'd be able to use > > the graph card rather than a custom driver? > The main reason for adding a custom driver and not using graph

[no subject]

2018-08-29 Thread infodirectormoneygramoff...@gmail.com

[PATCH] perf/x86/intel/uncore: Use boot_cpu_data.phys_proc_id instead of hardcorded phy id 0

2018-08-29 Thread Masayoshi Mizuma
From: Masayoshi Mizuma Physical package id 0 is not always exists. We should use boot_cpu_data.phys_proc_id here. Signed-off-by: Masayoshi Mizuma --- arch/x86/events/intel/uncore_snbep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/events/intel/uncore_snbep.c b

Re: [PATCH v5 2/5] pinctrl: actions: define pad control configurtion to SoC specific

2018-08-29 Thread Manivannan Sadhasivam
On Wed, Aug 29, 2018 at 10:24:10AM +0200, Saravanan Sekar wrote: > pad control for s900 and s700 are differs in number of > pull control configuraions > s900 has 4 pull controls - high impedence, pull up, pull down, repeater > s700, s500 has 2 pull controls - pull up and pull down > > so pad contr

net/sctp/socket.c:2681:6-11: ERROR: invalid reference to the index variable of the iterator on line 2661 (fwd)

2018-08-29 Thread Julia Lawall
Hello, Are the ifs starting on lines 2655 and 2680 mutually exclusive? If so, perhaps add an else. If not, and if the trans on line 2681 can come from the trans initialized by the loop on line 2661, then there is a problem. julia -- Forwarded message -- Date: Wed, 29 Aug 2018 2

Re: [PATCH 1/2] ASoC: Add driver for PROTO Audio CODEC (with a WM8731)

2018-08-29 Thread Codrin Ciubotariu
On 29.08.2018 18:20, Codrin Ciubotariu wrote: On 29.08.2018 17:53, Mark Brown wrote: On Wed, Aug 29, 2018 at 05:47:26PM +0300, Codrin Ciubotariu wrote: +static const unsigned int wm8731_rates_12288000[] = { +    8000, 32000, 48000, 96000, +}; + +static struct snd_pcm_hw_constraint_list wm8731_

Re: [PATCH] sched/fair: vruntime should normalize when switching from fair

2018-08-29 Thread Dietmar Eggemann
On 08/29/2018 12:59 PM, Peter Zijlstra wrote: On Wed, Aug 29, 2018 at 11:54:58AM +0100, Dietmar Eggemann wrote: I forgot to mention that since fair_task's cpu affinity is restricted to CPU4, there is no call to set_task_cpu()->migrate_task_rq_fair() since if (task_cpu(p) != cpu) fails. I think

Re: [PATCH v2 2/3] x86/mm: add .data..decrypted section to hold shared variables

2018-08-29 Thread Brijesh Singh
On 08/29/2018 10:03 AM, Sean Christopherson wrote: On Tue, Aug 28, 2018 at 05:12:56PM -0500, Brijesh Singh wrote: kvmclock defines few static variables which are shared with hypervisor during the kvmclock initialization. When SEV is active, memory is encrypted with a guest-specific key, and

Re: [PATCH v2] x86/nmi: Fix some races in NMI uaccess

2018-08-29 Thread Andy Lutomirski
On Wed, Aug 29, 2018 at 8:17 AM, Rik van Riel wrote: > On Tue, 2018-08-28 at 20:46 -0700, Andy Lutomirski wrote: >> On Tue, Aug 28, 2018 at 10:56 AM, Rik van Riel >> wrote: >> > On Mon, 27 Aug 2018 16:04:16 -0700 >> > Andy Lutomirski wrote: >> > >> > > The 0day bot is still chewing on this, but

Re: [RFC PATCH 2/6] x86/mm: temporary mm struct

2018-08-29 Thread Andy Lutomirski
On Wed, Aug 29, 2018 at 2:49 AM, Masami Hiramatsu wrote: > On Wed, 29 Aug 2018 01:11:43 -0700 > Nadav Amit wrote: > >> From: Andy Lutomirski >> >> Sometimes we want to set a temporary page-table entries (PTEs) in one of >> the cores, without allowing other cores to use - even speculatively - >>

Re: [PATCH] KVM: LAPIC: Fix pv ipis out-of-bounds access

2018-08-29 Thread Radim Krcmar
2018-08-29 13:29+0300, Dan Carpenter: > On Wed, Aug 29, 2018 at 06:23:08PM +0800, Wanpeng Li wrote: > > On Wed, 29 Aug 2018 at 18:18, Dan Carpenter > > wrote: > > > > > > On Wed, Aug 29, 2018 at 01:12:05PM +0300, Dan Carpenter wrote: > > > > On Wed, Aug 29, 2018 at 12:05:06PM +0300, Liran Alon wr

[PATCH v2 0/4] Enable Linux guests on Hyper-V on ARM64

2018-08-29 Thread mhkelley58
From: Michael Kelley This series enables Linux guests running on Hyper-V on ARM64 hardware. New ARM64-specific code in arch/arm64/hyperv initializes Hyper-V, including its synthetic clocks and hypercall mechanism. Existing architecture independent drivers for Hyper-V's VMbus and synthetic devices

[PATCH v2 1/4] arm64: hyperv: Add core Hyper-V include files

2018-08-29 Thread mhkelley58
From: Michael Kelley hyperv-tlfs.h defines Hyper-V interfaces from the Hyper-V Top Level Functional Spec (TLFS). The TLFS is distinctly oriented to x86/x64, and Hyper-V has not separated out the architecture-dependent parts into x86/x64 vs. ARM64. So hyperv-tlfs.h includes information for ARM64 t

[PATCH v2 2/4] arm64: hyperv: Add support for Hyper-V as a hypervisor

2018-08-29 Thread mhkelley58
From: Michael Kelley Add ARM64-specific code to enable Hyper-V. This code includes: * Detecting Hyper-V and initializing the guest/Hyper-V interface * Setting up Hyper-V's synthetic clocks * Making hypercalls using the HVC instruction * Setting up VMbus and stimer0 interrupts * Setting up kexec a

[PATCH v2 4/4] Drivers: hv: Enable CONFIG_HYPERV on ARM64

2018-08-29 Thread mhkelley58
From: Michael Kelley Update drivers/hv/Kconfig so CONFIG_HYPERV can be selected on ARM64, causing the Hyper-V specific code to be built. Signed-off-by: Michael Kelley Reviewed-by: James Morris --- drivers/hv/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH v2 3/4] Drivers: hv: vmbus: Add hooks for per-CPU IRQ

2018-08-29 Thread mhkelley58
From: Michael Kelley Add hooks to enable/disable a per-CPU IRQ for VMbus. These hooks are in the architecture independent setup and shutdown paths for Hyper-V, and are needed by Linux guests on Hyper-V on ARM64. The x86/x64 implementation is null because VMbus interrupts on x86/x64 don't use an

[PATCH] arm64: dts: meson-axg: sort nodes consistently

2018-08-29 Thread Jerome Brunet
Sort DT nodes by address when possible, by node node name otherwise. Signed-off-by: Jerome Brunet --- Hi Kevin, This patch is same kind of clean-up we already did on gxbb and gxl some time ago. In the same fashion, it ends up being and ugly and almost unreadable patch, sorry about that :( I don

Re: [RFC PATCH 5/6] x86/alternatives: use temporary mm for text poking

2018-08-29 Thread Andy Lutomirski
On Wed, Aug 29, 2018 at 2:28 AM, Peter Zijlstra wrote: > On Wed, Aug 29, 2018 at 01:11:46AM -0700, Nadav Amit wrote: >> + pte_clear(poking_mm, poking_addr, ptep); >> + >> + /* >> + * __flush_tlb_one_user() performs a redundant TLB flush when PTI is >> on, >> + * as it also flus

Re: [RFC PATCH 2/6] x86/mm: temporary mm struct

2018-08-29 Thread Andy Lutomirski
Rik, this is the patch I was referring to. On Wed, Aug 29, 2018 at 1:11 AM, Nadav Amit wrote: > From: Andy Lutomirski > > Sometimes we want to set a temporary page-table entries (PTEs) in one of > the cores, without allowing other cores to use - even speculatively - > these mappings. There are t

[PATCH v2] x86/nmi: Fix some races in NMI uaccess

2018-08-29 Thread Andy Lutomirski
In NMI context, we might be in the middle of context switching or in the middle of switch_mm_irqs_off(). In either case, CR3 might not match current->mm, which could cause copy_from_user_nmi() and friends to read the wrong memory. Fix it by adding a new nmi_uaccess_okay() helper and checking it i

Re: [PATCH v2] x86/nmi: Fix some races in NMI uaccess

2018-08-29 Thread Rik van Riel
On Wed, 2018-08-29 at 08:36 -0700, Andy Lutomirski wrote: > On Wed, Aug 29, 2018 at 8:17 AM, Rik van Riel > wrote: > > On Tue, 2018-08-28 at 20:46 -0700, Andy Lutomirski wrote: > > > On Tue, Aug 28, 2018 at 10:56 AM, Rik van Riel > > > wrote: > > > > On Mon, 27 Aug 2018 16:04:16 -0700 > > > > And

Re: [PATCH v5 3/5] dt-bindings: pinctrl: Add bindings for Actions Semi S700 SoC

2018-08-29 Thread Manivannan Sadhasivam
On Wed, Aug 29, 2018 at 10:24:11AM +0200, Saravanan Sekar wrote: > Add pinctrl and pio bindings for Actions Semi S700 SoC. > > Signed-off-by: Parthiban Nallathambi > Signed-off-by: Saravanan Sekar > Reviewed-by: Rob Herring > --- > .../bindings/pinctrl/actions,s700-pinctrl.txt | 170 > ++

Re: [PATCH] dmaengine: Add metadata_ops for dma_async_tx_descriptor

2018-08-29 Thread Vinod
On 23-08-18, 16:07, Peter Ujfalusi wrote: > The metadata is best described as side band data or parameters traveling > alongside the data DMAd by the DMA engine. It is data > which is understood by the peripheral and the peripheral driver only, the > DMA engine see it only as data block and it is n

[PATCH] char: agp: remove several redundant variables

2018-08-29 Thread Colin King
From: Colin Ian King Several variables are being assigned but never used hence they are redundant and can be removed. Cleans up clang warnings: variable 'num_segments' set but not used [-Wunused-but-set-variable] variable 'arqsz' set but not used [-Wunused-but-set-variable] variable 'mcapndx' se

Re: [PATCH v2 2/3] x86/mm: add .data..decrypted section to hold shared variables

2018-08-29 Thread Brijesh Singh
Hi Boris, On 08/29/2018 08:59 AM, Borislav Petkov wrote: ... static void __init __sme_map_range_pmd(struct sme_populate_pgd_data *ppd) @@ -235,6 +235,11 @@ static void __init sme_map_range_encrypted(struct sme_populate_pgd_data *ppd) __sme_map_range(ppd, PMD_FLAGS_ENC, PTE_FLAGS_

[PATCH v3] console: Add console=spcr option

2018-08-29 Thread Prarit Bhargava
ACPI may contain an SPCR table that defines a default system console. On ARM if the table is present then the SPCR console is enabled by default. On x86 the SPCR console is used if 'earlycon' (no parameters) is specified as a kernel parameter and is used only as the early console. To use the SPCR d

Re: [PATCH v2] x86/nmi: Fix some races in NMI uaccess

2018-08-29 Thread Rik van Riel
On Wed, 2018-08-29 at 08:47 -0700, Andy Lutomirski wrote: > In NMI context, we might be in the middle of context switching or in > the middle of switch_mm_irqs_off(). In either case, CR3 might not > match current->mm, which could cause copy_from_user_nmi() and > friends to read the wrong memory. >

Re: [PATCH v1] security/capabilities: remove check for -EINVAL

2018-08-29 Thread James Morris
On Wed, 22 Aug 2018, Christian Brauner wrote: > bprm_caps_from_vfs_caps() never returned -EINVAL so remove the > rc == -EINVAL check. > > Signed-off-by: Christian Brauner Applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next-general -- James Morris

Re: [PATCH 1/4] tty: Drop tty->count on tty_reopen() failure

2018-08-29 Thread Dmitry Safonov
On Wed, 2018-08-29 at 16:38 +0200, Jiri Slaby wrote: > On 08/29/2018, 04:23 AM, Dmitry Safonov wrote: > > In case of tty_ldisc_reinit() failure, tty->count should be > > decremented > > back, otherwise we will never release_tty(). > > Never seen it in the real life, but it seems not really hard to

Re: [RFC PATCH 5/6] x86/alternatives: use temporary mm for text poking

2018-08-29 Thread Peter Zijlstra
On Wed, Aug 29, 2018 at 08:46:04AM -0700, Andy Lutomirski wrote: > On Wed, Aug 29, 2018 at 2:28 AM, Peter Zijlstra wrote: > > On Wed, Aug 29, 2018 at 01:11:46AM -0700, Nadav Amit wrote: > > >> + pte_clear(poking_mm, poking_addr, ptep); > >> + > >> + /* > >> + * __flush_tlb_one_user()

Re: [PATCH v2] x86/nmi: Fix some races in NMI uaccess

2018-08-29 Thread Andy Lutomirski
On Wed, Aug 29, 2018 at 8:49 AM, Rik van Riel wrote: > On Wed, 2018-08-29 at 08:36 -0700, Andy Lutomirski wrote: >> On Wed, Aug 29, 2018 at 8:17 AM, Rik van Riel >> wrote: >> > On Tue, 2018-08-28 at 20:46 -0700, Andy Lutomirski wrote: >> > > On Tue, Aug 28, 2018 at 10:56 AM, Rik van Riel >> > >

Re: [PATCH] dmaengine: Add metadata_ops for dma_async_tx_descriptor

2018-08-29 Thread Peter Ujfalusi
Vinod, On 08/29/2018 06:52 PM, Vinod wrote: > On 23-08-18, 16:07, Peter Ujfalusi wrote: >> The metadata is best described as side band data or parameters traveling >> alongside the data DMAd by the DMA engine. It is data >> which is understood by the peripheral and the peripheral driver only, the

Re: Tagged pointers in the XArray

2018-08-29 Thread Matthew Wilcox
On Tue, Aug 28, 2018 at 03:27:27PM -0700, Matthew Wilcox wrote: > I find myself caught between two traditions. > > On the one hand, the radix tree has been calling the page cache dirty & > writeback bits "tags" for over a decade. > > On the other hand, using some of the bits _in a pointer_ as a t

Re: [PATCH] dmaengine: Add metadata_ops for dma_async_tx_descriptor

2018-08-29 Thread Vinod
On 29-08-18, 19:14, Peter Ujfalusi wrote: > Vinod, > > On 08/29/2018 06:52 PM, Vinod wrote: > > On 23-08-18, 16:07, Peter Ujfalusi wrote: > >> The metadata is best described as side band data or parameters traveling > >> alongside the data DMAd by the DMA engine. It is data > >> which is understoo

Re: [PATCH v6 05/14] sched/topology: Reference the Energy Model of CPUs when available

2018-08-29 Thread Patrick Bellasi
Hi Quentin, likely the organization and naming on this file would require some lovely refactoring and cleanup... but of course that's outside of the scope of this patch. Still, maybe we can improve a bit its current status according to the following comments ? On 20-Aug 10:44, Quentin Perret wrot

Re: [PATCH 3/4] tty: Lock tty pair in tty_init_dev()

2018-08-29 Thread Dmitry Safonov
On Wed, 2018-08-29 at 16:46 +0200, Jiri Slaby wrote: > On 08/29/2018, 04:23 AM, Dmitry Safonov wrote: > > It's safe to not lock both here - done to silence attempt lockdep > > assert in > > tty_ldisc_open(), which will be added with following patch. > > SOrry, could you elaborate here? I don't fol

Re: [PATCH v2] perf: Support for Arm A32/T32 instruction sets in CoreSight trace

2018-08-29 Thread Kim Phillips
On Wed, 29 Aug 2018 15:34:16 +0100 Robert Walker wrote: > Hi Kim, Hi Robert, > On 29/08/18 14:49, Kim Phillips wrote: > > On Wed, 29 Aug 2018 10:44:23 +0100 > > Robert Walker wrote: > > > >> This patch adds support for generating instruction samples from trace of > >> AArch32 programs using th

Re: [RFC PATCH 5/6] x86/alternatives: use temporary mm for text poking

2018-08-29 Thread Andy Lutomirski
On Wed, Aug 29, 2018 at 9:14 AM, Peter Zijlstra wrote: > On Wed, Aug 29, 2018 at 08:46:04AM -0700, Andy Lutomirski wrote: >> On Wed, Aug 29, 2018 at 2:28 AM, Peter Zijlstra wrote: >> > On Wed, Aug 29, 2018 at 01:11:46AM -0700, Nadav Amit wrote: >> >> >> + pte_clear(poking_mm, poking_addr, pte

Re: [PATCH v5 4/5] pinctrl: actions: Add Actions Semi S700 pinctrl driver

2018-08-29 Thread Manivannan Sadhasivam
On Wed, Aug 29, 2018 at 10:24:12AM +0200, Saravanan Sekar wrote: > Add pinctrl driver for Actions Semi S700 SoC. The driver supports pinctrl, > pinmux and pinconf functionalities through a range of registers common to > both gpio driver and pinctrl driver. > Please mention GPIO and interrupt suppo

Re: [PATCH 2/4] tty: Hold tty_ldisc_lock() during tty_reopen()

2018-08-29 Thread Dmitry Safonov
On Wed, 2018-08-29 at 16:40 +0200, Jiri Slaby wrote: > On 08/29/2018, 04:23 AM, Dmitry Safonov wrote: > > tty_ldisc_reinit() doesn't race with neither tty_ldisc_hangup() > > nor set_ldisc() nor tty_ldisc_release() as they use tty lock. > > But it races with anyone who expects line discipline to be

[RFC PATCH] x86: use WRITE_ONCE() when setting PTEs

2018-08-29 Thread Nadav Amit
When page-table entries are set, the compiler might optimize their assignment by using multiple instructions to set the PTE. This might turn into a security hazard if the user somehow manages to use the interim PTE. L1TF does not make our lives easier, making even an interim non-present PTE a secur

Re: [RFC PATCH 5/6] x86/alternatives: use temporary mm for text poking

2018-08-29 Thread Dave Hansen
On 08/29/2018 09:32 AM, Andy Lutomirski wrote: > It's plausible that there are workloads where the current code is > faster, such as where we're munmapping a single page via syscall and > we'd prefer to only flush that one TLB entry even if the flush > operation is slower as a result. Yeah, I don'

Re: [PATCH v2 3/6] dt-bindings: remoteproc: Remove additional definition tag

2018-08-29 Thread Sibi Sankar
Hi Matthias, Thanks for the review! On 2018-08-28 06:14, Matthias Kaehlcke wrote: Hi Sibi, Subject: dt-bindings: remoteproc: Remove additional definition tag nit: the subject is a bit generic, you probably should at least add 'qcom: ' to the 'path'. Will add On Fri, Aug 24, 2018 at 06:48:

<    1   2   3   4   5   6   7   8   9   >