[PATCH 09/29] staging: lustre: dne: setdirstripe should fail if not supported

2016-10-27 Thread James Simmons
From: Lai Siyao If MDS doesn't support striped directory, creating striped directory from a userland utility such as 'lfs setdirstripe' should fail. Signed-off-by: Lai Siyao Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6661 Reviewed-on: http://review.whamcloud.com/15123 Reviewed-by: Jame

[PATCH 03/29] staging: lustre: llite: restart short read/write for normal IO

2016-10-27 Thread James Simmons
From: Bobi Jam If normal IO got short read/write, we'd restart the IO from where we've accomplished until we meet EOF or error happens. Signed-off-by: Bobi Jam Signed-off-by: Jinshan Xiong Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6389 Reviewed-on: http://review.whamcloud.com/14123 R

Re: [PATCH net-next 5/5] ipv6: Compute multipath hash for forwarded ICMP errors from offending packet

2016-10-27 Thread Jakub Sitnicki
On Thu, Oct 27, 2016 at 03:25 PM GMT, David Miller wrote: > From: Jakub Sitnicki > Date: Mon, 24 Oct 2016 11:28:52 +0200 > >> +inner_iph = skb_header_pointer( >> +skb, skb_transport_offset(skb) + sizeof(*icmph), >> +sizeof(_inner_iph), &_inner_iph); > > Please do not st

[RFC PATCH] usb: core: correct usb_get_dev() documentation

2016-10-27 Thread Brian Norris
In reading through a USB interface driver, I noticed that it called usb_{get,put}_dev() in its probe() and disconnect() methods. This seemed unnecessary, but a look at the comments here matched the usage. USB interface devices seem to be well covered by the parent/child relationship of the device

Re: [PATCH 00/14] introduce the BFQ-v0 I/O scheduler as an extra scheduler

2016-10-27 Thread Mark Brown
On Thu, Oct 27, 2016 at 12:45:48PM -0700, Christoph Hellwig wrote: > On Thu, Oct 27, 2016 at 08:41:27PM +0100, Mark Brown wrote: > > Plus the benchmarking to verify that it works well of course, especially > > initially where it'll also be a new queue infrastructure as well as the > > blk-mq conve

