Re: [PATCH 0/3] tty: serial: 8250_omap: Enable DMA support

2017-01-19 Thread Greg Kroah-Hartman
On Fri, Jan 13, 2017 at 10:20:21AM -0800, Tony Lindgren wrote: > * Vignesh R [170113 00:03]: > > This patch series re enables DMA support for UART 8250_omap driver. > > > > Tested on AM335x, AM437x that use EDMA and OMAP5 and DRA74 EVM with > > SDMA. > > Is 8250_omap serial console working for y

[PATCH] 4.9 is a longterm kernel

2017-01-19 Thread Greg KH
From: Greg Kroah-Hartman Might as well just mark it as such now, to head off the constant questions. Yes, 4.9 is the next longterm supported kernel version. Signed-off-by: Greg Kroah-Hartman diff --git a/content/releases.rst b/content/releases.rst index 3c2eb973f66b..efe10dc05a8f 100644 --- a

Re: [PATCH v10 2/5] i2c: Add STM32F4 I2C driver

2017-01-19 Thread Uwe Kleine-König
On Thu, Jan 19, 2017 at 02:25:13PM +0100, M'boumba Cedric Madianga wrote: > This patch adds support for the STM32F4 I2C controller. > > Signed-off-by: M'boumba Cedric Madianga Acked-by: Uwe Kleine-König Thanks Uwe -- Pengutronix e.K. | Uwe Kleine-König| I

Re: [PATCH 4.9 033/120] perf/x86/intel/uncore: Fix hardcoded socket 0 assumption in the Haswell init code

2017-01-19 Thread Greg Kroah-Hartman
On Thu, Jan 19, 2017 at 07:05:45AM -0500, Prarit Bhargava wrote: > > > On 01/19/2017 06:49 AM, Greg Kroah-Hartman wrote: > > On Thu, Jan 19, 2017 at 05:32:46AM -0500, Prarit Bhargava wrote: > >> > >> > >> On 01/18/2017 05:25 PM, Ingo Molnar wrote: > >>> > >>> * Prarit Bhargava wrote: > >>> > >>>

Re: [PATCH 4.9 033/120] perf/x86/intel/uncore: Fix hardcoded socket 0 assumption in the Haswell init code

2017-01-19 Thread Greg Kroah-Hartman
On Thu, Jan 19, 2017 at 02:21:47PM +0100, Ingo Molnar wrote: > > * Greg Kroah-Hartman wrote: > > > On Thu, Jan 19, 2017 at 05:32:46AM -0500, Prarit Bhargava wrote: > > > > > > > > > On 01/18/2017 05:25 PM, Ingo Molnar wrote: > > > > > > > > * Prarit Bhargava wrote: > > > > > > > >> 4.9 is b

Re: [PATCH v4 2/2] procfs/tasks: add a simple per-task procfs hidepid= field

2017-01-19 Thread Djalal Harouni
On Thu, Jan 19, 2017 at 12:35 AM, Andy Lutomirski wrote: > On Wed, Jan 18, 2017 at 2:50 PM, Djalal Harouni wrote: [...] > > … > prctl(PR_SET_HIDEPID, 2); > … > > And from that point on neither nginx itself, nor any of its child > processes may s

Re: [PATCH 2/4] ARM: nommu: dynamic exception base address setting

2017-01-19 Thread Vladimir Murzin
Hi, On 18/01/17 20:38, afzal mohammed wrote: > No-MMU dynamic exception base address configuration on CP15 > processors. In the case of low vectors, decision based on whether > security extensions are enabled & whether remap vectors to RAM > CONFIG option is selected. > > For no-MMU without CP15,

Re: [PATCH] ARM: Exynos4415: remove dead build rule

2017-01-19 Thread Krzysztof Kozlowski
On Thu, Jan 19, 2017 at 11:44 AM, Sylwester Nawrocki wrote: > On 01/19/2017 10:28 AM, Krzysztof Kozlowski wrote: >> Is your tree included in linux-next? I see my patch here: >> https://git.linuxtv.org/snawrocki/samsung.git/log/?h=for-v4.11/clk/next >> so maybe something in linux-next is missing? >

[for-next][PATCH 4/4] tracing: Add the constant count for branch tracer

2017-01-19 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" The unlikely/likely branch profiler now gets called even if the if statement is a constant (always goes in one direction without a compare). Add a value to denote this in the likely/unlikely tracer as well. Signed-off-by: Steven Rostedt (VMware) --- kernel/trace

[for-next][PATCH 0/4] tracing: Updates for v4.11

2017-01-19 Thread Steven Rostedt
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: 068f530b3f274d313395663bf8d674798d4858c6 Kenny Yu (1): uprobe: Find last occurrence of ':' when parsing uprobe PATH:OFFSET Steven Rostedt (VMware) (3): tracing: Process constants for (un)like

[for-next][PATCH 1/4] uprobe: Find last occurrence of : when parsing uprobe PATH:OFFSET

2017-01-19 Thread Steven Rostedt
From: Kenny Yu Previously, `create_trace_uprobe` found the *first* occurence of the ':' character when parsing `PATH:OFFSET` for a uprobe. However, if the path contains a ':' character, then the function would parse the path incorrectly. Even worse, if the path does not exist, the subsequent call

[for-next][PATCH 3/4] tracing: Show number of constants profiled in likely profiler

2017-01-19 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Now that constants are traced, it is useful to see the number of constants that are traced in the likely/unlikely profiler in order to know if they should be ignored or not. The likely/unlikely will display a number after the "correct" number if a "constant" count

[for-next][PATCH 2/4] tracing: Process constants for (un)likely() profiler

