Re: [PATCH v2] PM: Add missing freeze state

2014-03-11 Thread Rafael J. Wysocki
On Tuesday, March 11, 2014 02:13:59 PM Geert Uytterhoeven wrote: Hi Pavel, On Tue, Mar 11, 2014 at 1:40 PM, Pavel Machek pa...@ucw.cz wrote: On Tue 2014-03-11 12:08:11, Geert Uytterhoeven wrote: From: Geert Uytterhoeven geert+rene...@linux-m68k.org Signed-off-by: Geert Uytterhoeven

Re: [alsa-devel] [PATCH] ASoC: simple-card: overwrite DAIFMT_MASTER of cpu_dai-fmt

2014-03-11 Thread Mark Brown
On Tue, Mar 11, 2014 at 06:32:32PM -0700, Kuninori Morimoto wrote: The current simple-card driver separates the daimft for cpu_dai and codec_dai. So we might get different values for them (0x4003 and 0x1003 for example): asoc-simple-card sound-cs42888.12: cpu : 2024000.esai / 4003 /

Re: linux-next: build failure after merge of the driver-core tree

2014-03-11 Thread Greg KH
On Wed, Mar 12, 2014 at 12:51:52AM +, Mark Brown wrote: Hi Greg, After merging the driver-core tree, today's linux-next build () failed like this on a PowerPC defconfig: HEAD is now at ceb98e684dec Merge remote-tracking branch 'driver-core/driver-core-next' GEN

Re: [PATCH 1/3] spi: add xtfpga SPI controller driver

2014-03-11 Thread Mark Brown
On Wed, Mar 12, 2014 at 05:43:49AM +0400, Max Filippov wrote: On Wed, Mar 12, 2014 at 5:08 AM, Mark Brown broo...@kernel.org wrote: That's buggy, drivers should never configure anything more than 8 bits per word with regmap. Ok, so the driver should allow for 8 bit transfers and regmap

Re: [PATCH v5 0/7] arm64: Add ftrace support

2014-03-11 Thread Steven Rostedt
On Wed, 12 Mar 2014 10:47:20 +0900 AKASHI Takahiro takahiro.aka...@linaro.org wrote: This happens when a header file, elf.h, on your host machine does not have definitions of EM_AARCH64 nor R_AARCH64_ABS64 because recordmcount is a binary utility on host(x86), not target. It is very likely

Re: [PATCH 1/5] PCI: Don't check resource_size() in pci_bus_alloc_resource()

2014-03-11 Thread Yinghai Lu
On Tue, Mar 11, 2014 at 3:02 PM, Bjorn Helgaas bhelg...@google.com wrote: On Tue, Mar 11, 2014 at 3:39 PM, Yinghai Lu ying...@kernel.org wrote: how about replacing that with: if (avail.start avail.end) continue; so we do not need to go deep into

Re: [PATCH v2] ASoC: cs42888: Add codec driver support

2014-03-11 Thread Nicolin Chen
On Tue, Mar 11, 2014 at 06:46:06PM +, Mark Brown wrote: On Tue, Mar 11, 2014 at 04:55:58PM +0100, Lars-Peter Clausen wrote: On 03/11/2014 04:41 PM, Brian Austin wrote: So WRT the CS42888, this is one device in a series of 2 devices that are register compatible with the only difference

Re: [PATCH v5 0/7] arm64: Add ftrace support

2014-03-11 Thread Steven Rostedt
On Wed, 12 Mar 2014 10:47:20 +0900 AKASHI Takahiro takahiro.aka...@linaro.org wrote: This happens when a header file, elf.h, on your host machine does not have definitions of EM_AARCH64 nor R_AARCH64_ABS64 because recordmcount is a binary utility on host(x86), not target. It is very likely

linux-next: build failure after merge of the driver-core tree

2014-03-11 Thread Mark Brown
Hi Greg, After merging the driver-core tree, today's linux-next build () failed like this on a PowerPC defconfig: HEAD is now at ceb98e684dec Merge remote-tracking branch 'driver-core/driver-core-next' GEN /home/broonie/next/powerpc_ppc64_defconfig/Makefile # # configuration written to

Re: [PATCH 3.4 00/99] 3.4.83-stable review

2014-03-11 Thread Greg Kroah-Hartman
On Sat, Mar 08, 2014 at 09:18:57PM -0700, Shuah Khan wrote: On 03/08/2014 01:50 PM, Satoru Takeuchi wrote: At Sat, 08 Mar 2014 09:10:00 -0800, Guenter Roeck wrote: On 03/08/2014 08:18 AM, Greg Kroah-Hartman wrote: On Sat, Mar 08, 2014 at 06:35:52AM -0800, Guenter Roeck wrote: On

[PATCH v4 3/5] regulator: add bcm590xx regulator driver

2014-03-11 Thread Matt Porter
Add a regulator driver for the BCM590xx PMU voltage regulators. The driver supports LDOs and DCDCs in normal mode only. There is no support for low-power mode or power sequencing. Signed-off-by: Matt Porter mpor...@linaro.org Reviewed-by: Tim Kryger tim.kry...@linaro.org Reviewed-by: Markus Mayer

Re: [PATCH] power: add an API to log wakeup reasons

2014-03-11 Thread Ruchi Kandoi
This API would be called from the platform specific code, or the driver for the interrupt controller, when the system resumes from the suspend because of an IRQ. We track the reasons for which systems wake up from the low power suspend mode. This is especially important on battery-powered

Re: [powerpc:next 45/53] warning: (PPC_C2K ..) selects NOT_COHERENT_CACHE which has unmet direct dependencies (4xx || ..)

