Re: [alsa-devel] [PATCHv1 1/8] ALSA: Add SAI SoC Digital Audio Interface driver.

2013-10-17 Thread Lars-Peter Clausen
On 10/17/2013 03:37 PM, Timur Tabi wrote: Lars-Peter Clausen wrote: Maybe I've been out of the loop for too long, but why is that a particular problem with this driver? It is usually something you'd want to check in general to make sure that you don't have multiple device that access the

Re: [PATCH 1/2] vmsplice: unmap gifted pages for recipient

2013-10-17 Thread Robert Jennings
* Vlastimil Babka (vba...@suse.cz) wrote: On 10/07/2013 10:21 PM, Robert C Jennings wrote: Introduce use of the unused SPLICE_F_MOVE flag for vmsplice to zap pages. When vmsplice is called with flags (SPLICE_F_GIFT | SPLICE_F_MOVE) the writer's gift'ed pages would be zapped. This

Re: [PATCH] netfilter: fix ordering of jumpstack allocation and table update

2013-10-17 Thread Eric Dumazet
On Thu, 2013-10-17 at 14:24 +0100, Will Deacon wrote: During kernel stability testing on an SMP ARMv7 system, Yalin Wang reported the following panic from the netfilter code: On weakly ordered memory architectures, the writes to table-private and newinfo-jumpstack from CPU1 can be observed

Re: [PATCH v2 0/4] Exynos 5410 Dual cluster support

