Re: [Cocci] [PATCH v13 3/6] clk: Make clk API return per-user struct clk instances

2015-03-12 Thread Sebastian Andrzej Siewior
On 2015-02-17 14:01:04 [-0800], Stephen Boyd wrote: > diff = > --- arch/arm/mach-imx/mach-imx6q.c > +++ /tmp/cocci-output-11792-b62223-mach-imx6q.c > @@ -211,7 +211,6 @@ static void __init imx6q_1588_init(void) >* set bit IOMUXC_GPR1[21]. Or the PTP clock must be from pad >*

[PATCH v2 0/4] mtrr, mm, x86: Enhance MTRR checks for huge I/O mapping

2015-03-12 Thread Toshi Kani
This patchset enhances MTRR checks for the kernel huge I/O mapping, which was enabled by the patchset below: https://lkml.org/lkml/2015/3/3/589 The following functional changes are made in patch 4/4. - Allow pud_set_huge() and pmd_set_huge() to create a huge page mapping to a range covered

[PATCH v2 4/4] mtrr, mm, x86: Enhance MTRR checks for KVA huge page mapping

2015-03-12 Thread Toshi Kani
This patch adds an additional argument, 'uniform', to mtrr_type_lookup(), which returns 1 when a given range is covered uniformly by MTRRs, i.e. the range is fully convered by a single MTRR entry or the default type. pud_set_huge() and pmd_set_huge() are changed to check the new 'uniform' flag to

[PATCH v2 1/4] mm, x86: Document return values of mapping funcs

2015-03-12 Thread Toshi Kani
Document the return values of KVA mapping functions, pud_set_huge(), pmd_set_huge, pud_clear_huge() and pmd_clear_huge(). Simplify the conditions to select HAVE_ARCH_HUGE_VMAP in the Kconfig, since X86_PAE depends on X86_32. There is no functional change in this patch. Signed-off-by: Toshi Kani

[PATCH v2 3/4] mtrr, x86: Clean up mtrr_type_lookup()

2015-03-12 Thread Toshi Kani
MTRRs contain fixed and variable entries. mtrr_type_lookup() may repeatedly call __mtrr_type_lookup() to handle a request that overlaps with variable entries. However, __mtrr_type_lookup() also handles the fixed entries and other conditions, which do not have to be repeated. This patch moves

[PATCH v2 2/4] mtrr, x86: Fix MTRR lookup to handle inclusive entry

2015-03-12 Thread Toshi Kani
When an MTRR entry is inclusive to a requested range, i.e. the start and end of the request are not within the MTRR entry range but the range contains the MTRR entry entirely, __mtrr_type_lookup() ignores such a case because both start_state and end_state are set to zero. This patch fixes the

Re: vvar, gup && coredump

