Re: [LEDE-DEV] [PATCH] initramfs: Escape colons in depfile

2016-10-27 Thread John Crispin
Hi, this seems to be a backport for the kernel tree. please resend it as a patch adding the actual patch that is being backported to the generic targets patch folder. this would need to be done for 3.18, 4.1 and 4.4 John On 23/09/2016 10:35, Michal Marek wrote: > Special characters are p

Re: [PATCH v3 0/2] remoteproc: Add sysfs interface

2016-10-27 Thread Matt Redfearn
On 19/10/16 13:05, Matt Redfearn wrote: It is often desireable to boot a remote processor with different firmware files, depending on the needs of the system at a particular time. This series adds a sysfs interface to the remoteproc core, exposing interfaces to manipulate the remote processor. O

Re: [PATCH 2/2] regmap: Avoid namespace collision within macro

2016-10-27 Thread Mark Brown
On Thu, Oct 27, 2016 at 10:33:19AM +0100, Ramesh Shanmugasundaram wrote: > #define regmap_read_poll_timeout(map, addr, val, cond, sleep_us, timeout_us) > \ > ({ \ > - ktime_t timeout = ktime_add_us(ktime_get(), timeout_us); \ > + ktime_t __timeout = ktime_add_us(ktime_get(), timeout_us)

RE: [PATCH 2/2] regmap: Avoid namespace collision within macro

2016-10-27 Thread Ramesh Shanmugasundaram
> On Thu, Oct 27, 2016 at 10:33:19AM +0100, Ramesh Shanmugasundaram wrote: > > > #define regmap_read_poll_timeout(map, addr, val, cond, sleep_us, > > timeout_us) \ ({ \ > > - ktime_t timeout = ktime_add_us(ktime_get(), timeout_us); \ > > + ktime_t __timeout = ktime_add_us(ktime_get(), timeou

[PATCH] crypto: acomp: export all scomp interfaces

2016-10-27 Thread Arnd Bergmann
The newly added scomp/acomp interface has a couple of functions that should be exported to allow linking the two drivers as loadable modules: ERROR: "crypto_acomp_scomp_free_ctx" [crypto/acompress.ko] undefined! ERROR: "crypto_acomp_scomp_alloc_ctx" [crypto/acompress.ko] undefined! ERROR: "crypto_

Re: [PATCH v2 0/3] ACPICA: Interpreter: Fix regressions in lock order improvement

2016-10-27 Thread Rafael J. Wysocki
On Wed, Oct 26, 2016 at 9:39 AM, Lv Zheng wrote: > This patchset fixes regressions in ACPICA intepreter lock order > improvement. > > Patches tested with customized ACPI table where _PS0/_PS3 methods are > customized to invoke a serialized control method which creates named > objects. When pm_asyn

[PATCH] [media] dvb: avoid warning in dvb_net

2016-10-27 Thread Arnd Bergmann
With gcc-5 or higher on x86, we can get a bogus warning in the dvb-net code: drivers/media/dvb-core/dvb_net.c: In function ‘dvb_net_ule’: arch/x86/include/asm/string_32.h:77:14: error: ‘dest_addr’ may be used uninitialized in this function [-Werror=maybe-uninitialized] drivers/media/dvb-core/dvb_

Re: [RFC PATCH 1/5] of: introduce the overlay manager

2016-10-27 Thread Matthias Brugger
On 10/26/2016 04:57 PM, Antoine Tenart wrote: The overlay manager is an in-kernel library helping to handle dt overlay loading when using capes. Signed-off-by: Antoine Tenart --- drivers/of/Kconfig | 2 + drivers/of/Makefile | 1 + drive

Re: [GIT PULL] kbuild changes for v4.9-rc1

2016-10-27 Thread Kalle Valo
(Adding Thorsten because of a serious regression and Steven because he tried to fix something in the same commit) Nicholas Piggin writes: > On Wed, 19 Oct 2016 16:38:14 +0200 > Michal Marek wrote: > >> Dne 18.10.2016 v 03:34 Nicholas Piggin napsal(a): >> > We should probably just bring all thes

Re: bio linked list corruption.

2016-10-27 Thread Chris Mason
On 10/26/2016 08:00 PM, Jens Axboe wrote: > On 10/26/2016 05:47 PM, Dave Jones wrote: >> On Wed, Oct 26, 2016 at 07:38:08PM -0400, Chris Mason wrote: >> >> > >-hctx->queued++; >> > >-data->hctx = hctx; >> > >-data->ctx = ctx; >> > >+data->hctx = alloc_data.hctx; >> > >+da

Re: [RFC PATCH v2 9/9] drm: mali-dp: Add writeback out-fence support

2016-10-27 Thread Daniel Vetter
On Thu, Oct 27, 2016 at 09:25:19AM -0200, Gustavo Padovan wrote: > 2016-10-27 Brian Starkey : > > > On Wed, Oct 26, 2016 at 07:43:57PM -0200, Gustavo Padovan wrote: > > > 2016-10-26 Brian Starkey : > > > > > > > If userspace has asked for an out-fence for the writeback, we add a > > > > fence to

Re: [PATCH V2 3/4] regulator: pv88080: Update Regulator driver for MFD support

2016-10-27 Thread Mark Brown
On Thu, Oct 27, 2016 at 10:03:14AM +0900, Eric Jeong wrote: > config REGULATOR_PV88080 > - tristate "Powerventure Semiconductor PV88080 regulator" > - depends on I2C > - select REGMAP_I2C > + bool "Powerventure Semiconductor PV88080 regulator" > + depends on MFD_PV88080 Forci

Re: [RFC PATCH 1/5] of: introduce the overlay manager

