Re: [PATCH] timekeeping: Move persistent clock registration code from ARM to kernel

2015-01-09 Thread Daniel Lezcano
On 11/15/2014 01:51 AM, Anatol Pomozov wrote: Hi On Fri, Nov 14, 2014 at 4:18 PM, Thomas Gleixner wrote: On Fri, 14 Nov 2014, Anatol Pomozov wrote: On Thu, Nov 13, 2014 at 2:46 PM, Thomas Gleixner wrote: On Mon, 10 Nov 2014, Anatol Pomozov wrote: On Mon, Nov 10, 2014 at 1:53 AM, Thierry Re

Re: [PATCH] fs/9p: Initialize status in v9fs_file_do_lock.

2015-01-09 Thread Dominique Martinet
Kirill A. Shutemov wrote on Fri, Jan 09, 2015 at 03:20:51PM +0200: > > Your patch will not BUG() if status is junk, BUT if status uninitialized > > value is 0 and p9_client_lock_dotl then we'll return res=0 (success) and > > not unlock before returning. My patch makes sure we'll return -ENOLCK. >

Re: checkpatch wrong error message

2015-01-09 Thread Joe Perches
On Fri, 2015-01-09 at 13:57 +0200, Daniel Baluta wrote: > Hi Joe, > > Running ./scripts/checkpatch on the attached [1] patch i get the > following error: > > ERROR: Please use 12 or more chars for the git commit ID like: 'commit > 01234567890ab ("commit description")' > #6: > After commit b2b49cc

Re: [PATCH] clocksource: tegra: wrap arch/arm-specific sections in CONFIG_ARM

2015-01-09 Thread Thierry Reding
On Fri, Jan 09, 2015 at 02:24:24PM +0100, Daniel Lezcano wrote: > On 01/09/2015 01:21 PM, Thierry Reding wrote: > >On Fri, Jan 09, 2015 at 09:31:08AM +0100, Daniel Lezcano wrote: > >>On 01/09/2015 03:09 AM, Paul Walmsley wrote: > >>>Hello Daniel > >>> > >>>On Thu, 8 Jan 2015, Daniel Lezcano wrote:

Re: [PATCH] clocksource: tegra: wrap arch/arm-specific sections in CONFIG_ARM

2015-01-09 Thread Daniel Lezcano
On 01/09/2015 02:33 PM, Thierry Reding wrote: On Fri, Jan 09, 2015 at 02:24:24PM +0100, Daniel Lezcano wrote: On 01/09/2015 01:21 PM, Thierry Reding wrote: On Fri, Jan 09, 2015 at 09:31:08AM +0100, Daniel Lezcano wrote: On 01/09/2015 03:09 AM, Paul Walmsley wrote: Hello Daniel On Thu, 8 Jan

Re: [PATCH] MPILIB: Fix obvious but harmless typo

2015-01-09 Thread David Howells
Rasmus Villemoes wrote: > The macro MPN_COPY_INCR this occurs in isn't used anywhere. Applied. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htm

Re: Fix for synchronization issue in IPV6 implementation in smack module(v3.18)

2015-01-09 Thread Ahmed S. Darwish
Hi Vishal, On Thu, Jan 08, 2015 at 10:11:52PM +0530, Vishal Goel wrote: > [PATCH] This patch fixes the synchronization issue in IPv6 > implementation. Previously there was no synchronization mechanism used while > accessing(adding/reading/deletion) smk_ipv6_port_list. It could be possible > th

Re: checkpatch wrong error message

2015-01-09 Thread Daniel Baluta
On Fri, Jan 9, 2015 at 3:31 PM, Joe Perches wrote: > On Fri, 2015-01-09 at 13:57 +0200, Daniel Baluta wrote: >> Hi Joe, >> >> Running ./scripts/checkpatch on the attached [1] patch i get the >> following error: >> >> ERROR: Please use 12 or more chars for the git commit ID like: 'commit >> 0123456

Re: [PATCH] clocksource: tegra: wrap arch/arm-specific sections in CONFIG_ARM

2015-01-09 Thread Thierry Reding
On Fri, Jan 09, 2015 at 02:38:39PM +0100, Daniel Lezcano wrote: > On 01/09/2015 02:33 PM, Thierry Reding wrote: > >On Fri, Jan 09, 2015 at 02:24:24PM +0100, Daniel Lezcano wrote: > >>On 01/09/2015 01:21 PM, Thierry Reding wrote: [...] > >>>How about we do something like the attached patch instead f

Re: [PATCH v5][resend v4] of: replace Asahi Kasei Corp vendor prefix

2015-01-09 Thread Rob Herring
On Fri, Jan 9, 2015 at 4:07 AM, Kuninori Morimoto wrote: > > Hi Stephen > > Thank you for your feedback > >> > I'm sending this "of: replace Asahi Kasei Corp vendor prefix" during >> > half-year (since Jun 2014) , many times. But, no-one care it. >> > I don't know who is the best maintainer. >> >

Re: [PATCH tip/core/rcu 01/14] rcu: Protect rcu_boost() lockless accesses with ACCESS_ONCE()

2015-01-09 Thread Paul E. McKenney
On Thu, Jan 08, 2015 at 10:41:54PM -0800, Davidlohr Bueso wrote: > On Thu, 2015-01-08 at 07:22 -0800, Paul E. McKenney wrote: > > > Didn't we just obsolete ACCESS_ONCE with that {READ,WRITE}_ONCE stuff? > > > > Indeed we did! But that was after I did this commit back on October 29th. > > > > I a

Re: [PATCH] ethernet: atheros: Add nss-gmac driver