2015-03-12 Thread Andy Lutomirski
On Thu, Mar 12, 2015 at 9:54 AM, Oleg Nesterov wrote: > On 03/12, Andy Lutomirski wrote: >> >> On Thu, Mar 12, 2015 at 7:34 AM, Oleg Nesterov wrote: >> > >> > What is not clear: do we really want gup() to fail? Or it is not trivial >> > to turn __vvar_page into the "normal" page? (to simplify

[BUG] mem leak (not: info leak) in perf (kernel 4.0.0-rc2)

2015-03-12 Thread Robert Święcki
Hi, I suppose I observe a substantial mem leak in the kernel while using perf_event_open() Reproducible under: Kernel: $ uname -a Linux test1 4.0.0-0.rc2.git0.1.fc22.x86_64 #1 SMP Tue Mar 3 21:24:17 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux Not reproducible under: Linux test2 3.16.0-30-generic

[PATCH 8/8] mfd: cros_ec: add bus-specific proto v3 code

2015-03-12 Thread Javier Martinez Canillas
From: Stephen Barber Add proto v3 support to the SPI, I2C, and LPC. Signed-off-by: Stephen Barber Reviewed-by: Puthikorn Voravootivat Reviewed-by: Gwendal Grignou Tested-by: Puthikorn Voravootivat Signed-off-by: Javier Martinez Canillas --- drivers/mfd/cros_ec_i2c.c | 166

[PATCH 2/8] mfd: cros_ec: Sanity check in and out sizes

2015-03-12 Thread Javier Martinez Canillas
The cros_ec_cmd_xfer() function is used to communicate with the EC and callers set the sizes of data in the input and output buffers. But these sizes need to be checked to ensure that don't exceed the fixed maximum length of the input and output buffers. Reported-by : Dan Carpenter

Re: efivarfs and writev() support

2015-03-12 Thread Al Viro
On Thu, Mar 12, 2015 at 07:58:35AM -0700, Marcel Holtmann wrote: > I do not know about the specific semantics of efivarfs and frankly I have not > tried every single combination. However it sounds to me that currently it > requires that the whole file content is provided with a single write().

[PATCH 7/8] mfd: cros_ec: add proto v3 skeleton

2015-03-12 Thread Javier Martinez Canillas
From: Stephen Barber Add support in cros_ec.c to handle EC host command protocol v3. For v3+, probe for maximum shared protocol version and max request, response, and passthrough sizes. For now, this will always fall back to v2, since there is no bus-specific code for handling proto v3 packets.

[PATCH 3/8] platform/chrome: cros_ec_lpc - Use existing function to check EC result

2015-03-12 Thread Javier Martinez Canillas
Commit 6db07b633658 ("mfd: cros_ec: Check result code from EC messages") added a common cros_ec_check_result() function that can be used to check the ec_msg->result for errors and warns about them. Use the existing function instead of duplicating same check in the driver. Signed-off-by: Javier

[PATCH 4/8] mfd: cros_ec: Instantiate sub-devices from device tree

2015-03-12 Thread Javier Martinez Canillas
From: Todd Broch If the EC device tree node has sub-nodes, try to instantiate them as MFD sub-devices. We can configure the EC features provided by the board. Signed-off-by: Todd Broch Signed-off-by: Javier Martinez Canillas --- drivers/mfd/cros_ec.c | 22 +++--- 1 file

[PATCH 5/8] mfd: cros-ec: Support multiple EC in a system

2015-03-12 Thread Javier Martinez Canillas
From: Gwendal Grignou Chromebooks can have more than one Embedded Controller so the cros_ec device id has to be incremented for each EC registered. Add code to handle multiple EC. First ec found is cros-ec0, second cros-ec1 and so on. Signed-off-by: Gwendal Grignou Reviewed-by: Dmitry

[PATCH 6/8] mfd: cros_ec: rev cros_ec_commands.h

2015-03-12 Thread Javier Martinez Canillas
From: Stephen Barber Update cros_ec_commands.h to the latest version in the EC firmware sources and add power domain and passthru commands. Also, update lightbar to use new command names. Signed-off-by: Stephen Barber Reviewed-by: Randall Spangler Signed-off-by: Javier Martinez Canillas ---

Re: [PATCH v3 2/4] arm64: dts: Add Qualcomm MSM8916 SoC and evaluation board dts

2015-03-12 Thread Mark Rutland
Hi Kumar, > +/ { > + model = "Qualcomm Technologies, Inc. MSM 8916 MTP"; > + compatible = "qcom,msm8916-mtp", "qcom,msm8916-mtp-smb1360", > + "qcom,msm8916", "qcom,mtp"; > +}; No /chosen/stdout-path? Does your UART driver support earlycon? [...] > + cpus { > +

[PATCH 1/8] mfd: cros ec: Remove parent field

2015-03-12 Thread Javier Martinez Canillas
From: Gwendal Grignou parent and dev were pointing to the same device structure. parent is unused, removed. Signed-off-by: Gwendal Grignou Reviewed-by: Stephen Barber Tested-by: Stephen Barber Reviewed-by: Puthikorn Voravootivat Signed-off-by: Javier Martinez Canillas ---

[PATCH 0/8] cros_ec: Add multiple EC and protocol v3 support

2015-03-12 Thread Javier Martinez Canillas
Hello, Newer Chromebooks have more than one Embedded Controller (EC) in the system. These additional ECs are connected through I2C with a host EC which is the one that is connected to the Application Processor (AP) through I2C, SPI or LPC. So, on these platforms sub-processors are chained to

[PATCH] drm/msm: Refactor msm drm driver to be able to support module

2015-03-12 Thread Jilai Wang
Each HW component's driver such as HDMI/eDP/DSI should be able to compiled as a module which allows user to prevent this part of code to be compiled if not needed. Signed-off-by: Jilai Wang --- drivers/gpu/drm/msm/adreno/adreno_device.c | 13 +-- drivers/gpu/drm/msm/edp/edp.c |

[RFC][PATCH] MAINTAINERS: Formalize Stephen Boyd as generic sched_clock maintainer

2015-03-12 Thread John Stultz
While I've been interested in the generic sched_clock work since it uses the clocksource infrastructure, Stephen has really done all the heavy lifting so far. So while I've been queuing and pushing changes through Thomas/Ingo, I'm not sure I have the bandwidth to do it justice. So it probably

Re: committed memory, mmaps and shms

2015-03-12 Thread Marcos Dione
On Thu, Mar 12, 2015 at 11:35:13AM -0400, Michal Hocko wrote: > > > On Wed 11-03-15 19:10:44, Marcos Dione wrote: > [...] > > > > $ free > > > > total used free sharedbuffers > > > > cached > > > > Mem: 396895176 395956332 938844 0 8972

Re: vvar, gup && coredump

2015-03-12 Thread Oleg Nesterov
On 03/12, Andy Lutomirski wrote: > > On Thu, Mar 12, 2015 at 7:34 AM, Oleg Nesterov wrote: > > > > What is not clear: do we really want gup() to fail? Or it is not trivial > > to turn __vvar_page into the "normal" page? (to simplify the discussion, > > lets ignore hpet mapping for now). > > We

Re: [v2,04/11] soc/fman: Add the FMan port FLIB

2015-03-12 Thread Kumar Gala
On Mar 11, 2015, at 12:04 AM, Igal.Liberman wrote: > From: Igal Liberman commit message? > > Signed-off-by: Igal Liberman > --- > drivers/soc/fsl/fman/Kconfig | 10 + > drivers/soc/fsl/fman/Makefile |2 + > drivers/soc/fsl/fman/port/Makefile|3 + >

Re: [PATCH v6 tip 2/8] tracing: attach BPF programs to kprobes

2015-03-12 Thread Alexei Starovoitov
On 3/12/15 9:23 AM, Steven Rostedt wrote: On Thu, 12 Mar 2015 09:18:34 -0700 Alexei Starovoitov wrote: You've so far tried very hard to not get into tracing; and then you call rcu_read_lock() :-) So either document why this isn't a problem, provide rcu_read_lock_notrace() or switch to

Re: [PATCH 18/22] usb: gadget: serial: %pF is only for function pointers

2015-03-12 Thread Fabio Estevam
On Thu, Mar 12, 2015 at 1:40 PM, Scott Wood wrote: > No. __builtin_return_address() returns a pointer to an instruction, not > a function pointer descriptor. If you use %pF on the former, it'll > print instruction opcodes as if they were the address. Then you should mention this in the commit

Re: [PATCH v6 tip 2/8] tracing: attach BPF programs to kprobes

2015-03-12 Thread Steven Rostedt
On Thu, 12 Mar 2015 09:43:54 -0700 Alexei Starovoitov wrote: > sure. consider it done. should I respin right away or you can review > the rest? Hold off for a bit, to let the review continue. -- Steve -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH 18/22] usb: gadget: serial: %pF is only for function pointers

2015-03-12 Thread Scott Wood
On Thu, 2015-03-12 at 15:36 +0300, Sergei Shtylyov wrote: > Hello. > > On 3/12/2015 6:13 AM, Scott Wood wrote: > > > Use %pS for actual addresses, otherwise you'll get bad output > > %pS or %ps? > > > on arches like ppc64 where %pF expects a function descriptor. > > %pF or %pf? And

Re: [PATCH 18/22] usb: gadget: serial: %pF is only for function pointers

2015-03-12 Thread Scott Wood
On Thu, 2015-03-12 at 12:51 -0300, Fabio Estevam wrote: > On Thu, Mar 12, 2015 at 12:13 AM, Scott Wood wrote: > > Use %pS for actual addresses, otherwise you'll get bad output > > on arches like ppc64 where %pF expects a function descriptor. > > From Documentation/printk-formats.txt: > >

Re: [PATCH v3 2/3] sysfs: Only accept read/write permissions for file attributes

2015-03-12 Thread Guenter Roeck
On Thu, Mar 12, 2015 at 09:58:27AM -0400, Vivien Didelot wrote: > For sysfs file attributes, only read and write permissions make sense. > Mask provided attribute permissions accordingly and send a warning > to the console if invalid permission bits are set. > > This patch is originally from

Re: [PATCH kernel] vfio-pci: Add missing break to enable VFIO_PCI_ERR_IRQ_INDEX

2015-03-12 Thread Alex Williamson
On Thu, 2015-03-12 at 14:43 +1100, Alexey Kardashevskiy wrote: > This adds a missing break statement to VFIO_DEVICE_SET_IRQS handler > without which vfio_pci_set_err_trigger() would never be called. > > While we are here, add another "break" to VFIO_PCI_REQ_IRQ_INDEX case > so if we add more

Re: [PATCH] virtio: Remove virtio device during shutdown

2015-03-12 Thread Paolo Bonzini
On 12/03/2015 17:22, Michael S. Tsirkin wrote: > On Wed, Mar 11, 2015 at 06:11:35PM +0800, Fam Zheng wrote: >> On Wed, 03/11 10:06, Michael S. Tsirkin wrote: >>> On Wed, Mar 11, 2015 at 04:09:17PM +0800, Fam Zheng wrote: Currently shutdown is nop for virtio devices, but the core code could

Re: [PATCH 13/14] kdbus: add walk-through user space example

2015-03-12 Thread David Herrmann
Hi On Thu, Mar 12, 2015 at 3:52 PM, Sasha Levin wrote: > On 03/09/2015 09:09 AM, Greg Kroah-Hartman wrote: >> diff --git a/samples/kdbus/Makefile b/samples/kdbus/Makefile >> new file mode 100644 >> index ..d009025369f4 >> --- /dev/null >> +++ b/samples/kdbus/Makefile >> @@ -0,0 +1,10

[PATCH] selftest: add a test case to check how locks are shown in fdinfo

2015-03-12 Thread Andrey Vagin
The main idea of this test is to check that locks are shown correctly when they can't be placed in a default seq_file buffer due to its size. Cc: Andrew Morton Cc: Shuah Khan Signed-off-by: Andrey Vagin --- tools/testing/selftests/Makefile| 1 +

Re: [PATCH] brd: Ensure that bio_vecs have size <= PAGE_SIZE

2015-03-12 Thread Boaz Harrosh
On 03/12/2015 12:42 AM, Ross Zwisler wrote: <> > > Anyway, I thought your response to the original bug report against PMEM was > that you were alright with this one line change since it didn't hurt anything, > and perhaps it helped someone. Do you have the same stance for BRD, No what I did in

Re: vvar, gup && coredump

2015-03-12 Thread Andy Lutomirski
On Thu, Mar 12, 2015 at 7:34 AM, Oleg Nesterov wrote: > Add cc's, change subject. > > On 03/11, Oleg Nesterov wrote: >> >> On 03/05, Jan Kratochvil wrote: >> > >> > On Thu, 05 Mar 2015 21:52:56 +0100, Sergio Durigan Junior wrote: >> > > On Thursday, March 05 2015, Jan Kratochvil wrote: >> > > >

Re: [PATCH 0/7] kprobe: Handle error when Kprobe ftrace arming fails

2015-03-12 Thread Petr Mladek
Hi Masami, On Fri 2015-02-27 16:32:01, Masami Hiramatsu wrote: > Hi Petr, > > (2015/02/27 1:13), Petr Mladek wrote: > > arm_kprobe_ftrace() could fail, especially after introducing ftrace IPMODIFY > > flag and LifePatching. This patch set adds the error handling and also some > > related fixes.

Re: [PATCH] input: eglx_ts, remove irq trigger flags

2015-03-12 Thread Dmitry Torokhov
On Thu, Mar 12, 2015 at 04:37:01PM +0100, Markus Pargmann wrote: > Hi, > > On Thu, Mar 12, 2015 at 04:18:03PM +0100, Philipp Zabel wrote: > > Hi Markus, > > > > Am Donnerstag, den 12.03.2015, 15:50 +0100 schrieb Markus Pargmann: > > > The trigger settings for a given irq are parsed from DT.

Re: [PATCH 00/12] Increased clocksource validation and cleanups (v4)

2015-03-12 Thread John Stultz
On Thu, Mar 12, 2015 at 2:19 AM, Ingo Molnar wrote: > * John Stultz wrote: >> New in v4: >> * Lots and lots of typo corrections and minor cleanups suggested >> by Ingo. >> * Dropped "Remove clocksource_max_deferment()" patch >> * Added "Rename __clocksource_updatefreq_*..." patch >> * I

[PULL REQUEST] i2c for 4.0

2015-03-12 Thread Wolfram Sang
Linus, here is an important bugfix for the I2C subsystem core. Please pull. Thanks, Wolfram The following changes since commit 9eccca0843205f87c00404b663188b88eb248051: Linux 4.0-rc3 (2015-03-08 16:09:09 -0700) are available in the git repository at:

[PATCH] samples/kdbus: add -lrt

2015-03-12 Thread David Herrmann
On older systems -lrt is needed for clock_gettime(). Add it to HOSTLOADLIBES of kdbus-workers so it builds fine on those systems. Reported-by: Sasha Levin Signed-off-by: David Herrmann --- Hi This should fix the build-issues of the kdbus-examples on older systems where clock_gettime() is not

Re: [PATCH v6 tip 2/8] tracing: attach BPF programs to kprobes

2015-03-12 Thread Steven Rostedt
On Thu, 12 Mar 2015 09:18:34 -0700 Alexei Starovoitov wrote: > > You've so far tried very hard to not get into tracing; and then you call > > rcu_read_lock() :-) > > > > So either document why this isn't a problem, provide > > rcu_read_lock_notrace() or switch to RCU-sched and thereby avoid the

Re: [RFC PATCH] PCI: Disable MSI/MSI-X only if device is shutdown

2015-03-12 Thread Paolo Bonzini
On 12/03/2015 06:21, Fam Zheng wrote: > If the device doesn't support shutdown, disabling interrupts may cause > trouble. For example, virtio-scsi-pci doesn't implement shutdown, and > after we disable MSI-X, futher notifications from device will be > delivered to IRQ, which is unexpected. This

Re: [PATCH v5 04/10] watchdog: at91rm9200: implement restart handler

2015-03-12 Thread Guenter Roeck
On Thu, Mar 12, 2015 at 01:07:28PM +0100, Alexandre Belloni wrote: > Restarting the at91rm9200 is done through programming the watchdog and waiting > for it to reset. > > Signed-off-by: Alexandre Belloni Reviewed-by: Guenter Roeck -- To unsubscribe from this list: send the line "unsubscribe

Re: [RFC PATCH 00/18] ARM: msm multiplatform support

2015-03-12 Thread Arnd Bergmann
On Saturday 07 March 2015 03:12:12 dwal...@fifo99.com wrote: > On Wed, Mar 04, 2015 at 08:32:54PM +0100, Arnd Bergmann wrote: > > This is my final piece of the puzzle for ARMv6/v7 multiplatform > > support. In combination with the other patches that are now > > at

Re: [PATCH] virtio: Remove virtio device during shutdown

2015-03-12 Thread Michael S. Tsirkin
On Wed, Mar 11, 2015 at 06:11:35PM +0800, Fam Zheng wrote: > On Wed, 03/11 10:06, Michael S. Tsirkin wrote: > > On Wed, Mar 11, 2015 at 04:09:17PM +0800, Fam Zheng wrote: > > > Currently shutdown is nop for virtio devices, but the core code could > > > remove things behind us such as MSI-X handler

Re: [PATCHv3] perf hists browser: Fix UI bug after fold/unfold

2015-03-12 Thread Arnaldo Carvalho de Melo
Em Thu, Mar 12, 2015 at 04:51:10PM +0900, Namhyung Kim escreveu: > On Thu, Mar 12, 2015 at 03:21:49PM +0800, He Kuang wrote: > > This patch recalculates hb->nr_callchain_rows to fix the bug. > > > > Signed-off-by: He Kuang > > Acked-by: Namhyung Kim Thanks, applied. - Arnaldo -- To

Re: [PATCH 4/4] mm: numa: Slow PTE scan rate if migration failures occur

2015-03-12 Thread Linus Torvalds
On Thu, Mar 12, 2015 at 6:10 AM, Mel Gorman wrote: > > I believe you're correct and it matches what was observed. I'm still > travelling and wireless is dirt but managed to queue a test using pmd_dirty Ok, thanks. I'm not entirely happy with that change, and I suspect the whole heuristic should

[GIT PULL] PCI fixes for v4.0

2015-03-12 Thread Bjorn Helgaas
Hi Linus, Here are a couple updates for v4.0. One fixes a config accessor problem on APM X-Gene that we introduced when switching to generic config accessors, and the other fixes an older read-past-end-of-buffer problem in sysfs. Bjorn The following changes since commit

Re: [PATCH v5 03/10] watchdog: at91rm9200: use the system timer syscon

2015-03-12 Thread Guenter Roeck
On Thu, Mar 12, 2015 at 01:07:27PM +0100, Alexandre Belloni wrote: > Use a syscon regmap to access the system timer registers. > > Also, rename the driver atmel_st_watchdog to stop conflicting with > at91sam9_wdt.c > > Signed-off-by: Alexandre Belloni Reviewed-by: Guenter Roeck > --- >

[PATCH 2/2] i2c: busses with dynamic ids should start after fixed ids for DT

2015-03-12 Thread Wolfram Sang
Make sure dynamic ids do not interfere with fixed ones and let them start after the highest fixed id. This patch might cause different bus-numbers for dynamic ids, however it fixes a bug. Assume: - fixed id0 defers probe - fixed id1 succeeds and registers a muxed bus with dynamic id - muxed bus

Re: [PATCH v2 17/17] soc/tegra: remove lagacy powergate APIs

2015-03-12 Thread Peter De Schrijver
On Thu, Mar 12, 2015 at 01:45:02PM +0100, Thierry Reding wrote: > * PGP Signed by an unknown key > > On Thu, Mar 12, 2015 at 08:15:18PM +0800, Vince Hsu wrote: > > We switch to generic power domain now. So remove the legacy functions. > > > > Signed-off-by: Vince Hsu > > --- > >

Re: [PATCH v6 tip 2/8] tracing: attach BPF programs to kprobes

2015-03-12 Thread Alexei Starovoitov
On 3/12/15 8:15 AM, Peter Zijlstra wrote: On Tue, Mar 10, 2015 at 09:18:48PM -0700, Alexei Starovoitov wrote: +unsigned int trace_call_bpf(struct bpf_prog *prog, void *ctx) +{ + unsigned int ret; + int cpu; + + if (in_nmi()) /* not supported yet */ + return 1; +

[PATCH 1/2] of: base: add function to get highest id of an alias stem

2015-03-12 Thread Wolfram Sang
I2C supports adding adapters using either a dynamic or fixed id. The latter is provided by aliases in the DT case. To prevent id collisions of those two types, install this function which gives us the highest fixed id, so we can then let the dynamically created ones come after this highest number.

Re: [PATCH RESEND 0/3] memory_hotplug: hyperv: fix deadlock between memory adding and onlining

2015-03-12 Thread Michal Hocko
On Mon 09-03-15 09:40:43, Vitaly Kuznetsov wrote: > Michal Hocko writes: > > > [Sorry for the late response] > > > > This is basically the same code posted by KY Srinivasan posted late last > > year (http://marc.info/?l=linux-mm=141782228129426=2). I had > > objections to the implementation > >

[PATCH 0/2] i2c: prevent id collisions in the DT case

2015-03-12 Thread Wolfram Sang
This series tries to fix the issue reported here[1]. In short: A DT entry wants a fixed id but its probe was deferred. When it was probed again, its id was taken by a dynamically assigned muxed bus. So, the probe failed. Let's start all dynamically assigned ids after the highest fixed one. We do

Re: [PATCH v7 3/3] scsi: ufs: add trace events and dump prints for debug

2015-03-12 Thread Steven Rostedt
On Thu, 12 Mar 2015 17:55:00 +0200 Gilad Broner wrote: > Add trace events to driver to allow monitoring and profilig > of activities such as PM suspend/resume, hibernate enter/exit, > clock gating and clock scaling up/down. > In addition, add UFS host controller register dumps to provide >

Re: [PATCH v2] ARM: l2c: Fix prefetch settings dt parsing

2015-03-12 Thread Fabrice Gasnier
Hi Russel, I just sent a V3 to follow your remark. If this is ok, l'll add it to your patch system. Thanks for your review. BR, Fabrice On 03/12/2015 03:57 PM, Russell King - ARM Linux wrote: On Tue, Mar 10, 2015 at 09:59:01AM +0100, Fabrice GASNIER wrote: Allow prefetch settings overriding

[PATCH v3] ARM: l2c: Fix prefetch settings dt parsing

2015-03-12 Thread Fabrice GASNIER
Allow device tree to override the L2C prefetch settings, even when l2x0_cache_size_of_parse() fails to parse the cache geometry due to (eg) missing "cache-size" or "cache-sets" properties. Signed-off-by: Fabrice Gasnier Reviewed-by: Tomasz Figa --- V3: enhance commit message --- V2: fix typo in

Re: [PATCH v2] dgnc: Don't save boards in memory that have failed to initialize

2015-03-12 Thread Giedrius Statkevičius
On 2015.03.12 12:08, Greg KH wrote: > On Mon, Mar 09, 2015 at 06:29:38PM +0200, Giedrius Statkevičius wrote: >> Remove BOARD_FAILED and don't save dgnc_boards which failed to >> initialize. >> >> Assign the result of kzalloc() to brd in dgnc_found_board() and only put >> it in the dgnc_Board[] if

Re: [PATCH 14/22] parisc: %pF is only for function pointers

2015-03-12 Thread Scott Wood
On Thu, 2015-03-12 at 08:11 -0400, James Bottomley wrote: > On Wed, 2015-03-11 at 22:13 -0500, Scott Wood wrote: > > Use %pS for actual addresses, otherwise you'll get bad output > > on arches like ppc64 where %pF expects a function descriptor. Even on > > other architectures, refrain from

RE: [PATCH 1/6] Drivers: hv: vmbus: Perform device register in the per-channel work element

2015-03-12 Thread KY Srinivasan
> -Original Message- > From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On > Behalf Of KY Srinivasan > Sent: Thursday, March 12, 2015 7:29 AM > To: Olaf Hering > Cc: a...@canonical.com; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org;

Re: [Jfs-discussion] [PATCH 19/22] jfs: %pF is only for function pointers

2015-03-12 Thread Scott Wood
On Thu, 2015-03-12 at 09:16 -0500, Dave Kleikamp wrote: > On 03/11/2015 10:13 PM, Scott Wood wrote: > > Use %pS for actual addresses, otherwise you'll get bad output > > on arches like ppc64 where %pF expects a function descriptor. > > > > Signed-off-by: Scott Wood > > Cc:

Re: [PATCH] rtlwifi: get buffer_desc before trying to alloc new skb

2015-03-12 Thread Larry Finger
On 03/12/2015 06:33 AM, Yang Bai wrote: if rtlpriv->use_new_trx_flow == true and we run out of memory to alloc a new skb, we will directly jump to no_new tag with buffer_desc == NULL. Then we will dereference this NULL pointer in function _rtl_pci_init_one_rxdesc. Signed-off-by: Yang Bai

Re: [PATCH] nfs: do not export discarded symbols

2015-03-12 Thread Trond Myklebust
On Wed, 2015-03-11 at 14:37 +0100, Arnd Bergmann wrote: > The function nfs4_pnfs_v3_ds_connect_unload is exported so it can be > used by other modules, but is also marked '__exit' and will be > discarded when built into the kernel, as pointed out by this > linker error: > >

[PATCH] MIPS: bcm63xx: move bcm63xx_gpio_init() to bcm63xx_register_devices().

2015-03-12 Thread Nicolas Schichan
When called from prom init code, bcm63xx_gpio_init() will fail as it will call gpiochip_add() which relies on a working kmalloc() to alloc the gpio_desc array and kmalloc is not useable yet at prom init time. Move bcm63xx_gpio_init() to bcm63xx_register_devices() (an arch_initcall) where kmalloc

Re: [v2,00/11] Freescale DPAA FMan FLIB(s)

2015-03-12 Thread Kumar Gala
On Mar 11, 2015, at 12:03 AM, Igal.Liberman wrote: > From: Igal Liberman > > The Freescale Data Path Acceleration Architecture (DPAA) is a set of > hardware components on specific QorIQ multicore processors. This > architecture provides the infrastructure to support simplified > sharing of

Re: [PATCH 1/15] NFSv4.1: don't export static symbol

2015-03-12 Thread Trond Myklebust
On Wed, 2015-03-11 at 17:56 +0100, Julia Lawall wrote: > From: Julia Lawall > > The semantic patch that fixes this problem is as follows: > (http://coccinelle.lip6.fr/) > > // > @r@ > type T; > identifier f; > @@ > > static T f (...) { ... } > > @@ > identifier r.f; > declarer name

Re: [RFC,1/8] soc/fman: Add FMan MURAM support

2015-03-12 Thread Kumar Gala
On Mar 11, 2015, at 12:07 AM, Igal.Liberman wrote: > From: Igal Liberman > > Add Frame Manager Multi-User RAM support. > > Signed-off-by: Igal Liberman > --- > drivers/soc/fsl/fman/Kconfig|1 + > drivers/soc/fsl/fman/Makefile |5 +- >

[PATCH 8/8] powerpc: get rid of CONFIG_8xx

2015-03-12 Thread Christophe Leroy
Two config options exist to define powerpc MPC8xx: * CONFIG_PPC_8xx * CONFIG_8xx In addition, CONFIG_PPC_8xx also defines CONFIG_CPM1 as communication co-processor arch/powerpc/platforms/Kconfig.cputype has contained the following comment about CONFIG_8xx item for some years: "# this is temp to

Re: [PATCH v2] drm/i915: Fix BUG in i915_gem.c when switch to console

2015-03-12 Thread Matt Roper
On Thu, Mar 12, 2015 at 10:28:56AM +0200, Jani Nikula wrote: > On Thu, 12 Mar 2015, Xi Ruoyao wrote: > > In intel_crtc_page_flip, intel_display.c, the code changed the framebuffer > > assigned to plane crtc->primary by > > > > crtc->primary->fb = fb; > > > > However, it forgot to change

Re: [PATCH] proc: show locks in /proc/pid/fdinfo/X

2015-03-12 Thread Andrew Vagin
On Wed, Mar 11, 2015 at 03:08:53PM -0700, Andrew Morton wrote: > On Thu, 5 Mar 2015 18:37:18 +0300 Andrey Vagin wrote: > > > Let's show locks which are associated with a file descriptor in > > its fdinfo file. > > > > Currently we don't have a reliable way to determine who holds a lock. > > We

Re: [PATCH] SUNRPC: use jiffies_to_msecs for converting jiffies

2015-03-12 Thread Trond Myklebust
On Tue, 2015-03-03 at 04:24 -0500, Nicholas Mc Guire wrote: > Use jiffies_to_msecs for converting jiffies as it handles all of the corner > cases reliably and also helps readability. > > Signed-off-by: Nicholas Mc Guire > --- > > This was only compile tested for x86_64_defconfig (implies

[PATCH v7 0/3] Add ioctl and debug utilities to UFS driver

2015-03-12 Thread Gilad Broner
Changes from V6: Moved NULL user argument check from ufshcd_ioctl to ufshcd_query_ioctl. Add comment in include/scsi/scsi.h to note 0x5388 is in use. *** BLURB HERE *** Dolev Raviv (1): scsi: ufs: add ioctl interface for query request Gilad Broner (1): scsi: ufs: add trace events and dump

Re: [PATCH thomash] drm/vmwgfx: vmw_kms_generic_present() can be static

2015-03-12 Thread Sinclair Yeh
Reviewed-by: Sinclair Yeh On Thu, Mar 12, 2015 at 03:42:34AM +0800, kbuild test robot wrote: > > Signed-off-by: Fengguang Wu > --- > vmwgfx_kms.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c >

[PATCH v7 2/3] scsi: ufs: add debugfs for ufs

2015-03-12 Thread 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 recoverable errors statistics during runtime - Change UFS power

[PATCH 2/3 RFC] ath10k: wmi: match wait_for_completion_timeout return type

2015-03-12 Thread Nicholas Mc Guire
-20150312) : drivers/net/wireless/ath/ath10k/wmi.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath/ath10k/wmi.c index c7ea77e..a1cdcba 100644 --- a/drivers/net/wireless/ath/ath10k/wmi.c +++ b

[PATCH v7 1/3] scsi: ufs: add ioctl interface for query request

2015-03-12 Thread Gilad Broner
From: Dolev Raviv This patch exposes the ioctl interface for UFS driver via SCSI device ioctl interface. As of now UFS driver would provide the ioctl for query interface to connected UFS device. Signed-off-by: Dolev Raviv Signed-off-by: Noa Rubens Signed-off-by: Raviv Shvili Signed-off-by:

[PATCH v7 3/3] scsi: ufs: add trace events and dump prints for debug

2015-03-12 Thread Gilad Broner
Add trace events to driver to allow monitoring and profilig of activities such as PM suspend/resume, hibernate enter/exit, clock gating and clock scaling up/down. In addition, add UFS host controller register dumps to provide detailed information in case of errors to assist in analysis of issues.

[PATCH v7 1/3] scsi: ufs: add ioctl interface for query request

2015-03-12 Thread Gilad Broner
From: Dolev Raviv This patch exposes the ioctl interface for UFS driver via SCSI device ioctl interface. As of now UFS driver would provide the ioctl for query interface to connected UFS device. Signed-off-by: Dolev Raviv Signed-off-by: Noa Rubens Signed-off-by: Raviv Shvili Signed-off-by:

Re: rcu: frequent rcu lockups

2015-03-12 Thread Paul E. McKenney
On Thu, Mar 12, 2015 at 08:32:05AM -0400, Sasha Levin wrote: > On 03/12/2015 08:28 AM, Sasha Levin wrote: > > On 03/11/2015 07:16 PM, Paul E. McKenney wrote: > >> > On Wed, Mar 11, 2015 at 07:06:40PM -0400, Sasha Levin wrote: > >> > On 03/11/2015 07:01 PM, Paul E. McKenney wrote: >

[PATCH 1/3] ath10k: htc: match wait_for_completion_timeout return type

2015-03-12 Thread Nicholas Mc Guire
/net/wireless/ath/ath10k/htc.c:574: but the alternative is to go over 80 char so this should be ok ? Patch was only compile tested with x86_64_defconfig + CONFIG_ATH_CARDS=m, CONFIG_ATH10K=m Patch is against 4.0-rc3 (localversion-next is -next-20150312) drivers/net/wireless/ath/ath10k/htc.c | 22

[PATCH v7 0/3] Add ioctl and debug utilities to UFS driver

2015-03-12 Thread Gilad Broner
Changes from V6: Moved NULL user argument check from ufshcd_ioctl to ufshcd_query_ioctl. Add comment in include/scsi/scsi.h to note 0x5388 is in use. Dolev Raviv (1): scsi: ufs: add ioctl interface for query request Gilad Broner (1): scsi: ufs: add trace events and dump prints for debug Lee

Re: [RFC/PATCHSET 0/6] perf kmem: Implement page allocation analysis (v1)

2015-03-12 Thread Ingo Molnar
* Namhyung Kim wrote: > > I.e. something like this (mockup) output: > > > >SUMMARY (page allocator) > > > > > >Pages allocated+freed: 12,593 [ 51,630,080 bytes ] > > > >Pages allocated-only: 2,342 [ 1,235,010 bytes ] > >

[PATCH/RFC v13 09/13] media: Add registration helpers for V4L2 flash sub-devices

2015-03-12 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

Re: [E1000-devel] [PATCH v3] ixgbe: make VLAN filter conditional

2015-03-12 Thread Alexander Duyck
On 03/11/2015 10:58 PM, Hiroshi Shimamoto wrote: On 03/10/2015 05:59 PM, Hiroshi Shimamoto wrote: From: Hiroshi Shimamoto Disable hardware VLAN filtering if netdev->features VLAN flag is dropped. In SR-IOV case, there is a use case which needs to disable VLAN filter. For example, we need to

[PATCH 3/3] ath10k: core: drop check for impossible negative return case

2015-03-12 Thread Nicholas Mc Guire
t even with the current <= 0 check as on success >= 1 is returned always - so this really is just a cleanup. Signed-off-by: Nicholas Mc Guire --- Patch was only compile tested with x86_64_defconfig + CONFIG_ATH_CARDS=m, CONFIG_ATH10K=m Patch is against 4.0-rc3 (localversion-next is -n

[PATCH/RFC v13 03/13] leds: Add support for max77693 mfd flash cell

2015-03-12 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

Re: [PATCH 18/22] usb: gadget: serial: %pF is only for function pointers

2015-03-12 Thread Fabio Estevam
On Thu, Mar 12, 2015 at 12:13 AM, Scott Wood wrote: > Use %pS for actual addresses, otherwise you'll get bad output > on arches like ppc64 where %pF expects a function descriptor. >From Documentation/printk-formats.txt: "On ia64, ppc64 and parisc64 architectures function pointers are

[PATCH/RFC v13 08/13] exynos4-is: Add support for v4l2-flash subdevs

2015-03-12 Thread Jacek Anaszewski
This patch adds support for external v4l2-flash devices. The support includes parsing "flashes" DT property and asynchronous subdevice registration. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Sylwester Nawrocki --- drivers/media/platform/exynos4-is/media-dev.c | 36

[PATCH/RFC v13 10/13] Documentation: leds: Add description of v4l2-flash sub-device

2015-03-12 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

[PATCH v4 2/2] leds: add Qualcomm PM8941 WLED driver

2015-03-12 Thread Bjorn Andersson
From: Courtney Cavin This adds support for the WLED ('White' LED) block on Qualcomm's PM8941 PMICs. Signed-off-by: Courtney Cavin Signed-off-by: Bjorn Andersson --- Changes since v3: - Use devres helper Changes since v2: - Fix of parser return value on error - Dropped THIS_MODULE Changes

[PATCH/RFC v13 05/13] leds: Add driver for AAT1290 current regulator

2015-03-12 Thread Jacek Anaszewski
This patch adds a driver for the 1.5A Step-Up Current Regulator for Flash LEDs. The device is programmed through a Skyworks proprietary AS2Cwire serial digital interface. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie --- drivers/leds/Kconfig|

[PATCH/RFC v13 13/13] leds: aat1290: add support for V4L2 Flash sub-device

2015-03-12 Thread Jacek Anaszewski
Add support for V4L2 Flash sub-device to the aat1290 LED Flash class driver. The support allows for V4L2 Flash sub-device to take the control of the LED Flash class device. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie Cc: Sakari Ailus ---

[PATCH/RFC v13 04/13] DT: Add documentation for the mfd Maxim max77693

2015-03-12 Thread Jacek Anaszewski
This patch adds device tree binding documentation for the flash cell of the Maxim max77693 multifunctional device. Signed-off-by: Jacek Anaszewski Signed-off-by: Andrzej Hajda Acked-by: Kyungmin Park Cc: Lee Jones Cc: Chanwoo Choi Cc: Bryan Wu Cc: Richard Purdie ---

[PATCH/RFC v13 00/13] LED / flash API integration

2015-03-12 Thread Jacek Anaszewski
This patch set is a follow-up of the LED / flash API integration series [1]. It is based on linux-next_20150312, with patches for mfd max77693 from the previous version of the patch set. Those patches have been recently applied to mfd tree and are awaiting merging with linux-next.

[PATCH/RFC v13 07/13] DT: Add documentation for the Skyworks AAT1290

2015-03-12 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 --- .../devicetree/bindings/leds/leds-aat1290.txt | 71 1 file changed, 71

[PATCH/RFC v13 02/13] dt-binding: leds: Add common LED DT bindings macros

2015-03-12 Thread Jacek Anaszewski
Add macros for defining boost mode and trigger type properties of flash LED devices. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie --- include/dt-bindings/leds/common.h | 21 + 1 file changed, 21 insertions(+) create mode

[PATCH/RFC v13 11/13] DT: Add documentation for exynos4-is 'flashes' property

2015-03-12 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 --- .../devicetree/bindings/media/samsung-fimc.txt |8 1 file changed, 8 insertions(+) diff --git

[PATCH/RFC v13 12/13] leds: max77693: add support for V4L2 Flash sub-device

2015-03-12 Thread Jacek Anaszewski
Add support for V4L2 Flash sub-device to the max77693 LED Flash class driver. The support allows for V4L2 Flash sub-device to take the control of the LED Flash class device. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie Cc: Sakari Ailus ---

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