[RFC PATCH net-next 2/6] net: dsa: mv88e6060: use the correct InitReady bit

2015-11-02 Thread Neil Armstrong
According to the mv88e6060 datasheet, the InitReady bit position is 11 and the polarity is inverted. Use the bit correctly to detect the end of initialization. Signed-off-by: Neil Armstrong --- drivers/net/dsa/mv88e6060.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver

[RFC PATCH net-next 5/6] net: dsa: mv88e6060: add register defines header file

2015-11-02 Thread Neil Armstrong
To align with the mv88e6xxx code, add a similar header file with all the register defines. The file is based on the mv88e6xxx header for coherency. Signed-off-by: Neil Armstrong --- drivers/net/dsa/mv88e6060.h | 108 1 file changed, 108 insertions(+)

[RFC PATCH net-next 6/6] net: dsa: mv88e6060: replace magic values with register defines

2015-11-02 Thread Neil Armstrong
To align with the mv88e6xxx code, use the register defines to access all the register addresses and bit fields. Signed-off-by: Neil Armstrong --- drivers/net/dsa/mv88e6060.c | 64 ++--- 1 file changed, 37 insertions(+), 27 deletions(-) diff --git a/driver

[RFC PATCH net-next 3/6] net: dsa: mv88e6060: use the correct MaxFrameSize bit

2015-11-02 Thread Neil Armstrong
According to the mv88e6060 datasheet, the MaxFrameSize bit position is 10 instead of 11 which is reserved. Use the bit correctly to setup max frame size to 1536. Signed-off-by: Neil Armstrong --- drivers/net/dsa/mv88e6060.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driv

Re: [PATCH v5 4/4] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-11-02 Thread Lee Jones
On Mon, 02 Nov 2015, Alexandre Belloni wrote: > On 02/11/2015 at 09:03:59 +, Lee Jones wrote : > > > > I think you cannot apply it directly because it depends on headers from > > > > patch 2/4. It won't build. > > > > > > > > > > Yeah, this depends on the mfd tree. I don't thin Lee applied p

[PATCH] iommu/vt-d: Fix return value check of parse_ioapics_under_ir()

2015-11-02 Thread Joerg Roedel
On Mon, Nov 02, 2015 at 04:39:18PM +0800, kernel test robot wrote: > FYI, we noticed the below changes on > > https://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git x86/vt-d > commit a13c8f27e4d79420ae7bcb48123fa13851026428 ("iommu/vt-d: Adjust the > return value of the parse_ioapics_unde

Re: [PATCH 0/3] PM, vfs: use filesystem freezing instead of kthread freezer

2015-11-02 Thread Oliver Neukum
On Mon, 2015-11-02 at 11:45 +0100, Jiri Kosina wrote: > > For example, if user space does a "read" or "write" on a character > device > > which is runtime-suspended at that point, the driver may want to > resume the > > device temporarily, carry out the operation and suspend it again, > but that >

Re: [PATCH v1 02/20] clocksource: Add NPS400 timers driver

2015-11-02 Thread Vineet Gupta
On Saturday 31 October 2015 06:45 PM, Noam Camus wrote: > From: Noam Camus > > Add internal tick generator which is shared by all cores. > Each cluster of cores view it through dedicated address. > This is used for SMP system where all CPUs synced by same > clock source. > > Signed-off-by: Noam

[RFC PATCH v2 0/2] Expose DMA_MEMORY_EXCLUSIVE through shared-dma-pool

2015-11-02 Thread Neil Armstrong
The shared-dma-pool dt node only exposes exclusive memory, but in order to export non-exclusive coherent memory, add the no-exclusive property and document it. v2: simplify patch by looking for DT attribute in callback Neil Armstrong (2): base: dma-coherent: Add DT property for non exclusive s

Resource leak in unshare

2015-11-02 Thread Dmitry Vyukov
Hello, I am hitting the following warnings on bcee19f424a0d8c26ecf2607b73c690802658b29 (4.3): [ cut here ] WARNING: CPU: 3 PID: 16049 at fs/proc/generic.c:575 remove_proc_entry+0x284/0x2f0() remove_proc_entry: removing non-empty directory 'net/dev_snmp6', leaking at least

[RFC PATCH v2 1/2] base: dma-coherent: Add DT property for non exclusive shared-dma-pool

2015-11-02 Thread Neil Armstrong
In order to have the ability to declare a non exclusive shared-dma-pool, i.e. without the DMA_MEMORY_EXCLUSIVE flag, add the 'no-exclusive' DT optional parameter to initialize the coherent memory without the flag. Signed-off-by: Neil Armstrong --- drivers/base/dma-coherent.c | 6 +- 1 file c

[RFC PATCH v2 2/2] devicetree: reserved-memory: document the optional no-exclusive parameter

2015-11-02 Thread Neil Armstrong
Document the 'no-exclusive' parameter used for the 'shared-dma-pool' compatible reserved-memory type. Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/

Re: [PATCH 1/3] power, vfs: move away from PF_KTHREAD freezing in favor of fs freezing

