[PATCH 00/10] staging: lustre: cleanup up libcfs hash code for upstream

2015-10-28 Thread James Simmons
From: James Simmons This patch brings the libcfs hash handling up to linux kernel coding style. Various typedefs and macros have been removed. Signed-off-by: James Simmons Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6245 Reviewed-on: http://review.whamcloud.com/14624 Reviewed-by: Bob

[PATCH 08/10] staging: lustre: remove white space in libcfs_hash.h

2015-10-28 Thread James Simmons
From: James Simmons Cleanup all the unneeded white space in libcfs_hash.h. Signed-off-by: James Simmons --- .../lustre/include/linux/libcfs/libcfs_hash.h | 147 ++-- 1 files changed, 73 insertions(+), 74 deletions(-) diff --git

[PATCH 05/10] staging: lustre: change cfs_hash_head*_t to struct

2015-10-28 Thread James Simmons
From: James Simmons Change cfs_hash_head_t and cfs_head_head_dep_t from typedef to true structures. Signed-off-by: James Simmons --- .../lustre/include/linux/libcfs/libcfs_hash.h |4 +- drivers/staging/lustre/lustre/libcfs/hash.c| 33 +++ 2 files changed, 21

[PATCH 02/10] staging: lustre: change cfs_hash_hlist_ops_t to struct

2015-10-28 Thread James Simmons
From: James Simmons Change cfs_hash_hlist_ops_t to struct cfs_hash_hlist_ops. Signed-off-by: James Simmons --- .../lustre/include/linux/libcfs/libcfs_hash.h |4 ++-- drivers/staging/lustre/lustre/libcfs/hash.c|8 2 files changed, 6 insertions(+), 6 deletions(-)

[PATCH 10/10] staging: lustre: remove white space in hash.c

2015-10-28 Thread James Simmons
From: James Simmons Cleanup all the unneeded white space in hash.c. Signed-off-by: James Simmons --- drivers/staging/lustre/lustre/libcfs/hash.c | 336 ++- 1 files changed, 174 insertions(+), 162 deletions(-) diff --git a/drivers/staging/lustre/lustre/libcfs/hash.c

[PATCH 09/10] staging: lustre: fix remaining checkpatch issues for libcfs_hash.h

2015-10-28 Thread James Simmons
From: James Simmons Final cleanup to make libcfs_hash.h completely kernel standard compliant. Signed-off-by: James Simmons --- .../lustre/include/linux/libcfs/libcfs_hash.h | 16 ++-- 1 files changed, 10 insertions(+), 6 deletions(-) diff --git

[PATCH 06/10] staging: lustre: convert last typedef data types in hash.c

2015-10-28 Thread James Simmons
From: James Simmons Change the last typedef data types cfs_hash_lookup_intent_t to enum and cfs_hash_cond_arg_t to a structure. Signed-off-by: James Simmons --- drivers/staging/lustre/lustre/libcfs/hash.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git

[PATCH 3.16.y-ckt 108/108] Btrfs: update fix for read corruption of compressed and shared extents

2015-10-28 Thread Luis Henriques
3.16.7-ckt19 -stable review patch. If anyone has any objections, please let me know. -- From: Filipe Manana commit 808f80b46790f27e145c72112189d6a3be2bc884 upstream. My previous fix in commit 005efedf2c7d ("Btrfs: fix read corruption of compressed and shared extents") was

Re: [3.16.y-ckt stable] Linux 3.16.7-ckt19 stable review

2015-10-28 Thread Luis Henriques
On Mon, Oct 26, 2015 at 07:02:01PM +, Luis Henriques wrote: > On Mon, Oct 26, 2015 at 01:41:42PM +, Luis Henriques wrote: > > This is the start of the review cycle for the Linux 3.16.7-ckt19 stable > > kernel. > > > > This version contains 104 new patches, summarized below. The new

[RFC] unix: fix use-after-free in unix_dgram_poll()

2015-10-28 Thread Rainer Weikusat
Rainer Weikusat writes: > Jason Baron writes: [...] >> 2) >> >> For the case of epoll() in edge triggered mode we need to ensure that >> when we return -EAGAIN from unix_dgram_sendmsg() when unix_recvq_full() >> is true, we need to add a unix_peer_wake_connect() call to guarantee a >> wakeup.

[PATCH 2/2] mm: kasan: unified support for SLUB and SLAB allocators

2015-10-28 Thread Alexander Potapenko
With this patch kasan can be compiled with both SLAB and SLUB allocators, using minimal dependencies on allocator internal structures and minimum allocator-dependent code. Dependency from SLUB_DEBUG is also removed. The metadata storage is made more efficient, so the redzones aren't as large for

[PATCH] get_maintainer: Add subsystem to reviewer output

2015-10-28 Thread Joe Perches
Reviewer output currently does not include the subsystem that matched. Add it. Miscellanea: o Add a get_subsystem_name routine to centralize this Signed-off-by: Joe Perches --- scripts/get_maintainer.pl | 31 --- 1 file changed, 16 insertions(+), 15 deletions(-)

Re: [PATCH v4] EDAC: Add ARM64 EDAC

2015-10-28 Thread Mark Rutland
Hi, On Wed, Oct 28, 2015 at 11:13:49AM -0500, Brijesh Singh wrote: > Add support for Cortex A57 and A53 EDAC driver. > > Signed-off-by: Brijesh Singh > CC: robh...@kernel.org > CC: pawel.m...@arm.com > CC: mark.rutl...@arm.com > CC: ijc+devicet...@hellion.org.uk > CC: ga...@codeaurora.org > CC:

[PATCH 1/2] mm, kasan: Added GFP flags to KASAN API

2015-10-28 Thread Alexander Potapenko
Add GFP flags to KASAN hooks for future patches to use. This is the first part of the "mm: kasan: unified support for SLUB and SLAB allocators" patch originally prepared by Dmitry Chernenkov. Signed-off-by: Dmitry Chernenkov Signed-off-by: Alexander Potapenko --- include/linux/kasan.h | 19

Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-28 Thread Toshi Kani
On Wed, 2015-10-28 at 12:53 +0300, Stas Sergeev wrote: > 28.10.2015 03:04, Toshi Kani пишет: > > On Wed, 2015-10-28 at 07:37 +0900, Linus Torvalds wrote: > > > On Tue, Oct 27, 2015 at 11:05 PM, Stas Sergeev wrote: > > > > > > > > I can't easily post an Oops: under X it doesn't even appear - > >

Re: [PATCH 2/5] iov: Reset resources to 0 if totalVFs increases after enabling ARI

2015-10-28 Thread Bjorn Helgaas
Hi Alex, On Tue, Oct 27, 2015 at 01:52:21PM -0700, Alexander Duyck wrote: > This patch forces us to reallocate VF BARs if the totalVFs value has > increased after enabling ARI. This normally shouldn't occur, however I > have seen some non-spec devices that shift between 7 and some value greater

Re: [PATCH] MAINTAINERS: Start using the 'reviewer' (R) tag

2015-10-28 Thread Bartlomiej Zolnierkiewicz
[ this time with full Cc: & context preserved ] Hi, On Wednesday, October 28, 2015 08:24:46 AM Lee Jones wrote: > On Tue, 2015-10-27 at 18:15 +, Lee Jones wrote: > > On Tue, 27 Oct 2015, Sebastian Reichel wrote: > > > On Tue, Oct 27, 2015 at 03:42:37PM +, Lee Jones wrote: > > > > Since

Re: [Ocfs2-devel] [PATCH v2 0/4] Add online file check feature

2015-10-28 Thread Srinivas Eeda
Hi Gang, thank you for implementing this. I would like to understand this better on where and how it helps ... would you mind sharing couple examples(real scenarios). Thanks, --Srini On 10/27/2015 11:25 PM, Gang He wrote: When there are errors in the ocfs2 filesystem, they are usually

Re: [PATCH] MAINTAINERS: Start using the 'reviewer' (R) tag

2015-10-28 Thread Lee Jones
On Wed, 28 Oct 2015, Bartlomiej Zolnierkiewicz wrote: > On Wednesday, October 28, 2015 08:24:46 AM Lee Jones wrote: > > On Tue, 2015-10-27 at 18:15 +, Lee Jones wrote: > > > On Tue, 27 Oct 2015, Sebastian Reichel wrote: > > > > On Tue, Oct 27, 2015 at 03:42:37PM +, Lee Jones wrote: > > > >

Re: [PATCH 1/5] mtd: ofpart: grab device tree node directly from master device node

2015-10-28 Thread Boris Brezillon
Hi Marek, On Wed, 28 Oct 2015 17:11:14 +0100 Marek Vasut wrote: > On Wednesday, October 28, 2015 at 08:58:13 AM, Boris Brezillon wrote: > > Hi Brian, > > Hi, > > [...] > > > > Are > > > there ever cases we want more than one (master) MTD per nand_chip? Or > > > vice versa? > > > > Nope, I'd

Re: [PATCH 1/5] iov: Update virtfn_max_buses to validate offset and stride

2015-10-28 Thread Bjorn Helgaas
Hi Alex, Thanks a lot for cleaning this up. I think this is a great improvement over what I did. On Tue, Oct 27, 2015 at 01:52:15PM -0700, Alexander Duyck wrote: > This patch pulls the validation of offset and stride into virtfn_max_buses. > The general idea is to validate offset and stride for

tools/build: fixdep versus tools/lib/bpf

2015-10-28 Thread Arnaldo Carvalho de Melo
Hi Jiri, Wang, I'm getting these while doing 'make -C tools/perf build-test': LD fixdep-in.o LINK fixdep /bin/sh: /home/acme/git/linux/tools/build/fixdep: Permission denied make[6]: *** [bpf.o] Error 1 make[5]: *** [libbpf-in.o] Error 2 make[4]: ***

Re: [RFC] vfio/type1: handle case where IOMMU does not support PAGE_SIZE size

2015-10-28 Thread Alex Williamson
On Wed, 2015-10-28 at 13:12 +, Eric Auger wrote: > Current vfio_pgsize_bitmap code hides the supported IOMMU page > sizes smaller than PAGE_SIZE. As a result, in case the IOMMU > does not support PAGE_SIZE page, the alignment check on map/unmap > is done with larger page sizes, if any. This

Re: [PATCH v12 3/6] fpga: add simple-fpga-bus

2015-10-28 Thread Moritz Fischer
On Wed, Oct 28, 2015 at 9:18 AM, Josh Cartwright wrote: > On Wed, Oct 28, 2015 at 08:37:51AM -0700, Moritz Fischer wrote: >> On Wed, Oct 28, 2015 at 3:07 AM, Josh Cartwright wrote: >> > On Tue, Oct 27, 2015 at 05:09:12PM -0500, at...@opensource.altera.com >> > wrote: >> >> From: Alan Tull >>

Re: [PATCH v12 3/6] fpga: add simple-fpga-bus

