[PATCH 1/2] KVM: lapic: fix preemption timer backward when TSC backward

2016-08-30 Thread Wanpeng Li
From: Wanpeng Li TSC_OFFSET will be adjusted if discovers TSC backward during vCPU load. The preemption timer which will leverage guest tsc to reprogram its preemption timer value is also reprogrammed if vCPU is scheded in to a different pCPU. However, current implementation reprogram preempti

Re: [PATCH 1/2] tracing/syscalls: allow multiple syscall numbers per syscall

2016-08-30 Thread Marcin Nowakowski
On 30.08.2016 01:55, Andy Lutomirski wrote: On Aug 29, 2016 11:30 AM, "Marcin Nowakowski" wrote: Syscall metadata makes an assumption that only a single syscall number corresponds to a given method. This is true for most archs, but can break tracing otherwise. For MIPS platforms, depending

[PATCH 2/2] KVM: nVMX: make emulated nested preemption timer pinned

2016-08-30 Thread Wanpeng Li
From: Wanpeng Li Commit 61abdbe0bc ("kvm: x86: make lapic hrtimer pinned") pins the emulated lapic timer. This patch does the same for the emulated nested preemption timer to avoid vmexit an unrelated vCPU and the latency of kicking IPI to another vCPU. Cc: Paolo Bonzini Cc: Radim Krčmář Cc

[PATCHV5 2/3] stm class: ftrace: Add ftrace-export-over-stm driver

2016-08-30 Thread Chunyan Zhang
This patch adds a driver that models itself as an stm_source and registers itself as a trace_export. Once the stm and stm_source have been linked via sysfs, everything that is passed to the interface from Ftrace subsystem will endup in the STM trace engine. Signed-off-by: Chunyan Zhang --- driv

[PATCHV5 3/3] stm: Mark the functions of writing buffer with notrace

2016-08-30 Thread Chunyan Zhang
If CONFIG_STM_FTRACE is selected, Function trace data can be writen to sink via STM, all functions that related to writing data packets to STM should be marked 'notrace' to avoid being traced by Ftrace, otherwise the program would stall into an endless loop. Signed-off-by: Chunyan Zhang Acked-by:

[PATCHV5 1/3] tracing: add a possibility of exporting function trace to other places instead of ring buffer only

2016-08-30 Thread Chunyan Zhang
Currently Function traces can be only exported to ring buffer, this patch added trace_export concept which can process traces and export them to a registered destination as an addition to the current only output of Ftrace - i.e. ring buffer. In this way, if we want Function traces to be sent to ot

[PATCHV5 0/3] Integration of function trace with System Trace IP blocks

2016-08-30 Thread Chunyan Zhang
IP blocks allowing a variety of trace sources to log debugging information to a pre-defined area have been introduced on a couple of architecture [1][2]. These system trace blocks (also known as STM) typically follow the MIPI STPv2 protocol [3] and provide a system wide logging facility to any devi

Re: [PATCH v15 04/13] task_isolation: add initial support

