Re: [PATCH 0/2] KVM: x86: emulate fxsave and fxrstor

2016-10-27 Thread Radim Krčmář
2016-10-26 23:40+0200, Laszlo Ersek: > On 10/26/16 22:50, Radim Krčmář wrote: >> [1/2] adds the emulation (and could be split into two patches if you'd like), >> [2/2] just refactors the code. >> >> This should fix an issue that users are hitting. Laszlo found several >> reports: >> - https://b

Re: [RFC v1 06/14] bus1: util - queue utility library

2016-10-27 Thread Peter Zijlstra
On Wed, Oct 26, 2016 at 09:18:02PM +0200, David Herrmann wrote: > A bus1 message queue is a FIFO, i.e., messages are linearly ordered by > the time they were sent. Moreover, atomic delivery of messages to > multiple queues are supported, without any global synchronization, i.e., > the order of mes

Re: [PATCH 1/5] KVM: x86: avoid atomic operations on APICv vmentry

2016-10-27 Thread Radim Krčmář
2016-10-27 00:42+0300, Michael S. Tsirkin: > On Wed, Oct 26, 2016 at 09:53:45PM +0200, Radim Krčmář wrote: >> 2016-10-14 20:21+0200, Paolo Bonzini: >> > On some benchmarks (e.g. netperf with ioeventfd disabled), APICv >> > posted interrupts turn out to be slower than interrupt injection via >> > KV

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

2016-10-27 Thread Andrejczuk, Grzegorz
> On Thu, Oct 27, 2016 at 04:02:03PM +0200, Grzegorz Andrejczuk wrote: > > 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 ++

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

2016-10-27 Thread kbuild test robot
Hi Imran, [auto build test ERROR on linus/master] [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

Re: [PATCH] Input: gpio-keys - use module_platform_driver macro

2016-10-27 Thread Dmitry Torokhov
Hi Slawomir, On Thu, Oct 27, 2016 at 04:15:54PM +0200, Slawomir Stepien wrote: > The gpio_keys_init() and gpio_keys_exit() are not doing anything > more then just register and unregister. Replace these functions with > module_platform_driver. > > Signed-off-by: Slawomir Stepien > --- > drivers/

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

2016-10-27 Thread Lorenzo Pieralisi
On Thu, Oct 27, 2016 at 12:24:48PM +0200, Rafael J. Wysocki wrote: > 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:

Re: [PATCH 1/5] KVM: x86: avoid atomic operations on APICv vmentry

2016-10-27 Thread Michael S. Tsirkin
On Thu, Oct 27, 2016 at 06:44:00PM +0200, Radim Krčmář wrote: > 2016-10-27 00:42+0300, Michael S. Tsirkin: > > On Wed, Oct 26, 2016 at 09:53:45PM +0200, Radim Krčmář wrote: > >> 2016-10-14 20:21+0200, Paolo Bonzini: > >> > On some benchmarks (e.g. netperf with ioeventfd disabled), APICv > >> > post

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

2016-10-27 Thread kbuild test robot
Hi Imran, [auto build test ERROR on linus/master] [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 v3] ARM: bcm2835: Add names for the Raspberry Pi GPIO lines

2016-10-27 Thread Eric Anholt
From: Linus Walleij The idea is to give useful names to GPIO lines that an implementer will be using from userspace, e.g. for maker type projects. These are user-visible using tools/gpio/lsgpio.c v2: Major rewrite by anholt: Flatten each GPIO line to a line in the file for better diffing, p

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

2016-10-27 Thread Andrejczuk, Grzegorz
> > init_intel_energy_perf(c); > > + > > + /* > > + * Setting ring 3 MONITOR/MWAIT for thread > > + * when CPU is Xeon Phi Family x200 (KnightsLanding). > > + */ > > + if (c->x86 == 6 && c->x86_model == INTEL_FAM6_XEON_PHI_KNL) > > Please move this conditional into the probe function.

Re: [PATCH V2 2/4] mfd: pv88080: MFD core support

2016-10-27 Thread kbuild test robot
Hi Eric, [auto build test ERROR on ljones-mfd/for-mfd-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)

Re: [RFC PATCH 13/13] of: Remove unused variable overlay_symbols

2016-10-27 Thread Frank Rowand
On 10/27/16 09:27, Frank Rowand wrote: > On 10/27/16 07:41, Pantelis Antoniou wrote: >> Hi Frank, >> >> >>> On Oct 25, 2016, at 23:59 , frowand.l...@gmail.com wrote: >>> >>> From: Frank Rowand >>> >>> This unused variable is a reminder that symbols in overlays are >>> not available to subsequent o

Re: [PATCH 1/2] ARM: memory: da8xx-ddrctl: new driver

2016-10-27 Thread Kevin Hilman
Bartosz Golaszewski writes: > Create a new driver for the da8xx DDR2/mDDR controller and implement > support for writing to the Peripheral Bus Burst Priority Register. > > Signed-off-by: Bartosz Golaszewski [...] > + for (; setting->name; setting++) { > + knob = da8xx_ddrctl_ma

Re: [PATCH 2/2] serial: 8250_dw: Add support for IrDA SIR mode

2016-10-27 Thread Andy Shevchenko
On Thu, 2016-10-27 at 17:38 +0100, Ed Blake wrote: > Add a set_ldisc function to enable/disable IrDA SIR mode according to > the new line discipline. Thanks for the patch. Consider that not all implementations based on 8250_dw support IRDA feature. I suppose you need to read capability register b

Re: [PATCH 2/4] printk/kdb: Handle more message headers

2016-10-27 Thread Joe Perches
On Thu, 2016-10-27 at 17:52 +0200, Petr Mladek wrote: > The commit 4bcc595ccd80decb4245096e ("printk: reinstate KERN_CONT for > printing continuation lines") allows to define more message headers > for a single message. The motivation is that continuous lines might > get mixed. Therefore it make se

Re: [RFC PATCH 13/13] of: Remove unused variable overlay_symbols

2016-10-27 Thread Frank Rowand
On 10/27/16 09:53, Frank Rowand wrote: > On 10/27/16 09:27, Frank Rowand wrote: >> On 10/27/16 07:41, Pantelis Antoniou wrote: >>> Hi Frank, >>> >>> On Oct 25, 2016, at 23:59 , frowand.l...@gmail.com wrote: From: Frank Rowand This unused variable is a reminder that symbols

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

2016-10-27 Thread Rob Herring
On Thu, Oct 27, 2016 at 11:35 AM, Frank Rowand wrote: > On 10/27/16 05:47, Rob Herring wrote: >> 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 >>> --- >>> dri

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

2016-10-27 Thread Franklin S Cooper Jr
On 10/27/2016 05:33 AM, Bastien Nocera wrote: > 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

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

2016-10-27 Thread Borislav Petkov
On Thu, Oct 27, 2016 at 04:46:54PM +, Andrejczuk, Grzegorz wrote: > I was reusing Word 3 as you suggested in patch rev. 1. There was idea > to use init_scattered_cpuid_features. I meant this word 3: /* Other features, Linux-defined mapping, word 3 */ /* This range is used for feature bits whi

Re: [PATCH 0/2] KVM: x86: emulate fxsave and fxrstor

2016-10-27 Thread Laszlo Ersek
On 10/27/16 18:41, Radim Krčmář wrote: > 2016-10-26 23:40+0200, Laszlo Ersek: >> On 10/26/16 22:50, Radim Krčmář wrote: >>> [1/2] adds the emulation (and could be split into two patches if you'd >>> like), >>> [2/2] just refactors the code. >>> >>> This should fix an issue that users are hitting.

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

2016-10-27 Thread Franklin S Cooper Jr
On 10/27/2016 05:34 AM, Bastien Nocera wrote: > 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 s

Re: 'kbuild' merge before 4.9-rc1 breaks build and boot

2016-10-27 Thread Peter Wu
Hey Al, Michal, I can confirm Olivers issue, the current mainline kernel fails to boot on kernels with CONFIG_MODVERSIONS=y. Bisection points to: commit 784d5699eddc55878627da20d3fe0c8542e2f1a2 Author: Al Viro Date: Mon Jan 11 11:04:34 2016 -0500 x86: move exports to actua

Re: [PATCH 1/5] KVM: x86: avoid atomic operations on APICv vmentry

2016-10-27 Thread Radim Krčmář
2016-10-27 19:51+0300, Michael S. Tsirkin: > On Thu, Oct 27, 2016 at 06:44:00PM +0200, Radim Krčmář wrote: >> 2016-10-27 00:42+0300, Michael S. Tsirkin: >> > On Wed, Oct 26, 2016 at 09:53:45PM +0200, Radim Krčmář wrote: >> >> 2016-10-14 20:21+0200, Paolo Bonzini: >> >> > On some benchmarks (e.g. ne

Re: [PATCH 1/3] Documentation: dt: reset: Add TI SCI reset binding

2016-10-27 Thread Suman Anna
Hi Andrew, On 10/26/2016 02:39 PM, Andrew F. Davis wrote: > Add TI SCI reset controller binding. This describes the DT binding > details for a reset controller node providing reset management services > to hardware blocks (reset consumers) using the Texas Instrument's System > Control Interface (T

Re: [RFC PATCH] kbuild: add -fno-PIE

2016-10-27 Thread Shuah Khan
On Fri, Oct 21, 2016 at 5:16 AM, Sebastian Andrzej Siewior wrote: > Debian started to build the gcc with --enable-default-pie by default so the > kernel build ends before it starts properly with: > |kernel/bounds.c:1:0: error: code model kernel does not support PIC mode > > Is this okay or do we w

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

2016-10-27 Thread kbuild test robot
Hi Mirza, [auto build test ERROR on robh/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/3] ARM: dts: exynos: Document eMMC/SD/SDIO devices in Exynos5420 Pit board

2016-10-27 Thread Javier Martinez Canillas
There's a cognitive load to figure out which mmc device nodes corresponds to the eMMC flash, uSD card and WiFI SDIO module on the Peach Pit board. So it's better to have comments in the DTS to make this more clear. Signed-off-by: Javier Martinez Canillas --- arch/arm/boot/dts/exynos5420-peach-

[PATCH 1/3] ARM: dts: exynos: Document eMMC/SD/SDIO devices in Exynos5250 Snow board

2016-10-27 Thread Javier Martinez Canillas
There's a cognitive load to figure out which mmc device node corresponds to the eMMC flash, uSD card and WiFI SDIO module on the Snow boards. So it's better to have comments in the DTS to make this more clear. Signed-off-by: Javier Martinez Canillas --- arch/arm/boot/dts/exynos5250-snow-common

[PATCH 3/3] ARM: dts: exynos: Document eMMC/SD/SDIO devices in Exynos5800 Peach Pi board

2016-10-27 Thread Javier Martinez Canillas
There's a cognitive load to figure out which mmc device nodes corresponds to the eMMC flash, uSD card and WiFI SDIO module on the Peach Pi board. So it's better to have comments in the DTS to make this more clear. Signed-off-by: Javier Martinez Canillas --- arch/arm/boot/dts/exynos5800-peach-p

Re: [PATCH 0/7] powerpc/mm: refactor vDSO mapping code

2016-10-27 Thread Dmitry Safonov
2016-10-25 18:50 GMT+03:00 Dmitry Safonov : > Cleanup patches for vDSO on powerpc. > Originally, I wanted to add vDSO remapping on arm/aarch64 and > I decided to cleanup that part on powerpc. > I've add a hook for vm_ops for vDSO just like I did for x86. > Other changes - reduce exhaustive code dup

Re: [PATCH v2 0/3] usb: musb: da8xx: Fix few issues

2016-10-27 Thread David Lechner
On 10/26/2016 05:58 AM, Alexandre Bailon wrote: Currently, the USB OTG of the da8xx doesn't work. This series intend to fix them. Change in v2: * Fix the error path da8xx_musb_init() Alexandre Bailon (3): usb: musb: da8xx: Call earlier clk_prepare_enable() phy: da8xx-usb: Configure CFGCHIP2

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

2016-10-27 Thread Vineet Gupta
+CC Claudiu On 10/27/2016 02:39 AM, Alexey Brodkin wrote: > > And these are functions required by U-Boot (most probably the same is applied > to kernel): > 1) so-called millicode, stuff like __ld_rX_to_rY, __st_rX_to_rX This kicks in only at -Os and even there can be inhibited with a toggle. I d

Re: bio linked list corruption.

2016-10-27 Thread Dave Jones
On Thu, Oct 27, 2016 at 04:41:33PM +1100, Dave Chinner wrote: > And that's indicative of a delalloc metadata reservation being > being too small and so we're allocating unreserved blocks. > > Different symptoms, same underlying cause, I think. > > I see the latter assert from time to time

Re: [PATCH 4.4 000/112] 4.4.28-stable review

2016-10-27 Thread Mark Brown
On Thu, Oct 27, 2016 at 10:12:21AM -0700, Kevin Hilman wrote: > These are QEMU jobs that the test framework (LAVA) is not waiting long > enough to finish. When run standalone, the QEMU tests are passing. Lab > owner is looking into it. I *think* the timeouts come from the LAVA jobs rather than

Re: [patch v1 1/2] drivers/platform/x86: move module mlx-platform from arch/x86 to drivers/platform/x86

2016-10-27 Thread kbuild test robot
Hi Vadim, [auto build test WARNING on platform-drivers-x86/for-next] [also build test WARNING on next-20161027] [cannot apply to v4.9-rc2] [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=

[PATCH] drivers/platform/x86: fix semicolon.cocci warnings

2016-10-27 Thread kbuild test robot
drivers/platform/x86/mlx-platform.c:219:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Vadim Pasternak Signed-off-by: Fengguang Wu --- mlx-platform.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/platfo

Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online calls to hotplugged cpu")]

2016-10-27 Thread Ville Syrjälä
On Tue, Aug 09, 2016 at 08:20:57PM +0300, Ville Syrjälä wrote: > On Thu, Jul 14, 2016 at 04:29:42PM +0800, Feng Tang wrote: > > if you only want it to work, you can try an old patch > > https://bugzilla.kernel.org/attachment.cgi?id=76071 from a similar bug > > https://bugzilla.kernel.org/show_bug.c

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

2016-10-27 Thread Rob Herring
On Thu, Oct 27, 2016 at 10:13 AM, Hans de Goede wrote: > Hi, > > On 27-10-16 15:41, Rob Herring wrote: >> >> Please Cc the maintainers of drivers/of/. >> >> + Frank R, Hans, Dmitry S >> >> On Wed, Oct 26, 2016 at 9:57 AM, Antoine Tenart >> wrote: >>> >>> Hi all, >>> >>> Many boards now come with

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

2016-10-27 Thread Ulf Hansson
[...] > > I'm hesistant to add a new scheduler because it's very easy to add, very > difficult to get rid of. If we do add BFQ as a legacy scheduler now, > it'll take us years and years to get rid of it again. We should be > moving towards LESS moving parts in the legacy path, not more. Jens, I t

Re: [PATCH 2/2] serial: 8250_dw: Add support for IrDA SIR mode

2016-10-27 Thread Ed Blake
On 10/27/16 17:56, Andy Shevchenko wrote: On Thu, 2016-10-27 at 17:38 +0100, Ed Blake wrote: Add a set_ldisc function to enable/disable IrDA SIR mode according to the new line discipline. Thanks for the patch. Consider that not all implementations based on 8250_dw support IRDA feature. I suppo

[RFC v2 7/8] sched/{fair,tune}: track RUNNABLE tasks impact on per CPU boost value

2016-10-27 Thread Patrick Bellasi
When per-task boosting is enabled, every time a task enters/exits a CPU its boost value could impact the currently selected OPP for that CPU. Thus, the "aggregated" boost value for that CPU potentially needs to be updated to match the current maximum boost value among all the tasks currently RUNNAB

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

2016-10-27 Thread Bastien Nocera
On Thu, 2016-10-27 at 11:58 -0500, Franklin S Cooper Jr wrote: > > On 10/27/2016 05:33 AM, Bastien Nocera wrote: > > 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 pa

[RFC v2 2/8] sched/tune: add sysctl interface to define a boost value

2016-10-27 Thread Patrick Bellasi
The current (CFS) scheduler implementation does not allow "to boost" tasks performance by running them at a higher OPP compared to the minimum required to meet their workload demands. To support tasks performance boosting the scheduler should provide a "knob" which allows to tune how much the syst

[RFC v2 8/8] sched/{fair,tune}: add support for negative boosting

2016-10-27 Thread Patrick Bellasi
Boosting support allows to inflate a signal with a margin which is defined to be proportional to its delta from its maximum possible value. Such a mechanism allows to run a task on an OPP which is higher with respect to the minimum capacity which can satisfy its demands. In certain use-cases we co

[RFC v2 1/8] sched/tune: add detailed documentation

2016-10-27 Thread Patrick Bellasi
The topic of a single simple power-performance tunable, that is wholly scheduler centric, and has well defined and predictable properties has come up on several occasions in the past. With techniques such as a scheduler driven DVFS, which is now provided mainline via the schedutil governor, we now

[RFC v2 6/8] sched/tune: compute and keep track of per CPU boost value

2016-10-27 Thread Patrick Bellasi
When per task boosting is enabled, we can have multiple RUNNABLE tasks which are concurrently scheduled on the same CPU but each one with a different boost value. For example, we could have a scenarios like this: Task SchedTune CGroup Boost Value T1 root0 T2

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

2016-10-27 Thread Matthias Kaehlcke
El Thu, Oct 27, 2016 at 02:31:39PM +0200 H. Nikolaus Schaller ha dit: > 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-endin

[RFC v2 0/8] SchedTune: central, scheduler-driven, power-perfomance control

2016-10-27 Thread Patrick Bellasi
This RFC is an update to the initial SchedTune proposal [1] for a central scheduler-driven power-performance control. The posting is being made ahead of the LPC to facilitate discussions there. The initial proposal was refined, eventually merged into the AOSP, and it currently finds good use in p

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

2016-10-27 Thread Jens Axboe
On 10/27/2016 11:32 AM, Ulf Hansson wrote: [...] I'm hesistant to add a new scheduler because it's very easy to add, very difficult to get rid of. If we do add BFQ as a legacy scheduler now, it'll take us years and years to get rid of it again. We should be moving towards LESS moving parts in

[RFC v2 4/8] sched/fair: add boosted CPU usage

2016-10-27 Thread Patrick Bellasi
The CPU utilization signal (cpu_rq(cpu)->cfs.avg.util_avg) is used by the scheduler as an estimation of the overall bandwidth currently allocated on a CPU. When the schedutil CPUFreq governor is in use, this signal drives the selection of the Operating Performance Points (OPP) required to accommoda

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

2016-10-27 Thread Franklin S Cooper Jr
On 10/27/2016 05:34 AM, Bastien Nocera wrote: > 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 wh

[RFC v2 3/8] sched/fair: add function to convert boost value into "margin"

2016-10-27 Thread Patrick Bellasi
The basic idea of the boost knob is to "artificially inflate" a signal to make a task (or CPU) appears more demanding than what actually it is. Independently from the specific signal, a consistent and possibly simple semantic for the concept of "signal boosting" must define: 1. how we translate a

[RFC v2 5/8] sched/tune: add initial support for CGroups based boosting

2016-10-27 Thread Patrick Bellasi
To support task performance boosting, the usage of a single knob has the advantage to be a simple solution, both from the implementation and the usability standpoint. However, on a real system it can be difficult to identify a single value for the knob which fits the needs of multiple different ta

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

2016-10-27 Thread H. Nikolaus Schaller
Hi, > Am 27.10.2016 um 19:41 schrieb Matthias Kaehlcke : > > El Thu, Oct 27, 2016 at 02:31:39PM +0200 H. Nikolaus Schaller ha dit: > >> commit 73e705bf81ce ("regulator: core: Add set_voltage_time op") >> >> introduced a new rdev_warn() if the ramp_delay is 0. >> >> Apparently, on omap3/twl4030

[PATCHv3 4/8] powerpc/vdso: introduce init_vdso{32,64}_pagelist

2016-10-27 Thread Dmitry Safonov
Impact: cleanup Move allocation/initialization of vDSO's pagelist for 32/64-bit vDSO into common vdso code, introducing a function for that. Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: Andy Lutomirski Cc: Oleg Nesterov Cc: linuxppc-...@lists.ozlabs.org Cc: linux...

Re: [PATCH V4 0/5] firmware: Add support for TI System Control Interface (TI-SCI) protocol driver

2016-10-27 Thread Tero Kristo
On 27/10/16 19:01, Kevin Hilman wrote: Tero Kristo writes: On 19/10/16 02:08, Nishanth Menon wrote: Version 4 of the series is basically a rebase to v4.9-rc1, no functional changes. Any final comments on this series, or shall I send a pull-req forward? Very minimal changes compared to v3 so

[PATCHv3 3/8] powerpc/vdso: separate common code in vdso_common

2016-10-27 Thread Dmitry Safonov
Impact: cleanup There are common functions for handeling 32-bit and 64-bit vDSO ELF files: find_section{32,64}, find_symbol{32,64}, find_function{32,64}, vdso_do_func_patch{32,64}, vdso_do_find_sections{32,64}, vdso_fixup_datapag{32,64}, vdso_fixup_features{32,64}, vdso_setup{32,64} which all do t

[PATCH 2/2] ARM: dts: exynos: Use macro for PWM signal polarity in Exynos5 boards

2016-10-27 Thread Javier Martinez Canillas
Using the PWM_POLARITY_INVERTED macro instead of the hardcoded number 0 makes the DTS easier to read. Signed-off-by: Javier Martinez Canillas --- arch/arm/boot/dts/exynos5250-snow-common.dtsi | 3 ++- arch/arm/boot/dts/exynos5410-odroidxu.dts | 2 +- arch/arm/boot/dts/exynos5420-p

Re: [PATCH V4 0/5] firmware: Add support for TI System Control Interface (TI-SCI) protocol driver

2016-10-27 Thread Tero Kristo
On 26/10/16 22:56, Santosh Shilimkar wrote: On 10/25/2016 10:34 AM, Tero Kristo wrote: On 19/10/16 02:08, Nishanth Menon wrote: Version 4 of the series is basically a rebase to v4.9-rc1, no functional changes. Hi, Any final comments on this series, or shall I send a pull-req forward? Very mi

[PATCH 1/2] ARM: dts: exynos: Use macro for PWM signal polarity in Exynos4 boards

2016-10-27 Thread Javier Martinez Canillas
Using the PWM_POLARITY_INVERTED macro instead of the hardcoded number 0 makes the DTS easier to read. Signed-off-by: Javier Martinez Canillas --- arch/arm/boot/dts/exynos4412-odroidu3.dts | 3 ++- arch/arm/boot/dts/exynos4412-trats2.dts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-

Fwd: Fujitsu PrimePower 450 with SPARC64 V & Linux support

2016-10-27 Thread Allan Tsakuhhin
I am trying to build Linux system on Fujitsu PrimePower 450 running by SPARC64 V CPUs. Does anyone have supportive materials (manuals, overviews, specs) about Fujitsu PP450 and SPARC64 V CPUs. Every kind of source material may be useful! All I have found from Internet, there is no Linux support to

[PATCH 1/2] x86/prctl/uapi: remove ifdef for CHECKPOINT_RESTORE

2016-10-27 Thread Dmitry Safonov
As userspace knows nothing about kernel config, this ifdefs will make prctl constants invisible to userspace. Let it be clean'n'simple: remove ifdefs. If kernel has CONFIG_CHECKPOINT_RESTORE disabled, sys_prctl() will return -EINVAL for those prctls. Fixes: 2eefd8789698 ("x86/arch_prctl/vdso: Add

Re: [PATCH] thinkpad_acpi: Add support for X1 Yoga (2016) Tablet Mode

2016-10-27 Thread Henrique de Moraes Holschuh
On Thu, 27 Oct 2016, Lyude Paul wrote: > as well, can someone confirm this patch made it to the ibm-acpi-devel > list? When I originally sent this I realized I wasn't subscribed to the > list, so I'm guessing I might need to resend. I received it. I just didn't have the time to go over it in deta

Re: [PATCH net-next] ibmveth: v1 calculate correct gso_size and set gso_type

2016-10-27 Thread Thomas Falcon
On 10/27/2016 10:26 AM, Eric Dumazet wrote: > On Wed, 2016-10-26 at 11:09 +1100, Jon Maxwell wrote: >> We recently encountered a bug where a few customers using ibmveth on the >> same LPAR hit an issue where a TCP session hung when large receive was >> enabled. Closer analysis revealed that the se

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

2016-10-27 Thread Franklin S Cooper Jr
On 10/26/2016 06:18 PM, Rob Herring wrote: > On Thu, Oct 20, 2016 at 02:59:17PM -0500, Franklin S Cooper Jr wrote: >> On systems with a fixed display/touchscreen orientation it is important to >> pass in the "correct" x and y coordinates based on the orientation. >> Currently, to support landscap

[patch v2 1/2] drivers/platform/x86: move module mlx-platform from arch/x86 to drivers/platform/x86

2016-10-27 Thread Vadim Pasternak
Move module mlx-platform.c from arch/x86/platform/mellanox/ to drivers/platform/x86/. Remove folder arch/x86/platform/mellanox/ and update relevant Makefile and Kconfig. Signed-off-by: Vadim Pasternak v1->v2: Comments pointed out by Andy: - Use -M -C -n option in git format-patch; --- MAINTAI

[patch v2 2/2] drivers/platform/x86: add mlxcpld-hotplug driver registration to mlx-platform driver

2016-10-27 Thread Vadim Pasternak
Add calls for mlxcpld-hotplug platform driver registration/unregistration and add platform hotplug data configurations. This driver, when registered within system will handle system hot-plug events for the power suppliers, power cables and fans (insertion and removing). These events are controlled

[PATCH 3/7] lightnvm: manage block list on LUN owner

2016-10-27 Thread Javier González
From: Javier González LUNs can be exclusively owned by a target through the media manager's reserve_lun function. In this case, the target should implement its own provisioning and manage internally the free/used/bad block list. This patch introduces a LUN management structure that can be passed

[PATCH 6/7] lightnvm: add ECC error codes

2016-10-27 Thread Javier González
Add ECC error codes to enable the appropriate handling in the target. Signed-off-by: Javier González --- include/linux/lightnvm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/lightnvm.h b/include/linux/lightnvm.h index e3ccaff..33643ae 100644 --- a/include/linux/lightnvm.h

[PATCH 7/7] lightnvm: rrpc: split bios of size > 256kb

2016-10-27 Thread Javier González
rrpc cannot handle bios of size > 256kb due to NVMe using a 64 bit bitmap to signal I/O completion. If a larger bio comes, split it explicitly. Signed-off-by: Javier González --- drivers/lightnvm/rrpc.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/lightnvm/rrpc.c b/drivers/l

[PATCH 0/7] LightNVM patchset V2

2016-10-27 Thread Javier González
V2: Rebase patches on Matias' for-next Javier González (7): lightnvm: enable to send hint to erase command lightnvm: do not decide on device blocks lightnvm: manage block list on LUN owner lightnvm: drop reserve and release LUN callbacks lightnvm: export set bad block table lightnvm: a

[PATCH 1/7] lightnvm: enable to send hint to erase command

2016-10-27 Thread Javier González
Erases might be subject to host hints. An example is multi-plane programming to erase blocks in parallel. Enable targets to specify this hints. Signed-off-by: Javier González --- drivers/lightnvm/core.c | 9 ++--- drivers/lightnvm/gennvm.c| 5 ++--- drivers/lightnvm/rrpc.c | 2

Re: [PATCH v6] tty/serial: at91: fix hardware handshake on Atmel platforms

2016-10-27 Thread Uwe Kleine-König
Hello Richard, On Thu, Oct 27, 2016 at 06:04:06PM +0200, Richard Genoud wrote: > diff --git a/drivers/tty/serial/atmel_serial.c > b/drivers/tty/serial/atmel_serial.c > index fd8aa1f4ba78..168b10cad47b 100644 > --- a/drivers/tty/serial/atmel_serial.c > +++ b/drivers/tty/serial/atmel_serial.c > @@

[PATCH 5/7] lightnvm: export set bad block table

2016-10-27 Thread Javier González
Bad blocks should be managed by block owners. This would be either targets for data blocks or sysblk for system blocks. In order to support this, export two functions: One to mark a block as an specific type (e.g., bad block) and another to update the bad block table on the device. Move bad block

[PATCH 4/7] lightnvm: drop reserve and release LUN callbacks

2016-10-27 Thread Javier González
From: Javier González On target initialization, targets use callbacks to the media manager to configure the LUNs they use. In order to simplify the flow, drop this callbacks and manage everything internally on the media manager. By making use of the newly introduce LUN management structure, the

[PATCH 2/7] lightnvm: do not decide on device blocks

2016-10-27 Thread Javier González
Device blocks should be marked by the device and considered as bad blocks by the media manager. Thus, do not make assumptions on which blocks are going to be used by the device. In doing so we might lose valid blocks from the free list. Signed-off-by: Javier González --- drivers/lightnvm/gennvm.

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

2016-10-27 Thread Matthias Kaehlcke
Hi, El Thu, Oct 27, 2016 at 07:45:32PM +0200 H. Nikolaus Schaller ha dit: > > Am 27.10.2016 um 19:41 schrieb Matthias Kaehlcke : > > > > El Thu, Oct 27, 2016 at 02:31:39PM +0200 H. Nikolaus Schaller ha dit: > > > >> commit 73e705bf81ce ("regulator: core: Add set_voltage_time op") > >> > >> int

Re: [patch v2 1/2] drivers/platform/x86: move module mlx-platform from arch/x86 to drivers/platform/x86

2016-10-27 Thread Andy Shevchenko
Better, but... When resending patch series, resend as a series. Otherwise sent them independently if it's the case. Remove 'drivers/' part from the subject and make it closer to ~70 characters all together. You have quite a few people in Cc list, try to leave only TWIMC categore of them, e.g. ma

Re: [PATCH] EDAC: expose per-dimm error counts in sysfs

2016-10-27 Thread Borislav Petkov
On Tue, Oct 25, 2016 at 04:25:51PM -0700, Aaron Miller wrote: <--- This patch needs a commit message. Especially as to *why* we need this. > Signed-off-by: Aaron Miller > --- > drivers/edac/edac_mc_sysfs.c | 38 ++ > 1 file changed, 38 insertions(+) Regardl

Re: [PATCH 01/14] dma: sun6i-dma: Add burst case of 4

2016-10-27 Thread Maxime Ripard
On Sun, Oct 23, 2016 at 06:31:07PM +0200, Jean-Francois Moine wrote: > On Tue, 4 Oct 2016 18:55:54 +0200 > Maxime Ripard wrote: > > > On Tue, Oct 04, 2016 at 12:40:11PM +0200, Jean-Francois Moine wrote: > > > On Tue, 4 Oct 2016 11:46:14 +0200 > > > Mylène Josserand wrote: > > > > > > > Add the

Re: [PATCH net-next] ibmveth: v1 calculate correct gso_size and set gso_type

2016-10-27 Thread Eric Dumazet
On Thu, 2016-10-27 at 12:54 -0500, Thomas Falcon wrote: > On 10/27/2016 10:26 AM, Eric Dumazet wrote: > > On Wed, 2016-10-26 at 11:09 +1100, Jon Maxwell wrote: > >> We recently encountered a bug where a few customers using ibmveth on the > >> same LPAR hit an issue where a TCP session hung when la

[PATCH] intel_idle: Don't use on Lenovo Ideapad S10-3t

2016-10-27 Thread ville . syrjala
From: Ville Syrjälä Lenovo Ideapad S10-3t hangs coming out of S3 with intel_idle. The two workaround that seem to help are "intel_idle.max_cstate=0" or "nohz=off highres=off". At a first glance quirk_tigerpoint_bm_sts() seemed promising, but even when moved to early_resume it didn't do anything.

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

2016-10-27 Thread Ulf Hansson
On 27 October 2016 at 19:43, Jens Axboe wrote: > On 10/27/2016 11:32 AM, Ulf Hansson wrote: >> >> [...] >> >>> >>> I'm hesistant to add a new scheduler because it's very easy to add, very >>> difficult to get rid of. If we do add BFQ as a legacy scheduler now, >>> it'll take us years and years to

[PATCH] kvm/x86: Show WRMSR data is in hex

2016-10-27 Thread Borislav Petkov
From: Borislav Petkov Add the "0x" prefix to the error messages format to make it unambiguous about what kind of value we're talking about. Signed-off-by: Borislav Petkov Cc: Paolo Bonzini Cc: "Radim Krčmář" --- arch/x86/kvm/x86.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

"hpsa: Change SAS transport devices to bus 0." commit breaks hpacucli on old controller firmware

2016-10-27 Thread Jack Suter
Hi there, Commit "hpsa: Change SAS transport devices to bus 0." (09371d623c9c3dc6ed7f53ec8ab01d25f0c6c697) breaks the hpacucli utility for some HP Smart Array controllers with old firmware. Specifically, I have a P410 connected to an HP DL180 G6 running firmware version 1.66. Yes, the firmware is

Re: [PATCH v5 12/18] x86/intel_rdt: Add "info" files to resctrl file system

2016-10-27 Thread Fenghua Yu
On Wed, Oct 26, 2016 at 04:45:50PM +0200, Thomas Gleixner wrote: > On Sat, 22 Oct 2016, Fenghua Yu wrote: > > +/* > > + * Forcibly remove all of subdirectories under root. > > + */ > > +static void rmdir_all_sub(void) > > +{ > > + kernfs_remove(kn_info); > > What clears kn_info? Is the question

Re: [PATCH] EDAC: expose per-dimm error counts in sysfs

2016-10-27 Thread Mauro Carvalho Chehab
Em Thu, 27 Oct 2016 20:07:16 +0200 Borislav Petkov escreveu: > On Tue, Oct 25, 2016 at 04:25:51PM -0700, Aaron Miller wrote: > > <--- This patch needs a commit message. > > Especially as to *why* we need this. Also, if you're changing the sysfs ABI, you need to update the EDAC documentation ac

[PATCH v2] irqchip/bcm2836: Prevent spurious interrupts

2016-10-27 Thread Eric Anholt
From: Phil Elwell The old arch-specific IRQ macros included a dsb to ensure the write to clear the mailbox interrupt completed before returning from the interrupt. The BCM2836 irqchip driver needs the same precaution to avoid spurious interrupts. Signed-off-by: Phil Elwell Signed-off-by: Eric A

Re: [PATCH] irq-bcm2836: Prevent spurious interrupts, and trap them early

2016-10-27 Thread Eric Anholt
Eric Anholt writes: > From: Phil Elwell > > The old arch-specific IRQ macros included a dsb to ensure the > write to clear the mailbox interrupt completed before returning > from the interrupt. The BCM2836 irqchip driver needs the same > precaution to avoid spurious interrupts. > > Spurious inte

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

2016-10-27 Thread Jens Axboe
On 10/27/2016 12:13 PM, Ulf Hansson wrote: 2) While we work on evolving blkmq and convert block device drivers to it, BFQ could as a separate legacy scheduler, help *lots* of Linux users to get a significant improved experience. Should we really prevent them from that? I think you block maintaine

[PATCH] fs: dlm: lockspace: constify kset_uevent_ops structures

2016-10-27 Thread Bhumika Goyal
Declare kset_uevent_ops structure as const as it is only passed as the second argument to the function kset_create_and_add. This argument is of type const struct kset_uevent_ops *, so kset_uevent_ops structures having this property can be declared const. Done using Coccinelle: @r1 disable optiona

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

2016-10-27 Thread Thomas Gleixner
On Thu, 27 Oct 2016, Andrejczuk, Grzegorz wrote: > > > init_intel_energy_perf(c); > > > + > > > + /* > > > + * Setting ring 3 MONITOR/MWAIT for thread > > > + * when CPU is Xeon Phi Family x200 (KnightsLanding). > > > + */ > > > + if (c->x86 == 6 && c->x86_model == INTEL_FAM6_XEON_PHI_KNL) > > >

Re: [patch v1 1/2] drivers/platform/x86: move module mlx-platform from arch/x86 to drivers/platform/x86

2016-10-27 Thread kbuild test robot
Hi Vadim, [auto build test WARNING on platform-drivers-x86/for-next] [also build test WARNING on next-20161027] [cannot apply to v4.9-rc2] [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=

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

2016-10-27 Thread Frank Rowand
On 10/27/16 09:58, Rob Herring wrote: > On Thu, Oct 27, 2016 at 11:35 AM, Frank Rowand wrote: >> On 10/27/16 05:47, Rob Herring wrote: >>> 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. >>> >>

Re: [PATCH v5 12/18] x86/intel_rdt: Add "info" files to resctrl file system

2016-10-27 Thread Thomas Gleixner
On Thu, 27 Oct 2016, Fenghua Yu wrote: > On Wed, Oct 26, 2016 at 04:45:50PM +0200, Thomas Gleixner wrote: > > On Sat, 22 Oct 2016, Fenghua Yu wrote: > > > +/* > > > + * Forcibly remove all of subdirectories under root. > > > + */ > > > +static void rmdir_all_sub(void) > > > +{ > > > + kernfs_rem

Re: [RFC v2 5/8] sched/tune: add initial support for CGroups based boosting

2016-10-27 Thread Tejun Heo
Hello, Patrick. On Thu, Oct 27, 2016 at 06:41:05PM +0100, Patrick Bellasi wrote: > To support task performance boosting, the usage of a single knob has the > advantage to be a simple solution, both from the implementation and the > usability standpoint. However, on a real system it can be difficu

Re: [patch v2 2/2] drivers/platform/x86: add mlxcpld-hotplug driver registration to mlx-platform driver

2016-10-27 Thread Andy Shevchenko
Same comment regarding series (Use --thread to git send-email) On Thu, 2016-10-27 at 19:55 +, Vadim Pasternak wrote: > Add calls for mlxcpld-hotplug platform driver > registration/unregistration > and add platform hotplug data configurations. This driver, when > registered > within system will

Re: [PATCH v5 12/18] x86/intel_rdt: Add "info" files to resctrl file system

2016-10-27 Thread Fenghua Yu
On Thu, Oct 27, 2016 at 08:25:57PM +0200, Thomas Gleixner wrote: > > > On Thu, 27 Oct 2016, Fenghua Yu wrote: > > > On Wed, Oct 26, 2016 at 04:45:50PM +0200, Thomas Gleixner wrote: > > > On Sat, 22 Oct 2016, Fenghua Yu wrote: > > > > +/* > > > > + * Forcibly remove all of subdirectories under ro

RE: [PATCH] drivers/platform/x86: fix semicolon.cocci warnings

2016-10-27 Thread Vadim Pasternak
> -Original Message- > From: kbuild test robot [mailto:l...@intel.com] > Sent: Thursday, October 27, 2016 8:27 PM > To: Vadim Pasternak > Cc: kbuild-...@01.org; dvh...@infradead.org; fengguang...@intel.com; > da...@davemloft.net; ge...@linux-m68k.org; a...@linux-foundation.org; > kv...@c

<    1   2   3   4   5   6   7   8   9   >