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 empty buffer with > printk. This

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: [PATCH 1/4] crypto: talitos: dma_map_sg can handle chained SG

2015-09-23 Thread Christophe Leroy
Le 23/09/2015 13:55, LABBE Corentin a écrit : 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.

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 for the feedback. I

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

2015-09-23 Thread Felipe F. Tonello
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 buffers. drivers/usb/gadget/function/f_midi.c | 10 ++ 1 file changed, 6

[PATCH 2/2] kprobe: Use _do_fork() in samples to make them work again

2015-09-23 Thread Petr Mladek
The commit 3033f14ab78c32687 ("clone: support passing tls argument via C rather than pt_regs magic") introduced _do_fork() that allowed to pass @tls parameter. The old do_fork() is defined only for architectures that are not ready to use this way and do not define HAVE_COPY_THREAD_TLS. Let's use

[PATCH 0/2] clone/kprobe: Do not use do_fork() when not defined

2015-09-23 Thread Petr Mladek
The commit 3033f14ab78c32687 ("clone: support passing tls argument via C rather than pt_regs magic") introduced _do_fork() that allowed to pass @tls parameter. The old do_fork() is defined only for architectures that are not ready to use this way and do not define HAVE_COPY_THREAD_TLS. 1st patch

[PATCH 1/2] clone: Declare do_fork() only when available

2015-09-23 Thread Petr Mladek
The commit 3033f14ab78c32687 ("clone: support passing tls argument via C rather than pt_regs magic") introduced _do_fork() that allowed to pass @tls parameter. The old do_fork() is defined only for architectures that are not ready to use this way and do not define HAVE_COPY_THREAD_TLS. But the