2016-08-30 Thread Peter Zijlstra
On Mon, Aug 29, 2016 at 12:40:32PM -0400, Chris Metcalf wrote: > On 8/29/2016 12:33 PM, Peter Zijlstra wrote: > >On Tue, Aug 16, 2016 at 05:19:27PM -0400, Chris Metcalf wrote: > >>+ /* > >>+* Request rescheduling unless we are in full dynticks mode. > >>+* We would eventually get pre-empt

Re: [PATCH v15 04/13] task_isolation: add initial support

2016-08-30 Thread Peter Zijlstra
On Mon, Aug 29, 2016 at 12:53:30PM -0400, Chris Metcalf wrote: > Would it be cleaner to just replace the set_tsk_need_resched() call > with something like: > > set_current_state(TASK_INTERRUPTIBLE); > schedule(); > __set_current_state(TASK_RUNNING); > > or what would you recommend?

[PATCH v3 1/8] MAINTAINERS: Add glob for Aspeed devicetree bindings

2016-08-30 Thread Andrew Jeffery
Signed-off-by: Andrew Jeffery Acked-by: Joel Stanley --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index a306795a7450..b9d5a9d4eee6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1027,6 +1027,7 @@ S:Maintained F: arch/arm/mach-aspeed/

Re: [PATCH] printk/nmi: avoid direct printk()-s from __printk_nmi_flush()

2016-08-30 Thread Sergey Senozhatsky
Petr, one more question. Not related to the patch, but still related to NMI. can NMI nest? CPU0 -> NMI#0 printk_nmi_enter() this_cpu_write(printk_func, vprintk_nmi) ... => NMI#1 : printk_nmi_

Re: [PATCH v2] ALSA: hda - Enable subwoofer on Dell Inspiron 7559

2016-08-30 Thread Takashi Iwai
On Tue, 30 Aug 2016 09:36:34 +0200, Kai-Heng Feng wrote: > > The subwoofer on Inspiron 7559 was disabled originally. > Applying a pin fixup to node 0x1b can enable it and make it work. > > Old pin: 0x41f0 > New pin: 0x90170151 > > Signed-off-by: Kai-Heng Feng Applied (with Cc to stable).

[PATCH v3 5/7] aspeed-g4: Add gpio controller to devicetree

2016-08-30 Thread Andrew Jeffery
Signed-off-by: Andrew Jeffery --- arch/arm/boot/dts/aspeed-g4.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi index a5d6e81e318a..7c2b73c4d5ab 100644 --- a/arch/arm/boot/dts/aspeed-g4.dtsi +++ b/arch/arm/boot

[PATCH v3 1/7] mach-aspeed: Select pinctrl drivers

2016-08-30 Thread Andrew Jeffery
Signed-off-by: Andrew Jeffery --- arch/arm/mach-aspeed/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-aspeed/Kconfig b/arch/arm/mach-aspeed/Kconfig index 5225fbcb250d..f3f8c5c658db 100644 --- a/arch/arm/mach-aspeed/Kconfig +++ b/arch/arm/mach-aspeed/Kconfig @@ -5,6

[PATCH v3 3/7] aspeed-g4: Add syscon and pin controller nodes

2016-08-30 Thread Andrew Jeffery
The pin controller's child nodes expose the functions currently implemented in the the g4 pin controller driver. Signed-off-by: Andrew Jeffery --- arch/arm/boot/dts/aspeed-g4.dtsi | 420 +++ 1 file changed, 420 insertions(+) diff --git a/arch/arm/boot/dts/asp

[PATCH v3 7/7] aspeed-g5: Add gpio controller to devicetree

2016-08-30 Thread Andrew Jeffery
Signed-off-by: Andrew Jeffery --- arch/arm/boot/dts/aspeed-g5.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi index 24d79c88019f..1f6a14a0802d 100644 --- a/arch/arm/boot/dts/aspeed-g5.dtsi +++ b/arch/arm/boot

[PATCH v3 6/7] aspeed-g5: Add syscon and pin controller nodes

2016-08-30 Thread Andrew Jeffery
The pin controller's child nodes expose the functions currently implemented in the g5 pin controller driver. Signed-off-by: Andrew Jeffery --- arch/arm/boot/dts/aspeed-g5.dtsi | 204 +++ 1 file changed, 204 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-

[PATCH v3 4/7] palmetto: Request relevant mux functions in devicetree

2016-08-30 Thread Andrew Jeffery
The requested functions are parented by the pinctrl node to provide the Palmetto's static pin configuration. Signed-off-by: Andrew Jeffery --- arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-palmet

[PATCH v3 2/7] mach-aspeed: Select GPIO driver

2016-08-30 Thread Andrew Jeffery
Signed-off-by: Andrew Jeffery --- arch/arm/mach-aspeed/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-aspeed/Kconfig b/arch/arm/mach-aspeed/Kconfig index f3f8c5c658db..5aba9598f821 100644 --- a/arch/arm/mach-aspeed/Kconfig +++ b/arch/arm/mach-aspeed/Kconfig @@ -7,6 +7

[PATCH v3 4/8] gpio: dt-bindings: Add documentation for Aspeed GPIO controllers

2016-08-30 Thread Andrew Jeffery
Signed-off-by: Andrew Jeffery Acked-by: Joel Stanley --- .../devicetree/bindings/gpio/gpio-aspeed.txt | 36 ++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/gpio-aspeed.txt diff --git a/Documentation/devicetree/bindings/gpi

[PATCH v3 5/8] pinctrl: Add core support for Aspeed SoCs

2016-08-30 Thread Andrew Jeffery
The Aspeed SoCs typically provide more than 200 pins for GPIO and other functions. The signal enabled on a pin is determined on a priority basis, where a given pin can provide a number of different signal types. In addition to the priority levels, the Aspeed pin controllers describe the signal act

[PATCH v3 6/8] pinctrl: Add pinctrl-aspeed-g4 driver

2016-08-30 Thread Andrew Jeffery
A subset of the pins and functions are exposed. The selection of functions and pins is driven by the development of OpenBMC[1] on the AST2400 SoC, particularly around booting the OpenPOWER Palmetto development machine. [1] https://github.com/openbmc/docs Signed-off-by: Andrew Jeffery Reviewed-by

[PATCH v3 8/8] gpio: Add Aspeed driver

2016-08-30 Thread Andrew Jeffery
From: Joel Stanley The Aspeed SoCs contain GPIOs banked by letter, where each bank contains 8 pins. The GPIO banks are then grouped in sets of four in the register layout. The implementation exposes multiple banks through the one driver and requests and releases pins via the pinctrl subsystem. T

[PATCH v3 0/7] aspeed: Integrate pinctrl and gpio drivers

2016-08-30 Thread Andrew Jeffery
Hi all, Here's v3 of the Aspeed pinctrl and gpio driver integration patches. v2 of the integration series can be found at: https://lkml.org/lkml/2016/8/19/403 v3 captures changes required to address review comments from v2 of the driver series: https://lkml.org/lkml/2016/8/22/343 Since v2:

[PATCH v3 7/8] pinctrl: Add pinctrl-aspeed-g5 driver

2016-08-30 Thread Andrew Jeffery
A small subset of pins and functions are exposed. The selection of pins and functions is driven by the development of OpenBMC[1] on the AST2500 SoC, particularly around booting the IBM Witherspoon platform. [1] https://github.com/openbmc/docs Signed-off-by: Andrew Jeffery Reviewed-by: Joel Stanl

[PATCH v3 3/8] pinctrl: dt-bindings: Add documentation for Aspeed pin controllers

2016-08-30 Thread Andrew Jeffery
Outline expectations on the pin controller's relationship with the System Control Unit (SCU) IP through syscon, and document the compatible strings for 4th and 5th generation Aspeed SoC pin controllers. Signed-off-by: Andrew Jeffery Acked-by: Rob Herring Acked-by: Joel Stanley --- .../devicetr

[PATCH v3 2/8] syscon: dt-bindings: Add documentation for Aspeed system control units

2016-08-30 Thread Andrew Jeffery
Signed-off-by: Andrew Jeffery Acked-by: Rob Herring Acked-by: Joel Stanley --- Documentation/devicetree/bindings/mfd/aspeed-scu.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/aspeed-scu.txt diff --git a/Documentation/devi

[PATCH v3 0/8] aspeed: Add pinctrl and gpio drivers

2016-08-30 Thread Andrew Jeffery
Hi all, Here's v3 of the Aspeed pinctrl and gpio driver patches, which aims to address the review comments on v2: https://lkml.org/lkml/2016/8/19/394 The combined series has been tested with both the AST2400 (g4) and AST2500 (g5) SoCs on OpenPOWER Palmetto and Aspeed AST2500 EVB machines respe

[PATCH v2] ALSA: hda - Enable subwoofer on Dell Inspiron 7559

2016-08-30 Thread Kai-Heng Feng
The subwoofer on Inspiron 7559 was disabled originally. Applying a pin fixup to node 0x1b can enable it and make it work. Old pin: 0x41f0 New pin: 0x90170151 Signed-off-by: Kai-Heng Feng --- sound/pci/hda/patch_realtek.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/sound

Re: [PATCH 4/4] ARM: dts: samsung: add analog audio codec on TOPEET iTop 4412 Elite

2016-08-30 Thread Krzysztof Kozlowski
On 08/28/2016 01:21 PM, Randy Li wrote: > Enable the WM8960 analog audio codec on TOPEET iTop 4412 Elite board. > > Signed-off-by: Randy Li > --- > arch/arm/boot/dts/exynos4412-itop-elite.dts | 77 > + > 1 file changed, 77 insertions(+) > > diff --git a/arch/arm/boo

Re: [PATCH v05 69/72] uapi rose.h: glibc netrose/rose.h header file compatibility fixes

2016-08-30 Thread Mikko Rapeli
On Mon, Aug 29, 2016 at 12:34:25PM -0700, David Ranch wrote: > Hello Mikko, > > Somewhat related, the ax25.h file from libax25-devel also has conflicts with > the Glibc's ax.25.h. This creates trouble so if we could get a fix for > that, that would be appreciated as well though it might be a Glib

Re: [PATCH 3/4] ARM: dts: add fimc support in exynos4412 TOPEET iTop Elite board

2016-08-30 Thread Krzysztof Kozlowski
On 08/28/2016 01:21 PM, Randy Li wrote: > The is not used for camera, I enabled it just for a colorspace > convertor. > > Signed-off-by: Randy Li > --- > arch/arm/boot/dts/exynos4412-itop-elite.dts | 16 This should be squashed with patch #2. BTW, please add also vendor prefix

Re: [PATCH 2/4] ARM: dts: add TOPEET itop elite based board

2016-08-30 Thread Krzysztof Kozlowski
On 08/28/2016 01:21 PM, Randy Li wrote: > The TOPEET itop exynos 4412 have three versions base board. The > Elite version is the cheap one without too much peripheral devices > on it. > > Currently supported are serial console, wired networking(USB), > USB OTG in peripheral mode, USB host, SD stor

Re: [tip:perf/core] perf/core: Check return value of the perf_event_read() IPI

2016-08-30 Thread Peter Zijlstra
On Tue, Aug 30, 2016 at 08:47:24AM +0200, Peter Zijlstra wrote: > If oncpu is not valid, the sched_out that made it invalid will have > updated the event count and we're good. > > All I'll leave is an explicit comment that we've ignored the > smp_call_function_single() return value on purpose. S

Re: [PATCH] ALSA: hda - Enable subwoofer on Dell Inspiron 7559

2016-08-30 Thread Kai Heng Feng
On Tue, Aug 30, 2016 at 3:05 PM, Takashi Iwai wrote: > On Tue, 30 Aug 2016 08:25:18 +0200, > Kai Heng Feng wrote: >> >> On Tue, Aug 30, 2016 at 1:33 PM, Takashi Iwai wrote: >> > On Tue, 30 Aug 2016 07:27:41 +0200, >> > Kai-Heng Feng wrote: >> >> >> >> The subwoofer on Inspiron 7559 does not work

Re: [PATCH v2 2/9] ext2: tell DAX the size of allocation holes

2016-08-30 Thread Christoph Hellwig
On Mon, Aug 29, 2016 at 08:57:41AM -0400, Theodore Ts'o wrote: > It's been on my todo list. The only reason why I haven't done it yet > is because I knew you were working on a solution, and I didn't want to > do things one way for buffered I/O, and a different way for Direct > I/O, and disentangli

Re: [PATCH 1/4] ARM: dts: Add TOPEET itop core board SCP package version

2016-08-30 Thread Krzysztof Kozlowski
On 08/28/2016 01:21 PM, Randy Li wrote: > The TOPEET itop is a samsung exnynos 4412 core board, which have > two package versions. This patch add the support for SCP version. > > Currently supported are USB3503A HSIC, USB OTG, eMMC, rtc and > PMIC. The future features are in the based board. Also

Re: hwrng: pasemi_rng.c: Migrate to managed API

2016-08-30 Thread PrasannaKumar Muralidharan
Hi Darren, >> I wanted to use devm_ioremap_resource but could not find DT entry >> required for this driver in any of the .dts files. So did not change >> that. I could not find any dts/dtsi for this platform. So I assume >> that the dtb is not present in the kernel, dtb is supplied by the >> boot

Did you get my message?

2016-08-30 Thread Friedrich Mayrhofer
Hello, This is the second time i am sending you this mail. I, Friedrich Mayrhofer and my wife has Donate $ 1,000,000.00 USD to You, Email Me personally for more details. Regards. Friedrich Mayrhofer

Re: [PATCH] ALSA: hda - Enable subwoofer on Dell Inspiron 7559

2016-08-30 Thread Takashi Iwai
On Tue, 30 Aug 2016 08:25:18 +0200, Kai Heng Feng wrote: > > On Tue, Aug 30, 2016 at 1:33 PM, Takashi Iwai wrote: > > On Tue, 30 Aug 2016 07:27:41 +0200, > > Kai-Heng Feng wrote: > >> > >> The subwoofer on Inspiron 7559 does not work originally. > >> Applying a pin fixup can make it work. > >> >

Re: [PATCH] arm64: dts: rockchip: Explicitly set pclk_pmu_src on rk3399

2016-08-30 Thread Heiko Stübner
Hi Elaine, Am Dienstag, 30. August 2016, 08:59:31 schrieb Elaine Zhang: > On 08/30/2016 02:18 AM, Brian Norris wrote: > > On Mon, Aug 29, 2016 at 11:11:24AM -0700, Doug Anderson wrote: > >> On rk3399 we explicitly set ppll in the device tree to 67600. The > >> ppll has one major child, pclk_p

Re: [PATCH 0/4 v3] Add a new board TOPEET iTOP for exynos 4412

2016-08-30 Thread Krzysztof Kozlowski
On 08/28/2016 01:21 PM, Randy Li wrote: > The added the audio codec seems work now, but the audio sounds > still a little different to the original. But I didn't hear the sound > in the Android, I don't know whether it is qualified. > > Also it lacks of full pinctrl for the sleep state. > > Chang

<    4   5   6   7   8   9