2015-10-28 Thread Josh Cartwright
On Wed, Oct 28, 2015 at 08:37:51AM -0700, Moritz Fischer wrote: > On Wed, Oct 28, 2015 at 3:07 AM, Josh Cartwright wrote: > > On Tue, Oct 27, 2015 at 05:09:12PM -0500, at...@opensource.altera.com wrote: > >> From: Alan Tull > >> > >> The Simple FPGA bus uses the FPGA Manager Framework and the >

Re: [PATCH v2] i2c: cadence: Move to sensible power management

2015-10-28 Thread Sören Brinkmann
Hi Shubhrajyoti, On Wed, 2015-10-28 at 12:56PM +0530, Shubhrajyoti Datta wrote: > Currently the clocks are enabled at probe and disabled at remove. > Which keeps the clocks enabled even if no transaction is going on. > This patch enables the clocks at the start of transfer and disables > after

Re: [PATCH 1/5] mtd: ofpart: grab device tree node directly from master device node

2015-10-28 Thread Marek Vasut
On Wednesday, October 28, 2015 at 08:58:13 AM, Boris Brezillon wrote: > Hi Brian, Hi, [...] > > Are > > there ever cases we want more than one (master) MTD per nand_chip? Or > > vice versa? > > Nope, I'd say that you always have a 1:1 relationship between a master > MTD device and a NAND

Re: [PATCH v3 2/2] arm64: dts: Add BRCM IPROC NAND DT node for NS2

2015-10-28 Thread Ray Jui
On 10/28/2015 2:06 AM, Anup Patel wrote: -Original Message- From: Ray Jui [mailto:r...@broadcom.com] Sent: 28 October 2015 06:17 To: Brian Norris Cc: Anup Patel; David Woodhouse; Linux MTD; Rob Herring; Pawel Moll; Mark Rutland; Catalin Marinas; Will Deacon; Sudeep Holla; Ian

Re: [PATCH] ARM: SWP emulation: Restore original *data when failed

2015-10-28 Thread Will Deacon
On Tue, Oct 27, 2015 at 03:44:24PM +, Will Deacon wrote: > On Fri, Oct 16, 2015 at 11:37:29AM +0100, Catalin Marinas wrote: > > On Fri, Oct 16, 2015 at 08:52:24AM +0100, Vladimir Murzin wrote: > > > > On 15/10/15 14:02, Will Deacon wrote: > > > >> diff --git

[PATCH v4] EDAC: Add ARM64 EDAC

2015-10-28 Thread Brijesh Singh
Add support for Cortex A57 and A53 EDAC driver. Signed-off-by: Brijesh Singh CC: robh...@kernel.org CC: pawel.m...@arm.com CC: mark.rutl...@arm.com CC: ijc+devicet...@hellion.org.uk CC: ga...@codeaurora.org CC: dougthomp...@xmission.com CC: b...@alien8.de CC: mche...@osg.samsung.com CC:

Re: [PATCH v3 0/3] virtio DMA API core stuff

2015-10-28 Thread Michael S. Tsirkin
On Wed, Oct 28, 2015 at 11:32:34PM +0900, David Woodhouse wrote: > > I don't have a problem with extending DMA API to address > > more usecases. > > No, this isn't an extension. This is fixing a bug, on certain platforms > where the DMA API has currently done the wrong thing. > > We have

Re: [PATCH v2] cputime: fix invalid gtime

2015-10-28 Thread Frederic Weisbecker
On Wed, Oct 28, 2015 at 07:01:18AM +, Hiroshi Shimamoto wrote: > From: Hiroshi Shimamoto > > /proc/stats shows invalid gtime when the thread is running in guest. > When vtime accounting is not enabled, we cannot get a valid delta. > The delta is calculated now - tsk->vtime_snap, but

Re: [PATCH v7 4/7] mtd: nand: gpmi: may use minimum required ecc

2015-10-28 Thread Han Xu
On Wed, Oct 28, 2015 at 01:42:33PM +, Bean Huo 霍斌斌 (beanhuo) wrote: > > By default NAND driver will choose the highest ecc strength that oob could > > contain, in this case, for some 8K+744 NAND flash, the ecc strength will be > > up > > to 52bit, which beyonds the i.MX6QDL BCH capability

Re: [PATCH v2 0/4] hugetlbfs fallocate hole punch race with page faults

2015-10-28 Thread Mike Kravetz
On 10/27/2015 08:34 PM, Hugh Dickins wrote: > On Tue, 20 Oct 2015, Mike Kravetz wrote: > >> The hugetlbfs fallocate hole punch code can race with page faults. The >> result is that after a hole punch operation, pages may remain within the >> hole. No other side effects of this race were

Re: [RFC PATCH] VFIO: Add a parameter to force nonthread IRQ

2015-10-28 Thread Alex Williamson
On Wed, 2015-10-28 at 01:44 +0100, Paolo Bonzini wrote: > > On 27/10/2015 22:26, Yunhong Jiang wrote: > >> > On RT kernels however can you call eventfd_signal from interrupt > >> > context? You cannot call spin_lock_irqsave (which can sleep) from a > >> > non-threaded interrupt handler, can you?

Re: [PATCH v12 5/6] ARM: socfpga: add bindings document for fpga bridge drivers

2015-10-28 Thread atull
On Wed, 28 Oct 2015, Steffen Trumtrar wrote: > Hi! > > On Tue, Oct 27, 2015 at 05:09:14PM -0500, at...@opensource.altera.com wrote: > > From: Alan Tull > > > > Add bindings documentation for Altera SOCFPGA bridges: > > * fpga2sdram > > * fpga2hps > > * hps2fpga > > * lwhps2fpga > > > >