[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 since v4: - Less

[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 MCP4532 1

[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 9398484196c4..2eea468f704d 100644 ---

[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 --git

[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 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 --- drivers/crypto/sahara.c | 66

[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 --- drivers/crypto/qce/ablkcipher.c

[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] 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.

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

Re: [PATCH 02/11] x86/mm/hotplug: Remove pgd_list use from the memory hotplug code

2015-09-23 Thread Oleg Nesterov
On 09/22, Linus Torvalds wrote: > > However, this now becomes a pattern for the series, and that just makes me > think > > "Why is this not a 'for_each_mm()' pattern helper?" And we already have other users. And note that oom_kill_process() does _not_ follow this pattern and that is why it

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

2015-09-23 Thread Felipe Tonello
Hi Peter, On Wed, Sep 23, 2015 at 4:10 AM, Peter Chen wrote: > On Tue, Sep 22, 2015 at 07:59:09PM +0100, 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 >> --- >>

[PATCH] ethtool: add new emac_regs struct from driver, add new chip types.

2015-09-23 Thread Ivan Mikhaylov
* add new version of emac_regs struct from driver structure perspective and passing size from actual struct size, not from memory area variable which set in dts file. * add three types of network chips for new struct : emac, emac4, emac4sync. * add emac4sync processing in print_emac_regs. *

Re: Multiple potential races on vma->vm_flags

2015-09-23 Thread Kirill A. Shutemov
On Tue, Sep 22, 2015 at 06:39:52PM -0700, Hugh Dickins wrote: > On Tue, 22 Sep 2015, Andrey Konovalov wrote: > > On Tue, Sep 22, 2015 at 8:54 PM, Hugh Dickins wrote: > > > On Tue, 22 Sep 2015, Andrey Konovalov wrote: > > >> If anybody comes up with a patch to fix the original issue I easily > >

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] 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 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 >> --- >> drivers/usb/gadget/function/f_midi.c | 4 +++- >> 1 file

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 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

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 a virt_boundary.

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

[PATCH 08/22] perf tools: Compile scriptlets to BPF objects when passing '.c' to --event

2015-09-23 Thread Wang Nan
This patch provides infrastructure for passing source files to --event directly using: # perf record --event bpf-file.c command This patch does following works: 1) Allow passing '.c' file to '--event'. parse_events_load_bpf() is expanded to allow caller tell it whether the passed file is

[PATCH 04/22] perf record: Load eBPF object into kernel

2015-09-23 Thread Wang Nan
This patch utilizes bpf_object__load() provided by libbpf to load all objects into kernel. Signed-off-by: Wang Nan Cc: Alexei Starovoitov Cc: Brendan Gregg Cc: Daniel Borkmann Cc: David Ahern Cc: He Kuang Cc: Jiri Olsa Cc: Kaixu Xia Cc: Masami Hiramatsu Cc: Namhyung Kim Cc: Paul

[PATCH 03/22] perf record, bpf: Create probe points for BPF programs

2015-09-23 Thread Wang Nan
This patch introduces bpf__{un,}probe() functions to enable callers to create kprobe points based on section names a BPF program. It parses the section names in the program and creates corresponding 'struct perf_probe_event' structures. The parse_perf_probe_command() function is used to do the

[PATCH 15/22] perf tools: Add prologue for BPF programs for fetching arguments

2015-09-23 Thread Wang Nan
From: He Kuang This patch generates prologue for a BPF program which fetch arguments for it. With this patch, the program can have arguments as follow: SEC("lock_page=__lock_page page->flags") int lock_page(struct pt_regs *ctx, int err, unsigned long flags) { return 1; } This

[PATCH 21/22] perf test: Test BPF prologue

2015-09-23 Thread Wang Nan
This patch introduces a new BPF script to test BPF prologue. The new script probes at null_lseek, which is the function pointer when we try to lseek on '/dev/null'. null_lseek is chosen because it is a function pointer, so we don't need to consider inlining and LTP. By extracting file->f_mode,

[PATCH 18/22] perf record: Support custom vmlinux path

2015-09-23 Thread Wang Nan
From: He Kuang Make perf-record command support --vmlinux option if BPF_PROLOGUE is on. 'perf record' needs vmlinux as the source of DWARF info to generate prologue for BPF programs, so path of vmlinux should be specified. Short name 'k' has been taken by 'clockid'. This patch skips the short

[PATCH 01/22] perf ebpf: Add the libbpf glue

2015-09-23 Thread Wang Nan
The 'bpf-loader.[ch]' files are introduced in this patch. Which will be the interface between perf and libbpf. bpf__prepare_load() resides in bpf-loader.c. Following patches will enrich these two files. Signed-off-by: Wang Nan Signed-off-by: Arnaldo Carvalho de Melo Acked-by: Alexei Starovoitov

[PATCH 22/22] perf probe: Fix module probing with shortname

2015-09-23 Thread Wang Nan
After commit 3d39ac538629e4f00a6e1c38d46346f1b8e69505 ("perf machine: No need to have two DSOs lists"), perf probe with module short name doesn't work again. For example: # lsmod | grep e1000e e1000e233472 0 # cat /proc/modules | grep e1000e e1000e 233472 0 - Live

[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

[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 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 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 Cc: Brendan Gregg Cc:

[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 12/22] bpf tools: Load a program with different instances using preprocessor

2015-09-23 Thread Wang Nan
In this patch, caller of libbpf is able to control the loaded programs by installing a preprocessor callback for a BPF program. With preprocessor, different instances can be created from one BPF program. This patch will be used by perf to generate different prologue for different 'struct

[PATCH 16/22] perf tools: Generate prologue for BPF programs

2015-09-23 Thread Wang Nan
This patch generates prologue for each 'struct probe_trace_event' for fetching arguments for BPF programs. After bpf__probe(), iterate over each programs to check whether prologue is required. If none of 'struct perf_probe_event' a program will attach to has at least one argument, simply skip

[PATCH 14/22] perf tools: Compile dwarf-regs.c if CONFIG_BPF_PROLOGUE is on

2015-09-23 Thread Wang Nan
regs_query_register_offset() in dwarf-regs.c is required by BPF prologue. Make it be compiled if CONFIG_BPF_PROLOGUE is on to avoid building failure when CONFIG_BPF_PROLOGUE is on but CONFIG_DWARF is not set. Signed-off-by: Wang Nan Signed-off-by: He Kuang Acked-by: Masami Hiramatsu Cc: Alexei

[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 Cc: Alexei

[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

[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

[PATCH] clock: Remove unneeded return statement from void

2015-09-23 Thread Guillaume Gomez
Signed-off-by: Guillaume Gomez --- kernel/time/clocksource.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c index 841b72f..5e83c38 100644 --- a/kernel/time/clocksource.c +++ b/kernel/time/clocksource.c @@ -595,12

[PATCH] kernel: Remove unneeded return statement from void function

2015-09-23 Thread Guillaume Gomez
Signed-off-by: Guillaume Gomez --- include/linux/timekeeping.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/timekeeping.h b/include/linux/timekeeping.h index ba0ae09..8f776cc 100644 --- a/include/linux/timekeeping.h +++ b/include/linux/timekeeping.h @@ -83,7

[no subject]

2015-09-23 Thread Tang, Ni
Be informed that you have been chosen, by Marie Holmes to receive a charity donation of $ 1,000,000.00 US dollars, Contact(morganad...@att.net)-- 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

Re: [regression] [git pull] drm for 4.3

2015-09-23 Thread Lankhorst, Maarten
Hey, Dave Jones schreef op di 22-09-2015 om 21:49 [-0400]: > On Tue, Sep 22, 2015 at 09:15:58AM -0700, Matt Roper wrote: > > On Tue, Sep 22, 2015 at 05:13:55PM +0200, Daniel Vetter wrote: > > > On Tue, Sep 22, 2015 at 08:00:17AM -0700, Jesse Barnes wrote: > > > > Cc'ing Maarten and Matt; I'm

Re: [PATCH v1 2/8] mfd: core: redo ACPI matching of the children devices

2015-09-23 Thread Andy Shevchenko
On Tue, 2015-09-22 at 23:15 +0100, Lee Jones wrote: > On Tue, 22 Sep 2015, Andy Shevchenko wrote: > > > There is at least one board on the market, i.e. Intel Galileo Gen2, > > that uses > > _ADR to distinguish the devices under one actual device. Due to > > this we have to > > improve the quirk

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

2015-09-23 Thread Borislav Petkov
On Wed, Sep 23, 2015 at 11:36:47AM +0200, Paolo Bonzini wrote: > And another patch, which both cranks up the debugging a bit and > tries another fix: > > diff --git a/arch/x86/kvm/cpuid.h b/arch/x86/kvm/cpuid.h > index dd05b9cef6ae..b2f49bb15ba1 100644 > --- a/arch/x86/kvm/cpuid.h > +++

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

Re: [tip:x86/fpu] x86/fpu: Rename XSAVE macros

2015-09-23 Thread Borislav Petkov
On Mon, Sep 14, 2015 at 05:21:07AM -0700, tip-bot for Dave Hansen wrote: > Commit-ID: d91cab78133d33b1dfd3d3fa7167fcbf74fb5f99 > Gitweb: http://git.kernel.org/tip/d91cab78133d33b1dfd3d3fa7167fcbf74fb5f99 > Author: Dave Hansen > AuthorDate: Wed, 2 Sep 2015 16:31:26 -0700 > Committer:

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

Re: [Linux 4.2-rc8+...v4.3-rc2] REGRESSION: ppp: circular locking dependency detected: [pppd] ppp_dev_uninit() | rtnl_lock()

2015-09-23 Thread Guillaume Nault
On Wed, Sep 23, 2015 at 08:06:16AM +0200, Sedat Dilek wrote: > Without reverting the below culprit ppp patch... > > commit/?id=8cb775bc0a34dc596837e7da03fd22c747be618b > ("ppp: fix device unregistration upon netns deletion") > > ...I have an unstable Internet connection via

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

[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 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

[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 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 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

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: [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 = _pool, > .lock =

[PATCH] net: Remove unneeded return from void function

2015-09-23 Thread Guillaume Gomez
Signed-off-by: Guillaume Gomez --- include/linux/netdevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 88a0069..4a444a1 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -457,7 +457,7 @@

Re: [PATCH V3 1/2] ACPI / EC: Fix broken big-endian 64bit platforms using 'global_lock'

2015-09-23 Thread Arnd Bergmann
On Wednesday 23 September 2015 10:57:44 Sudeep Holla wrote: > > Also I am not against the $subject patch as such, just added > clarification so that it shouldn't be assumed that BE + ACPI works on > ARM64. > Ok, at least we can safely assume that we do not need to backport that patch to stable

Re: [PATCH linux-next v9 0/3] mfd: flexcom: add a driver for Flexcom

2015-09-23 Thread Nicolas Ferre
Le 20/09/2015 06:19, Lee Jones a écrit : > Patch set description? Cyrille actually placed it as the v1 changelog below... > Once Rob is satisfied, please re-submit this set with Nicolas' Acks I think that Rob was okay with the DT binding: "A few comments, but in general looks fine." and it may

Re: [PATCH] KVM: nVMX: emulate the INVVPID instruction

2015-09-23 Thread Wanpeng Li
On 9/23/15 4:39 PM, Paolo Bonzini wrote: On 23/09/2015 09:59, Wanpeng Li wrote: Add the INVVPID instruction emulation. Reviewed-by: Wincy Van Signed-off-by: Wanpeng Li --- arch/x86/include/asm/vmx.h | 1 + arch/x86/kvm/vmx.c | 23 ++- 2 files changed, 23

[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 --- a/arch/x86/kvm/vmx.c +++

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 changed, 2

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.

[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 @@ -477,7 +477,7 @@ static inline

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

2015-09-23 Thread George Dunlap
On 09/23/2015 05:36 AM, Juergen Gross wrote: > On 09/22/2015 06:22 PM, George Dunlap wrote: >> On 09/22/2015 05:42 AM, Juergen Gross wrote: >>> One other thing I just discovered: there are other consumers of the >>> topology sibling masks (e.g. topology_sibling_cpumask()) as well. >>> >>> I think

AMD-IOMMU and problem with __init(data)?

2015-09-23 Thread Alexander Holler
Hello, It looks like I have a problem with the AMD IOMMU and it's handling of __init or __initdata. I'm working on something which stores some structs right after INIT_CALLS but before CON_INITCALL (see include/asm-generic/vmlinux.lds.h). This structures will be accessed right after the

Re: HMM (Heterogeneous Memory Management) v10

2015-09-23 Thread Pavel Machek
Hi! > Minor fixes since last post (1), apply on top of 4.2-rc6 done > that because conflict in infiniband are harder to solve then is. > conflict with mm tree. > > Tree with the patchset: > git://people.freedesktop.org/~glisse/linux hmm-v10 branch > > Previous cover letter : > > > > HMM

[PATCH] kernel: Remove unneeded return in void function

2015-09-23 Thread Guillaume Gomez
Signed-off-by: Guillaume Gomez --- include/linux/crypto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/crypto.h b/include/linux/crypto.h index e71cb70..7d19b4f 100644 --- a/include/linux/crypto.h +++ b/include/linux/crypto.h @@ -620,7 +620,7 @@ void

Re: [PATCH] staging: rtl8723au: Mark type casts to __le32 as intentional

2015-09-23 Thread Lars Svensson
On Tue, Sep 22, 2015 at 11:30:54PM +0200, Larry Finger wrote: > > You may have silenced the Sparse warnings, but the code was not wrong. Your > version is also correct; however, you end up with some really ugly casts. > > Here is my analysis of these two, identical sections: > > The output of

lånetilbud

2015-09-23 Thread SUN EAST FEDERAL CREDIT UNION
-- Hallo Hilsen fra SUN EAST Federal Credit Union, er vi godt etablert og godkjent britiske lån selskaper, i løpet av årene har vi utviklet en god forståelse av dine behov og individuelle behov. vi forpliktet oss til å behandle våre kunder rettferdig og tilbyr en tjeneste som er

[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 +++ b/include/linux/clockchips.h @@ -192,7

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

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

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: [RESEND PATCH] media: vb2: Fix vb2_dc_prepare do not correct sync data to device

2015-09-23 Thread Sakari Ailus
Hi Hans, On Wed, Sep 23, 2015 at 10:40:56AM +0200, Hans Verkuil wrote: > Resent, hopefully without html this time. > > On September 22, 2015 11:10:15 PM GMT+02:00, Sakari Ailus > wrote: > >Hi Tiffany, > > > >(Robin and Hans cc'd.) > > > >On Mon, Sep 21, 2015 at 08:26:11PM +0800, Tiffany Lin

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

2015-09-23 Thread Vladimir Davydov
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 one, set_task_comm() > > > overwrites the terminating null of

[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

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