[PATCH v7 2/4] KVM: introduce kvm_arch_intc_initialized and use it in irqfd

2015-01-15 Thread Eric Auger
Introduce __KVM_HAVE_ARCH_INTC_INITIALIZED define and associated kvm_arch_intc_initialized function. This latter allows to test whether the virtual interrupt controller is initialized and ready to accept virtual IRQ injection. On some architectures, the virtual interrupt controller is dynamically

[PATCH v7 3/4] KVM: arm/arm64: implement kvm_arch_intc_initialized

2015-01-15 Thread Eric Auger
On arm/arm64 the VGIC is dynamically instantiated and it is useful to expose its state, especially for irqfd setup. This patch defines __KVM_HAVE_ARCH_INTC_INITIALIZED and implements kvm_arch_intc_initialized. Signed-off-by: Eric Auger eric.au...@linaro.org Acked-by: Christoffer Dall

[PATCH v7 4/4] KVM: arm/arm64: add irqfd support

2015-01-15 Thread Eric Auger
This patch enables irqfd on arm/arm64. Both irqfd and resamplefd are supported. Injection is implemented in vgic.c without routing. This patch enables CONFIG_HAVE_KVM_EVENTFD and CONFIG_HAVE_KVM_IRQFD. KVM_CAP_IRQFD is now advertised. KVM_CAP_IRQFD_RESAMPLE capability automatically is

Re: [PATCH] e100: Don't enable WoL by default on Toshiba devices

2015-01-15 Thread Ondrej Zary
On Thursday 15 January 2015, Jeff Kirsher wrote: On Thu, 2015-01-15 at 14:40 +0100, Ondrej Zary wrote: On Thursday 13 November 2014, Jeff Kirsher wrote: On Wed, 2014-11-12 at 18:18 -0500, David Miller wrote: From: Ondrej Zary li...@rainbow-software.org Date: Wed, 12 Nov 2014 23:47:25

[PATCH] virtio_pci: add module param to force legacy mode

2015-01-15 Thread Michael S. Tsirkin
If set, try legacy interface first, modern one if that fails. Useful to work around device/driver bugs, and for compatibility testing. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- drivers/virtio/virtio_pci_common.c | 31 +-- 1 file changed, 25 insertions(+),

Re: [PATCHv2 00/36] perf tools: New build framework

2015-01-15 Thread David Ahern
On 1/15/15 5:54 AM, Jiri Olsa wrote: Since it's actually small portion of kbuild that perf needs, I realized it's actually better to steal it than 'reconfigure' kbuild to be usable for perf. Also this patchset is kind of incremental version of the latest: perf tools: Add kbuild support into

Re: [PATCH v3 4/8] ARM: at91: time: move the system timer driver to drivers/clocksource

2015-01-15 Thread Daniel Lezcano
On 01/12/2015 04:36 PM, Alexandre Belloni wrote: Import at91rm9200_time.c from mach-at91 as timer-atmel-st.c. Further cleanup is required to get rid of the mach-at91 headers. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Acked-by: Boris Brezillon

[PATCHv3 0/8] perf tools: Add perf data CTF conversion

2015-01-15 Thread Jiri Olsa
hi, this is follow up on original RFC patchset: http://marc.info/?t=14073273564r=1w=2 Basically we are adding 'perf data convert' command to allow conversion of perf data file into CTF [1] data. v3 changes: - rebased to latest acme's perf/core v2 changes: - addressed comments from

Re: [PATCH V2 18/24] irqchip: mips-gic: Stop using per-platform mapping tables

2015-01-15 Thread Qais Yousef
On 01/15/2015 04:29 PM, James Hogan wrote: On 15/01/15 11:59, James Hogan wrote: Hi Andrew, On 18/09/14 22:47, Andrew Bresticker wrote: Now that the GIC properly uses IRQ domains, kill off the per-platform routing tables that were used to make the GIC appear transparent. This includes: -

[RESEND PATCH v2 1/2] tracing: Add array printing helpers

2015-01-15 Thread Javi Merino
From: Dave Martin dave.mar...@arm.com If a trace event contains an array, there is currently no standard way to format this for text output. Drivers are currently hacking around this by a) local hacks that use the trace_seq functionailty directly, or b) just not printing that information. For

Re: [RFC PATCH] [media] coda: Use S_PARM to set nominal framerate for h.264 encoder

2015-01-15 Thread Nicolas Dufresne
Le 2015-01-15 11:23, Frédéric Sureau a écrit : Maybe a-parm.output.capability should be set to |V4L2_CAP_TIMEPERFRAME| here. I think it is required by GStreamer V4L2 plugin. Looking at this, I think output device is indeed the right place to set this, and the capability should indeed be

Re: [PATCH V2 18/24] irqchip: mips-gic: Stop using per-platform mapping tables

2015-01-15 Thread Andrew Bresticker
Hi James, Qais, On Thu, Jan 15, 2015 at 8:36 AM, Qais Yousef qais.you...@imgtec.com wrote: On 01/15/2015 04:29 PM, James Hogan wrote: On 15/01/15 11:59, James Hogan wrote: Hi Andrew, On 18/09/14 22:47, Andrew Bresticker wrote: Now that the GIC properly uses IRQ domains, kill off the

Re: [patch 2/2] mm: memcontrol: default hierarchy interface for memory