2015-01-09 Thread Mark Rutland
On Thu, Jan 08, 2015 at 10:03:46PM +, Stephen Wang wrote: > This driver adds support for the internal GMACs on IPQ806x SoCs. > It supports the device-tree and will register up to 4 ethernet > interfaces. > > Signed-off-by: Stephen Wang > --- > drivers/net/ethernet/atheros/Kconfig

[PATCH 3.19.0-rc3 1/1] STAGING: Fix pcl818.c coding style issue

2015-01-09 Thread Simon Guo
Correct coding style problem in pcl818.c. The coding style problems(29 warnings detected by checkpatch.pl) includes: - line over 80 characters - There is space before tabs The changed file has been verified with checkpatch.pl to be clean for warnings/errors. Signed-off-by: Simon Guo --- driver

Re: [PATCH v5][resend v4] of: replace Asahi Kasei Corp vendor prefix

2015-01-09 Thread Arnd Bergmann
On Friday 09 January 2015 07:46:16 Rob Herring wrote: > On Fri, Jan 9, 2015 at 4:07 AM, Kuninori Morimoto > wrote: > > > > Hi Stephen > > > > Thank you for your feedback > > > >> > I'm sending this "of: replace Asahi Kasei Corp vendor prefix" during > >> > half-year (since Jun 2014) , many times.

Re: [PATCH tip/core/rcu 01/14] rcu: Protect rcu_boost() lockless accesses with ACCESS_ONCE()

2015-01-09 Thread Peter Zijlstra
On Fri, Jan 09, 2015 at 05:49:54AM -0800, Paul E. McKenney wrote: > > That reminds me, I think the new conversion for stores will most likely > > introduce silly arg bugs: > > > > - ACCESS_ONCE(a) = b; > > + ASSIGN_ONCE(b, a); > > I was planning to do mine by hand for this sort of rea

Re: [PATCH 1/2] phy: ti-pipe3: Disable clocks on system suspend

2015-01-09 Thread Kishon Vijay Abraham I
Hi Roger, On Friday 19 December 2014 05:35 PM, Roger Quadros wrote: > On system suspend, the runtime_suspend() driver hook doesn't get > called and so the clocks are not disabled in the driver. > This causes the L3INIT_960M_GFCLK and L3INIT_480M_GFCLK to remain > active on the DRA7 platform while

RE: [v3 00/26] Add VT-d Posted-Interrupts support

2015-01-09 Thread Wu, Feng
> -Original Message- > From: j...@8bytes.org [mailto:j...@8bytes.org] > Sent: Friday, January 09, 2015 8:46 PM > To: Wu, Feng > Cc: t...@linutronix.de; mi...@redhat.com; h...@zytor.com; x...@kernel.org; > g...@kernel.org; pbonz...@redhat.com; dw...@infradead.org; > alex.william...@redhat.

Re: [PATCH v9 1/4] drm/i2c: tda998x: Add DT support for audio

2015-01-09 Thread Andrew Jackson
On 01/09/15 13:07, Russell King - ARM Linux wrote: > On Fri, Jan 09, 2015 at 01:54:01PM +0100, Jean-Francois Moine wrote: >> On Fri, 9 Jan 2015 11:45:29 + >> Russell King - ARM Linux wrote: >>> I think we need to understand exactly how the 998x map I2S inputs to the >>> HDMI channels to avoid

Re: [PATCH v2 2/2] phy: ti-pipe3: Fix SATA across suspend/resume

2015-01-09 Thread Kishon Vijay Abraham I
Hi Roger, On Thursday 08 January 2015 04:47 PM, Roger Quadros wrote: > Failed test case: Boot without SATA drive connected. Suspend/resume > the board and then connect SATA drive. It fails to enumerate. > > Due to Errata i783 "SATA Lockup After SATA DPLL Unlock/Relock" > we can't allow SATA DPLL

Re: [PATCH] timekeeping: Move persistent clock registration code from ARM to kernel

2015-01-09 Thread Mark Rutland
On Fri, Jan 09, 2015 at 09:49:14AM +, Thierry Reding wrote: > On Sat, Nov 15, 2014 at 02:38:00AM +0100, Thomas Gleixner wrote: > > On Sat, 15 Nov 2014, Thomas Gleixner wrote: > > > On Fri, 14 Nov 2014, Anatol Pomozov wrote: > > > > On Fri, Nov 14, 2014 at 4:18 PM, Thomas Gleixner > > > > wrot

[PATCH v2] net: fec: fix MDIO bus assignement for dual fec SoC's

2015-01-09 Thread Stefan Agner
On i.MX28, the MDIO bus is shared between the two FEC instances. The driver makes sure that the second FEC uses the MDIO bus of the first FEC. This is done conditionally if FEC_QUIRK_ENET_MAC is set. However, in newer designs, such as Vybrid or i.MX6SX, each FEC MAC has its own MDIO bus. Simply rem

Re: [GIT PULL 0/3] phy: fixes for 3.19 -rc cycle

2015-01-09 Thread Kishon Vijay Abraham I
Hi Greg, On Wednesday 31 December 2014 02:15 PM, Kishon Vijay Abraham I wrote: > Hi Greg, > > Please find the pull request for 3.19 -rc cycle. This contains misc fixes > in PHY drivers. > > Let me know if I have to change something. Can you pick this series for this -rc cyle? Thanks Kishon >

[PATCH] mm: cma: Fix totalcma_pages to include DT defined CMA regions

