[PATCH 13/22] perf tools: Add BPF_PROLOGUE config options for further patches

2015-09-23 Thread Wang Nan
If both LIBBPF and DWARF are detected, it is possible to create prologue for eBPF programs to help them accessing kernel data. HAVE_BPF_PROLOGUE and CONFIG_BPF_PROLOGUE is added as flags for this feature. PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET indicates an architecture supports converting name

[PATCH 09/22] perf test: Enforce LLVM test for BPF test

2015-09-23 Thread Wang Nan
This patch replaces the original toy BPF program with previous introduced bpf-script-example.c. Dynamically embedded it into 'llvm-src.c'. The newly introduced BPF program attaches a BPF program at 'sys_epoll_pwait()', and collect half samples from it. perf itself never use that syscall, so

[PATCH 07/22] perf record: Add clang options for compiling BPF scripts

2015-09-23 Thread Wang Nan
Although previous patch allows setting BPF compiler related options in perfconfig, on some ad-hoc situation it still requires passing options through cmdline. This patch introduces 2 options to 'perf record' for this propose: --clang-path and --clang-opt. Signed-off-by: Wang Nan

Re: [PATCH] storvsc: get rid of homegrown copy_{to,from}_bounce_buffer()

2015-09-23 Thread Vitaly Kuznetsov
Christoph Hellwig writes: > On Tue, Sep 22, 2015 at 06:27:50PM +0200, Vitaly Kuznetsov wrote: >> Storvsc driver needs to ensure there are no 'holes' in the presented >> sg list (all segments in the middle of the list need to be of PAGE_SIZE). > > I think it should instead set

[PATCH 1/4] crypto: talitos: dma_map_sg can handle chained SG

2015-09-23 Thread LABBE Corentin
The talitos driver use two dma_map_sg path according to SG are chained or not. Since dma_map_sg can handle both case, clean the code with all references to sg chained. Thus removing talitos_map_sg, talitos_unmap_sg_chain and sg_count functions. Signed-off-by: LABBE Corentin

[PATCH 2/4] crypto: qce: dma_map_sg can handle chained SG

2015-09-23 Thread LABBE Corentin
The qce driver use two dma_map_sg path according to SG are chained or not. Since dma_map_sg can handle both case, clean the code with all references to sg chained. Thus removing qce_mapsg, qce_unmapsg and qce_countsg functions. Signed-off-by: LABBE Corentin ---

[PATCH] crypto: dma_map_sg can handle chained SG

2015-09-23 Thread LABBE Corentin
Hello Some drivers use two dma_map_sg path according to SG are chained or not. Since dma_map_sg can handle both case, this patch series clean all code with references to sg chained. Note that I could only compile test sahara and caam patch. And none could be tested due to lack oh hardware.

Re: [PATCH 1/3] Make /dev/urandom scalable