2013-10-17 Thread Tarek Dakhran
On 17.10.2013 17:04, Aliaksei Katovich wrote: hi Kevin; Vyacheslav Tyrtov v.tyr...@samsung.com writes: The series of patches represent support of Exynos 5410 SoC The Exynos 5410 is the first Samsung SoC based on bigLITTLE architecture. Patches allow all 8 CPU cores (4 x A7 and 4 x

Re: [PATCH 1/2] vmsplice: unmap gifted pages for recipient

2013-10-17 Thread Robert Jennings
* Dave Hansen (d...@sr71.net) wrote: On 10/07/2013 01:21 PM, Robert C Jennings wrote: spd.partial[page_nr].offset = loff; spd.partial[page_nr].len = this_len; + spd.partial[page_nr].useraddr = index PAGE_CACHE_SHIFT; len -= this_len;

Re: [PATCH] kmod: Run usermodehelpers only on cpus allowed for kthreadd

2013-10-17 Thread Frederic Weisbecker
On Wed, Oct 16, 2013 at 02:44:28PM +, Christoph Lameter wrote: This is a follow on patch related to the earlier discussion about restricting the spawning of kernel threads. See https://lkml.org/lkml/2013/9/5/426 usermodehelper() threads can currently run on all processors. This is

Re: [RESEND PATCH v2 2/6] ARM: dts: Specify clocks for UARTs on bcm11351

2013-10-17 Thread Mark Rutland
On Wed, Oct 16, 2013 at 10:47:06PM +0100, Tim Kryger wrote: Rather than declaring the frequency of the external clock, specify the label of the clock such that the driver may determine the frequency on its own. Nit: we're not specifying the label of the clock. Clocks are represented py a

Re: [PATCHv3] mmc: atmel-mci: add vmmc-supply support

2013-10-17 Thread Ulf Hansson
On 17 October 2013 12:46, Alexandre Belloni alexandre.bell...@free-electrons.com wrote: Other MMC hosts handle a regulator named vmmc-supply that allows to power the MMC card or SDIO device before communicating on the bus. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com

Re: [PATCH 2/2] ARM: OMAP4460: cpuidle: WA for ROM bug because of CA9 r2pX gic control register change

2013-10-17 Thread Santosh Shilimkar
On Thursday 17 October 2013 05:24 AM, Grygorii Strashko wrote: On OMAP4+ devices, GIC register context is lost when MPUSS hits the OSWR. On the CPU wakeup path, ROM code gets executed and one of the steps in it is to restore the saved context of the GIC. The ROM code uses GICD != 1 condition

Re: [PATCH v2 1/2] ata: ahci_platform: Manage SATA PHY

2013-10-17 Thread Bartlomiej Zolnierkiewicz
Hi, On Wednesday, October 16, 2013 02:42:52 PM Roger Quadros wrote: From: Balaji T K balaj...@ti.com Some platforms have a PHY hooked up to the SATA controller. The PHY needs to be initialized and powered up for SATA to work. We do that using the PHY framework. [Roger Q] Cleaned up.

Re: [PATCH] x86: Remove WARN_ON(in_nmi()) from vmalloc_fault

2013-10-17 Thread Frederic Weisbecker
On Wed, Oct 16, 2013 at 12:36:32PM -0700, Paul E. McKenney wrote: On Wed, Oct 16, 2013 at 03:08:57PM +0200, Frederic Weisbecker wrote: On Wed, Oct 16, 2013 at 08:45:18AM -0400, Steven Rostedt wrote: On Wed, 16 Oct 2013 13:40:37 +0200 Frederic Weisbecker fweis...@gmail.com wrote:

Re: [PATCH] scsi: BusLogic: Fix an oops when intializing multimaster adapter

2013-10-17 Thread Josh Boyer
On Wed, Sep 25, 2013 at 10:45 AM, Khalid Aziz khalid.a...@oracle.com wrote: This fixes an oops caused by buslogic driver when initializing a BusLogic MultiMaster adapter. Initialization code used scope of a variable incorrectly which created a NULL pointer. Oops message is below: BUG: unable

Re: epoll oops.

2013-10-17 Thread Oleg Nesterov
On 10/16, Eric Wong wrote: Oleg Nesterov o...@redhat.com wrote: Yes. Before that 971316f0503a hack epoll can't even know if the task which did signalfd_poll() exits and frees the active signalfd_wqh. If for example that task forked a child before exit. And the whole RCU logic is only

Re: [PATCH 2/2] vmsplice: Add limited zero copy to vmsplice

2013-10-17 Thread Robert Jennings
* Vlastimil Babka (vba...@suse.cz) wrote: On 10/07/2013 10:21 PM, Robert C Jennings wrote: From: Matt Helsley matt.hels...@gmail.com It is sometimes useful to move anonymous pages over a pipe rather than save/swap them. Check the SPLICE_F_GIFT and SPLICE_F_MOVE flags to see if

Re: [PATCH v2 0/4] Exynos 5410 Dual cluster support

2013-10-17 Thread Tarek Dakhran
On 17.10.2013 17:04, Aliaksei Katovich wrote: hi Kevin; Vyacheslav Tyrtov v.tyr...@samsung.com writes: The series of patches represent support of Exynos 5410 SoC The Exynos 5410 is the first Samsung SoC based on bigLITTLE architecture. Patches allow all 8 CPU cores (4 x A7 and 4 x

Re: [PATCH -next] misc: fix various misc/mic/host/ build errors

2013-10-17 Thread Thierry Reding
On Wed, Oct 16, 2013 at 01:37:27PM -0700, Greg Kroah-Hartman wrote: On Wed, Oct 16, 2013 at 10:30:25PM +0200, Thierry Reding wrote: On Wed, Oct 16, 2013 at 12:44:40PM -0700, Greg Kroah-Hartman wrote: On Wed, Oct 16, 2013 at 12:41:08PM -0700, Randy Dunlap wrote: On 10/16/13 12:26, Greg

Re: [RESEND PATCH v2 4/6] clocksource: kona: Add basic use of external clock

2013-10-17 Thread Mark Rutland
On Wed, Oct 16, 2013 at 10:47:08PM +0100, Tim Kryger wrote: When an clock handle is specified in the device tree, enable it and use it to determine the external clock frequency. I'd drop handle here and just say When a clock is specified. This will need a binding document update.

Re: [RESEND PATCH v2 5/6] ARM: dts: Specify clocks for timer on bcm11351

2013-10-17 Thread Mark Rutland
diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi index 193659c..39c1395 100644 --- a/arch/arm/boot/dts/bcm11351.dtsi +++ b/arch/arm/boot/dts/bcm11351.dtsi @@ -95,7 +95,7 @@ compatible = brcm,kona-timer; reg = 0x35006000 0x1000;

Re: [RFC V4 PATCH 00/15] Signature verification of hibernate snapshot

2013-10-17 Thread Rafael J. Wysocki
On Sunday, September 15, 2013 08:56:46 AM Lee, Chun-Yi wrote: Hi experts, This patchset is the implementation for signature verification of hibernate snapshot image. The origin idea is from Jiri Kosina: Let EFI bootloader generate key-pair in UEFI secure boot environment, then pass it to

Re: [PATCH v2 2/3] arm: Add [U]EFI runtime services support

2013-10-17 Thread Matt Fleming
On Thu, 03 Oct, at 12:24:40PM, Leif Lindholm wrote: +/* + * If you need to (temporarily) support buggy firmware. + */ +#define KEEP_BOOT_SERVICES_REGIONS Have you seen firmware that requires this? I'm just curious more than anything else. +/* + * Returns 1 if 'facility' is enabled, 0

Re: [alsa-devel] [PATCHv1 1/8] ALSA: Add SAI SoC Digital Audio Interface driver.

2013-10-17 Thread Mark Brown
On Thu, Oct 17, 2013 at 03:51:54PM +0200, Lars-Peter Clausen wrote: On 10/17/2013 03:37 PM, Timur Tabi wrote: I understand that, but I'm trying to figure out why of_iomap() is okay for hundreds of other drivers, but not this one. I've used it dozens of times myself, without ever worrying

Re: [RESEND PATCH v2 6/6] mmc: sdhci-bcm-kona: Add basic use of clocks

2013-10-17 Thread Mark Rutland
On Wed, Oct 16, 2013 at 10:47:10PM +0100, Tim Kryger wrote: Enable the external clock needed by the host controller during the probe and disable it during the remove. This requires a biding document update. I note that the binding is already incomplete (it does not describe the interrupts or

Re: [PATCH 2/2] tty/serial: at91: add a fallback option to determine uart/usart property

2013-10-17 Thread Greg Kroah-Hartman
On Thu, Oct 17, 2013 at 10:16:47AM +0200, Nicolas Ferre wrote: On 16/10/2013 22:14, Greg Kroah-Hartman : On Tue, Oct 15, 2013 at 11:19:18AM +0200, Nicolas Ferre wrote: On 14/10/2013 15:59, Jean-Christophe PLAGNIOL-VILLARD : On 10:43 Thu 10 Oct , Nicolas Ferre wrote: On older SoC, the

[PATCH v2] omapdss: Add new panel driver for Topolly td028ttec1 LCD.

2013-10-17 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com Signed-off-by: H. Nikolaus Schaller h...@goldelico.com --- changes from v1: - reworked to be spi driver instead platform with custom spi bitbang this configuration was tested with spi_gpio bitbang driver on gta04 board and works fine (thanks

Re: [PATCH -next] misc: fix various misc/mic/host/ build errors

2013-10-17 Thread Greg Kroah-Hartman
On Thu, Oct 17, 2013 at 04:02:25PM +0200, Thierry Reding wrote: On Wed, Oct 16, 2013 at 01:37:27PM -0700, Greg Kroah-Hartman wrote: On Wed, Oct 16, 2013 at 10:30:25PM +0200, Thierry Reding wrote: On Wed, Oct 16, 2013 at 12:44:40PM -0700, Greg Kroah-Hartman wrote: On Wed, Oct 16, 2013 at

Re: [PATCH v2 2/2] ata: ahci_platform: runtime resume the device before use

2013-10-17 Thread Bartlomiej Zolnierkiewicz
Hi, On Wednesday, October 16, 2013 02:42:53 PM Roger Quadros wrote: On OMAP platforms the device needs to be runtime resumed before it can be accessed. The OMAP HWMOD framework takes care of enabling the module and its resources based on the device's runtime PM state. In this patch we

Re: [PATCH -next] misc: fix various misc/mic/host/ build errors

2013-10-17 Thread Mark Brown
On Thu, Oct 17, 2013 at 04:02:25PM +0200, Thierry Reding wrote: On Wed, Oct 16, 2013 at 01:37:27PM -0700, Greg Kroah-Hartman wrote: Yes, I'll do that as part of my normal tree submission process. Actually, ensuring correct merge order won't be enough, will it? That doesn't magically fixes

Re: [PATCH 1/2] efi: Add asm-generic/efi.h for non-x86

2013-10-17 Thread Matt Fleming
On Thu, 17 Oct, at 01:19:14PM, Matt Fleming wrote: From: Matt Fleming matt.flem...@intel.com From the #ifdef CONFIG_X86 in linux/efi.h it's clear we need a place to declare functions that are implemented differently for each architecture. Since it's only x86 that needs to do special

Re: [PATCH 15/28] dmaengine: k3dma: use DMA_COMPLETE for dma completion status

2013-10-17 Thread zhangfei gao
On Thu, Oct 17, 2013 at 12:28 AM, Vinod Koul vinod.k...@intel.com wrote: Signed-off-by: Vinod Koul vinod.k...@intel.com CC: Zhangfei Gao zhangfei@linaro.org Thanks Vinod Acked-by: Zhangfei Gao zhangfei@linaro.org -- To unsubscribe from this list: send the line unsubscribe linux-kernel

[PATCH 2/2] dma: cppi41: return code 0 of pm_runtime_get_sync() is not an error

2013-10-17 Thread Sebastian Andrzej Siewior
Return code of pm_runtime_get_sync() 0 is not an error and may happen. Noticed during rmmod modprobe testing. Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de --- drivers/dma/cppi41.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/cppi41.c

[PATCH 1/2] dma: cppi41: redo descriptor collection in abort case

2013-10-17 Thread Sebastian Andrzej Siewior
Most of the logic here is try and error since what actually happens does not match the trm or I miss read it. My first assumption was that the queue on which the tear-down descriptor completes (their own complete queue vs active descriptor complete queue) depends on the transfer direction. This

Re: [PATCH 16/28] dmaengine: mmp_tdma: use DMA_COMPLETE for dma completion status

2013-10-17 Thread zhangfei gao
On Thu, Oct 17, 2013 at 12:28 AM, Vinod Koul vinod.k...@intel.com wrote: Signed-off-by: Vinod Koul vinod.k...@intel.com CC: Zhangfei Gao zhangfei@gmail.com Thanks Vinod Acked-by: Zhangfei Gao zhangfei@gmail.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: [PATCH v2] pwm: add ep93xx PWM support

2013-10-17 Thread Thierry Reding
On Tue, Oct 15, 2013 at 06:40:03PM -0700, H Hartley Sweeten wrote: Remove the non-standard EP93xx PWM driver in drivers/misc and add a new driver for the PWM controllers on the EP93xx platform based on the PWM framework. These PWM controllers each support 1 PWM channel with programmable

Re: [PATCH 1/2] dma: cppi41: redo descriptor collection in abort case

2013-10-17 Thread Sebastian Andrzej Siewior
On 10/17/2013 04:19 PM, Sebastian Andrzej Siewior wrote: This patch changes the logic here to look on both queues for the descriptor. Daniel, could please look if this solves your suspend / resume warnings? Sebastian -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

[char-misc] mei: move host_clients_map cleanup to device init

2013-10-17 Thread Tomas Winkler
From: Alexander Usyskin alexander.usys...@intel.com Move host_clients_map cleanup from host client init to device init. This fixes bug where we cleaned up the bitmask that servers as pool for host client ids while file descriptors are kept open during suspend. On resume a new connection will be

Re: [PATCH 1/2] dma: cppi41: redo descriptor collection in abort case

2013-10-17 Thread Daniel Mack
On 10/17/2013 04:20 PM, Sebastian Andrzej Siewior wrote: On 10/17/2013 04:19 PM, Sebastian Andrzej Siewior wrote: This patch changes the logic here to look on both queues for the descriptor. Daniel, could please look if this solves your suspend / resume warnings? Will do (hopefully)

Re: [PATCH -next] misc: fix various misc/mic/host/ build errors

2013-10-17 Thread Thierry Reding
On Thu, Oct 17, 2013 at 03:16:29PM +0100, Mark Brown wrote: On Thu, Oct 17, 2013 at 04:02:25PM +0200, Thierry Reding wrote: On Wed, Oct 16, 2013 at 01:37:27PM -0700, Greg Kroah-Hartman wrote: Yes, I'll do that as part of my normal tree submission process. Actually, ensuring correct

Re: [BUG 3.12.rc4] Oops: unable to handle kernel paging request during shutdown

2013-10-17 Thread Frederic Weisbecker
On Tue, Oct 15, 2013 at 08:40:25AM +0200, Ingo Molnar wrote: * Frederic Weisbecker fweis...@gmail.com wrote: I've been thinking that CONFIG_DEBUG_LIST could help. Unfortunately it's good to spot list APIs misuse but, if Linus is right, the problem may be that the list belongs to an

Re: [PATCH v2 0/4] Exynos 5410 Dual cluster support

2013-10-17 Thread Aliaksei Katovich
hi Tarek; skip However there seem to be some issues with virq allocations, like this: snippet Starting kernel ... [0.00] [c0014d48] (unwind_backtrace+0x0/0xf8) from [c00117d0] (show_stack+0x10/0x14) [0.00] [c00117d0]

Re: [PATCH 01/28] dmaengine: use DMA_COMPLETE for dma completion status

2013-10-17 Thread Sebastian Andrzej Siewior
On Thu, Oct 17, 2013 at 07:37:45AM +0530, Vinod Koul wrote: index 0bc7275..683c380 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h @@ -45,16 +45,17 @@ static inline int dma_submit_error(dma_cookie_t cookie) /** * enum dma_status - DMA transaction status - *

[PATCH v2] perf: disable PERF_RECORD_MMAP2 support

2013-10-17 Thread Stephane Eranian
For now, we disable the extended MMAP record support (MMAP2). We have identified cases where it would not report the correct mapping information, clone(VM_CLONE) but with separate pids. We will revisit the support once we find a solution for this case. The patch changes the kernel to return

Re: [PATCH v3] efivars,efi-pstore: Hold off deletion of sysfs entry until, the scan is completed

2013-10-17 Thread Madper Xie
Oops, It seems my mu4e(a email client for emacs)'s auto-indent breaks the patch... I apologize for this... seiji.agu...@hds.com writes: Hi Madper, I tested this patch on 3.12-rc4. Could you please send me the log when you failed to apply? Seiji -Original Message- From: Madper

Re: [PATCH v2] xhci: fix usb3 streams

2013-10-17 Thread Alan Stern
On Wed, 16 Oct 2013, Sarah Sharp wrote: xhci maintains a radix tree for each stream endpoint because it must be able to map a trb address to the stream ring. Each ring segment must be added to the ring for this to work. Currently xhci sticks only the first segment of each stream

Re: [PATCH v2 2/3] arm: Add [U]EFI runtime services support

2013-10-17 Thread Leif Lindholm
On Thu, Oct 17, 2013 at 03:07:39PM +0100, Matt Fleming wrote: +/* + * If you need to (temporarily) support buggy firmware. + */ +#define KEEP_BOOT_SERVICES_REGIONS Have you seen firmware that requires this? I'm just curious more than anything else. Not really. I _think_ I saw it on a

Re: [PATCH v2 3/4] ARM: EXYNOS: add Exynos Dual Cluster Support

2013-10-17 Thread Dave Martin
On Thu, Oct 17, 2013 at 12:45:29PM +0200, Daniel Lezcano wrote: On 10/14/2013 05:08 PM, Vyacheslav Tyrtov wrote: From: Tarek Dakhran t.dakh...@samsung.com Add EDCS(Exynos Dual Cluster Support) for Samsung Exynos5410 SoC. This enables all 8 cores, 4 x A7 and 4 x A15 run at the same time.

Re: [PATCH 1/2] dma: cppi41: redo descriptor collection in abort case

2013-10-17 Thread Sebastian Andrzej Siewior
On 10/17/2013 04:23 PM, Daniel Mack wrote: Daniel, could please look if this solves your suspend / resume warnings? Will do (hopefully) tomorrow. So this is a replacement for my dma: cppi41: move -EAGAIN in tear_down patch, or does it go on top of it? I applied your three patches and manage

Re: [PATCH v5 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-10-17 Thread srinivas kandagatla
On 17/10/13 15:19, Jean-Christophe PLAGNIOL-VILLARD wrote: On 10:33 Thu 17 Oct , srinivas kandagatla wrote: On 17/10/13 08:27, Maxime COQUELIN wrote: ... + +static struct of_device_id st_i2c_match[] = { + { .compatible = st,comms-ssc-i2c, }, the rules is to put the first soc that

Re: [PATCH 01/28] dmaengine: use DMA_COMPLETE for dma completion status

2013-10-17 Thread Guennadi Liakhovetski
Hi Sebastian On Thu, 17 Oct 2013, Sebastian Andrzej Siewior wrote: On Thu, Oct 17, 2013 at 07:37:45AM +0530, Vinod Koul wrote: index 0bc7275..683c380 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h @@ -45,16 +45,17 @@ static inline int

Re: [PATCH v3 6/7] arm64, jump label: optimize jump label implementation

2013-10-17 Thread Jiang Liu
On 10/17/2013 05:39 PM, Will Deacon wrote: On Wed, Oct 16, 2013 at 06:11:45PM +0100, Jiang Liu wrote: On 10/16/2013 07:46 PM, Will Deacon wrote: + } else { + insn = aarch64_insn_gen_nop(); You could make the code more concise by limiting your patching ability to branch

Re: [RESEND][PATCH] of: add vendor prefix for PHYTEC Messtechnik GmbH

2013-10-17 Thread Rob Herring
On Thu, Oct 17, 2013 at 7:09 AM, Matt Porter matt.por...@linaro.org wrote: Adds PHYTEC to the list of DT vendor prefixes. Signed-off-by: Matt Porter matt.por...@linaro.org --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) Applied. Rob diff

Re: [PATCH 01/28] dmaengine: use DMA_COMPLETE for dma completion status

2013-10-17 Thread Vinod Koul
On Thu, Oct 17, 2013 at 04:27:55PM +0200, Sebastian Andrzej Siewior wrote: On Thu, Oct 17, 2013 at 07:37:45AM +0530, Vinod Koul wrote: index 0bc7275..683c380 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h @@ -45,16 +45,17 @@ static inline int

Backlight enabled by default

2013-10-17 Thread Thierry Reding
While working on integrating backlight functionality with the DRM sub- system, I came across an oddity of sorts. The backlight subsystem seems to have an implicit policy of enabling the backlight device when it's registered. Pretty much every driver seems to do something like this in .probe():

Re: [PATCH -next] misc: fix various misc/mic/host/ build errors

2013-10-17 Thread Greg Kroah-Hartman
On Thu, Oct 17, 2013 at 04:21:39PM +0200, Thierry Reding wrote: On Thu, Oct 17, 2013 at 03:16:29PM +0100, Mark Brown wrote: On Thu, Oct 17, 2013 at 04:02:25PM +0200, Thierry Reding wrote: On Wed, Oct 16, 2013 at 01:37:27PM -0700, Greg Kroah-Hartman wrote: Yes, I'll do that as part of

Re: [PATCH v2 0/9] Extended H/W error log driver

2013-10-17 Thread Chen Gong
On Wed, Oct 16, 2013 at 08:11:17PM +0200, Borislav Petkov wrote: Date: Wed, 16 Oct 2013 20:11:17 +0200 From: Borislav Petkov b...@alien8.de To: Steven Rostedt rost...@goodmis.org, Chen, Gong gong.c...@linux.intel.com Cc: tony.l...@intel.com, j...@perches.com, naveen.n@linux.vnet.ibm.com,

Re: [PATCH 2/2] ARM: OMAP4460: cpuidle: WA for ROM bug because of CA9 r2pX gic control register change

2013-10-17 Thread Grygorii Strashko
On 10/17/2013 04:57 PM, Santosh Shilimkar wrote: On Thursday 17 October 2013 05:24 AM, Grygorii Strashko wrote: On OMAP4+ devices, GIC register context is lost when MPUSS hits the OSWR. On the CPU wakeup path, ROM code gets executed and one of the steps in it is to restore the saved context of

Re: [PATCH] perf, x86: Optimize intel_pmu_pebs_fixup_ip()

2013-10-17 Thread Don Zickus
On Wed, Oct 16, 2013 at 12:57:55PM +0200, Peter Zijlstra wrote: A prettier patch below. The main difference is on-demand allocation of the scratch buffer. --- Subject: perf, x86: Optimize intel_pmu_pebs_fixup_ip() From: Peter Zijlstra pet...@infradead.org Date: Tue, 15 Oct 2013 12:14:04

[PATCH] mm: Check for NULL return values from allocating functions

2013-10-17 Thread Laura Abbott
A security audit revealed that several functions were not checking return value of allocation functions. These allocations may return NULL which may lead to NULL pointer dereferences and crashes or security concerns. Fix this by properly checking the return value and handling the error

[PATCH 1/2] KVM: x86: fix KVM_SET_XCRS for CPUs that do not support XSAVE

2013-10-17 Thread Paolo Bonzini
The KVM_SET_XCRS ioctl must accept anything that KVM_GET_XCRS could return. XCR0's bit 0 is always 1 in real processors with XSAVE, and KVM_GET_XCRS will always leave bit 0 set even if the emulated processor does not have XSAVE. So, KVM_SET_XCRS must ignore that bit when checking for attempts to

[PATCH 0/2] KVM_SET_XCRS fixes

2013-10-17 Thread Paolo Bonzini
The first patch fixes bugs 63121 and 63131 (yeah, all kernel bugs end with 1). The second patch fixes a typo (the same typo exists in QEMU). Paolo Bonzini (2): KVM: x86: fix KVM_SET_XCRS for CPUs that do not support XSAVE KVM: x86: fix KVM_SET_XCRS loop arch/x86/kvm/x86.c | 15

[PATCH 2/2] KVM: x86: fix KVM_SET_XCRS loop

2013-10-17 Thread Paolo Bonzini
The loop was always using 0 as the index. This means that any rubbish after the first element of the array went undetected. It seems reasonable to assume that no KVM userspace did that. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- arch/x86/kvm/x86.c | 4 ++-- 1 file changed, 2

Re: [PATCH] perf, x86: Optimize intel_pmu_pebs_fixup_ip()

2013-10-17 Thread Peter Zijlstra
On Thu, Oct 17, 2013 at 10:49:13AM -0400, Don Zickus wrote: For some reason this patch is page faulting at an invalid address inside __intel_pmu_pebs_event(). Ah yes, I lost a refresh, but read on; I've send a gazillion new emails since ;-) I think it was something like:

Re: [PATCH v5 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-10-17 Thread Lucas Stach
Am Donnerstag, den 17.10.2013, 15:30 +0100 schrieb srinivas kandagatla: [...] Sorry to ask this but, Where is this requirement coming from? I have not spotted any thing as such in ePAPR specs. All the spec says is. === The compatible property value consists of one or more strings that

Re: [PATCH v2 1/7] usb: dwc3: get usb_phy only if the platform indicates the presence of PHY's

2013-10-17 Thread Felipe Balbi
On Wed, Oct 16, 2013 at 04:27:26PM +0300, Roger Quadros wrote: On 10/16/2013 04:10 PM, Kishon Vijay Abraham I wrote: Hi roger, On Wednesday 16 October 2013 06:33 PM, Roger Quadros wrote: Hi Kishon, On 10/15/2013 10:54 PM, Kishon Vijay Abraham I wrote: There can be systems which

Re: [PATCH 3/4] ARM: pinctrl: Add Broadcom Capri pinctrl driver

2013-10-17 Thread Stephen Warren
On 10/17/2013 12:03 AM, Christian Daudt wrote: On Thu, Oct 3, 2013 at 5:23 PM, Sherman Yin s...@broadcom.com wrote: Adds pinctrl driver for Broadcom Capri (BCM281xx) SoCs. Signed-off-by: Sherman Yin s...@broadcom.com Reviewed-by: Christian Daudt b...@fixthebug.org Reviewed-by: Matt Porter

Re: linux-next: manual merge of the kvm-arm tree

2013-10-17 Thread Gleb Natapov
On Wed, Oct 16, 2013 at 12:02:08PM -0700, Christoffer Dall wrote: On 16 October 2013 11:58, Marc Zyngier marc.zyng...@arm.com wrote: On 16/10/13 19:51, Thierry Reding wrote: Today's linux-next merge of the kvm-arm tree got conflicts in arch/arm/kvm/reset.c caused by commits

Re: [tpmdd-devel] TPM patches for 2.13

2013-10-17 Thread Jason Gunthorpe
On Sun, Oct 06, 2013 at 01:31:20PM -0600, Jason Gunthorpe wrote: I've prepared this branch: https://github.com/jgunthorpe/linux/commits/for-tpm dd783708a8c6fd713c784be68fcbcb7000c43c49 Jason Gunthorpe (11): tpm: ibmvtpm: Use %zd formatting for size_t format arguments tpm

Re: [PATCH] drm: never write to the userspace more data than the caller wants

2013-10-17 Thread Pavel Roskin
On Thu, 17 Oct 2013 13:26:47 +0100 Chris Wilson ch...@chris-wilson.co.uk wrote: On Wed, Oct 16, 2013 at 08:12:35PM -0400, Pavel Roskin wrote: The amount of data wanted by the userspace caller is encoded in the ioctl number. Generic drm ioctls were ignoring it. As a result, Intel Xorg

Re: [PATCH v5 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-10-17 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:27 Thu 17 Oct , Maxime COQUELIN wrote: Hi Jean-Christophe, On 10/16/2013 05:14 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: ... + +static inline void st_i2c_set_bits(void __iomem *reg, u32 mask) +{ + writel(readl(reg) | mask, reg); +} + +static inline void

Re: [PATCH] perf, x86: Optimize intel_pmu_pebs_fixup_ip()

2013-10-17 Thread Don Zickus
On Thu, Oct 17, 2013 at 04:51:31PM +0200, Peter Zijlstra wrote: On Thu, Oct 17, 2013 at 10:49:13AM -0400, Don Zickus wrote: For some reason this patch is page faulting at an invalid address inside __intel_pmu_pebs_event(). Ah yes, I lost a refresh, but read on; I've send a gazillion new

Re: [PATCH v3] efivars,efi-pstore: Hold off deletion of sysfs entry until, the scan is completed

2013-10-17 Thread Madper Xie
Hi folks, I tested it on my DELL XPS desktop. And it won't show any warnings when I mounting pstore and deleting pstore items after this patch applied. Tested-by: Madper Xie c...@redhat.com writes: Oops, It seems my mu4e(a email client for emacs)'s auto-indent breaks the patch... I

RE: [PATCH v9 3/7] thermal:boost: Automatic enable/disable of BOOST feature

2013-10-17 Thread Zhang, Rui
-Original Message- From: Lukasz Majewski [mailto:l.majew...@samsung.com] Sent: Tuesday, October 15, 2013 11:43 PM To: Zhang, Rui Cc: Viresh Kumar; Rafael J. Wysocki; Eduardo Valentin; cpuf...@vger.kernel.org; Linux PM list; Jonghwa Lee; Lukasz Majewski; linux-kernel; Bartlomiej

Re: [PATCH] perf, x86: Optimize intel_pmu_pebs_fixup_ip()

2013-10-17 Thread Peter Zijlstra
On Thu, Oct 17, 2013 at 11:03:58AM -0400, Don Zickus wrote: On Thu, Oct 17, 2013 at 04:51:31PM +0200, Peter Zijlstra wrote: On Thu, Oct 17, 2013 at 10:49:13AM -0400, Don Zickus wrote: For some reason this patch is page faulting at an invalid address inside __intel_pmu_pebs_event().

RE: [PATCH v3] efivars,efi-pstore: Hold off deletion of sysfs entry until, the scan is completed

2013-10-17 Thread Seiji Aguchi
Hi Madper, Thank you for assisting me. But, I need to discuss the implementation with Matt more. After the discussion, I will post v4 and ask you to test it. Please wait for a while. Seiji -Original Message- From: Madper Xie [mailto:c...@redhat.com] Sent: Thursday, October 17, 2013

Re: [PATCH] perf, x86: Optimize intel_pmu_pebs_fixup_ip()

2013-10-17 Thread Peter Zijlstra
On Thu, Oct 17, 2013 at 05:09:44PM +0200, Peter Zijlstra wrote: The patches you find in: http://programming.kicks-ass.net/sekrit/patches.tar.bz2 # sha256sum patches.tar.bz2 28e26d4a20004eee231a4c0c6067508a322241046b400a226af1cceed8854bfb patches.tar.bz2 -- To unsubscribe from this list:

Re: [PATCH v4 1/7] arm64: introduce basic aarch64 instruction decoding helpers

2013-10-17 Thread Jiang Liu
Hi Will, Thanks for review and will make those small changes. Gerry On 10/17/2013 06:47 PM, Will Deacon wrote: On Thu, Oct 17, 2013 at 07:19:34AM +0100, Jiang Liu wrote: From: Jiang Liu jiang@huawei.com Introduce basic aarch64 instruction decoding helper aarch64_get_insn_class()

Re: [PATCH v4 2/7] arm64: introduce interfaces to hotpatch kernel and module code

2013-10-17 Thread Jon Medhurst (Tixy)
On Thu, 2013-10-17 at 12:38 +0100, Will Deacon wrote: [adding Tixy for stop_machine() question below] On Thu, Oct 17, 2013 at 07:19:35AM +0100, Jiang Liu wrote: [...] +int __kprobes aarch64_insn_patch_text_sync(void *addrs[], u32 insns[], int cnt) +{ + struct aarch64_insn_patch

Re: [PATCH v2 0/9] Extended H/W error log driver

2013-10-17 Thread Steven Rostedt
On Thu, 17 Oct 2013 10:33:48 -0400 Chen Gong gong.c...@linux.intel.com wrote: Gong, can you try moving the CREATE_TRACE_POINTS line to a new file - arch/x86/ras/ras.c and define it there and not anywhere else, i.e. move it away from edac_mc.c. Does that help? In current kernel we

Re: [PATCH v3 6/7] arm64, jump label: optimize jump label implementation

2013-10-17 Thread Steven Rostedt
On Thu, 17 Oct 2013 22:40:32 +0800 Jiang Liu liu...@gmail.com wrote: You could make the code more concise by limiting your patching ability to branch immediates. Then a nop is simply a branch to the next instruction (I doubt any modern CPUs will choke on this, whereas the architecture

Re: [PATCH 0/2] (Was: perf_event_mmap(vma) !vma-vm_mm)

2013-10-17 Thread Oleg Nesterov
On 10/16, Peter Zijlstra wrote: On Wed, Oct 16, 2013 at 10:58:00PM +0200, Oleg Nesterov wrote: OK. I'll wait for your review on this series, then send the next patch. Those two patches look good; thanks. Thanks, can I have your acks for Ingo ? How about something like so on top? ---

[PATCH 3/2] perf: Optimize the fill/align code in perf_event_mmap_event()

2013-10-17 Thread Oleg Nesterov
1. memset(tmp, 0) and especially kzalloc(PATH_MAX) are suboptimal, we only need to zero-fill the alignment. Remove this memset/__GFP_ZERO and fill the extra bytes by hand. 2. The usage of strncpy(tmp) is not optimal too, we can add the new label and do this in one place. Signed-off-by:

Re: [PATCH 3/4] ARM: pinctrl: Add Broadcom Capri pinctrl driver

2013-10-17 Thread Christian Daudt
On Thu, Oct 17, 2013 at 7:54 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 10/17/2013 12:03 AM, Christian Daudt wrote: On Thu, Oct 3, 2013 at 5:23 PM, Sherman Yin s...@broadcom.com wrote: Adds pinctrl driver for Broadcom Capri (BCM281xx) SoCs. Signed-off-by: Sherman Yin s...@broadcom.com

Re: [PATCH 2/2] tty/serial: at91: add a fallback option to determine uart/usart property

2013-10-17 Thread Nicolas Ferre
On 17/10/2013 16:13, Greg Kroah-Hartman : On Thu, Oct 17, 2013 at 10:16:47AM +0200, Nicolas Ferre wrote: On 16/10/2013 22:14, Greg Kroah-Hartman : On Tue, Oct 15, 2013 at 11:19:18AM +0200, Nicolas Ferre wrote: On 14/10/2013 15:59, Jean-Christophe PLAGNIOL-VILLARD : On 10:43 Thu 10 Oct ,

Re: [PATCH 0/2] (Was: perf_event_mmap(vma) !vma-vm_mm)

2013-10-17 Thread Oleg Nesterov
On 10/17, Oleg Nesterov wrote: - we do not really need len, we can simply do size = strlen(name) + 1; while (size % sizeof(u64)) name[size++] = '\0'; although I won't argue if you dislike size 7 in while(). Or, perhaps,

Re: [PATCH] kmod: Run usermodehelpers only on cpus allowed for kthreadd

2013-10-17 Thread Christoph Lameter
On Thu, 17 Oct 2013, Frederic Weisbecker wrote: - /* We can run anywhere, unlike our parent keventd(). */ - set_cpus_allowed_ptr(current, cpu_all_mask); + /* We can run anywhere kthreadd can run */ + set_kthreadd_affinity(); If you really want your isolated CPUs to be

Re: [PATCH v2 0/9] Extended H/W error log driver

2013-10-17 Thread Borislav Petkov
On Thu, Oct 17, 2013 at 11:25:41AM -0400, Steven Rostedt wrote: On Thu, 17 Oct 2013 10:33:48 -0400 Chen Gong gong.c...@linux.intel.com wrote: Gong, can you try moving the CREATE_TRACE_POINTS line to a new file - arch/x86/ras/ras.c and define it there and not anywhere else, i.e. move

[PATCH RESEND 1/2] tty/serial: at91: fix uart/usart selection for older products

2013-10-17 Thread Nicolas Ferre
Since commit 055560b04a8cd063aea916fd083b7aec02c2adb8 (serial: at91: distinguish usart and uart) the older products which do not have a name field in their register map are unable to use their serial output. As the main console output is usually the serial interface (aka DBGU) it is pretty

[PATCH RESEND 2/2] tty/serial: at91: add a fallback option to determine uart/usart property

2013-10-17 Thread Nicolas Ferre
On older SoC, the name field is not filled in the register map. Fix the way to figure out if the serial port is an uart or an usart for these older products (with corresponding properties). Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/tty/serial/atmel_serial.c | 19

[PATCH] [CRYPTO] kconfig: Corrected a typo

2013-10-17 Thread Siddharth Goel
Corrected a typo in option description in Kconfig Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=60848 Signed-off-by: Siddharth Goel siddharth98...@gmail.com --- crypto/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/crypto/Kconfig b/crypto/Kconfig index

Re: [PATCH v4 2/7] arm64: introduce interfaces to hotpatch kernel and module code

2013-10-17 Thread Jiang Liu
On 10/17/2013 07:38 PM, Will Deacon wrote: [adding Tixy for stop_machine() question below] On Thu, Oct 17, 2013 at 07:19:35AM +0100, Jiang Liu wrote: From: Jiang Liu jiang@huawei.com Introduce three interfaces to patch kernel and module code: aarch64_insn_patch_text_nosync():

[PATCH v3] sound: pci: emu10k1: code refactoring and casting removal

2013-10-17 Thread Geyslan G. Bem
Partially restructures _snd_emu10k1_audigy_init_efx() and _snd_emu10k1_init_efx() functions. Removes useless casting (void *) from value returned by kcalloc; see Documentation/CodingStyle, Chap 14. Signed-off-by: Geyslan G. Bem geys...@gmail.com --- sound/pci/emu10k1/emufx.c | 76

Re: [PATCH] x86: unify copy_from_user() checking

2013-10-17 Thread Arjan van de Ven
On 10/17/2013 2:45 AM, Jan Beulich wrote: Sure: Let's take __tun_chr_ioctl(): While a static function, it gets called with two different values for ifreq_len, both of which are provably (for a human) correct. I don't think, however, that the compiler can be expected to do so on its own in all

Re: [PATCH v4 03/17] clk: at91: add PMC base support

2013-10-17 Thread Nicolas Ferre
On 11/10/2013 09:37, Boris BREZILLON : This patch adds at91 PMC (Power Management Controller) base support. All at91 clocks managed by the PMC unit will use this framework. This framework provides the following fonctionalities: - define a new struct at91_pmc to hide PMC internals (lock, PMC

Re: [PATCH v4 04/17] clk: at91: add PMC macro file for dt definitions

2013-10-17 Thread Nicolas Ferre
On 11/10/2013 10:41, Boris BREZILLON : This patch adds a new macro file for PMC macros. This macro file includes the definitions of SR (status register) bit offsets and will be use to reference PMC irqs. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Acked-by: Nicolas Ferre

Re: [PATCH v2 3/4] ARM: EXYNOS: add Exynos Dual Cluster Support

2013-10-17 Thread Dave Martin
On Mon, Oct 14, 2013 at 07:08:24PM +0400, Vyacheslav Tyrtov wrote: From: Tarek Dakhran t.dakh...@samsung.com Add EDCS(Exynos Dual Cluster Support) for Samsung Exynos5410 SoC. This enables all 8 cores, 4 x A7 and 4 x A15 run at the same time. Signed-off-by: Tarek Dakhran

Re: [PATCH] swap: fix setting PAGE_SIZE blocksize during swapoff/swapon race

2013-10-17 Thread Weijie Yang
On Wed, Oct 16, 2013 at 1:19 AM, Hugh Dickins hu...@google.com wrote: On Tue, 15 Oct 2013, Krzysztof Kozlowski wrote: On Tue, 2013-10-15 at 02:59 -0700, Hugh Dickins wrote: On Mon, 14 Oct 2013, Krzysztof Kozlowski wrote: Fix race between swapoff and swapon resulting in setting blocksize

Re: [PATCH] x86: unify copy_from_user() checking

2013-10-17 Thread Jan Beulich
On 17.10.13 at 17:45, Arjan van de Ven ar...@linux.intel.com wrote: for me, the value of the feature overall is this range checking, not the fixed size part. for fixed size... the chance of the programmer getting it wrong is near zero. the chance of getting one of the checks wrong is much

Re: [PATCH v2] perf: disable PERF_RECORD_MMAP2 support

2013-10-17 Thread David Ahern
On 10/17/13 8:28 AM, Stephane Eranian wrote: For now, we disable the extended MMAP record support (MMAP2). We have identified cases where it would not report the correct mapping information, clone(VM_CLONE) but with separate pids. We will revisit the support once we find a solution for this

Re: [PATCH v5 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-10-17 Thread Lee Jones
On Thu, 17 Oct 2013, Jean-Christophe PLAGNIOL-VILLARD wrote: On 10:33 Thu 17 Oct , srinivas kandagatla wrote: On 17/10/13 08:27, Maxime COQUELIN wrote: ... + +static struct of_device_id st_i2c_match[] = { + { .compatible = st,comms-ssc-i2c, }, the rules is to put the

Re: [PATCH v2] perf: disable PERF_RECORD_MMAP2 support

2013-10-17 Thread Stephane Eranian
On Thu, Oct 17, 2013 at 5:54 PM, David Ahern dsah...@gmail.com wrote: On 10/17/13 8:28 AM, Stephane Eranian wrote: For now, we disable the extended MMAP record support (MMAP2). We have identified cases where it would not report the correct mapping information, clone(VM_CLONE) but with

Re: [PATCH v4 05/17] clk: at91: add PMC main clock

2013-10-17 Thread Nicolas Ferre
On 11/10/2013 10:44, Boris BREZILLON : This patch adds new at91 main oscillator clock implementation using common clk framework. If rate is not provided during clock registration it is calculated using the slow clock (main clk parent in this case) rate and MCFR register. Signed-off-by: Boris

<    5   6   7   8   9   10   11   12   13   14   >