[PATCH 2/6] dmaengine: Add driver for TI DMA crossbar on DRA7x

2015-02-24 Thread Peter Ujfalusi
The DRA7x has more peripherals with DMA requests than the sDMA can handle: 205 vs 127. All DMA requests are routed through the DMA crossbar, which can be configured to route selected incoming DMA requests to specific sDMA request. Signed-off-by: Peter Ujfalusi --- drivers/dma/Kconfig |

[PATCH 3/6] dmaengine: omap-dma: Use defines for dma channels and request count

2015-02-24 Thread Peter Ujfalusi
Instead of magic numbers in the code, use define for number of logical DMA channels and DMA requests. Signed-off-by: Peter Ujfalusi --- drivers/dma/omap-dma.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/dma/omap-dma.c b/drivers/dma/omap-dma.c index 7dd6dd12

[PATCH 0/6] dmaengine/dra7x: DMA router (crossbar support)

2015-02-24 Thread Peter Ujfalusi
Hi, The series adds support for DMA router type of devices. They are used in SoCs which has more peripherals with DMA request lines than the DMA controller can handle. The router itself is not part of the DMA controller and it's operation should be transparent (as it is in the HW) for the SW stack

[PATCH 1/6] dmaengine: of_dma: Support for DMA routers

2015-02-24 Thread Peter Ujfalusi
DMA routers are transparent devices used to mux DMA requests from peripherals to DMA controllers. They are used when the SoC integrates more devices with DMA requests then their controller can handle. DRA7x is one example of such SoC, where the sDMA can hanlde 128 DMA request lines, but in SoC leve

[PATCH 4/6] dmaengine: omap-dma: Take DMA request number from DT if it is available

2015-02-24 Thread Peter Ujfalusi
Use the dma-requests property from DT to get the number of DMA requests. In case of legacy boot or failure to find the property, use the default 127 as number of requests. Signed-off-by: Peter Ujfalusi --- drivers/dma/omap-dma.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-)

Re: [RFC 02/11] i2c: add quirk checks to core

