[PATCH perf/core v12 06/16] perf buildid-cache: Scan and import user SDT events to probe cache

2016-06-24 Thread Masami Hiramatsu
From: Masami Hiramatsu perf buildid-cache --add scans given binary and add the SDT events to probe cache. "sdt_" prefix is appended for all SDT providers to avoid event-name clash with other pre-defined events. It is possible to use the cached SDT events as other cached events, via perf probe --

[PATCH perf/core v12 09/16] perf-list: Skip SDTs placed in invalid binaries

2016-06-24 Thread Masami Hiramatsu
From: Masami Hiramatsu Skip SDTs placed in invalid (non-exist, or older version) binaries. Note that perf-probe --cache --list and perf-probe --cache --del still handle all the caches including invalid binaries. Signed-off-by: Masami Hiramatsu Signed-off-by: Masami Hiramatsu --- Changes in v7

[PATCH perf/core v12 08/16] perf-list: Show SDT and pre-cached events

2016-06-24 Thread Masami Hiramatsu
From: Masami Hiramatsu Show SDT and pre-cached events by perf-list with "sdt". This also shows the binary and build-id where the events are placed only when there are same name events on different binaries. e.g. # perf list sdt List of pre-defined events (to be used in -e): sdt_l

[PATCH perf/core v12 03/16] perf probe: Remove caches when --cache is given

2016-06-24 Thread Masami Hiramatsu
From: Masami Hiramatsu perf-probe --del removes caches when --cache is given. Note that the delete pattern is not same as normal events. If you cached probes with event name, --del "eventname" works as expected. However, if you skipped it, the cached probes doesn't have actual event name. In tha

[PATCH perf/core v12 02/16] perf probe: Show all cached probes

2016-06-24 Thread Masami Hiramatsu
From: Masami Hiramatsu perf probe --list shows all cached probes when --cache is given. Each caches are shown with on which binary that probed. e.g. - # perf probe --cache vfs_read \$params # perf probe --cache -x /lib64/libc-2.17.so getaddrinfo \$params # perf probe --cache --list

[PATCH perf/core v12 01/16] perf probe: Use cache entry if possible

2016-06-24 Thread Masami Hiramatsu
From: Masami Hiramatsu Before analyzing debuginfo, try to find a corresponding entry from probe cache always. This does not depend on --cache, the --cache enables to store/update cache, but looking up the cache is always enabled. Signed-off-by: Masami Hiramatsu Signed-off-by: Masami Hiramatsu

[PATCH perf/core v12 04/16] perf/sdt: ELF support for SDT

2016-06-24 Thread Masami Hiramatsu
From: Hemant Kumar This patch serves the initial support to identify and list SDT events in binaries. When programs containing SDT markers are compiled, gcc with the help of assembler directives identifies them and places them in the section ".note.stapsdt". To find these markers from the bina

[PATCH perf/core v12 00/16] perf-probe --cache and SDT support

2016-06-24 Thread Masami Hiramatsu
Hi, Here is the 12th version of the patchset for probe-cache and initial SDT support. Here is the previous v11: https://lkml.org/lkml/2016/6/14/1041 In this version I just rename strlist__for_each to strlist__for_each_entry, and change some patch description. Thank you, --- Hemant Kumar (1):

Re: [PATCH] HID: hiddev: use IS_ENABLED() for USB_HIDDEV

2016-06-24 Thread Jiri Kosina
On Fri, 24 Jun 2016, Arnd Bergmann wrote: > On Friday, June 24, 2016 10:28:50 AM CEST Jiri Kosina wrote: > > From: Jiri Kosina > > > > Use IS_ENABLED() for checking USB_HIDDEV to make sure compilation works > > for all possible config combinations. > > > > Signed-off-by: Jiri Kosina > > --- >

Re: [PATCH] HID: hiddev: use IS_ENABLED() for USB_HIDDEV

2016-06-24 Thread Arnd Bergmann
On Friday, June 24, 2016 10:28:50 AM CEST Jiri Kosina wrote: > From: Jiri Kosina > > Use IS_ENABLED() for checking USB_HIDDEV to make sure compilation works > for all possible config combinations. > > Signed-off-by: Jiri Kosina > --- > include/linux/hiddev.h | 2 +- > 1 file changed, 1 insert

[tip:sched/urgent] sched/core: Allow kthreads to fall back to online && !active cpus

2016-06-24 Thread tip-bot for Tejun Heo
Commit-ID: feb245e304f343cf5e4f9123db36354144dce8a4 Gitweb: http://git.kernel.org/tip/feb245e304f343cf5e4f9123db36354144dce8a4 Author: Tejun Heo AuthorDate: Thu, 16 Jun 2016 15:35:04 -0400 Committer: Ingo Molnar CommitDate: Fri, 24 Jun 2016 08:26:53 +0200 sched/core: Allow kthreads to

