Re: [PATCH v2 11/11] kasan: rework Kconfig settings

2017-06-16 Thread Dmitry Vyukov
On Fri, Jun 16, 2017 at 1:42 PM, Arnd Bergmann wrote: >>> diff --git a/lib/Kconfig.kmemcheck b/lib/Kconfig.kmemcheck >>> index 846e039a86b4..58b9f3f81dc8 100644 >>> --- a/lib/Kconfig.kmemcheck >>> +++ b/lib/Kconfig.kmemcheck >>> @@ -7,6 +7,7 @@ menuconfig KMEMCHECK >>> bool "kmemcheck: tra

[GIT PULL] Please pull powerpc/linux.git powerpc-4.12-6 tag

2017-06-16 Thread Michael Ellerman
Hi Linus, Please pull some more powerpc fixes for 4.12: The following changes since commit c6ee9619e2edd9912316f7e2eaf9ffa14fafe9f9: powerpc/book3s64: Move PPC_DT_CPU_FTRs and enable it by default (2017-06-08 20:42:57 +1000) are available in the git repository at: git://git.kernel.org/pub

Re: [PATCH] block: swim3: make of_device_ids const.

2017-06-16 Thread Johannes Thumshirn
On Fri, Jun 16, 2017 at 03:24:39PM +0530, Arvind Yadav wrote: > of_device_ids are not supposed to change at runtime. All functions > working with of_device_ids provided by work with const > of_device_ids. So mark the non-const structs as const. > > File size before: >text data bs

Re: perf report: fix off-by-one for non-activation frames

2017-06-16 Thread Milian Wolff
On Freitag, 16. Juni 2017 08:14:56 CEST Jan Kratochvil wrote: > On Mon, 15 May 2017 17:04:44 +0200, Milian Wolff wrote: > > commit 1982ad48fc82c284a5cc55697a012d3357e84d01 > Author: Milian Wolff > Date: Wed May 24 15:21:25 2017 +0900 > > > --- a/tools/perf/util/unwind-libdw.c > > +++ b/tools/p

[PATCH 05/12] ARM: dts: dra7-evm: Add pinmux configuration for MMC

2017-06-16 Thread Kishon Vijay Abraham I
Include dra74x-mmc-iodelay.dtsi which has pinmux and IODelay configuration values for the various MMC modes for dra74 SoC and use it in the pinctrl properties of MMC devicetree nodes present in dra7-evm. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra7-evm.dts | 22 ++

[PATCH 01/12] ARM: OMAP2+: Select PINCTRL_TI_IODELAY for SOC_DRA7XX

2017-06-16 Thread Kishon Vijay Abraham I
PINCTRL_TI_IODELAY should be enabled so that "pinctrl_dev" can be created for pinctrl entries populated with iodelay values in device tree data. Select PINCTRL_TI_IODELAY for SOC_DRA7XX here. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/Kconfig | 1 + 1 file changed, 1 insertion

[PATCH 03/12] ARM: dts: dra72x: Create a common file with MMC/SD IOdelay data

2017-06-16 Thread Kishon Vijay Abraham I
From: Sekhar Nori Add pinmux configuration for MMC module including IODELAY values suggested in the data manual for the various supported modes. IOdelay data for both silicon revision 1.0 and 2.0 is added here. The datamanual revisions used are: * AM571x Silicon Revision 2.0: SPRS957D, Revised

[PATCH 09/12] ARM: dts: am572x-idk: Add pinmux configuration for MMC

2017-06-16 Thread Kishon Vijay Abraham I
Include dra74x-mmc-iodelay.dtsi which has pinmux and IODelay configuration values for the various MMC modes for dra74x SoC and use it in the pinctrl properties of MMC devicetree nodes present in am572x-idk.dts. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/am572x-idk.dts | 19 +

[PATCH] ata: pata_octeon_cf: make of_device_ids const.

2017-06-16 Thread Arvind Yadav
of_device_ids are not supposed to change at runtime. All functions working with of_device_ids provided by work with const of_device_ids. So mark the non-const structs as const. File size before: textdata bss dec hex filename 465 696 41165 48d drivers/ata/p

[PATCH 12/12] ARM: dts: dra71-evm: Add pinmux configuration for MMC

2017-06-16 Thread Kishon Vijay Abraham I
Include dra72x-mmc-iodelay.dtsi which has pinmux and IODelay configuration values for the various MMC modes for dra72 SoC and use it in the pinctrl properties of MMC devicetree nodes present in dra71-evm.dts. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra71-evm.dts | 14

[PATCH 08/12] ARM: dts: am571x-idk: Add pinmux configuration for MMC

2017-06-16 Thread Kishon Vijay Abraham I
Include dra72x-mmc-iodelay.dtsi which has pinmux and IODelay configuration values for the various MMC modes for dra72 SoC and use it in the pinctrl properties of MMC devicetree nodes present in am571x-idk.dts. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/am571x-idk.dts | 19 ++

[PATCH 11/12] ARM: dts: dra72-evm-revc: Add pinmux configuration for MMC

2017-06-16 Thread Kishon Vijay Abraham I
Include dra72x-mmc-iodelay.dtsi which has pinmux and IODelay configuration values for the various MMC modes for dra72 SoC and use it in the pinctrl properties of MMC devicetree nodes present in dra72-evm-revc.dts. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra72-evm-revc.dts | 1

[PATCH 07/12] ARM: dts: am57xx-idk: Move common MMC/SD properties to common file

