[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

[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

[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

[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

[PATCH 05/11] MAINTAINERS: USB: change maintainer for Microchip USBA gadget driver

2018-08-29 Thread Nicolas Ferre
Hand over this USB gadget driver to Cristian: atmel_usba. Signed-off-by: Nicolas Ferre --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 686822714e6b..fe1280b92a2e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2551,7 +2551,7 @@

[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

[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 @@

[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 @@

[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 ---

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 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 ---

RE: [PATCH 1/1] Preventive patch in the pin control subsystem to handle NULL check.

2018-08-29 Thread Srikanth Korangala Hari
> If the pin descriptor requested for the physical pin fails then the > descriptor is dereferenced without checking for its validity which > may lead to crash, hence added preventive code to check for NULL > and accordingly dereference.   > Signed-off-by: Srikanth K H  > --- > 

Re: [PATCH V7 6/9] mmc: sdhci: Add Auto CMD Auto Select support

2018-08-29 Thread Adrian Hunter
On 29/08/18 10:03, Chunyan Zhang wrote: > As SD Host Controller Specification v4.10 documents: > Host Controller Version 4.10 defines this "Auto CMD Auto Select" mode. > Selection of Auto CMD depends on setting of CMD23 Enable in the Host > Control 2 register which indicates whether card supports

Re: [PATCH v4 0/2]: perf: reduce data loss when profiling highly parallel CPU bound workloads

2018-08-29 Thread Alexey Budankov
Hi, On 29.08.2018 11:40, Alexey Budankov wrote: > > Hi Kim, > > On 28.08.2018 22:43, Kim Phillips wrote: >> On Tue, 28 Aug 2018 18:44:57 +0300 >> Alexey Budankov wrote: >> >>> Experiment with profiling matrix multiplication code executing 128 >>> threads on Intel Xeon Phi (KNM) with 272

Re: [PATCH 12/25] ubifs: Add hashes to the tree node cache

2018-08-29 Thread Sascha Hauer
On Mon, Aug 27, 2018 at 09:18:25PM +0200, Richard Weinberger wrote: > Am Mittwoch, 4. Juli 2018, 14:41:24 CEST schrieb Sascha Hauer: > > As part of the UBIFS authentication support every branch in the index > > gets a hash covering the referenced node. To make that happen the tree > > node cache

Reminder: Alpine Linux Persistence and Storage Summit happens soon

2018-08-29 Thread Richard Weinberger
Dear storage folks! In less than two weeks the second Alpine Linux Persistence and Storage Summit (ALPSS) will be held at the Lizumerhuette [1][2] in Austria. We'd like to thank for all the great talk submissions and have the schedule ready at: https://www.alpss.at/#schedule If you want

Re: [perf] perf_event.h ABI visibility question

2018-08-29 Thread Peter Zijlstra
On Tue, Aug 28, 2018 at 01:51:29PM -0400, Vince Weaver wrote: > On Mon, 27 Aug 2018, Peter Zijlstra wrote: > > > Something like so then? > > > > diff --git a/include/uapi/linux/perf_event.h > > b/include/uapi/linux/perf_event.h > > index eeb787b1c53c..f35eb72739c0 100644 > > ---

Re: [PATCH] spi: dw-mmio: add MSCC Jaguar2 support

2018-08-29 Thread Gregory CLEMENT
Hi Alexandre, On mer., août 29 2018, Alexandre Belloni wrote: > Unfortunately, the Jaguar2 CPU_SYSTEM_CTRL register set has a different > layout than the Ocelot one. Handle that while keeping most of the code > common. > > Signed-off-by: Alexandre Belloni Reviewed-by: Gregory CLEMENT

[PATCH V4 3/4] clk: add managed version of clk_bulk_get_all

2018-08-29 Thread Dong Aisheng
This patch introduces the managed version of clk_bulk_get_all. Cc: Michael Turquette Cc: Stephen Boyd Tested-by: Thor Thayer Signed-off-by: Dong Aisheng --- v3->v4: * improve 'devres->clks = *clks' according to Stephen's suggestion v2->v3: * a minor fix of build warning on PowerPC platform.

[PATCH V4 4/4] video: simplefb: switch to use clk_bulk API to simplify clock operations

2018-08-29 Thread Dong Aisheng
Switching to use clk_bulk API to simplify clock operations. Cc: Hans de Goede Cc: Bartlomiej Zolnierkiewicz Cc: linux-fb...@vger.kernel.org Cc: Masahiro Yamada Cc: Stephen Boyd Tested-by: Thor Thayer Signed-off-by: Dong Aisheng --- v3->v4: * no changes v2->v3: * fix a build warning on x86

[PATCH V4 2/4] clk: add new APIs to operate on all available clocks

2018-08-29 Thread Dong Aisheng
This patch introduces of_clk_bulk_get_all and clk_bulk_x_all APIs to users who just want to handle all available clocks from device tree without need to know the detailed clock information likes clock numbers and names. This is useful in writing some generic drivers to handle clock part. Cc:

Re: [RFC PATCH 4/6] x86/alternatives: initializing temporary mm for patching

2018-08-29 Thread Masami Hiramatsu
On Wed, 29 Aug 2018 01:11:45 -0700 Nadav Amit wrote: > To prevent improper use of the PTEs that are used for text patching, we > want to use a temporary mm struct. We initailize it by copying the init > mm. > > The address that will be used for patching is taken from the lower area > that is

Re: [BUG v4.14-rt] kernel BUG at /work/rt/stable-rt.git/kernel/sched/core.c:1639!

2018-08-29 Thread Sebastian Andrzej Siewior
On 2018-08-22 12:33:15 [-0400], Steven Rostedt wrote: > I'm going to hold off on pulling this in until I see it in your tree, > because a stable RT branch should not carry anything that isn't in the > head RT tree. And it appears that this can affect your repo too. applied. Sebastian

[PATCH 1/2] phy: zynqmp: Add phy driver for xilinx zynqmp phy core

2018-08-29 Thread Anurag Kumar Vulisha
ZynqMP SoC has a Gigabit Transceiver with four lanes. All the high speed peripherals such as USB, SATA, PCIE, Display Port and Ethernet SGMII can rely on any of the four GT lanes for PHY layer. This patch adds driver for that ZynqMP GT core. Signed-off-by: Anurag Kumar Vulisha ---

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

2018-08-29 Thread Dmitry Safonov
Hi Sergey, On Wed, 2018-08-29 at 13:34 +0900, Sergey Senozhatsky wrote: > Hi, > > Cc-ing Benjamin on this. Thanks! > On (08/29/18 03:23), Dmitry Safonov wrote: > > BUG: unable to handle kernel paging request at 2260 > > IP: [..] n_tty_receive_buf_common+0x5f/0x86d > > Workqueue:

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

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

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

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

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

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

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 --

[no subject]

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

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: [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

[PATCH] arm64: defconfig: enable EFI_ARMSTUB_DTB_LOADER

2018-08-29 Thread Scott Branden
Enable EFI_ARMSTUB_DTB_LOADER to add support for the dtb= command line parameter to function with efi loader. Required to boot on existing bootloaders that do not support devicetree provided by the platform or by the bootloader. Fixes: 3d7ee348aa41 ("efi/libstub/arm: Add opt-in Kconfig option

[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

[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

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

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 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

[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

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

Re: [PATCH v6 07/14] sched/topology: Introduce sched_energy_present static key

2018-08-29 Thread Patrick Bellasi
Hi Quentin, a couple of minor notes/questions follow... Best, Patrick On 20-Aug 10:44, Quentin Perret wrote: > In order to ensure a minimal performance impact on non-energy-aware > systems, introduce a static_key guarding the access to Energy-Aware > Scheduling (EAS) code. > > The static key is

Re: [PATCH v7 2/2] cpufreq: qcom-hw: Add support for QCOM cpufreq HW driver

2018-08-29 Thread Matthias Kaehlcke
Hi Taniya, On Tue, Jul 24, 2018 at 04:12:50PM +0530, Taniya Das wrote: > The CPUfreq HW present in some QCOM chipsets offloads the steps necessary > for changing the frequency of CPUs. The driver implements the cpufreq > driver interface for this hardware engine. > > Signed-off-by: Saravana

[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 |

[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

[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

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.

[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:

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 >

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 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

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 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 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] PCI/MSI: Don't touch MSI bits when the PCI device is disconnected

2018-08-29 Thread Alex G.
Should I resubmit this rebased on 4.19-rc*, or just leave this patch as is? Alex On 07/30/2018 04:21 PM, Alexandru Gagniuc wrote: When a PCI device is gone, we don't want to send IO to it if we can avoid it. We expose functionality via the irq_chip structure. As users of that structure may not

Re: [RFC PATCH 6/6] x86/alternatives: remove text_poke() return value

2018-08-29 Thread Nadav Amit
at 2:52 AM, Masami Hiramatsu wrote: >> --- a/arch/x86/kernel/alternative.c >> +++ b/arch/x86/kernel/alternative.c >> @@ -795,7 +795,7 @@ static void text_poke_safe(void *addr, const void >> *opcode, size_t len, >> * >> * Note: Must be called under text_mutex. >> */ >> -void *text_poke(void

Re: [PATCH v6 07/14] sched/topology: Introduce sched_energy_present static key

2018-08-29 Thread Quentin Perret
On Wednesday 29 Aug 2018 at 17:50:58 (+0100), Patrick Bellasi wrote: > > +/* > > + * The complexity of the Energy Model is defined as: nr_pd * (nr_cpus + > > nr_cs) > > + * with: 'nr_pd' the number of performance domains; 'nr_cpus' the number of > > + * CPUs; and 'nr_cs' the sum of the capacity

Re: [PATCH] MIPS: Fix computation on entry point

2018-08-29 Thread Paul Burton
Hi Philippe, On Tue, Aug 28, 2018 at 05:52:50PM +0200, Philippe Reynes wrote: > Since commit 27c524d17430 ("MIPS: Use the entry point from the ELF > file header"), the kernel entry point is computed with a grep on > "start address" on the output of objdump. It works fine when the > default

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 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] 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

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

[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

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

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 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 > > > >

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

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

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

Re: [RFC PATCH 1/6] x86/alternative: assert text_mutex is taken

2018-08-29 Thread Nadav Amit
at 1:59 AM, Masami Hiramatsu wrote: > On Wed, 29 Aug 2018 01:11:42 -0700 > Nadav Amit wrote: > >> Use lockdep to ensure that text_mutex is taken when text_poke() is >> called. >> >> Actually it is not always taken, specifically when it is called by kgdb, >> so take the lock in these cases. >

Add SoundWire tree to linux-next

2018-08-29 Thread Vinod
Hi Stephen, I maintain the SoundWire subsystem which get merged to Linus thru Greg's char-misc tree. I would now like this to be added to Linux-next and after the Greg's char-misc tree. Please include next and fixes branches of the soundwire tree located at

Re: [PATCH v4 0/2] clk: Add functions to get optional clocks

2018-08-29 Thread Andy Shevchenko
On Tue, Jul 31, 2018 at 01:10:58PM +0100, Phil Edworthy wrote: > Quite a few drivers get an optional clock, e.g. a bus clock required to > access peripheral's registers that is always enabled on some devices. > Didn't see any updates so far. Anyway, this one LGTM, Reviewed-by: Andy Shevchenko

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

2018-08-29 Thread Mike Kravetz
On 08/27/2018 06:46 AM, Jerome Glisse wrote: > On Mon, Aug 27, 2018 at 09:46:45AM +0200, Michal Hocko wrote: >> On Fri 24-08-18 11:08:24, Mike Kravetz wrote: >>> Here is an updated patch which does as you suggest above. >> [...] >>> @@ -1409,6 +1419,32 @@ static bool try_to_unmap_one(struct page

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

2018-08-29 Thread Alexandre Belloni
Mark, On 29/08/2018 16:15:02+0100, Mark Brown wrote: > 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 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] 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

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. >> >>

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(). > >

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

[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

[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

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

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); > >> + > >> + /* > >> + *

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

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,

RE: [PATCH 3/3] dmaengine: xilinx_dma: Fix 64-bit simple CDMA transfer

2018-08-29 Thread Radhey Shyam Pandey
> -Original Message- > From: Vinod > Sent: Wednesday, August 29, 2018 9:31 AM > To: Radhey Shyam Pandey > Cc: dan.j.willi...@intel.com; Michal Simek ; Appana > Durga Kedareswara Rao ; l...@metafoo.de; > dmaeng...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; linux- >

Re: [PATCH v5 1/4] staging: mt7621-mmc: Remove commented code for N_MSG

2018-08-29 Thread Nishad Kamdar
On Mon, Aug 27, 2018 at 07:33:40PM +0200, Greg Kroah-Hartman wrote: > On Thu, Aug 23, 2018 at 10:58:09PM +0530, Nishad Kamdar wrote: > > This patch removes the dead code for N_MSG(). > > > > Signed-off-by: Nishad Kamdar > > --- > > Changes in v5: > > - Remove commented code for N_MSG() > > ---

[PATCH v1 09/10] tools, perf, script: Add --call-trace and --call-ret-trace

2018-08-29 Thread Andi Kleen
From: Andi Kleen Add short cut options to print PT call trace and call-ret-trace, for calls and call and returns. Roughly corresponds to ftrace function tracer and function graph tracer. Just makes these common use cases nicer to use. % perf record -a -e intel_pt// sleep 1 % perf script

[PATCH v1 03/10] tools, perf, script: Add --insn-trace for instruction decoding

2018-08-29 Thread Andi Kleen
From: Andi Kleen Add a --insn-trace short hand option for decoding and disassembling instruction streams for intel_pt. This automatically pipes the output into the xed disassembler to generate disassembled instructions. This just makes this use model much nicer to use Before % perf record -e

[PATCH v1 05/10] perf, tools, script: Print DSO for callindent

2018-08-29 Thread Andi Kleen
From: Andi Kleen Now that we don't need to print the IP/ADDR for callindent the DSO is also not printed. It's useful for some cases, so add an own DSO printout for callindent for the case when IP/ADDR is not enabled. Signed-off-by: Andi Kleen --- tools/perf/builtin-script.c | 9 - 1

[PATCH v1 08/10] perf, tools, script: Make itrace script default to all calls

2018-08-29 Thread Andi Kleen
From: Andi Kleen By default perf script for itrace outputs sampled instructions or branches. In my experience this is confusing to users because it's hard to correlate with real program behavior. The sampling makes sense for tools like report that actually sample to reduce the run time, but run

[PATCH v1 02/10] tools, pager: Support overwriting the pager

2018-08-29 Thread Andi Kleen
From: Andi Kleen Add an interface to the auto pager code that allows callers to overwrite the pager. Signed-off-by: Andi Kleen --- tools/lib/subcmd/pager.c | 11 ++- tools/lib/subcmd/pager.h | 1 + 2 files changed, 11 insertions(+), 1 deletion(-) diff --git

[PATCH v1 01/10] perf tools: Report itrace options in help

2018-08-29 Thread Andi Kleen
From: Andi Kleen I often forget all the options that --itrace accepts. Instead of burying them in the man page only report them in the normal command line help too to make them easier accessible. Signed-off-by: Andi Kleen --- tools/perf/builtin-inject.c | 3 ++- tools/perf/builtin-report.c |

[PATCH v1 06/10] tools, perf, script: Set user_set/wildcard_set for +- fields in -F

2018-08-29 Thread Andi Kleen
From: Andi Kleen The branch target output relies on the user_set flag to determine if the branch target should be implicitely printed. When modifying the fields with + or - also set user_set, so that ADDR can be removed. We also need to set wildcard_set to make the initial sanity check pass.

<    1   2   3   4   5   6   7   8   9   10   >