2015-11-02 Thread Jiri Kosina
On Mon, 2 Nov 2015, yalin wang wrote: > do you test your patch on kthread_bind() kernel thread ? > if you remove freeze_kernel_threads() function, > this means lots of pthread will be running status during suspend . pthreads? Again, userspace is frozen by that time. > will have problem for bind

Re: [PATCH] osd fs: __r4w_get_page rely on PageUptodate for uptodate

2015-11-02 Thread Boaz Harrosh
On 11/02/2015 01:39 AM, Hugh Dickins wrote: <> >> This patch is not correct! > > I think you have actually confirmed that the patch is correct: > why bother to test PageDirty or PageWriteback when PageUptodate > already tells you what you need? > > Or do these filesystems do something unusual wit

Re: [PATCH v1 20/20] ARC: Add eznps platform to Kconfig and Makefile

2015-11-02 Thread Vineet Gupta
On Saturday 31 October 2015 06:45 PM, Noam Camus wrote: > From: Noam Camus > > This commit should be left last since only now eznps platform > is in state which one can actually use. > Signed-off-by: Noam Camus > --- > arch/arc/Kconfig |1 + > arch/arc/Makefile |9 + > 2 files

[ANNOUNCE] util-linux v2.27.1

2015-11-02 Thread Karel Zak
The util-linux release v2.27.1 is available at ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.27 Feedback and bug reports, as always, are welcomed. Karel util-linux 2.27.1 Release Notes === bash-completion: - curly brace missed for findmnt [Alexander

[PATCH] perf sched latency: Fix removed thread issue

2015-11-02 Thread Jiri Olsa
If machine's thread gets excited (EXIT event is received), we set thread->dead = true and it is later on removed from machine's tree if the pid is reused on new thread. The latency subcommand holds tree of working atoms sorted by thread's pid/tid. If there's new thread with same pid and tid, the o

Re: [RFC v2 1/2] Documentation: bridge: Add documentation for ps8640 DT properties

2015-11-02 Thread Philipp Zabel
Hi Jitao, Am Montag, den 02.11.2015, 11:53 +0800 schrieb jitao shi: [...] > > +Example: > > + edp-bridge@18 { > > + compatible = "parade,ps8640"; > > + reg = <0x18>; > > + sleep-gpios = <&pio 116 GPIO_ACTIVE_HIGH>; > > + reset-gpios = <&pio 115 GPIO_ACTIVE

[PATCH 0/3] pwm: omap: Add PWM support using dual-mode timers

2015-11-02 Thread Neil Armstrong
This patch is based on an earlier patch by NeilBrown which is based on a older patch from Grant Erickson which provided PWM devices using the 'legacy' interface. The pwm driver was renamed to not be confused with the OMAP4 PWM dedicated hardware and was cleaned with the review from Thierry Reding.

[PATCH 3/3] arm: plat-omap: Add PWM dmtimer platform data quirks

2015-11-02 Thread Neil Armstrong
In order to set the currently platform dependent dmtimer functions pointers as platform data for the pwm-omap-dmtimer platform driver, add it to plat-omap auxdata_lookup table. Suggested-by: Tony Lindgren Signed-off-by: Neil Armstrong --- arch/arm/mach-omap2/pdata-quirks.c | 23

[PATCH 1/3] arm: plat-omap: dmtimer: Add clock source from DT

2015-11-02 Thread Neil Armstrong
Add a function which sets the timer source from the clocks binding on dm_timer_prepare call. In case the clocks property is not valid, it falls back to the set_source() with 32_KHZ clock as default. Suggested-by: Tony Lindgren Signed-off-by: Neil Armstrong --- arch/arm/plat-omap/dmtimer.c | 31

[PATCH 2/3] pwm: Add PWM driver for OMAP using dual-mode timers

2015-11-02 Thread Neil Armstrong
Adds support for using a OMAP dual-mode timer with PWM capability as a Linux PWM device. The driver controls the timer by using the dmtimer API. Add a platform_data structure for each pwm-omap-dmtimer nodes containing the dmtimers functions in order to get driver not rely on platform specific func

Re: [Xen-devel] [PATCH v4 00/10] xen-block: multi hardware-queues/rings support

2015-11-02 Thread Julien Grall
Hi Bob, On 02/11/15 04:21, Bob Liu wrote: > --- > v4: > * Rebase to v4.3-rc7 xentip/for-linus-4.4 [1] contains a lot of change in xen-blkfront, mainly to add support of 64KB page granularity. I would advise you to rebase your series know as some part of the code may have changed. Regards, [1]

Build regressions/improvements in v4.3

2015-11-02 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.3[1] compared to v4.2[2]. Summarized: - build errors: +11/-8 - build warnings: +143/-116 JFYI, when comparing v4.3[1] to v4.3-rc7[3], the summaries are: - build errors: +4/-7 - build warnings: +28/-61 Note that there

[PATCH v2 0/3] Fixes for twl4030 charger

2015-11-02 Thread H. Nikolaus Schaller
Changes V2: * worked in comments by Nishanth Menon * added another patch which solves a probing/boot stall problem (irq allocation vs. -EPROBE_DEFER) V1: 4.3-rc1 introduced a new charger driver for the twl4030. While making it operable and testing on GTA04 and OpenPandora we have found some iss

Re: Build regressions/improvements in v4.3

2015-11-02 Thread Geert Uytterhoeven
On Mon, Nov 2, 2015 at 12:26 PM, Geert Uytterhoeven wrote: > JFYI, when comparing v4.3[1] to v4.3-rc7[3], the summaries are: > - build errors: +4/-7 + /home/kisskb/slave/src/drivers/scsi/advansys.c: error: implicit declaration of function 'free_dma' [-Werror=implicit-function-declaration]: =

[PATCH v2 3/3] drivers:power:twl4030-charger: don't check if battery is present

2015-11-02 Thread H. Nikolaus Schaller
We can't assume that the battery is present after probing (it can sometimes be removed/hot swapped by the user while device (e.g. GTA04 or OpenPanodra) is operated through external AC or USB power). So it makes no sense to check for this situation (only) during probe. Signed-off-by: H. Nikolaus S

[PATCH v2 1/3] drivers:power:twl4030-charger: fix problem with EPROBE_DEFER

2015-11-02 Thread H. Nikolaus Schaller
If the phy-twol4030-usb driver is compiled as a module, devm_usb_get_phy_by_node() may return -EPROBE_DEFER in which case we should also defer probing of the twl4030 charger instead of turning USB charging off (forever or until next reboot) further down in code. Signed-off-by: H. Nikolaus Schaller

[PATCH v2 2/3] drivers:power:twl4030-charger: don't return after allocating irq

2015-11-02 Thread H. Nikolaus Schaller
It appears that simply returning with error status (especially -EPROBE_DEFER) is very dangerous *after* allocating devm managed interrupts. See discussion of potential issues: https://lkml.org/lkml/2013/2/22/65 The result is that the boot process hangs if both, phy-twl4030-usb and this twl4030_ch

Re: [PATCH 1/2] arm64: dts: exynos7: Add pmic s2mps15 device tree node

2015-11-02 Thread Javier Martinez Canillas
Hello Alim, This patch looks mostly good to me, I just have two comments below: On 11/02/2015 11:04 AM, Alim Akhtar wrote: > This patch add pmic (s2mps15) node of espresso board, > which includes addition of regulators and pmic-clk sub-nodes. > > Signed-off-by: Abhilash Kesavan > Signed-off-by:

Re: [PATCH 2/2] arm64: dts: exynos7: Enable HS200 mode operation

2015-11-02 Thread Javier Martinez Canillas
Hello Alim, On 11/02/2015 11:04 AM, Alim Akhtar wrote: > This patch enables HS200 mode operation on exynos7 based > espresso board. > This also remove _broken-cd_ property as per mmc binding documentation > which say one of the properties between broken-cd and non-removable > should be used. And w

[PATCH 1/1] drivers/hv: correct tsc page sequence invalid value

2015-11-02 Thread Denis V. Lunev
From: Andrey Smetanin Hypervisor Top Level Functional Specification v3/4 says that TSC page sequence value = -1(0x) is used to indicate that TSC page no longer reliable source of reference timer. Unfortunately, we found that Windows Hyper-V guest side implementation uses sequence value =

Re: [RFC v2 2/2] drm/bridge: Add I2C based driver for ps8640 bridge

2015-11-02 Thread Philipp Zabel
Hi Jitao, a few comments below. Am Montag, den 02.11.2015, 11:54 +0800 schrieb jitao shi: [...] > > +static int ps8640_check_valid_id(struct ps8640 *ps_bridge) This could be bool and return true/false. > > +{ > > + struct i2c_client *client = ps_bridge->client; > > + u8 rev_id_low, rev_id_h

Re: [RFC v2 1/2] Documentation: bridge: Add documentation for ps8640 DT properties

2015-11-02 Thread Philipp Zabel
Hi Jitao, Am Montag, den 02.11.2015, 10:09 +0800 schrieb Jitao Shi: > Add documentation for DT properties supported by > ps8640 DSI-eDP converter. > > Signed-off-by: Jitao Shi > --- > .../devicetree/bindings/display/bridge/ps8640.txt | 43 > > 1 file changed, 43 inserti

Re: [PATCH 1/2] pinctrl: uniphier: enable UniPhier SoCs pinctrl drivers by default

2015-11-02 Thread Masahiro Yamada
Hi Olof, 2015-10-31 10:41 GMT+09:00 Olof Johansson : > On Thu, Oct 29, 2015 at 02:33:34PM +0100, Linus Walleij wrote: >> On Tue, Oct 27, 2015 at 3:28 AM, Masahiro Yamada >> wrote: >> >> > Add "default y" to the Kconfig rather than adding entries into >> > arch/arm/configs/multi_v7_defconfig. >>

Re: [PATCH v6 1/6] arm/arm64: add smccc

2015-11-02 Thread Will Deacon
Hi Jens, On Thu, Oct 29, 2015 at 09:21:23AM +0100, Jens Wiklander wrote: > Adds helpers to do SMC and HVC based on ARM SMC Calling Convention. > CONFIG_HAVE_SMCCC is enabled for architectures that may support > the SMC or HVC instruction. It's the responsibility of the caller > to know if the SMC

[RFC 0/8] Add support for NVIDIA Tegra XUSB

2015-11-02 Thread Martyn Welch
This series is based on commits that can be found in the git tree here: https://github.com/thierryreding/linux/commits/staging/xhci I have included the patches I've used from that tree as patches 1-5. The above patches were submitted for review back in May: https://lkml.org/lkml/2015/5/4/574 T

[RFC 6/8] Adding binding for XUSB to tegra124 dtsi.

2015-11-02 Thread Martyn Welch
From: Martyn Welch Adding the binding for the tegra xHCI controller implementation. In addition to the dtsi entry, adding the defines needed to compile the binding. These bindings are based are in part based on the binding documentation proposed here: https://www.spinics.net/lists/linux-usb/msg

Re: [PATCH v6 2/6] drivers: psci: replace psci firmware calls

2015-11-02 Thread Will Deacon
On Thu, Oct 29, 2015 at 09:21:24AM +0100, Jens Wiklander wrote: > Switch to use a generic interface for issuing SMC/HVC based on ARM SMC > Calling Convention. Removes now the now unused psci-call.S. > > Signed-off-by: Jens Wiklander > --- > arch/arm/kernel/Makefile | 1 - > arch/arm/kernel

[RFC 2/8] mailbox: Add NVIDIA Tegra XUSB mailbox driver

2015-11-02 Thread Martyn Welch
From: Andrew Bresticker The Tegra xHCI controller's firmware communicates requests to the host processor through a mailbox interface. While there is only a single physical channel, messages sent by the controller can be divided into two groups: those intended for the PHY driver and those intende

[RFC 4/8] pinctrl: tegra-xusb: Add USB PHY support

2015-11-02 Thread Martyn Welch
From: Andrew Bresticker In addition to the PCIe and SATA PHYs, the XUSB pad controller also supports 3 UTMI, 2 HSIC, and 2 USB3 PHYs. Each USB3 PHY uses a single PCIe or SATA lane and is mapped to one of the three UTMI ports. The xHCI controller will also send messages intended for the PHY driv

[RFC 7/8] Start migrating XUSB away from MFD

2015-11-02 Thread Martyn Welch
From: Martyn Welch This is my initial attempt to get xusb working without being a MFD on the latest upstream kernel. It's still a bit hacky in places, but does seem to get the USB2 up and working (USB3 device is recognised as a USB3 device rather than enumberating as a USB2 device). --- drivers/

Re: [PATCH v1 13/20] ARC: [plat-eznps] Use dedicated bitops/atomic/cmpxchg

2015-11-02 Thread Vineet Gupta
+CC Peter, Gilad On Saturday 31 October 2015 06:45 PM, Noam Camus wrote: > From: Noam Camus > > We need our own implementaions since we lack of LLSC. > Our extended ISA provided with optimized solution for all 32bit > operations we see in those three headers. > Signed-off-by: Noam Camus > --- >

[RFC 5/8] pinctrl: tegra-xusb: Support PHY subnodes

2015-11-02 Thread Martyn Welch
From: Thierry Reding Signed-off-by: Thierry Reding --- drivers/pinctrl/pinctrl-tegra-xusb.c | 492 --- include/soc/tegra/xusb.h | 7 + 2 files changed, 296 insertions(+), 203 deletions(-) diff --git a/drivers/pinctrl/pinctrl-tegra-xusb.c b/drivers

Re: [PATCH] KVM: x86: zero apic_arb_prio on reset

2015-11-02 Thread Paolo Bonzini
On 30/10/2015 15:48, Radim Krčmář wrote: > BSP doesn't get INIT so its apic_arb_prio isn't zeroed after reboot. > BSP won't get lowest priority interrupts until other VCPUs get enough > interrupts to match their pre-reboot apic_arb_prio. > > That behavior doesn't fit into KVM's round-robin-like

[RFC 3/8] usb: xhci: Add NVIDIA Tegra xHCI host-controller driver

2015-11-02 Thread Martyn Welch
From: Andrew Bresticker Add support for the on-chip xHCI host controller present on Tegra SoCs. The controller requires external firmware which must be loaded before using the controller. This driver loads the firmware, starts the controller, and is able to service host-specific messages sent by

Re: [PATCH 1/2] arm64: dts: exynos7: Add pmic s2mps15 device tree node

2015-11-02 Thread Alim Akhtar
On 11/02/2015 05:00 PM, Javier Martinez Canillas wrote: Hello Alim, This patch looks mostly good to me, I just have two comments below: On 11/02/2015 11:04 AM, Alim Akhtar wrote: This patch add pmic (s2mps15) node of espresso board, which includes addition of regulators and pmic-clk sub-node

[RFC 8/8] Registering mailbox from XUSB Child - Work in progress

2015-11-02 Thread Martyn Welch
From: Martyn Welch The mailbox API expects the device node to have a of_node associated with it. Because the child doesn't have it's own node, in the previous patch tegra_xusb_add_device() was assigning the parents of_node to it's children. Unfortunately this results in the parents probe being c

[RFC 1/8] mfd: Add driver for NVIDIA Tegra XUSB

2015-11-02 Thread Martyn Welch
From: Andrew Bresticker Add an MFD driver for the XUSB host complex found on NVIDIA Tegra124 and later SoCs. Signed-off-by: Andrew Bresticker Cc: Samuel Ortiz Cc: Lee Jones Signed-off-by: Thierry Reding --- drivers/mfd/Kconfig | 7 + drivers/mfd/Makefile | 1 + drivers/mfd/te

Re: [PATCH V5 1/9] ACPI: Honor ACPI _CCA attribute setting

2015-11-02 Thread Hanjun Guo
Hi Dennis, On 11/02/2015 12:02 PM, Dennis Chen wrote: On Thu, Oct 29, 2015 at 6:50 AM, Suravee Suthikulpanit wrote: From: Jeremy Linton ACPI configurations can now mark devices as noncoherent, support that choice. NOTE: This is required to support USB on ARM Juno Development Board. Signed

Re: [PATCH 2/2] arm64: dts: exynos7: Enable HS200 mode operation

2015-11-02 Thread Krzysztof Kozlowski
Subject - name of the board at the end (not the name of the SoC): arm64: dts: Enable HS200 mode operation on exynos7-espresso 2015-11-02 19:04 GMT+09:00 Alim Akhtar : > This patch enables HS200 mode operation on exynos7 based > espresso board. > This also remove _broken-cd_ property as per mmc bin

Re: [PATCH] KVM: x86: removing unused variable

2015-11-02 Thread Paolo Bonzini
On 30/10/2015 08:26, Saurabh Sengar wrote: > removing unused variables, found by coccinelle > > Signed-off-by: Saurabh Sengar > --- > arch/x86/kvm/x86.c | 16 +--- > 1 file changed, 5 insertions(+), 11 deletions(-) > > diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c > index 9

Re: [PATCH 2/2] arm64: dts: exynos7: Enable HS200 mode operation

2015-11-02 Thread Alim Akhtar
Hi Krzysztof, On 11/02/2015 05:28 PM, Krzysztof Kozlowski wrote: Subject - name of the board at the end (not the name of the SoC): arm64: dts: Enable HS200 mode operation on exynos7-espresso 2015-11-02 19:04 GMT+09:00 Alim Akhtar : This patch enables HS200 mode operation on exynos7 based espre

Re: [PATCH v3 0/2] thermal: mediatek: Add cpu power cooling model

2015-11-02 Thread Viresh Kumar
On 02-11-15, 18:46, dawei chien wrote: > On Wed, 2015-10-28 at 21:14 +0530, Viresh Kumar wrote: > > Sorry for being extremely late in reviewing this stuff. You are > > already on v3 and I haven't reviewed it once. Mostly due to bad timing > > of my holidays and other work pressure. > > You're welc

Re: [PATCH v2 13/14] ARM: DTS: am33xx: Use the new DT bindings for the eDMA3

2015-11-02 Thread Peter Ujfalusi
Vinod, On 11/02/2015 12:04 PM, Vinod Koul wrote: > On Mon, Nov 02, 2015 at 01:21:19AM -0800, Olof Johansson wrote: >> Hi, >> >> 1) This seems to have broken BBB in -next for me, bisected down to this >> patch. >> >> For bootlog: >> http://arm-soc.

RE: [PATCH v1 18/20] ARC: [plat-eznps] define IPI_IRQ

2015-11-02 Thread Noam Camus
> From: Vineet Gupta [mailto:vineet.gup...@synopsys.com] > Sent: Monday, November 02, 2015 9:53 AM > Again this break bisectability - it needs to be placed before you use this > #define in patch 3/20. > Anyhow since you are doing stuff via DT, why not get this value from DT > itself instead of

Re: [x86/context_tracking] db23da8b95: inconsistent {IN-HARDIRQ-W} -> {HARDIRQ-ON-W} usage.

2015-11-02 Thread Paolo Bonzini
Hi Fengguang, this patch is not ready, and is left for 4.5; see Andy's comment at http://permalink.gmane.org/gmane.linux.kernel/2072877. Only the other two are. I'm sorry for the inconvenience. Thanks, Paolo On 02/11/2015 13:11, Fengguang Wu wrote: > Hi Paolo, > > FYI, here is another bisect

Flush requests not going through IO scheduler

2015-11-02 Thread Jan Kara
Hello, when looking into a performance issue, I've noticed one interesting thing in blktrace data: 8,020 1.745149746 0 m N cfq320SN / dispatch_insert 8,020 1.745150258 0 m N cfq320SN / dispatched a request 8,020 1.745150524 0

[PATCH 1/3] KVM: x86: merge kvm_arch_set_irq with kvm_set_msi_inatomic

2015-11-02 Thread Paolo Bonzini
We do not want to do too much work in atomic context, in particular not walking all the VCPUs of the virtual machine. So we want to distinguish the architecture-specific injection function for irqfd from kvm_set_msi. Since it's still empty, reuse the newly added kvm_arch_set_irq and rename it to

[PATCH 3/3] KVM: x86: move kvm_set_irq_inatomic to legacy device assignment

2015-11-02 Thread Paolo Bonzini
The function is not used outside device assignment, and kvm_arch_set_irq_inatomic has a different prototype. Move it here and make it static to avoid confusion. Signed-off-by: Paolo Bonzini --- arch/x86/kvm/assigned-dev.c | 37 + arch/x86/kvm/irq_comm.c |

[PATCH 0/3] KVM: x86: clean up interrupt injection

2015-11-02 Thread Paolo Bonzini
Legacy device assignment attempted to only do lightweight work when injecting interrupts from atomic context. This will be important if we let VFIO inject interrupts from a non-threaded interrupt handler. This series lets irqfd ditinguish between atomic-context and generic interrupt injection. Pa

Re: [PATCH 1/2] arm64: dts: exynos7: Add pmic s2mps15 device tree node

2015-11-02 Thread Krzysztof Kozlowski
2015-11-02 19:04 GMT+09:00 Alim Akhtar : > This patch add pmic (s2mps15) node of espresso board, This patch adds PMIC (S2MPS15)... > which includes addition of regulators and pmic-clk sub-nodes. > > Signed-off-by: Abhilash Kesavan > Signed-off-by: Alim Akhtar > --- > This patch should go in aft

Re: [PATCH RESEND 16/16] regulator: add LM363X driver

2015-11-02 Thread Mark Brown
On Mon, Nov 02, 2015 at 02:24:35PM +0900, Milo Kim wrote: > LM363X regulator driver supports LM3631 and LM3632. > LM3631 has 5 regulators. LM3632 provides 3 regulators. > One boost output and LDOs are used for the display module. > Boost voltage is configurable but always on. > Supported operations

Re: [PATCH 2/2] arm64: dts: exynos7: Enable HS200 mode operation

2015-11-02 Thread Krzysztof Kozlowski
2015-11-02 21:08 GMT+09:00 Alim Akhtar : > Hi Krzysztof, > > > On 11/02/2015 05:28 PM, Krzysztof Kozlowski wrote: >> >> Subject - name of the board at the end (not the name of the SoC): >> arm64: dts: Enable HS200 mode operation on exynos7-espresso >> >> 2015-11-02 19:04 GMT+09:00 Alim Akhtar : >>>

[PATCH 2/3] KVM: device assignment: remove pointless #ifdefs

2015-11-02 Thread Paolo Bonzini
The symbols are always defined. Signed-off-by: Paolo Bonzini --- arch/x86/kvm/assigned-dev.c | 25 - 1 file changed, 25 deletions(-) diff --git a/arch/x86/kvm/assigned-dev.c b/arch/x86/kvm/assigned-dev.c index d090ecf08809..1c17ee807ef7 100644 --- a/arch/x86/kvm/assigned

Re: linux-next: Tree for Nov 1 (lightnvm)

2015-11-02 Thread Matias Bjorling
On 11/02/2015 02:16 AM, Randy Dunlap wrote: > On 11/01/15 08:53, Stephen Rothwell wrote: >> Hi all, >> >> I start again a day early, and this is how you all repay me? ;-) >> >> Changes since 20151022: >> > > on i386: > > ../include/linux/lightnvm.h:143:4: error: width of 'resved' exceeds its type

Re: [PATCH v2 1/3] keys, trusted: select the hash algorithm

2015-11-02 Thread Mimi Zohar
On Fri, 2015-10-30 at 13:35 +0200, Jarkko Sakkinen wrote: > @@ -787,6 +791,20 @@ static int getoptions(char *c, struct > trusted_key_payload *pay, > return -EINVAL; > opt->pcrlock = lock; > break; > + case Opt_h

Re: [RFC 7/8] Start migrating XUSB away from MFD

2015-11-02 Thread Lee Jones
On Mon, 02 Nov 2015, Martyn Welch wrote: > From: Martyn Welch > > This is my initial attempt to get xusb working without being a MFD on the > latest upstream kernel. It's still a bit hacky in places, but does seem to > get the USB2 up and working (USB3 device is recognised as a USB3 device > rat

Re: [PATCH RFC] tpm: seal with a policy

2015-11-02 Thread Mimi Zohar
On Sat, 2015-10-31 at 17:53 +0200, Jarkko Sakkinen wrote: > Support for sealing with a policy. > > Two new options for trusted keys: > > * 'policydigest=': provide a policydigest for the seal operation. > * 'policyhandle=': provide handle for a policy session for unsealing. Please expand the pat

Re: [PATCH] ARM: OMAP: hwmod: AM33xx/43xx: Add HWMOD_INIT_NO_IDLE flag to tptc

2015-11-02 Thread Peter Ujfalusi
On 11/02/2015 12:23 PM, Peter Ujfalusi wrote: > On 11/02/2015 12:24 PM, Vinod Koul wrote: >> On Mon, Nov 02, 2015 at 12:11:00PM +0200, Peter Ujfalusi wrote: >>> In Linux we do not have driver for TPTCs of eDMA3 since there is no need to >>> do any configuration within TPTC for the eDMA3 to be opera

[PATCH 01/22] clocksource/drivers/pistachio: Add the COMPILE_TEST option

2015-11-02 Thread Daniel Lezcano
Increase the compilation test coverage by adding the COMPILE_TEST option. Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 26f659e..a1c9312 100644 -

Re: [PATCH linux-next 0/4] mtd: spi-nor: fix Quad SPI memory support

2015-11-02 Thread Cyrille Pitchen
Le 02/11/2015 02:07, Marek Vasut a écrit : > On Friday, September 18, 2015 at 05:49:24 PM, Cyrille Pitchen wrote: >> Hi all, > > Hi! > Hi Marek! >> this series of patches fixes the QSPI support mostly for Micron and >> Macronix memories. There are also some updates for Spansion memories. >> Ther

[PATCH 12/22] clocksource/drivers/tegra2: Add the COMPILE_TEST option

2015-11-02 Thread Daniel Lezcano
Increase the compilation test coverage by adding the COMPILE_TEST option. Due to the non portable code for the delay timer, this option is only available for the ARM architecture. Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 5 - 1 file changed, 4 insertions(+), 1 deletio

[PATCH 06/22] clocksource/drivers/meson6: Add the COMPILE_TEST option

2015-11-02 Thread Daniel Lezcano
Increase the compilation test coverage by adding the COMPILE_TEST option. Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 0b5bdb4..2c76c2d 100644 -

[PATCH 19/22] clocksource/drivers/prcmu: Fix Kconfig and add COMPILE_TEST option

2015-11-02 Thread Daniel Lezcano
Let the platform's Kconfig to select the clock instead of having a reverse dependency from the driver to the platform options. Add the COMPILE_TEST option for the compilation test coverage. This change is debatable as the option itself in the Kconfig allows to select the driver for the platform o

[PATCH 09/22] clocksource/drivers/dw_apb: Add the COMPILE_TEST option

2015-11-02 Thread Daniel Lezcano
Increase the compilation test coverage by adding the COMPILE_TEST option. Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 5b0f63a..a8afd8a 100644 -

[RFC/PATCH 0/4] perf report: Support folded callchain output (v2)

2015-11-02 Thread Namhyung Kim
Hello, This is what Brendan requested on the perf-users mailing list [1] to support FlameGraphs [2] more efficiently. This patchset adds a few more callchain options to adjust the output for it. At first, 'folded' output mode was added. The folded output puts all calchain nodes in a line separa

[PATCH 20/22] clocksource/drivers/exynos_mct: Fix Kconfig and add COMPILE_TEST option

2015-11-02 Thread Daniel Lezcano
Let the platform's Kconfig to select the clock instead of having a reverse dependency from the driver to the platform options. Add the COMPILE_TEST option for the compilation test coverage. Due to the non portable 'delay' code, this driver is only compilable on ARM. Signed-off-by: Daniel Lezcano

[RFC/PATCH v2 1/4] perf report: Support folded callchain mode on --stdio

2015-11-02 Thread Namhyung Kim
Add new call chain option (-g) 'folded' to print callchains in a line. The callchains are separated by semicolons, a space, then the (absolute) percent values like in 'flat' mode. For example, following 20 lines can be printed in 3 lines with the folded output mode; $ perf report -g flat --no-c

[RFC/PATCH v2 3/4] perf callchain: Add count fields to struct callchain_node

2015-11-02 Thread Namhyung Kim
It's to track the count of occurrences of the callchains. Cc: Brendan Gregg Signed-off-by: Namhyung Kim --- tools/perf/util/callchain.c | 10 ++ tools/perf/util/callchain.h | 7 +++ 2 files changed, 17 insertions(+) diff --git a/tools/perf/util/callchain.c b/tools/perf/util/callch

[RFC/PATCH v2 4/4] perf report: Add callchain value option

2015-11-02 Thread Namhyung Kim
Now -g/--call-graph option supports how to display callchain values. Possible values are 'percent', 'period' and 'count'. The percent is same as before and it's the default behavior. The period displays the raw period value rather than the percentage. The count displays the number of occurrences

[PATCH 22/22] clocksource/drivers/fsl-ftm: Add the COMPILE_TEST option

2015-11-02 Thread Daniel Lezcano
Increase the compilation test coverage by adding the COMPILE_TEST option. Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 8f2a3fb..d199f48 100644 ---

[PATCH 13/22] clocksource/drivers/vt8500: Remove unneeded header

2015-11-02 Thread Daniel Lezcano
Remove the header inclusion which is pointless. Signed-off-by: Daniel Lezcano --- drivers/clocksource/vt8500_timer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clocksource/vt8500_timer.c b/drivers/clocksource/vt8500_timer.c index a92e94b..de49805 100644 --- a/drivers/clocksourc

[RFC/PATCH v2 2/4] perf callchain: Abstract callchain print function

2015-11-02 Thread Namhyung Kim
This is a preparation to support for printing other type of callchain value like count or period. Cc: Brendan Gregg Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 8 +--- tools/perf/ui/gtk/hists.c | 8 ++-- tools/perf/ui/stdio/hist.c | 36 ++-

[PATCH 21/22] clocksource/drivers/samsung-pwm: Add the COMPILE_TEST option

2015-11-02 Thread Daniel Lezcano
Increase the compilation test coverage by adding the COMPILE_TEST option. Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index d829cbe..8f2a3fb 100644 ---

Re: [PATCH 1/2] arm64: dts: exynos7: Add pmic s2mps15 device tree node

2015-11-02 Thread Alim Akhtar
On 11/02/2015 05:55 PM, Krzysztof Kozlowski wrote: 2015-11-02 19:04 GMT+09:00 Alim Akhtar : This patch add pmic (s2mps15) node of espresso board, This patch adds PMIC (S2MPS15)... which includes addition of regulators and pmic-clk sub-nodes. Signed-off-by: Abhilash Kesavan Signed-off-by:

[PATCH 10/22] clocksource/drivers/sun4i: Add the COMPILE_TEST option

2015-11-02 Thread Daniel Lezcano
Increase the compilation test coverage by adding the COMPILE_TEST option. Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index a8afd8a..4c0daae 100644 -

[PATCH 18/22] clocksource/drivers/nomadik_mtu: Add the COMPILE_TEST option

2015-11-02 Thread Daniel Lezcano
Increase the compilation test coverage by adding the COMPILE_TEST option. Due to the non portable code for the delay timer, this option is only available for the ARM architecture. Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletion

[PATCH 16/22] clocksource/drivers/asm9260: Add the COMPILE_TEST option

2015-11-02 Thread Daniel Lezcano
Increase the compilation test coverage by adding the COMPILE_TEST option. Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index b631b14..f6a1c3e 100644 -

[PATCH 15/22] clocksource/drivers/cadence_ttc: Add the COMPILE_TEST option

2015-11-02 Thread Daniel Lezcano
Increase the compilation test coverage by adding the COMPILE_TEST option. The driver depends on the common clock framework, thus the dependency added on COMMON_CLK. Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --gi

[PATCH 17/22] clocksource/drivers/lpc32xx: Add the COMPILE_TEST option

2015-11-02 Thread Daniel Lezcano
Increase the compilation test coverage by adding the COMPILE_TEST option. Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index f6a1c3e..31ba1c2 100644 -

[PATCH 14/22] clocksource/drivers/vt8500: Add the COMPILE_TEST option

2015-11-02 Thread Daniel Lezcano
Increase the compilation test coverage by adding the COMPILE_TEST option. Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 1af13c9..b0136fc 100644 -

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-02 Thread Kirill A. Shutemov
On Fri, Oct 30, 2015 at 04:03:50PM +0900, Minchan Kim wrote: > On Thu, Oct 29, 2015 at 11:52:06AM +0200, Kirill A. Shutemov wrote: > > On Thu, Oct 29, 2015 at 04:58:29PM +0900, Minchan Kim wrote: > > > On Thu, Oct 29, 2015 at 02:25:24AM +0200, Kirill A. Shutemov wrote: > > > > On Thu, Oct 22, 2015

Re: [RFC PATCH net-next 2/6] net: dsa: mv88e6060: use the correct InitReady bit

2015-11-02 Thread Sergei Shtylyov
Hello. On 11/2/2015 1:57 PM, Neil Armstrong wrote: According to the mv88e6060 datasheet, the InitReady bit position is 11 and the polarity is inverted. Use the bit correctly to detect the end of initialization. Signed-off-by: Neil Armstrong --- drivers/net/dsa/mv88e6060.c | 2 +- 1 file ch

[PATCH 11/22] clocksource/drivers/sun5i: Add the COMPILE_TEST option

2015-11-02 Thread Daniel Lezcano
Increase the compilation test coverage by adding the COMPILE_TEST option. The driver depends on the common clock framework, thus the dependency added on COMMON_CLK. Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --gi

[PATCH 08/22] clocksource/drivers/digicolor: Add the COMPILE_TEST option

2015-11-02 Thread Daniel Lezcano
Increase the compilation test coverage by adding the COMPILE_TEST option. Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 8a80221..5b0f63a 100644 -

[PATCH 05/22] clocksource/drivers/armada-370-xp: Add the COMPILE_TEST option

2015-11-02 Thread Daniel Lezcano
Increase the compilation test coverage by adding the COMPILE_TEST option. Due to the non portable 'delay' code, the compilation is restricted to the ARM architecture only. Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) di

[PATCH 04/22] clocksource/drivers/rockchip: Add COMPILE_TEST option

2015-11-02 Thread Daniel Lezcano
Increase the compilation test coverage by adding the COMPILE_TEST option. Due to the dsb() usage in the driver, this driver is only compilable on ARM and ARM64. Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/

[PATCH 07/22] clocksource/drivers/orion: Add the COMPILE_TEST option

2015-11-02 Thread Daniel Lezcano
Increase the compilation test coverage by adding the COMPILE_TEST option. The driver is using the atomic_io API which is not portable, so the compilation is restricted to ARM only. Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 5 - 1 file changed, 4 insertions(+), 1 deleti

[PATCH 02/22] clocksource/drivers/mediatek: Add the COMPILE_TEST option

2015-11-02 Thread Daniel Lezcano
Increase the compilation test coverage by adding the COMPILE_TEST option. Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index a1c9312..dc79fde 100644 -

<    1   2   3   4   5   6   7   8   9   >