Re: [PATCH v18 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-10-27 Thread NeilBrown
On Thu, Oct 27 2016, Baolin Wang wrote: > Hi Felipe, > > On 19 October 2016 at 10:37, Baolin Wang wrote: >> Currently the Linux kernel does not provide any standard integration of this >> feature that integrates the USB subsystem with the system power regulation >> provided by PMICs meaning that

Re: [PATCH net-next 4/5] ipv6: Compute multipath hash for sent ICMP errors from offending packet

2016-10-27 Thread Jakub Sitnicki
On Thu, Oct 27, 2016 at 03:24 PM GMT, David Miller wrote: > From: Jakub Sitnicki > Date: Mon, 24 Oct 2016 11:28:51 +0200 > >> diff --git a/include/linux/icmpv6.h b/include/linux/icmpv6.h >> index 57086e9..6282e03 100644 >> --- a/include/linux/icmpv6.h >> +++ b/include/linux/icmpv6.h >> @@ -45,4 +4

Re: [PATCH net-next 0/5] Route ICMPv6 errors with the flow when ECMP in use

2016-10-27 Thread Hannes Frederic Sowa
Hi, On 27.10.2016 17:23, David Miller wrote: > From: Jakub Sitnicki > Date: Mon, 24 Oct 2016 11:28:47 +0200 > >> However, for it to work IPv6 flow labels have to be same in both >> directions (i.e. reflected) or need to be chosen in a manner that >> ensures that the flow going in the opposite di

[PATCH] staging: rtl8188eu: add spaces around binary operators in xmit_linux.c

2016-10-27 Thread Nicholas Hanley
The coding style requires spaces around these binary operators. Signed-off-by: Nicholas Hanley --- drivers/staging/rtl8188eu/os_dep/xmit_linux.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8188eu/os_dep/xmit_linux.c b/drivers/staging/rtl8188eu/os

[PATCH v2 0/3] Add TI SCI Reset Driver

2016-10-27 Thread Andrew F. Davis
Hello all, This series adds a reset controller driver that uses the TI SCI protocol to manage resets. The TI SCI protocol is used to communicate with power management controllers used by some SoCs. These controllers manage the various power domains, clocks, and resets available on a SoC. This se

[PATCH v2 1/3] Documentation: dt: reset: Add TI SCI reset binding

2016-10-27 Thread Andrew F. Davis
Add TI SCI reset controller binding. This describes the DT binding details for a reset controller node providing reset management services to hardware blocks (reset consumers) using the Texas Instrument's System Control Interface (TI SCI) protocol to communicate to a system controller block present

[PATCH v2 2/3] dt-bindings: reset: Add K2G reset definitions

2016-10-27 Thread Andrew F. Davis
Add identifiers for the K2G resets managed by the PMMC. Signed-off-by: Andrew F. Davis --- MAINTAINERS | 1 + include/dt-bindings/reset/k2g.h | 22 ++ 2 files changed, 23 insertions(+) create mode 100644 include/dt-bindings/reset/k2g.h diff --git a/MAIN

[PATCH v2 3/3] reset: Add the TI SCI reset driver

2016-10-27 Thread Andrew F. Davis
Some TI Keystone family of SoCs contain a system controller (like the Power Management Micro Controller (PMMC) on K2G SoCs) that manage the low-level device control (like clocks, resets etc) for the various hardware modules present on the SoC. These device control operations are provided to the hos

Re: [RESEND PATCH 1/3] x86/vmware: Use tsc_khz value for calibrate_cpu()

2016-10-27 Thread Thomas Gleixner
On Thu, 27 Oct 2016, Alexey Makhalov wrote: > [RESEND PATCH 1/3] x86/vmware: Use tsc_khz value for calibrate_cpu() Please don't do that. RESEND is a keyword, when the same patch (series) is sent again without any modification vs. the first patch (series). A possible reason to do so is when a patc

[PATCHv3 0/8] powerpc/mm: refactor vDSO mapping code

2016-10-27 Thread Dmitry Safonov
Changes since v1, v2: - use vdso64_pages only under CONFIG_PPC64 (32-bit build fix) - remove arch_vma_name helper as not needed anymore, simplify vdso_base pointer initializing in map_vdso() Cleanup patches for vDSO on powerpc. Originally, I wanted to add vDSO remapping on arm/aarch64 and I deci

[PATCHv3 8/8] powerpc/vdso: remove arch_vma_name

2016-10-27 Thread Dmitry Safonov
It's not needed since vdso is inserted with vm_special_mapping which contains vma name. This also reverts commit f2053f1a7bf6 ("powerpc/perf_counter: Fix vdso detection") as not needed anymore. See also commit f7b6eb3fa072 ("x86: Set context.vdso before installing the mapping"). Cc: Benjamin Herre

Re: [REVIEW][PATCH v2] mm: Add a user_ns owner to mm_struct and fix ptrace permission checks

2016-10-27 Thread Cyrill Gorcunov
On Thu, Oct 27, 2016 at 10:54:34AM -0500, Eric W. Biederman wrote: > > > I can't imagine either of these changes making a practical difference > to anyone but I am calling them out in case someone can. > > include/linux/mm_types.h | 1 + > kernel/fork.c| 9 ++--- > kernel/ptra

Re: [PATCH v6 0/3] LSM: security module information improvements

2016-10-27 Thread Kees Cook
On Wed, Oct 26, 2016 at 4:56 PM, Casey Schaufler wrote: > Subject: [PATCH v6 0/3] LSM: security module information improvements > > Changes from v5: > Rebased on 4.9-rc2 > > Changes from v4: > Use kasprintf instead of kzalloc() ... sprintf in more places. > More in the docu

[PATCH v2] EDAC: expose per-dimm error counts in sysfs

2016-10-27 Thread Aaron Miller
The old 'csrowX' sysfs directories had per-csrow error counters, but the new 'dimmX' directories do not currently expose error counts. EDAC already keeps these counts, add them to sysfs so per-dimm counts are still available when CONFIG_EDAC_LEGACY_SYSFS=n Signed-off-by: Aaron Miller --- Notes:

rowhammer protection [was Re: Getting interrupt every million cache misses]

2016-10-27 Thread Pavel Machek
Hi! > > if (event) > > perf_event_release_kernel(event); > > } > > } > > This is pretty cool. Are there workloads other than rowhammer that > could trip this, and if so, how bad would this delay be for them? > > At the very least, this could be beh

Re: [PATCH v7] spi: sun4i: Allow transfers larger than FIFO size

2016-10-27 Thread Maxime Ripard
Hi Mark, On Thu, Oct 27, 2016 at 12:14:19PM +0100, Mark Brown wrote: > On Wed, Oct 26, 2016 at 10:55:28AM +0200, Maxime Ripard wrote: > > On Wed, Oct 26, 2016 at 12:00:30AM -0700, Alexandru Gagniuc wrote: > > > > When DMA finally takes over, this fallback path is not mutually exclusive. > > > I

Re: [REVIEW][PATCH v2] mm: Add a user_ns owner to mm_struct and fix ptrace permission checks

2016-10-27 Thread Kees Cook
On Thu, Oct 27, 2016 at 8:54 AM, Eric W. Biederman wrote: > > During exec dumpable is cleared if the file that is being executed is > not readable by the user executing the file. A bug in > ptrace_may_access allows reading the file if the executable happens to > enter into a subordinate user name

Re: [PATCH 2/5] Documentation: devicetree: net: add NS2 bindings to amac

2016-10-27 Thread Florian Fainelli
On 10/27/2016 02:21 PM, Jon Mason wrote: > On Thu, Oct 27, 2016 at 11:17:57AM +0200, Andrew Lunn wrote: >> On Wed, Oct 26, 2016 at 03:35:58PM -0400, Jon Mason wrote: >>> Signed-off-by: Jon Mason >>> --- >>> Documentation/devicetree/bindings/net/brcm,amac.txt | 7 +-- >>> 1 file changed, 5 ins

Re: [PATCH] EDAC: expose per-dimm error counts in sysfs