2014-03-11 Thread Fengguang Wu
On Tue, Mar 11, 2014 at 10:32:29AM -0400, Paul Gortmaker wrote: On 14-03-11 12:54 AM, Fengguang Wu wrote: On Mon, Mar 10, 2014 at 10:49:24AM -0400, Paul Gortmaker wrote: On 14-03-08 03:07 AM, kbuild test robot wrote: tree: git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git

Re: [PATCH] power: add an API to log wakeup reasons

2014-03-11 Thread Joe Perches
On Tue, 2014-03-11 at 17:02 -0700, Ruchi Kandoi wrote: This API would be called from the platform specific code, [] This is already in use on some Android devices. We are trying to make this a generic API which could be called by other platforms as well, standardizing the format in which the

Re: [PATCH 3.4 25/99] powerpc/le: Ensure that the stop-self RTAS token is handled correctly

2014-03-11 Thread Greg Kroah-Hartman
On Mon, Mar 10, 2014 at 10:40:07AM +, Luís Henriques wrote: On Fri, Mar 07, 2014 at 05:07:21PM -0800, Greg Kroah-Hartman wrote: 3.4-stable review patch. If anyone has any objections, please let me know. As per Tony request, I've dropped this patch from the 3.5 kernel. Looks like it

Re: [PATCH v3 2/5] mfd: add bcm590xx pmu driver

2014-03-11 Thread Matt Porter
On Wed, Mar 12, 2014 at 12:40:30AM +, Mark Brown wrote: On Tue, Mar 11, 2014 at 07:25:45PM -0400, Matt Porter wrote: On Tue, Mar 11, 2014 at 10:45:17PM +, Lee Jones wrote: Are there any inter-patch dependencies in the set? If so, we should know about them so we can coordinate a

Re: [PATCH v3 2/5] mfd: add bcm590xx pmu driver

2014-03-11 Thread Matt Porter
On Tue, Mar 11, 2014 at 10:45:17PM +, Lee Jones wrote: Add a driver for the BCM590xx PMU multi-function devices. The driver initially supports regmap initialization and instantiation of the voltage regulator device function of the PMU. Signed-off-by: Matt Porter

Re: [PATCH v3 2/5] mfd: add bcm590xx pmu driver

2014-03-11 Thread Mark Brown
On Tue, Mar 11, 2014 at 07:25:45PM -0400, Matt Porter wrote: On Tue, Mar 11, 2014 at 10:45:17PM +, Lee Jones wrote: Are there any inter-patch dependencies in the set? If so, we should know about them so we can coordinate a sensible solution. Yes, the regulator driver (3/5) that Mark

Re: [PATCH] xz: make XZ_DEC_BCJ filters non-optional

2014-03-11 Thread Phillip Lougher
On 05/03/14 16:24, Lasse Collin wrote: On 2014-03-05 Phillip Lougher wrote: (BTW Kyle you should have CC'd me on the patch as a courtesy). I could have done that too but somehow I didn't, sorry. np But speaking as the Squashfs author, the lack of BCJ support for an architecture creates

[patch 8/8] memcg: sanitize __mem_cgroup_try_charge() call protocol

2014-03-11 Thread Johannes Weiner
Some callsites pass a memcg directly, some callsites pass a mm that first has to be translated to an mm. This makes for a terrible function interface. Just push the mm-to-memcg translation into the respective callsites and always pass a memcg to mem_cgroup_try_charge(). Signed-off-by: Johannes

Re: [PATCH 5/9] powerpc/85xx: disable irq by hardware when suspend for 64-bit

2014-03-11 Thread Scott Wood
On Fri, 2014-03-07 at 12:58 +0800, Chenhui Zhao wrote: In 64-bit mode, kernel just clears the irq soft-enable flag in struct paca_struct to disable external irqs. But, in the case of suspend, irqs should be disabled by hardware. Therefore, hook a function to ppc_md.suspend_disable_irqs to

Re: [PATCH] KVM: SVM: fix cr8 intercept window

2014-03-11 Thread Marcelo Tosatti
On Tue, Mar 11, 2014 at 07:11:18PM +0100, Radim Krčmář wrote: We always disable cr8 intercept in its handler, but only re-enable it if handling KVM_REQ_EVENT, so there can be a window where we do not intercept cr8 writes, which allows an interrupt to disrupt a higher priority task. Fix this

Re: linux-next: manual merge of the staging tree with the tree

2014-03-11 Thread Greg KH
On Wed, Mar 12, 2014 at 01:32:59AM +, Mark Brown wrote: Hi Greg, Today's linux-next merge of the staging tree got a conflict in drivers/staging/cxt1e1/linux.c between commit 084b6e7765b95 (staging/cxt1e1/linux.c: Correct arbitrary memory write in c4_ioctl()) from Linus' tree and

Re: [PATCH 4/7] of: configure the platform device dma_mask and dma_pfn_offset

2014-03-11 Thread Rob Herring
On Sun, Mar 9, 2014 at 12:39 AM, Arnd Bergmann a...@arndb.de wrote: On Saturday 08 March 2014, Rob Herring wrote: On Fri, Mar 7, 2014 at 10:02 AM, Arnd Bergmann a...@arndb.de wrote: a) Follow what we do for PCI devices: assume that we can do DMA_MASK(32) on any device, and have drivers call

[PATCH v4 1/5] mfd: add bcm590xx pmu DT binding

2014-03-11 Thread Matt Porter
Add a DT binding for the BCM590xx PMUs. The binding inherits from the generic regulator bindings. Signed-off-by: Matt Porter mpor...@linaro.org Reviewed-by: Tim Kryger tim.kry...@linaro.org Reviewed-by: Markus Mayer markus.ma...@linaro.org --- Documentation/devicetree/bindings/mfd/bcm590xx.txt |