2015-01-15 Thread Michal Hocko
On Wed 14-01-15 12:19:44, Johannes Weiner wrote: On Wed, Jan 14, 2015 at 04:34:25PM +0100, Michal Hocko wrote: On Thu 08-01-15 23:15:04, Johannes Weiner wrote: [...] @@ -2322,6 +2325,12 @@ static bool shrink_zone(struct zone *zone, struct scan_control *sc, struct

Re: [PATCH V2 18/24] irqchip: mips-gic: Stop using per-platform mapping tables

2015-01-15 Thread James Hogan
On 15/01/15 16:36, Qais Yousef wrote: On 01/15/2015 04:29 PM, James Hogan wrote: On 15/01/15 11:59, James Hogan wrote: Hi Andrew, On 18/09/14 22:47, Andrew Bresticker wrote: Now that the GIC properly uses IRQ domains, kill off the per-platform routing tables that were used to make the GIC

[GIT PULL] at91: dt for 3.20 #1

2015-01-15 Thread Nicolas Ferre
Arnd, Olof, Kevin, Some Device Tree updates for 3.20. There is no dependency for this material as the drivers are already updated or not needed (syscon). Thanks, best regards, The following changes since commit eaa27f34e91a14cdceed26ed6c6793ec1d186115: linux 3.19-rc4 (2015-01-11 12:44:53

Re: [Linaro-acpi] [PATCH v5 18/18] Documentation: ACPI for ARM64

2015-01-15 Thread Arnd Bergmann
On Thursday 15 January 2015 10:51:58 Jon Masters wrote: On 01/15/2015 09:10 AM, Grant Likely wrote: On Tue, Jan 6, 2015 at 1:59 PM, Arnd Bergmann a...@arndb.de wrote: For drivers merged upstream, I would insist that every driver merged for an ARM64 platform has a documented DT binding that

Re: [PATCH v3 5/8] ARM: at91: move the restart function to the system timer driver

2015-01-15 Thread Alexandre Belloni
Hi, On 15/01/2015 at 17:39:05 +0100, Daniel Lezcano wrote : On 01/12/2015 04:37 PM, Alexandre Belloni wrote: Restarting on an at91rm9200 is handled by using the system timer. Move that function to the system timer driver. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com

Re: [PATCH v3 7/8] clocksource: atmel-st: use syscon/regmap

2015-01-15 Thread Alexandre Belloni
On 15/01/2015 at 17:40:37 +0100, Daniel Lezcano wrote : /* @@ -234,13 +201,21 @@ err: */ static void __init atmel_st_timer_init(struct device_node *node) { -/* For device tree enabled device: initialize here */ -of_at91rm9200_st_init(); +unsigned int val; + +

Re: [PATCH cgroup/for-3.19-fixes] cgroup: implement cgroup_subsys-unbind() callback

2015-01-15 Thread Michal Hocko
On Sun 11-01-15 15:55:43, Johannes Weiner wrote: From d527ba1dbfdb58e1f7c7c4ee12b32ef2e5461990 Mon Sep 17 00:00:00 2001 From: Johannes Weiner han...@cmpxchg.org Date: Sun, 11 Jan 2015 10:29:05 -0500 Subject: [patch] mm: memcontrol: zap outstanding cache/swap references during unbind

Re: [PATCH] Makefile: allow building selected tests with non-NPTL toolchain

2015-01-15 Thread Clark Williams
On Thu, 15 Jan 2015 07:35:01 + Alexey Brodkin alexey.brod...@synopsys.com wrote: Hi Clark, John, On Mon, 2014-11-10 at 10:16 +0300, Alexey Brodkin wrote: Some architectures are still stuck with non-NPTL toolchains. These are for example ARC, Blackfin, Xtensa etc. Still rt-tests

Re: [PATCH v4 4/5] ARM: mediatek: Add EINT support to MTK pinctrl driver.

2015-01-15 Thread Linus Walleij
On Wed, Jan 14, 2015 at 3:32 AM, Yingjoe Chen yingjoe.c...@mediatek.com wrote: Let's me describe my problem more clearly. On our SoC, if a pin support interrupt it will have 2 different numbers for it. For examples, here's a partial list for the gpio and EINT number mappings on mt8135:

Re: [PATCH v2 08/11] mmc: pwrseq_simple: Add support for a delay

2015-01-15 Thread Stephen Warren
On 01/15/2015 09:12 AM, Tomeu Vizoso wrote: Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com Some explanation of why such a delay might be useful would be ... useful! -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH v2 08/11] mmc: pwrseq_simple: Add support for a delay

2015-01-15 Thread Stephen Warren
On 01/15/2015 09:12 AM, Tomeu Vizoso wrote: Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com Ah, having read the explanation in the next patch, I think ... diff --git a/Documentation/devicetree/bindings/mmc/mmc,pwrseq-simple.txt

Re: [PATCH v2 09/11] ARM: tegra: Use pwrseq-simple for the wifi in Nyan

2015-01-15 Thread Stephen Warren
On 01/15/2015 09:12 AM, Tomeu Vizoso wrote: The Nyan boards have a Marvell 88w8897 wifi card connected through SDIO that need the reset line to be hold active for several milliseconds. diff --git a/arch/arm/boot/dts/tegra124-nyan.dtsi b/arch/arm/boot/dts/tegra124-nyan.dtsi +

Re: [PATCH v7 07/17] ARM64 / ACPI: Disable ACPI if FADT revision is less than 5.1

2015-01-15 Thread Mark Langsdorf
On 01/14/2015 09:04 AM, Hanjun Guo wrote: FADT Major.Minor version was introduced in ACPI 5.1, it is the same as ACPI version. In ACPI 5.1, some major gaps are fixed for ARM, such as updates in MADT table for GIC and SMP init, without those updates, we can not get the MPIDR for SMP init, and

Re: [PATCH v7 04/17] ARM64 / ACPI: Introduce early_param for acpi and pass acpi=force to enable ACPI

2015-01-15 Thread Mark Langsdorf
On 01/14/2015 09:04 AM, Hanjun Guo wrote: From: Al Stone al.st...@linaro.org Introduce one early parameters off and force for acpi, acpi=off will be the default behavior for ARM64, so introduce acpi=force to enable ACPI on ARM64. Disable ACPI before early parameters parsed, and enable it to

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-15 Thread Mark Langsdorf
On 01/14/2015 09:04 AM, Hanjun Guo wrote: Since PCI is not required in ACPI spec and ARM can run without it, introduce some stub functions to make PCI optional for ACPI, and make ACPI core run without CONFIG_PCI on ARM64. When PCI is enabled on ARM64, ACPI core will need some PCI functions to

Re: [PATCH v7 05/17] ARM64 / ACPI: If we chose to boot from acpi then disable FDT

2015-01-15 Thread Mark Langsdorf
On 01/14/2015 09:04 AM, Hanjun Guo wrote: From: Graeme Gregory graeme.greg...@linaro.org If the early boot methods of acpi are happy that we have valid ACPI tables and acpi=force has been passed, then do not unflat devicetree effectively disabling further hardware probing from DT. Tested-by:

Re: [PATCH v7 00/17] Introduce ACPI for ARM64 based on ACPI 5.1

2015-01-15 Thread Mark Brown
On Thu, Jan 15, 2015 at 06:23:47PM +, Catalin Marinas wrote: On Thu, Jan 15, 2015 at 04:26:20PM +, Grant Likely wrote: I'll get right to the point: Can we please have this series queued up for v3.20? Before you even ask for this, please look at the patches and realise that there

RE: [PATCH v4] hv: hv_fcopy: drop the obsolete message on transfer failure

2015-01-15 Thread KY Srinivasan
-Original Message- From: Dexuan Cui [mailto:de...@microsoft.com] Sent: Wednesday, January 14, 2015 1:55 AM To: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; driverdev- de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; jasow...@redhat.com;

Re: [GIT PULL] platform-drivers-x86 for 3.19

2015-01-15 Thread Andrew Lutomirski
On Jan 15, 2015 8:43 AM, Kirill A. Shutemov kir...@shutemov.name wrote: On Tue, Jan 13, 2015 at 10:04:55AM -0800, Andrew Lutomirski wrote: On Tue, Jan 13, 2015 at 9:56 AM, Darren Hart dvh...@infradead.org wrote: On Mon, Jan 12, 2015 at 02:12:44PM -0800, Andrew Lutomirski wrote: On Mon,

Re: [RFC PATCH] [media] coda: Use S_PARM to set nominal framerate for h.264 encoder

2015-01-15 Thread Frédéric Sureau
Hi Philipp, Le 22/12/2014 17:00, Philipp Zabel a écrit : The encoder needs to know the nominal framerate for the constant bitrate control mechanism to work. Currently the only way to set the framerate is by using VIDIOC_S_PARM on the output queue. Signed-off-by: Philipp

[GIT PULL] at91: defconfig for 3.20 #1

2015-01-15 Thread Nicolas Ferre
Arnd, Olof, Kevin, A little defconfig update. If you want me to collect more patches before sending you a more substantial one, let me know. Thanks, bye, The following changes since commit eaa27f34e91a14cdceed26ed6c6793ec1d186115: linux 3.19-rc4 (2015-01-11 12:44:53 -0800) are available in

Re: [RFC PATCH v2 4/9] rtc/ab3100: Update driver to address y2038/y2106 issues

2015-01-15 Thread Linus Walleij
On Tue, Jan 13, 2015 at 4:44 PM, Xunlei Pang xlp...@126.com wrote: From: Xunlei Pang pang.xun...@linaro.org This driver has a number of y2038/y2106 issues. This patch resolves them by: - Replace rtc_tm_to_time() with rtc_tm_to_time64() - Replace rtc_time_to_tm() with rtc_time64_to_tm() -

Re: [Linaro-acpi] [PATCH v5 18/18] Documentation: ACPI for ARM64

2015-01-15 Thread Al Stone
On 01/15/2015 09:52 AM, Arnd Bergmann wrote: On Thursday 15 January 2015 10:51:58 Jon Masters wrote: On 01/15/2015 09:10 AM, Grant Likely wrote: On Tue, Jan 6, 2015 at 1:59 PM, Arnd Bergmann a...@arndb.de wrote: For drivers merged upstream, I would insist that every driver merged for an ARM64

Re: [PATCH V2 18/24] irqchip: mips-gic: Stop using per-platform mapping tables

2015-01-15 Thread James Hogan
On 15/01/15 16:58, Andrew Bresticker wrote: Hi James, Qais, On Thu, Jan 15, 2015 at 8:36 AM, Qais Yousef qais.you...@imgtec.com wrote: On 01/15/2015 04:29 PM, James Hogan wrote: On 15/01/15 11:59, James Hogan wrote: Hi Andrew, On 18/09/14 22:47, Andrew Bresticker wrote: Now that the

Re: [PATCH v2 04/11] ARM: tegra: Set spi-max-frequency property to flash node

2015-01-15 Thread Stephen Warren
On 01/15/2015 09:12 AM, Tomeu Vizoso wrote: To silence a warning on Nyan boards. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- arch/arm/boot/dts/tegra124-nyan-big.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/tegra124-nyan-big.dts

Re: [PATCH cgroup/for-3.19-fixes] cgroup: implement cgroup_subsys-unbind() callback

2015-01-15 Thread Michal Hocko
On Sat 10-01-15 16:43:16, Tejun Heo wrote: Currently, if a hierarchy doesn't have any live children when it's unmounted, the hierarchy starts dying by killing its refcnt. The expectation is that even if there are lingering dead children which are lingering due to remaining references, they'll

[PATCH] Smack: Don't build IPv6 stuff when CONFIG_IPV6=n

2015-01-15 Thread Rafał Krypa
From: Rafal Krypa r.kr...@samsung.com For case when IPv6 is disabled, this fixes build break in one place and removes unused code in several other places. Signed-off-by: Rafal Krypa r.kr...@samsung.com --- security/smack/smack_lsm.c | 46 ++ 1 file

Re: [PATCH] gpio: gpio-dln2: Added a Blank line after declaration

2015-01-15 Thread Johan Hovold
On Thu, Jan 15, 2015 at 06:20:43PM +0100, Linus Walleij wrote: On Tue, Jan 13, 2015 at 4:09 PM, Mohammad Jamal md.jamalmohiud...@gmail.com wrote: Fix the coding style issue by adding a blank line after declaration Signed-off-by: Mohammad Jamal md.jamalmohiud...@gmail.com Patch

Re: [PATCH 1/3] input: tsc2007: Add pre-calibration, flipping and rotation

2015-01-15 Thread Dmitry Torokhov
On Thu, Jan 15, 2015 at 05:14:38PM +0100, Dr. H. Nikolaus Schaller wrote: Am 15.01.2015 um 15:38 schrieb Sebastian Reichel s...@kernel.org: Hi, On Thu, Jan 15, 2015 at 08:36:44AM +0100, Dr. H. Nikolaus Schaller wrote: 1. Perform conversion in input core rather than individual

Re: [PATCH v2 2/7] block: rewrite __bio_copy_iov()

2015-01-15 Thread Christoph Hellwig
On Mon, Jan 12, 2015 at 12:43:59PM +0100, Dongsu Park wrote: Rewrite __bio_copy_iov() so that it can call either _read() or _write() variant, which is determined by direction to_iov, given as either READ or WRITE. Moreover, make __bio_copy_iov() take its parameter iov_iter by value, to avoid

[PATCH 1/2] MIPS: OCTEON: fix kernel crash when offlining a CPU

2015-01-15 Thread Aaro Koskinen
octeon_cpu_disable() will unconditionally enable interrupts when called with interrupts disabled. Fix that. The patch fixes the following crash when offlining a CPU: [ 93.818785] [ cut here ] [ 93.823421] WARNING: CPU: 1 PID: 10 at kernel/smp.c:231

Re: [PATCH v7 08/17] ARM64 / ACPI: Get PSCI flags in FADT for PSCI init

2015-01-15 Thread Mark Langsdorf
On 01/14/2015 09:04 AM, Hanjun Guo wrote: From: Graeme Gregory graeme.greg...@linaro.org There are two flags: PSCI_COMPLIANT and PSCI_USE_HVC. When set, the former signals to the OS that the firmware is PSCI compliant. The latter selects the appropriate conduit for PSCI calls by toggling

Re: [PATCH v7 11/17] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-01-15 Thread Mark Langsdorf
On 01/14/2015 09:04 AM, Hanjun Guo wrote: Introduce a new function map_gicc_mpidr() to allow MPIDRs to be obtained from the GICC Structure introduced by ACPI 5.1. MPIDR is the CPU hardware ID as local APIC ID on x86 platform, so we use MPIDR not the GIC CPU interface ID to identify CPUs.

[PATCH 3/6] memcg: track shared inodes with dirty pages

2015-01-15 Thread Konstantin Khebnikov
From: Konstantin Khlebnikov khlebni...@yandex-team.ru Inode is owned only by one memory cgroup, but if it's shared it might contain pages from multiple cgroups. This patch detects this situation in memory reclaiemer and marks dirty inode with flag I_DIRTY_SHARED which is cleared only when data is

[PATCH 4/6] percpu_ratelimit: high-performance ratelimiting counter

2015-01-15 Thread Konstantin Khebnikov
From: Konstantin Khlebnikov khlebni...@yandex-team.ru Parameters: period - interval between refills (100ms should be fine) quota- events refill per period deadline - interval to utilize unused past quota (1s by default) latency - maximum injected delay (10s by default) Quota sums into

Re: [PATCH] virtio_balloon: coding style fixes

2015-01-15 Thread Michael S. Tsirkin
On Thu, Jan 15, 2015 at 03:13:08PM +0100, Michal Hocko wrote: On Thu 15-01-15 15:44:12, Michael S. Tsirkin wrote: On Thu, Jan 15, 2015 at 02:06:42PM +0100, Michal Hocko wrote: On Thu 15-01-15 13:39:06, Michael S. Tsirkin wrote: Most of our code has struct foo { } Fix two

[PATCH 2/2] MIPS: fix kernel lockup or crash after CPU offline/online

2015-01-15 Thread Aaro Koskinen
From: Hemmo Nieminen hemmo.niemi...@iki.fi As printk() invocation can cause e.g. a TLB miss, printk() cannot be called before the exception handlers have been properly initialized. This can happen e.g. when netconsole has been loaded as a kernel module and the TLB table has been cleared when a

[PATCH 5/6] delay-injection: resource management via procrastination

2015-01-15 Thread Konstantin Khebnikov
From: Konstantin Khlebnikov khlebni...@yandex-team.ru inject_delay() allows to pause current task before returning into userspace in place where kernel doesn't hold any locks thus wait wouldn't introduce any priority-inversion problems. This code abuses existing task-work and 'TASK_PARKED'

[PATCHSET RFC 0/6] memcg: inode-based dirty-set controller

2015-01-15 Thread Konstantin Khebnikov
This is ressurection of my old RFC patch for dirty-set accounting cgroup [1] Now it's merged into memory cgroup and got bandwidth controller as a bonus. That shows alternative solution: less accurate but much less monstrous than accurate page-based dirty-set controller from Tejun Heo. Memory

Re: [PATCH 1/4] gpio: max732x: Add device tree support

2015-01-15 Thread Linus Walleij
On Tue, Jan 13, 2015 at 2:41 PM, Semen Protsenko semen.protse...@globallogic.com wrote: Signed-off-by: Semen Protsenko semen.protse...@globallogic.com Patch applied. Thanks for working on this driver, would you consider sending a patch setting yourself as maintainer in the MAINTAINERS file for

Re: [PATCH 3/4] gpio: max732x: Fix possible deadlock

2015-01-15 Thread Linus Walleij
On Tue, Jan 13, 2015 at 2:41 PM, Semen Protsenko semen.protse...@globallogic.com wrote: This patch was derived from next one: gpio: fix pca953x set_type 'scheduling while atomic' bug. After adding entry that consumes max732x GPIO as interrupt line to dts file, deadlock appears somewhere in

Re: [RFC PATCH v2 0/9] simplify block layer based on immutable biovecs

2015-01-15 Thread Christoph Hellwig
- move a patch btrfs: make use of immutable biovecs to the upcoming series. which upcoming series is that? -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH v3 5/8] ARM: at91: move the restart function to the system timer driver

2015-01-15 Thread Alexandre Belloni
On 15/01/2015 at 18:01:34 +0100, Alexandre Belloni wrote : Mmh, I can't clearly explain why but I have a problem with that. Can you explain why restart code falls in the clockevents driver ? That is a temporary location before getting rid of it by writing a proper reset driver

Re: [PATCH] Repost sched-rt: Reduce rq lock contention by eliminating locking of non-feasible target

2015-01-15 Thread Tim Chen
On Tue, 2015-01-06 at 20:30 +0100, Peter Zijlstra wrote: On Tue, Jan 06, 2015 at 11:01:51AM -0800, Tim Chen wrote: Didn't get any response for this patch probably due to the holidays. Reposting it as we will like to get it merged to help our database workload. This patch added checks

Re: [PATCH v2 02/11] ARM: tegra: Use the generated pinmux data

2015-01-15 Thread Stephen Warren
On 01/15/2015 09:12 AM, Tomeu Vizoso wrote: Google has submitted a board config for the pinmux programming of the Nyan Big board. Use the whole of it as it's generated to make it easier to update as the configuration gets fixed in the future. Submitted to where? I assume you mean

[PATCH] pseries/le: Fix another endiannes issue in RTAS call from xmon

2015-01-15 Thread Laurent Dufour
The commit 3b8a3c010969 (powerpc/pseries: Fix endiannes issue in RTAS call from xmon) was fixing an endianness issue in the call made from xmon to RTAS. However, as Michael Ellerman noticed, this fix was not complete, the token value was not byte swapped. This lead to call an unexpected and most

Re: [RFC PATCH 0/3] Introduce IIO interface for fingerprint sensors

2015-01-15 Thread Sylwester Nawrocki
On 14/01/15 18:14, Baluta, Teodora wrote: On Vi, 2014-12-26 at 11:13 +, Jonathan Cameron wrote: On 18/12/14 16:51, Lars-Peter Clausen wrote: Adding V4L folks to Cc for more input. Thanks Lars - we definitely would need the v4l guys to agree to a driver like this going in IIO. (not that

kmsg: lseek errors confuse glibc's dprintf

2015-01-15 Thread Mike Crowe
glibc's dprintf implementation does not work correctly with /dev/kmsg file descriptors because glibc treats receiving EBADF and EINVAL from lseek when trying to determine the current file position as errors. See https://sourceware.org/bugzilla/show_bug.cgi?id=17830 From what I can tell prior to

Re: [PATCH v7 0/7] Support Write-Through mapping on x86

2015-01-15 Thread Toshi Kani
Hi Ingo, Peter, Thomas, Is there anything else I need to do for accepting this patchset? Thanks, -Toshi On Tue, 2015-01-06 at 13:49 -0700, Toshi Kani wrote: This patchset adds support of Write-Through (WT) mapping on x86. The study below shows that using WT mapping may be useful for

Re: [PATCH 1/1] arch/x86/kvm/vmx.c: Fix external interrupts inject directly bug with guestos RFLAGS.IF=0

2015-01-15 Thread Radim Krčmář
2015-01-15 20:36+0800, Li Kaihang: This patch fix a external interrupt injecting bug in linux 3.19-rc4. Was the bug introduced in earlier 3.19 release candidate? GuestOS is running and handling some interrupt with RFLAGS.IF = 0 while a external interrupt coming, then can lead to a vm

Re: [PATCH v7 17/17] Documentation: ACPI for ARM64

2015-01-15 Thread Mark Langsdorf
On 01/14/2015 09:05 AM, Hanjun Guo wrote: From: Graeme Gregory graeme.greg...@linaro.org Add documentation for the guidelines of how to use ACPI on ARM64. Reviewed-by: Suravee Suthikulpanit suravee.suthikulpa...@amd.com Reviewed-by: Yi Li phoenix.l...@huawei.com Signed-off-by: Graeme Gregory

Re: [PATCH 3/6] memcg: track shared inodes with dirty pages

2015-01-15 Thread Tejun Heo
On Thu, Jan 15, 2015 at 09:49:14PM +0300, Konstantin Khebnikov wrote: From: Konstantin Khlebnikov khlebni...@yandex-team.ru Inode is owned only by one memory cgroup, but if it's shared it might contain pages from multiple cgroups. This patch detects this situation in memory reclaiemer and

Re: [PATCH 3/6] memcg: track shared inodes with dirty pages

2015-01-15 Thread Konstantin Khlebnikov
On Thu, Jan 15, 2015 at 9:55 PM, Tejun Heo t...@kernel.org wrote: On Thu, Jan 15, 2015 at 09:49:14PM +0300, Konstantin Khebnikov wrote: From: Konstantin Khlebnikov khlebni...@yandex-team.ru Inode is owned only by one memory cgroup, but if it's shared it might contain pages from multiple

Re: [PATCH v7 00/17] Introduce ACPI for ARM64 based on ACPI 5.1

2015-01-15 Thread Catalin Marinas
Hi Grant, On Thu, Jan 15, 2015 at 04:26:20PM +, Grant Likely wrote: On Wed, Jan 14, 2015 at 3:04 PM, Hanjun Guo hanjun@linaro.org wrote: This is the v7 of ACPI core patches for ARM64 based on ACPI 5.1 I'll get right to the point: Can we please have this series queued up for v3.20?

Re: [PATCH v7 12/17] ARM64 / ACPI: Introduce ACPI_IRQ_MODEL_GIC and register device's gsi

2015-01-15 Thread Mark Langsdorf
On 01/14/2015 09:05 AM, Hanjun Guo wrote: Introduce ACPI_IRQ_MODEL_GIC which is needed for ARM64 as GIC is used, and then register device's gsi with the core IRQ subsystem. acpi_register_gsi() is similar to DT based irq_of_parse_and_map(), since gsi is unique in the system, so use hwirq number

Re: [PATCH 1/3] input: tsc2007: Add pre-calibration, flipping and rotation

2015-01-15 Thread Dr. H. Nikolaus Schaller
Am 15.01.2015 um 19:16 schrieb Dmitry Torokhov dmitry.torok...@gmail.com: On Thu, Jan 15, 2015 at 05:14:38PM +0100, Dr. H. Nikolaus Schaller wrote: Am 15.01.2015 um 15:38 schrieb Sebastian Reichel s...@kernel.org: Hi, On Thu, Jan 15, 2015 at 08:36:44AM +0100, Dr. H. Nikolaus Schaller

[PATCH 2/6] memcg: dirty-set limiting and filtered writeback

2015-01-15 Thread Konstantin Khebnikov
From: Konstantin Khlebnikov khlebni...@yandex-team.ru mem_cgroup_dirty_limits() checks thresholds and schedules per-bdi writeback work (where -for_memcg is set) which writes only inodes where dirty limit is exceeded for owner memcg or for whole bdi. Interface: memory.dirty_ratio percent of

[PATCH 6/6] memcg: filesystem bandwidth controller

2015-01-15 Thread Konstantin Khebnikov
From: Konstantin Khlebnikov khlebni...@yandex-team.ru This is example of filesystem bandwidth controller build on the top of dirty memory accounting, percpu_ratelimit and delay-injection. Cgroup charges read/write requests into rate-limiters and injects delays which controls overall speed.

[PATCH 1/6] memcg: inode-based dirty and writeback pages accounting

2015-01-15 Thread Konstantin Khebnikov
From: Konstantin Khlebnikov khlebni...@yandex-team.ru This patch links memory cgroup into vfs layer and assigns owner memcg for each inode which has dirty or writeback pages within. The main goal of this is controlling dirty memory size. Accounting dirty memory in per-inode manner is much easier

[GIT PULL] at91: drivers for 3.20 #1

2015-01-15 Thread Nicolas Ferre
Arnd, Olof, Kevin, This is a pull-request about AT91 drivers for 3.20. We took the USB gadget part with us as it depends on the Matrix syscon part. There is no dependency anyway. Thanks, best regards, The following changes since commit eaa27f34e91a14cdceed26ed6c6793ec1d186115: linux 3.19-rc4

Re: [PATCH v2 10/11] ASoC: tegra: Add a control for the headphone switch

2015-01-15 Thread Tomeu Vizoso
On 15 January 2015 at 17:20, Mark Brown broo...@kernel.org wrote: On Thu, Jan 15, 2015 at 05:12:22PM +0100, Tomeu Vizoso wrote: To be used by userspace when the headphones jack is plugged in. I'm missing patches 1-9 of this series, what's going on there? Sorry, no idea. They have reached lkml

Re: [PATCH v2 03/11] ARM: tegra: Set the sound card model that alsaucm expects

2015-01-15 Thread Stephen Warren
On 01/15/2015 09:12 AM, Tomeu Vizoso wrote: Patches are on its way to add a config file to alsaucm for the Nyan boards. Use the same card ID that alsaucm will expect. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- arch/arm/boot/dts/tegra124-nyan-big.dts | 4 ++-- 1 file changed,

Re: [PATCH v7 16/17] ARM64 / ACPI: Enable ARM64 in Kconfig

2015-01-15 Thread Mark Langsdorf
On 01/14/2015 09:05 AM, Hanjun Guo wrote: From: Graeme Gregory graeme.greg...@linaro.org Add Kconfigs to build ACPI on ARM64, and make ACPI available on ARM64. acpi_idle driver is x86/IA64 dependent now, so make CONFIG_ACPI_PROCESSOR depend on X86 || IA64, and implement it on ARM64 in the

Re: Query: ARM64: Behavior of el1_dbg exception while executing el0_dbg

2015-01-15 Thread Pratyush Anand
Hi Will / Catalin, On Tuesday 13 January 2015 11:23 PM, Pratyush Anand wrote: I will still try to find some way to capture enable_dbg macro path.H I did instrumented debug tap points at all the location from where enable_debug macro is called(see attached debug patch). But, I do not see

[RESEND PATCH v2 2/2] tools lib traceevent: Add support for __print_array()

2015-01-15 Thread Javi Merino
Trace can now generate traces with variable element size arrays. Add support to parse them. Cc: Namhyung Kim namhy...@kernel.org Cc: Arnaldo Carvalho de Melo a...@redhat.com Cc: Steven Rostedt srost...@redhat.com Cc: Jiri Olsa jo...@redhat.com Signed-off-by: Javi Merino javi.mer...@arm.com ---

Re: [PATCH -mm v2] vmscan: move reclaim_state handling to shrink_slab

2015-01-15 Thread Vladimir Davydov
On Thu, Jan 15, 2015 at 03:48:38PM +0100, Michal Hocko wrote: On Thu 15-01-15 16:25:16, Vladimir Davydov wrote: memcg = mem_cgroup_iter(root, NULL, reclaim); do { [...] if (memcg is_classzone)

Re: [GIT PULL] platform-drivers-x86 for 3.19

2015-01-15 Thread Kirill A. Shutemov
On Thu, Jan 15, 2015 at 09:00:44AM -0800, Andrew Lutomirski wrote: On Jan 15, 2015 8:43 AM, Kirill A. Shutemov kir...@shutemov.name wrote: On Tue, Jan 13, 2015 at 10:04:55AM -0800, Andrew Lutomirski wrote: On Tue, Jan 13, 2015 at 9:56 AM, Darren Hart dvh...@infradead.org wrote: On Mon,

Re: [PATCH v2 2/2] task_mmu: Add user-space support for resetting mm-hiwater_rss (peak RSS)

2015-01-15 Thread Petr Cermak
On Thu, Jan 15, 2015 at 01:36:30AM +0200, Kirill A. Shutemov wrote: On Wed, Jan 14, 2015 at 03:22:25PM +, Petr Cermak wrote: On Wed, Jan 07, 2015 at 07:24:52PM +0200, Kirill A. Shutemov wrote: And how it's not an ABI break? I don't think this is an ABI break because the current

Re: [PATCH v2 10/11] ASoC: tegra: Add a control for the headphone switch

2015-01-15 Thread Mark Brown
On Thu, Jan 15, 2015 at 06:02:51PM +0100, Tomeu Vizoso wrote: On 15 January 2015 at 17:20, Mark Brown broo...@kernel.org wrote: On Thu, Jan 15, 2015 at 05:12:22PM +0100, Tomeu Vizoso wrote: To be used by userspace when the headphones jack is plugged in. I'm missing patches 1-9 of this

Re: [PATCH v2 2/7] block: rewrite __bio_copy_iov()

2015-01-15 Thread Christoph Hellwig
+/** + * __bio_copy_iov - copy all pages between bio and iov_iter + * @bio: The struct bio which describes the I/O + * @iter: iov_iter either as source or destination + * @to_iov: whether to %READ (0) or %WRITE (1) + * + * Simple wrapper around __bio_copy_iov_{write,read}(). + * Returns 0

Re: [PATCH 4/4] gpio: max732x: Add DT binding documentation

2015-01-15 Thread Linus Walleij
On Tue, Jan 13, 2015 at 2:41 PM, Semen Protsenko semen.protse...@globallogic.com wrote: Add a devicetree binding documentation for the max732x driver. Signed-off-by: Semen Protsenko semen.protse...@globallogic.com Vanilla bindings, OK. Patch applied. Yours, Linus Walleij -- To unsubscribe

Re: [PATCH v2 06/11] ARM: tegra: Move out nyan-generic parts out from the nyan-big DT

2015-01-15 Thread Stephen Warren
On 01/15/2015 09:12 AM, Tomeu Vizoso wrote: In preparation for adding the DT for the nyan-blaze board. git format-patch -C might help here; hopefully it'd highlight that arch/arm/boot/dts/tegra124-nyan.dtsi was a copy from arch/arm/boot/dts/tegra124-nyan-big.dts, with just a few small diffs?

sysfs methods can race with -remove

2015-01-15 Thread Alan Stern
Tejun: The context is that we have been talking about drivers/scsi/scsi_scan.c:scsi_rescan_device(), which is called by the store_rescan_field() sysfs method in scsi_sysfs.c. The problem is this: What happens in scsi_rescan_device if the device is unbound from its driver before the module_put

Re: [PATCH] sched,numa: do not move past the balance point if unbalanced

2015-01-15 Thread Rik van Riel
On 01/15/2015 05:45 AM, Peter Zijlstra wrote: On Mon, Jan 12, 2015 at 04:30:39PM -0500, Rik van Riel wrote: There is a subtle interaction between the logic introduced in commit e63da03639cc9e6e83b62e7ef8ffdbb92421416a, the way the load balancer e63da03639cc (sched/numa: Allow task switch

Re: [PATCH 0/2] clockevents: introduce -set_dev_mode() and convert a few drivers

2015-01-15 Thread Kevin Hilman
Thomas, Gentle reminder ping... On Tue, Dec 9, 2014 at 2:03 PM, Kevin Hilman khil...@kernel.org wrote: From: Kevin Hilman khil...@linaro.org Currently, the -set_mode() method of a clockevent device is not allowed to fail, so it has no return value. In order to add new clockevent modes, and

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-15 Thread Jason Gunthorpe
On Thu, Jan 15, 2015 at 10:34:39AM -0600, atull wrote: This is great! The way I had it working was using Pantelis' devicetree configfs interface. I figured you were very close to this already in your overlay work.. The DT fragment described the FPGA logic and included a filename for

Re: [PATCH v7 09/17] ACPI / table: Print GIC information when MADT is parsed

2015-01-15 Thread Mark Langsdorf
On 01/14/2015 09:04 AM, Hanjun Guo wrote: When MADT is parsed, print GIC information to make the boot log look pretty: ACPI: GICC (acpi_id[0x] address[e112f000] MPIDR[0x0] enabled) ACPI: GICC (acpi_id[0x0001] address[e112f000] MPIDR[0x1] enabled) ... ACPI: GICC

Re: [PATCH v7 15/17] ARM64 / ACPI: Select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64

2015-01-15 Thread Mark Langsdorf
On 01/14/2015 09:05 AM, Hanjun Guo wrote: From: Al Stone al.st...@linaro.org ACPI reduced hardware mode is disabled by default, but ARM64 can only run properly in ACPI hardware reduced mode, so select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64. Reviewed-by: Grant Likely

Re: [PATCH v7 14/17] ARM64 / ACPI: Parse GTDT to initialize arch timer

2015-01-15 Thread Mark Langsdorf
On 01/14/2015 09:05 AM, Hanjun Guo wrote: Using the information presented by GTDT to initialize the arch timer (not memory-mapped). Originally-by: Amit Daniel Kachhap amit.dan...@samsung.com Tested-by: Suravee Suthikulpanit suravee.suthikulpa...@amd.com Tested-by: Yijing Wang

Re: [PATCH v7 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2015-01-15 Thread Mark Langsdorf
On 01/14/2015 09:05 AM, Hanjun Guo wrote: From: Tomasz Nowicki tomasz.nowi...@linaro.org ACPI kernel uses MADT table for proper GIC initialization. It needs to parse GIC related subtables, collect CPU interface and distributor addresses and call driver initialization function (which is hardware

Re: [PATCH v7 10/17] ARM64 / ACPI: Parse MADT for SMP initialization

2015-01-15 Thread Mark Langsdorf
On 01/14/2015 09:04 AM, Hanjun Guo wrote: MADT contains the information for MPIDR which is essential for SMP initialization, parse the GIC cpu interface structures to get the MPIDR value and map it to cpu_logical_map(), and add enabled cpu with valid MPIDR into cpu_possible_map. ACPI 5.1 only

Re: [PATCH 2/4] gpio: max732x: Rewrite IRQ code to use irq_domain API

2015-01-15 Thread Linus Walleij
On Tue, Jan 13, 2015 at 2:41 PM, Semen Protsenko semen.protse...@globallogic.com wrote: Signed-off-by: Semen Protsenko semen.protse...@globallogic.com This makes the code *so* much better so patch applied, naturally. But... config GPIO_MAX732X tristate MAX7319, MAX7320-7327 I2C

Re: [PATCH] lowmemorykiller: Avoid excessive/redundant calling of LMK

2015-01-15 Thread Michal Hocko
On Mon 12-01-15 21:49:14, Chintan Pandya wrote: The global shrinker will invoke lowmem_shrink in a loop. The loop will be run (total_scan_pages/batch_size) times. The default batch_size will be 128 which will make shrinker invoking 100s of times. LMK does meaningful work only during first 2-3

Re: [PATCH v2 00/11] Improvements to Tegra-based Chromebook support

2015-01-15 Thread Mark Brown
On Thu, Jan 15, 2015 at 05:12:12PM +0100, Tomeu Vizoso wrote: Please fix your mailer to word wrap within paragraphs so your mails are more legible, I've reflowed. this started as adding support for the Nyan Blaze, but the Big is so similar to it that I thought it would be better to have both

Re: [PATCH] gpio: gpio-dln2: Added a Blank line after declaration

2015-01-15 Thread Linus Walleij
On Tue, Jan 13, 2015 at 4:09 PM, Mohammad Jamal md.jamalmohiud...@gmail.com wrote: Fix the coding style issue by adding a blank line after declaration Signed-off-by: Mohammad Jamal md.jamalmohiud...@gmail.com Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line

Re: [PATCH v2] mm: vmscan: fix the page state calculation in too_many_isolated

2015-01-15 Thread Vinayak Menon
On 01/14/2015 10:20 PM, Michal Hocko wrote: On Wed 14-01-15 17:06:59, Vinayak Menon wrote: [...] In one such instance, zone_page_state(zone, NR_ISOLATED_FILE) had returned 14, zone_page_state(zone, NR_INACTIVE_FILE) returned 92, and GFP_IOFS was set, and this resulted in too_many_isolated

Re: [Linaro-acpi] [PATCH v5 18/18] Documentation: ACPI for ARM64

2015-01-15 Thread Mark Brown
On Thu, Jan 15, 2015 at 05:52:31PM +0100, Arnd Bergmann wrote: On Thursday 15 January 2015 10:51:58 Jon Masters wrote: It gets worse. There *will* be large numbers of ACPI only ARM servers landing over the coming year. Not only would DT code be untested, but insisting on keeping e.g. a

[PATCH] virtio_pci_modern: validate features

2015-01-15 Thread Michael S. Tsirkin
Spec says devices must set VIRTIO_1 feature bit. Fail gracefully if they don't. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- drivers/virtio/virtio_pci_modern.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/virtio/virtio_pci_modern.c

  1   2   3   4   5   6   7   8   9   10   >