Re: [PATCH] mm: kmemleak: mark kmemleak_init prototype as __init

2015-10-28 Thread Catalin Marinas
On Sun, Jul 05, 2015 at 02:47:01AM +0100, Nicolas Iooss wrote: > kmemleak_init() definition in mm/kmemleak.c is marked __init but its > prototype in include/linux/kmemleak.h is marked __ref since commit > a6186d89c913 ("kmemleak: Mark the early log buffer as __initdata"). > > This causes a

Re: [PATCH] hwmon: (scpi) skip unsupported sensors properly

2015-10-28 Thread Sudeep Holla
On 28/10/15 15:39, Punit Agrawal wrote: Hi Sudeep, Sudeep Holla writes: Currently it's assumed that firmware exports only the class of sensors supported by the driver. However with newer firmware or SCPI protocol revision, support for newer classes of sensors can be present. The driver

Re: [PATCH V3 2/5] cpufreq: ondemand: update sampling rate immediately

2015-10-28 Thread Rafael J. Wysocki
On Wednesday, October 28, 2015 08:58:11 PM Viresh Kumar wrote: > On 28-10-15, 16:31, Rafael J. Wysocki wrote: > > Is the current code really problematic? > > Its not problematic, but just that I didn't like special code written > here. > > Also, its a blocker for the next patch which tries to

Re: [PATCH V3 2/5] cpufreq: ondemand: update sampling rate immediately

2015-10-28 Thread Viresh Kumar
On 28-10-15, 17:13, Rafael J. Wysocki wrote: > Well, the second statement above sort of contradicts the first one. :-) > > I guess the answer is "it is problematic, because I can't do the other > optimization then". Hehe, right. > To that I'd really suggest trying to rework the code to use

Re: [PATCH v12 3/6] fpga: add simple-fpga-bus

2015-10-28 Thread atull
On Wed, 28 Oct 2015, Steffen Trumtrar wrote: > > +static int simple_fpga_bus_probe(struct platform_device *pdev) > > +{ > > + struct device *dev = >dev; > > + struct device_node *np = dev->of_node; > > + struct simple_fpga_bus *priv; > > + struct fpga_manager *mgr; > > + int ret; > > +

Re: [RFC v2 PATCH 07/14] irq: add a new generic IPI reservation code to irq core

2015-10-28 Thread Qais Yousef
Hi Thomas, On 10/13/2015 03:38 PM, Qais Yousef wrote: On 10/13/2015 02:37 PM, Thomas Gleixner wrote: On Tue, 13 Oct 2015, Qais Yousef wrote: +if (domain == NULL) +domain = irq_default_domain; /* need a separate ipi_default_domain? */ No tail comments please. We should neither

Re: [PATCH v3 0/2] thermal: mediatek: Add cpu power cooling model

2015-10-28 Thread Viresh Kumar
On 22-10-15, 20:02, Dawei Chien wrote: > Use Intelligent Power Allocation (IPA) technical to add static/dynamic power > model for binding CPU thermal zone. > The power allocator governor allocates power budget to control CPU > temperature. > > Power Allocator governor is able to keep SOC

Re: [PATCH 1/2] wait/ptrace: always assume __WALL if the child is traced

2015-10-28 Thread Pedro Alves
On 10/28/2015 04:11 PM, Oleg Nesterov wrote: > On 10/26, Pedro Alves wrote: >> >> On 10/25/2015 03:54 PM, Oleg Nesterov wrote: >>> >>> In any case, the real question is whether we should change the kernel to >>> fix the problem, or ask the distros to fix their init's. In the former >>> case 1/2

Re: [PATCH] hwmon: (scpi) skip unsupported sensors properly

2015-10-28 Thread Punit Agrawal
Hi Sudeep, Sudeep Holla writes: > Currently it's assumed that firmware exports only the class of sensors > supported by the driver. However with newer firmware or SCPI protocol > revision, support for newer classes of sensors can be present. > > The driver fails to probe with the following

[PATCH 10/12] perf symbols: we can now read separate debug-info files based on a build ID

2015-10-28 Thread Arnaldo Carvalho de Melo
From: Dima Kogan Recent GDB (at least on a vanilla Debian box) looks for debug information in /usr/lib/debug/.build-id/nn/nnn where nn/nn is the build-id of the stripped ELF binary. This is documented here: https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html This

[PATCH 05/12] perf evsel: Move id_offset out of struct perf_evsel union member

2015-10-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Because the 'perf stat record' patches will use the id_offset member together with the priv pointer. Signed-off-by: Jiri Olsa Tested-by: Kan Liang Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link:

[PATCH 03/12] perf tools: Setup pager when printing usage and help

2015-10-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim It's annoying to see error or help message when command has many options like in perf record, report or top. So setup pager when print parser error or help message - it should be OK since no UI is enabled at the parsing time. The usage_with_options() already disables it by

Re: [PATCH V3 2/5] cpufreq: ondemand: update sampling rate immediately

2015-10-28 Thread Viresh Kumar
On 28-10-15, 16:31, Rafael J. Wysocki wrote: > Is the current code really problematic? Its not problematic, but just that I didn't like special code written here. Also, its a blocker for the next patch which tries to schedule work on all the policy->cpus together. -- viresh -- To unsubscribe

Re: [PATCH V4 0/8] PCI: ACPI: Setting up DMA coherency for PCI device from _CCA attribute

2015-10-28 Thread Rafael J. Wysocki
On Wednesday, October 28, 2015 09:54:23 PM Hanjun Guo wrote: > Hi Rafael, > > On 10/27/2015 11:27 PM, Rafael J. Wysocki wrote: > > On Tuesday, October 27, 2015 09:52:50 AM Bjorn Helgaas wrote: > >> Hi Suravee, > >> > >> On Wed, Oct 21, 2015 at 08:52:03AM -0700, Suravee Suthikulpanit wrote: > >>>

[PATCH 07/12] perf stat: Cache aggregated map entries in extra cpumap

2015-10-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Currently any time we need to access socket or core id for given cpu, we access the sysfs topology file. Adding a cpus_aggr_map cpu_map to cache those entries. Signed-off-by: Jiri Olsa Tested-by: Kan Liang Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link:

[PATCH 01/12] perf tools: Improve ambiguous option help message

2015-10-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Currently if an option name is ambiguous it only prints first two matched option names but no help. It'd be better it could show all possible names and help messages too. Before: $ perf report --show Error: Ambiguous option: show (could be --show-total-period or

[PATCH 11/12] perf tools: Enable pre-event inherit setting by config terms

2015-10-28 Thread Arnaldo Carvalho de Melo
From: Wang Nan This patch allows perf record setting event's attr.inherit bit by config terms like: # perf record -e cycles/no-inherit/ ... # perf record -e cycles/inherit/ ... So user can control inherit bit for each event separately. In following example, a.out fork()s in main then do

[PATCH 04/12] perf tools: Introduce usage_with_options_msg()

2015-10-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Now usage_with_options() setup a pager before printing message so normal printf() or pr_err() will not be shown. The usage_with_options_msg() can be used to print some help message before usage strings. Signed-off-by: Namhyung Kim Acked-by: Masami Hiramatsu Cc: David Ahern

Re: [PATCH v12 2/6] fpga: add bindings document for simple fpga bus

2015-10-28 Thread atull
On Wed, 28 Oct 2015, Moritz Fischer wrote: > On Wed, Oct 28, 2015 at 7:53 AM, atull wrote: > > >> > +A Simple FPGA Bus is a bus that handles configuring an FPGA and its > >> > bridges > >> > +before populating the devices below its node. All this happens when a > >> > device > >> > +tree

[PATCH 12/12] perf symbols: Fix endless loop in dso__split_kallsyms_for_kcore

2015-10-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Currently we split symbols based on the map comparison, but symbols are stored within dso objects and maps could point into same dso objects (kernel maps). Hence we could end up changing rbtree we are currently iterating and mess it up. It's easily reproduced on s390x by

[GIT PULL 00/12] perf/core improvements and fixes

2015-10-28 Thread Arnaldo Carvalho de Melo
Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit 4341801873e23bbecee76dabb7c111e3693b900f: Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2015-10-25 09:40:31 +0100) are available in the git