2016-10-27 Thread Antoine Tenart
Hello Mathieu, On Wed, Oct 26, 2016 at 10:29:59AM -0600, Mathieu Poirier wrote: > > Please find my comments below. Thanks for the comments. I expected more distant reviews, on the overall architecture to know if this could fit the needs of others. But anyway your comments are helpful if we ever

[PATCH v2 1/3] powernv:idle: Add IDLE_STATE_ENTER_SEQ_NORET macro

2016-10-27 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" Currently all the low-power idle states are expected to wake up at reset vector 0x100. Which is why the macro IDLE_STATE_ENTER_SEQ that puts the CPU to an idle state and never returns. On ISA_300, when the ESL and EC bits in the PSSCR are zero, the CPU is expected to wa

Re: [PATCH 1/4] pinctrl: Introduce generic #pinctrl-cells and pinctrl_parse_index_with_args

2016-10-27 Thread Tony Lindgren
* Linus Walleij [161027 00:57]: > On Tue, Oct 25, 2016 at 6:45 PM, Tony Lindgren wrote: > > I need some DT person to take a look at this binding and ACK it. > > > +For pin controller hardware with a large number of identical registers > > naming > > +each bit both can be unmaintainable. Furthe

[PATCH v2] soc: qcom: Add SoC info driver

2016-10-27 Thread Imran Khan
The SoC info driver provides information such as Chip ID, Chip family, serial number and other such details about Qualcomm SoCs. Signed-off-by: Imran Khan --- Changes since v1: - Removed inclusion of system_misc.h - merged socinfo.h into socinfo.c - made platform type and subtype arrays stati

Re: [RFC PATCH 06/13] of: Remove prefix "__of_" and prefix "__" from local function names

2016-10-27 Thread Rob Herring
On Tue, Oct 25, 2016 at 3:58 PM, wrote: > From: Frank Rowand I prefer to leave the prefixes and this is getting into pointless churn. > > Signed-off-by: Frank Rowand > --- > drivers/of/resolver.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-)

Re: Build regressions/improvements in v4.9-rc1

2016-10-27 Thread Arnd Bergmann
On Thursday, October 27, 2016 11:11:18 AM CEST Thomas Petazzoni wrote: > On Thu, 27 Oct 2016 09:07:55 +, Alexey Brodkin wrote: > > > > axs101 is using a 770 core, while the toolchain is built for the HS38 > > > core. I'm somewhat surprised that a single ARC toolchain cannot produce > > > code

Re: [PATCH 2/2] ASoC: cq93vc: remove MFD_DAVINCI_VOICECODEC dependency from CQ0093VC

2016-10-27 Thread Mark Brown
On Thu, Oct 27, 2016 at 08:38:45AM +, Kuninori Morimoto wrote: > From: Kuninori Morimoto > > CQ0093VC is no longer dependent on MFD_DAVINCI_VOICECODEC, > let's remove it. Otherwise, we can't compile it by COMPILE_TEST > on non-DAVINCE platform Acked-by: Mark Brown signature.asc Descriptio

Re: [PATCH] [media] dvb: avoid warning in dvb_net

2016-10-27 Thread Jarod Wilson
On Thu, Oct 27, 2016 at 03:57:41PM +0200, Arnd Bergmann wrote: > With gcc-5 or higher on x86, we can get a bogus warning in the > dvb-net code: > > drivers/media/dvb-core/dvb_net.c: In function ‘dvb_net_ule’: > arch/x86/include/asm/string_32.h:77:14: error: ‘dest_addr’ may be used > uninitialized

Re: printk badness with VMAP_STACK