2016-10-27 Thread Aaron Miller
If your system is like the one I’m testing on, only the channel 0 DIMM slots are populated, and you injected an error for an unpopulated slot, for which no dimmX directory gets created. In edac_mc_sysfs.c: for (i = 0; i < mci->tot_dimms; i++) { struct dimm_info *dimm = mci->dimms[i]

Re: [PATCH 2/5] Documentation: devicetree: net: add NS2 bindings to amac

2016-10-27 Thread Jon Mason
On Thu, Oct 27, 2016 at 11:17:57AM +0200, Andrew Lunn wrote: > On Wed, Oct 26, 2016 at 03:35:58PM -0400, Jon Mason wrote: > > Signed-off-by: Jon Mason > > --- > > Documentation/devicetree/bindings/net/brcm,amac.txt | 7 +-- > > 1 file changed, 5 insertions(+), 2 deletions(-) > > > > diff --g

Re: CONFIG_VMAP_STACK, on-stack struct, and wake_up_bit

2016-10-27 Thread Borislav Petkov
On Thu, Oct 27, 2016 at 05:03:13PM -0400, Bob Peterson wrote: > I rebooted the machine with and without your patch, about 15 times > each, and no failures. Not sure why I got it the first time. Must have > been a one-off. Ok, thanks for giving it a try! -- Regards/Gruss, Boris. ECO tip #101

Re: [PATCH] drivers: mfd: ti_am335x_tscadc: increase ADC ref clock to 24MHz

2016-10-27 Thread John Syne
> > On Oct 26, 2016, at 1:48 AM, Lee Jones wrote: > > On Tue, 25 Oct 2016, John Syne wrote: >>> On Oct 24, 2016, at 11:38 PM, Lee Jones wrote: >>> On Mon, 24 Oct 2016, John Syne wrote: > On Oct 24, 2016, at 11:01 PM, John Syne wrote: >> On Oct 24, 2016, at 10:52 PM, Mugunthan V N wrot

Re: [PATCH v2] net: skip genenerating uevents for network namespaces that are exiting

2016-10-27 Thread David Miller
From: Andrei Vagin Date: Mon, 24 Oct 2016 19:09:53 -0700 > No one can see these events, because a network namespace can not be > destroyed, if it has sockets. > > Unlike other devices, uevent-s for network devices are generated > only inside their network namespaces. They are filtered in > kobj_

Re: [PULL] modules: begin maintainer transition

2016-10-27 Thread Linus Torvalds
On Tue, Oct 25, 2016 at 4:46 PM, Rusty Russell wrote: > > Rusty Russell (1): > MAINTAINERS: Begin module maintainer transition Jessica, do you have a pgp key? And Rusty, have you signed it? That makes the whole "pull signed tags" transition nicer.. Linus

[PATCH v5 1/3] dt: cpufreq: brcm: New binding document for brcmstb-avs-cpufreq

2016-10-27 Thread Markus Mayer
From: Markus Mayer Add the binding document for the new brcmstb-avs-cpufreq driver. Signed-off-by: Markus Mayer Acked-by: Viresh Kumar --- .../bindings/cpufreq/brcm,stb-avs-cpu-freq.txt | 78 ++ MAINTAINERS| 7 ++ 2 files change

[PATCH v5 2/3] cpufreq: brcmstb-avs-cpufreq: AVS CPUfreq driver for Broadcom STB SoCs

2016-10-27 Thread Markus Mayer
From: Markus Mayer This driver supports voltage and frequency scaling on Broadcom STB SoCs using AVS firmware with DFS and DVFS support. Actual frequency or voltage scaling is done exclusively by the AVS firmware. The driver merely provides a standard CPUfreq interface to other kernel components

[PATCH v5 0/3] Broadcom STB AVS CPUfreq driver

2016-10-27 Thread Markus Mayer
From: Markus Mayer This series contains the CPUfreq driver for Broadcom SoCs that use "AVS Firmware" for voltage and frequency scaling. All voltage and frequency transitions are performed by the firmware and are therefore hidden from Linux. The driver provides a standard CPUfreq interface to oth

[PATCH v5 3/3] cpufreq: brcmstb-avs-cpufreq: add debugfs support

2016-10-27 Thread Markus Mayer
From: Markus Mayer In order to aid debugging, we add a debugfs interface to the driver that allows direct interaction with the AVS co-processor. The debugfs interface provides a means for reading all and writing some of the mailbox registers directly from the shell prompt and enables a user to e

Re: [PATCH 00/14] introduce the BFQ-v0 I/O scheduler as an extra scheduler

2016-10-27 Thread Jens Axboe
On 10/27/2016 01:34 PM, Ulf Hansson wrote: [...] Instead, what I can tell, as we have been looking into converting mmc (which I maintains) and that is indeed a significant amount of work. We will need to rip out all of the mmc request management, and most likely we also need to extend the blkmq

Re: CONFIG_VMAP_STACK, on-stack struct, and wake_up_bit

2016-10-27 Thread Bob Peterson
- Original Message - | I mean, it would be great if you try a couple times but even if you're | unsuccessful, that's fine too - the fix is obviously correct and I've | confirmed that it boots fine in my VM here. Hi Boris, I rebooted the machine with and without your patch, about 15 times

Re: [PATCH] crypto: acomp: export all scomp interfaces

2016-10-27 Thread Giovanni Cabiddu
Hi Arnd, On Thu, Oct 27, 2016 at 04:09:49PM +0200, Arnd Bergmann wrote: > The newly added scomp/acomp interface has a couple of functions > that should be exported to allow linking the two drivers > as loadable modules: > > ERROR: "crypto_acomp_scomp_free_ctx" [crypto/acompress.ko] undefined! > ER

Re: [patch v2 1/2] drivers/platform/x86: move module mlx-platform from arch/x86 to drivers/platform/x86

2016-10-27 Thread kbuild test robot
Hi Vadim, [auto build test ERROR on platform-drivers-x86/for-next] [also build test ERROR on next-20161027] [cannot apply to v4.9-rc2] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --b

Re: [RFC v2 0/8] SchedTune: central, scheduler-driven, power-perfomance control

2016-10-27 Thread Peter Zijlstra
On Thu, Oct 27, 2016 at 06:41:00PM +0100, Patrick Bellasi wrote: > > This RFC is an update to the initial SchedTune proposal [1] for a central > scheduler-driven power-performance control. > The posting is being made ahead of the LPC to facilitate discussions there. This is weeks too late for tha

Re: [PATCH] MAINTAINERS: add more people to the MTD maintainer team

2016-10-27 Thread Brian Norris
On Mon, Oct 24, 2016 at 02:35:26PM +0200, Boris Brezillon wrote: > Brian has been maintaining the MTD subsystem alone for several years > now, and maintaining such a subsystem can really be time consuming. > > Create a maintainer team formed of the most active MTD contributors > to help Brian with

Re: [PATCH 4/5] net: ethernet: bgmac: add NS2 support

2016-10-27 Thread Jon Mason
On Wed, Oct 26, 2016 at 02:50:39PM -0700, Florian Fainelli wrote: > On 10/26/2016 12:36 PM, Jon Mason wrote: > > Add support for the variant of amac hardware present in the Broadcom > > Northstar2 based SoCs. Northstar2 requires an additional register to be > > configured with the port speed/duple

Re: [RFC PATCH 0/5] Add an overlay manager to handle board capes

2016-10-27 Thread Hans de Goede
Hi, On 27-10-16 19:30, Rob Herring wrote: On Thu, Oct 27, 2016 at 10:13 AM, Hans de Goede wrote: Hi, On 27-10-16 15:41, Rob Herring wrote: Please Cc the maintainers of drivers/of/. + Frank R, Hans, Dmitry S On Wed, Oct 26, 2016 at 9:57 AM, Antoine Tenart wrote: Hi all, Many boards now

[PATCH next 1/2] media: mtk-mdp: fix video_device_release argument

2016-10-27 Thread Vincent Stehlé
video_device_release() takes a pointer to struct video_device as argument. Fix two call sites where the address of the pointer is passed instead. Fixes: c8eb2d7e8202fd9c ("[media] media: Add Mediatek MDP Driver") Signed-off-by: Vincent Stehlé Cc: Minghsiu Tsai Cc: Hans Verkuil Cc: Mauro Carvalh

[PATCH 01/15] perf bench futex: Avoid worker cacheline bouncing

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Davidlohr Bueso Sebastian noted that overhead for worker thread ops (throughput) accounting was producing 'perf' to appear in the profiles, consuming a non-trivial (i.e. 13%) amount of CPU. This is due to cacheline bouncing due to the increment of w->ops. We can easily fix this by just wo

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

2016-10-27 Thread Arnaldo Carvalho de Melo
into perf/core (2016-10-24 20:42:42 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-20161027 for you to fetch changes up to 97321c8437977490432d470799faa3e5f1227806: perf tools: Add missing object file to

[PATCH 09/15] perf list: Support matching by topic

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Andi Kleen Add support in perf list topic to only show events belonging to a specific vendor events topic. For example the following works now: % perf list frontend List of pre-defined events (to be used in -e): stalled-cycles-frontend OR idle-cycles-frontend[Hardware event]

[PATCH 04/15] tools lib subcmd: Suppport cascading options

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Sometimes subcommand have common options and it can only handled in the upper level command unless it duplicates the options. This patch adds a parent field and fallback to the parent if the given argument was not found in the current options. Signed-off-by: Namhyung Kim Ack

[PATCH 08/15] perf tools: Introduce timestamp_in_usec()

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Joonwoo reported that there's a mismatch between timestamps in script and sched commands. This was because of difference in printing the timestamp. Factor out the code and share it so that they can be in sync. Also I found that sched map has similar problem, fix it too. Rep

Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online calls to hotplugged cpu")]

2016-10-27 Thread Thomas Gleixner
On Thu, 27 Oct 2016, Ville Syrjälä wrote: > On Thu, Oct 27, 2016 at 09:25:05PM +0200, Thomas Gleixner wrote: > > So it would be interesting whether that hunk in resume_broadcast() is > > sufficient. > > So far it looks like the answer is yes. > > Looks to be about 5 seconds slower than acpi-idle

[PATCH 11/15] tools: Update asm-generic/mman-common.h copy from the kernel

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To get the defines introduced in the commit e8c24d3a23a4 ("x86/pkeys: Allocation/free syscalls") Silencing this perf build warning: Warning: tools/include/uapi/asm-generic/mman-common.h differs from kernel Need to change 'perf trace' to beautify those syscalls,

[PATCH 05/15] perf sched: Make common options cascading

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The -i and -v options can be used in subcommands so enable cascading the sched_options. This fixes the following inconvenience in 'perf sched': $ perf sched -i perf.data.sched map ... (it works well) ... $ perf sched map -i perf.data.sched Error: unknown switch `

KINDLY VIEW YOUR FILE

2016-10-27 Thread JANE WILLIAMS
You have been selected to inheritance sum of (US$6,000,000,00) Six Million Dollars Only from late Ms. John winter for more information Please feel free to contact me thanks. view it.docx Description: MS-Word 2007 document

Re: [patch 0/2] timers: Fix base clock forwarding issues

2016-10-27 Thread Thomas Gleixner
On Thu, 27 Oct 2016, Ashton Holmes wrote: > On Sat, Oct 22, 2016 at 4:10 AM Thomas Gleixner wrote: > > > Several people have reported USB timeout issues starting in 4.8 which are > > related to the timer wheel overhaul. > > > > The following two patches adress the brown paperbag bugs in that code

[PATCH 06/15] perf sched map: Apply cpu color when there's an activity

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Applying cpu color always doesn't help readability IMHO. Instead it might be better to applying the color when there's an activity on those CPUs. Signed-off-by: Namhyung Kim Acked-by: Jiri Olsa Cc: David Ahern Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/201610240202

[PATCH 07/15] perf sched map: Always show task comm with -v

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim I'd like to see the name of tasks with perf sched map, but it only shows name of new tasks and then use short names after all. This is not good for long running tasks since it's hard for users to track the short names. This patch makes it show the names (except the idle task)

[PATCH 10/15] perf bench mem: Ignore export.h related changes to mem{cpy,set}.S

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Ignore export.h and EXPORT_SYMBOL in: 784d5699eddc ("x86: move exports to actual definitions") We're not dragging this stuff, not useful in tools/ This silences the following warnings while building perf: Warning: tools/arch/x86/lib/memcpy_64.S differs from

[PATCH 14/15] perf scripting: Don't die if scripting can't be setup, disable it

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Removing one more set of die() calls. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-6pyil685m5i2tugg56gcy...@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/trace-e

[PATCH 02/15] perf bench futex: Sanitize numeric parameters

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Davidlohr Bueso This gets rid of oddities such as: perf bench futex hash -t -4 perf: calloc: Cannot allocate memory Runtime (and many more) are equally busted, i.e. run for bogus amounts of time. Just use the abs, instead of, for example errorring out. Committer note: After the patc

[PATCH 13/15] perf scripting: Avoid leaking the scripting_context variable

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Both register_perl_scripting() and register_python_scripting() allocate this variable, fix it by checking if it already was. Cc: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Namhyung Kim Cc: Tom Zanussi Cc: Wang Nan Fixes: 7e4b21b8

Re: linux-next: bad commit in the sunxi tree

2016-10-27 Thread Maxime Ripard
Hi Stephen, On Thu, Oct 27, 2016 at 10:42:25AM +1100, Stephen Rothwell wrote: > Hi Maxime, > > On Tue, 25 Oct 2016 11:44:09 +0200 Maxime Ripard > wrote: > > > > On Tue, Oct 25, 2016 at 09:22:55AM +1100, Stephen Rothwell wrote: > > > Hi Maxime, > > > > > > In today's sunxi tree > > > (git://git

[PATCH 15/15] perf tools: Add missing object file to the python binding linkage list

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo In ac12f6764c50 ("perf tools: Implement branch_type event parameter") we started using the parse_branch_str() function from one of the files used in the python binding, which caused this entry in 'perf test' to fail: # perf test -v python 16: Try 'import perf'

[PATCH 12/15] perf tools: Update x86's syscall_64.tbl, adding pkey_(alloc,free,mprotect)

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Introduced in commit f9afc6197e9b ("x86: Wire up protection keys system calls") This will make 'perf trace' aware of them on x86_64. Cc: Adrian Hunter Cc: Dave Hansen Cc: David Ahern Cc: Jiri Olsa Cc: Namhyung Kim Cc: Thomas Gleixner Cc: Wang Nan Link: http

Re: Getting interrupt every million cache misses

2016-10-27 Thread Kees Cook
On Thu, Oct 27, 2016 at 2:33 AM, Peter Zijlstra wrote: > On Thu, Oct 27, 2016 at 11:11:04AM +0200, Pavel Machek wrote: >> How to work around rowhammer, break my system _and_ make kernel perf >> maintainers scream at the same time: (:-) ) >> >> I think I got the place now. Let me try... > > Lol ;-)

[PATCH 03/15] perf hist browser: Fix hierarchy column counts

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The perf report/top on TUI supports horizontal scrolling using LEFT and RIGHT keys. But it calculate the number of columns incorrectly when hierarchy mode is enabled so that keep pressing RIGHT key can make the output disappeared. In the hierarchy mode, all sort keys are coll

Re: [PATCH v2 1/4] uinput: Add ioctl for using monotonic/ boot times

2016-10-27 Thread Deepa Dinamani
> hmm, I'm a bit confused here. This is an in-kernel bit only (passing the > time through uinput events has no effect). So why do we need an ioctl here? > it's an in-kernel decision only anyway and the time in the events sent to > the evdev client should be dictated by what that client sets for the

Re: [RFC v2 5/8] sched/tune: add initial support for CGroups based boosting

2016-10-27 Thread Tejun Heo
Hello, Patrick. On Thu, Oct 27, 2016 at 09:14:39PM +0100, Patrick Bellasi wrote: > I'm wondering also how much confusing and complex it can be to > configure a system where you have not overlapping groups of tasks with > different bandwidth and boosting requirements. > > For example, let assume w

Re: [RFC][PATCH 4/4] futex: Rewrite FUTEX_UNLOCK_PI

2016-10-27 Thread Thomas Gleixner
On Fri, 21 Oct 2016, Peter Zijlstra wrote: > On Mon, Oct 10, 2016 at 12:17:48PM +0200, Thomas Gleixner wrote: > > I fear, we need to rethink this whole locking/protection scheme from > > scratch. > > Here goes... as discussed at ELCE this serializes the {uval, > pi_state} state using pi_mutex->wai

Re: [PATCH] net: bgmac: fix spelling mistake: "connecton" -> "connection"

2016-10-27 Thread David Miller
From: Colin King Date: Mon, 24 Oct 2016 23:46:18 +0100 > From: Colin Ian King > > trivial fix to spelling mistake in dev_err message > > Signed-off-by: Colin Ian King Applied.

Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online calls to hotplugged cpu")]

2016-10-27 Thread Ville Syrjälä
On Thu, Oct 27, 2016 at 09:25:05PM +0200, Thomas Gleixner wrote: > On Thu, 27 Oct 2016, Ville Syrjälä wrote: > > On Thu, Oct 27, 2016 at 08:48:57PM +0200, Thomas Gleixner wrote: > > > What that old patch did, was: > > > > > > 1) Make sure that the broadcast device is actually armed at resume. > >

Re: [PATCH 00/32] Create an User's manual and improve development-process book

2016-10-27 Thread Jonathan Corbet
On Thu, 27 Oct 2016 13:17:33 -0700 Andrew Morton wrote: > > This patch series continues the efforts of converting the Linux Kernel > > documentation to Sphinx. > > hm, renaming Documentation/kernel-parameters.txt in linux-next is going > to be a pain for the next two months. I have one large

Re: [PATCH v3 net] flow_dissector: fix vlan tag handling

2016-10-27 Thread David Miller
From: Arnd Bergmann Date: Mon, 24 Oct 2016 23:40:30 +0200 > gcc warns about an uninitialized pointer dereference in the vlan > priority handling: > > net/core/flow_dissector.c: In function '__skb_flow_dissect': > net/core/flow_dissector.c:281:61: error: 'vlan' may be used uninitialized in > thi

[PATCH v2 2/2] mm: unexport __get_user_pages_unlocked()

2016-10-27 Thread Lorenzo Stoakes
This patch unexports the low-level __get_user_pages_unlocked() function and replaces invocations with calls to more appropriate higher-level functions. In hva_to_pfn_slow() we are able to replace __get_user_pages_unlocked() with get_user_pages_unlocked() since we can now pass gup_flags. In async_

[PATCH v2 0/2] mm: unexport __get_user_pages_unlocked()

2016-10-27 Thread Lorenzo Stoakes
This patch series continues the cleanup of get_user_pages*() functions taking advantage of the fact we can now pass gup_flags as we please. It firstly adds an additional 'locked' parameter to get_user_pages_remote() to allow for its callers to utilise VM_FAULT_RETRY functionality. This is necessar

[PATCH v2 1/2] mm: add locked parameter to get_user_pages_remote()

2016-10-27 Thread Lorenzo Stoakes
This patch adds an int *locked parameter to get_user_pages_remote() to allow VM_FAULT_RETRY faulting behaviour similar to get_user_pages_[un]locked(). It additionally clears the way for __get_user_pages_unlocked() to be unexported as its sole remaining useful characteristic was to allow for VM_FAU

Re: [PATCH] kalmia: avoid potential uninitialized variable use

2016-10-27 Thread David Miller
From: Arnd Bergmann Date: Mon, 24 Oct 2016 17:54:18 +0200 > The kalmia_send_init_packet() returns zero or a negative return > code, but gcc has no way of knowing that there cannot be a > positive return code, so it determines that copying the ethernet > address at the end of kalmia_bind() will ac

[PATCHv2 0/4] Add Altera A10SR Status & Control Monitor

2016-10-27 Thread tthayer
From: Thor Thayer This patch series adds the Altera Arria10 DevKit System Resource chip's Status and Control Monitor to the A10SR Multi-Function Device. An earlier patch added this to the hwmon class which wasn't the proper place so this functionality is added to the misc directory. Version 2 cha

Re: [PATCH 3/3] thermal/intel_powerclamp: Convert to CPU hotplug state

2016-10-27 Thread Jacob Pan
On Thu, 27 Oct 2016 17:17:26 +0200 Sebastian Andrzej Siewior wrote: > On 2016-10-27 16:53:48 [+0200], Petr Mladek wrote: > > > > In each case, I wonder if the problem is caused by the conversion > > to the kthread worker or by the CPU hotplug state conversion. > > drop the hotplug patch and y

[PATCH next 2/2] media: mtk-mdp: NULL-terminate mtk_mdp_comp_dt_ids

2016-10-27 Thread Vincent Stehlé
The mtk_mdp_comp_dt_ids[] array should be NULL-terminated; add therefore an empty entry in the end. Fixes: c8eb2d7e8202fd9c ("[media] media: Add Mediatek MDP Driver") Signed-off-by: Vincent Stehlé Cc: Minghsiu Tsai Cc: Hans Verkuil Cc: Mauro Carvalho Chehab --- drivers/media/platform/mtk-mdp/

Re: [PATCH v2 2/2] arm64: dts: hi6220: add resets property into dwmmc nodes

2016-10-27 Thread John Stultz
On Thu, Oct 27, 2016 at 6:56 AM, Vincent Guittot wrote: > > My hikey board failed to detect and mount sdcard with v4.9-rc1 and i > have bisected the issue to this patch. Once reverted, the sdcard is > detected again. Hrm.. I've not seen this w/ my v4.9-rc2 based tree, and I don't have any mmc pat

Re: [PATCH v2 1/1] MAINTAINERS: add a maintainer for the SPI NOR subsystem

2016-10-27 Thread Marek Vasut
On 10/27/2016 10:19 PM, Brian Norris wrote: > Hi, > > On Fri, Oct 21, 2016 at 11:28:00PM +0530, Jagan Teki wrote: >> On Thu, Oct 20, 2016 at 7:12 PM, Marek Vasut wrote: >>> On 10/19/2016 05:34 PM, Cyrille Pitchen wrote: I would like to volunteer as a maintainer for the SPI NOR part of the MT

Re: [RFC PATCH 06/13] of: Remove prefix "__of_" and prefix "__" from local function names

2016-10-27 Thread Rob Herring
On Thu, Oct 27, 2016 at 1:25 PM, Frank Rowand wrote: > On 10/27/16 09:58, Rob Herring wrote: >> On Thu, Oct 27, 2016 at 11:35 AM, Frank Rowand >> wrote: >>> On 10/27/16 05:47, Rob Herring wrote: On Tue, Oct 25, 2016 at 3:58 PM, wrote: > From: Frank Rowand I prefer to leave

Re: console issue since 3.6, console=ttyS1 hangs

2016-10-27 Thread Sean Young
On Wed, Oct 26, 2016 at 01:16:16PM -0500, Nathan Zimmer wrote: > On 10/25/2016 03:41 PM, Sean Young wrote: > >On Mon, Oct 24, 2016 at 04:49:25PM -0500, Nathan Zimmer wrote: > >>[1.565062] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A > >The isa probe driver find the serial port. > > > >>

Re: [PATCH v2 1/1] MAINTAINERS: add a maintainer for the SPI NOR subsystem

2016-10-27 Thread Brian Norris
Hi, On Fri, Oct 21, 2016 at 11:28:00PM +0530, Jagan Teki wrote: > On Thu, Oct 20, 2016 at 7:12 PM, Marek Vasut wrote: > > On 10/19/2016 05:34 PM, Cyrille Pitchen wrote: > >> I would like to volunteer as a maintainer for the SPI NOR part of the MTD > >> subsystem. Thanks! I'll be happy to have th

Re: [PATCH net-next] ethernet: fix min/max MTU typos

2016-10-27 Thread David Miller
From: Stefan Richter Date: Mon, 24 Oct 2016 14:42:26 +0200 > Fixes: d894be57ca92('ethernet: use net core MTU range checking in more > drivers') > CC: Jarod Wilson > CC: Thomas Falcon > Signed-off-by: Stefan Richter Applied.

Re: [PATCH 00/32] Create an User's manual and improve development-process book

2016-10-27 Thread Andrew Morton
On Mon, 17 Oct 2016 14:55:37 -0200 Mauro Carvalho Chehab wrote: > This patch series continues the efforts of converting the Linux Kernel > documentation to Sphinx. hm, renaming Documentation/kernel-parameters.txt in linux-next is going to be a pain for the next two months. I have one large pat

Re: [RFC v2 5/8] sched/tune: add initial support for CGroups based boosting

2016-10-27 Thread Patrick Bellasi
On 27-Oct 14:30, Tejun Heo wrote: > Hello, Patrick. Hi Tejun, > On Thu, Oct 27, 2016 at 06:41:05PM +0100, Patrick Bellasi wrote: > > To support task performance boosting, the usage of a single knob has the > > advantage to be a simple solution, both from the implementation and the > > usability s

Re: [PATCH V2 2/4] mfd: pv88080: MFD core support

2016-10-27 Thread Linus Walleij
On Thu, Oct 27, 2016 at 3:03 AM, Eric Jeong wrote: > From: Eric Jeong > > This patch adds supports for PV88080 MFD core device. > > It provides communication through the I2C interface. > It contains the following components: > - Regulators > - Configurable GPIOs > > Kconfig and Makefile

Re: [PATCH] i2c: imx: add slave support. v2 status

2016-10-27 Thread Maxim Syrchin
Hi, Sorry for huge delay in answering. Unfortunately we don't have enough resources now to prepare clean enough patch to be accepted by community. Please find the latest version attached. Driver has passed stress tests, but looks like it need seriuos refactoring (it is unnecessarily complicate

Re: [PATCH] fs: dlm: lockspace: constify kset_uevent_ops structures

2016-10-27 Thread Julia Lawall
On Thu, 27 Oct 2016, Bhumika Goyal wrote: > Declare kset_uevent_ops structure as const as it is only passed as > the second argument to the function kset_create_and_add. This > argument is of type const struct kset_uevent_ops *, so kset_uevent_ops > structures having this property can be declare

CVE-2016-0758: patch missing in 3.18 series?

2016-10-27 Thread Romain Rivière
Hello, I apologize in advance in case I missed the obvious, but the patch [1] for CVE-2016-0758 apparently hasn't made it into the 3.18 series (checked in 3.18.44). I haven't checked other 3.10+ lines but the changelog doesn't seem to mention it. In contrast, CVE-2016-7117 was indeed fixed in 3.18

Re: [RESEND PATCH v2 3/3] mtd: ubi: use 'max_bad_blocks' to compute bad_peb_limit if available

2016-10-27 Thread Boris Brezillon
On Thu, 27 Oct 2016 14:14:02 -0500 Zach Brown wrote: > From: Jeff Westfahl > > Use the MTD function 'max_bad_blocks' to compute the UBI bad_peb_limit, > if the function is implemented for an MTD and doesn't return an error. > > Signed-off-by: Jeff Westfahl > Signed-off-by: Zach Brown > --- >

Re: [PATCH v2] soc: qcom: Add SoC info driver

2016-10-27 Thread Linus Walleij
On Thu, Oct 27, 2016 at 11:22 AM, Imran Khan wrote: > The SoC info driver provides information such as Chip ID, > Chip family, serial number and other such details about > Qualcomm SoCs. > > Signed-off-by: Imran Khan I like this patch. It is good to know stuff about the hardware. (...) > +++ b

Re: [RESEND PATCH v2 2/3] mtd: nand: implement 'max_bad_blocks' mtd function

2016-10-27 Thread Boris Brezillon
On Thu, 27 Oct 2016 14:14:01 -0500 Zach Brown wrote: > From: Jeff Westfahl > > Implement the new mtd function 'max_bad_blocks'. Use the ONFI parameter > page to find the maximum bad blocks to reserve for an MTD, taking into > account how many LUNs the MTD spans. > > Signed-off-by: Jeff Westfah

Re: [RESEND PATCH v2 1/3] mtd: introduce function max_bad_blocks

2016-10-27 Thread Boris Brezillon
On Thu, 27 Oct 2016 14:14:00 -0500 Zach Brown wrote: > From: Jeff Westfahl > > If implemented, 'max_bad_blocks' returns the maximum number of bad > blocks to reserve for an MTD. An implementation for NAND is coming soon. > > Signed-off-by: Jeff Westfahl > Signed-off-by: Zach Brown > --- > d

Re: [RESEND PATCH v2 0/3] mtd: use ONFI bad blocks per LUN to calculate UBI bad PEB limit

2016-10-27 Thread Boris Brezillon
Hi Zach, Please do not resend after only one week. Reviewing this series was on my TODO list ;). On Thu, 27 Oct 2016 14:13:59 -0500 Zach Brown wrote: > For ONFI-compliant NAND devices, the ONFI parameters report the maximum number > of bad blocks per LUN that will be encountered over the lifeti

[PATCHv2 2/4] misc: Add Altera Arria10 System Resource Control

2016-10-27 Thread tthayer
From: Thor Thayer This patch adds the Altera Arria10 control & monitoring functions to the Arria10 System Resource chip. Signed-off-by: Thor Thayer --- v2 Change compatible string and filename from -mon to -monitor Change CONFIG from module to builtin. Make wm_rst register writeable. -

[PATCHv2 1/4] dt-bindings: mfd: Add Altera Arria10 SR Monitor

2016-10-27 Thread tthayer
From: Thor Thayer Add the Arria10 DevKit System Resource Chip register and state monitoring module to the MFD. Signed-off-by: Thor Thayer --- Note: This needs to be applied to the bindings document that was Acked & Applied but didn't reach the for-next branch. See https://patchwork.ozlabs.org/p

[PATCHv2 3/4] mfd: altr-a10sr: Add Arria10 SR Monitor

2016-10-27 Thread tthayer
From: Thor Thayer Add the Altera Arria10 DevKit System Resource Monitor functionality to the MFD device. Signed-off-by: Thor Thayer --- v2 Change from -mon to -monitor for clarity --- drivers/mfd/altera-a10sr.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/mfd/altera-a10sr.c

[PATCHv2 4/4] ARM: socfpga: dts: Add Monitor to A10-SR MFD

2016-10-27 Thread tthayer
From: Thor Thayer Add the Monitor functionality to the Arria10 DevKit System Resource chip. Signed-off-by: Thor Thayer --- v2 Change from -mon to -monitor for clarity. --- arch/arm/boot/dts/socfpga_arria10_socdk.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/so

RE: [patch v2 2/2] drivers/platform/x86: add mlxcpld-hotplug driver registration to mlx-platform driver

2016-10-27 Thread Vadim Pasternak
> -Original Message- > From: Andy Shevchenko [mailto:andriy.shevche...@linux.intel.com] > Sent: Thursday, October 27, 2016 9:25 PM > To: Vadim Pasternak ; dvh...@infradead.org; > fengguang...@intel.com > Cc: da...@davemloft.net; ge...@linux-m68k.org; akpm@linux- > foundation.org; kv...@co

[PATCH v2] thinkpad_acpi: Add support for X1 Yoga (2016) Tablet Mode

2016-10-27 Thread Lyude
For whatever reason, the X1 Yoga doesn't support the normal method of querying for tablet mode. Instead of providing the MHKG method under the hotkey handle, we're instead given the CMMD method under the EC handle. Values on this handle are either 0x1, laptop mode, or 0x6, tablet mode. Changes sin

<    1   2   3   4   5   6   7   8   9   >