[PATCH 08/12] perf tools: Search for more options when passing args to -h

2015-10-28 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Recently 'perf -h' was made aware of arguments and would show just the help for the arguments specified, but that required a strict form, i.e.: $ perf -h --tui worked, but: $ perf -h tui didn't. Make it support both cases and also look at the option help

[PATCH 02/12] perf report: Rename to --show-cpu-utilization

2015-10-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim So that it can be more consistent with other --show-* options. The old name (--showcpuutilization) is provided only for compatibility. Signed-off-by: Namhyung Kim Cc: David Ahern Cc: Jiri Olsa Cc: Peter Zijlstra Link:

Re: [PATCH 3.12 009/123] USB: usbtmc: add device quirk for Rigol DS6104

2015-10-28 Thread Teunis van Beelen
Recently there was a firmware update for the Rigol DS6000 series that seems to solve the need for the "Rigol quirk". After a quick check, it looks like the scope now works well with and without the patch. I need to do some more testing though... What do you suggest, we put it on hold, we wait? How

[PATCH 09/12] perf symbols: Fix type error when reading a build-id

2015-10-28 Thread Arnaldo Carvalho de Melo
From: Dima Kogan This was benign, but wrong. The build-id should live in a char[], not a char*[] Signed-off-by: Dima Kogan Link: http://lkml.kernel.org/r/87si6pfwz4@secretsauce.net Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/symbol-minimal.c | 2 +- 1 file changed, 1

Re: [PATCH 07/11] pinctrl: use ngpios propety from DT

2015-10-28 Thread Ray Jui
On 10/28/2015 4:52 AM, Pramod Kumar wrote: Hi Linus, -Original Message- From: Linus Walleij [mailto:linus.wall...@linaro.org] Sent: 27 October 2015 15:22 To: Pramod Kumar Cc: Rob Herring; Pawel Moll; Mark Rutland; Ian Campbell; Kumar Gala; Ray Jui; Scott Branden; Russell King;

Re: [PATCH v3 2/2] arm64: dts: mt8173: Add thermal zone node for mt8173.

2015-10-28 Thread Viresh Kumar
On 22-10-15, 20:02, Dawei Chien wrote: > Add thermal zone node to mt8173.dtsi. > > Signed-off-by: Dawei Chien > --- > This patch is base on > https://patchwork.kernel.org/patch/7249821/ > https://patchwork.kernel.org/patch/7249861/ > https://patchwork.kernel.org/patch/7249891/ > --- >

Re: [PATCH v12 4/6] fpga: add fpga bridge framework

2015-10-28 Thread atull
On Wed, 28 Oct 2015, Steffen Trumtrar wrote: > > +int fpga_bridge_enable(struct fpga_bridge *bridge) > > +{ > > + pr_err("%s %s\n", __func__, dev_name(>dev)); > > Please clean this... > > > + > > + return bridge->br_ops->enable_set(bridge, 1); > > +} > >