[patch 1/8] mm: memcg: remove unnecessary preemption disabling

2014-03-11 Thread Johannes Weiner
lock_page_cgroup() disables preemption, remove explicit preemption disabling for code paths holding this lock. Signed-off-by: Johannes Weiner han...@cmpxchg.org Acked-by: Michal Hocko mho...@suse.cz --- mm/memcontrol.c | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff

linux-next: manual merge of the staging tree with the tree

2014-03-11 Thread Mark Brown
Hi Greg, Today's linux-next merge of the staging tree got a conflict in arch/arm/boot/dts/imx53-qsb.dts between various commits from the arm-soc tree and commit 17b5001b5143e3b (imx-drm: convert to componentised device support) from the staging tree. I fixed it up (see below) and can carry

Re: [PATCH 1/3] spi: add xtfpga SPI controller driver

2014-03-11 Thread Mark Brown
On Wed, Mar 12, 2014 at 04:59:47AM +0400, Max Filippov wrote: On Wed, Mar 12, 2014 at 4:34 AM, Mark Brown broo...@kernel.org wrote: This driver is not actually compatible with the tlv320aic23 driver since it needs 8 bit words, you need to at least support that. You don't need That's

[patch 4/8] mm: memcg: push !mm handling out to page cache charge function

2014-03-11 Thread Johannes Weiner
Only page cache charges can happen without an mm context, so push this special case out of the inner core and into the cache charge function. An ancient comment explains that the mm can also be NULL in case the task is currently being migrated, but that is not actually true with the current case,

[PATCH v2] perf/x86/uncore: fix compilation warning in snb_uncore_imc_init_box()

2014-03-11 Thread Stephane Eranian
This patch fixes a compilation problem (unused variable) with the new SNB/IVB/HSW uncore IMC code. In V2, we simplify the fix as suggested by Peter Zjilstra. Reported-by: Stephen Rothwell s...@canb.auug.org.au Signed-off-by: Stephane Eranian eran...@google.com -- diff --git

Re: [PATCH 3.4 30/99] PCI: Enable INTx if BIOS left them disabled

2014-03-11 Thread Greg Kroah-Hartman
On Sat, Mar 08, 2014 at 06:50:30AM -0700, Bjorn Helgaas wrote: [+cc Andreas] On Fri, Mar 7, 2014 at 6:07 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: 3.4-stable review patch. If anyone has any objections, please let me know. Let's hold off on this for a bit. Andreas found

Re: [PATCH 3/9] powerpc/rcpm: add RCPM driver

2014-03-11 Thread Scott Wood
On Fri, 2014-03-07 at 12:57 +0800, Chenhui Zhao wrote: diff --git a/arch/powerpc/platforms/85xx/corenet_generic.c b/arch/powerpc/platforms/85xx/corenet_generic.c index b756f3d..3fdf9f3 100644 --- a/arch/powerpc/platforms/85xx/corenet_generic.c +++

[PATCH v4 2/5] mfd: add bcm590xx pmu driver

2014-03-11 Thread Matt Porter
Add a driver for the BCM590xx PMU multi-function devices. The driver initially supports regmap initialization and instantiation of the voltage regulator device function of the PMU. Signed-off-by: Matt Porter mpor...@linaro.org Reviewed-by: Tim Kryger tim.kry...@linaro.org Reviewed-by: Markus

Re: [PATCH 1/2] Tracepoint API doc update: data argument

2014-03-11 Thread Mathieu Desnoyers
- Original Message - From: Steven Rostedt rost...@goodmis.org To: Mathieu Desnoyers mathieu.desnoy...@efficios.com Cc: linux-kernel@vger.kernel.org, Ingo Molnar mi...@kernel.org, Frederic Weisbecker fweis...@gmail.com, Andrew Morton a...@linux-foundation.org Sent: Tuesday, March 11,

Re: [PATCH 2/3] spi: sh-msiof: Convert to spi core auto_runtime_pm framework

2014-03-11 Thread Magnus Damm
On Wed, Mar 12, 2014 at 1:32 AM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: On Tuesday 11 March 2014 17:23:37 Geert Uytterhoeven wrote: Hi Laurent, On Tue, Mar 11, 2014 at 4:55 PM, Laurent Pinchart wrote: Does this require drivers/sh/pm_runtime.c to be compiled in ? Let's

Re: [PATCH 4/9] powerpc/85xx: support CPU hotplug for e500mc and e5500