2015-02-24 Thread Wolfram Sang
On Mon, Jan 12, 2015 at 12:08:14PM +, Russell King - ARM Linux wrote: > On Fri, Jan 09, 2015 at 06:21:32PM +0100, Wolfram Sang wrote: > > +static int i2c_quirk_error(struct i2c_adapter *adap, struct i2c_msg *msg, > > char *err_msg) > > +{ > > + dev_err(&adap->dev, "quirk: %s (addr 0x%04x, si

[PATCH] doc: printk-formats: Fix %pU description

2015-02-24 Thread Rasmus Villemoes
The documentation and the code disagrees; fix the former. Signed-off-by: Rasmus Villemoes --- Documentation/printk-formats.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/printk-formats.txt b/Documentation/printk-formats.txt index 5a615c14f75d..79a14a93bdae

Re: [PATCH 4/6] dmaengine: omap-dma: Take DMA request number from DT if it is available

2015-02-24 Thread Russell King - ARM Linux
On Tue, Feb 24, 2015 at 04:21:21PM +0200, Peter Ujfalusi wrote: > Use the dma-requests property from DT to get the number of DMA requests. > In case of legacy boot or failure to find the property, use the default > 127 as number of requests. > > Signed-off-by: Peter Ujfalusi > --- > drivers/dma/

Re: [PATCH] spi: sirf: add reset controller dependency

2015-02-24 Thread Philipp Zabel
Hi Arnd, thanks for taking the time to clean this up. Am Dienstag, den 24.02.2015, 14:02 +0100 schrieb Arnd Bergmann: > On Tuesday 24 February 2015 16:50:18 Mark Brown wrote: > > On Mon, Feb 23, 2015 at 11:01:18PM +0100, Arnd Bergmann wrote: > > > On Saturday 21 February 2015 18:44:58 Mark Brown

Re: [PATCH 5/6] dmaengine: omap-dma: Remove mapping between virtual channels and requests

2015-02-24 Thread Russell King - ARM Linux
On Tue, Feb 24, 2015 at 04:21:22PM +0200, Peter Ujfalusi wrote: > Do not direct map the virtual channels to sDMA request number. When the > sDMA is behind of a crossbar this direct mapping can cause situations when > certain channel can not be requested since the crossbar request number > will no l

Re: [PATCH 4/6] dmaengine: omap-dma: Take DMA request number from DT if it is available

2015-02-24 Thread Peter Ujfalusi
On 02/24/2015 04:25 PM, Russell King - ARM Linux wrote: > On Tue, Feb 24, 2015 at 04:21:21PM +0200, Peter Ujfalusi wrote: >> Use the dma-requests property from DT to get the number of DMA requests. >> In case of legacy boot or failure to find the property, use the default >> 127 as number of reques

Re: [PATCH 0/2] cpusets,isolcpus: resolve conflict between cpusets and isolcpus

2015-02-24 Thread Mike Galbraith
On Tue, 2015-02-24 at 09:13 -0500, Rik van Riel wrote: > On the other hand, any CPU that is isolated with isolcpus= > probably wants nohz_full... Not here. I isolate (via cpusets) for a 60 core rt load, but it's not single task/core, and doesn't like the nohz_full overhead. -Mike --

Re: [PATCH] perf tools: Fix pthread_attr_setaffinity_np build error

2015-02-24 Thread Josh Boyer
On Tue, Feb 24, 2015 at 8:52 AM, Adrian Hunter wrote: > On 24/02/15 15:32, Josh Boyer wrote: >> On Tue, Feb 24, 2015 at 5:46 AM, Adrian Hunter >> wrote: >>> Feature detection for pthread_attr_setaffinity_np was failing, >>> producing this error: >>> >>> In file included from bench/futex-hash.c:1

Re: [PATCH 2/4] i2c: sunxi: Add Reduced Serial Bus (RSB) DT bindings documentation

2015-02-24 Thread Chen-Yu Tsai
On Tue, Feb 24, 2015 at 10:17 PM, Arnd Bergmann wrote: > On Tuesday 24 February 2015 22:01:26 Chen-Yu Tsai wrote: >> On Tue, Feb 24, 2015 at 6:37 PM, Arnd Bergmann wrote: >> > On Tuesday 24 February 2015 18:29:02 Chen-Yu Tsai wrote: >> >> >> >> + rsb@01f03400 { >> >> + compati

Re: [PATCH] net: cadence: Enable MACB driver for ARM64

2015-02-24 Thread Jean-Christophe PLAGNIOL-VILLARD
> On Feb 24, 2015, at 3:45 PM, Michal Simek wrote: > > This driver is used on new Xilinx ZynqMP SoC. > > Signed-off-by: Michal Simek > Acked-by: Sören Brinkmann > --- > > drivers/net/ethernet/cadence/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers

Re: [PATCH] ARM64: Add new Xilinx ZynqMP SoC

2015-02-24 Thread Rob Herring
On Tue, Feb 24, 2015 at 1:56 AM, Michal Simek wrote: > Initial version of device tree for Xilinx ZynqMP SoC. > > Signed-off-by: Michal Simek > Acked-by: Sören Brinkmann > --- [...] > + gic: interrupt-controller@f901 { > + compatible = "arm,cortex-a15-gic

Re: [RFC PATCH] x86, fpu: Use eagerfpu by default on all CPUs

2015-02-24 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/23/2015 09:31 PM, Andy Lutomirski wrote: > On Mon, Feb 23, 2015 at 6:14 PM, Maciej W. Rozycki > wrote: >> That's an interesting case too, although not necessarily related. >> If you say that we always save the FP context eagerly for the >> purp

Re: [PATCH for stable] x86/spinlocks/paravirt: Fix memory corruption on unlock

2015-02-24 Thread Ingo Molnar
* Greg KH wrote: > On Tue, Feb 24, 2015 at 02:54:59PM +0530, Raghavendra K T wrote: > > Paravirt spinlock clears slowpath flag after doing unlock. > > As explained by Linus currently it does: > > prev = *lock; > > add_smp(&lock->tickets.head, TICKET_LOCK_INC); > >

Re: [PATCH] sunrpc: Fix trace events to store data in the struct

2015-02-24 Thread Steven Rostedt
On Tue, 24 Feb 2015 14:19:07 + James Hogan wrote: > Hi Steven, > > On 24/02/15 14:09, Steven Rostedt wrote: > > On Tue, 24 Feb 2015 11:47:56 + > > James Hogan wrote: > > > > > > > >>TP_printk("xprt=0x%p addr=%pIScp pid=%d flags=%s", __entry->xprt, > >> - (struct sockaddr

Re: [RFC v2 0/5] introduce gcma

2015-02-24 Thread Michal Hocko
On Tue 24-02-15 04:54:18, SeongJae Park wrote: [...] > include/linux/cma.h |4 + > include/linux/gcma.h | 64 +++ > mm/Kconfig | 24 + > mm/Makefile |1 + > mm/cma.c | 113 - > mm/gcma.c| 1321 > +

Re: [PATCH 1/2] ASoC: core: Add extra dapm properties for Device Tree

2015-02-24 Thread Mark Brown
On Sat, Feb 14, 2015 at 05:22:49PM -0800, Nicolin Chen wrote: > The current helper functions, snd_soc_of_parse_audio_simple_widgets() > and snd_soc_of_parse_audio_routing(), set dapm_widgets and dapm_routes > without caring if they are already set by using build-in widgets and > routes in the card

Re: [PATCH] sunrpc: Fix trace events to store data in the struct

2015-02-24 Thread Steven Rostedt
On Tue, 24 Feb 2015 08:36:48 -0500 Trond Myklebust wrote: > > diff --git a/include/trace/events/sunrpc.h b/include/trace/events/sunrpc.h > > index b9c1dc6c825a..47dfcaebfaaf 100644 > > --- a/include/trace/events/sunrpc.h > > +++ b/include/trace/events/sunrpc.h > > @@ -503,18 +503,22 @@ TRACE_EVEN

[BISECTED REGRESSION v3.18->v3.19-rc1] drm/i915: failure to poweroff after hibernation

2015-02-24 Thread Bjørn Mork
Hello, My Lenovo Thinkpad X301 has failed to power off after saving the hibernation image ever since v3.19-rc1. This is a regression since v3.18. The regression is still present i v4.0-rc1. The symptoms are: Hibernation proceeds as usual, writing a complete image. But instead of powering off th

Re: [PATCH] spi: xilinx: Use standard num-cs binding

2015-02-24 Thread Mark Brown
On Mon, Feb 23, 2015 at 11:22:02AM +0100, Michal Simek wrote: > On 02/14/2015 06:35 AM, Mark Brown wrote: > > Don't send content free quoted pings, they're just adding to the e-mail > > volume and hence wasting people's time. > How do you want me to send ping on pending patches? > Just send them

Re: [PATCH] clockevents: Add (missing) default case for switch blocks

2015-02-24 Thread Ingo Molnar
* viresh kumar wrote: > On Monday 23 February 2015 10:07 PM, Ingo Molnar wrote:> > > * Viresh Kumar wrote: > > > Ok, could we rename it to something like DETACHED? > > > > 'UNUSED' really gives me the wrong impression - it's what > > we do for unused fields, unused ABI enumertion constants, >

Re: [PATCH] ARM64: Add new Xilinx ZynqMP SoC

2015-02-24 Thread Michal Simek
On 02/24/2015 03:42 PM, Rob Herring wrote: > On Tue, Feb 24, 2015 at 1:56 AM, Michal Simek wrote: >> Initial version of device tree for Xilinx ZynqMP SoC. >> >> Signed-off-by: Michal Simek >> Acked-by: Sören Brinkmann >> --- > > [...] > >> + gic: interrupt-controller@f901 { >

[PATCH] drm/i915: fix failure to power off after hibernate

2015-02-24 Thread Bjørn Mork
This fixes a bug where hibernation completes, but the system fails to power off after the image has been saved. Bisection lead to commit da2bc1b9db33 ("drm/i915: add poweroff_late handler") which added a .poweroff_late hook pointing to the same function as the .freeze_late hook, without any justif

[PATCH 2/3 v4] resource: Add new flag IORESOURCE_MEM_WARN

2015-02-24 Thread Boaz Harrosh
Resource providers set this flag if they want that request_region will print a warning in dmesg if this particular memory resource is locked by a driver. Thous acting as a Protocol Police about experimental devices that did not pass a committee approval. The Only user of this flag is x86/kernel

Re: [PATCH] clockevents: Add (missing) default case for switch blocks

2015-02-24 Thread Viresh Kumar
On 24 February 2015 at 20:24, Ingo Molnar wrote: > And here's the diffstat: Sorry for not providing that :( > arch/arm/common/bL_switcher.c |8 +-- > include/linux/clockchips.h| 48 -- > kernel/time/clockevents.c | 109 > --

Re: [PATCH v3 2/4] scsi: ufs: add debugfs for ufs

2015-02-24 Thread Akinobu Mita
2015-02-23 17:08 GMT+09:00 Gilad Broner : > From: Lee Susman > > Adding debugfs capability for ufshcd. > > debugfs attributes introduced in this patch: > - View driver/controller runtime data > - Command tag statistics for performance analisis > - Dump device descriptor info > - Track recovera

Re: [PATCH V2 2/3] xen: scsiback: add LUN of restored domain

2015-02-24 Thread Boris Ostrovsky
On 02/24/2015 01:06 AM, Juergen Gross wrote: On 02/18/2015 06:02 PM, Boris Ostrovsky wrote: On 02/17/2015 02:02 AM, Juergen Gross wrote: When a xen domain is being restored the LUN state of a pvscsi device is "Connected" and not "Initialising" as in case of attaching a new pvscsi LUN. This mus

Re: [PATCH] efi: fix boundary checking in efi_high_alloc()

2015-02-24 Thread Ard Biesheuvel
On 23 February 2015 at 14:15, Mark Rutland wrote: > Hi Matt, > >> From 1e7295b5d4c5226a160a9167e61b581e388f7f9a Mon Sep 17 00:00:00 2001 >> From: Yinghai Lu >> Date: Thu, 19 Feb 2015 20:18:03 -0800 >> Subject: [PATCH] efi/libstub: Fix boundary checking in efi_high_alloc() >> >> While adding suppo

[PATCH 1/1] drivers/rtc/rtc-s3c.c: Add .needs_src_clk to s3c6410 RTC data

2015-02-24 Thread Javier Martinez Canillas
Commit df9e26d093d3 ("rtc: s3c: add support for RTC of Exynos3250 SoC") added an "rtc_src" DT property to specify the clock used as a source to the S3C real-time clock. Not all SoCs needs this so commit eaf3a659086e ("drivers/rtc/rtc-s3c.c: fix initialization failure without rtc source clock") cha

Дешевая реклама в Интернете (не Директ!)

2015-02-24 Thread Николай Владимиров
Уважаемые коллеги! Реклама в интернете. До 90% во входящие. От 1500р Договор, 100% гарантии, обязательный отчет. Звоните - Восемь (четыре девять девять) Семь Ноль Три - Один Семь Восемь Один (эл.почту уточняйте по телефону) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel

Re: [PATCH for stable] x86/spinlocks/paravirt: Fix memory corruption on unlock

2015-02-24 Thread Greg KH
On Tue, Feb 24, 2015 at 03:47:37PM +0100, Ingo Molnar wrote: > > * Greg KH wrote: > > > On Tue, Feb 24, 2015 at 02:54:59PM +0530, Raghavendra K T wrote: > > > Paravirt spinlock clears slowpath flag after doing unlock. > > > As explained by Linus currently it does: > > > prev = *l

[PATCH v4 3/4] MIPS: LLVMLinux: Fix an 'inline asm input/output type mismatch' error.

2015-02-24 Thread Daniel Sanders
Replace incorrect matching constraint that caused the error with an alternative that still has the required constraints on the inline assembly. This is the error message reported by clang: arch/mips/include/asm/checksum.h:285:27: error: unsupported inline asm: input with type '__be32' (aka 'unsig

[PATCH v2 2/4] MIPS: LLVMLinux: Fix a 'cast to type not present in union' error.

2015-02-24 Thread Daniel Sanders
From: Toma Tabacu Remove a cast to the 'mips16e_instruction' union inside an if condition and instead do an assignment to a local 'union mips16e_instruction' variable's 'full' member before the if statement and use this variable in the if condition. This is the error message reported by clang: a

[PATCH v4 1/4] slab: Correct size_index table before replacing the bootstrap kmem_cache_node.

2015-02-24 Thread Daniel Sanders
This patch moves the initialization of the size_index table slightly earlier so that the first few kmem_cache_node's can be safely allocated when KMALLOC_MIN_SIZE is large. There are currently two ways to generate indices into kmalloc_caches (via kmalloc_index() and via the size_index table in sla

[PATCH v2 0/4] MIPS: LLVMLinux: Patches to enable compilation of a working kernel for MIPS using Clang/LLVM

2015-02-24 Thread Daniel Sanders
When combined with 'MIPS: Changed current_thread_info() to an equivalent ...' (http://www.linux-mips.org/archives/linux-mips/2015-01/msg00070.html) and the target independent LLVMLinux patches, this patch series makes it possible to compile a working kernel for MIPS using Clang. The patches aren't

[PATCH v2 4/4] MIPS: LLVMLinux: Silence variable self-assignment warnings.

2015-02-24 Thread Daniel Sanders
From: Toma Tabacu Remove variable self-assignments. This silences a bunch of -Wself-assign warnings reported by clang. The changed code can be compiled without warnings by both gcc and clang. Signed-off-by: Toma Tabacu Signed-off-by: Daniel Sanders Cc: Ralf Baechle Cc: linux-m...@linux-mips.o

Re: nios2: is the ptrace ABI correct?

2015-02-24 Thread Ezequiel Garcia
Hi Arnd, On 02/24/2015 05:54 AM, Arnd Bergmann wrote: > On Tuesday 24 February 2015 00:04:21 Ezequiel Garcia wrote: >> So, tried a different approach and removed pt_regs from the UAPI ptrace.h, >> replacing it with a new user_regs that describes how registers are passed >> to user. This however is

Re: [RFC PATCH 5/8] KEYS: exec request-key within the requesting task's init namespace

2015-02-24 Thread J. Bruce Fields
On Mon, Feb 23, 2015 at 05:22:12PM -0800, Benjamin Coddington wrote: > That sounds a lot closer to some of the work I've been doing to see if I can > come up with a way to solve the "where's the namespace I need?" problem. > > I agree with Greg's very early comments that the easiest way to determi

[patch v2] sunrpc: integer underflow in rsc_parse()

2015-02-24 Thread Dan Carpenter
If we call groups_alloc() with invalid values then it's might lead to memory corruption. For example, with a negative value then we might not allocate enough for sizeof(struct group_info). Signed-off-by: Dan Carpenter --- v2: In v1, I changed groups_alloc(). The other places which call groups_

Re: RFC: revert 43fa5460fe60

2015-02-24 Thread Steven Rostedt
On Tue, 24 Feb 2015 09:55:09 -0500 Jörn Engel wrote: > Hello Steven! > > I came across a silly problem that tempted me to revert 43fa5460fe60. > We had a high-priority realtime thread woken, TIF_NEED_RESCHED was set > for the running thread and the realtime thread didn't run for >2s. > Problem w

Re: Bisected regression 4.0.0-rc1 No image with RADEON

2015-02-24 Thread Jim Bos
On 02/23/2015 10:31 PM, Deucher, Alexander wrote: >> -Original Message- >> From: Jim Bos [mailto:jim...@xs4all.nl] >> Sent: Monday, February 23, 2015 4:08 PM >> To: linux-kernel@vger.kernel.org >> Cc: Deucher, Alexander >> Subject: Bisected regression 4.0.0-rc1 No image with RADEON >> >> >>

[PATCH 2/3] kconfig: Remove dead code

2015-02-24 Thread Michal Marek
Signed-off-by: Michal Marek --- scripts/kconfig/expr.c | 4 scripts/kconfig/gconf.c | 24 scripts/kconfig/lkc.h | 1 - scripts/kconfig/util.c | 10 -- 4 files changed, 39 deletions(-) diff --git a/scripts/kconfig/expr.c b/scripts/kconfig/expr.c index d

Re: [PATCH 6/9] watchdog: implement error handling for failure to set up hardware perf events

2015-02-24 Thread Don Zickus
On Mon, Feb 23, 2015 at 01:17:34PM -0800, Andrew Morton wrote: > On Thu, 5 Feb 2015 15:40:22 -0500 Don Zickus wrote: > > > From: Ulrich Obergfell > > > > If watchdog_nmi_enable() fails to set up the hardware perf event > > of one CPU, the entire hard lockup detector is deemed unreliable. > > H

[PATCH 3/3] kconfig: Remove unnecessary prototypes from headers

2015-02-24 Thread Michal Marek
Signed-off-by: Michal Marek --- scripts/kconfig/confdata.c | 5 + scripts/kconfig/expr.c | 18 -- scripts/kconfig/expr.h | 5 - scripts/kconfig/lkc.h | 11 --- scripts/kconfig/lkc_proto.h | 3 --- scripts/kconfig/menu.c | 4 ++-- scripts/k

[PATCH 1/3] kconfig: Get rid of the P() macro in headers

2015-02-24 Thread Michal Marek
This was originally meant for dlopen()ing a potential kconfig shared library. The unused dlopen code has already been removed in commit 5a6f8d2b (kconfig: nuke LKC_DIRECT_LINK cruft), so let's remove the rest. The lkc_proto.h change was made with the following sed script: sed -r 's/^P\(([^,]*),

Re: [PATCH RFC 1/4] mm: throttle MADV_FREE

2015-02-24 Thread Michal Hocko
On Tue 24-02-15 17:18:14, Minchan Kim wrote: > Recently, Shaohua reported that MADV_FREE is much slower than > MADV_DONTNEED in his MADV_FREE bomb test. The reason is many of > applications went to stall with direct reclaim since kswapd's > reclaim speed isn't fast than applications's allocation sp

Re: Bisected regression 4.0.0-rc1 No image with RADEON

2015-02-24 Thread Jim Bos
On 02/23/2015 11:51 PM, Deucher, Alexander wrote: >> -Original Message- >> From: Deucher, Alexander >> Sent: Monday, February 23, 2015 4:32 PM >> To: 'Jim Bos'; linux-kernel@vger.kernel.org >> Cc: Grigorev, Slava >> Subject: RE: Bisected regression 4.0.0-rc1 No image with RADEON >> >>>

[PATCH] usb: storage: Fix trivial typo in isd200_log_config()

2015-02-24 Thread Yannick Guerrini
Change 'Supsend' to 'Suspend' Signed-off-by: Yannick Guerrini --- drivers/usb/storage/isd200.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/storage/isd200.c b/drivers/usb/storage/isd200.c index 599d8bf..0761786 100644 --- a/drivers/usb/storage/isd200.c +++ b/dr

Re: [PATCH] ARM: EXYNOS: Handle of_find_device_by_node and kstrdup failures

2015-02-24 Thread Krzysztof Kozlowski
On wto, 2015-02-03 at 18:28 +0100, Krzysztof Kozlowski wrote: > Prevent possible NULL pointer dereference of pointer returned by > of_find_device_by_node(). Handle this by skipping such power domain. > > Additionally fail the init on kstrdup() failure. Such case is actually > not fatal because the

Re: [PATCH 7/9] watchdog: enable the new user interface of the watchdog mechanism

2015-02-24 Thread Don Zickus
On Mon, Feb 23, 2015 at 01:19:46PM -0800, Andrew Morton wrote: > On Thu, 5 Feb 2015 15:40:23 -0500 Don Zickus wrote: > > > From: Ulrich Obergfell > > > > With the current user interface of the watchdog mechanism it is only > > possible to disable or enable both lockup detectors at the same tim

Re: [PATCH] capabilities: Ambient capability set V1

2015-02-24 Thread Serge E. Hallyn
On Mon, Feb 23, 2015 at 11:19:29PM -0600, Serge E. Hallyn wrote: > On Mon, Feb 23, 2015 at 06:15:53PM +, Serge Hallyn wrote: > > Quoting Christoph Lameter (c...@linux.com): > > > On Mon, 23 Feb 2015, Serge E. Hallyn wrote: > > > > > > > > I do not see a problem with dropping privilege since th

Re: [PATCH 3.2 055/152] x86_64, switch_to(): Load TLS descriptors before switching DS and ES

2015-02-24 Thread Denys Vlasenko
On Tue, Feb 17, 2015 at 2:46 AM, Ben Hutchings wrote: > 3.2.67-rc1 review patch. If anyone has any objections, please let me know. > > -- > > From: Andy Lutomirski > > commit f647d7c155f069c1a068030255c300663516420e upstream. > > Otherwise, if buggy user code points DS or ES into

Re: [PATCH] capabilities: Ambient capability set V1

2015-02-24 Thread Christoph Lameter
On Mon, 23 Feb 2015, Andy Lutomirski wrote: > On Feb 23, 2015 8:41 AM, "Christoph Lameter" wrote: > > > > On Mon, 23 Feb 2015, Andy Lutomirski wrote: > > > > > If you set ambient caps and then run a setuid program (without > > > no_new_privs), then the ambient set *must* be cleared by the kernel

Re: [PATCH v1] clk: qcom: Add MSM8916 Global Clock Controller support

2015-02-24 Thread Georgi Djakov
On 02/24/2015 06:49 AM, Archit Taneja wrote: > Hi, [..] >> + >> +static struct freq_tbl ftbl_gcc_mdss_pclk[] = { >> +{ .src = P_DSI0_PHYPLL_DSI }, >> +{ } >> +}; >> + >> +static struct clk_rcg2 pclk0_clk_src = { >> +.cmd_rcgr = 0x4d084, > > This should be 0x4d000. Same reason as above.

Re: [RFC 01/11] i2c: add quirk structure to describe adapter flaws

2015-02-24 Thread Wolfram Sang
On Mon, Jan 19, 2015 at 04:05:15PM +0100, Wolfram Sang wrote: > > > > + struct i2c_adapter_quirks *quirks; > > > }; > > > #define to_i2c_adapter(d) container_of(d, struct i2c_adapter, dev) > > > > > > > I suggest to add const. > > const struct i2c_adapter_quirks *quirks; > > > > also, in

Re: [PATCH] sunrpc: Fix trace events to store data in the struct

2015-02-24 Thread David Ahern
On 2/24/15 7:48 AM, Steven Rostedt wrote: I assume that the %pISpc expects a "struct sockaddr" passed to it as that is what is typecast in the print. We might as well make the ss into that structure instead of a struct sockaddr_storage, as it looks like the storage one is much larger, and we only

Re: [RFC v1 0/5] fs/locks: Use plain percpu spinlocks instead of lglock to protect file_lock

2015-02-24 Thread Daniel Wagner
On 02/20/2015 05:05 PM, Andi Kleen wrote: > Daniel Wagner writes: >> >> I am looking at how to get rid of lglock. Reason being -rt is not too >> happy with that lock, especially that it uses arch_spinlock_t and > > AFAIK it could just use normal spinlock. Have you tried that? I have tried it. At

Re: [PATCH 3.13.y-ckt 100/103] KVM: x86: Fix of previously incomplete fix for CVE-2014-8480

2015-02-24 Thread Kamal Mostafa
On Wed, 2015-02-18 at 16:33 -0800, Kamal Mostafa wrote: > 3.13.11-ckt16 -stable review patch. If anyone has any objections, please let > me know. > > -- > > From: Nadav Amit > > commit 63ea0a49ae0b145b91ff2b070c01b66fc75854b9 upstream. > > STR and SLDT with rip-relative opera

Re: [PATCH v1] clk: qcom: Add MSM8916 Global Clock Controller support

2015-02-24 Thread Georgi Djakov
On 02/24/2015 12:46 AM, Stephen Boyd wrote: > On 02/06/15 10:58, Georgi Djakov wrote: >> [...] [..] >> + >> +/* Vote for GPLL0 to turn on */ >> +regmap_read(regmap, 0x45000, &val); >> +val |= BIT(0); >> +regmap_write(regmap, 0x45000, val); > > Hm.. I guess this is for the CPU to st

Re: [PATCH] capabilities: Ambient capability set V1

2015-02-24 Thread Christoph Lameter
On Tue, 24 Feb 2015, Serge E. Hallyn wrote: > The other way to look at it then is that it's basically as though the > privileged task (which has CAP_SETFCAP) could've just added fI=full to > all binaries on the filesystem; instead it's using the ambient set > so that the risk from fI=full is cont

[PATCH] dcssblk.c : Array index 'i' is used before limits check.

2015-02-24 Thread Ameen Ali
Signed-off-by : Ameen Ali --- drivers/s390/block/dcssblk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/s390/block/dcssblk.c b/drivers/s390/block/dcssblk.c index 96128cb..da21281 100644 --- a/drivers/s390/block/dcssblk.c +++ b/drivers/s390/block/dcssblk.c @@ -547,7

Re: [PATCH] sunrpc: Fix trace events to store data in the struct

2015-02-24 Thread Steven Rostedt
On Tue, 24 Feb 2015 09:03:09 -0700 David Ahern wrote: > On 2/24/15 7:48 AM, Steven Rostedt wrote: > > I assume that the %pISpc expects a "struct sockaddr" passed to it as > > that is what is typecast in the print. We might as well make the ss into > > that structure instead of a struct sockaddr_s

Re: [PATCH v2] spi: qup: Add DMA capabilities

2015-02-24 Thread Stanimir Varbanov
On 02/24/2015 03:56 PM, Mark Brown wrote: > On Tue, Feb 24, 2015 at 03:00:03PM +0200, Stanimir Varbanov wrote: > >> +static void spi_qup_dma_done(void *data) >> +{ >> +struct spi_qup *qup = data; >> + >> +if (atomic_dec_and_test(&qup->dma_outstanding)) >> +complete(&qup->done);

Re: [PATCH v2] spi: qup: Add DMA capabilities

2015-02-24 Thread Ivan T. Ivanov
Hi Stan, On Tue, 2015-02-24 at 15:00 +0200, Stanimir Varbanov wrote: > > #define SPI_MAX_RATE 5000 > @@ -143,6 +147,11 @@ struct spi_qup { > int tx_bytes; > int rx_bytes; > int qup_v1; > + > + int dma_available; This is mor

Re: Re: [PATCH v5] arm: perf: Directly handle SMP platforms with one SPI

2015-02-24 Thread Daniel Thompson
On 23/01/15 17:25, Mark Rutland wrote: > Hi Daniel, > > On Tue, Jan 20, 2015 at 12:25:35PM +, Daniel Thompson wrote: >> Some ARM platforms mux the PMU interrupt of every core into a single >> SPI. On such platforms if the PMU of any core except 0 raises an interrupt >> then it cannot be servic

Re: [PATCH RFC 3/4] mm: move lazy free pages to inactive list

2015-02-24 Thread Michal Hocko
On Tue 24-02-15 17:18:16, Minchan Kim wrote: > MADV_FREE is hint that it's okay to discard pages if memory is > pressure and we uses reclaimers(ie, kswapd and direct reclaim) s@if memory is pressure@if there is memory pressure@ > to free them so there is no worth to remain them in active > anonym

Re: [PATCH v2] leds: fix hibernation on arm when gpio-led used with CPU led trigger

2015-02-24 Thread grygorii.stras...@linaro.org
Hi Bryan, all, On 02/05/2015 04:37 PM, grygorii.stras...@linaro.org wrote: > From: Grygorii Strashko > > Setting a dev_pm_ops suspend/resume pair of callbacks but not a set of > hibernation callbacks means those pm functions will not be > called upon hibernation - that leads to system crash on A

Re: [PATCH] drm/i915: fix failure to power off after hibernate

2015-02-24 Thread Imre Deak
On ti, 2015-02-24 at 15:58 +0100, Bjørn Mork wrote: > This fixes a bug where hibernation completes, but the system > fails to power off after the image has been saved. > > Bisection lead to commit da2bc1b9db33 ("drm/i915: add poweroff_late > handler") which added a .poweroff_late hook pointing to

Re: [tip:sched/core] sched/rt: Reduce rq lock contention by eliminating locking of non-feasible target

2015-02-24 Thread Steven Rostedt
On Sun, 1 Feb 2015 09:52:24 -0800 tip-bot for Tim Chen wrote: > Commit-ID: 80e3d87b2c5582db0ab5e39610ce3707d97ba409 > Gitweb: http://git.kernel.org/tip/80e3d87b2c5582db0ab5e39610ce3707d97ba409 > Author: Tim Chen > AuthorDate: Fri, 12 Dec 2014 15:38:12 -0800 > Committer: Ingo Molnar >

[PATCH] Staging: fbtft remove C99 style comments

2015-02-24 Thread Matteo Semenzato
From: Matteo Semenzato This patch fixes the following error: Do not use C99 // comments Signed-off-by: Matteo Semenzato --- drivers/staging/fbtft/fb_ssd1331.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/staging/fbtft/fb_ssd1331.c

[PATCH] Staging: fbtft: fix style errors

2015-02-24 Thread Matteo Semenzato
From: Matteo Semenzato This patch fixes the following errors: Code indent should use tabs where possible Space prohibited before that ',' Signed-off-by: Matteo Semenzato --- drivers/staging/fbtft/fbtft-core.c | 2 +- drivers/staging/fbtft/fbtft.h | 8 2 files changed, 5 insertion

[PATCH] vgaarb: Stub vga_set_legacy_decoding()

2015-02-24 Thread Alex Williamson
vga_set_legacy_decoding() is defined in drivers/gpu/vga/vgaarb.c, which is only compiled with CONFIG_VGA_ARB. A caller would therefore get an undefined symbol if the VGA arbiter is not enabled. Signed-off-by: Alex Williamson --- I'd like to use this function from vfio-pci to opt-out VGA devices

Re: [PATCH 0/8] Adds Intel FieldsPeak NFC solution driver

2015-02-24 Thread Greg Rose
I'm excited - what's NFC? - Greg On Tue, Feb 24, 2015 at 2:01 AM, Robert Dolca wrote: > This patch adds support for Intel's FieldsPeak NFC solution. > The device is enumerated with ACPI and platform init. > > In order to implement the driver the nci_core_conn_create was > modified in order to re

Re: [PATCH 02/13] x86/microcode/intel: Do the mc_saved_src NULL check first

2015-02-24 Thread Quentin Casasnovas
On Tue, Feb 24, 2015 at 11:37:01AM +0100, Borislav Petkov wrote: > @@ -213,39 +213,46 @@ save_microcode(struct mc_saved_data *mc_saved_data, > /* >* Copy new microcode data. >*/ > - mc_saved_p = kmalloc(mc_saved_count*sizeof(struct microcode_intel *), > + saved_ptr = k

Re: [PATCH 04/13] x86/microcode/intel: Simplify load_ucode_intel_bsp()

2015-02-24 Thread Quentin Casasnovas
On Tue, Feb 24, 2015 at 11:37:03AM +0100, Borislav Petkov wrote: > From: Borislav Petkov > > Don't compute start and end from start and size in order to compute size > again down the path in scan_microcode(). So pass size directly instead > and simplify a bunch. Shorten variable names and remove

[PATCH] Remove redhat'ism from ftrace selftests.

2015-02-24 Thread Dave Jones
usleep(1) is a Red Hat'ism (bizarrely provided by initscripts), that isn't available on other distributions. To make this work elsewhere, convert to using fractional shell sleeps. Signed-off-by: Dave Jones diff --git a/tools/testing/selftests/ftrace/test.d/event/event-enable.tc b/tools/testing/

Re: [ANNOUNCE] 3.18.7-rt2

2015-02-24 Thread Gustavo Bittencourt
On Tue, Feb 24, 2015 at 10:41 AM, Mike Galbraith wrote: > locking, ww_mutex: fix ww_mutex vs self-deadlock > > If the caller already holds the mutex, task_blocks_on_rt_mutex() > returns -EDEADLK, we proceed directly to rt_mutex_handle_deadlock() > where it's instant game over. > > Let ww_mutexes r

Re: [PATCH 03/13] x86/microcode/intel: Get rid of last arg to load_ucode_intel_bsp()

2015-02-24 Thread Quentin Casasnovas
On Tue, Feb 24, 2015 at 11:37:02AM +0100, Borislav Petkov wrote: > From: Borislav Petkov > > Allocate it on the helper's _load_ucode_intel_bsp() stack instead and do > not hand it down. > Going further, could you not even make uci a static global variable and have collect_cpu_info_early() calle

Re: [PATCH 05/13] x86/microcode/intel: Make _save_mc() return the updated saved count

2015-02-24 Thread Quentin Casasnovas
On Tue, Feb 24, 2015 at 11:37:04AM +0100, Borislav Petkov wrote: > From: Borislav Petkov > > ... of microcode patches instead of handing in a pointer which is used > for I/O in an otherwise void function. > > Signed-off-by: Borislav Petkov > --- > arch/x86/kernel/cpu/microcode/intel_early.c |

Re: [PATCH 07/13] x86/microcode/intel: Rename update_match_revision()

2015-02-24 Thread Quentin Casasnovas
On Tue, Feb 24, 2015 at 11:37:06AM +0100, Borislav Petkov wrote: > +++ b/arch/x86/include/asm/microcode_intel.h > @@ -60,8 +60,12 @@ extern int > get_matching_microcode(unsigned int csig, int cpf, void *mc, int rev); > extern int microcode_sanity_check(void *mc, int print_err); > extern int get_

Re: [PATCH 10/13] x86/microcode/intel: Move mc arg last in get_matching_{microcode|sig}

2015-02-24 Thread Quentin Casasnovas
On Tue, Feb 24, 2015 at 11:37:09AM +0100, Borislav Petkov wrote: > @@ -153,16 +152,15 @@ int get_matching_sig(unsigned int csig, int cpf, void > *mc, int rev) > } > > /* > - * return 0 - no update found > - * return 1 - found update > + * Returns 1 if update has been found, 0 otherwise. > */

[GIT PULL] USB fixes for v4.0-rc2

2015-02-24 Thread Felipe Balbi
Hi Greg, Here's my first set of fixes for this -rc. Let me know if you need anything to be changed. cheers The following changes since commit c517d838eb7d07bbe9507871fab3931deccff539: Linux 4.0-rc1 (2015-02-22 18:21:14 -0800) are available in the git repository at: git://git.kernel.org/pu

Re: [PATCH 13/13] x86/microcode/intel: Fix printing of microcode blobs in show_saved_mc()

2015-02-24 Thread Quentin Casasnovas
On Tue, Feb 24, 2015 at 11:37:12AM +0100, Borislav Petkov wrote: > > While at it, make pr_* stuff use "microcode: " prefix for easier > grepping and document how to enable the DEBUG build. > > +++ b/arch/x86/kernel/cpu/microcode/intel_early.c > @@ -16,6 +16,14 @@ > * as published by the Free

Re: [PATCH 08/13] x86/microcode: Consolidate family,model, ... code

2015-02-24 Thread Quentin Casasnovas
On Tue, Feb 24, 2015 at 11:37:07AM +0100, Borislav Petkov wrote: > @@ -159,42 +134,40 @@ static enum ucode_state > matching_model_microcode(struct microcode_header_intel *mc_header, > unsigned long sig) > { > - u8 x86, x86_model; > - u8 x86_ucode, x86_model_ucode; >

Re: [PATCH 0/8] Adds Intel FieldsPeak NFC solution driver

2015-02-24 Thread Greg Rose
On Tue, Feb 24, 2015 at 8:25 AM, Daniel Baluta wrote: > On Tue, Feb 24, 2015 at 6:14 PM, Greg Rose wrote: >> I'm excited - what's NFC? > > > Please don't do top posting. My apologies - my smartphone interface rather sucks sometimes. > > Other than that: > > http://en.wikipedia.org/wiki/Near_fie

[PATCH] binfmt_misc: simplify entry_status()

2015-02-24 Thread Rasmus Villemoes
sprintf() reliably returns the number of characters printed, so we don't need to ask strlen() where we are. Also replace calling sprintf("%02x") in a loop with the much simpler bin2hex(). Signed-off-by: Rasmus Villemoes --- fs/binfmt_misc.c | 30 +- 1 file changed, 9

Re: [PATCH] ARM64: Add new Xilinx ZynqMP SoC

2015-02-24 Thread Rob Herring
On Tue, Feb 24, 2015 at 8:58 AM, Michal Simek wrote: > On 02/24/2015 03:42 PM, Rob Herring wrote: >> On Tue, Feb 24, 2015 at 1:56 AM, Michal Simek >> wrote: >>> Initial version of device tree for Xilinx ZynqMP SoC. >>> >>> Signed-off-by: Michal Simek >>> Acked-by: Sören Brinkmann >>> --- >> >>

Re: [PATCH] dcssblk.c : Array index 'i' is used before limits check.

2015-02-24 Thread Kees Cook
On Tue, Feb 24, 2015 at 7:57 AM, Ameen Ali wrote: > Signed-off-by : Ameen Ali Can you include some text in the commit message body explaining the meaning of the change? (For example 'avoid out-of-bounds-read by checking count before indexing' or something like that?) Reviewed-by: Kees Cook Th

Re: [PATCH 0/8] Adds Intel FieldsPeak NFC solution driver

2015-02-24 Thread Daniel Baluta
On Tue, Feb 24, 2015 at 6:14 PM, Greg Rose wrote: > I'm excited - what's NFC? Please don't do top posting. Other than that: http://en.wikipedia.org/wiki/Near_field_communication Daniel. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majo

[PATCH] unicore32: Remove unnecessary KERN_ERR in fpu-ucf64.c

2015-02-24 Thread Masanari Iida
This patch remove unnecessary KERN_ERR in fpu-ucf64.c. Signed-off-by: Masanari Iida --- arch/unicore32/kernel/fpu-ucf64.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/unicore32/kernel/fpu-ucf64.c b/arch/unicore32/kernel/fpu-ucf64.c index 282a60a..a53343a 100644 -

Re: [GIT PULL] USB fixes for v4.0-rc2

2015-02-24 Thread Greg KH
On Tue, Feb 24, 2015 at 10:22:59AM -0600, Felipe Balbi wrote: > Hi Greg, > > Here's my first set of fixes for this -rc. Let me know if you > need anything to be changed. > > cheers > > The following changes since commit c517d838eb7d07bbe9507871fab3931deccff539: > > Linux 4.0-rc1 (2015-02-22 1

Re: [PATCH] perf: Fix probing for PERF_FLAG_FD_CLOEXEC flag

2015-02-24 Thread David Ahern
On 2/24/15 4:31 AM, Adrian Hunter wrote: How about this: From: Adrian Hunter Date: Tue, 24 Feb 2015 13:20:59 +0200 Subject: [PATCH] perf tools: Fix probing for PERF_FLAG_FD_CLOEXEC flag Commit f6edb53c4993ffe92ce521fb449d1c146cea6ec2 converted the probe to a CPU wide event first (pid == -1). F

Re: [PATCH 0/2] ARM: DRA7x/OMAP5: Clock: DPLL Clock fixes

2015-02-24 Thread Tony Lindgren
* Ravikumar Kattekola [150219 08:13]: > On 1/31/2015 10:36 PM, Ravikumar Kattekola wrote: > >Fix bypass clock source for a few DPLLs. > > > >On DRA7x/OMAP5, for a few DPLLs, both CLKINP and CLKINPULOW are connected > >to a mux and the output from mux is routed to the bypass clkout. > >Add a mux-cl

[PATCH] vhost: drop hard-coded num_buffers size

2015-02-24 Thread Michael S. Tsirkin
The 2 that we use for copy_to_iter comes from sizeof(u16), it used to be that way before the iov iter update. Fix it up, making it obvious the size of stack access is right. Signed-off-by: Michael S. Tsirkin --- drivers/vhost/net.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --

[PATCH -next 01/13] serial: earlycon: Refactor parse_options into serial core

2015-02-24 Thread Peter Hurley
Prepare to support console-defined matching; refactor the command line parameter string processing from parse_options() into a new core function, uart_parse_earlycon(), which decodes command line parameters of the form: earlycon=,io|mmio|mmio32,, console=,io|mmio|mmio32,, earlycon=,0x,

[PATCH -next 07/13] serial: 8250_early: Assume uart already initialized if no baud option

2015-02-24 Thread Peter Hurley
The option string is not supplied if the earlycon is started via devicetree and OF_EARLYCON_DECLARE(). The option string is also not required if started via kernel command line parameters of the form: earlycon=uart,mmio, console=uart,mmio, If earlycon_device->baud is 0, then an option string

<    1   2   3   4   5   6   7   8   9   10   >