Re: [PATCH 3.12 032/123] x86/xen: Support kexec/kdump in HVM guests by doing a soft reset

2015-10-28 Thread Jiri Slaby
On 10/28/2015, 04:26 PM, Luis Henriques wrote: > On Wed, Oct 28, 2015 at 02:50:49PM +0100, Jiri Slaby wrote: > ... >> #include >> #include >> >> +#ifdef CONFIG_KEXEC_CORE > > As already suggested by David Vrabel, this should be CONFIG_KEXEC for > kernels <= 4.2, and not CONFIG_KEXEC_CORE.

Re: [RFC] vfio/type1: handle case where IOMMU does not support PAGE_SIZE size

2015-10-28 Thread Will Deacon
On Wed, Oct 28, 2015 at 01:12:45PM +, Eric Auger wrote: > Current vfio_pgsize_bitmap code hides the supported IOMMU page > sizes smaller than PAGE_SIZE. As a result, in case the IOMMU > does not support PAGE_SIZE page, the alignment check on map/unmap > is done with larger page sizes, if any.

Re: [PATCH v12 3/6] fpga: add simple-fpga-bus

2015-10-28 Thread Moritz Fischer
On Wed, Oct 28, 2015 at 3:07 AM, Josh Cartwright wrote: > On Tue, Oct 27, 2015 at 05:09:12PM -0500, at...@opensource.altera.com wrote: >> From: Alan Tull >> >> The Simple FPGA bus uses the FPGA Manager Framework and the >> FPGA Bridge Framework to provide a manufactorer-agnostic >> interface for

[PATCH 06/12] perf cpu_map: Add cpu_map__empty_new function

2015-10-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Adding cpu_map__empty_new interface to create empty cpumap with given size. The cpumap entries are initialized with -1. It'll be used for caching cpu_map in following patches. Signed-off-by: Jiri Olsa Tested-by: Kan Liang Cc: Namhyung Kim Cc: Peter Zijlstra Link:

Re: [PATCH 3.12 032/123] x86/xen: Support kexec/kdump in HVM guests by doing a soft reset

2015-10-28 Thread Luis Henriques
On Wed, Oct 28, 2015 at 02:50:49PM +0100, Jiri Slaby wrote: ... > #include > #include > > +#ifdef CONFIG_KEXEC_CORE As already suggested by David Vrabel, this should be CONFIG_KEXEC for kernels <= 4.2, and not CONFIG_KEXEC_CORE. Cheers, -- Luís > +#include > +#endif > + > #include >

Re: [RFD] Functional dependencies between devices

2015-10-28 Thread Rafael J. Wysocki
On Wednesday, October 28, 2015 03:26:14 PM Tomeu Vizoso wrote: > On 28 October 2015 at 03:15, Rafael J. Wysocki wrote: > > On Tuesday, October 27, 2015 04:20:51 PM Tomeu Vizoso wrote: > >> On 27 October 2015 at 16:24, Rafael J. Wysocki wrote: > >> > Hi All, > >> > > >> > As discussed in the

Re: [PATCH v3 0/7] arm64: ftrace: fix incorrect output from stack tracer

2015-10-28 Thread Will Deacon
On Thu, Oct 08, 2015 at 07:01:37PM +0900, AKASHI Takahiro wrote: > This is the third patch series for fixing stack tracer on arm64. > The original issue was reported by Jungseok[1], and then I found more > issues[2]. > (Steven, Jungseok, sorry for not replying to your comments directly.) > > I

Re: [PATCH] arm64: ftrace: function_graph: dump real return addr in call trace