2014-03-11 Thread Scott Wood
On Fri, 2014-03-07 at 12:58 +0800, Chenhui Zhao wrote: diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c index ac2621a..f3f4401 100644 --- a/arch/powerpc/kernel/smp.c +++ b/arch/powerpc/kernel/smp.c @@ -405,8 +405,12 @@ void generic_cpu_die(unsigned int cpu) for (i

Re: [PATCH 3.4 00/99] 3.4.83-stable review

2014-03-11 Thread Greg Kroah-Hartman
On Sun, Mar 09, 2014 at 05:50:21AM +0900, Satoru Takeuchi wrote: At Sat, 08 Mar 2014 09:10:00 -0800, Guenter Roeck wrote: On 03/08/2014 08:18 AM, Greg Kroah-Hartman wrote: On Sat, Mar 08, 2014 at 06:35:52AM -0800, Guenter Roeck wrote: On 03/08/2014 01:47 AM, Satoru Takeuchi wrote:

Re: [PATCH 3.4 00/99] 3.4.83-stable review

2014-03-11 Thread Greg Kroah-Hartman
On Sat, Mar 08, 2014 at 09:10:00AM -0800, Guenter Roeck wrote: On 03/08/2014 08:18 AM, Greg Kroah-Hartman wrote: On Sat, Mar 08, 2014 at 06:35:52AM -0800, Guenter Roeck wrote: On 03/08/2014 01:47 AM, Satoru Takeuchi wrote: At Fri, 7 Mar 2014 17:06:56 -0800, Greg Kroah-Hartman wrote:

Re: [PATCH 7/9] fsl: add EPU FSM configuration for deep sleep

2014-03-11 Thread Scott Wood
On Fri, 2014-03-07 at 12:58 +0800, Chenhui Zhao wrote: From: Hongbo Zhang hongbo.zh...@freescale.com In the last stage of deep sleep, software will trigger a Finite State Machine (FSM) to control the hardware precedure, such as board isolation, killing PLLs, removing power, and so on.

[PATCH 4/6] cputime: Fix jiffies based cputime assumption on steal accounting

2014-03-11 Thread Frederic Weisbecker
The steal guest time accounting code assumes that cputime_t is based on jiffies. So when CONFIG_NO_HZ_FULL=y, which implies that cputime_t is based on nsecs, steal_account_process_tick() passes the delta in jiffies to account_steal_time() which then accounts it as if it's a value in nsecs. As a

[PATCH 6/6] arch: Remove stub cputime.h headers

2014-03-11 Thread Frederic Weisbecker
Many architectures have a stub cputime.h that only include the default cputime.h Lets remove the useless headers, we only need to mention that we want the default headers on the Kbuild files. Cc: Archs linux-a...@vger.kernel.org Cc: Ingo Molnar mi...@kernel.org Cc: Marcelo Tosatti

Re: [PATCH] usb: gadget: tcm_usb_gadget: stop format strings

2014-03-11 Thread Felipe Balbi
On Tue, Mar 11, 2014 at 01:26:16PM -0700, Kees Cook wrote: This makes sure that the name coming out of configfs cannot be used accidentally as a format string. Signed-off-by: Kees Cook keesc...@chromium.org --- drivers/usb/gadget/tcm_usb_gadget.c |2 +- 1 file changed, 1 insertion(+),

[PATCH 2/6] cputime: Default implementation of nsecs - cputime conversion

2014-03-11 Thread Frederic Weisbecker
The architectures that override cputime_t (s390, ppc) don't provide any version of nsecs_to_cputime(). Indeed this cputime_t implementation by backend only happens when CONFIG_VIRT_CPU_ACCOUNTING_NATIVE=y under which the core code doesn't make any use of nsecs_to_cputime(). At least for now. We

Re: [PATCH] PNPACPI: proper handling ACPI IO/Memory resources

2014-03-11 Thread Rafael J. Wysocki
On Tuesday, March 11, 2014 10:40:27 PM Zhang Rui wrote: Before commit b355cee88e3b1a193f0e9a81db810f6f83ad728b, if acpi_dev_resource_memory()/acpi_dev_resource_io() returns false, it means the the resource is not a memeory/IO resource. But after commit

linux-next: manual merge of the usb tree with the tree

2014-03-11 Thread Mark Brown
Hi Greg, Today's linux-next merge of the usb tree got a conflict in between commit 22f6a0f0e3549 (usb: move hub init and LED blink work to power efficient workqueue) from the usb tree and commit 77fa83cf747820 (usb: don't use PREPARE_DELAYED_WORK) from the workqueues tree. I fixed it up (see

[PATCH v4 0/5] BCM59056 PMU regulator support

2014-03-11 Thread Matt Porter
The BCM59056 is a multi-function power management unit used with the BCM281xx family of SoCs. This series adds an MFD and voltage regulator driver to support the BCM59056. The bcm28155-ap DT support is updated to enable use of regulators on the otg and sdhci peripherals. Changes since v3:

Re: [PATCH v3 1/2] Staging: comedi: addi-data: Fix long CamelCase function names

2014-03-11 Thread Fred Akers
On Wednesday, March 12, 2014 01:06:27 AM Hartley Sweeten wrote: On Tuesday, March 11, 2014 3:19 PM, Fred Akers wrote: This patch fixes a few function names that are very long and are not in the correct naming style Signed-off-by: Fred Akers kni...@botops.net Fred, I pulled Greg's

Re: [PATCH 6/9] powerpc/85xx: support sleep feature on QorIQ SoCs with RCPM

2014-03-11 Thread Scott Wood
On Fri, 2014-03-07 at 12:58 +0800, Chenhui Zhao wrote: In sleep mode, the clocks of e500 cores and unused IP blocks is turned off. The IP blocks which are allowed to wake up the processor are still running. The sleep mode is equal to the Standby state in Linux. Use the command to enter

[patch 0/8] memcg: charge path cleanups

2014-03-11 Thread Johannes Weiner
Hi Andrew, here are some cleanups and refactoring efforts of the memcg charge path for 3.15 from Michal and me. mm/memcontrol.c | 319 +++--- 1 file changed, 112 insertions(+), 207 deletions(-) -- To unsubscribe from this list: send the line

[PATCH 1/6] cputime: Fix nsecs_to_cputime() return type cast

2014-03-11 Thread Frederic Weisbecker
Even though nsec based cputime_t maps to u64, nsecs_to_cputime() must return a cputime_t value. We want to enforce this kind of cast in order to track down buggy manipulations of cputime_t such as direct access of its values under wrong assumptions on its backend type (nsecs, jiffies, etc...) by

Re: [PATCH 1/2] Tracepoint API doc update: data argument

2014-03-11 Thread Steven Rostedt
On Mon, 10 Mar 2014 21:04:57 -0400 Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: Describe the @data argument (probe private data). Fixes: 38516ab59fbc tracing: Let tracepoints have data passed to tracepoint callbacks CC: Steven Rostedt rost...@goodmis.org CC: Ingo Molnar

[PATCH 3/6] cputime: Bring cputime - nsecs conversion

2014-03-11 Thread Frederic Weisbecker
We already have nsecs_to_cputime(). Now we need to be able to convert the other way around in order to fix a bug on steal time accounting. Cc: Ingo Molnar mi...@kernel.org Cc: Marcelo Tosatti mtosa...@redhat.com Cc: Peter Zijlstra pet...@infradead.org Cc: Thomas Gleixner t...@linutronix.de

Re: [PATCH] ASoC: simple-card: overwrite DAIFMT_MASTER of cpu_dai-fmt

2014-03-11 Thread Nicolin Chen
On Tue, Mar 11, 2014 at 01:25:53PM +, Mark Brown wrote: On Tue, Mar 11, 2014 at 08:54:32PM +0800, Nicolin Chen wrote: Adding Jyri who's been looking at this as well but not added anyone else working on simple-card so you might've missed his mails. It's pretty fair to do it for

[PATCH 5/6] sched: Remove needless round trip nsecs - tick conversion of steal time

2014-03-11 Thread Frederic Weisbecker
When update_rq_clock_task() accounts the pending steal time for a task, it converts the steal delta from nsecs to tick then from tick to nsecs. There is no apparent good reason for doing that though because both the task clock and the prev steal delta are u64 and store values in nsecs. So lets

Re: [PATCH 1/3] spi: add xtfpga SPI controller driver

2014-03-11 Thread Max Filippov
On Wed, Mar 12, 2014 at 5:11 AM, Mark Brown broo...@kernel.org wrote: On Wed, Mar 12, 2014 at 04:59:47AM +0400, Max Filippov wrote: And tlv320aic23 has the following regmap: const struct regmap_config tlv320aic23_regmap = { .reg_bits = 7, .val_bits = 9, and its SPI

Re: [PATCH 1/3] spi: add xtfpga SPI controller driver

2014-03-11 Thread Mark Brown
On Wed, Mar 12, 2014 at 04:59:47AM +0400, Max Filippov wrote: And tlv320aic23 has the following regmap: const struct regmap_config tlv320aic23_regmap = { .reg_bits = 7, .val_bits = 9, and its SPI interface accordingly does the following in .probe:

Re: mm: kernel BUG at mm/swap.c:609!

2014-03-11 Thread Bob Liu
On 03/12/2014 04:07 AM, Sasha Levin wrote: Hi all, While fuzzing with trinity inside a KVM tools guest running latest -next kernel I've stumbled on the following spew: [ 477.301955] kernel BUG at mm/swap.c:609! [ 477.302564] invalid opcode: [#1] PREEMPT SMP DEBUG_PAGEALLOC [

[PATCH v2] usb: gadget: tcm_usb_gadget: stop format strings

2014-03-11 Thread Kees Cook
This makes sure that the name coming out of configfs cannot be used accidentally as a format string. Signed-off-by: Kees Cook keesc...@chromium.org Cc: sta...@vger.kernel.org --- v2: - with stable cc; Felipe Balbi. --- drivers/usb/gadget/tcm_usb_gadget.c |2 +- 1 file changed, 1

RE: [PATCH v3 1/2] Staging: comedi: addi-data: Fix long CamelCase function names

2014-03-11 Thread Hartley Sweeten
On Tuesday, March 11, 2014 3:19 PM, Fred Akers wrote: This patch fixes a few function names that are very long and are not in the correct naming style Signed-off-by: Fred Akers kni...@botops.net --- .../comedi/drivers/addi-data/hwdrv_apci035.c | 58 +--

RE: [PATCH v3 1/2] Staging: comedi: addi-data: Fix long CamelCase function names

2014-03-11 Thread Hartley Sweeten
On Tuesday, March 11, 2014 3:19 PM, Fred Akers wrote: This patch fixes a few function names that are very long and are not in the correct naming style Signed-off-by: Fred Akers kni...@botops.net Fred, I pulled Greg's staging tree to see if your patches apply. Patch 1/2 is ok but patch 2/2

[PATCH v3] sched: Fix broken setscheduler()

2014-03-11 Thread Steven Rostedt
I decided to run my tests on linux-next, and my wakeup_rt tracer was broken. After running a bisect, I found that the problem commit was: linux-next commit c365c292d059 sched: Consider pi boosting in setscheduler() And the reason the wake_rt tracer test was failing, was because it had no

Re: [PATCH 1/3] spi: add xtfpga SPI controller driver

2014-03-11 Thread Mark Brown
On Wed, Mar 12, 2014 at 12:20:49AM +0400, Max Filippov wrote: On Tue, Mar 11, 2014 at 11:49 PM, Mark Brown broo...@kernel.org wrote: On Tue, Mar 11, 2014 at 04:44:49PM +0400, Max Filippov wrote: + unsigned long timeout = jiffies + msecs_to_jiffies(100); + while

[PATCH v4 5/5] ARM: dts: add bcm590xx pmu support and enable for bcm28155-ap

2014-03-11 Thread Matt Porter
Add a dtsi to support the BCM590xx PMUs used by the BCM281xx family of SoCs. Enable regulators for use with the dwc2 and sdhci on bcm28155-ap. Signed-off-by: Tim Kryger tim.kry...@linaro.org Signed-off-by: Matt Porter mpor...@linaro.org Reviewed-by: Markus Mayer markus.ma...@linaro.org ---

Re: [PATCH 9/9] powerpc/pm: support deep sleep feature on T1040

2014-03-11 Thread Scott Wood
On Fri, 2014-03-07 at 12:58 +0800, Chenhui Zhao wrote: From: Zhao Chenhui chenhui.z...@freescale.com T1040 supports deep sleep feature, which can switch off most parts of the SoC when it is in deep sleep mode. This way, it becomes more energy-efficient. The DDR controller will also be

[patch 7/8] memcg: do not replicate get_mem_cgroup_from_mm in __mem_cgroup_try_charge

2014-03-11 Thread Johannes Weiner
From: Michal Hocko mho...@suse.cz __mem_cgroup_try_charge duplicates get_mem_cgroup_from_mm for charges which came without a memcg. The only reason seems to be a tiny optimization when css_tryget is not called if the charge can be consumed from the stock. Nevertheless css_tryget is very cheap

linux-next: build failure after merge of the kvm tree

2014-03-11 Thread Mark Brown
Hi all, After merging the kvm tree, today's linux-next build (20140311) failed like this: /home/broonie/next/next/arch/x86/kvm/vmx.c: In function 'nested_vmx_setup_ctls_msrs': /home/broonie/next/next/arch/x86/kvm/vmx.c:2292:2: error: implicit declaration of function 'vmx_mpx_supported

[GIT PULL] timers updates for 3.15

2014-03-11 Thread Frederic Weisbecker
Ingo, Thomas, Please pull the timers/cputime-fix-steal-v2 branch that can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git timers/cputime-fix-steal-v2 It's based on tip:timers/core. The patches are essentially unchanged since the last version

[patch 5/8] memcg: remove unnecessary !mm check from try_get_mem_cgroup_from_mm()

2014-03-11 Thread Johannes Weiner
Users pass either a mm that has been established under task lock, or use a verified current-mm, which means the task can't be exiting. Signed-off-by: Johannes Weiner han...@cmpxchg.org Acked-by: Michal Hocko mho...@suse.cz --- mm/memcontrol.c | 7 --- 1 file changed, 7 deletions(-) diff

[patch 6/8] memcg: get_mem_cgroup_from_mm()

2014-03-11 Thread Johannes Weiner
Instead of returning NULL from try_get_mem_cgroup_from_mm() when the mm owner is exiting, just return root_mem_cgroup. This makes sense for all callsites and gets rid of some of them having to fallback manually. Signed-off-by: Johannes Weiner han...@cmpxchg.org Acked-by: Michal Hocko

Re: [PATCH 1/3] spi: add xtfpga SPI controller driver

2014-03-11 Thread Max Filippov
On Wed, Mar 12, 2014 at 5:08 AM, Mark Brown broo...@kernel.org wrote: On Wed, Mar 12, 2014 at 04:59:47AM +0400, Max Filippov wrote: On Wed, Mar 12, 2014 at 4:34 AM, Mark Brown broo...@kernel.org wrote: This driver is not actually compatible with the tlv320aic23 driver since it needs 8 bit

Linux 3.4.83

2014-03-11 Thread Greg KH
I'm announcing the release of the 3.4.83 kernel. All users of the 3.4 kernel series must upgrade. The updated 3.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.4.y and can be browsed at the normal kernel.org git web browser:

linux-next: manual merge of the usb tree with the tree

2014-03-11 Thread Mark Brown
Hi Greg, Today's linux-next merge of the usb tree got a conflict in arch/arm/mach-tegra/Kconfig between commit 06c886a95cbb533 (phy: mvebu-sata: prepare new Dove DT Kconfig variable) from the USB tree and commit ff1f0018cf66 (drivers: Enable building of Kirkwood drivers for mach-mvebu) from

[patch 3/8] mm: memcg: inline mem_cgroup_charge_common()

2014-03-11 Thread Johannes Weiner
mem_cgroup_charge_common() is used by both cache and anon pages, but most of its body only applies to anon pages and the remainder is not worth having in a separate function. Signed-off-by: Johannes Weiner han...@cmpxchg.org --- mm/memcontrol.c | 40 1

Re: [PATCH v2] ASoC: cs42888: Add codec driver support

2014-03-11 Thread Nicolin Chen
Hi Brian, On Wed, Mar 12, 2014 at 02:05:00AM +, Austin, Brian wrote: On Mar 11, 2014, at 13:46, Mark Brown broo...@kernel.org wrote: On Tue, Mar 11, 2014 at 04:55:58PM +0100, Lars-Peter Clausen wrote: On 03/11/2014 04:41 PM, Brian Austin wrote: So WRT the CS42888, this is

Re: [PATCH 1/2] Tracepoint API doc update: data argument

2014-03-11 Thread Steven Rostedt
On Wed, 12 Mar 2014 00:52:33 + (UTC) Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: - Original Message - From: Steven Rostedt rost...@goodmis.org To: Mathieu Desnoyers mathieu.desnoy...@efficios.com Cc: linux-kernel@vger.kernel.org, Ingo Molnar mi...@kernel.org,

Re: [PATCH v2] ASoC: cs42888: Add codec driver support

2014-03-11 Thread Austin, Brian
On Mar 11, 2014, at 13:46, Mark Brown broo...@kernel.org wrote: On Tue, Mar 11, 2014 at 04:55:58PM +0100, Lars-Peter Clausen wrote: On 03/11/2014 04:41 PM, Brian Austin wrote: So WRT the CS42888, this is one device in a series of 2 devices that are register compatible with the only

Re: [PATCH 1/6] cputime: Fix nsecs_to_cputime() return type cast

2014-03-11 Thread Frederic Weisbecker
On Thu, Mar 06, 2014 at 01:57:17PM -0500, Rik van Riel wrote: On 03/06/2014 12:56 PM, Frederic Weisbecker wrote: Even though nsec based cputime_t maps to u64, nsecs_to_cputime() must return a cputime_t value. We want to enforce this kind of cast in order to track down buggy manipulations of

Re: [RFC][PATCH 0/7] locking: qspinlock

2014-03-11 Thread Dave Chinner
On Mon, Mar 10, 2014 at 04:42:36PM +0100, Peter Zijlstra wrote: Hi Waiman, I promised you this series a number of days ago; sorry for the delay I've been somewhat unwell :/ That said, these few patches start with a (hopefully) simple and correct form of the queue spinlock, and then

Re: [PATCH v2] x86, calgary: use 8M TCE table size by default

2014-03-11 Thread WANG Chao
On 03/10/14 at 10:26pm, Jon Mason wrote: On Mon, Mar 10, 2014 at 8:54 AM, Muli Ben-Yehuda m...@cs.technion.ac.il wrote: Patch looks good to me. Acked-by: Muli Ben-Yehuda mu...@mulix.org Me too (just in case you want us both). Acked-by: Jon Mason jdma...@kudzu.us Thanks for review

Re: [PATCH 3.4 00/99] 3.4.83-stable review

2014-03-11 Thread Guenter Roeck
On 03/11/2014 05:04 PM, Greg Kroah-Hartman wrote: Can you possibly add me to the cc: of your introductory e-mail announcing new stable releases ? Sometimes it seems to get lost and isn't available on any of the 'common' archives (this one did not make it to lkml, for example, and many of the

Re: [RFC PATCH] mmc: core: Invoke sdio func driver's PM callbacks from the sdio bus

2014-03-11 Thread Aaron Lu
Hi Chuansheng Chuanxiao, Can you please help us testing this patch on your platform and let us know the test result? Thanks. -Aaron On 02/28/2014 07:49 PM, Ulf Hansson wrote: The sdio func device is added to the driver model after the card device. This means the sdio func device will be

[PATCH] poll/wait/md: allow module to safely support 'poll' on /proc files

2014-03-11 Thread NeilBrown
The md driver currently supports 'poll' on /proc/mdstat. This is unsafe as if the md-mod module is removed while a 'poll' or 'select' is outstanding on /proc/mdstat, an oops occurs when the syscall completes. poll_freewait() will call remove_wait_queue() on a wait_queue_head_t which was local to

Re: [PATCH] poll/wait/md: allow module to safely support 'poll' on /proc files

2014-03-11 Thread Andrew Morton
On Wed, 12 Mar 2014 13:36:38 +1100 NeilBrown ne...@suse.de wrote: The md driver currently supports 'poll' on /proc/mdstat. This is unsafe as if the md-mod module is removed while a 'poll' or 'select' is outstanding on /proc/mdstat, an oops occurs when the syscall completes. poll_freewait()

[PATCH v2] ASoC: simple-card: overwrite cpu_dai-fmt with codec_dai-fmt

2014-03-11 Thread Nicolin Chen
The current simple-card driver separates the daimft for cpu_dai and codec_dai. So we might get different values for them (0x4003 and 0x1003 for example): asoc-simple-card sound-cs42888.12: cpu : 2024000.esai / 4003 / 13200 asoc-simple-card sound-cs42888.12: codec : cs42888 / 1003 / 24576000

Re: [PATCH] hwmon, k10temp: Add support for AMD F16 M30h processor

2014-03-11 Thread Guenter Roeck
On 03/11/2014 02:25 PM, Aravind Gopalakrishnan wrote: Adding new PCI ID to support AMD F16 M30h processor (Mullins). While at it, modify Kconfig and Doc files to reflect the support for newer processors Note: PCI ID for this processor will make it into pci_ids.h as part of this patch:

Re: [PATCH] poll/wait/md: allow module to safely support 'poll' on /proc files

2014-03-11 Thread NeilBrown
On Tue, 11 Mar 2014 20:03:31 -0700 Andrew Morton a...@linux-foundation.org wrote: On Wed, 12 Mar 2014 13:36:38 +1100 NeilBrown ne...@suse.de wrote: The md driver currently supports 'poll' on /proc/mdstat. This is unsafe as if the md-mod module is removed while a 'poll' or 'select' is

Re: [RFC][PATCH 0/7] locking: qspinlock

2014-03-11 Thread Steven Rostedt
On Wed, 12 Mar 2014 13:31:53 +1100 Dave Chinner da...@fromorbit.com wrote: So either this patchset doesn't work right now, or there's something else broken in the tip/master tree... I've found a few things broken with the tip master tree. Anyway, I'm not sure the patches are even there. The

RE: [PATCHv3 resend 1/3] ASoC: codec: Simplify ASoC probe code.

2014-03-11 Thread li.xi...@freescale.com
Subject: Re: [PATCHv3 resend 1/3] ASoC: codec: Simplify ASoC probe code. On Tue, Mar 11, 2014 at 12:43:20PM +0800, Xiubo Li wrote: For some CODEC drivers like who act as the MFDs children are ignored by this patch. Applied all, thanks. I'd generally recommend about putting things like

Re: [RFC][PATCH 0/7] locking: qspinlock

2014-03-11 Thread Waiman Long
On 03/11/2014 06:45 AM, Ingo Molnar wrote: * Peter Zijlstrapet...@infradead.org wrote: Hi Waiman, I promised you this series a number of days ago; sorry for the delay I've been somewhat unwell :/ That said, these few patches start with a (hopefully) simple and correct form of the queue

Re: [PATCHv2 1/2] bridge: multicast: add sanity check for general query destination

2014-03-11 Thread David Miller
From: Linus Lüssing linus.luess...@web.de Date: Mon, 10 Mar 2014 22:25:24 +0100 General IGMP and MLD queries are supposed to have the multicast link-local all-nodes address as their destination according to RFC2236 section 9, RFC3376 section 4.1.12/9.1, RFC2710 section 8 and RFC3810 section

Re: [PATCHv2 2/2] bridge: multicast: enable snooping on general queries only

2014-03-11 Thread David Miller
From: Linus Lüssing linus.luess...@web.de Date: Mon, 10 Mar 2014 22:25:25 +0100 Without this check someone could easily create a denial of service by injecting multicast-specific queries to enable the bridge snooping part if no real querier issuing periodic general queries is present on the

Re: [PATCH 3/5] ARM: dts: exynos4x12: Add GPS_ALIVE power domain

2014-03-11 Thread Chanwoo Choi
Hi Tomasz, On 03/11/2014 09:28 PM, Tomasz Figa wrote: Hi Chanwoo, On 11.03.2014 08:54, Chanwoo Choi wrote: This patch add GPS_ALIVE power domain for Exynos4x12 SoC. GPS_ALIVE power domain include GPS_BLK for GPS IP. Exynos SoC used generic power-domain driver to control power domain.

Re: [PATCH 1/5] ARM: dts: exynos4x12: Add ADC's dt data to read raw data

2014-03-11 Thread Chanwoo Choi
Hi Tomasz, On 03/11/2014 09:20 PM, Tomasz Figa wrote: Hi Chanwoo, On 11.03.2014 08:54, Chanwoo Choi wrote: This patch add ADC(Analog to Digital Converter)'s dt data to get raw data with IIO subsystem. Usually, ADC is used to check temperature, jack type, and so on. 8 --- Register

Re: [alsa-devel] [PATCH] ASoC: simple-card: overwrite DAIFMT_MASTER of cpu_dai-fmt

2014-03-11 Thread Kuninori Morimoto
Hi Mark asoc-simple-card sound-cs42888.12: cpu : 2024000.esai / 4003 / 13200 asoc-simple-card sound-cs42888.12: codec : cs42888 / 1003 / 24576000 asoc-simple-card sound-cs42888.12: cs42888 - 2024000.esai mapping ok cpu = 4003 : SND_SOC_DAIFMT_CBS_CFS | SND_SOC_DAIFMT_LEFT_J

RE: [RFC PATCH] mmc: core: Invoke sdio func driver's PM callbacks from the sdio bus

2014-03-11 Thread Dong, Chuanxiao
Hi Aaron, This patch is tested on Intel platform, and SDIO function driver's suspend/resume callback will only be called once, which fixed this issue. Previously, they can be called twice. Here is the tested-by: Tested-by: xiaoming wang xiaoming.w...@intel.com Tested-by: Chuanxiao Dong

Re: [alsa-devel] [PATCH] ASoC: simple-card: overwrite DAIFMT_MASTER of cpu_dai-fmt

2014-03-11 Thread Nicolin Chen
Hi Morimoto-san, On Tue, Mar 11, 2014 at 08:36:22PM -0700, Kuninori Morimoto wrote: Hi Mark asoc-simple-card sound-cs42888.12: cpu : 2024000.esai / 4003 / 13200 asoc-simple-card sound-cs42888.12: codec : cs42888 / 1003 / 24576000 asoc-simple-card sound-cs42888.12: cs42888 -

[PATCH] x86, smp: fix misleading native_stop_other_cpus() description

2014-03-11 Thread Xie XiuQi
The description should be for native_stop_other_cpus() instead of smp_reboot_interrupt(). Signed-off-by: Xie XiuQi xiexi...@huawei.com --- arch/x86/kernel/smp.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/x86/kernel/smp.c b/arch/x86/kernel/smp.c index

Re: linux-next: build failure after merge of the driver-core tree

2014-03-11 Thread Benjamin Herrenschmidt
On Tue, 2014-03-11 at 18:50 -0700, Greg KH wrote: On Wed, Mar 12, 2014 at 12:51:52AM +, Mark Brown wrote: Hi Greg, After merging the driver-core tree, today's linux-next build () failed like this on a PowerPC defconfig: HEAD is now at ceb98e684dec Merge remote-tracking branch

Re: [RESEND] Fast TSC calibration fails with v3.14-rc1 and later

2014-03-11 Thread joeyli
Hi Julian, 於 二,2014-03-11 於 18:15 +0100,Julian Wollrath 提到: Am Tue, 11 Mar 2014 14:56:41 +0100 (CET) schrieb Thomas Gleixner t...@linutronix.de: Ok, via bisecting I found commit 73f7d1ca32638028e3271f54616773727e2f9f26 (see below) to be the one that introduced this regression.

Re: [PATCH 3/9] powerpc/rcpm: add RCPM driver

2014-03-11 Thread Chenhui Zhao
On Tue, Mar 11, 2014 at 06:42:51PM -0500, Scott Wood wrote: On Fri, 2014-03-07 at 12:57 +0800, Chenhui Zhao wrote: diff --git a/arch/powerpc/platforms/85xx/corenet_generic.c b/arch/powerpc/platforms/85xx/corenet_generic.c index b756f3d..3fdf9f3 100644 ---

<    3   4   5   6   7   8   9   10   11   12   >