2015-01-09 Thread George G. Davis
The totalcma_pages variable is not updated to account for CMA regions defined via device tree reserved-memory sub-nodes. Fix this omission by moving the calculation of totalcma_pages into cma_init_reserved_mem() instead of cma_declare_contiguous() such that it will include reserved memory used by

Re: [PATCH v4] bcma: fix two coding style issues, more than 80 characters per line.

2015-01-09 Thread Kalle Valo
Rafał Miłecki writes: > On 7 January 2015 at 19:39, Kalle Valo wrote: >> Rafał Miłecki writes: >> >>> On 7 January 2015 at 18:55, Kalle Valo wrote: Oscar Forner Martinez writes: > Two lines with more than 80 characters per line have been split in > several lines. >

Re: Fwd: Question about kernel interfaces

2015-01-09 Thread Valdis . Kletnieks
On Fri, 09 Jan 2015 18:00:07 +0530, Siddhartha De said: > In what timeframe should we migrate to "pure" sysfs and drop using > any ioctls (if a sysfs interface exists)? Pretty much the answer is "you don't", for the wsame reason that there's still a lot of non-process stuff in /proc - there's no

Re: [PATCH v3 4/4] can: kvaser_usb: Add support for the Usbcan-II family

2015-01-09 Thread Marc Kleine-Budde
On 01/09/2015 04:06 AM, Ahmed S. Darwish wrote: >>> >>> cf->can_id |= CAN_ERR_CRTL; >>> cf->data[1] = CAN_ERR_CRTL_RX_OVERFLOW; >>> >>> stats->rx_over_errors++; >>> stats->rx_errors++; >>> >>> netif_rx(skb); >>> >>> stats->rx_p

Re: [PATCH tip/core/rcu 01/14] rcu: Protect rcu_boost() lockless accesses with ACCESS_ONCE()

2015-01-09 Thread Paul E. McKenney
On Fri, Jan 09, 2015 at 02:56:14PM +0100, Peter Zijlstra wrote: > On Fri, Jan 09, 2015 at 05:49:54AM -0800, Paul E. McKenney wrote: > > > That reminds me, I think the new conversion for stores will most likely > > > introduce silly arg bugs: > > > > > > - ACCESS_ONCE(a) = b; > > > + AS

Re: [PATCH] timekeeping: Move persistent clock registration code from ARM to kernel

2015-01-09 Thread Thierry Reding
On Fri, Jan 09, 2015 at 01:59:07PM +, Mark Rutland wrote: > On Fri, Jan 09, 2015 at 09:49:14AM +, Thierry Reding wrote: > > On Sat, Nov 15, 2014 at 02:38:00AM +0100, Thomas Gleixner wrote: > > > On Sat, 15 Nov 2014, Thomas Gleixner wrote: > > > > On Fri, 14 Nov 2014, Anatol Pomozov wrote: >

Re: [PATCH v8 12/14] x86: perf: intel_pt: Intel PT PMU driver