2017-01-19 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" When running the likely/unlikely profiler, one of the results did not look accurate. It noted that the unlikely() in link_path_walk() was 100% incorrect. When I added a trace_printk() to see what was happening there, it became 80% correct! Looking deeper into what

[PATCH 2/3] ARM: dts: stm32: Add RTC support for STM32F746 MCU

2017-01-19 Thread Amelie Delaunay
This patch adds STM32 RTC bindings for STM32F746. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32f746.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/stm32f746.dtsi b/arch/arm/boot/dts/stm32f746.dtsi index b42f23d..c57d265 100644 --- a/arch/a

[PATCH] mutex: Remove ww_ctx unlikely() from __mutex_lock_common()

2017-01-19 Thread Steven Rostedt (VMware)
The unikely() used in __mutex_lock_common() when use_ww_ctx is set is currently dependent on the hardware if it is likely or unlikely. The intel drm code calls into this function and triggers this branch 100% of the time. As this hardware is very commonly used, this is not a rare case at all (the

Re: [PATCH 1/4] ARM: mmu: decouple VECTORS_BASE from Kconfig

2017-01-19 Thread kbuild test robot
Hi afzal, [auto build test ERROR on linus/master] [also build test ERROR on v4.10-rc4 next-20170119] [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/linux/commits/afzal-mohammed/ARM-mmu-decouple-VECTORS_BASE

[PATCH 1/3] ARM: dts: stm32: set HSE_RTC clock frequency to 1 MHz on stm32f746

2017-01-19 Thread Amelie Delaunay
This patch set HSE_RTC clock frequency to 1 MHz, as the clock supplied to the RTC must be 1 MHz. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32f746.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/stm32f746.dtsi b/arch/arm/boot/dts/stm32f746.dtsi index 5bb

Re: [PATCH] tools: usb usbip - update README USB/IP driver location

2017-01-19 Thread Shuah Khan
On 01/19/2017 02:35 AM, Greg KH wrote: > On Fri, Jan 13, 2017 at 04:38:32PM -0700, Shuah Khan wrote: >> Update USB/IP driver location in README. >> >> Signed-off-by: Shuah Khan >> Reviewed-by: Krzysztof Opasiak >> --- >> tools/usb/usbip/README | 2 +- >> 1 file changed, 1 insertion(+), 1 deletio

Re: [PATCH 1/2] [media] exynos-gsc: Fix unbalanced pm_runtime_enable() error

2017-01-19 Thread Marek Szyprowski
Hi Javier, On 2017-01-18 01:30, Javier Martinez Canillas wrote: Commit a006c04e6218 ("[media] exynos-gsc: Fixup clock management at ->remove()") changed the driver's .remove function logic to fist do a pm_runtime_get_sync() to make sure the device is powered before attempting to gate the gsc clo

Re: [PATCH v11 08/14] usb: otg: add OTG/dual-role core

2017-01-19 Thread Roger Quadros
Vivek, On 19/01/17 13:56, Vivek Gautam wrote: > Hi, > > > On Wed, Jun 22, 2016 at 2:00 PM, Roger Quadros wrote: > > Luckily hit this thread while checking about DRD role functionality for DWC3. > >> On 22/06/16 11:14, Felipe Balbi wrote: >>> >>> Hi, >>> >>> Roger Quadros writes:

[PATCH v4 1/2] hv_util: switch to using timespec64

2017-01-19 Thread Vitaly Kuznetsov
do_settimeofday() is deprecated, use do_settimeofday64() instead. Signed-off-by: Vitaly Kuznetsov Acked-by: John Stultz Acked-by: Thomas Gleixner --- drivers/hv/hv_util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/hv/hv_util.c b/drivers/hv/hv_util.c index

Re: [PATCH 2/2] [media] exynos-gsc: Fix imprecise external abort due disabled power domain

2017-01-19 Thread Marek Szyprowski
Hi Javier, On 2017-01-18 01:30, Javier Martinez Canillas wrote: Commit 15f90ab57acc ("[media] exynos-gsc: Make driver functional when CONFIG_PM is unset") removed the implicit dependency that the driver had with CONFIG_PM, since it relied on the config option to be enabled. In order to work wit

Re: [PATCH v1 2/2] arm: dts: mt2701: add nor flash node

2017-01-19 Thread Rob Herring
On Thu, Jan 19, 2017 at 2:14 AM, Boris Brezillon wrote: > Hi Rob, > > On Wed, 18 Jan 2017 20:51:08 -0600 > Rob Herring wrote: > >> On Wed, Jan 18, 2017 at 5:38 PM, Thomas Petazzoni >> wrote: >> > Hello, >> > >> > On Wed, 18 Jan 2017 16:20:10 -0600, Rob Herring wrote: >> > >> >> > > Rob, Mark, an

Re: [PATCH 1/2] [media] exynos-gsc: Fix unbalanced pm_runtime_enable() error

2017-01-19 Thread Javier Martinez Canillas
Hello Marek, On 01/19/2017 11:12 AM, Marek Szyprowski wrote: > Hi Javier, > > On 2017-01-18 01:30, Javier Martinez Canillas wrote: >> Commit a006c04e6218 ("[media] exynos-gsc: Fixup clock management at >> ->remove()") changed the driver's .remove function logic to fist do >> a pm_runtime_get_sync

Re: [RFC/RFT PATCH 2/4] drm/bridge: dw-hdmi: Add support for custom PHY handling

2017-01-19 Thread Jose Abreu
Hi Neil, On 18-01-2017 11:20, Neil Armstrong wrote: > > It's the idea we discussed with Laurent. > Keeping the Synopsys PHY code inside the dw-hdmi driver would be simpler. > > But don't you think adding a proper "ops" structure apart from the plat_data > should be necessary ? > > Neil > An "ops

Re: [PATCH] cxl: drop unused header asm/pnv-pci.h

2017-01-19 Thread Andrew Donnellan
On 19/01/17 21:50, Greg Kurz wrote: The kernel API does not use anything from this header file. Signed-off-by: Greg Kurz Reviewed-by: Andrew Donnellan -- Andrew Donnellan OzLabs, ADL Canberra andrew.donnel...@au1.ibm.com IBM Australia Limited

Re: [PATCH v3 2/2] mmc: pwrseq: add support for Marvell SD8787 chip

2017-01-19 Thread Ulf Hansson
+Shawn On 13 January 2017 at 06:29, Matt Ranostay wrote: > Allow power sequencing for the Marvell SD8787 Wifi/BT chip. > This can be abstracted to other chipsets if needed in the future. > > Cc: Tony Lindgren > Cc: Ulf Hansson > Signed-off-by: Matt Ranostay > --- > drivers/mmc/core/Kconfig

Re: [PATCH 2/5] dmaengine: Add support for custom data mapping

2017-01-19 Thread Andy Gross
On Thu, Jan 19, 2017 at 10:31:50AM +0530, Vinod Koul wrote: > > > > > > > >I really think that we need some additional API that allows for the flag > > > >munging > > > >for the descriptors instead of overriding the prep_slave_sg. We already > > > >needed > > > >to change the way the flags are

Re: [PATCH] coresight: STM: Balance enable/disable

2017-01-19 Thread Suzuki K Poulose
On 19/01/17 11:40, Greg KH wrote: Fixes: commit 237483aa5cf43 ("coresight: stm: adding driver for CoreSight STM component") Cc: Pratik Patel Cc: Greg Kroah-Hartman Cc: sta...@vger.kernel.org # 4.7+ Acked-by: Mathieu Poirier Reviewed-by: Chunyan Zhang Reported-by: Robert Walker Signed-off-by

[PATCH v4 0/2] hv_util: adjust system time smoothly

2017-01-19 Thread Vitaly Kuznetsov
With TimeSync version 4 protocol support we started updating system time continuously through the whole lifetime of Hyper-V guests. Every 5 seconds there is a time sample from the host which triggers do_settimeofday[64](). While the time from the host is very accurate such adjustments may cause iss

[PATCH v4 2/2] hv_utils: implement Hyper-V PTP source

2017-01-19 Thread Vitaly Kuznetsov
With TimeSync version 4 protocol support we started updating system time continuously through the whole lifetime of Hyper-V guests. Every 5 seconds there is a time sample from the host which triggers do_settimeofday[64](). While the time from the host is very accurate such adjustments may cause iss

Re: [PATCH 1/4] ARM: mmu: decouple VECTORS_BASE from Kconfig

2017-01-19 Thread Russell King - ARM Linux
On Thu, Jan 19, 2017 at 02:07:39AM +0530, afzal mohammed wrote: > diff --git a/arch/arm/include/asm/memory.h b/arch/arm/include/asm/memory.h > index 76cbd9c674df..9cc9f1dbc88e 100644 > --- a/arch/arm/include/asm/memory.h > +++ b/arch/arm/include/asm/memory.h > @@ -83,6 +83,8 @@ > #define IOREMAP_M

[PATCH] locking/rwsem: Remove unnecessary atomic_long_t casts

2017-01-19 Thread Waiman Long
Since sem->count had been changed to a atomic_long_t type, it is no longer necessary to use the atomic_long_t cast anymore. So they are removed. Signed-off-by: Waiman Long --- include/asm-generic/rwsem.h | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/include/as

Re: [PATCH] pciehp: Fix race condition handling surprise link-down

2017-01-19 Thread Bjorn Helgaas
Sorry for the delay, I'm just trying to clear out some of our defects from bugzilla and have gotten really behind on the list, so I just haven't gotten to this yet. On Wed, Jan 18, 2017 at 01:47:11PM -0500, Keith Busch wrote: > Hi Bjorn, > > This fix looks good to me as well now. Any other concer

Re: [PATCH 0/6] of_graph_get_remote_endpoint()

2017-01-19 Thread Rob Herring
On Thu, Jan 19, 2017 at 12:31 AM, Kuninori Morimoto wrote: > > > > Hi Rob > > Now many driver is getting remote-endpoint by manually, > but we should use same method to get same result IMO. > Thus this patch adds of_graph_get_remote_endpoint() for this purpose. > And use it on several drivers Thi

[PATCH 3/7] arm: fix return value of parse_cpu_capacity

2017-01-19 Thread Juri Lelli
parse_cpu_capacity() has to return 0 on failure, but it currently returns 1 instead if raw_capacity kcalloc failed. Fix it by removing the negation of the return value. Cc: Russell King Reported-by: Morten Rasmussen Fixes: 06073ee26775 ('ARM: 8621/3: parse cpu capacity-dmips-mhz from DT') Signe

[PATCH 1/7] Documentation: arm: fix wrong reference number in DT definition

2017-01-19 Thread Juri Lelli
Reference to cpu capacity binding has a wrong number. Fix it. Reported-by: Lorenzo Pieralisi Signed-off-by: Juri Lelli --- Documentation/devicetree/bindings/arm/cpus.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/cpus.txt b/Doc

[PATCH 2/7] Documentation/ABI: add information about cpu_capacity

2017-01-19 Thread Juri Lelli
/sys/devices/system/cpu/cpu#/cpu_capacity describe information about CPUs heterogeneity (ref. to Documentation/devicetree/bindings/arm/ cpu-capacity.txt). Add such description. Signed-off-by: Juri Lelli --- Documentation/ABI/testing/sysfs-devices-system-cpu | 7 +++ 1 file changed, 7 insert

[PATCH 4/7] arm: remove wrong CONFIG_PROC_SYSCTL ifdef

2017-01-19 Thread Juri Lelli
The sysfs cpu_capacity entry for each CPU has nothing to do with PROC_FS, nor it's in /proc/sys path. Remove such ifdef. Cc: Russell King Reported-and-suggested-by: Sudeep Holla Fixes: 7e5930aaef5d ('ARM: 8622/3: add sysfs cpu_capacity attribute') Signed-off-by: Juri Lelli --- arch/arm/kernel

[PATCH 0/7] Fix issues and factorize arm/arm64 capacity information code

2017-01-19 Thread Juri Lelli
Hi, arm and arm64 topology.c share a lot of code related to parsing of capacity information. This set of patches proposes a solution (based on Will's, Catalin's and Mark's off-line suggestions) to move such common code in a single place: drivers/base/arch_topology.c (by creating such file and cond

[PATCH v4] iommu/arm-smmu: Support for Extended Stream ID (16 bit)

2017-01-19 Thread Aleksey Makarov
It is the time we have the real 16-bit Stream ID user, which is the ThunderX. Its IO topology uses 1:1 map for Requester ID to Stream ID translation for each root complex which allows to get full 16-bit Stream ID. Firmware assigns bus IDs that are greater than 128 (0x80) to some buses under PEM (e

[PATCH 5/7] arm64: remove wrong CONFIG_PROC_SYSCTL ifdef

2017-01-19 Thread Juri Lelli
The sysfs cpu_capacity entry for each CPU has nothing to do with PROC_FS, nor it's in /proc/sys path. Remove such ifdef. Cc: Will Deacon Cc: Catalin Marinas Reported-and-suggested-by: Sudeep Holla Fixes: be8f185d8af4 ('arm64: add sysfs cpu_capacity attribute') Signed-off-by: Juri Lelli --- a

[PATCH 7/7] arm,arm64,drivers: reduce scope of cap_parsing_failed

2017-01-19 Thread Juri Lelli
Reduce the scope of cap_parsing_failed (making it static in drivers/base/arch_topology.c) by slightly changing {arm,arm64} DT parsing code. Suggested-by: Morten Rasmussen Signed-off-by: Juri Lelli --- arch/arm/kernel/topology.c | 3 +-- arch/arm64/kernel/topology.c | 5 + drivers/base/arc

[PATCH 6/7] arm, arm64: factorize common cpu capacity default code

2017-01-19 Thread Juri Lelli
arm and arm64 share lot of code relative to parsing CPU capacity information from DT, using that information for appropriate scaling and exposing a sysfs interface for chaging such values at runtime. Factorize such code in a common place (driver/base/arch_topology.c) in preparation for further add

Re: [PATCH net-next v3 06/10] net: dsa: Migrate to device_find_class()

2017-01-19 Thread Greg KH
On Mon, Jan 16, 2017 at 12:01:02PM -0800, Florian Fainelli wrote: > On 01/15/2017 11:16 AM, Andrew Lunn wrote: > >>> What exactly is the relationship between these devices (a ascii-art tree > >>> or sysfs tree output might be nice) so I can try to understand what is > >>> going on here. > > > > Hi

Re: [PATCH] rtlwifi: rtl8192x: Enabling and disabling hardware interrupts after enabling local irq flags

2017-01-19 Thread Lino Sanfilippo
Hi, altek/rtlwifi/rtl8192ce/hw.c b/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c > index a47be73..143766c4 100644 > --- a/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c > +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c > @@ -1306,9 +1306,9 @@ void rtl92ce_enable_interrupt(str

Re: [PATCH 1/2] dt-bindings: arm,gic: Fix binding example for a virt-capable GIC

2017-01-19 Thread Mark Rutland
On Wed, Jan 18, 2017 at 10:53:30AM +, Marc Zyngier wrote: > The joys of copy/paste: the example of a virtualization capable GIC > in the DT binding was wrong, and propagated to dozens of platforms. Could you please mention what's wrong (i.e. GICC is impossibly small in the example). > > Oh w

[GIT PULL] PCI fixes for v4.10

2017-01-19 Thread Bjorn Helgaas
PCI fixes: - recognize that a PCI-to-PCIe bridge originates a PCIe hierarchy, so we enumerate that hierarchy correctly - X-Gene: fix a change merged for v4.10 that broke MSI - Keystone: avoid reading undefined registers, which can cause asynchronous external aborts - Supermicro

Re: [Patch v3 1/2] arm: kernel: Add SMC structure parameter

2017-01-19 Thread Russell King - ARM Linux
On Wed, Jan 11, 2017 at 04:31:57PM -0600, Andy Gross wrote: > diff --git a/include/linux/arm-smccc.h b/include/linux/arm-smccc.h > index b5abfda..3e28d08 100644 > --- a/include/linux/arm-smccc.h > +++ b/include/linux/arm-smccc.h > @@ -72,19 +72,33 @@ struct arm_smccc_res { > }; > > /** > - * ar

Re: [PATCH 1/4] phy: sun4i-usb: support PHY0 on H3 in MUSB mode

2017-01-19 Thread Maxime Ripard
On Wed, Jan 18, 2017 at 04:09:32AM +0800, Chen-Yu Tsai wrote: > Hi, > > On Wed, Jan 18, 2017 at 4:06 AM, Maxime Ripard > wrote: > > On Wed, Jan 18, 2017 at 12:57:08AM +0800, Icenowy Zheng wrote: > >> > >> > >> 17.01.2017, 16:06, "Maxime Ripard" : > >> > On Tue, Jan 17, 2017 at 03:14:46AM +0800, I

[PATCH] rpmsg: char: add CONFIG_NET dependency

2017-01-19 Thread Arnd Bergmann
Without CONFIG_NET, we get a build failure for the new driver: ERROR: "skb_queue_tail" [drivers/rpmsg/rpmsg_char.ko] undefined! ERROR: "skb_put" [drivers/rpmsg/rpmsg_char.ko] undefined! ERROR: "__alloc_skb" [drivers/rpmsg/rpmsg_char.ko] undefined! ERROR: "kfree_skb" [drivers/rpmsg/rpmsg_char.ko] u

Re: [PATCH 0/3] tty: serial: 8250_omap: Enable DMA support

2017-01-19 Thread Tony Lindgren
* Greg Kroah-Hartman [170119 05:25]: > On Fri, Jan 13, 2017 at 10:20:21AM -0800, Tony Lindgren wrote: > > * Vignesh R [170113 00:03]: > > > This patch series re enables DMA support for UART 8250_omap driver. > > > > > > Tested on AM335x, AM437x that use EDMA and OMAP5 and DRA74 EVM with > > > SD

Re: [PATCH 2/2] [media] exynos-gsc: Fix imprecise external abort due disabled power domain

2017-01-19 Thread Javier Martinez Canillas
Hello Marek, Thanks a lot for your feedback. On 01/19/2017 11:17 AM, Marek Szyprowski wrote: > Hi Javier, > > On 2017-01-18 01:30, Javier Martinez Canillas wrote: >> Commit 15f90ab57acc ("[media] exynos-gsc: Make driver functional when >> CONFIG_PM is unset") removed the implicit dependency that

Re: [PATCH 2/5] dmaengine: Add support for custom data mapping

2017-01-19 Thread Abhishek Sahu
On 2017-01-19 19:43, Andy Gross wrote: On Thu, Jan 19, 2017 at 10:31:50AM +0530, Vinod Koul wrote: > > > > > >I really think that we need some additional API that allows for the flag > > >munging > > >for the descriptors instead of overriding the prep_slave_sg. We already > > >needed > > >to

Re: [PATCH 2/2] pwm: pca9685: fix prescaler initialization

2017-01-19 Thread Clemens Gruber
On Thu, Jan 19, 2017 at 02:34:39PM +0200, Andy Shevchenko wrote: > On Wed, 2017-01-18 at 15:25 +0100, Clemens Gruber wrote: > > Yes, that's what this patch tries to solve by verifying that the > > external setting (the prescale register) is set to its hardware > > default > > value of 0x1E (corresp

[PATCH 3/3] ARM: dts: stm32: enable RTC on stm32746g-eval

2017-01-19 Thread Amelie Delaunay
This patch enables RTC on stm32746g-eval with default LSE clock source. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32746g-eval.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/stm32746g-eval.dts b/arch/arm/boot/dts/stm32746g-eval.dts index 58d5393..ae64

Re: [PATCH v14 3/5] tee: add OP-TEE driver

2017-01-19 Thread Jens Wiklander
On Wed, Jan 18, 2017 at 05:28:17PM +0100, Arnd Bergmann wrote: > On Wednesday, January 18, 2017 1:58:14 PM CET Jens Wiklander wrote: > > Adds a OP-TEE driver which also can be compiled as a loadable module. > > > > * Targets ARM and ARM64 > > * Supports using reserved memory from OP-TEE as shared

[RFC v2] HWPOISON: soft offlining for non-lru movable page

2017-01-19 Thread ysxie
From: Yisheng Xie This patch is to extends soft offlining framework to support non-lru page, which already support migration after commit bda807d44454 ("mm: migrate: support non-lru movable page migration") When memory corrected errors occur on a non-lru movable page, we can choose to stop using

Re: [PATCH v2 2/3] input: pwm-beeper: add documentation for volume devicetree bindings

2017-01-19 Thread Frieder Schrempf
On 11.10.2016 15:39, Rob Herring wrote: On Tue, Oct 11, 2016 at 3:17 AM, Schrempf Frieder wrote: On 10.10.2016 17:20, Rob Herring wrote: On Fri, Oct 07, 2016 at 09:08:17AM +, Schrempf Frieder wrote: This patch adds the documentation for the devicetree bindings to set the volume levels. S

Re: [PATCH 6/7] arm, arm64: factorize common cpu capacity default code

2017-01-19 Thread Russell King - ARM Linux
On Thu, Jan 19, 2017 at 02:37:56PM +, Juri Lelli wrote: > +extern unsigned long > +arch_scale_cpu_capacity(struct sched_domain *sd, int cpu); > +extern void set_capacity_scale(unsigned int cpu, unsigned long capacity); These should be in a header file (please run your code through sparse). >

Re: [PATCH v10 0/8] Cavium MMC driver

2017-01-19 Thread Jan Glauber
On Tue, Dec 20, 2016 at 01:10:56PM +0100, Ulf Hansson wrote: > Hi Jan, > > On 19 December 2016 at 13:15, Jan Glauber wrote: > > While this patch series seems to be somehow overdue, in the meantime the > > same MMC unit was re-used on Cavium's ThunderX SOC so our interest in making > > progress up

Re: [PATCH net-next v3 06/10] net: dsa: Migrate to device_find_class()

2017-01-19 Thread Andrew Lunn
> > > struct dsa_platform_data { > > > /* > > > * Reference to a Linux network interface that connects > > > * to the root switch chip of the tree. > > > */ > > > struct device *netdev; > > This I think is the oddest thing, why do you need to have the "

[PATCH 0/5] Add GPIO set_multiple callback support for ISA_BUS_API drivers

2017-01-19 Thread William Breathitt Gray
Most of the ISA_BUS_API drivers control GPIO via 8-bit ioport registers. Since updating any given GPIO line involves writing out all 8 bits for the respective register, it makes sense to add support for the GPIO set_multiple callback function so that multiple GPIO lines may be set more efficiently.

Re: [PATCH v2 2/9] tty_port: allow a port to be opened with a tty that has no file handle

2017-01-19 Thread Rob Herring
On Thu, Jan 19, 2017 at 7:37 AM, Greg Kroah-Hartman wrote: > On Mon, Jan 16, 2017 at 04:54:29PM -0600, Rob Herring wrote: >> From: Alan Cox >> >> Let us create tty objects entirely in kernel space. Untested proposal to >> show why all the ideas around rewriting half the uart stack are not needed.

[PATCH 1/5] gpio: 104-dio-48e: Add set_multiple callback function support

2017-01-19 Thread William Breathitt Gray
The ACCES 104-DIO-48E series provides registers where 8 lines of GPIO may be set at a time. This patch add support for the set_multiple callback function, thus allowing multiple GPIO output lines to be set more efficiently in groups. Signed-off-by: William Breathitt Gray --- drivers/gpio/gpio-10

[PATCH 4/5] gpio: ws16c48: Add set_multiple callback function support

2017-01-19 Thread William Breathitt Gray
The WinSystems WS16C48 provides registers where 8 lines of GPIO may be set at a time. This patch add support for the set_multiple callback function, thus allowing multiple GPIO output lines to be set more efficiently in groups. Signed-off-by: William Breathitt Gray --- drivers/gpio/gpio-ws16c48.

[PATCH 2/5] gpio: 104-idio-16: Add set_multiple callback function support

2017-01-19 Thread William Breathitt Gray
The ACCES 104-IDIO-16 series provides registers where 8 lines of GPIO may be set at a time. This patch add support for the set_multiple callback function, thus allowing multiple GPIO output lines to be set more efficiently in groups. Signed-off-by: William Breathitt Gray --- drivers/gpio/gpio-10

[PATCH 3/5] gpio: gpio-mm: Add set_multiple callback function support

2017-01-19 Thread William Breathitt Gray
The Diamond Systems GPIO-MM series provides registers where 8 lines of GPIO may be set at a time. This patch add support for the set_multiple callback function, thus allowing multiple GPIO output lines to be set more efficiently in groups. Signed-off-by: William Breathitt Gray --- drivers/gpio/g

Re: [PATCH] rpmsg: char: add CONFIG_NET dependency

2017-01-19 Thread Bjorn Andersson
On Thu 19 Jan 06:54 PST 2017, Arnd Bergmann wrote: > Without CONFIG_NET, we get a build failure for the new driver: > > ERROR: "skb_queue_tail" [drivers/rpmsg/rpmsg_char.ko] undefined! > ERROR: "skb_put" [drivers/rpmsg/rpmsg_char.ko] undefined! > ERROR: "__alloc_skb" [drivers/rpmsg/rpmsg_char.ko]

Re: [PATCH] drm: tegra: shut up harmless warning on NOMMU

2017-01-19 Thread Arnd Bergmann
On Thursday, January 19, 2017 12:00:58 PM CET Thierry Reding wrote: > On Thu, Jan 12, 2017 at 12:13:51PM +0100, Arnd Bergmann wrote: > > The tegra DRM driver is almost ok without an MMU, but there > > is one small warning that I get: > > > > drivers/gpu/drm/tegra/gem.c: In function 'tegra_drm_mmap

Re: [RFC PATCH v3] crypto: Add IV generation algorithms

2017-01-19 Thread Binoy Jayan
Hi Gilad, On 19 January 2017 at 15:17, Gilad Ben-Yossef wrote: > I tried adding sg_init_table() where I thought it was appropriate and > it didn't resolve the issue. > > For what it's worth, my guess is that the difference between our > setups is not related to Arm but to other options or the sto

[PATCH 5/5] iio: stx104: Add GPIO set_multiple callback function support

2017-01-19 Thread William Breathitt Gray
The Apex Embedded Systems STX104 series provides a digital output register where 4 lines may be set at a time. This patch add support for the set_multiple callback function, thus allowing multiple digital output lines to be set more efficiently in groups. Cc: Jonathan Cameron Cc: Hartmut Knaack

Re: [PATCH v11 08/14] usb: otg: add OTG/dual-role core

2017-01-19 Thread vivek . gautam
Hi Roger, On 2017-01-19 17:45, Roger Quadros wrote: Vivek, On 19/01/17 13:56, Vivek Gautam wrote: Hi, On Wed, Jun 22, 2016 at 2:00 PM, Roger Quadros wrote: Luckily hit this thread while checking about DRD role functionality for DWC3. On 22/06/16 11:14, Felipe Balbi wrote: Hi, Roger

[PATCH] mm: add arch-independent testcases for RODATA

2017-01-19 Thread Jinbum Park
This patch adds arch-independent testcases for RODATA. Both x86 and x86_64 already have testcases for RODATA, But they are arch-specific because using inline assembly directly. and cacheflush.h is not suitable location for rodata-test related things. Since they were in cacheflush.h, If someone cha

[PATCH] sched: Optimize pick_next_task for idle_sched_class too

2017-01-19 Thread Steven Rostedt
When running my likely/unlikely profiler, I noticed that the SCHED_DEADLINE's pick_next_task_dl() unlikely case of (!dl_rq->dl_nr_running) was always being hit. There's two cases where this can happen. First, there's an optimization in pick_next_task() for the likely case that the only tasks runni

[PATCH v3 3/3] input: pwm-beeper: add devicetree bindings to set volume levels

2017-01-19 Thread Frieder Schrempf
This patch adds the devicetree bindings to set the volume levels and the default volume level. Signed-off-by: Frieder Schrempf --- Changes in v3: - none drivers/input/misc/pwm-beeper.c | 49 ++--- 1 file changed, 46 insertions(+), 3 deletions(-) diff --git

Re: [PATCH] ARM: dts: at91: Enable DMA on sama5d4_xplained console

2017-01-19 Thread Nicolas Ferre
Le 18/01/2017 à 17:46, Alexandre Belloni a écrit : > Enable DMA on usart3 to get a more reliable console. This is especially > useful for automation and kernelci were a kernel with PROVE_LOCKING enabled > is quite susceptible to character loss, resulting in tests failure. > > Cc: stable #v4.1+ >

[PATCH v3 2/3] input: pwm-beeper: add documentation for volume devicetree bindings

2017-01-19 Thread Frieder Schrempf
This patch adds the documentation for the devicetree bindings to set the volume levels. Signed-off-by: Frieder Schrempf --- Changes in v3: - change description of volume-levels to be used for linear levels .../devicetree/bindings/input/pwm-beeper.txt | 20 1 file

Re: [PATCH v5 3/4] remoteproc/MIPS: Add a remoteproc driver for MIPS

2017-01-19 Thread Matt Redfearn
Hi Bjorn, Please could you review this driver? Thanks, Matt On 11/01/17 15:34, Matt Redfearn wrote: This driver allows a MIPS processor offlined from Linux to be used as a remote processor. Firmware may be loaded via the sysfs interface and changed at runtime, allowing the processor to handl

[PATCH v3 1/3] input: pwm-beeper: add feature to set volume via sysfs

2017-01-19 Thread Frieder Schrempf
Make the driver accept switching volume levels via sysfs. This can be helpful if the beep/bell sound intensity needs to be adapted to the environment of the device. The volume adjustment is done by changing the duty cycle of the pwm signal. This patch adds the sysfs interface with 5 default volum

[PATCH v3 0/3] input: pwm-beeper: add feature to set volume level

2017-01-19 Thread Frieder Schrempf
Make the driver accept switching volume levels via sysfs. This can be helpful if the beep/bell sound intensity needs to be adapted to the environment of the device. The number of volume levels available and their values can be specified via device tree (similar to pwm-backlight). The volume adjus

[PATCH v4 08/14] sata: ahci-da850: implement a workaround for the softreset quirk

2017-01-19 Thread Bartosz Golaszewski
There's an issue with the da850 SATA controller: if port multiplier support is compiled in, but we're connecting the drive directly to the SATA port on the board, the drive can't be detected. To make SATA work on the da850-lcdk board: first try to softreset with pmp - if the operation fails with -

Re: [RFC/RFT PATCH 4/4] drm/bridge: dw-hdmi: Take input format from plat_data

2017-01-19 Thread Jose Abreu
Hi Laurent, On 18-01-2017 20:49, Laurent Pinchart wrote: > > Ideally the bridge mode set operation should be extended to take format and > colorspace information (or another bridge operation should be created for > that > purpose, I'm still undecided). As that's quite a big change, I'm fine if

Re: [PATCH] pci: drop link_reset

2017-01-19 Thread kbuild test robot
Hi Michael, [auto build test ERROR on pci/next] [also build test ERROR on v4.10-rc4] [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/linux/commits/Michael-S-Tsirkin/pci-drop-link_reset/20170119-34 base

[PATCH 0/3] Add RTC support on STM32F746

2017-01-19 Thread Amelie Delaunay
This patchset enables STM32 RTC on STM32F746 MCU. Amelie Delaunay (3): ARM: dts: stm32: set HSE_RTC clock frequency to 1 MHz on stm32f746 ARM: dts: stm32: Add RTC support for STM32F746 MCU ARM: dts: stm32: enable RTC on stm32746g-eval arch/arm/boot/dts/stm32746g-eval.dts | 4 arch/ar

Re: [PATCH v2 2/9] tty_port: allow a port to be opened with a tty that has no file handle

2017-01-19 Thread Rob Herring
On Thu, Jan 19, 2017 at 9:05 AM, Rob Herring wrote: > On Thu, Jan 19, 2017 at 7:37 AM, Greg Kroah-Hartman > wrote: >> On Mon, Jan 16, 2017 at 04:54:29PM -0600, Rob Herring wrote: >>> From: Alan Cox >>> >>> Let us create tty objects entirely in kernel space. Untested proposal to >>> show why all

Re: New attempt at adding an disassembler to perf

2017-01-19 Thread Jiri Olsa
On Wed, Jan 18, 2017 at 05:41:45PM -0800, Andi Kleen wrote: > A native disassembler in perf is very useful, in particular with perf script > to trace > instruction streams, but also for other analysis. Previously I attempted > to do this using the udis86 library, but that was rejected because: >

Re: [RFC][PATCH] x86: Verify access_ok() context

2017-01-19 Thread David Smith
On 01/18/2017 06:19 PM, Andy Lutomirski wrote: > On Wed, Jan 18, 2017 at 2:16 PM, David Smith wrote: >> On 01/16/2017 03:14 PM, Thomas Gleixner wrote: >>> On Mon, 16 Jan 2017, David Smith wrote: ... stuff deleted ... If you put that new access_ok() call in a module that gets loaded/unl

Re: [PATCH 0/3] tty: serial: 8250_omap: Enable DMA support

2017-01-19 Thread Greg Kroah-Hartman
On Thu, Jan 19, 2017 at 06:54:23AM -0800, Tony Lindgren wrote: > * Greg Kroah-Hartman [170119 05:25]: > > On Fri, Jan 13, 2017 at 10:20:21AM -0800, Tony Lindgren wrote: > > > * Vignesh R [170113 00:03]: > > > > This patch series re enables DMA support for UART 8250_omap driver. > > > > > > > > T

[PATCH v2] mm: add arch-independent testcases for RODATA

2017-01-19 Thread Jinbum Park
This patch adds arch-independent testcases for RODATA. Both x86 and x86_64 already have testcases for RODATA, But they are arch-specific because using inline assembly directly. and cacheflush.h is not suitable location for rodata-test related things. Since they were in cacheflush.h, If someone cha

Re: [PATCH V10 2/3] ACPI: Add support for ResourceSource/IRQ domain mapping

2017-01-19 Thread Agustin Vega-Frias
Hi Andy, On 2017-01-18 14:45, Andy Shevchenko wrote: On Wed, Jan 18, 2017 at 9:04 PM, Agustin Vega-Frias wrote: [...] + */ +static struct fwnode_handle * +acpi_get_irq_source_fwhandle(const struct acpi_resource_source *source) +{ + struct fwnode_handle *result; + struct acpi_d

Re: [PATCH v2] mm: add arch-independent testcases for RODATA

2017-01-19 Thread Russell King - ARM Linux
On Fri, Jan 20, 2017 at 12:39:20AM +0900, Jinbum Park wrote: > diff --git a/mm/Kconfig.debug b/mm/Kconfig.debug > index afcc550..e4f22ce 100644 > --- a/mm/Kconfig.debug > +++ b/mm/Kconfig.debug > @@ -90,3 +90,9 @@ config DEBUG_PAGE_REF > careful when enabling this feature because it adds ab

[PATCH v4 00/15] livepatch: hybrid consistency model

2017-01-19 Thread Josh Poimboeuf
Here's v4, based on linux-next/master. Mostly minor changes this time, primarily due to Petr's v3 comments. v4: - add warnings for "impossible" scenarios in __save_stack_trace_reliable() - sort _TIF_ALLWORK_MASK flags - move klp_transition_work to transition.c. This resulted in the following

[PATCH v4 05/15] livepatch/powerpc: add TIF_PATCH_PENDING thread flag

2017-01-19 Thread Josh Poimboeuf
Add the TIF_PATCH_PENDING thread flag to enable the new livepatch per-task consistency model for powerpc. The bit getting set indicates the thread has a pending patch which needs to be applied when the thread exits the kernel. The bit is included in the _TIF_USER_WORK_MASK macro so that do_notify

[PATCH v4 01/15] stacktrace/x86: add function for detecting reliable stack traces

2017-01-19 Thread Josh Poimboeuf
For live patching and possibly other use cases, a stack trace is only useful if it can be assured that it's completely reliable. Add a new save_stack_trace_tsk_reliable() function to achieve that. Note that if the target task isn't the current task, and the target task is allowed to run, then it

[PATCH v4 07/15] livepatch/s390: add TIF_PATCH_PENDING thread flag

2017-01-19 Thread Josh Poimboeuf
From: Miroslav Benes Update a task's patch state when returning from a system call or user space interrupt, or after handling a signal. This greatly increases the chances of a patch operation succeeding. If a task is I/O bound, it can be patched when returning from a system call. If a task is

[PATCH v4 15/15] livepatch: allow removal of a disabled patch

2017-01-19 Thread Josh Poimboeuf
From: Miroslav Benes Currently we do not allow patch module to unload since there is no method to determine if a task is still running in the patched code. The consistency model gives us the way because when the unpatching finishes we know that all tasks were marked as safe to call an original f

[PATCH v4 08/15] livepatch: separate enabled and patched states

2017-01-19 Thread Josh Poimboeuf
Once we have a consistency model, patches and their objects will be enabled and disabled at different times. For example, when a patch is disabled, its loaded objects' funcs can remain registered with ftrace indefinitely until the unpatching operation is complete and they're no longer in use. It'

Re: [PATCH v2 01/11] dt-bindings: add rk3399 support for dw-mipi-rockchip

2017-01-19 Thread Rob Herring
On Mon, Jan 16, 2017 at 06:08:21PM +0800, Chris Zhong wrote: > The dw-mipi-dsi of rk3399 is almost the same as rk3288, the rk3399 has > additional phy config clock. > > Signed-off-by: Chris Zhong > --- > > .../devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt | 4 > +++- > 1 fi

Re: [Patch v3 1/2] arm: kernel: Add SMC structure parameter

2017-01-19 Thread Russell King - ARM Linux
On Thu, Jan 19, 2017 at 09:45:06AM -0600, Andy Gross wrote: > On Thu, Jan 19, 2017 at 02:40:08PM +, Russell King - ARM Linux wrote: > > On Wed, Jan 11, 2017 at 04:31:57PM -0600, Andy Gross wrote: > > > diff --git a/include/linux/arm-smccc.h b/include/linux/arm-smccc.h > > > index b5abfda..3e28d

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