2015-10-28 Thread Will Deacon
On Thu, Oct 22, 2015 at 08:55:43AM +0800, libin wrote: > 在 2015/10/20 23:32, Catalin Marinas 写道: > >On Thu, Oct 15, 2015 at 10:18:12AM -0400, Steven Rostedt wrote: > >>On Thu, 15 Oct 2015 13:51:33 +0100 > >>Will Deacon wrote: > >> > >>>Is this the same old problem caused by e306dfd06fcb ("ARM64:

Re: [PATCH] serial: 8250_uniphier: add earlycon support

2015-10-28 Thread Peter Hurley
Hi Masahiro, On 10/22/2015 04:39 AM, Masahiro Yamada wrote: > This reuses the code of drivers/tty/serial/8250/8250_early.c except > > - Overwrite device->port.iotype and device->port.regshift for > UPIO_MEM32 because of_setup_earlycon() has set them for UPIO_MEM. > > - Set device->baud

Re: [PATCH] gpio: zynq: Implement irq_(request|release)_resources

2015-10-28 Thread Linus Walleij
On Tue, Oct 27, 2015 at 6:54 PM, Grygorii Strashko wrote: > [Me] >> Do you mean that these functions contain calls to non-atomic >> functions? >> > > Oh. No, I have to be more specific :( > if GPIOx driver defines custom .irq_(request|release)_resources() callbacks > they will *overwrite*

[PATCH v6 2/2] arm: perf: Add event descriptions

2015-10-28 Thread Drew Richardson
Add additional information about the ARM architected hardware events to make counters self describing. This makes the hardware PMUs easier to use as perf list contains possible events instead of users having to refer to documentation like the ARM TRMs. Signed-off-by: Drew Richardson ---

Re: [PATCH v12 2/6] fpga: add bindings document for simple fpga bus

2015-10-28 Thread Moritz Fischer
On Wed, Oct 28, 2015 at 7:53 AM, atull wrote: >> > +A Simple FPGA Bus is a bus that handles configuring an FPGA and its >> > bridges >> > +before populating the devices below its node. All this happens when a >> > device >> > +tree overlay is added to the live tree. This document describes

[PATCH v6 1/2] arm: perf: Convert event enums to #defines

2015-10-28 Thread Drew Richardson
The enums are not necessary and this allows the event values to be used to construct static strings at compile time. Signed-off-by: Drew Richardson --- arch/arm/kernel/perf_event_v7.c | 186 ++-- 1 file changed, 85 insertions(+), 101 deletions(-) diff --git

Re: [PATCH 1/2] arm: perf: Convert event enums to #defines

2015-10-28 Thread Will Deacon
On Wed, Oct 28, 2015 at 08:13:53AM -0700, Drew Richardson wrote: > On Wed, Oct 28, 2015 at 08:10:14AM -0700, Drew Richardson wrote: > > Add additional information about the ARM architected hardware events > > to make counters self describing. This makes the hardware PMUs easier > > to use as perf

Re: [PATCH 1/2] wait/ptrace: always assume __WALL if the child is traced

2015-10-28 Thread Oleg Nesterov
On 10/26, Pedro Alves wrote: > > On 10/25/2015 03:54 PM, Oleg Nesterov wrote: > > > > In any case, the real question is whether we should change the kernel to > > fix the problem, or ask the distros to fix their init's. In the former > > case 1/2 looks simpler/safer to me than the change in

[PATCH] spi/spi-xilinx: Fix race condition on last word read

2015-10-28 Thread Ricardo Ribalda Delgado
Some users have reported that in polled mode the driver fails randomly to read the last word of the transfer. The end condition used for the transmissions (in polled and irq mode) has been the TX_EMPTY flag. But Lars-Peter Clausen has identified a delay from the TX_EMPTY to the actual end of the

Re: [PATCH/RFC] make btrfs subvol mounts appear in /proc/mounts

2015-10-28 Thread Albino B Neto
2015-10-27 20:25 GMT-02:00 Neil Brown : > snif > > diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c > index 611b66d73e80..e96c53590f72 100644 > --- a/fs/btrfs/inode.c > +++ b/fs/btrfs/inode.c > @@ -5621,6 +5621,23 @@ static void btrfs_dentry_release(struct dentry *dentry) Signed-off-by: ?

[PATCH] ARM: fix bug in vdsomunge swab32 macro

2015-10-28 Thread H. Nikolaus Schaller
Commit Commit 8a603f91cc48 ("ARM: 8445/1: fix vdsomunge not to depend on glibc specific byteswap.h") unfortunately introduced a bug created but not found during discussion and patch simplification. Reported-by: Efraim Yawitz Signed-off-by: H. Nikolaus Schaller --- arch/arm/vdso/vdsomunge.c |

Re: [PATCH v10] gpio: Add GPIO support for the ACCES 104-IDIO-16

2015-10-28 Thread Linus Walleij
On Tue, Oct 27, 2015 at 5:51 PM, Mika Westerberg wrote: > On Tue, Oct 27, 2015 at 05:42:23PM +0100, Linus Walleij wrote: >> On Tue, Oct 27, 2015 at 3:23 PM, Mika Westerberg >> wrote: >> > On Tue, Oct 27, 2015 at 11:06:58AM +0100, Linus Walleij wrote: >> >> > +menu "ISA GPIO drivers" >> >> > + >>

Re: [PATCH 1/2] arm: perf: Convert event enums to #defines

2015-10-28 Thread Drew Richardson
On Wed, Oct 28, 2015 at 08:10:14AM -0700, Drew Richardson wrote: > Add additional information about the ARM architected hardware events > to make counters self describing. This makes the hardware PMUs easier > to use as perf list contains possible events instead of users having > to refer to

[PATCH v6 0/2] arm: perf: Add event descriptions

2015-10-28 Thread Drew Richardson
Here's another spin of the arm32 version of adding the event descriptors, this time without the weird copy of attr_groups in armpmu_init which was there last time [0]. This depends on Marks fix [1]. GIT: [PATCH 1/2] arm: perf: Convert event enums to #defines GIT: [PATCH 2/2] arm: perf: Add event

[PATCH 1/2] arm: perf: Convert event enums to #defines

2015-10-28 Thread Drew Richardson
Add additional information about the ARM architected hardware events to make counters self describing. This makes the hardware PMUs easier to use as perf list contains possible events instead of users having to refer to documentation like the ARM TRMs. Signed-off-by: Drew Richardson ---

Re: [PATCH] xfrm: dst_entries_init() per-net dst_ops

2015-10-28 Thread Dan Streetman
On Wed, Oct 28, 2015 at 9:42 AM, Hannes Frederic Sowa wrote: > Hello, > > On Wed, Oct 28, 2015, at 14:32, Dan Streetman wrote: >> On Tue, Oct 27, 2015 at 12:15 PM, wrote: >> > From: Dan Streetman >> > >> > The ipv4 and ipv6 xfrms each create a template dst_ops object, and >> > perform

Re: [PATCH v3] Input: uinput - add new UINPUT_DEV_SETUP and UI_ABS_SETUP ioctl

2015-10-28 Thread Benjamin Tissoires
Hi, On Oct 25 2015 or thereabouts, David Herrmann wrote: > Hi > > On Sun, Oct 25, 2015 at 12:53 AM, Dmitry Torokhov > wrote: > > Hi Benjamin, > > > > On Tue, Aug 25, 2015 at 11:12:59AM -0400, Benjamin Tissoires wrote: > >> +static int uinput_abs_setup(struct uinput_device *udev, > >> +

[PATCH 1/2] arm: perf: Convert event enums to #defines

2015-10-28 Thread Drew Richardson
>From 7a5ccb14449d6ccdf34c38c2c32e739da3552c5f Mon Sep 17 00:00:00 2001 From: Drew Richardson Date: Tue, 13 Oct 2015 07:55:16 -0700 Subject: [PATCH 1/2] arm: perf: Convert event enums to #defines The enums are not necessary and this allows the event values to be used to construct static strings

Re: [PATCH] namei: permit linking with CAP_FOWNER in userns

2015-10-28 Thread Dirk Steinmetz
On Tue, 27 Oct 2015 20:28:02 +, Serge Hallyn wrote: > Quoting Dirk Steinmetz (pub...@rsjtdrjgfuzkfg.com): > > On Tue, 27 Oct 2015 09:33:44 -0500, Seth Forshee wrote: > > > I did want to point what seems to be an inconsistency in how > > > capabilities in user namespaces are handled with

Re: [PATCH v12 1/6] fpga: add usage documentation for simple fpga bus

2015-10-28 Thread atull
On Wed, 28 Oct 2015, Moritz Fischer wrote: Hi Moritz! > Hi Alan, > > great docs! Couple of nits inline below > > On Tue, Oct 27, 2015 at 3:09 PM, wrote: > > From: Alan Tull > > > > Add a document spelling out usage of the simple fpga bus. > > > > Signed-off-by: Alan Tull > > --- > > v9:

Re: [PATCH V3 2/5] cpufreq: ondemand: update sampling rate immediately

2015-10-28 Thread Rafael J. Wysocki
On Wednesday, October 28, 2015 03:01:09 PM Viresh Kumar wrote: > On 28-10-15, 07:28, Rafael J. Wysocki wrote: > > Your argument seems to be that it should be OK to do the > > cancel_delayed_work_sync()/gov_queue_work() combo in all cases, because > > even if the new rate is greater than the old

Re: [PATCH v12 2/6] fpga: add bindings document for simple fpga bus

2015-10-28 Thread atull
On Wed, 28 Oct 2015, Steffen Trumtrar wrote: > Hi! > > On Tue, Oct 27, 2015 at 05:09:11PM -0500, at...@opensource.altera.com wrote: > > From: Alan Tull > > > > New bindings document for simple fpga bus. > > > > Signed-off-by: Alan Tull > > --- > > v9: initial version added to this patchset

Re: [PATCH -mm 2/3] nbd: nbd_thread_recv: remove the buggy kernel_dequeue_signal()

2015-10-28 Thread Oleg Nesterov
On 10/26, Markus Pargmann wrote: > > Hi Oleg, > > On Sun, Oct 25, 2015 at 04:26:39PM +0100, Oleg Nesterov wrote: > > nbd_thread_recv() is called by userspace, it is very wrong to dequeue > > and throw out a signal. > > This signal handling for a userspace process is implicitly implemented > for

Re: [PATCH] of/fdt: fix error checking for earlycon address

2015-10-28 Thread Peter Hurley
On 10/27/2015 04:46 PM, Rob Herring wrote: > On Fri, Oct 23, 2015 at 8:15 AM, Peter Hurley > wrote: >> Hi Masahiro, >> >> On 10/23/2015 07:47 AM, Masahiro Yamada wrote: >>> fdt_translate_address() returns OF_BAD_ADDR on error. It is defined as >>> a u64 value, so the variable "addr" should be

Re: [PATCH] MAINTAINERS: Start using the 'reviewer' (R) tag

2015-10-28 Thread Javier Martinez Canillas
Hello Lee, [removed since we have been discussing the same back and forth] On Wed, Oct 28, 2015 at 3:38 PM, Lee Jones wrote: >> >> No need for that, I already explained my point of view several times >> and you just think I'm wrong because I don't agree with you. So let's >> just agree on

Re: [PATCH] tty: serial: sa1100.c: use UPIO_MEM rather than SERIAL_IO_MEM

2015-10-28 Thread Saurabh Sengar
Thank you Peter, for your explanation. Regards, Saurabh -- 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.html Please read the FAQ at

[PATCH 3.12 009/123] USB: usbtmc: add device quirk for Rigol DS6104

2015-10-28 Thread Jiri Slaby
From: Teunis van Beelen 3.12-stable review patch. If anyone has any objections, please let me know. === commit f50420223071b6ff4b586308f5c27eec54694a81 upstream. Recently we purchased the Rigol DS6104 and when I try to operate it from my Linux pc, everything works well with the

[PATCH 3.12 008/123] usb: core: Fix USB 3.0 devices lost in NOTATTACHED state after a hub port reset

2015-10-28 Thread Jiri Slaby
From: Robert Schlabbach 3.12-stable review patch. If anyone has any objections, please let me know. === commit fb6d1f7df5d25299fd7b3e84b72b8851d3634764 upstream. Fix USB 3.0 devices lost in NOTATTACHED state after a hub port reset. Dissolve the function hub_port_finish_reset()

Re: [PATCH 3/3] x86: context_tracking: avoid irq_save/irq_restore on kernel entry and exit

2015-10-28 Thread Paolo Bonzini
On 28/10/2015 06:22, Andy Lutomirski wrote: >> > called by guest_enter and guest_exit. >> > >> > Use the previously introduced __context_tracking_entry and >> > __context_tracking_exit. > x86 isn't ready for this yet. We could do a quick-and-dirty fix with > explicit IRQs-on-and-off much

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