2016-10-27 Thread Petr Mladek
On Wed 2016-10-26 15:55:00, Laura Abbott wrote: > Hi, > > I was playing around with overflowing stacks and I managed to generate a test > case that hung the kernel with vmapped stacks. The test case is just > > static void noinline foo1(void) > { >pr_info("%p\n", (void *)current_stack_poi

[PATCH V3 3/6] dt/bindings: Add bindings for Tegra GMI controller

2016-10-27 Thread Mirza Krak
From: Mirza Krak Document the devicetree bindings for the Generic Memory Interface (GMI) bus driver found on Tegra SOCs. Signed-off-by: Mirza Krak Tested-by: Marcel Ziswiler Tested-on: Colibri T20/T30 on EvalBoard V3.x and GMI-Memory Board --- Changes in v2: - Updated examples and some inform

Re: [PATCH] x86/AMD: Fix LLC ID for AMD Fam17h systems

2016-10-27 Thread Yazen Ghannam
>> +/* >> + * LLC is at the Core Complex level. >> + * Core Complex Id is ApicId[3]. >> + */ >> +else if (c->x86 == 0x17) >> +per_cpu(cpu_llc_id, cpu) = c->initial_apicid

[RFC PATCH 1/5] dmec: add DMO mfd driver

2016-10-27 Thread Zahari Doychev
This is a core mfd driver for the on board embedded controllers found on the Data Modul embedded CPU modules. The embedded controller may provide the following functions: i2c bus, gpio, watchdog, uart and rtm. Signed-off-by: Zahari Doychev --- drivers/staging/Kconfig | 2 +- drivers/s

Re: [PATCH 02/18] arm64: ilp32: add documentation on the ILP32 ABI for ARM64

2016-10-27 Thread Yury Norov
Hi Chris, Thank you for comments On Mon, Oct 24, 2016 at 12:36:27PM -0400, Chris Metcalf wrote: > On 10/21/2016 4:33 PM, Yury Norov wrote: > >Based on Andrew Pinski's patch-series. > > > >Signed-off-by: Yury Norov > >--- > > Documentation/arm64/ilp32.txt | 46 > > ++

Re: [RFC PATCH 0/4] Clean up watchdog handlers

2016-10-27 Thread Don Zickus
On Wed, Oct 26, 2016 at 09:02:19AM -0700, Babu Moger wrote: > This is an attempt to cleanup watchdog handlers. Right now, > kernel/watchdog.c implements both softlockup and hardlockup detectors. > Softlockup code is generic. Hardlockup code is arch specific. Some > architectures don't use hardlocku

Re: [PATCH] USB: OHCI: make ohci-da8xx a separate driver

2016-10-27 Thread Axel Haslam
On Thu, Oct 27, 2016 at 2:58 AM, David Lechner wrote: > On 10/26/2016 04:08 PM, ahas...@baylibre.com wrote: > >> +module_exit(ohci_da8xx_exit); >> +MODULE_DESCRIPTION(DRIVER_DESC); >> +MODULE_LICENSE("GPL"); >> MODULE_ALIAS("platform:ohci"); > > > The "ohci" in MODULE_ALIAS() should also be repla

[PATCH V3 0/6] Add support for Tegra GMI bus controller

2016-10-27 Thread Mirza Krak
From: Mirza Krak Hi. This patch series adds support for the Tegra GMI bus controller. I have tested this series on a Tegra30 using a Colibri T30 SOM on a custom carrier board which has multiple CAN controllers (SJA1000) connected to the GMI bus. I have re-based on top of latest tegra/for-next

[PATCH v2] iommu/ipmmu-vmsa: Add r8a7796 DT binding

2016-10-27 Thread Magnus Damm
From: Magnus Damm Update the IPMMU DT binding documentation to include the r8a7796 compat string for R-Car M3-W. Signed-off-by: Magnus Damm Acked-by: Laurent Pinchart --- Changes since V1: - Added Acked-by from Laurent - thanks! Now broken out, however earlier V1 posted as part of: [PATC

[PATCH V3 4/6] ARM: tegra: Add Tegra30 GMI support

2016-10-27 Thread Mirza Krak
From: Mirza Krak Add a device node for the GMI controller found on Tegra30. Signed-off-by: Mirza Krak Tested-by: Marcel Ziswiler Tested-on: Colibri T20/T30 on EvalBoard V3.x and GMI-Memory Board --- Changes in v2: - added address-cells, size-cells and ranges properties Changes in v3: - no ch

Re: [PATCH 3/4] Input: goodix - Tweak configuration to use passed in touchscreen resolution

2016-10-27 Thread Bastien Nocera
On Thu, 2016-10-20 at 14:59 -0500, Franklin S Cooper Jr wrote: > Some goodix touchscreen controllers aren't programed properly to > match the > display panel it is used on. Although the defaults may largely work > it is > also likely that the screen resolution will be incorrect. Therefore, > add su

Re: [PATCH v6 00/16] ACPI IORT ARM SMMU support

2016-10-27 Thread Rafael J. Wysocki
On Wed, Oct 26, 2016 at 1:04 PM, Lorenzo Pieralisi wrote: > Rafael, Joerg (and anyone else CC'ed), > > On Tue, Oct 18, 2016 at 05:03:58PM +0100, Lorenzo Pieralisi wrote: >> This patch series is v6 of a previous posting: >> >> https://lkml.org/lkml/2016/9/9/418 >> >> v5 -> v6 >> - Rebased aga

[PATCH V3 6/6] bus: Add support for Tegra Generic Memory Interface

2016-10-27 Thread Mirza Krak
From: Mirza Krak The Generic Memory Interface bus can be used to connect high-speed devices such as NOR flash, FPGAs, DSPs... Signed-off-by: Mirza Krak Tested-by: Marcel Ziswiler Tested-on: Colibri T20/T30 on EvalBoard V3.x and GMI-Memory Board --- Changes in v2: - Fixed some checkpatch erro

Re: [PATCH 1/4] Input: goodix - Restructure cfg checksum function

2016-10-27 Thread Bastien Nocera
On Thu, 2016-10-20 at 14:59 -0500, Franklin S Cooper Jr wrote: > Split generation of checksum into is own function. Currently it is used "its own". > only to determine if the checksum for the user provided configuration file > is valid or not. However, support to dynamically alter the configurati

Re: [RFC PATCH v2 9/9] drm: mali-dp: Add writeback out-fence support

2016-10-27 Thread Brian Starkey
On Wed, Oct 26, 2016 at 07:43:57PM -0200, Gustavo Padovan wrote: 2016-10-26 Brian Starkey : If userspace has asked for an out-fence for the writeback, we add a fence to malidp_mw_job, to be signaled when the writeback job has completed. Signed-off-by: Brian Starkey --- drivers/gpu/drm/arm/ma

Re: [PATCH 2/2] notifiers: double register detection

2016-10-27 Thread Vasily Averin
Dear Andrew, could you please pick up this patch? It helps to detect double register of the same notifiers. This kind of problem can lead to unexpected failures (some notifiers can be not called), endless cycles, memory corruption or crashes. Initially I've found such cases in OpenVZ kernels in o

[RFC PATCH 4/5] wdt-dmec: watchdog support for dmec

2016-10-27 Thread Zahari Doychev
This is support for the watchdog found on the Data Modul embedded boards. Signed-off-by: Zahari Doychev --- drivers/staging/dmec/Kconfig| 11 +- drivers/staging/dmec/Makefile | 1 +- drivers/staging/dmec/wdt-dmec.c | 569 +- 3 files changed, 581 insertion

Re: [PATCH v2 5/7] [media] ir-lirc-codec: don't wait any transmitting time for tx only devices

2016-10-27 Thread Andi Shyti
Hi Sean, it's been a while :) I was going through your review fixing what needs to be fixed, but... > > @@ -153,7 +153,7 @@ static ssize_t ir_lirc_transmit_ir(struct file *file, > > const char __user *buf, > > } > > > > ret = dev->tx_ir(dev, txbuf, count); > > - if (ret < 0) > > +

[RFC PATCH 5/5] rtm-dmec: running time meter support

2016-10-27 Thread Zahari Doychev
This is support for the running time meter(RTM) found on the Data Modul embedded boards. Signed-off-by: Zahari Doychev --- drivers/staging/dmec/Kconfig| 10 ++- drivers/staging/dmec/Makefile | 1 +- drivers/staging/dmec/rtm-dmec.c | 203 +- 3 files change

[RFC PATCH 2/5] i2c-dmec: add i2c bus support for dmec

2016-10-27 Thread Zahari Doychev
This is support for the i2c bus functionality of the Data Modul embedded controllers. Signed-off-by: Zahari Doychev --- drivers/staging/dmec/Kconfig| 10 +- drivers/staging/dmec/Makefile | 1 +- drivers/staging/dmec/dmec.h | 9 +- drivers/staging/dmec/i2c-dmec.c | 524

[PATCH 0/2] mm: unexport __get_user_pages_unlocked()

2016-10-27 Thread Lorenzo Stoakes
This patch series continues the cleanup of get_user_pages*() functions taking advantage of the fact we can now pass gup_flags as we please. It firstly adds an additional 'locked' parameter to get_user_pages_remote() to allow for its callers to utilise VM_FAULT_RETRY functionality. This is necessar

Re: [PATCH (net.git) 2/3] stmmac: fix PTP support for GMAC4

2016-10-27 Thread Rayagond Kokatanur
On Thu, Oct 27, 2016 at 4:02 PM, Giuseppe CAVALLARO wrote: > Hello Rayagond ! > > On 10/27/2016 12:25 PM, Rayagond Kokatanur wrote: >>> >>> +static int dwmac4_wrback_get_rx_timestamp_status(void *desc, u32 ats) >>> > { >>> > struct dma_desc *p = (struct dma_desc *)desc; >>> > + int

Re: [PATCH v2 2/2] arm64: dts: hi6220: add resets property into dwmmc nodes

2016-10-27 Thread Vincent Guittot
Hi, My hikey board failed to detect and mount sdcard with v4.9-rc1 and i have bisected the issue to this patch. Once reverted, the sdcard is detected again. Regards, Vincent On 25 August 2016 at 05:00, Guodong Xu wrote: > Add resets property into dwmmc_0, dwmmc_1 and dwmmc_2 for hi6220 > > Code

[GIT PULL] xfs: fixes for 4.9-rc3

2016-10-27 Thread Dave Chinner
Hi Linus, Can you please pull the fixes from the tag below? This update contains fixes for most of the outstanding regressions introduced with the 4.9-rc1 XFS merge. There is also a fix for an iomap bug, too. This is a quite a bit larger than I'd prefer for a -rc3, but most of the change comes fr

Re: [PATCH] arm64: defconfig: Enable DRM DU and V4L2 FCP + VSP modules

2016-10-27 Thread Simon Horman
On Thu, Oct 27, 2016 at 04:37:53PM +0900, Magnus Damm wrote: > Hi Simon, > > On Thu, Oct 27, 2016 at 4:15 PM, Simon Horman wrote: > > On Thu, Oct 27, 2016 at 09:08:01AM +0200, Simon Horman wrote: > >> On Wed, Oct 26, 2016 at 02:24:22PM +0900, Magnus Damm wrote: > >> > From: Magnus Damm > >> > >

[RFC PATCH 3/5] gpio-dmec: gpio support for dmec

2016-10-27 Thread Zahari Doychev
This is support for the gpio functionality found on the Data Modul embedded controllers Signed-off-by: Zahari Doychev --- drivers/staging/dmec/Kconfig | 10 +- drivers/staging/dmec/Makefile| 1 +- drivers/staging/dmec/dmec.h | 5 +- drivers/staging/dmec/gpio-dmec.c | 390 ++

[PATCH V3 2/6] clk: tegra: add TEGRA30_CLK_NOR to init table

2016-10-27 Thread Mirza Krak
From: Mirza Krak Add TEGRA30_CLK_NOR to init table and set default rate to 127 MHz which is max rate. The maximum rate value of 127 MHz is pulled from the downstream L4T kernel. Signed-off-by: Mirza Krak Tested-by: Marcel Ziswiler Tested-on: Colibri T20/T30 on EvalBoard V3.x and GMI-Memory Bo

Re: CONFIG_VMAP_STACK, on-stack struct, and wake_up_bit

2016-10-27 Thread Borislav Petkov
On Wed, Oct 26, 2016 at 08:37:25PM -0400, Bob Peterson wrote: > Attached, but as Linus suggested, I turned off the AMD microcode driver, > so it should be the same if you turn it back on. If you want, I can > do it and re-send so you have a more pristine .config. Let me know. Thanks, but I was abl

Re: [PATCH v7 5/6] x86/cpufeature: Detect CPUID faulting support

2016-10-27 Thread Thomas Gleixner
On Tue, 18 Oct 2016, Kyle Huey wrote: > > +static bool supports_cpuid_faulting(void) > +{ > + unsigned int lo, hi; > + > + if (rdmsr_safe(MSR_PLATFORM_INFO, &lo, &hi)) > + return false; > + > + return lo & PLATINFO_CPUID_FAULT; > +} > + > void init_scattered_cpuid_feature

Re: [PATCH v12 0/5] Goodix touchscreen enhancements

2016-10-27 Thread Bastien Nocera
On Sat, 2016-09-10 at 20:57 +0300, Irina Tirdea wrote: > This is an update for a previous set of patches [1] with enhancements > for the Goodix touchscreens. The first 3 patches are leftovers from > the previous patchset (with minor changes due to rebase), while the > last 2 patches are new. > > T

[PATCH v2 3/3] powernv: Pass PSSCR value and mask to power9_idle_stop

2016-10-27 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" The power9_idle_stop method currently takes only the requested stop level as a parameter and picks up the rest of the PSSCR bits from a hand-coded macro. This is not a very flexible design, especially when the firmware has the capability to communicate the psscr value an

[PATCH] regulator: core: silence warning: "VDD1: ramp_delay not set"

2016-10-27 Thread H. Nikolaus Schaller
commit 73e705bf81ce ("regulator: core: Add set_voltage_time op") introduced a new rdev_warn() if the ramp_delay is 0. Apparently, on omap3/twl4030 platforms with dynamic voltage management this results in non-ending spurious messages like [ 511.143066] VDD1: ramp_delay not set [ 511.662322] VD

Re: [PATCH] gpio: mcp23s08: Add option to configure pullups.

2016-10-27 Thread Linus Walleij
On Wed, Oct 26, 2016 at 11:59 AM, Enric Balletbo Serra wrote: > 2016-10-24 8:13 GMT+02:00 Alexander Stein > : >> On Monday 24 October 2016 02:53:31, Linus Walleij wrote: >>> On Fri, Oct 21, 2016 at 5:00 PM, Enric Balletbo i Serra >>> >>> wrote: >>> > Default is without pullups, but if property is

[PATCH v6: 2/4] x86: Add enabling of the R3MWAIT during boot

2016-10-27 Thread Grzegorz Andrejczuk
If processor is Intel Xeon Phi x200 we enable user-level mwait feature. Enabling this feature suppresses invalid-opcode error, when MONITOR/MWAIT is called from ring 3. Signed-off-by: Grzegorz Andrejczuk --- Documentation/kernel-parameters.txt | 5 + arch/x86/kernel/cpu/intel.c | 37

[PATCH V3 5/6] ARM: tegra: Add Tegra20 GMI support

2016-10-27 Thread Mirza Krak
From: Mirza Krak Add a device node for the GMI controller found on Tegra20. Signed-off-by: Mirza Krak Tested-by: Marcel Ziswiler Tested-on: Colibri T20/T30 on EvalBoard V3.x and GMI-Memory Board --- Changes in v2: - added address-cells, size-cells and ranges properties Changes in v3: - fixed

[PATCH v6: 4/4] x86/cpufeature: Add R3MWAIT to CPU features

2016-10-27 Thread Grzegorz Andrejczuk
Add cpu feature for ring 3 monitor/mwait. Set HWCAP2 1st bit during init. Signed-off-by: Grzegorz Andrejczuk --- arch/x86/include/asm/cpufeatures.h | 2 ++ arch/x86/kernel/cpu/intel.c| 4 2 files changed, 6 insertions(+) diff --git a/arch/x86/include/asm/cpufeatures.h b/arch/x86/i

[PATCH v6: 3/4] x86: Use HWCAP2 to expose Xeon Phi ring 3 MWAIT

2016-10-27 Thread Grzegorz Andrejczuk
Add HWCAP2 for x86 and reserve its 1st bit to expose Xeon Phi ring 3 monitor/mwait to userspace apps. Signed-off-by: Grzegorz Andrejczuk --- arch/x86/include/asm/elf.h | 9 + arch/x86/include/uapi/asm/hwcap2.h | 7 +++ arch/x86/kernel/cpu/common.c | 3 +++ 3 files chang

[PATCH v6: 1/4] x86/msr: Add R3MWAIT register and bit to msr-info.h

2016-10-27 Thread Grzegorz Andrejczuk
Intel Xeon Phi x200 (codenamed Knights Landing) has MSR MISC_THD_FEATURE_ENABLE 0x140. Setting 2nd bit of this register makes MONITOR and MWAIT instructions do not cause invalid-opcode exception when called from ring different than 0. Hex Dec NameScope 140H 320 MISC_THD_F

Re: [PATCH 00/14] introduce the BFQ-v0 I/O scheduler as an extra scheduler

2016-10-27 Thread Jan Kara
On Wed 26-10-16 10:12:38, Jens Axboe wrote: > On 10/26/2016 10:04 AM, Paolo Valente wrote: > > > >>Il giorno 26 ott 2016, alle ore 17:32, Jens Axboe ha > >>scritto: > >> > >>On 10/26/2016 09:29 AM, Christoph Hellwig wrote: > >>>On Wed, Oct 26, 2016 at 05:13:07PM +0200, Arnd Bergmann wrote: >

Re: CONFIG_VMAP_STACK, on-stack struct, and wake_up_bit

2016-10-27 Thread Nicholas Piggin
On Thu, 27 Oct 2016 10:08:52 +0200 Peter Zijlstra wrote: > On Thu, Oct 27, 2016 at 12:07:26AM +0100, Mel Gorman wrote: > > > but I consider PeterZ's > > > patch the fix to that, so I wouldn't worry about it. > > > > > > > Agreed. Peter, do you plan to finish that patch? > > I was waiting f

Re: [PATCH v2 2/4] dt-bindings: Add TI SCI PM Domains

2016-10-27 Thread Dave Gerlach
+Jon On 10/26/2016 04:59 PM, Rob Herring wrote: > On Mon, Oct 24, 2016 at 12:00 PM, Kevin Hilman wrote: >> Dave Gerlach writes: >> >>> Hi, >>> On 10/21/2016 01:48 PM, Kevin Hilman wrote: Dave Gerlach writes: > Add a generic power domain implementation, TI SCI PM Domains, that >

Re: [PATCH] i2c: rk3x: Give the tuning value 0 during rk3x_i2c_v0_calc_timings

2016-10-27 Thread Wolfram Sang
On Sat, Oct 22, 2016 at 04:43:42PM +0800, David Wu wrote: > We found a bug that i2c transfer sometimes failed on 3066a board with > stabel-4.8, the con register would be updated by uninitialized tuning > value, it made the i2c transfer failed. > > So give the tuning value to be zero during rk3x_i2

Re: 4.3-rc3 BAR allocation problems on multiple machines

2016-10-27 Thread Meelis Roos
On Wed, 26 Oct 2016, Bjorn Helgaas wrote: > Hi Meelis, > > On Wed, Oct 07, 2015 at 12:25:19PM +0300, Meelis Roos wrote: > > First I noticed that on Sun Netra t1-150 (sparc64 CPU), PCI allocation > > was failing for qla1280 scsi driver. Reading dmesg uncovered "can't > > claim BAR" errors. Looki

[PATCH V3 1/6] clk: tegra: add TEGRA20_CLK_NOR to init table

2016-10-27 Thread Mirza Krak
From: Mirza Krak Add TEGRA20_CLK_NOR to init table and set default rate to 92 MHz which is max rate. The maximum rate value of 92 MHz is pulled from the downstream L4T kernel. Signed-off-by: Mirza Krak Tested-by: Marcel Ziswiler Tested-on: Colibri T20/T30 on EvalBoard V3.x and GMI-Memory Boar

[PATCH v6 0/4] Enabling Ring 3 MONITOR/MWAIT feature for Knights Landing

2016-10-27 Thread Grzegorz Andrejczuk
These patches enable Intel Xeon Phi x200 feature to use MONITOR/MWAIT instruction in ring 3 (userspace) Patches set MSR 0x140 for all logical CPUs. Then expose it as CPU feature and introduces elf HWCAP capability for x86. Reference: https://software.intel.com/en-us/blogs/2016/10/06/intel-xeon-phi-

[PULL REQUEST] i2c for 4.9

2016-10-27 Thread Wolfram Sang
Linus, I2C has some driver bugfixes, module autoload fixes, and driver enablement on some architectures for you. Please pull. Thanks, Wolfram The following changes since commit 07d9a380680d1c0eb51ef87ff2eab5c994949e69: Linux 4.9-rc2 (2016-10-23 17:10:14 -0700) are available in the git

Re: [PATCH] [media] smiapp: make PM functions as __maybe_unused

2016-10-27 Thread Sakari Ailus
Hi Arnd, On Thu, Oct 27, 2016 at 09:43:16AM +0200, Arnd Bergmann wrote: > On Thursday, October 27, 2016 10:28:18 AM CEST Sakari Ailus wrote: > > > > On Wed, Oct 26, 2016 at 10:38:01PM +0200, Arnd Bergmann wrote: > > > The rework of the PM support has caused two functions to > > > be orphaned when

local DoS - systemd hang or timeout with cgroup traces

2016-10-27 Thread CAI Qian
So this can still be reproduced in 4.9-rc2 by running trinity as a non-root user within 30-minute on this machine on either ext4 or xfs. Below is the trace on ext4 and the sysrq-w report. http://people.redhat.com/qcai/tmp/dmesg-ext4-cgroup-hang CAI Qian - Original Message - > From: "

Re: [RFC v1 04/14] bus1: util - fixed list utility library

2016-10-27 Thread David Herrmann
Hi On Thu, Oct 27, 2016 at 2:37 PM, Peter Zijlstra wrote: > On Wed, Oct 26, 2016 at 09:18:00PM +0200, David Herrmann wrote: >> + e = kmalloc_array(sizeof(*e), BUS1_FLIST_BATCH + 1, gfp); > >> +#define BUS1_FLIST_BATCH (1024) > >> +struct bus1_flist { >> + union { >> +

RE: [RESEND PATCH v4] clk: x86: Add Atom PMC platform clocks

2016-10-27 Thread Tirdea, Irina
Darren Hart wrote: > On Wed, Oct 26, 2016 at 11:43:24PM +0200, Thomas Gleixner wrote: > > On Wed, 26 Oct 2016, Darren Hart wrote: > > > On Mon, Oct 24, 2016 at 01:38:54PM +, Tirdea, Irina wrote: > > > > intel_pmc_* drivers or is it enough to move it as a standalone > > > > driver for now? > > >

Re: [RESEND PATCH v2] clk: hisilicon: add CRG driver for Hi3798CV200 SoC

2016-10-27 Thread Rob Herring
On Fri, Oct 21, 2016 at 09:37:10AM +0800, Jiancheng Xue wrote: > Add CRG driver for Hi3798CV200 SoC. CRG(Clock and Reset > Generator) module generates clock and reset signals used > by other module blocks on SoC. > > Signed-off-by: Jiancheng Xue > --- > change log > v2: > - Fixed compiling error

Re: [PATCH v12 2/5] Input: goodix - add support for ESD

2016-10-27 Thread Bastien Nocera
On Sat, 2016-09-10 at 20:57 +0300, Irina Tirdea wrote: > Add ESD (Electrostatic Discharge) protection mechanism. > > The driver enables ESD protection in HW and checks a register > to determine if ESD occurred. If ESD is signalled by the HW, > the driver will reset the device. > > The ESD poll ti

Re: [PATCH v12 4/5] Input: goodix - fix reset sequence

2016-10-27 Thread Bastien Nocera
On Sat, 2016-09-10 at 20:57 +0300, Irina Tirdea wrote: > According to the Goodix datasheet, the reset sequence will leave > the reset line set to output high. To end the selection of the I2C > address, we just need to set the input line to low for at least > 50 ms and then set it to input floating

Re: [PATCH v12 5/5] Input: goodix - add support for gt9157

2016-10-27 Thread Bastien Nocera
On Sat, 2016-09-10 at 20:57 +0300, Irina Tirdea wrote: > Goodix touchscreen GT9157 has the same basic functionality > as GT911 touchscreen. This is based on Goodix datasheets > for GT911 and GT9157 and on Goodix driver gt9xx.c for > Android (publicly available in Android kernel trees for > various

Re: [RFC v1 04/14] bus1: util - fixed list utility library

2016-10-27 Thread Peter Zijlstra
On Wed, Oct 26, 2016 at 09:18:00PM +0200, David Herrmann wrote: > + e = kmalloc_array(sizeof(*e), BUS1_FLIST_BATCH + 1, gfp); > +#define BUS1_FLIST_BATCH (1024) > +struct bus1_flist { > + union { > + struct bus1_flist *next; > + void *ptr; > + }; > +};

Re: [RFC PATCH 5/5] of: overlay-mgr: add a detector for headers stored on a ds2431 eeprom over w1

2016-10-27 Thread Matthias Brugger
On 10/26/2016 04:57 PM, Antoine Tenart wrote: Signed-off-by: Antoine Tenart --- Please provide a commit message. Thanks, Matthias

Re: [PATCH v12 3/5] Input: goodix - add runtime power management support

2016-10-27 Thread Bastien Nocera
On Sat, 2016-09-10 at 20:57 +0300, Irina Tirdea wrote: > Add support for runtime power management so that the device is > turned off when not used (when the userspace holds no open > handles of the input device). The device uses autosuspend with a > default delay of 2 seconds, so the device will su

Re: [PATCH v2 2/9] dt-bindings: interrupt-controller: add DT binding for meson GPIO interrupt controller

2016-10-27 Thread Mark Rutland
On Wed, Oct 26, 2016 at 04:42:35PM -0500, Rob Herring wrote: > On Wed, Oct 19, 2016 at 05:21:13PM +0200, Jerome Brunet wrote: > > > > This commit adds the device tree bindings description for Amlogic's GPIO > > interrupt controller available on the meson8, meson8b and gxbb SoC families > > > > Si

Re: [PATCH] lib/ida: Document locking requirements a bit better v2

2016-10-27 Thread Tejun Heo
On Thu, Oct 27, 2016 at 09:22:16AM +0200, Daniel Vetter wrote: > I wanted to wrap a bunch of ida_simple_get calls into their own > locking, until I dug around and read the original commit message. > Stuff like this should imo be added to the kernel doc, let's do that. > > v2: Improve the kerneldoc

[PATCH V6 4/4] dts/imx6q-b850v3: Use GE B850v3 LVDS/DP++ Bridge

2016-10-27 Thread Peter Senna Tschudin
Configures the GE B850v3 LVDS/DP++ bridge on the dts file. Cc: Martyn Welch Cc: Martin Donnelly Cc: Javier Martinez Canillas Cc: Enric Balletbo i Serra Cc: Philipp Zabel Cc: Rob Herring Cc: Fabio Estevam Cc: Archit Taneja Signed-off-by: Peter Senna Tschudin --- arch/arm/boot/dts/imx6q-b8

Re: [PATCH 2/4] Input: goodix - Allow tweaking of configuration file dynamically

2016-10-27 Thread Bastien Nocera
On Thu, 2016-10-20 at 14:59 -0500, Franklin S Cooper Jr wrote: > Some goodix touchscreen controllers don't have the correct > configuration > firmware for the display panel it is attached to. Therefore, settings > such > as touchscreen x and y size may need to be passed in via DT and have > the > p

[PATCH V6 3/4] drm/bridge: Add driver for GE B850v3 LVDS/DP++ Bridge

2016-10-27 Thread Peter Senna Tschudin
Add a driver that create a drm_bridge and a drm_connector for the LVDS to DP++ display bridge of the GE B850v3. There are two physical bridges on the video signal pipeline: a STDP4028(LVDS to DP) and a STDP2690(DP to DP++). The hardware and firmware made it complicated for this binding to compris

[PATCH V6 2/4] MAINTAINERS: Add entry for GE B850v3 LVDS/DP++ Bridge

2016-10-27 Thread Peter Senna Tschudin
Update the MAINTAINERS file for the GE B850v3 LVDS/DP++ Bridge. Cc: Martyn Welch Cc: Martin Donnelly Cc: Daniel Vetter Cc: Enric Balletbo i Serra Cc: Philipp Zabel Cc: Rob Herring Cc: Fabio Estevam CC: David Airlie CC: Thierry Reding CC: Thierry Reding CC: Archit Taneja Signed-off-by: P

[PATCH V6 1/4] Documentation/devicetree/bindings: b850v3_lvds_dp

2016-10-27 Thread Peter Senna Tschudin
Devicetree bindings documentation for the GE B850v3 LVDS/DP++ display bridge. Cc: Martyn Welch Cc: Martin Donnelly Cc: Javier Martinez Canillas Cc: Enric Balletbo i Serra Cc: Philipp Zabel Cc: Rob Herring Cc: Fabio Estevam Cc: Archit Taneja Acked-by: Rob Herring Signed-off-by: Peter Senna

[PATCH V6 0/4] Add driver for GE B850v3 LVDS/DP++ Bridge

2016-10-27 Thread Peter Senna Tschudin
The series adds a driver that creates a drm_bridge and a drm_connector for the LVDS to DP++ display bridge of the GE B850v3. There are two physical bridges on the video signal pipeline: a STDP4028(LVDS to DP) and a STDP2690(DP to DP++). The hardware and firmware made it complicated for this bindi

Re: [PATCH 4/4] Input: goodix - Support interchanging x and y coordinates in hardware

2016-10-27 Thread Bastien Nocera
On Wed, 2016-10-26 at 18:18 -0500, Rob Herring wrote: > On Thu, Oct 20, 2016 at 02:59:17PM -0500, Franklin S Cooper Jr wrote: > > > I'm not sure I follow why existing properties don't cover this. Me neither. I certainly don't understand why the driver can't mangle the data from the touchscreen a

[PATCH V4] mfd: wm8994-core: Don't use managed regulator bulk get API

2016-10-27 Thread Viresh Kumar
The kernel WARNs and then crashes today if wm8994_device_init() fails after calling devm_regulator_bulk_get(). That happens because there are multiple devices involved here and the order in which managed resources are freed isn't correct. The regulators are added as children of wm8994->dev. Wher

Re: [PATCH 4.8 000/140] 4.8.5-stable review

2016-10-27 Thread Greg Kroah-Hartman
On Thu, Oct 27, 2016 at 12:29:33AM -0700, kernelci.org bot wrote: > stable-rc boot: 110 boots: 2 failed, 102 passed with 6 offline > (v4.8.4-140-gc88a99a91d3e) > > Full Boot Summary: > https://kernelci.org/boot/all/job/stable-rc/kernel/v4.8.4-140-gc88a99a91d3e/ > Full Build Summary: > https://k

[PATCH 1/2] mfd: davinci_voicecodec: tidyup header difinitions

2016-10-27 Thread Kuninori Morimoto
From: Kuninori Morimoto mach/hardware.h is needed on C source code side, not header. And struct davinci_vc is duplicated definition. Signed-off-by: Kuninori Morimoto --- drivers/mfd/davinci_voicecodec.c | 1 + include/linux/mfd/davinci_voicecodec.h | 4 2 files changed, 1 insertion

Re: [RFC PATCH 0/5] Add an overlay manager to handle board capes

2016-10-27 Thread Antoine Tenart
Hi Rob, On Thu, Oct 27, 2016 at 08:41:56AM -0500, Rob Herring wrote: > Please Cc the maintainers of drivers/of/. > > + Frank R, Hans, Dmitry S Yes, sorry for that. > On Wed, Oct 26, 2016 at 9:57 AM, Antoine Tenart > wrote: > > > > Many boards now come with dips and compatible capes; among othe

Re: [PATCH] ARM: davinci: register the usb20_phy clock on the DT file

2016-10-27 Thread kbuild test robot
Hi Axel, [auto build test ERROR on arm-soc/for-next] [also build test ERROR on v4.9-rc2 next-20161027] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to rec

[PATCH 2/2] ASoC: cq93vc: remove MFD_DAVINCI_VOICECODEC dependency from CQ0093VC

2016-10-27 Thread Kuninori Morimoto
From: Kuninori Morimoto CQ0093VC is no longer dependent on MFD_DAVINCI_VOICECODEC, let's remove it. Otherwise, we can't compile it by COMPILE_TEST on non-DAVINCE platform Signed-off-by: Kuninori Morimoto --- sound/soc/codecs/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

Re: [RFC PATCH v2 7/9] drm: atomic: factor out common out-fence operations

2016-10-27 Thread Brian Starkey
On Wed, Oct 26, 2016 at 07:45:14PM -0200, Gustavo Padovan wrote: %p should be kept for your internal debug only. Make sure to remove anything that exposes kernel address when sending patches. Gustavo Noted, thanks! -Brian

[PATCH 0/2] ASoC: cq93vc: enable compiling on COMPILE_TEST

2016-10-27 Thread Kuninori Morimoto
Hi Lee, Mark Current cq93vc sound codec indicates that it has MFD_DAVINCI_VOICECODEC dependency, but it doesn't. This means we can compile it from non DAVINCE environment by COMPILE_TEST. These patches solve this issue. I tested this on ARCH=x86 + make allyesconfig, and ARCH=ARM + shmobile_defcon

Re: [PATCH 1/6] dt/bindings: adjust bindings for Layerscape SCFG MSI

2016-10-27 Thread Mark Rutland
On Wed, Oct 26, 2016 at 10:09:07PM +, Leo Li wrote: > > > -Original Message- > > From: Mark Rutland [mailto:mark.rutl...@arm.com] > > Sent: Wednesday, October 26, 2016 5:31 AM > > To: M.H. Lian > > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; > > devicet...@

[PATCH 2/2] regmap: Avoid namespace collision within macro

2016-10-27 Thread Ramesh Shanmugasundaram
Renamed variable "timeout" to "__timeout" to avoid namespace collision. Signed-off-by: Ramesh Shanmugasundaram --- include/linux/regmap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/regmap.h b/include/linux/regmap.h index 9adc7b2..32f339a 100644 --- a/in

Re: [Xen-devel] [PATCH 8/8] xen/pvh: Enable CPU hotplug

2016-10-27 Thread Boris Ostrovsky
On 10/14/2016 03:01 PM, Boris Ostrovsky wrote: On 10/14/2016 02:41 PM, Andrew Cooper wrote: On 14/10/16 19:05, Boris Ostrovsky wrote: PVH guests don't receive ACPI hotplug interrupts and therefore need to monitor xenstore for CPU hotplug event. Why not? If they don't, they should. As we ar

[PATCH 0/2] Avoid namespace collision within macros

2016-10-27 Thread Ramesh Shanmugasundaram
Hi All, The readx_poll_timeout & similar macros defines "ktime timeout" local variable. Fixed this potential namespace collision issue. This patchset is based on top of latest linux repo commit 9fe68cad6e74967b88d0c6aeca7d9cd6b6e91942 Thanks, Ramesh Ramesh Shanmugasundaram (2): i

[PATCH v2] x86/unwind: ensure stack grows down

2016-10-27 Thread Josh Poimboeuf
Add a sanity check to ensure the stack only grows down, and print a warning if the check fails. Signed-off-by: Josh Poimboeuf --- arch/x86/kernel/unwind_frame.c | 34 ++ 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/arch/x86/kernel/unwind_frame.c

[PATCH v3 4/4] ARM: dts: da850: Add the usb otg device node

2016-10-27 Thread Alexandre Bailon
This adds the device tree node for the usb otg controller present in the da850 family of SoC's. This also enables the otg usb controller for the lcdk board. Signed-off-by: Alexandre Bailon --- arch/arm/boot/dts/da850-lcdk.dts | 8 arch/arm/boot/dts/da850.dtsi | 15 +++

<    1   2   3   4   5   6   7   8   9   >