2015-01-09 Thread Peter Zijlstra
On Fri, Nov 14, 2014 at 03:43:45PM +0200, Alexander Shishkin wrote: > +static __init int pt_init(void) > +{ > + int ret, cpu, prior_warn = 0; > + > + BUILD_BUG_ON(sizeof(struct topa) > PAGE_SIZE); > + get_online_cpus(); > + for_each_online_cpu(cpu) { > + u64 ctl; > + > +

RE: [PATCH 2/2] platform/x86: Add Intel Galileo platform specific setup

2015-01-09 Thread Ong, Boon Leong
> >On 09/01/15 11:17, Bryan O'Donoghue wrote: >>> So this will load on any Quark device, Galileo or not, that doesn't >>> provide a system_id. Is there any reason we need to support 0.8.0 and >>> earlier firmware? >> >> Every Galileo Gen1 device ships with firmware version 0.7.5. You can >> do an E

Re: [PATCH v8 14/14] perf: add ITRACE_START record to indicate that tracing has started

2015-01-09 Thread Peter Zijlstra
On Fri, Nov 14, 2014 at 03:43:47PM +0200, Alexander Shishkin wrote: > +++ b/include/uapi/linux/perf_event.h > @@ -750,6 +750,17 @@ enum perf_event_type { >*/ > PERF_RECORD_AUX = 11, > > + /* > + * Indicates that instruction trace has started > +

Re: [PATCH] serial: 8250: Make ISA ports optional

2015-01-09 Thread Peter Hurley
On 01/09/2015 03:48 AM, Arnd Bergmann wrote: > On Friday 09 January 2015 00:13:28 Peter Hurley wrote: >> On 01/08/2015 05:05 PM, Arnd Bergmann wrote: >>> On Thursday 08 January 2015 11:11:51 Peter Hurley wrote: This interface is just storage and minor allocation, since the port-reuse

Re: [PATCH v8 14/14] perf: add ITRACE_START record to indicate that tracing has started

2015-01-09 Thread Peter Zijlstra
On Fri, Jan 09, 2015 at 03:12:48PM +0100, Peter Zijlstra wrote: > On Fri, Nov 14, 2014 at 03:43:47PM +0200, Alexander Shishkin wrote: > > +++ b/include/uapi/linux/perf_event.h > > @@ -750,6 +750,17 @@ enum perf_event_type { > > */ > > PERF_RECORD_AUX = 11, > > > >

Re: [PATCH 0/3] mm: cma: /proc/cmainfo

2015-01-09 Thread Steven Rostedt
Wow, too much work over the holidays ;-) On Tue, 30 Dec 2014 13:47:26 +0900 Minchan Kim wrote: > Then, I don't think we could keep all of allocations. What we need > is only slow allocations. I hope we can do that with ftrace. > > ex) > > # cd /sys/kernel/debug/tracing > # echo 1 > options/

Re: Linux 3.19-rc3

2015-01-09 Thread Steve Capper
On 9 January 2015 at 12:13, Mark Rutland wrote: > On Thu, Jan 08, 2015 at 12:51:31PM +, Mark Langsdorf wrote: >> On 01/05/2015 07:46 PM, Linus Torvalds wrote: >> > It's a day delayed - not because of any particular development issues, >> > but simply because I was tiling a bathroom yesterday.

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

2015-01-09 Thread Daniel Thompson
On 08/01/15 17:30, Will Deacon wrote: > Hi Daniel, > > Some minor comments below... > > On Wed, Jan 07, 2015 at 12:28:18PM +, 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 inte

Re: [PATCH 11/11] perf/x86/intel: Enable conflicting event scheduling for CQM

2015-01-09 Thread Matt Fleming
On Thu, 08 Jan, at 12:51:17PM, Peter Zijlstra wrote: > On Fri, Nov 14, 2014 at 09:15:12PM +, Matt Fleming wrote: > > +/* > > + * Deallocate the RMIDs from any events that conflict with @event, and > > + * place them on the back of the group list. > > + */ > > +static void intel_cqm_sched_out_ev

Re: [PATCH v2 02/10] locks: have locks_release_file use flock_lock_file to release generic flock locks

2015-01-09 Thread Christoph Hellwig
On Thu, Jan 08, 2015 at 10:34:17AM -0800, Jeff Layton wrote: > ...instead of open-coding it and removing flock locks directly. This > simplifies some coming interim changes in the following patches when > we have different file_lock types protected by different spinlocks. It took me quite a while

[PATCH] drivers: of: Export of_reserved_mem_device_{init,release}

2015-01-09 Thread George G. Davis
Export of_reserved_mem_device_{init,release} so that modules can initialize and release their assigned per-device cma_area. Signed-off-by: George G. Davis --- drivers/of/of_reserved_mem.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/of/of_reserved_mem.c b/drivers/of/of_reserved_

Re: [PATCH v2 04/10] locks: move flock locks to file_lock_context

2015-01-09 Thread Christoph Hellwig
> void ceph_count_locks(struct inode *inode, int *fcntl_count, int > *flock_count) > { > struct file_lock *lock; > + struct file_lock_context *ctx; > > *fcntl_count = 0; > *flock_count = 0; > > + spin_lock(&inode->i_lock); Seems like moving the locking around is un

Re: [PATCH] dmaengine: k3: Fix duplicated function name and allmodconfig build

2015-01-09 Thread Krzysztof Kozlowski
On pon, 2014-12-29 at 14:01 +0100, Krzysztof Kozlowski wrote: > While splitting device control in db08425ebd51 ("dmaengine: k3: > Split device_control") new function with the same 'k3_dma_resume' name > was added, leading to build error: > > drivers/dma/k3dma.c:823:12: error: conflicting types for

Re: [PATCHv2] hwmon: (ina2xx) implement update_interval attribute for ina226

2015-01-09 Thread Guenter Roeck
On 01/09/2015 04:03 AM, Bartosz Golaszewski wrote: This attribute allows to configure the update interval of ina226. Although the bus and shunt voltage conversion times remain hardcoded to 1.1 ms, we can now modify said interval by changing the averaging rate. While we're at it - add an addition

Re: [PATCH 0/3] mm: cma: /proc/cmainfo

2015-01-09 Thread Steven Rostedt
On Fri, 9 Jan 2015 09:19:04 -0500 Steven Rostedt wrote: > task: <...>-2880 > Event: func: __kmalloc() (74) Total: 53254 Avg: 719 Max: 1095 Min:481 I forgot to mention that all times are in nanoseconds (or whatever the trace clock is set at). > | > + ftrace_ops_list_func (

Re: [PATCH] ARM: tegra: Use PMC scratch register 40 for tegra_resume() location store

2015-01-09 Thread Dmitry Osipenko
09.01.2015 13:29, Peter De Schrijver пишет: > On Fri, Jan 09, 2015 at 10:51:35AM +0100, Thierry Reding wrote: >> * PGP Signed by an unknown key >> >> On Thu, Jan 08, 2015 at 02:37:09PM +0200, Peter De Schrijver wrote: >>> On Thu, Jan 08, 2015 at 11:57:43AM +0100, Thierry Reding wrote: > Old Sig

Re: [PATCH v4] bcma: fix two coding style issues, more than 80 characters per line.

2015-01-09 Thread Rafał Miłecki
On 9 January 2015 at 15:03, Kalle Valo wrote: > Rafał Miłecki writes: > >> On 7 January 2015 at 19:39, Kalle Valo wrote: >>> Rafał Miłecki writes: >>> On 7 January 2015 at 18:55, Kalle Valo wrote: > Oscar Forner Martinez writes: > >> Two lines with more than 80 characters per

[PATCH] KVM: x86: amend APIC lowest priority arbitration

2015-01-09 Thread Radim Krčmář
Lowest priority should take the task priority into account. SDM 10.6.2.4 Lowest Priority Delivery Mode. (Too long to quote; second and last paragraphs are relevant.) Before this patch, we strived to have the same amount of handled lowest-priority interrupts on all VCPUs. This is only a complicati

blk-mq v3.18: Oops during virtio_blk hot-unplug

2015-01-09 Thread Sebastian Parschauer
Hi Jens, my colleague Eduardo is sporadically seeing an Oops in blk-mq while running continuous virtio_blk hot-plug/hot-unplug tests with I/O to the device within an x86_64 QEMU/KVM 2.0 Debian Wheezy VM. Please find the call trace attached and the full log here: http://paste.ubuntu.com/9691873/

Re: [PATCH v2 02/10] locks: have locks_release_file use flock_lock_file to release generic flock locks

2015-01-09 Thread Jeff Layton
On Fri, 9 Jan 2015 06:27:23 -0800 Christoph Hellwig wrote: > On Thu, Jan 08, 2015 at 10:34:17AM -0800, Jeff Layton wrote: > > ...instead of open-coding it and removing flock locks directly. This > > simplifies some coming interim changes in the following patches when > > we have different file_lo

[GIT PULL] HID

2015-01-09 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus to receive: = - bounds checking fixes in logitech and roccat drivers, from Peter Wu and Dan Carpenter - double-kfree fix in i2c-hid driver on bus shutdown, from Mika Westerberg - a couple of v

Re: [PATCH v4] bcma: fix two coding style issues, more than 80 characters per line.

2015-01-09 Thread Kalle Valo
Rafał Miłecki writes: >> Rafal, is this the patch I should apply: >> >> https://patchwork.kernel.org/patch/5545021/ >> >> Please confirm. > > That's correct. Thanks. I marked it as 'Under Review' in patchwork and will apply in my next commit round. -- Kalle Valo -- To unsubscribe from this lis

Re: [PATCH] perf: fix building error in x86_64 when dwarf unwind is on

2015-01-09 Thread Jiri Olsa
On Thu, Jan 08, 2015 at 02:09:20PM +0900, Namhyung Kim wrote: SNIP > > --- > > diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf > > index 67a03a82..1f71a32 100644 > > --- a/tools/perf/Makefile.perf > > +++ b/tools/perf/Makefile.perf > > @@ -462,10 +462,12 @@ BUILTIN_OBJS += $(OUTP

Re: [PATCHv2] hwmon: (ina2xx) implement update_interval attribute for ina226

2015-01-09 Thread Bartosz Golaszewski
2015-01-09 15:34 GMT+01:00 Guenter Roeck : > Unfortunately that only applies to INA226 and not INA219, where the time is > static > (at least so far). Oops, I must have missed this one. > I think we'll need to store the time in ina2xx_data and use the old > (constant) > value for ina219. Maybe ad

Re: Linux 3.19-rc3

2015-01-09 Thread Mark Langsdorf
On 01/09/2015 08:19 AM, Steve Capper wrote: On 9 January 2015 at 12:13, Mark Rutland wrote: On Thu, Jan 08, 2015 at 12:51:31PM +, Mark Langsdorf wrote: I'm consistently getting an out of memory killer triggered when compiling the kernel (make -j 16 -s) on a 16 core ARM64 system with 16 GB

Re: [PATCH v2 02/10] locks: have locks_release_file use flock_lock_file to release generic flock locks

2015-01-09 Thread Christoph Hellwig
On Fri, Jan 09, 2015 at 06:42:57AM -0800, Jeff Layton wrote: > > I'd suggest keeping an open coded loop in locks_remove_flock, which > > should both be more efficient and easier to review. > > > > I don't know. On the one hand, I rather like keeping all of the lock > removal logic in a single spo

Re: [PATCH v2 04/10] locks: move flock locks to file_lock_context

2015-01-09 Thread Jeff Layton
On Fri, 9 Jan 2015 06:31:55 -0800 Christoph Hellwig wrote: > > void ceph_count_locks(struct inode *inode, int *fcntl_count, int > > *flock_count) > > { > > struct file_lock *lock; > > + struct file_lock_context *ctx; > > > > *fcntl_count = 0; > > *flock_count = 0; > > > > +

Re: [PATCH v2] clk: Do not complain about correctly set read-only muxes when assigning clock parents from device tree

2015-01-09 Thread Philipp Zabel
Hi Stephen, Am Donnerstag, den 08.01.2015, 13:32 -0800 schrieb Stephen Boyd: [...] > Why not do this in the core? As far as I can tell other drivers could > run into the same problem, no? Does this work? > > -8<--- > > diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c > index f4963b7d4e

Re: [v3 13/26] KVM: Define a new interface kvm_find_dest_vcpu() for VT-d PI

2015-01-09 Thread Radim Krčmář
2014-12-12 23:14+0800, Feng Wu: > This patch defines a new interface kvm_find_dest_vcpu for > VT-d PI, which can returns the destination vCPU of the > interrupt for guests. > > Since VT-d PI cannot handle broadcast/multicast interrupt, > Here we only handle Fixed and Lowest priority interrupts. >

[BUG] perf probe can't insert return kprobe

2015-01-09 Thread Jiri Olsa
hi, I couldn't use following perf command to insert return probe: # perf probe -a fork_exit=do_fork%return Added new event: Failed to write event: Invalid argument Error: Failed to add events. I'm pretty sure I used this command before, so seems like it's broken. I can still use debugf

Re: [PATCH 0/2] Quieten softlockup detector on virtualised kernels

2015-01-09 Thread Don Zickus
On Fri, Jan 09, 2015 at 02:15:00PM +1100, Cyril Bur wrote: > > > > I am not too familar with it, but the kernel/watchdog.c code has calls to > > kvm_check_and_clear_guest_paused(), which is probably a good place to > > start. > > > Ah yes that, I did initially have a look at what it does when I >

Re: [v3 13/26] KVM: Define a new interface kvm_find_dest_vcpu() for VT-d PI

2015-01-09 Thread Paolo Bonzini
On 09/01/2015 15:54, Radim Krčmář wrote: > There are two points relevant to this patch in new KVM's implementation, > ("KVM: x86: amend APIC lowest priority arbitration", > https://lkml.org/lkml/2015/1/9/362) > > 1) lowest priority depends on TPR > 2) there is no need for balancing > > (1) has

Re: [PATCH v9 1/4] drm/i2c: tda998x: Add DT support for audio

2015-01-09 Thread Russell King - ARM Linux
On Fri, Jan 09, 2015 at 01:58:37PM +, Andrew Jackson wrote: > On 01/09/15 13:07, Russell King - ARM Linux wrote: > > On Fri, Jan 09, 2015 at 01:54:01PM +0100, Jean-Francois Moine wrote: > >> On Fri, 9 Jan 2015 11:45:29 + > >> Russell King - ARM Linux wrote: > >>> I think we need to underst

Re: [BUG] perf probe can't insert return kprobe

2015-01-09 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 09, 2015 at 03:55:39PM +0100, Jiri Olsa escreveu: > hi, > I couldn't use following perf command to insert return probe: > > # perf probe -a fork_exit=do_fork%return > Added new event: > Failed to write event: Invalid argument > Error: Failed to add events. Wonder if we have

[GIT PULL] drm: Add Atmel HLCDC driver

2015-01-09 Thread Boris Brezillon
Dave, Thierry, Here is the pull request for the Atmel HLCDC driver and its dependencies (some modifications to drm/core and drm/panel to define output bus format). I'm sending a pull request for this driver for several reasons: * The patch series has been around for 6 months (initial version he

Re: [BUG] perf probe can't insert return kprobe

2015-01-09 Thread David Ahern
On 1/9/15 7:55 AM, Jiri Olsa wrote: hi, I couldn't use following perf command to insert return probe: # perf probe -a fork_exit=do_fork%return Added new event: Failed to write event: Invalid argument Error: Failed to add events. I'm pretty sure I used this command before, so seem

Re: [BUG] perf probe can't insert return kprobe

2015-01-09 Thread David Ahern
On 1/9/15 8:03 AM, Arnaldo Carvalho de Melo wrote: Em Fri, Jan 09, 2015 at 03:55:39PM +0100, Jiri Olsa escreveu: hi, I couldn't use following perf command to insert return probe: # perf probe -a fork_exit=do_fork%return Added new event: Failed to write event: Invalid argument Erro

Re: [PATCH 2/3] xen: correct race in alloc_p2m_pmd()

2015-01-09 Thread David Vrabel
On 08/01/15 17:01, Juergen Gross wrote: > When allocating a new pmd for the linear mapped p2m list a check is > done for not introducing another pmd when this just happened on > another cpu. In this case the old pte pointer was returned which > points to the p2m_missing or p2m_identity page. The co

[PATCH 0/3] tomoyo Makefile cleanup

2015-01-09 Thread Michal Marek
The tomoyo build leaves files in security/tomoyo which are not removed by make clean. Fix this and clean up the Makefile rules a bit. Michal Marek (3): tomoyo: Use bin2c to generate builtin-policy.h tomoyo: Use if_changed when generating builtin-policy.h tomoyo: Do not generate empty policy

Re: [PATCH v2 00/16] tz1090: add clock components

2015-01-09 Thread James Hogan
Hi, On 01/12/14 23:19, James Hogan wrote: > This patchset adds common clock framework support for the TZ1090 SoC. Any further comments on these patches? It'd be nice to be able to get them into v3.20 if possible. Cheers James > > Patch 1 adds common code to simplify TZ1090 clock providers. >

Re: [Xen-devel] [PATCH 3/3] xen: use correct type for physical addresses

2015-01-09 Thread David Vrabel
On 09/01/15 12:56, Jan Beulich wrote: On 09.01.15 at 13:51, wrote: >> On 09/01/15 09:57, Jan Beulich wrote: >> On 08.01.15 at 18:01, wrote: @@ -284,7 +286,7 @@ static void __init xen_update_mem_tables(unsigned long pfn, unsigned long mfn) } /* Update ker

[PATCH 2/3] tomoyo: Use if_changed when generating builtin-policy.h

2015-01-09 Thread Michal Marek
Signed-off-by: Michal Marek --- security/tomoyo/Makefile | 27 ++- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/security/tomoyo/Makefile b/security/tomoyo/Makefile index a6c02a5..ccca034 100644 --- a/security/tomoyo/Makefile +++ b/security/tomoyo/Makefil

[PATCH 3/3] tomoyo: Do not generate empty policy files

2015-01-09 Thread Michal Marek
The Makefile automatically generates the tomoyo policy files, which are not removed by make clean (because they could have been provided by the user). Instead of generating the missing files, use /dev/null if a given file is not provided. Store the default exception_policy in exception_policy.conf.

[PATCH 1/3] tomoyo: Use bin2c to generate builtin-policy.h

2015-01-09 Thread Michal Marek
Signed-off-by: Michal Marek --- security/tomoyo/Kconfig | 1 + security/tomoyo/Makefile | 20 ++-- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/security/tomoyo/Kconfig b/security/tomoyo/Kconfig index 8eb779b9d..f22d115 100644 --- a/security/tomoyo/Kconfig +++

Re: [alsa-devel] [PATCH v2] ALSA: usb-audio: Add support for Akai MPC Element USB MIDI controller

2015-01-09 Thread Paul Bonser
On 01/09/2015 04:26 AM, Takashi Iwai wrote: > At Fri, 09 Jan 2015 09:48:42 +0100, > Clemens Ladisch wrote: >> >> Paul Bonser wrote: >>> On 01/08/2015 03:56 PM, Clemens Ladisch wrote: Paul Bonser wrote: > The Akai MPC Element incorrectly reports its bInterfaceClass as 255, but > other

Re: [PATCH v2 4/8] irqchip: devicetree: document Conexant Digicolor irq binding

2015-01-09 Thread Sergei Shtylyov
Hello. On 1/8/2015 10:40 PM, Baruch Siach wrote: Signed-off-by: Baruch Siach --- .../bindings/interrupt-controller/digicolor-ic.txt | 20 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/digicolor-ic.txt

[PATCH 3/3] ARM: dts: STiH418: Add B2199 board support

2015-01-09 Thread Maxime COQUELIN
B2199 HDK is the reference board for STiH418 SoC. It has the following characteristics: - 3GB DDR3 - 8GB eMMC / SD-Card slot - 32MB NOR Flash - 1 x Gbit Ethernet - 1 x USB3.0 port - 2 x USB2.0 ports - 1 x Sata or Mini-PCIe port - 1 x WiFi 802.11ac (Quantenna) - 1 x HDMI out - 1 x HDMI in

Re: [PATCH 2/5] tty/serial: at91: enable peripheral clock before accessing I/O registers

2015-01-09 Thread Nicolas Ferre
Le 09/12/2014 14:31, Cyrille Pitchen a écrit : > atmel_serial_probe() calls atmel_init_port(). In turn, atmel_init_port() calls > clk_disable_unprepare() to disable the peripheral clock before returning. > > Later atmel_serial_probe() accesses some I/O registers such as the Mode and > Control regi

[PATCH 1/3] ARM: STi: Add STiH418 SoC support

2015-01-09 Thread Maxime COQUELIN
This patch adds support to STiH418 SoC. Signed-off-by: Maxime Coquelin --- Documentation/arm/sti/stih418-overview.txt| 20 Documentation/devicetree/bindings/arm/sti.txt | 4 arch/arm/mach-sti/board-dt.c | 1 + 3 files changed, 25 insertions(+) cr

Re: [v3 13/26] KVM: Define a new interface kvm_find_dest_vcpu() for VT-d PI

2015-01-09 Thread Radim Krčmář
2015-01-09 15:56+0100, Paolo Bonzini: > > > On 09/01/2015 15:54, Radim Krčmář wrote: > > There are two points relevant to this patch in new KVM's implementation, > > ("KVM: x86: amend APIC lowest priority arbitration", > > https://lkml.org/lkml/2015/1/9/362) > > > > 1) lowest priority depends o

Re: [PATCH 1/5] tty/serial: at91: use correct type for dma_sync_*_for_cpu() and dma_sync_*_for_device()

2015-01-09 Thread Nicolas Ferre
Le 09/12/2014 14:31, Cyrille Pitchen a écrit : > dma_sync_*_for_cpu() and dma_sync_*_for_device() use 'enum > dma_data_direction', > not 'enum dma_transfer_direction' > > Signed-off-by: Cyrille Pitchen Sure: Acked-by: Nicolas Ferre Here it's difficult to add a "stable" tag as the error was in

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

2015-01-09 Thread Catalin Marinas
On Fri, Jan 09, 2015 at 10:55:51AM +, Arnd Bergmann wrote: > On Friday 09 January 2015 10:33:07 Catalin Marinas wrote: > > On Wed, Jan 07, 2015 at 07:48:48PM +, Arnd Bergmann wrote: > > > > In other cases that's actually a good thing. One such example is the > > > "Principles of ARM Memory

[PATCH 0/3] Add STiH418 SoC and reference board support

2015-01-09 Thread Maxime COQUELIN
This series adds basic support to the STMicroelectronics STiH407 SoC and its B2199 reference board. The STiH418 is a quad-core ARM Cortex-A9 CPU aimed at UHD STB market. Maxime Coquelin (3): ARM: STi: Add STiH418 SoC support ARM: dts: Add STiH418 SoC support ARM: dts: STiH418: Add B2199 boar

[PATCH 2/3] ARM: dts: Add STiH418 SoC support

2015-01-09 Thread Maxime COQUELIN
The STiH418 is advanced UHD 60fps AVC processor with 3D graphic acceleration and quad-core ARM Cortex A9 CPU. Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stih418-clock.dtsi | 348 +++ arch/arm/boot/dts/stih418.dtsi | 99 + include/dt-bi

Re: [PATCH v5 1/3] of: Add binding for NVIDIA Tegra ACTMON node

2015-01-09 Thread Rob Herring
On Tue, Dec 16, 2014 at 2:41 AM, Tomeu Vizoso wrote: > This block gathers statistics about various counters and can be configured to > fire interrupts when thresholds are crossed. > > Signed-off-by: Tomeu Vizoso > > --- > > v2: * Add operating-points property > --- > .../devicetree/bindings/

Re: [PATCH 2/3] xen: correct race in alloc_p2m_pmd()

2015-01-09 Thread Juergen Gross
On 01/09/2015 04:09 PM, David Vrabel wrote: On 08/01/15 17:01, Juergen Gross wrote: When allocating a new pmd for the linear mapped p2m list a check is done for not introducing another pmd when this just happened on another cpu. In this case the old pte pointer was returned which points to the p

Re: [PATCH v8 02/14] perf: Add AUX area to ring buffer for raw data streams

2015-01-09 Thread Peter Zijlstra
On Mon, Nov 17, 2014 at 09:33:00AM +, Metzger, Markus T wrote: > > From: Peter Zijlstra > > > > This patch introduces "AUX space" in the perf mmap buffer, intended for > > exporting high bandwidth data streams to userspace, such as instruction > > flow traces. > > > > AUX space is a ring buf

Re: [v3 13/26] KVM: Define a new interface kvm_find_dest_vcpu() for VT-d PI

2015-01-09 Thread Paolo Bonzini
On 09/01/2015 16:12, Radim Krčmář wrote: > > The chipset doesn't support it. :( > > I meant that we need to recompute PI entries for lowest priority > interrupts every time guest's TPR changes. > > Luckily, Linux doesn't use TPR, but other OS might be a reason to drop > lowest priority from PI

Re: [BUG] perf probe can't insert return kprobe

2015-01-09 Thread Namhyung Kim
On Fri, Jan 09, 2015 at 03:55:39PM +0100, Jiri Olsa wrote: > hi, > I couldn't use following perf command to insert return probe: > > # perf probe -a fork_exit=do_fork%return > Added new event: > Failed to write event: Invalid argument > Error: Failed to add events. > > > I'm pretty sur

[GIT PULL] arm64: fixes for -rc4

2015-01-09 Thread Will Deacon
Hi Linus, Here is a handful of minor arm64 fixes discovered and fixed over the Christmas break. The main part is adding some missing #includes that we seem to be getting transitively but have started causing problems in -next. Please pull. Thanks, Will --->8 The following changes since commit

[PATCH/RFC v10 00/19] LED / flash API integration

2015-01-09 Thread Jacek Anaszewski
This patch set is a follow-up of the LED / flash API integration series [1]. It is based on linux-next_20150108. Changes since version 9 : - switched to assigning sub-led related of_node to led_cdev->dev->of_node member which allowed for avoidin

[PATCH/RFC v10 02/19] Documentation: leds: Add description of LED Flash class extension

2015-01-09 Thread Jacek Anaszewski
The documentation being added contains overall description of the LED Flash Class and the related sysfs attributes. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie --- Documentation/leds/leds-class-flash.txt | 57 +++ 1 fil

[PATCH/RFC v10 04/19] dt-binding: mfd: max77693: Add DT binding related macros

2015-01-09 Thread Jacek Anaszewski
Add macros for max77693 led part related binding. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Lee Jones Cc: Chanwoo Choi --- include/dt-bindings/mfd/max77693.h | 21 + 1 file changed, 21 insertions(+) create mode 100644 include/dt-bindings/mfd/max77693.h

[PATCH/RFC v10 03/19] DT: leds: Add led-sources property

2015-01-09 Thread Jacek Anaszewski
Add a property for defining the device outputs the LED represented by the DT child node is connected to. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala --- Documentati

[PATCH/RFC v10 08/19] leds: Add support for max77693 mfd flash cell

2015-01-09 Thread Jacek Anaszewski
This patch adds led-flash support to Maxim max77693 chipset. A device can be exposed to user space through LED subsystem sysfs interface. Device supports up to two leds which can work in flash and torch mode. The leds can be triggered externally or by software. Signed-off-by: Jacek Anaszewski Sig

[PATCH/RFC v10 15/19] media: Add registration helpers for V4L2 flash sub-devices

2015-01-09 Thread Jacek Anaszewski
This patch adds helper functions for registering/unregistering LED Flash class devices as V4L2 sub-devices. The functions should be called from the LED subsystem device driver. In case the support for V4L2 Flash sub-devices is disabled in the kernel config the functions' empty versions will be used

[PATCH/RFC v10 16/19] Documentation: leds: Add description of v4l2-flash sub-device

2015-01-09 Thread Jacek Anaszewski
This patch extends LED Flash class documention by the description of interactions with v4l2-flash sub-device. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Acked-by: Sakari Ailus Cc: Bryan Wu Cc: Richard Purdie --- Documentation/leds/leds-class-flash.txt | 13 + 1 fil

[PATCH/RFC v10 12/19] DT: Add documentation for the Skyworks AAT1290

2015-01-09 Thread Jacek Anaszewski
This patch adds device tree binding documentation for 1.5A Step-Up Current Regulator for Flash LEDs. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala --- .../devicetree/

Re: [PATCH v3 0/7] Pinctrl support for Zynq

2015-01-09 Thread Sören Brinkmann
On Fri, 2015-01-09 at 09:45AM +0100, Linus Walleij wrote: > On Fri, Dec 12, 2014 at 5:37 PM, Sören Brinkmann > wrote: > > > Argh, this went through the wrong SMTP. I suspect threading is broken > > due to that. Let me know if you want me to resend this with intact > > threading. > > I don't care

[PATCH/RFC v10 17/19] DT: Add documentation for exynos4-is 'flashes' property

2015-01-09 Thread Jacek Anaszewski
This patch adds a description of 'flashes' property to the samsung-fimc.txt. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Sylwester Nawrocki Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala --- .../devicetree/bindings/media/samsung-fimc.txt

[PATCH/RFC v10 14/19] v4l2-ctrls: Add V4L2_CID_FLASH_SYNC_STROBE control

2015-01-09 Thread Jacek Anaszewski
Add V4L2_CID_FLASH_SYNC_STROBE control for determining whether a flash device strobe has to be synchronized with other flash leds controller by the same device. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Sakari Ailus Cc: Hans Verkuil --- Documentation/DocBook/media/v4l/contro

[PATCH net-next v2 7/8] r8169:update rtl8402 pcie ephy parameter

2015-01-09 Thread Chunhao Lin
Remove following unnecessary ephy parameter. { 0x1e, 0, 0x4000 } Signed-off-by: Chunhao Lin --- drivers/net/ethernet/realtek/r8169.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index 483fa40..a

<    1   2   3   4   5   6   7   8   9   >