2017-06-16 Thread Kishon Vijay Abraham I
AM572x IDK and AM571x IDK boards have equivalent design of how SD card and eMMC are connected. The two EVMs mainly differ in IOdelay configuration needed (because of difference in SoC used). Move the common properties to am57xx-idk-common.dtsi file which is common for both EVMs. Signed-off-by: S

[PATCH 06/12] ARM: dts: am57xx-beagle-x15: Add pinmux configuration for MMC

2017-06-16 Thread Kishon Vijay Abraham I
Include dra74x-mmc-iodelay.dtsi which has pinmux and IODelay configuration values for the various MMC modes for dra74 SoC and use it in the pinctrl properties of MMC devicetree nodes present in am57xx-beagle-x15/am57xx-beagle-x15-revb1. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts

[PATCH 04/12] ARM: dts: dra74x: Create a common file with MMC/SD IOdelay data

2017-06-16 Thread Kishon Vijay Abraham I
From: Sekhar Nori Add pinmux configuration for MMC module including IODELAY values suggested in the data manual for the various supported modes. IOdelay data for both silicon revision 1.1 and 2.0 is added here. The datamanual revisions used are: * AM572x Silicon Revision 2.0: SPRS953B, Revised

[PATCH 00/12] ARM: dts: Add iodelay data for MMC

2017-06-16 Thread Kishon Vijay Abraham I
This is the second part of the series originally sent as part of [1] with one important modification. Now PINCTRL_TI_IODELAY will be enabled for SOC_DRA7XX (in mach-omap2/Kconfig) so that omap2plus_defconfig or multi_v7_defconfig don't have to be modified. This series only adds data and it won't

[PATCH 10/12] ARM: dts: dra72-evm: Add pinmux configuration for MMC

2017-06-16 Thread Kishon Vijay Abraham I
Include dra72x-mmc-iodelay.dtsi which has pinmux and IODelay configuration values for the various MMC modes for dra72 SoC and use it in the pinctrl properties of MMC devicetree nodes present in dra72-evm.dts. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra72-evm.dts | 14

Re: perf report: fix off-by-one for non-activation frames

2017-06-16 Thread Jan Kratochvil
On Fri, 16 Jun 2017 13:51:37 +0200, Milian Wolff wrote: > > perf-4.12.0-0.rc5.git0.1.fc27.x86_64 > > 39e32e gdb_main (/usr/libexec/gdb) > > 10b6fa main (/usr/libexec/gdb) > >0x5565f6f6 <+54>:callq 0x558f17a0 > > >0x5565f6fb <+59

[PATCH 02/12] ARM: dts: Add dra7 iodelay configuration

2017-06-16 Thread Kishon Vijay Abraham I
From: Tony Lindgren Add dra7 iodelay configuration. Signed-off-by: Tony Lindgren Signed-off-by: Nishanth Menon Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra7.dtsi | 8 include/dt-bindings/pinctrl/dra.h | 3 +++ 2 files changed, 11 insertions(+) diff --git a/

Re: [PATCH 1/3] ARM: Generalize fncpy implementation

2017-06-16 Thread Russell King - ARM Linux
On Thu, Jun 15, 2017 at 04:21:15PM -0700, Florian Fainelli wrote: > ARM's fncpy implementation is actually suitable for a large number of > platforms since the only assumption it makes is just the function's > alignment (8 bytes) which also happens to fulfil other architectures, > including but not

[PATCH v3 0/4] PTP support for macb driver

2017-06-16 Thread Rafal Ozieblo
This patch series adds support for PTP synchronization protocol in Cadence GEM driver based on PHC. v2 changes: * removed alarm's support * removed external time stamp support * removed PTP event interrupt handling * removed ptp_hw_support flag * removed all extra sanity checks * removed unnecessa

Re: [PATCH] omap3isp: fix compilation

2017-06-16 Thread Sakari Ailus
On Fri, Jun 16, 2017 at 10:03:41AM +0200, Hans Verkuil wrote: > On 06/16/2017 12:23 AM, Pavel Machek wrote: > > > >Fix compilation of isp.c > >Signed-off-by: Pavel Machek > > > >diff --git a/drivers/media/platform/omap3isp/isp.c > >b/drivers/media/platform/omap3isp/isp.c > >index 4ca3fc9..b80debf

Re: [PATCH 3/8] genirq/affinity: factor out a irq_affinity_set helper