[tip:sched/urgent] sched/fair: Initialize throttle_count for new task-groups lazily

2016-06-24 Thread tip-bot for Konstantin Khlebnikov
Commit-ID: 094f469172e00d6ab0a3130b0e01c83b3cf3a98d Gitweb: http://git.kernel.org/tip/094f469172e00d6ab0a3130b0e01c83b3cf3a98d Author: Konstantin Khlebnikov AuthorDate: Thu, 16 Jun 2016 15:57:01 +0300 Committer: Ingo Molnar CommitDate: Fri, 24 Jun 2016 08:26:44 +0200 sched/fair: Initia

[PATCH] mm, vmscan: Make kswapd reclaim no more than needed

2016-06-24 Thread Hillf Danton
We stop reclaiming pages if any eligible zone is balanced. Signed-off-by: Hillf Danton --- --- a/mm/vmscan.c Thu Jun 23 17:56:34 2016 +++ b/mm/vmscan.c Fri Jun 24 16:45:58 2016 @@ -3185,15 +3185,10 @@ static int balance_pgdat(pg_data_t *pgda if (!populated_zon

[tip:sched/urgent] sched/fair: Do not announce throttled next buddy in dequeue_task_fair()

2016-06-24 Thread tip-bot for Konstantin Khlebnikov
Commit-ID: 754bd598be9bbc953bc709a9e8ed7f3188bfb9d7 Gitweb: http://git.kernel.org/tip/754bd598be9bbc953bc709a9e8ed7f3188bfb9d7 Author: Konstantin Khlebnikov AuthorDate: Thu, 16 Jun 2016 15:57:15 +0300 Committer: Ingo Molnar CommitDate: Fri, 24 Jun 2016 08:26:45 +0200 sched/fair: Do not

[tip:locking/urgent] locking/static_key: Fix concurrent static_key_slow_inc()

2016-06-24 Thread tip-bot for Paolo Bonzini
Commit-ID: 4c5ea0a9cd02d6aa8adc86e100b2a4cff8d614ff Gitweb: http://git.kernel.org/tip/4c5ea0a9cd02d6aa8adc86e100b2a4cff8d614ff Author: Paolo Bonzini AuthorDate: Tue, 21 Jun 2016 18:52:17 +0200 Committer: Ingo Molnar CommitDate: Fri, 24 Jun 2016 08:23:16 +0200 locking/static_key: Fix co

[tip:locking/arch-atomic] locking/atomic, arch/tile: Fix tilepro build

2016-06-24 Thread tip-bot for Peter Zijlstra
Commit-ID: b7271b9f3e18181559b96a610f4e42bdb04b07f5 Gitweb: http://git.kernel.org/tip/b7271b9f3e18181559b96a610f4e42bdb04b07f5 Author: Peter Zijlstra AuthorDate: Wed, 22 Jun 2016 11:16:49 +0200 Committer: Ingo Molnar CommitDate: Fri, 24 Jun 2016 08:17:04 +0200 locking/atomic, arch/tile

Re: [PATCH] bridge: netfilter: spanning tree: Add masked_ether_addr_equal and neatening

2016-06-24 Thread Pablo Neira Ayuso
On Fri, Jun 24, 2016 at 10:51:28AM +0200, Pablo Neira Ayuso wrote: > On Thu, Jun 23, 2016 at 12:00:00PM -0700, Joe Perches wrote: > > On Thu, 2016-06-23 at 19:36 +0200, Pablo Neira Ayuso wrote: > > > On Wed, Jun 15, 2016 at 01:58:45PM -0700, Joe Perches wrote: > > > > > > > > There is code duplica

Re: [PATCH v5 2/2] [media] atmel-isc: DT binding for Image Sensor Controller driver

2016-06-24 Thread Wu, Songjun
On 6/24/2016 15:35, Boris Brezillon wrote: On Fri, 24 Jun 2016 13:54:09 +0800 "Wu, Songjun" wrote: Hi Rob, Thank you for your comments. On 6/20/2016 21:25, Rob Herring wrote: On Fri, Jun 17, 2016 at 04:57:14PM +0800, Songjun Wu wrote: DT binding documentation for ISC driver. Signed-off-

Re: [PATCH] bridge: netfilter: spanning tree: Add masked_ether_addr_equal and neatening

2016-06-24 Thread Pablo Neira Ayuso
On Thu, Jun 23, 2016 at 12:00:00PM -0700, Joe Perches wrote: > On Thu, 2016-06-23 at 19:36 +0200, Pablo Neira Ayuso wrote: > > On Wed, Jun 15, 2016 at 01:58:45PM -0700, Joe Perches wrote: > > > > > > There is code duplication of a masked ethernet address comparison here > > > so make it a separate

Re: Documenting ptrace access mode checking

2016-06-24 Thread Michael Kerrisk (man-pages)
On 06/22/2016 11:11 PM, Kees Cook wrote: On Wed, Jun 22, 2016 at 12:21 PM, Michael Kerrisk (man-pages) wrote: On 06/21/2016 10:55 PM, Jann Horn wrote: On Tue, Jun 21, 2016 at 11:41:16AM +0200, Michael Kerrisk (man-pages) wrote: 5. The kernel LSM security_ptrace_access_check() interfa

Re: Crashes in -next due to 'mm, page_alloc: remove fair zone allocation policy'

2016-06-24 Thread Mel Gorman
On Thu, Jun 23, 2016 at 11:05:33PM -0700, Guenter Roeck wrote: > Hi, > > I see a lot of crashes with various architectures in next-20160623. > I bisected mips and sh; both bisect log point to the same patch. > Bisect log is attached. arm, ppc, and x86 images crash as well, > but I did not confirm

[PATCH v2 2/5] regulator: tps65218: Enable suspend configuration

2016-06-24 Thread Keerthy
From: Tero Kristo TPS65218 has a pre-defined power-up / power-down sequence which in a typical application does not need to be changed. However, it is possible to define custom sequences under I2C control. The power-up sequence is defined by strobes and delay times. Each output rail is assigned t

Re: Documenting ptrace access mode checking

2016-06-24 Thread Michael Kerrisk (man-pages)
Stephen, On 06/23/2016 08:05 PM, Stephen Smalley wrote: On 06/21/2016 05:41 AM, Michael Kerrisk (man-pages) wrote: Hi Jann, Stephen, et al. Jann, since you recently committed a patch in this area, and Stephen, since you committed 006ebb40d3d much further back in time, I wonder if you might hel

[PATCH v2 3/5] regulator: tps65218: force set power-up/down strobe to 3 for dcdc3

2016-06-24 Thread Keerthy
From: Tero Kristo The reset value for this register seems broken on certain versions of tps65218 chip, so make sure the dcdc3 settings is proper. Needed for proper functionality of rtc+ddr / rtc-only modes. Signed-off-by: Tero Kristo Signed-off-by: Dave Gerlach Signed-off-by: Keerthy --- dri

[PATCH 2/3] printk: Make the printk*once() variants return a value

2016-06-24 Thread Borislav Petkov
From: Borislav Petkov Have printk*once() return a bool which denotes whether the string was printed or not so that calling code can react accordingly. Signed-off-by: Borislav Petkov Cc: Andrew Morton --- include/linux/printk.h | 17 - 1 file changed, 12 insertions(+), 5 deleti

[PATCH 1/3] x86/dumpstack: Honor supplied @regs arg

2016-06-24 Thread Borislav Petkov
From: Andy Lutomirski The comment suggests that show_stack(NULL, NULL) should backtrace the current context, but the code doesn't match the comment. If regs are given, start the "Stack:" hexdump at regs->sp. Signed-off-by: Andy Lutomirski Cc: Brian Gerst Cc: "H. Peter Anvin" Cc: Ingo Molnar

[PATCH 0/3] x86/MSR: Improve unhandled MSR access error message

2016-06-24 Thread Borislav Petkov
From: Borislav Petkov Hi all, here's a simple patchset improving the error message we're dumping when an unchecked MSR is being done. Patch 3 has an example which explains the improvement in detail. Thanks. Andy Lutomirski (1): x86/dumpstack: Honor supplied @regs arg Borislav Petkov (2):

[PATCH v2 0/5] regulator: Enable suspend configuration

2016-06-24 Thread Keerthy
The series adds suspend configuration for tps65218 and tps65217 PMICs. Boot tested on am437x-sk-evm, am437x-gp-evm, am335x-bone, am335x-boneblack. Changes from v2: * All device tree patches will be sent as a separate series once the driver patches are in. * Patch 2 of v1 is already pulled

[PATCH 3/3] x86/dumpstack: Add show_stack_regs() and use it

2016-06-24 Thread Borislav Petkov
From: Borislav Petkov Add a helper to dump supplied pt_regs and use it in the MSR exception handling code to have precise stack traces pointing to the actual function causing the MSR access exception and not the stack frame of the exception handler itself. The new output looks like this: unche

Re: [PATCH] mfd: intel-lpss: fix compilation issue if PM_SLEEP is not set

2016-06-24 Thread Andy Shevchenko
On Fri, 2016-06-24 at 03:11 +0300, Vladimir Zapolskiy wrote: > If kernel build configuration has enabled CONFIG_PM and unset > CONFIG_PM_SLEEP, then intel-lpss-pci.c and intel-lpss-acpi.c can not > be compiled due to a missing INTEL_LPSS_SLEEP_PM_OPS macro > declaration: > >   drivers/mfd/intel-lp

[PATCH v2 1/5] regulator: tps65217: Enable suspend configuration

2016-06-24 Thread Keerthy
From: Russ Dill The TPS65217 has a pre-defined power-up / power-down sequence which in a typical application does not need to be changed. However, it is possible to define custom sequences under I2C control. The power-up sequence is defined by strobes and delay times. Each output rail is assigned

[PATCH v2 4/5] mfd: tps65218: add version check to the PMIC probe

2016-06-24 Thread Keerthy
From: Tero Kristo Version information will be needed to handle some error cases under the regulator driver, so store the information once during MFD probe. Signed-off-by: Tero Kristo Signed-off-by: Dave Gerlach Signed-off-by: Keerthy --- drivers/mfd/tps65218.c | 9 + include/li

[PATCH v2 5/5] regulator: tps65218: do not disable DCDC3 during poweroff on broken PMICs

2016-06-24 Thread Keerthy
From: Tero Kristo Some versions of tps65218 do not seem to support poweroff modes properly if DCDC3 regulator is shut-down. Thus, keep it enabled even during poweroff if the version info matches the broken silicon revision. Signed-off-by: Tero Kristo Signed-off-by: Dave Gerlach Signed-off-by:

[PATCH] HID: hiddev: use IS_ENABLED() for USB_HIDDEV

2016-06-24 Thread Jiri Kosina
From: Jiri Kosina Use IS_ENABLED() for checking USB_HIDDEV to make sure compilation works for all possible config combinations. Signed-off-by: Jiri Kosina --- include/linux/hiddev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/hiddev.h b/include/linux/hidd

Re: [PATCH] Validate num_values for HIDIOCGUSAGES, HIDIOCSUSAGES commands.

2016-06-24 Thread Jiri Kosina
On Thu, 23 Jun 2016, Scott Bauer wrote: > This patch validates the num_values parameter from userland during > the HIDIOCGUSAGES and HIDIOCSUSAGES commands. Previously, if the > report id was set to HID_REPORT_ID_UNKNOWN, we would fail to > validate the num_values parameter leading to a heap overf

Re: Kernel 4.7rc3 - Performance drop 30-40% for SPECjbb2005 and SPECjvm2008 benchmarks against 4.6 kernel

2016-06-24 Thread Jirka Hladky
I had a look and CONFIG_SCHED_AUTOGROUP=y is used both in RHEL6 and RHEL7. We compile the upstream kernels with config derived from RHEL7 config file. Jirka On Fri, Jun 24, 2016 at 10:08 AM, Peter Zijlstra wrote: > On Fri, Jun 24, 2016 at 09:44:41AM +0200, Jirka Hladky wrote: >> I have double

Re: Documenting ptrace access mode checking

2016-06-24 Thread Michael Kerrisk (man-pages)
On 06/23/2016 08:56 PM, Eric W. Biederman wrote: "Michael Kerrisk (man-pages)" writes: Hi Oleg, On 06/22/2016 11:51 PM, Oleg Nesterov wrote: On 06/21, Eric W. Biederman wrote: Adding Oleg just because he seems to do most of the ptrace related maintenance these days. so I have to admit th

[PATCH v12 net-next 1/1] hv_sock: introduce Hyper-V Sockets

2016-06-24 Thread Dexuan Cui
Hyper-V Sockets (hv_sock) supplies a byte-stream based communication mechanism between the host and the guest. It's somewhat like TCP over VMBus, but the transportation layer (VMBus) is much simpler than IP. With Hyper-V Sockets, applications between the host and the guest can talk to each other d

[PATCH v12 net-next 0/1] introduce Hyper-V VM Sockets(hv_sock)

2016-06-24 Thread Dexuan Cui
Hyper-V Sockets (hv_sock) supplies a byte-stream based communication mechanism between the host and the guest. It's somewhat like TCP over VMBus, but the transportation layer (VMBus) is much simpler than IP. With Hyper-V Sockets, applications between the host and the guest can talk to each other d

Re: futex: Allow FUTEX_CLOCK_REALTIME with FUTEX_WAIT op

2016-06-24 Thread Michael Kerrisk (man-pages)
On 06/23/2016 09:53 PM, Darren Hart wrote: On Thu, Jun 23, 2016 at 08:35:15PM +0200, Michael Kerrisk (man-pages) wrote: Hi Darren, On 06/23/2016 06:16 PM, Darren Hart wrote: On Thu, Jun 23, 2016 at 03:40:36PM +0200, Thomas Gleixner wrote: On Thu, 23 Jun 2016, Michael Kerrisk (man-pages) wrote

Re: [PATCH 1/3] nvme: When scanning namespaces, make sure the drive is not locked

2016-06-24 Thread Christoph Hellwig
On Sun, Jun 19, 2016 at 04:06:32PM -0700, Jethro Beekman wrote: > + if (nvme_security_is_locked(ctrl, id)) { > + nvme_remove_namespaces(ctrl); > + return; > + } Should we print some information for the user that we are ignoring a namespace because it is locked?

Re: [PATCH 0/3] nvme: Don't add namespaces for locked drives

2016-06-24 Thread Christoph Hellwig
On Mon, Jun 20, 2016 at 11:26:39AM -0400, Keith Busch wrote: > This is ATA security, though, so wouldn't ATA also benefit from this? The > payload setup/decoding should then go in a generic library for everyone. In principiple sharing this code would be fine, but right now the actual ATA specific

Re: [PATCH 0/3] nvme: Don't add namespaces for locked drives

2016-06-24 Thread Christoph Hellwig
On Mon, Jun 20, 2016 at 09:46:30AM +0300, Sagi Grimberg wrote: > patch 1: nvme: Add function for NVMe security receive command > patch 2: nvme: Check if drive is locked using ATA Security when scanning > namespaces Agreed.

Re: [PATCH 3/3] nvme: Check if drive is locked using ATA Security

2016-06-24 Thread Christoph Hellwig
On Sun, Jun 19, 2016 at 04:06:34PM -0700, Jethro Beekman wrote: > Signed-off-by: Jethro Beekman > --- > drivers/nvme/host/core.c | 49 +- > 1 file changed, 48 insertions(+), 1 deletion(-) > > diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c

Re: Kernel 4.7rc3 - Performance drop 30-40% for SPECjbb2005 and SPECjvm2008 benchmarks against 4.6 kernel

2016-06-24 Thread Peter Zijlstra
On Fri, Jun 24, 2016 at 09:44:41AM +0200, Jirka Hladky wrote: > I have double checked default settings and > > kernel.sched_autogroup_enabled > > is by default ON both in 4.6 and 4.7 kernel. Yeah, if you enable that CONFIG its default enabled. In any case, I'll go trawl through the cgroup code n

Re: linux-next: build warning after merge of the pci tree

2016-06-24 Thread Johannes Thumshirn
On Thu, Jun 23, 2016 at 11:48:49AM -0500, Bjorn Helgaas wrote: > On Thu, Jun 23, 2016 at 11:51:54AM +1000, Stephen Rothwell wrote: > > Hi Bjorn, > > > > After merging the pci tree, today's linux-next build (x86_64 allmodconfig) > > produced this warning: > > > > drivers/misc/genwqe/card_base.c: I

Re: [ftrace] kernel panics during my attempt to use ftrace

2016-06-24 Thread Enrico Mioso
Hi Steven. Thank you for your very very kind response. I can build a stock kernel (I usually did for my real hw): and I don't see problems on this. The problem is the bitness. My only KVM-enabled machine, as far as I can tell, has a 32-bit CPU. So This would be a different problem. I'll let you

Re: [PATCH] ASOC: wm8753: Remove unneeded header file

2016-06-24 Thread Charles Keepax
On Fri, Jun 24, 2016 at 11:51:36AM +0530, Amitoj Kaur Chawla wrote: > Drop redundant include of moduleparam.h > > The Coccinelle semantic patch used to make this change is as follows: > @ includesmodule @ > @@ > > #include > > @ depends on includesmodule @ > @@ > > - #include > > Signed-off-

Re: [PATCH 0/3] nvme: Don't add namespaces for locked drives

2016-06-24 Thread Christoph Hellwig
On Fri, Jun 24, 2016 at 12:45:08AM -0700, Jethro Beekman wrote: > As you found NVMe points to SPC-4. SPC-4 lists protocol 0xEF "ATA Device > Server > Password Security" as part of the SECURITY PROTOCOL IN command, pointing to > SAT-2. In one SAT-2 draft I could find there is are these sections >

Re: [PATCH v2 0/4] ASoC: sunxi: Add i2s controller support

2016-06-24 Thread Chen-Yu Tsai
On Thu, Jun 16, 2016 at 5:11 AM, Maxime Ripard wrote: > Hi everyone, > > This is the second version of the I2S support for the controller found > in the Allwinner A10 and later SoCs. > > Playback has been tested with an UDA1380 on an A20-Olinuxino. Capture > is not implemented yet, but will come e

Re: [PATCH V3] clocksource/drivers/arc: Convert init function to return error

2016-06-24 Thread Daniel Lezcano
On 06/24/2016 09:52 AM, Vineet Gupta wrote: On Friday 24 June 2016 12:11 PM, Daniel Lezcano wrote: Do you agree to move the driver to drivers/clocksource, so we can add the COMPILE_TEST option ? Sure, this will require some common header adjustments etc. After the current fire-drill I'm pulled

[PATCH v2] libnvdimm, nfit: treat volatile virtual CD region as pmem

2016-06-24 Thread Lee, Chun-Yi
This patch adds logic to treat volatile virtual CD region as pmem region, then /dev/pmem* device can be mounted with iso9660. It's useful to work with the httpboot in EFI firmware to pull a remote ISO file to the local memory region for booting and installation. Wiki page of UEFI HTTPBoot with OV

Re: [PATCH] perf: symbols: dso__load(): remove check of file on uninitialized memory

2016-06-24 Thread Marc Kleine-Budde
On 06/24/2016 08:43 AM, Jiri Olsa wrote: > On Thu, Jun 23, 2016 at 04:20:21PM +0200, Marc Kleine-Budde wrote: >> In commit "403567217d3f perf symbols: Do not read symbols/data from >> device files" a check to uninitialzied memory was added. This leads to >> the following valgrind output: >> >> ==24

[PATCH] char: xillybus: Fix spelling mistake and comment

2016-06-24 Thread Eli Billauer
This patch fixes two minor issues: (1) An inaccurate comment (2) A spelling mistake in dev_err message ("upgarde" -> "upgrade") Reported-by: Joe Perches Reported-by: Colin Ian King Signed-off-by: Eli Billauer --- drivers/char/xillybus/xillybus_core.c |4 ++-- 1 files changed, 2 insertions

Re: [PATCH V3] clocksource/drivers/arc: Convert init function to return error

2016-06-24 Thread Vineet Gupta
On Friday 24 June 2016 12:11 PM, Daniel Lezcano wrote: > Do you agree to move the driver to drivers/clocksource, so we can add the > COMPILE_TEST option ? Sure, this will require some common header adjustments etc. After the current fire-drill I'm pulled into ATM, I'll work on it next week'ish !

Re: [PATCH 00/27] Move LRU page reclaim from zones to nodes v7

2016-06-24 Thread Mel Gorman
On Fri, Jun 24, 2016 at 04:35:45PM +1000, Balbir Singh wrote: > > 1. The residency of a page partially depends on what zone the page was > >allocated from. This is partially combatted by the fair zone allocation > >policy but that is a partial solution that introduces overhead in the > >

Re: [PATCH 0/3] nvme: Don't add namespaces for locked drives

2016-06-24 Thread Jethro Beekman
On 24-06-16 00:37, Christoph Hellwig wrote: > On Sun, Jun 19, 2016 at 04:06:31PM -0700, Jethro Beekman wrote: >> Hi all, >> >> If an NVMe drive is locked with ATA Security, most commands sent to the >> drive >> will fail. This includes commands sent by the kernel upon discovery to probe >> for p

Re: Kernel 4.7rc3 - Performance drop 30-40% for SPECjbb2005 and SPECjvm2008 benchmarks against 4.6 kernel

2016-06-24 Thread Jirka Hladky
Hi Peter, thanks a lot for looking into it! I have tried to disable autogroups sysctl -w kernel.sched_autogroup_enabled=0 and I can confirm that performance is then back at level as in 4.6 kernel. I have double checked default settings and kernel.sched_autogroup_enabled is by default ON both

Re: [PATCH 0/3] nvme: Don't add namespaces for locked drives

2016-06-24 Thread Christoph Hellwig
On Mon, Jun 20, 2016 at 08:50:33PM -0700, Jethro Beekman wrote: > >> You're right, I assumed that admin commands can't have namespace ids, but > >> looking at the spec, that's not the case. Turns out there's a problem with > >> the > >> driver then: nvme_ioctl never includes the ns for NVME_IOCTL_

[PATCH] ARM: at91/dt: sama5d2_xplained: Update the pmic node

2016-06-24 Thread Wenyou Yang
Due to introducing the new driver - ACT8945A MFD drive, change the pmic device node to align with the ACT8945A regulator and charger drivers. Signed-off-by: Wenyou Yang --- arch/arm/boot/dts/at91-sama5d2_xplained.dts | 41 ++--- 1 file changed, 32 insertions(+), 9 deleti

[PATCH] mmc: dw_mmc: fix unmap sg twice when finding data err

2016-06-24 Thread Shawn Lin
DATA_OVER(the same for RI/TI of IDMAC) interrupt may come up together with data error interrupts. If so, the interrupt routine set EVENT_DATA_ERR to the pending_events and schedule the tasklet but we may still fallback to the IDMAC interrupt case as the tasklet may come up a little late, namely rig

Re: [REPOST, PATCH] builddeb: really include objtool binary in headers package

2016-06-24 Thread Bjørn Mork
Wilfried Klaebe writes: > On May 4th, Bjørn Mork provided patch > 697bbc7b832048d3a679cd55caf2268a325efbe0 to include objtool binaries in > the headers package. However, that one only works if $srctree=$objtree, > because the objtool binaries are not written to the srctree, but > to the objtree.

Re: [PATCH 0/3] nvme: Don't add namespaces for locked drives

2016-06-24 Thread Christoph Hellwig
On Sun, Jun 19, 2016 at 04:06:31PM -0700, Jethro Beekman wrote: > Hi all, > > If an NVMe drive is locked with ATA Security, most commands sent to the drive > will fail. This includes commands sent by the kernel upon discovery to probe > for partitions. The failing happens in such a way that tryi

[PATCH] ARM: at91/defconfig: Add ACT8945A driver

2016-06-24 Thread Wenyou Yang
Include ACT8945A mfd, regulator and power drivers. Signed-off-by: Wenyou Yang --- arch/arm/configs/sama5_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig index 9cb1a85..aca8625 100644 --- a/arch/arm/configs/sama

Re: [PATCH v5 2/2] [media] atmel-isc: DT binding for Image Sensor Controller driver

2016-06-24 Thread Boris Brezillon
On Fri, 24 Jun 2016 13:54:09 +0800 "Wu, Songjun" wrote: > Hi Rob, > > Thank you for your comments. > > On 6/20/2016 21:25, Rob Herring wrote: > > On Fri, Jun 17, 2016 at 04:57:14PM +0800, Songjun Wu wrote: > >> DT binding documentation for ISC driver. > >> > >> Signed-off-by: Songjun Wu > >>

[PATCH 7/7] doc: bindings: act8945a-charger: Update properties

2016-06-24 Thread Wenyou Yang
Due the driver improvements, update the properties, - Remove "active-semi,check-battery-temperature" property. - Add the properties, "active-semi,irq_gpio" and "active-semi,lbo-gpios". Signed-off-by: Wenyou Yang --- Documentation/devicetree/bindings/power/act8945a-charger.txt | 6 -- 1

[PATCH 6/7] power: act8945a_charger: Add max current property

2016-06-24 Thread Wenyou Yang
Add the power supply's current max property, POWER_SUPPLY_PROP_CURRENT_MAX. Signed-off-by: Wenyou Yang --- drivers/power/act8945a_charger.c | 79 +++- 1 file changed, 77 insertions(+), 2 deletions(-) diff --git a/drivers/power/act8945a_charger.c b/drivers/po

[PATCH 5/7] power: act8945a_charger: Add capacity level property

2016-06-24 Thread Wenyou Yang
Add the power supply capacity level property, it corresponds to POWER_SUPPLY_CAPACITY_LEVEL_*. It also utilizes the precision voltage detector function module to catch the low battery voltage. Signed-off-by: Wenyou Yang --- drivers/power/act8945a_charger.c | 78

[PATCH 4/7] power: act8945a_charger: Fix the power supply type

2016-06-24 Thread Wenyou Yang
The power supply type property is varying as the external power supply changes. It is not a constant. Signed-off-by: Wenyou Yang --- drivers/power/act8945a_charger.c | 48 1 file changed, 39 insertions(+), 9 deletions(-) diff --git a/drivers/power/act89

[PATCH 3/7] power: act8945a_charger: Add status change update support

2016-06-24 Thread Wenyou Yang
Add the charger status change interrupt support, it will report the power supply changed event. This interrupt is generated by one of the conditions as below: - the state machine jumps out of or into the EOC state - the CHGIN input voltage goes out of or into the valid range. - the battery temp

[PATCH 2/7] power: act8945a_charger: Improve

2016-06-24 Thread Wenyou Yang
When get the property, first check the charger state machine, then check the status bit to decide what value is assigned to the corresponding property. Retain the SUSCHG bit of REG 0x71 when configure the timers to avoid losting the charger suspending info after boot. Signed-off-by: Wenyou Yang

[PATCH] USB: dwc2-usb: add USB_GADGET dependency

2016-06-24 Thread Arnd Bergmann
The driver selects NOP_USB_XCEIV, which can only be built-in if USB_GADGET is either disabled or also built-in, so with USB_DWC2_PCI=y and USB_GADGET=m, NOP_USB_XCEIV is also built-in and we get this link error: drivers/usb/built-in.o: In function `nop_set_peripheral': (text+0x1927c): undefined re

[PATCH 1/7] power: act8945a_charger: Remove "battery_temperature"

2016-06-24 Thread Wenyou Yang
Remove "battery_temperature" member, it is redundant, it is the hardware's responsibility to handle TH pin properly. It is unnecessary to use the dt property to check if there is a battery temperature monitor or not. Signed-off-by: Wenyou Yang --- drivers/power/act8945a_charger.c | 12 +++--

[PATCH 0/7] power: act8945a_charger: Improvements

2016-06-24 Thread Wenyou Yang
This patch series is used to improve the act8945a-charger, such as improve the way to check the status, fix the power supply type property, add the status change update, and add more properties: capacity level property and max current property. Wenyou Yang (7): power: act8945a_charger: Remove "

[GIT PULL] drm/mediatek: MT8173 gamma & dither support

2016-06-24 Thread Bibby Hsieh
Hi Dave, Please consider merging this tag, which contains the v2 MT8173 gamma & dither function patches I sent on 2016-06-17, rebased onto v4.7-rc1. There have been no further comments. Thanks Bibby The following changes since commit 1a695a905c18548062509178b98bc91e67510864: Linux 4.7-rc1 (

Re: [PATCH v8 4/4] Input: synaptics-rmi4 - add SMBus support

2016-06-24 Thread Benjamin Tissoires
On Jun 23 2016 or thereabouts, Dmitry Torokhov wrote: > Hi Benjamin, > > On Thu, Jun 09, 2016 at 04:53:50PM +0200, Benjamin Tissoires wrote: > > + > > +struct mapping_table_entry { > > + u16 rmiaddr; > > Should be __le16 rmiaddr, otherwise: > > CHECK drivers/input/rmi4/rmi_smbus.c > driver

Re: [PATCH v4 01/16] bluetooth: Switch SMP to crypto_cipher_encrypt_one()

2016-06-24 Thread Johan Hedberg
On Thu, Jun 23, 2016, Andy Lutomirski wrote: > SMP does ECB crypto on stack buffers. This is complicated and > fragile, and it will not work if the stack is virtually allocated. > > Switch to the crypto_cipher interface, which is simpler and safer. > > Cc: Marcel Holtmann > Cc: Gustavo Padovan

Re: [RFC 00/12] lockdep: Implement crossrelease feature

2016-06-24 Thread Peter Zijlstra
On Fri, Jun 24, 2016 at 08:37:13AM +0900, Byungchul Park wrote: > On Mon, Jun 20, 2016 at 01:55:15PM +0900, Byungchul Park wrote: > > Hello, > > I have a plan to resend this patchset after reinforcement of > documentation. However I am wondering what you think about the > main concept of this.

Re: mmc: dw_mmc: warning with CONFIG_DMA_API_DEBUG

2016-06-24 Thread Shawn Lin
在 2016/6/24 12:30, Jaehoon Chung 写道: On 06/24/2016 10:25 AM, Shawn Lin wrote: Hi Jaehoon, On 2016/6/23 19:39, Jaehoon Chung wrote: Hi Shawn, On 06/21/2016 04:39 PM, Shawn Lin wrote: 在 2016/6/21 13:32, Jaehoon Chung 写道: Hi guys, On 06/21/2016 11:31 AM, Shawn Lin wrote: On 2016/6/21 10:24,

Re: [PATCH 5/6] perf ctf: Add '--all' option for 'perf data convert'

2016-06-24 Thread Jiri Olsa
On Thu, Jun 23, 2016 at 09:16:22AM +, Wang Nan wrote: > After this patch, 'perf data convert' convert comm events to output > CTF stream. > > Result: > > # perf record -a sleep 1 > [ perf record: Woken up 1 times to write data ] > [ perf record: Captured and wrote 0.771 MB perf.data (79 sa

Re: [PATCH 4/6] perf ctf: Generate comm event to CTF output

2016-06-24 Thread Jiri Olsa
On Thu, Jun 23, 2016 at 09:16:21AM +, Wang Nan wrote: > If non_sample is selected, convert comm event to output CTF stream. > > setup_non_sample_events() is called if non_sample is selected. It creates > a comm_class for comm event. > > Use macros to generate and process_comm_event and add_co

Re: [PATCH v9 06/12] kthread: Add kthread_drain_worker()

2016-06-24 Thread Peter Zijlstra
On Thu, Jun 23, 2016 at 05:32:58PM -0400, Tejun Heo wrote: > Hello, > > On Wed, Jun 22, 2016 at 10:54:45PM +0200, Peter Zijlstra wrote: > > > + * The caller is responsible for blocking all users of this kthread > > > + * worker from queuing new works. Also it is responsible for blocking > > > + *

<    2   3   4   5   6   7