2015-09-23 Thread Rasmus Villemoes
On Wed, Sep 23 2015, Andi Kleen wrote: > @@ -467,7 +478,7 @@ static struct entropy_store blocking_pool = { > > static struct entropy_store nonblocking_pool = { > .poolinfo = _table[1], > - .name = "nonblocking", > + .name = "nonblocking 0", > .pull =

Re: [PATCH] watchdog: iTCO: Fix dependencies on I2C

2015-09-23 Thread Matt Fleming
On Fri, 11 Sep, at 06:28:08AM, Guenter Roeck wrote: > If I2C is built as module, the iTCO watchdog driver must be built as module > as well. I2C_I801 must only be selected if I2C is configured. > > This fixes the following build errors, seen if I2C=m and ITCO_WDT=y. > >

Re: [RFT v3] eata: Convert eata driver as normal PCI and platform device drivers

2015-09-23 Thread Arthur Marsh
Jiang Liu wrote on 23/09/15 14:54: Hi Arthur, I have found the cause of the warning messages, it's caused by a flaw in the conversion. But according to my understanding, it isn't related to the kexec/kdump failure. Could you please help to test the attached new version? Thanks! Gerry

[GIT PULL 00/22] perf tools: filtering events using eBPF programs

2015-09-23 Thread Wang Nan
-20150923 for you to fetch changes up to 1465cf7b201b8b21c61fa54ffe15094f66e73ab0: perf probe: Fix module probing with shortname (2015-09-23 10:44:58 +) Get rid of dummy events by utilizing new perf probe API. Signed-off-by: Wang

[PATCH 02/22] perf tools: Enable passing bpf object file to --event

2015-09-23 Thread Wang Nan
By introducing new rules in tools/perf/util/parse-events.[ly], this patch enables 'perf record --event bpf_file.o' to select events by an eBPF object file. It calls parse_events_load_bpf() to load that file, which uses bpf__prepare_load() and finally calls bpf_object__open() for the object files.

[PATCH 20/22] perf test: Enforce LLVM test, add kbuild test

2015-09-23 Thread Wang Nan
This patch enforces existing LLVM test, makes it compile more than one BPF source file. The compiled results are stored, can be used for other testcases. Except the first testcase (named LLVM_TESTCASE_BASE), failures of other test cases are not considered as failure of the whole test. Adds a

[PATCH 10/22] perf test: Add 'perf test BPF'

2015-09-23 Thread Wang Nan
This patch adds BPF testcase for testing BPF event filtering. By utilizing the result of 'perf test LLVM', this patch compiles the eBPF sample program then test it ability. The BPF script in 'perf test LLVM' collects half of execution of epoll_pwait(). This patch runs 111 times of it, so the

Re: [PATCH v13 04/23] x86/stacktool: Compile-time stack metadata validation

2015-09-23 Thread Jiri Slaby
On 09/23/2015, 01:38 PM, Jiri Slaby wrote: > On 09/22/2015, 05:46 PM, Josh Poimboeuf wrote: > ... >> --- /dev/null >> +++ b/tools/stacktool/elf.c >> @@ -0,0 +1,403 @@ > ... >> +static struct section *find_section_by_index(struct elf *elf, >> + unsigned int

Re: [PATCH 3/3] usb: gadget: f_midi: free request when usb_ep_queue fails

2015-09-23 Thread Felipe Tonello
Hi Peter, On Wed, Sep 23, 2015 at 8:09 AM, Peter Chen wrote: > On Tue, Sep 22, 2015 at 07:59:10PM +0100, Felipe F. Tonello wrote: >> This fix a memory leak that will occur in this case. >> >> Signed-off-by: Felipe F. Tonello >> --- >>

Re: How to ensure that different peripherals getting different IOVA address in kernel?

2015-09-23 Thread Robin Murphy
On 23/09/15 02:55, chenfeng wrote: Hi all, In IOMMU architecture , how to make two different peripherals share the same page table ? In other words , is there a mechanism or structure to make two peripherals get completely different address. eg: peri-A、peri-B and peri-C share the same iova

Re: 答复: Question about the sparse memory section size

2015-09-23 Thread Dave P Martin
On Wed, Sep 23, 2015 at 02:16:45AM +0100, Qijiwen wrote: > In fact the free_unused_memmap function is not invoked when > CONFIG_SPARSEMEM_VMEMMAP is enabled. > The reason is that the memmap region is mapped in unit of 2MB, not in unit of > 4KB. > > Below is the source code in

Re: [Xen-devel] [PATCH RFC] xen: if on Xen, "flatten" the scheduling domain hierarchy

2015-09-23 Thread Boris Ostrovsky
On 09/23/2015 03:35 AM, Juergen Gross wrote: Depends on the hardware. On some AMD processors one socket covers multiple NUMA nodes. This is the critical case. set_sched_topology() will be called on those machines possibly multiple times when bringing up additional cpus. I'm asking because

RE: [PATCH v3 1/4] iio: bmc150: Use i2c regmap

2015-09-23 Thread Tirdea, Irina
> -Original Message- > From: Markus Pargmann [mailto:m...@pengutronix.de] > Sent: 21 September, 2015 13:55 > To: Jonathan Cameron > Cc: Srinivas Pandruvada; Tirdea, Irina; Lars-Peter Clausen; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > ker...@pengutronix.de; Markus

RE: [PATCH v3 2/4] iio: bcm150: Remove i2c_client from private data

2015-09-23 Thread Tirdea, Irina
> -Original Message- > From: Markus Pargmann [mailto:m...@pengutronix.de] > Sent: 21 September, 2015 13:55 > To: Jonathan Cameron > Cc: Srinivas Pandruvada; Tirdea, Irina; Lars-Peter Clausen; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > ker...@pengutronix.de; Markus

Re: [PATCH] ASoC: mediatek: Increase periods_min in capture

2015-09-23 Thread Koro Chen
Any suggestion for this patch? On Mon, 2015-09-14 at 14:51 +0800, Koro Chen wrote: > In capture, there is chance that hw_ptr reported at IRQ is > a little smaller than period_size due to internal AFE buffer. > In the case of ping-pong buffer: > >

[PATCH v3] x86: hyperv: fix build in !CONFIG_KEXEC_CORE case

2015-09-23 Thread Vitaly Kuznetsov
Recent changes in Hyper-V driver ("Drivers: hv: vmbus: add special crash handler") broke the build when CONFIG_KEXEC_CORE is not set: arch/x86/built-in.o: In function `hv_machine_crash_shutdown': arch/x86/kernel/cpu/mshyperv.c:112: undefined reference to `native_machine_crash_shutdown' Decorate

Re: [PATCH v13 04/23] x86/stacktool: Compile-time stack metadata validation

2015-09-23 Thread Jiri Slaby
On 09/22/2015, 05:46 PM, Josh Poimboeuf wrote: ... > --- /dev/null > +++ b/tools/stacktool/elf.c > @@ -0,0 +1,403 @@ ... > +static struct section *find_section_by_index(struct elf *elf, > + unsigned int index) > +{ ... > +} > + > +static struct symbol

[PATCH] net/ibm/emac: bump version numbers for correct work with ethtool

2015-09-23 Thread Ivan Mikhaylov
Register dump out work preventing with old ethtool + new driver and new ethtool + old driver. --- drivers/net/ethernet/ibm/emac/core.h |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/ibm/emac/core.h b/drivers/net/ethernet/ibm/emac/core.h index

[PATCH 1/2] Documentation: DMA API: Be more explicit that nents is always the same

2015-09-23 Thread Sakari Ailus
From: Sakari Ailus The nents argument to the DMA API functions operating on scatterlists is always the same. The documentation used different argument names and the matter was not mentioned in Documentation/DMA-API-HOWTO.txt at all. Fix these. Signed-off-by: Sakari Ailus

[PATCH 0/2] Improve DMA API sg_sync function documentation

2015-09-23 Thread Sakari Ailus
Hi, This set of two patches improves DMA API function documentation for cache sync functions operating on scatterlists and fixes related comments in the ARM implementation. -- Kind regards, Sakari -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

[PATCH 2/2] arm: mm: Fix comments in sg_sync functions

2015-09-23 Thread Sakari Ailus
The comment on the usage of arm_dma_sync_sg_for_cpu(), arm_dma_sync_sg_for_device(), arm_iommu_sync_sg_for_cpu() and arm_iommu_sync_sg_for_device() functions wrongly noted that the "nelems" parameter is the number of sglist entries returned by dma_map_sg(), while this must be the number of

Re: [PATCH] hid-core: Avoid uninitialized buffer access

2015-09-23 Thread Jiri Kosina
On Fri, 18 Sep 2015, Darren Hart wrote: > From: Richard Purdie > > hid_connect adds various strings to the buffer but they're all > conditional. You can find circumstances where nothing would be written > to it but the kernel will still print the supposedly

[PATCH 3/3] ARM: dts: omap5-uevm: enable iio gpadc for Palmas

2015-09-23 Thread H. Nikolaus Schaller
Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap5-uevm.dts | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts index 3b16e8f..0d4c8ff 100644 ---

Re: [PATCH] KVM: x86: fix bogus warning about reserved bits

2015-09-23 Thread Paolo Bonzini
On 23/09/2015 13:07, Borislav Petkov wrote: >> > + static bool first; >> > >> >best = kvm_find_cpuid_entry(vcpu, 0, 0); >> > + if (first && best) { >> > + printk("cpuid(0).ebx = %x\n", best->ebx); >> > + first = false; >> > + } else if (first) >> > +

[RFC PATCH 1/2] usb: doc: Add bindings for ULPI platform driver

2015-09-23 Thread Subbaraya Sundeep Bhatta
This patch adds binding doc info for generic ULPI PHYs platform driver. Signed-off-by: Subbaraya Sundeep Bhatta --- .../devicetree/bindings/usb/ulpi-platform-phy.txt | 34 1 files changed, 34 insertions(+), 0 deletions(-) create mode 100644

Re: Multiple potential races on vma->vm_flags

2015-09-23 Thread Andrey Konovalov
On Wed, Sep 23, 2015 at 3:39 AM, Hugh Dickins wrote: > This is totally untested, and one of you may quickly prove me wrong; > but I went in to fix your "Bad page state (mlocked)" by holding pte > lock across the down_read_trylock of mmap_sem in try_to_unmap_one(), > then

Re: [PATCH 1/3] iio:adc: add iio driver for Palmas (twl6035/7) gpadc

2015-09-23 Thread Peter Meerwald
> This driver code was found as: > > https://android.googlesource.com/kernel/tegra/+/aaabb2e045f31e5a970109ffdaae900dd403d17e/drivers/staging/iio/adc > > Fixed various compilation issues and test this driver on omap5 evm. several minor comments below probably the mfd part should be split out

Re: [tip:perf/core] tools lib api fs: Remove debugfs, tracefs and findfs objects

2015-09-23 Thread Matt Fleming
On Wed, 23 Sep, at 10:39:06AM, Jiri Olsa wrote: > On Wed, Sep 23, 2015 at 09:23:02AM +0100, Matt Fleming wrote: > > > > Does automated testing exist for perf tools development? > > heh, we've been playing game "who first mention it in public will implement > it" ... you won! ;-) Hehe, whoops!

RE: [PATCH] f2fs: fix to correct freed section number during gc

2015-09-23 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Wednesday, September 23, 2015 6:54 AM > To: Chao Yu > Cc: linux-f2fs-de...@lists.sourceforge.net; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] f2fs: fix to correct freed section number during

[PATCH] kernel: Remove unneeded return from void function

2015-09-23 Thread Guillaume Gomez
Signed-off-by: Guillaume Gomez --- include/linux/device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/device.h b/include/linux/device.h index 5d7bc63..d0823c2 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@

[PATCH 1/7] tools build: Add Makefile.include

2015-09-23 Thread Jiri Olsa
To ease up build framework code setup for users. More shared code will be added in following patches. Link: http://lkml.kernel.org/n/tip-p4hlxa0qh5ffkidq5e8jf...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/build/Documentation/Build.txt | 45

[PATCH 5/7] tools build: Make fixdep helper part of the build process

2015-09-23 Thread Jiri Olsa
Making fixdep helper to be invoked within the dep-cmd. Each user of the build framework needs to make sure fixdep exists before executing the build itself. If the build won't find fixdep, it falls back to the old style dependency tracking. Link:

[PATCH 6/7] perf tools: Rename single_dep target to prepare

2015-09-23 Thread Jiri Olsa
And use the new 'prepare' target for $(PERF_IN) target. Link: http://lkml.kernel.org/n/tip-00vhcjq782qzisxdjjcjg...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/Makefile.perf | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git

[PATCH 0/7] tools build: Fix header removal build issue

2015-09-23 Thread Jiri Olsa
hi, for dependency tracking we currently use targets that fall out of the gcc -MD command. We store this info in the .cmd file and include as makefile during the build. This format put object as target and all the c and header files as dependencies, like: util/abspath.o: util/abspath.c

[PATCH 7/7] tools build: Build fixdep helper from perf and basic libs

2015-09-23 Thread Jiri Olsa
Adding fixdep target into Makefile.include to ease up building of fixdep helper, that needs to be built before we dive in to the build itself. The user can invoke the fixdep target to build the helper. Link: http://lkml.kernel.org/n/tip-xk4fs6etao060ekipi0o1...@git.kernel.org Signed-off-by: Jiri

[PATCH] kernel: Remove unneeded return from void function

2015-09-23 Thread Guillaume Gomez
Signed-off-by: Guillaume Gomez --- include/linux/percpu-refcount.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/percpu-refcount.h b/include/linux/percpu-refcount.h index 12c9b48..84f542d 100644 --- a/include/linux/percpu-refcount.h

[PATCH 2/7] tools build: Add test for missing include

2015-09-23 Thread Jiri Olsa
The current build framework fails to cope with header file removal. The reason is the removed header file stays in the .cmd file target rule and force the build to fail. This issue is fixed and explained in following patches. Adding new build test that simulates header removal. Link:

[PATCH 4/7] tools build: Move dependency copy into function

2015-09-23 Thread Jiri Olsa
So it's easier to add more functionality in following commit. Link: http://lkml.kernel.org/n/tip-zyle91hokwgwjpm6tjpx2...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/build/Build.include | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git

[PATCH 3/7] tools build: Add fixdep dependency helper

2015-09-23 Thread Jiri Olsa
For dependency tracking we currently use targets that fall out of the gcc -MD command. We store this info in the .cmd file and include as makefile during the build. This format put object as target and all the c and header files as dependencies, like: util/abspath.o: util/abspath.c

EMPLOYEE #: MS-284-GS

2015-09-23 Thread Mystery Shopper
Congratulation!!! You have been selected to participate in a paid Customer Research Program known as “Secret Shopping”. As one of the people selected to represent our firm, you will be acting as a Customer Service Evaluator of selected companies in your area. Get back for more Information.

Re: crisv32 runtime failure in -next due to 'page-flags: define behavior SL*B-related flags on compound pages'

2015-09-23 Thread Kirill A. Shutemov
On Tue, Sep 22, 2015 at 08:40:14AM -0700, Paul E. McKenney wrote: > On Tue, Sep 22, 2015 at 06:31:04PM +0300, Kirill A. Shutemov wrote: > > On Tue, Sep 22, 2015 at 08:18:35AM -0700, Paul E. McKenney wrote: > > > On Tue, Sep 22, 2015 at 03:57:06PM +0200, Hans-Peter Nilsson wrote: > > > > I guess

[PATCH 11/22] perf probe: Reset args and nargs for probe_trace_event when failure

2015-09-23 Thread Wang Nan
When failure occures in add_probe_trace_event(), args in probe_trace_event is incomplete. Since information in it may be used in futher, this patch frees the allocated memory and set it to NULL to avoid dangling pointer. Signed-off-by: Wang Nan Cc: Alexei Starovoitov

[PATCH 06/22] perf tools: Attach eBPF program to perf event

2015-09-23 Thread Wang Nan
This is the final patch which makes basic BPF filter work. After applying this patch, users are allowed to use BPF filter like: # perf record --event ./hello_world.o ls A bpf_fd field is appended to 'struct evsel', and setup during the callback function add_bpf_event() for each

[PATCH 17/22] perf tools: Use same BPF program if arguments are identical

2015-09-23 Thread Wang Nan
This patch allows creating only one BPF program for different 'probe_trace_event'(tev) generated by one 'perf_probe_event'(pev), if their prologues are identical. This is done by comparing argument list of different tev, and maps type of prologue and tev using a mapping array. This patch utilizes

[PATCH 19/22] perf tools: Allow BPF program attach to uprobe events

2015-09-23 Thread Wang Nan
This patch appends new syntax to BPF object section name to support probing at uprobe event. Now we can use BPF program like this: SEC( "target=/lib64/libc.so.6\n" "libcwrite=__write" ) int libcwrite(void *ctx) { return 1; } Where, in section name of a program, before the main config

[PATCH 05/22] perf tools: Collect perf_evsel in BPF object files

2015-09-23 Thread Wang Nan
This patch collects 'struct perf_evsel' for every probing points in BPF object file(s) and fill 'struct evlist'. The previous introduced dummy event now removed. After this patch, following command: # perf record --event filter.o ls Can trace on each probing points defined in filter.o. The

4.3-rc2 on radeon: new backtraces during resume

2015-09-23 Thread Pavel Machek
HI! I suspended T40p by mistake, and I got some lovely backtraces as a result: Any ideas? Pavel [0.00] Initializing cgroup subsys cpu [0.00] Linux version 4.3.0-rc2+ (pavel@hobit) (gcc version 4.9.2 (Debian

[PATCH v5 2/2] iio: mcp4531: Driver for Microchip digital potentiometers

2015-09-23 Thread Peter Rosin
From: Peter Rosin Add support for Microchip digital potentiometers and rheostats MCP4531, MCP4532, MCP4551, MCP4552 MCP4631, MCP4632, MCP4651, MCP4652 DEVICE Wipers Steps Resistor Opts (kOhm) i2c address MCP4531 1 1295, 10, 50, 100010111x

[PATCH v2 1/3] usb: chipidea: core: fix when building without CONFIG_PM support

2015-09-23 Thread Felipe F. Tonello
If CONFIG_PM or CONFIG_PM_SLEEP is not set, driver will not compile properly. Signed-off-by: Felipe F. Tonello --- Changes for v2: * removed unnecessary #ifdef CONFIG_PM_SLEEP. drivers/usb/chipidea/core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff

[PATCH 3/4] crypto: caam: dma_map_sg can handle chained SG

2015-09-23 Thread LABBE Corentin
The caam driver use two dma_map_sg path according to SG are chained or not. Since dma_map_sg can handle both case, clean the code with all references to sg chained. Thus removing dma_map_sg_chained, dma_unmap_sg_chained and __sg_count functions. Signed-off-by: LABBE Corentin

[PATCH v5 0/2] Driver for Microchip digital potentiometers

2015-09-23 Thread Peter Rosin
From: Peter Rosin This is the fifth attempt for a driver for these chips. Thanks for review comments from Greg Kroah-Hartman, Crt Mori, Daniel Baluta, Lars-Peter Clauson, Andreas Dannenberg, Peter Meerwald and Jonathan Cameron. I think and hope I got it all sorted. Changes

[PATCH v5 1/2] iio: resistance: Document that resistance can be output

2015-09-23 Thread Peter Rosin
From: Peter Rosin Signed-off-by: Peter Rosin --- Documentation/ABI/testing/sysfs-bus-iio |2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio index

Re: [PATCH 6/6] ARM: dts: set up trigger type for edt-ft5x06 interrupts

2015-09-23 Thread Shawn Guo
On Sat, Sep 12, 2015 at 10:45:51AM -0700, Dmitry Torokhov wrote: > Now that the driver respects IRQ trigger settings from device tree, let's > fix them up in individual DTSes (note that the driver is still compatible > with older DTSes). > > Signed-off-by: Dmitry Torokhov

EMPLOYEE Secret Shopping #: MS-284-GS

2015-09-23 Thread Mystery Shopper
Congratulation!!! You have been selected to participate in a paid Customer Research Program known as “Secret Shopping”. As one of the people selected to represent our firm, you will be acting as a Customer Service Evaluator of selected companies in your area. Get back for more Information.

[PATCH] serial: 8250: Add missing module license for 8250_base.ko

2015-09-23 Thread Peter Hurley
From: Jonathan McDowell The split of the 8250 driver into a 8250_base/8250.ko resulted in a lack of a license for the 8250_base.ko module. This caused the module to fail to load and the kernel to be tainted. Add the appropriate MODULE_LICENSE to 8250_port.c, which is always

Re: [PATCH 2/2] selftests/userfaultfd: improve syscall number definition

2015-09-23 Thread Andre Przywara
Hi Michael, On 23/09/15 10:55, Michael Ellerman wrote: > On Tue, 2015-09-22 at 18:15 +0100, Andre Przywara wrote: >> On 22/09/15 15:06, Andrea Arcangeli wrote: >>> Andre, could you see if linux-next (which includes -mm) works for you >>> by just running "cd tools/testing/selftests/vm/ && make"?

[RFC PATCH 2/2] usb: phy: Add platform driver support for ULPI PHYs

2015-09-23 Thread Subbaraya Sundeep Bhatta
Based on board design USB controller needs explicit software access to ULPI PHY for controlling VBUS. This patch adds platform driver support for generic ULPI PHYs and provides a USB2 PHY device to controllers. Signed-off-by: Subbaraya Sundeep Bhatta ---

Re: [linux-next] khugepaged inconsistent lock state

2015-09-23 Thread Kirill A. Shutemov
On Mon, Sep 21, 2015 at 04:57:05PM -0700, Hugh Dickins wrote: > On Mon, 21 Sep 2015, Kirill A. Shutemov wrote: > > On Mon, Sep 21, 2015 at 01:46:00PM +0900, Sergey Senozhatsky wrote: > > > Hi, > > > > > > 4.3.0-rc1-next-20150918 > > > > > > [18344.236625] = > > >

Re: compaction.h: undefined CONFIG_ZONE_HIGHMEM_

2015-09-23 Thread Valentin Rothberg
On Sep 23 '15 11:34, Vlastimil Babka wrote: > On 09/23/2015 10:43 AM, Valentin Rothberg wrote: > > Hi Vlastimil, > > > > your commit 1434c81a47e3 ("mm, compaction: export tracepoints zone names > > to userspace") has shown up in todays linux-next tree (i.e

[PATCH] clock: Remove unneeded return from void function

2015-09-23 Thread Guillaume Gomez
Signed-off-by: Guillaume Gomez --- include/linux/clockchips.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/clockchips.h b/include/linux/clockchips.h index bdcf358..4dd0437 100644 --- a/include/linux/clockchips.h +++

[PATCH 1/2] KVM: introduce __vmx_flush_tlb to handle specific vpid

2015-09-23 Thread Wanpeng Li
Introduce __vmx_flush_tlb() to handle specific vpid. Signed-off-by: Wanpeng Li --- arch/x86/kvm/vmx.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 794c529..7188c5e 100644 ---

Re: [PATCH 22/31] fs/ntfs: use kmemdup rather than duplicating its implementation

2015-09-23 Thread Anton Altaparmakov
Hi Andrzej, Thanks for your patch. It looks fine though I don't quite see the point of it to be honest. It actually adds an additional function call (kmemdup() is not inline) just to save 1 line of source code in the driver and I don't think it improves readability or anything so why bother?

[PATCH 2/2] KVM: nVMX: fix flush vpid01 during nested vmentry/vmexit

2015-09-23 Thread Wanpeng Li
vpid_sync_vcpu_single() still handles vpid01 during nested vmentry/vmexit since vmx->vpid is used for invvpid. This patch fix it by specific the vpid02 through __vmx_flush_tlb() to flush the right vpid. Signed-off-by: Wanpeng Li --- arch/x86/kvm/vmx.c | 4 ++-- 1 file

Re: [patch] mm, oom: remove task_lock protecting comm printing

2015-09-23 Thread Michal Hocko
On Wed 23-09-15 13:07:40, Vladimir Davydov wrote: > On Wed, Sep 23, 2015 at 06:50:22PM +0900, Sergey Senozhatsky wrote: > > On (09/23/15 11:43), Michal Hocko wrote: > > [..] > > > > > the previous name was already null terminated, > > > > > > > > Yeah, but if the old name is shorter than the new

Re: [PATCH] clock: Remove unneeded return from void function

2015-09-23 Thread Thomas Gleixner
On Wed, 23 Sep 2015, Guillaume Gomez wrote: Your subject line is not really matching the subsystem. git log --oneline include/linux/clockchips.h should give you a hint. Thanks, tglx -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: AMD-IOMMU and problem with __init(data)?

2015-09-23 Thread Joerg Roedel
Hey Alexander, On Wed, Sep 23, 2015 at 12:22:24PM +0200, Alexander Holler wrote: > [1.539496] AMD-Vi: Lazy IO/TLB flushing enabled > [1.545741] AHO: count_annotated 25 > [1.549259] AHO: build inventory > [1.552517] AHO: ac 81d400d8 ic (null) ID > 2177560225 deps

[PATCH 4/4] crypto: sahara: dma_map_sg can handle chained SG

2015-09-23 Thread LABBE Corentin
The sahara driver use two dma_map_sg path according to SG are chained or not. Since dma_map_sg can handle both case, clean the code with all references to sg chained. Thus removing the sahara_sha_unmap_sg function. Signed-off-by: LABBE Corentin ---

Re: [PATCH] mm/oom_kill.c: don't kill TASK_UNINTERRUPTIBLE tasks

2015-09-23 Thread Kyle Walker
On Tue, Sep 22, 2015 at 7:32 PM, David Rientjes wrote: > > I struggle to understand how the approach of randomly continuing to kill > more and more processes in the hope that it slows down usage of memory > reserves or that we get lucky is better. Thank you to one and all

Re: [PATCH] ARM: ls1021a: Add dma-coherent property for eTSEC nodes

2015-09-23 Thread Shawn Guo
On Mon, Sep 14, 2015 at 02:45:28PM +0800, Alison Wang wrote: > This patch adds dma-coherent property for eTSEC nodes, so > coherent DMA operations are supported. > > Signed-off-by: Alison Wang Applied, thanks. -- To unsubscribe from this list: send the line

RE: [PATCH v2 0/4] iio: bmc150 regmap and SPI

2015-09-23 Thread Tirdea, Irina
> -Original Message- > From: Markus Pargmann [mailto:m...@pengutronix.de] > Sent: 16 September, 2015 13:13 > To: Tirdea, Irina > Cc: Jonathan Cameron; Srinivas Pandruvada; Lars-Peter Clausen; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > ker...@pengutronix.de > Subject:

Re: [PATCH v1 8/8] pwm-pca9685: enable ACPI device found on Galileo Gen2

2015-09-23 Thread Andy Shevchenko
On Wed, 2015-09-23 at 14:48 +0200, Thierry Reding wrote: > > > > > On Wed, Sep 23, 2015 at 11:41:26AM +0300, Andy Shevchenko wrote: > > On Tue, 2015-09-22 at 16:37 +0200, Thierry Reding wrote: > > > On Tue, Sep 22, 2015 at 01:10:19PM +0300, Andy Shevchenko wrote: > > > > > > > > >

[PATCH v2] storvsc: get rid of bounce buffer

2015-09-23 Thread Vitaly Kuznetsov
Storvsc driver needs to ensure there are no 'holes' in the presented sg list (all segments in the middle of the list need to be of PAGE_SIZE). When a hole is detected storvsc driver creates a 'bounce sgl' without holes and copies data over with copy_{to,from}_bounce_buffer() functions. Setting

Re: [PATCH v2 1/2] btrfs: change num_items type from u64 to unsigned int

2015-09-23 Thread David Sterba
On Tue, Sep 22, 2015 at 08:59:15PM +, Alexandru Moise wrote: > The value of num_items that start_transaction() ultimately > always takes is a small one, so a 64 bit integer is overkill. > > Also change num_items for btrfs_start_transaction() and > btrfs_start_transaction_lflush() as well. >

Re: [PATCH v2 2/2] btrfs: declare rsv_count as unsigned int instead of int

2015-09-23 Thread David Sterba
On Tue, Sep 22, 2015 at 09:00:07PM +, Alexandru Moise wrote: > rsv_count ultimately gets passed to start_transaction() which > now takes an unsigned int as its num_items parameter. > The value of rsv_count should always be positive so declare it > as being unsigned. > > Signed-off-by:

Re: [PATCH v2 2/3] usb: gadget: f_midi: free usb request when done

2015-09-23 Thread Sergei Shtylyov
Hello. On 9/23/2015 3:01 PM, Felipe F. Tonello wrote: req->actual == req->length means that there is no data left to enqueue, so free the request. Signed-off-by: Felipe F. Tonello --- Changes in v2: * Re enqueue not fully completed requests, instead of read ALSA

Re: [RFC 0/3] sched/idle: run-time support for setting idle polling

2015-09-23 Thread Luiz Capitulino
On Wed, 23 Sep 2015 03:17:59 +0200 "Rafael J. Wysocki" wrote: > On Tuesday, September 22, 2015 04:34:19 PM Luiz Capitulino wrote: > > Hi, > > Hi, > > Please always CC patches related to power management to > linux...@vger.kernel.org. > > Also CCing Len Brown who's the

Re: [PATCH v5 2/2] iio: mcp4531: Driver for Microchip digital potentiometers

2015-09-23 Thread Lars-Peter Clausen
On 09/23/2015 01:57 PM, Peter Rosin wrote: [...] Looks pretty good. One thing I'm concerned about is that this array > +static const struct mcp4531_cfg mcp4531_cfg[] = { > + { /* MCP4531-502 */ .wipers = 1, .max_pos = 128, .kohms = 5, }, > + { /* MCP4531-103 */ .wipers = 1, .max_pos =

Re: [RFC v7 25/41] richacl: Isolate the owner and group classes

2015-09-23 Thread Andreas Gruenbacher
2015-09-22 21:02 GMT+02:00 J. Bruce Fields : > On Sat, Sep 05, 2015 at 12:27:20PM +0200, Andreas Gruenbacher wrote: >> + * Compute the permissions already denied to @who. > > I'm not sure, but may be worth commenting on the lack of everyone denies > here as you do in a

Re: [PATCH v2] soc: mediatek: Move the initial setting of pmic wrap interrupt before requesting irq.

2015-09-23 Thread Sascha Hauer
On Fri, Sep 11, 2015 at 09:05:20PM +0800, Henry Chen wrote: > The watchdog may not be initialized by the bootloader, even if the rest > of the pwrap is. Move the watchdog initialization out of pwrap_init() to > make sure the watchdog is always initialized and not only when the pwrap > is

Re: [tip:perf/core] tools lib api fs: Remove debugfs, tracefs and findfs objects

2015-09-23 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 23, 2015 at 10:39:06AM +0200, Jiri Olsa escreveu: > On Wed, Sep 23, 2015 at 09:23:02AM +0100, Matt Fleming wrote: > > On Mon, 21 Sep, at 05:20:03PM, Vinson Lee wrote: > > > This commit seems to have introduced a build failure with tools/vm. > > > > > > $ make -C tools vm > > > [...] >

Re: + kernelh-make-abs-work-with-64-bit-types.patch added to -mm tree

2015-09-23 Thread Alexey Dobriyan
On Fri, Sep 18, 2015 at 12:36 AM, wrote: > -#define abs(x) ({ \ > - long ret; \ > - if (sizeof(x) == sizeof(long)) {\ > -

Re: [PATCH v11 3/4] add FPGA manager core

2015-09-23 Thread Dan Carpenter
On Wed, Sep 23, 2015 at 03:23:54PM +0200, Pavel Machek wrote: > > > +int fpga_mgr_firmware_load(struct fpga_manager *mgr, u32 flags, > > > +const char *image_name) > > > +{ > > > + struct device *dev = >dev; > > > + const struct firmware *fw; > > > + int ret; > > > + > > > + if

Re: [PATCH v3 2/4] Documentation: bindings: mfd: cros ec: document vbc EC property

2015-09-23 Thread Emilio López
Hi Lee, On 22/09/15 21:34, Lee Jones wrote: On Mon, 21 Sep 2015, Emilio López wrote: Some EC implementations include a small nvram space used to store verified boot context data. This boolean property lets us indicate whether this space is available or not on a specific EC implementation.

Re: [RFC PATCH] PM / Runtime: runtime: Add sysfs option for forcing runtime suspend

2015-09-23 Thread Alan Stern
On Wed, 23 Sep 2015, Oliver Neukum wrote: > On Tue, 2015-09-22 at 11:22 -0400, Alan Stern wrote: > > On Tue, 22 Sep 2015, Oliver Neukum wrote: > > > > > Cancel, yes, going to low power is a consequence which needn't bother > > > the power subsystem. > > > > Going to low power needn't involve

Re: crisv32 runtime failure in -next due to 'page-flags: define behavior SL*B-related flags on compound pages'

2015-09-23 Thread Guenter Roeck
On 09/23/2015 03:53 AM, Kirill A. Shutemov wrote: On Tue, Sep 22, 2015 at 08:40:14AM -0700, Paul E. McKenney wrote: On Tue, Sep 22, 2015 at 06:31:04PM +0300, Kirill A. Shutemov wrote: On Tue, Sep 22, 2015 at 08:18:35AM -0700, Paul E. McKenney wrote: On Tue, Sep 22, 2015 at 03:57:06PM +0200,

[PATCH] drm/core: remove unused variable

2015-09-23 Thread Sudip Mukherjee
The variable dev was not used anywhere. Signed-off-by: Sudip Mukherjee --- drivers/gpu/drm/drm_crtc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index 9d55c0c..e600a5f 100644 --- a/drivers/gpu/drm/drm_crtc.c

Re: [PATCH 12/15] mm, dax, gpu: convert vm_insert_mixed to __pfn_t, introduce _PAGE_DEVMAP

2015-09-23 Thread Geert Uytterhoeven
Hi Dan, On Wed, Sep 23, 2015 at 6:42 AM, Dan Williams wrote: > Convert the raw unsigned long 'pfn' argument to __pfn_t for the purpose of > evaluating the PFN_MAP and PFN_DEV flags. When both are set the it s/the it/it/ > triggers _PAGE_DEVMAP to be set in the

Re: [GIT PULL 00/22] perf tools: filtering events using eBPF programs

2015-09-23 Thread Arnaldo Carvalho de Melo
697c15d6f1fb16dc22c02aac9d2ec206: > > perf tools: Make perf depend on libbpf (2015-09-22 10:17:01 -0300) > > are available in the git repository at: > > https://github.com/WangNan0/linux.git tags/perf-ebpf-for-acme-20150923 > > for you to fetch changes up to 1465

Re: [tip:perf/core] tools lib api fs: Remove debugfs, tracefs and findfs objects

2015-09-23 Thread Jiri Olsa
On Wed, Sep 23, 2015 at 10:44:56AM -0300, Arnaldo Carvalho de Melo wrote: SNIP > New stuff normally comes with new 'perf test' entries, Intel PT borrowed > the kernel x86 instruction decoder: added a 'perf test' entry, AFAIK > there was no similar test for it in the kernel proper, IIRC Masami

[PATCH RESEND 3/4] sound/fabrics/layout: make aoa_fabric_layout_init return directly

2015-09-23 Thread Yaowei Bai
Catching the return value of soundbus_register_driver in aoa_fabric_layout_init is not necessary, let's return it directly. No functional change. Signed-off-by: Yaowei Bai --- sound/aoa/fabrics/layout.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git

[PATCH RESEND 1/4] sound/onyx: remove redundant case entry

2015-09-23 Thread Yaowei Bai
Case ti->tag == 0 can be included in the last return, remove it. No functional change. Signed-off-by: Yaowei Bai --- sound/aoa/codecs/onyx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/aoa/codecs/onyx.c b/sound/aoa/codecs/onyx.c index a04edff..a407e1f 100644

[PATCH 3/6] irqdomain: add struct irq_hwcfg and helper functions

2015-09-23 Thread Qais Yousef
struct irq_hwcfg is used to describe hardware IPI setup. >From ThomasG suggestion, there's generic parts and a union of hardware specific part. Assuming that virq and hwirq are enough to describe different sort of hardwares as so far they are all that was needed, I'm hoping this implementation

[PATCH 4/6] irq: add a new generic IPI handling code to irq core

2015-09-23 Thread Qais Yousef
Add a generic mechanism to dynamically allocate an IPI. With this change the user can call irq_reserve_ipi() to dynamically allocate an IPI and use the associate virq to send one to 1 or more cpus. No irq_get_irq_hwcfg() as I hope we can provide an implementation without hardware specific part.

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