2017-06-16 Thread Thomas Gleixner
On Fri, 16 Jun 2017, Thomas Gleixner wrote: > On Sat, 3 Jun 2017, Christoph Hellwig wrote: > > +bool irq_affinity_set(int irq, struct irq_desc *desc, const cpumask_t > > *mask) > > +{ > > + struct irq_data *data = irq_desc_get_irq_data(desc); > > + struct irq_chip *chip = irq_data_get_irq_chip

[PATCH v3 2/4] net: macb: Add tsu_clk to device tree

2017-06-16 Thread Rafal Ozieblo
Signed-off-by: Rafal Ozieblo Acked-by: Rob Herring --- Documentation/devicetree/bindings/net/macb.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation/devicetree/bindings/net/macb.txt index 1506e94..27966ae 100644 --- a/Documenta

[PATCH v3 1/4] net: macb: Add support for PTP timestamps in DMA descriptors

2017-06-16 Thread Rafal Ozieblo
This patch adds support for PTP timestamps in DMA buffer descriptors. It checks capability at runtime and uses appropriate buffer descriptor. Signed-off-by: Rafal Ozieblo --- drivers/net/ethernet/cadence/Kconfig | 10 ++- drivers/net/ethernet/cadence/macb.c | 117 ++

Re: [PATCH v2 03/11] tty: kbd: reduce stack size with KASAN

2017-06-16 Thread Arnd Bergmann
On Thu, Jun 15, 2017 at 6:53 AM, Greg Kroah-Hartman wrote: > On Thu, Jun 15, 2017 at 06:52:21AM +0200, Greg Kroah-Hartman wrote: >> On Wed, Jun 14, 2017 at 11:15:38PM +0200, Arnd Bergmann wrote: >> > As reported by kernelci, some functions in the VT code use significant >> > amounts of kernel stac

[PATCH v3 4/4] net: macb: Add hardware PTP support

2017-06-16 Thread Rafal Ozieblo
This patch is based on original Harini's patch and Andrei's patch, implemented in a separate file to ease the review/maintanance and integration with other platforms. This driver supports GEM-GXL: - Register ptp clock framework - Initialize PTP related registers - HW time stamp on the PTP Ethernet

[PATCH] ata: sata_rcar: make of_device_ids const.

2017-06-16 Thread Arvind Yadav
of_device_ids are not supposed to change at runtime. All functions working with of_device_ids provided by work with const of_device_ids. So mark the non-const structs as const. File size before: textdata bss dec hex filename 39462296 062421862 drivers/ata/s

Re: [PATCH v9 5/7] ACPI: Translate the I/O range of non-MMIO devices before scanning

2017-06-16 Thread Mika Westerberg
On Fri, Jun 16, 2017 at 01:24:32PM +0200, Rafael J. Wysocki wrote: > > In fact it may be that it is not sufficient in this case because the > > ACPI core might enumerate child devices before the LPC driver even gets > > a chance to probe so you would need to add also scan handler to the > > child d

[PATCH 0/3] ARM64: dts: meson-gxl: Add support for Libre Computer

2017-06-16 Thread Jerome Brunet
This patchset adds support for the Libre Computer from Imprecision Systems This board derives from the s905x p212 reference design. it provides: * Ethernet using the internal PHY * 4 USB ports * Composite Audio/Video jack * HDMI * IR It also provides 2 Headers (40 and 8 pins) for GPIOs and the fo

[PATCH 2/3] dt-bindings: arm: amlogic: Add Libre Computer Board

2017-06-16 Thread Jerome Brunet
Add bindings documentation for the Libre Computer Board from Imprecision Systems Signed-off-by: Jerome Brunet --- Documentation/devicetree/bindings/arm/amlogic.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt b/Documentation/devicetree/bi

[PATCH 3/3] ARM64: dts: meson-gxl: Add Libre Computer support

2017-06-16 Thread Jerome Brunet
Add support for the Libre Computer board from Imprecision Systems More information about the board are available here: https://libre.computer/blog/ Cc: Neil Armstrong Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/Makefile | 1 + .../dts/amlogic/meson-gxl-s905x-lib

[PATCH 1/3] dt-bindings: add Imprecision Systems vendor prefix

2017-06-16 Thread Jerome Brunet
Imprecision System LLC is a single board computer manufacturer Signed-off-by: Jerome Brunet --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/ven

Re: [PATCH v5 01/13] random: invalidate batched entropy after crng init

2017-06-16 Thread Jason A. Donenfeld
On Fri, Jun 16, 2017 at 10:31 AM, Sebastian Andrzej Siewior wrote: > am talking about. Again: I actually figured that out myself after sending the initial email, so then I wrote a follow-up patch which I attached to this thread. You should have received it. Can you take a look? https://lkml.org/

[PATCH] perf unwind: Limit warnings when asked for not supported unwind

2017-06-16 Thread Jiri Olsa
Ingo reported following warning flooding the report out: unwind: target platform=x86 is not supported We trigger this warning when the dwarf unwinder is asked to process architecture which wasn't compiled in, like when you get 32bit application samples on your 64bit server and you don't have th

[GIT PULL] phy: for 4.13

2017-06-16 Thread Kishon Vijay Abraham I
Hi Greg, Please find the pull request for 4.13 merge window below. I included the grouping of phy drivers into vendor specific directories which got missed last time, for this merge window. Apart from that it contains 4 new USB phy drivers for Renesas, Amlogic, Broadcom and Motorola. It also incl

Re: [PATCH] ipmi: use rcu lock around call to intf->handlers->sender()

2017-06-16 Thread Corey Minyard
On 06/15/2017 10:54 AM, Corey Minyard wrote: On 06/13/2017 09:54 AM, Tony Camuso wrote: A vendor with a system having more than 128 CPUs occasionally encounters a crash during shutdown. This is not an easily reproduceable event, but the vendor was able to provide the following analysis of the

[PATCH] soc: ti: knav: Fix compilation warning.

2017-06-16 Thread Arvind Yadav
Replace '%d' by '%zu' to fix the following compilation warning:- drivers/soc/ti/knav_qmss_queue.c: In function ‘knav_queue_setup_link_ram’: drivers/soc/ti/knav_qmss_queue.c:1166:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 6 has type ‘size_t’ [-Wformat=] dev_db

[PATCH 1/7] dt-bindings: stm32: sai: fix DT example

2017-06-16 Thread olivier moysan
Correct the device tree example. Signed-off-by: olivier moysan --- .../devicetree/bindings/sound/st,stm32-sai.txt | 25 +- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/st,stm32-sai.txt b/Documentation/devicetree/

[PATCH 4/7] ASoC: stm32: sai: remove spurious trace

2017-06-16 Thread olivier moysan
Remove spurious trace in sai driver. Signed-off-by: olivier moysan --- sound/soc/stm/stm32_sai_sub.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c index d7aeed3..24b8874 100644 --- a/sound/soc/stm/stm32_sai_sub.c +++ b/sound/s

[PATCH 0/7] ASoC: stm32: sai: misc fixes

2017-06-16 Thread olivier moysan
This patch-set gathers various fixes on STM32 SAI driver. olivier moysan (7): dt-bindings: stm32: sai: fix DT example ASoC: stm32: change SAI configuration flag ASoC: stm32: sai: typo fixes ASoC: stm32: sai: remove spurious trace ASoC: stm32: sai: change stop sequence ASoC: stm32: sai:

[PATCH 1/2] dt-bindings: stm32: add h7 support for sai

2017-06-16 Thread olivier moysan
Document device tree bindings for STM32H7 SAI. Signed-off-by: olivier moysan --- .../devicetree/bindings/sound/st,stm32-sai.txt | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/st,stm32-sai.txt b/Documentation

[PATCH 2/2] ASoC: stm32: sai: add h7 support

2017-06-16 Thread olivier moysan
Add support of SAI on STM32H7 family. Signed-off-by: olivier moysan --- sound/soc/stm/stm32_sai.c | 13 +- sound/soc/stm/stm32_sai.h | 72 ++--- sound/soc/stm/stm32_sai_sub.c | 92 --- 3 files changed, 155 insertions

[RFC] ubsan: signed integer overflow in mem_cgroup_event_ratelimit

2017-06-16 Thread Michal Hocko
[your email seems to be corrupted - here is a repost with reconstructed header] On Fri 16-06-17 21:10:26, Alice Ferrazzi wrote: > Hello, > > a user reported a UBSAN signed integer overflow in memcontrol.c > Shall we change something in mem_cgroup_event_ratelimit()? > > ==

[PATCH 2/7] ASoC: stm32: change SAI configuration flag

2017-06-16 Thread olivier moysan
Use a specific flag for SAI interface instead of common stm32 asoc flag. Signed-off-by: olivier moysan --- sound/soc/stm/Kconfig | 10 +++--- sound/soc/stm/Makefile | 4 ++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/sound/soc/stm/Kconfig b/sound/soc/stm/Kconfig index

[PATCH 7/7] ASoC: stm32: sai: manage master clock

2017-06-16 Thread olivier moysan
Disable master clock by default, and activate it only when requested. Signed-off-by: olivier moysan --- sound/soc/stm/stm32_sai_sub.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c index 2466af0..ce48c02 100644 --

[PATCH 0/2] ASoC: stm32: sai: Add H7 support

2017-06-16 Thread olivier moysan
This patch-set adds support of the Serial Audio Interface (SAI) IP on H7 STM32 platform family. olivier moysan (2): dt-bindings: stm32: add h7 support for sai ASoC: stm32: sai: add h7 support .../devicetree/bindings/sound/st,stm32-sai.txt | 18 ++--- sound/soc/stm/stm32_sai.c

[PATCH] soc: ti: knav: make of_device_ids const.

2017-06-16 Thread Arvind Yadav
of_device_ids are not supposed to change at runtime. All functions working with of_device_ids provided by work with const of_device_ids. So mark the non-const structs as const. File size before: textdata bss dec hex filename 5369 720 8609717d1 drivers/soc/t

[PATCH 5/7] ASoC: stm32: sai: change stop sequence

2017-06-16 Thread olivier moysan
Disable SAI before stopping DMA data transfers. Signed-off-by: olivier moysan --- sound/soc/stm/stm32_sai_sub.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c index 24b8874..97b69a3 100644 --- a/sound/soc/

[PATCH 6/7] ASoC: stm32: sai: fix clock management

2017-06-16 Thread olivier moysan
Allow peripheral clock enable/disable on regmap accesses. Signed-off-by: olivier moysan --- sound/soc/stm/stm32_sai_sub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c index 97b69a3..2466af0 100644 --- a/soun

[PATCH 3/7] ASoC: stm32: sai: typo fixes

2017-06-16 Thread olivier moysan
Fix typos in sai driver. Signed-off-by: olivier moysan --- sound/soc/stm/stm32_sai.c | 2 +- sound/soc/stm/stm32_sai.h | 1 - sound/soc/stm/stm32_sai_sub.c | 28 ++-- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/sound/soc/stm/stm32_sai.c b/so

Re: [patch] mm, oom: prevent additional oom kills before memory is freed

2017-06-16 Thread Tetsuo Handa
Michal Hocko wrote: > OK, could you play with the patch/idea suggested in > http://lkml.kernel.org/r/20170615122031.gl1...@dhcp22.suse.cz? I think we don't need to worry about mmap_sem dependency inside __mmput(). Since the OOM killer checks for !MMF_OOM_SKIP mm rather than TIF_MEMDIE thread, we c

Re: [PATCH v9 5/7] ACPI: Translate the I/O range of non-MMIO devices before scanning

2017-06-16 Thread Rafael J. Wysocki
On Fri, Jun 16, 2017 at 2:00 PM, Mika Westerberg wrote: > On Fri, Jun 16, 2017 at 01:24:32PM +0200, Rafael J. Wysocki wrote: >> > In fact it may be that it is not sufficient in this case because the >> > ACPI core might enumerate child devices before the LPC driver even gets >> > a chance to probe

[RFC] ubsan: signed integer overflow in mem_cgroup_event_ratelimit

2017-06-16 Thread Alice Ferrazzi
Hello, a user reported a UBSAN signed integer overflow in memcontrol.c Shall we change something in mem_cgroup_event_ratelimit()? kernel: UBSAN: Undefined behaviour in mm/memcontrol.c:661:17 kernel: signed integer ov

Re: [PATCH 1/2] platform/x86: silead_dmi: Add touchscreen info for PoV mobii wintab p800w

2017-06-16 Thread Hans de Goede
Hi, On 15-06-17 18:53, Darren Hart wrote: On Thu, Jun 15, 2017 at 08:48:31AM +0200, Hans de Goede wrote: Add touchscreen info for the Point of View mobii wintab p800w tablet. Signed-off-by: Hans de Goede --- drivers/platform/x86/silead_dmi.c | 25 + 1 file changed,

Re: [PATCH v2 2/4] [media] platform: Add Synopsys Designware HDMI RX Controller Driver

2017-06-16 Thread Hans Verkuil
Hi Jose, Just a quick review of the new CEC code: On 06/16/17 12:07, Jose Abreu wrote: > This is an initial submission for the Synopsys Designware HDMI RX > Controller Driver. This driver interacts with a phy driver so that > a communication between them is created and a video pipeline is > confi

[PATCH v3 3/n] perf/core: addressing 4x slowdown during per-process profiling of STREAM benchmark on Intel Xeon Phi

2017-06-16 Thread Alexey Budankov
perf/core: mux switch to skip to the current CPU's events list on mux interrupt By default, the userspace perf tool opens per-cpu task-bound events when sampling, so for N logical events requested by the user, the tool will open N * NR_CPUS events. In the kernel, we mux events with a hrtimer, p

Re: [PATCH 1/2] platform/x86: silead_dmi: Add touchscreen info for PoV mobii wintab p800w

2017-06-16 Thread Andy Shevchenko
On Thu, Jun 15, 2017 at 7:53 PM, Darren Hart wrote: > On Thu, Jun 15, 2017 at 08:48:31AM +0200, Hans de Goede wrote: >> + /* Point of View mobii wintab p800w */ >> + .driver_data = (void *)&pov_mobii_wintab_p800w_data, >> + .matches = { >> +

Re: [PATCH 1/1] mtd: spi-nor: parse Serial Flash Discoverable Parameters (SFDP) tables

2017-06-16 Thread Cyrille Pitchen
Hi all, this one seems not to have been received by the linux-mtd mailing list: I've received an email reporting a delivery issue. So I've just resent the very same patch with my @wedev4u.fr address. Sorry for the noise. Best regards, Cyrille Le 16/06/2017 à 12:03, Cyrille Pitchen a écrit : >

[PATCH 10/16] mmc: host: omap_hsmmc: Add new compatible string to support dra7

2017-06-16 Thread Kishon Vijay Abraham I
Add a new compatible string "ti,dra7-hsmmc" to support dra7 and dra72 controllers. Also create a new controller flag "OMAP_HSMMC_REQUIRE_IODELAY" to specify all controllers that use "ti,dra7-hsmmc" require iodealy configuration to be set. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Sekha

[PATCH 09/16] mmc: host: omap_hsmmc: Prepare *set_timing() to be used for iodelay setting

2017-06-16 Thread Kishon Vijay Abraham I
No functional change. Add separate case statements for certain timing like MMC_TIMING_SD_HS and MMC_TIMING_MMC_HS even though AC12_UHSMC_RES has to be written to the AC12 register (same as for default modes). Also have separate case sections for MMC_TIMING_UHS_SDR104 and MMC_TIMING_UHS_HS200 even t

[PATCH 03/16] mmc: host: omap_hsmmc: Remove incorrect voltage switch sequence

2017-06-16 Thread Kishon Vijay Abraham I
ios->vdd is set only in mmc_power_up and mmc_power_off and not in mmc_select_voltage() as mentioned in the code comment. This seems to be legacy code that has been carried for a long time without being tested. This will be replaced with the correct voltage switch sequence and populated in start_si

[PATCH 04/16] mmc: host: omap_hsmmc: Add voltage switch support for UHS SD card

2017-06-16 Thread Kishon Vijay Abraham I
UHS SD card IO data line operates at 1.8V when in UHS speed mode. Add voltage switch support in order to enumerate UHS cards. Also, enable CIRQ before checking for CLEV/DLEV. MMC module can sense when the clock lines and data lines are driven high by the card, if MMC is active and CIRQ can be use

[PATCH 07/16] mmc: host: omap_hsmmc: Allow io voltage switch even for fixed vdd

2017-06-16 Thread Kishon Vijay Abraham I
Now that vmmc regulator is made optional, do not bail out if vmmc regulator is not found. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Sekhar Nori --- drivers/mmc/host/omap_hsmmc.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host

[PATCH 06/16] mmc: host: omap_hsmmc: Add tuning support

2017-06-16 Thread Kishon Vijay Abraham I
MMC tuning procedure is required to support SD card UHS1-SDR104 mode and EMMC HS200 mode. The tuning function omap_execute_tuning() will only be called by the MMC/SD core if the corresponding speed modes are supported by the OMAP silicon which is set in the mmc host "caps" field. Add a separate f

[PATCH 14/16] mmc: host: omap_hsmmc: Enable ADMA2

2017-06-16 Thread Kishon Vijay Abraham I
omap hsmmc host controller has ADMA2 feature. Enable it here for better read and write throughput. Signed-off-by: Kishon Vijay Abraham I [misael.lo...@ti.com: handle ADMA errors] Signed-off-by: Misael Lopez Cruz [nsek...@ti.com: restore adma settings after context loss] Signed-off-by: Sekhar Nor

[PATCH 02/16] mmc: host: omap_hsmmc: Separate setting voltage capabilities from bus power

2017-06-16 Thread Kishon Vijay Abraham I
Add a separate function to set the voltage capabilities of the host controller. Voltage capabilities should be set only once during controller initialization but bus power can be changed every time there is a voltage switch and whenever a different card is inserted. This allows omap_hsmmc_conf_bus_

[PATCH 15/16] ARM: dts: dra7: Use new dra7-specific compatible string

2017-06-16 Thread Kishon Vijay Abraham I
Use the new compatible string "ti,dra7-hsmmc" that was specifically added for dra7 and dra72. This is required since for dra7 and dra72 processors iodelay values has to be set unlike other processors. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Sekhar Nori --- arch/arm/boot/dts/dra7.dt

[PATCH 05/16] mmc: host: omap_hsmmc: Set clk rate to the max frequency

2017-06-16 Thread Kishon Vijay Abraham I
Set the clock rate of the functional clock to the max frequency that is passed to the driver either using pdata or dt. Also remove unnecessary setting of host->fclk to NULL. This is in preparation for supporting high frequency modes of operation. Signed-off-by: Kishon Vijay Abraham I Signed-off

[PATCH 01/16] mmc: host: omap_hsmmc: Support pbias and vmmc_aux to switch to 1.8v

2017-06-16 Thread Kishon Vijay Abraham I
Add support for vmmc_aux to switch to 1.8v. Also use "iov" instead of "vdd" to indicate io voltage. This is in preparation for adding support for io signal voltage switch. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Sekhar Nori --- drivers/mmc/host/omap_hsmmc.c | 50 +++

[PATCH 08/16] mmc: host: omap_hsmmc: Add software timer when timeout greater than hardware capablility

2017-06-16 Thread Kishon Vijay Abraham I
From: Mugunthan V N DRA7 Errata No i834: When using high speed HS200 and SDR104 cards, the functional clock for MMC module will be 192MHz. At this frequency, the maximum obtainable timeout (DTO =0xE) in hardware is (1/192MHz)*2^27 = 700ms. Commands taking longer than 700ms will be affected by thi

[PATCH 13/16] mmc: host: omap_hsmmc: Remove *use_dma* member

2017-06-16 Thread Kishon Vijay Abraham I
omap_hsmmc doesn't support polled I/O. So remove *use_dma* which is always set to '1'. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Sekhar Nori --- drivers/mmc/host/omap_hsmmc.c | 37 - 1 file changed, 16 insertions(+), 21 deletions(-) diff --git a/d

[PATCH 12/16] mmc: host: omap_hsmmc: Add support to set IODELAY values

2017-06-16 Thread Kishon Vijay Abraham I
The data manual of J6/J6 Eco recommends to set different IODELAY values depending on the mode in which the MMC/SD is enumerated in order to ensure IO timings are met. Add support to set the IODELAY values depending on the various MMC modes using the pinctrl APIs. Signed-off-by: Kishon Vijay Abrah

[PATCH 16/16] ARM: dts: dra7: Add supported MMC/SD modes in MMC dt nodes

2017-06-16 Thread Kishon Vijay Abraham I
On DRA7 family SoCs, MMC1 controller supports SDR104, SDR50, DDR50, SDR25 and SDR12 UHS modes (These UHS modes are not supported in beagle-x15 because it's not possible to switch IO lines supply voltage to 1.8v). MMC2 controller supports HS200 and DDR modes. (Since some of the boards like am57xx-e

[PATCH 00/16] omap_hsmmc: Add ADMA support and UHS/HS200/DDR support

2017-06-16 Thread Kishon Vijay Abraham I
This is the final part of the series originally sent as part of [2]. This series adds UHS, HS200, DDR mode and ADMA support to omap_hsmmc driver used to improve the throughput of MMC/SD in dra7 SoCs. Changes from [2]: *) No more updating omap2plus_defconfig or multi_v7_defconfig is required, s

Re: Crypto Fixes for 4.12

2017-06-16 Thread Theodore Ts'o
On Thu, Jun 15, 2017 at 11:01:18AM -0400, David Miller wrote: > As a side note, ext4 does something similar with a private > implementation, but it doesn't use something the evaluates to an > alloca. Instead it uses a fixed 4-byte size for the shash context > value in the on-stack declaration. In

[PATCH 11/16] mmc: host: omap_hsmmc: Fix error path sequence

2017-06-16 Thread Kishon Vijay Abraham I
Fix the error path sequence so that clk_disable, runtime_disable etc are done in the reverse order of how they were enabled. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Sekhar Nori --- drivers/mmc/host/omap_hsmmc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH v9 5/7] vfio: Define vfio based dma-buf operations

2017-06-16 Thread Alex Williamson
On Fri, 16 Jun 2017 12:24:42 +0200 Gerd Hoffmann wrote: > Hi, > > > I'm not sure I agree regarding the vgpu statement, maybe this is not > > dmabuf specific, but what makes it vgpu specific?  We need to > > separate > > our current usage plans from what it's actually describing and I > > don't

Re: Binary MOF buffer in WMI is finally decoded!

2017-06-16 Thread Pali Rohár
On Tuesday 06 June 2017 00:08:49 Pali Rohár wrote: > On Sunday 04 June 2017 18:09:21 Pali Rohár wrote: > > Hi! > > > > As already mentioned in RFC: WMI Enhancements thread [1], I looked > > at binary MOF buffer used by WMI which is included in ACPI DSDT > > table. > > > > That binary MOF buffer c

[LOCKDEP BUG] from slub: separate out sysfs_slab_release() from sysfs_slab_remove()

2017-06-16 Thread Steven Rostedt
In my tests, I hit the following lockdep splat: == [ INFO: possible circular locking dependency detected ] 4.10.0-test+ #48 Not tainted --- rmmod/1211 is trying to acquire lock: (s_acti

Re: [GIT PULL] phy: for 4.13

2017-06-16 Thread Greg KH
On Fri, Jun 16, 2017 at 05:43:37PM +0530, Kishon Vijay Abraham I wrote: > Hi Greg, > > Please find the pull request for 4.13 merge window below. > > I included the grouping of phy drivers into vendor specific directories > which got missed last time, for this merge window. Apart from that it > co

Re: [PATCH v2 03/11] tty: kbd: reduce stack size with KASAN

2017-06-16 Thread Greg Kroah-Hartman
On Fri, Jun 16, 2017 at 02:01:57PM +0200, Arnd Bergmann wrote: > On Thu, Jun 15, 2017 at 6:53 AM, Greg Kroah-Hartman > wrote: > > On Thu, Jun 15, 2017 at 06:52:21AM +0200, Greg Kroah-Hartman wrote: > >> On Wed, Jun 14, 2017 at 11:15:38PM +0200, Arnd Bergmann wrote: > >> > As reported by kernelci,

Re: [PATCH tip/sched/core] mm/early_ioremap: Adjust early_ioremap system_state check

2017-06-16 Thread Tom Lendacky
On 6/16/2017 5:58 AM, Thomas Gleixner wrote: On Wed, 14 Jun 2017, Tom Lendacky wrote: A recent change added a new system_state value, SYSTEM_SCHEDULING, which exposed a warning issued by early_ioreamp() when the system_state was not SYSTEM_BOOTING. Since early_ioremap() can be called when the sy

Re: [PATCH] ipmi: use rcu lock around call to intf->handlers->sender()

2017-06-16 Thread Tony Camuso
On 06/16/2017 08:15 AM, Corey Minyard wrote: On 06/15/2017 10:54 AM, Corey Minyard wrote: On 06/13/2017 09:54 AM, Tony Camuso wrote: A vendor with a system having more than 128 CPUs occasionally encounters a crash during shutdown. This is not an easily reproduceable event, but the vendor was ab

Re: [PATCH RFC] hugetlbfs 'noautofill' mount option

2017-06-16 Thread Andrea Arcangeli
Hello Prakash, On Tue, May 09, 2017 at 01:59:34PM -0700, Prakash Sangappa wrote: > > > On 5/9/17 1:58 AM, Christoph Hellwig wrote: > > On Mon, May 08, 2017 at 03:12:42PM -0700, prakash.sangappa wrote: > >> Regarding #3 as a general feature, do we want to > >> consider this and the complexity ass

[GIT PULL] ARM: at91: defconfig for 4.13

2017-06-16 Thread Alexandre Belloni
Arnd, Olof, A few defconfig updates for 4.13 The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6: Linux 4.12-rc1 (2017-05-13 13:19:49 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git tags/at91-ab-4.13-d

Re: [PATCHv2 3/3] mm: Use updated pmdp_invalidate() inteface to track dirty/accessed bits

2017-06-16 Thread Kirill A. Shutemov
On Fri, Jun 16, 2017 at 12:02:50PM +0900, Minchan Kim wrote: > Hello, > > On Thu, Jun 15, 2017 at 05:52:24PM +0300, Kirill A. Shutemov wrote: > > This patch uses modifed pmdp_invalidate(), that return previous value of > > pmd, > > to transfer dirty and accessed bits. > > > > Signed-off-by: Kiri

Re: [PATCH v2 2/4] [media] platform: Add Synopsys Designware HDMI RX Controller Driver

2017-06-16 Thread Jose Abreu
Hi Hans, On 16-06-2017 13:38, Hans Verkuil wrote: > Hi Jose, > > Just a quick review of the new CEC code: Thanks! > > On 06/16/17 12:07, Jose Abreu wrote: >> This is an initial submission for the Synopsys Designware HDMI RX >> Controller Driver. This driver interacts with a phy driver so that >

Re: [PATCHv2 3/3] mm: Use updated pmdp_invalidate() inteface to track dirty/accessed bits

2017-06-16 Thread Kirill A. Shutemov
On Fri, Jun 16, 2017 at 05:01:30PM +0530, Aneesh Kumar K.V wrote: > "Kirill A. Shutemov" writes: > > > This patch uses modifed pmdp_invalidate(), that return previous value of > > pmd, > > to transfer dirty and accessed bits. > > > > Signed-off-by: Kirill A. Shutemov > > --- > > fs/proc/task_m

Re: [PATCH 1/2] platform/x86: silead_dmi: Add touchscreen info for PoV mobii wintab p800w

2017-06-16 Thread Hans de Goede
Hi, On 16-06-17 14:44, Andy Shevchenko wrote: On Thu, Jun 15, 2017 at 7:53 PM, Darren Hart wrote: On Thu, Jun 15, 2017 at 08:48:31AM +0200, Hans de Goede wrote: + /* Point of View mobii wintab p800w */ + .driver_data = (void *)&pov_mobii_wintab_p800w_data, +

Re: [PATCH v6 00/10] Implement NVMe Namespace Descriptor Identification

2017-06-16 Thread Linus Torvalds
On Fri, Jun 16, 2017 at 6:58 PM, Christoph Hellwig wrote: > On Fri, Jun 16, 2017 at 11:48:32AM +0200, Johannes Thumshirn wrote: >> > >> > Yeah, it's actually there, but for some reason find on sysfs >> > behaves strange: >> > >> > root@testvm:~# find /sys -name uuid >> > root@testvm:~# cat /sys/cl

[RFC] ubsan: signed integer overflow in scsi_partsize

2017-06-16 Thread Alice Ferrazzi
A Gentoo user reported a USBAN signed integer overflow in scsicam.c Shall we change something? kernel: UBSAN: Undefined behaviour in drivers/scsi/scsicam.c:173:29 kernel: signed integer overflow: kernel: 62015235 * 63

Re: [PATCH v9 5/7] vfio: Define vfio based dma-buf operations

2017-06-16 Thread Kirti Wankhede
On 6/16/2017 2:08 AM, Alex Williamson wrote: > On Thu, 15 Jun 2017 18:00:38 +0200 > Gerd Hoffmann wrote: > >> Hi, >> +struct vfio_dmabuf_mgr_plane_info { + __u64 start; + __u64 drm_format_mod; + __u32 drm_format; + __u32 width; + __u32 height; + __u32

Re: [PATCHv2 1/3] x86/mm: Provide pmdp_establish() helper

2017-06-16 Thread Andrea Arcangeli
Hello Krill, On Thu, Jun 15, 2017 at 05:52:22PM +0300, Kirill A. Shutemov wrote: > +static inline pmd_t pmdp_establish(pmd_t *pmdp, pmd_t pmd) > +{ > + pmd_t old; > + > + /* > + * We cannot assume what is value of pmd here, so there's no easy way > + * to set if half by half. We

Re: [RESEND PATCH v5 06/16] ARM: dts: r7s72100: Add generic compatible string for I2C EEPROM

2017-06-16 Thread Simon Horman
On Thu, Jun 15, 2017 at 08:54:08PM +0200, Javier Martinez Canillas wrote: > The at24 driver allows to register I2C EEPROM chips using different vendor > and devices, but the I2C subsystem does not take the vendor into account > when matching using the I2C table since it only has device entries. >

Re: [RESEND PATCH v5 07/16] ARM: dts: koelsch: Add generic compatible string for I2C EEPROM

2017-06-16 Thread Simon Horman
On Thu, Jun 15, 2017 at 08:54:09PM +0200, Javier Martinez Canillas wrote: > The at24 driver allows to register I2C EEPROM chips using different vendor > and devices, but the I2C subsystem does not take the vendor into account > when matching using the I2C table since it only has device entries. >

Re: [PATCH v2 3/4] KVM: async_pf: Force a nested vmexit if the injected #PF is async_pf

2017-06-16 Thread Radim Krčmář
2017-06-14 19:26-0700, Wanpeng Li: > From: Wanpeng Li > > Add an async_page_fault field to vcpu->arch.exception to identify an async > page fault, and constructs the expected vm-exit information fields. Force > a nested VM exit from nested_vmx_check_exception() if the injected #PF > is async p

Re: [PATCHv2 2/3] mm: Do not loose dirty and access bits in pmdp_invalidate()

2017-06-16 Thread Andrea Arcangeli
On Thu, Jun 15, 2017 at 05:52:23PM +0300, Kirill A. Shutemov wrote: > -void pmdp_invalidate(struct vm_area_struct *vma, unsigned long address, > +pmd_t pmdp_invalidate(struct vm_area_struct *vma, unsigned long address, >pmd_t *pmdp) > { > - pmd_t entry = *pmdp; > - set_

Re: [PATCH v2 2/4] [media] platform: Add Synopsys Designware HDMI RX Controller Driver

2017-06-16 Thread Hans Verkuil
On 06/16/17 15:21, Jose Abreu wrote: > Hi Hans, > > > On 16-06-2017 13:38, Hans Verkuil wrote: >> Hi Jose, >> >> Just a quick review of the new CEC code: > > Thanks! > >> >> On 06/16/17 12:07, Jose Abreu wrote: >>> This is an initial submission for the Synopsys Designware HDMI RX >>> Controller

[PATCH] rwsem-spinlock: Fix EINTR branch in __down_write_common()

2017-06-16 Thread Kirill Tkhai
If a writer could been woken up, the above branch if (sem->count == 0) break; would have moved us to taking the sem. So, it's not the time to wake a writer now, and only readers are allowed now. Thus, 0 must be passed to __rwsem_do_wake(). Next, __rwsem_do_wake() wakes re

<    1   2   3   4   5   6   7   8   >