[PATCH 16/19] perf hists browser: Check sort keys before hot key actions

2016-03-10 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The context menu in TUI hists browser checks corresponding sort keys when creating the menu item. But hotkey actions lacks these checks so it can filter using incorrect info. For example, default sort key of 'perf top' doesn't contain 'comm' or 'pid' sort key so each hist ent

[PATCH 10/19] perf tools: Remove hist_entry->fmt field

2016-03-10 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim It's not used anymore and the output format is accessed by the hpp_list pointer instead when hierarchy is enabled. Let's get rid of it. Signed-off-by: Namhyung Kim Tested-by: Jiri Olsa Cc: Andi Kleen Cc: David Ahern Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Wang Nan

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

2016-03-10 Thread Arnaldo Carvalho de Melo
://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-20160310 for you to fetch changes up to 206cab651d07563d766c7f4cb73f858c5df3dec5: perf stat: Add --metric-only support for -A (2016-03-10 16:50:47 -0300

[PATCH 01/19] perf jitdump: DWARF is also needed

2016-03-10 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo While building on a Docker container for ubuntu and installing package by package one ends up with: MKDIR/tmp/build/util/ CC /tmp/build/util/genelf.o util/genelf.c:22:19: fatal error: dwarf.h: No such file or directory #include

Re: [PATCH] livepatch: Add some basic LivePatch documentation

2016-03-10 Thread Josh Poimboeuf
On Wed, Mar 09, 2016 at 03:01:46PM +0100, Petr Mladek wrote: > LivePatch framework deserves some documentation, definitely. > This is an attempt to provide some basic info. I hope that > it will be useful for both LivePatch producers and also > potential developers of the framework itself. > > Sig

Re: runtime regression with "x86/mm/pat: Emulate PAT when it is disabled"

2016-03-10 Thread Borislav Petkov
On Thu, Mar 10, 2016 at 01:24:11PM -0700, Toshi Kani wrote: > I am not familiar with PPRO_FEATURES, That's the feature bits of the "qemu32" model, and others, in qemu. > but shouldn't 'flags' in /proc/cpuinfo show "pat" when X86_FEATURE_PAT is set? static void early_init_intel(struct cpuinfo_x86

[PATCH 03/19] perf tools: Pass perf_hpp_list all the way through setup_sort_list

2016-03-10 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Pass perf_hpp_list all the way through setup_sort_list so that the sort entry can be added on the arbitrary list. Signed-off-by: Jiri Olsa Acked-by: Namhyung Kim Cc: David Ahern Cc: Jiri Olsa Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/20160309100417.ga30...@krava.redh

[PATCH 19/19] perf stat: Add --metric-only support for -A

2016-03-10 Thread Arnaldo Carvalho de Melo
From: Andi Kleen Add metric only support for -A too. This requires a new print function that prints the metrics in the right order. v2: Fix manpage v3: Simplify nrcpus computation Signed-off-by: Andi Kleen Acked-by: Jiri Olsa Link: http://lkml.kernel.org/r/1457049458-28956-7-git-send-email-a

Re: [PATCH] cpu-= command line parmeter, SYS_cpuid sys call, kernel-adjusted CPUID

2016-03-10 Thread kbuild test robot
Hi Piotr, [auto build test WARNING on next-20160310] [cannot apply to tip/x86/core v4.5-rc7 v4.5-rc6 v4.5-rc5 v4.5-rc7] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Piotr-Henryk-Dabrowski

[PATCH 17/19] perf stat: Document CSV format in manpage

2016-03-10 Thread Arnaldo Carvalho de Melo
From: Andi Kleen With all the recently added fields in the perf stat CSV output we should finally document them in the man page. Do this here. v2: Fix fields in documentation (Jiri) v3: fix order of fields again (Jiri) v4: Change order again. v5: Document more fields (Jiri) v6: Move time stamp f

Re: [PATCH net-next] net: dsa: mv88e6xxx: rework port state setter

2016-03-10 Thread David Miller
From: Vivien Didelot Date: Mon, 7 Mar 2016 18:24:17 -0500 > Apply a few non-functional changes on the port state setter: > > * add a dynamic debug message with state names to track changes > * explicit states checking instead of assuming their numeric values > * lock mutex only once when

Re: [PATCH net-next] net: dsa: mv88e6xxx: read then write PVID

2016-03-10 Thread David Miller
From: Vivien Didelot Date: Mon, 7 Mar 2016 18:24:39 -0500 > The port register 0x07 contains more options than just the default VID, > even though they are not used yet. So prefer a read then write operation > over a direct write. > > This also allows to keep track of the change through dynamic

Re: [PATCH net-next] net: dsa: mv88e6xxx: avoid writing the same mode

2016-03-10 Thread David Miller
From: Vivien Didelot Date: Mon, 7 Mar 2016 18:24:52 -0500 > There is no need to change the 802.1Q port mode for the same value. > Thus avoid such message: > > [ 401.954836] dsa dsa@0 lan0: 802.1Q Mode: Disabled (was Disabled) > > Signed-off-by: Vivien Didelot Applied.

Re: [PATCH] include/net/inet_connection_sock.h: Use pr_devel() instead of pr_debug()

2016-03-10 Thread David Miller
From: Nick Wang Date: Tue, 8 Mar 2016 13:52:28 +0800 > File "inet_connection_sock.h" is a common share header that not can > be use for one module, so use pr_devel instead of pr_debug is OK. Not really, we only want these printks to do anything only when debug printk's are enabled. We don't w

Re: [PATCH net] r8169:Remove unnecessary phy reset for pcie nic when setting link spped.

2016-03-10 Thread David Miller
From: Chunhao Lin Date: Tue, 8 Mar 2016 16:51:05 +0800 > For pcie nic, after setting link speed and thers is no link driver does not > need > to do phy reset untill link up. "there's", "until" > For some pcie nics, to do this will also reset phy speed down counter and > prevent > phy from au

Re: [PATCH 15/18] ARM: vf610: PM: initial suspend/resume support

2016-03-10 Thread kbuild test robot
Hi Stefan, [auto build test ERROR on shawnguo/for-next] [also build test ERROR on v4.5-rc7] [cannot apply to next-20160310] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Stefan-Agner/ARM

Re: [PATCH] net: dsa: Fix cleanup resources upon module removal

2016-03-10 Thread David Miller
From: Neil Armstrong Date: Tue, 8 Mar 2016 10:36:20 +0100 > The initial commit badly merged into the dsa_resume method instead > of the dsa_remove_dst method. > As consequence, the dst->master_netdev->dsa_ptr is not set to NULL on > removal and re-bind of the dsa device fails with error -17. >

Re: [PATCH V5 0/4] net-next: mediatek: add ethernet driver

2016-03-10 Thread David Miller
From: John Crispin Date: Tue, 8 Mar 2016 11:29:53 +0100 > This series adds support for the Mediatek ethernet core found on current ARM > based SoCs. The driver works on MT2701 and MT7623 SoCs > > Instead of trying to upstream everything at once I decided to concentrate on > the important parts

[PATCH v2] x86/cpufeatures.h: Enumerate A Few New AVX-512 Features

2016-03-10 Thread Fenghua Yu
From: Fenghua Yu A few new AVX-512 instruction groups/features are added in cpufeatures.h for enuermation: AVX512DQ, AVX512BW, and AVX512VL. The specification for latest AVX-512 including the features can be found at https://software.intel.com/sites/default/files/managed/07/b7/319433-023.pdf Si

Re: [PATCH] mm: memcontrol: clarify the uncharge_list() loop

2016-03-10 Thread Andrew Morton
LGTM. It's very late in the cycle so I'll queue all three for 4.6-rc1 and I tagged the first two patches (not this one) for -stable backporting.

Re: [PATCH v2] x86/cpufeatures.h: Enumerate A Few New AVX-512 Features

2016-03-10 Thread Dave Hansen
On 03/10/2016 04:23 PM, Fenghua Yu wrote: > A few new AVX-512 instruction groups/features are added in cpufeatures.h > for enuermation: AVX512DQ, AVX512BW, and AVX512VL. > > The specification for latest AVX-512 including the features can be found at > https://software.intel.com/sites/default/files

Re: [PATCH] Documentation: Howto: Fixed subtitles style

2016-03-10 Thread Philippe Loctaux
On Wed, Mar 09, 2016 at 03:30:15PM -0700, Jonathan Corbet wrote: > Applied to the docs tree, thanks. Where can I find the docs tree on kernel.org? Thanks -- Philippe Loctaux

Re: [PATCH 1/5] workqueue: wq_pool_mutex protects the attrs-installation

2016-03-10 Thread Steven Rostedt
This patch was recently backported to 4.1.19, and when I merged it with -rt, the following bug triggered: === [ INFO: suspicious RCU usage. ] 4.1.19-test-rt22+ #1 Not tainted --- /work/rt/stable-rt.git/kernel/workqueue.c:608 sched RCU, wq->mu

[PATCH v2 2/2] reset: add a SYSCON based reset driver

2016-03-10 Thread Andrew F. Davis
Add a reset-controller driver for performing reset management of various devices present on the SoC, with the reset registers shared between devices in a common register memory space. This driver uses the syscon/regmap frameworks to actually implement the various reset functionalities needed by the

Re: [PATCH 2/2] block: create ioctl to discard-or-zeroout a range of blocks

2016-03-10 Thread Theodore Ts'o
On Thu, Mar 10, 2016 at 10:33:49AM -0800, Linus Torvalds wrote: > On Thu, Mar 10, 2016 at 6:58 AM, Ric Wheeler wrote: > > > > What was objectionable at the time this patch was raised years back (not > > just to me, but to pretty much every fs developer at LSF/MM that year) > > centered on the conc

[PATCH v2 1/2] Documentation: dt: reset: Add syscon reset binding

2016-03-10 Thread Andrew F. Davis
Add syscon reset controller binding. This will hook to the reset framework and use syscon/regmap to set reset bits. This allows reset control of individual SoC subsytems and devices with memory-mapped reset registers in a common register memory space. Signed-off-by: Andrew F. Davis [s-a...@ti.com

[PATCH v2 0/2] Add support for SYSCON reset

2016-03-10 Thread Andrew F. Davis
Some SoCs contain reset controls for modules that are memory-mapped to areas shared with other module configuration settings. This requires synchronization across all drivers accessing this memory area. This series adds a generic SYSCON reset driver to allow resets toggled by bits in memory-mapped

Re: [patch] sbp-target: checking for NULL instead of IS_ERR

2016-03-10 Thread Chris Boot
On 10/03/16 20:56, Chris Boot wrote: > On 05/03/16 09:33, Nicholas A. Bellinger wrote: >> On Sat, 2016-03-05 at 08:45 +, Chris Boot wrote: >>> Are these in linux-next or another branch somewhere I can easily clone >>> them from? >> >> The patch series is in target-pending/for-next. > > Hi Nic,

Re: [PATCH 1/3] dm9601: enable EP3 interrupt

2016-03-10 Thread Peter Korsgaard
> "Joseph" == Joseph CHANG writes: > Enable chip's EP3 interrupt to get the link-up notify soon > immediately. Sorry, what do you mean about 'soon immediately'? > + > +/* Always return 8-bytes data to host per interrupt-interval */ > +dm_write_reg(dev, DM_USB_CT

Re: [PATCH v5 1/8] debugfs: prevent access to possibly dead file_operations at file open

2016-03-10 Thread Rasmus Villemoes
On Sun, Mar 06 2016, Nicolai Stange wrote: > + * > + * Allow any ongoing concurrent call into debugfs_remove() or > + * debugfs_remove_recursive() blocked by a former call to > + * debugfs_use_file_start() to proceed and return to its caller. > + */ > +static void debugfs_use_file_finish(int srcu

Re: [PATCH] ACPICA / Interpreter: Fix a regression triggered because of wrong Linux ECDT support

2016-03-10 Thread Rafael J. Wysocki
On Thursday, March 10, 2016 10:54:29 AM Lv Zheng wrote: > It is reported that the following commit triggers regressions: > Linux commit: efaed9be998b5ae0afb7458e057e5f4402b43fa0 > ACPICA commit: 31178590dde82368fdb0f6b0e466b6c0add96c57 > Subject: ACPICA: Events: Enhance acpi_ev_execute_reg_metho

[PATCH] x86, pkeys: fix mismerge of protection keys CPUID bits

2016-03-10 Thread Dave Hansen
From: Dave Hansen Kirill Shutemov pointed this out to me. The tip tree currently has commit: dfb4a70f2 [x86/cpufeature, x86/mm/pkeys: Add protection keys related CPUID definitions] whioch added support for two new CPUID bits: X86_FEATURE_PKU and X86_FEATURE_OSPKE. But, those bits we

Re: [PATCH v6 08/11] tpm: Driver for supporting multiple emulated TPMs

2016-03-10 Thread Jason Gunthorpe
On Thu, Mar 10, 2016 at 06:39:15PM +0200, Jarkko Sakkinen wrote: > Some might want to use this in a way that the created virtual device > is not closed when /dev/vtpmx is closed. No, there is no reason to create an API like that - TPM's are stateful, one cannot close the server side and re-connect

Re: [PATCH] cpufreq: Make cpufreq_quick_get() safe to call.

2016-03-10 Thread Rafael J. Wysocki
On Thursday, March 10, 2016 04:10:36 PM Richard Cochran wrote: > The function, cpufreq_quick_get, accesses the global 'cpufreq_driver' and > its fields without taking the associated lock, cpufreq_driver_lock. > > Without the locking, nothing guarantees that 'cpufreq_driver' remains > consistent du

Re: [PATCH] mm: memcontrol: clarify the uncharge_list() loop

2016-03-10 Thread Johannes Weiner
On Thu, Mar 10, 2016 at 01:30:34PM -0800, Andrew Morton wrote: > > LGTM. It's very late in the cycle so I'll queue all three for 4.6-rc1 > and I tagged the first two patches (not this one) for -stable > backporting. Sounds good, thank you.

Re: runtime regression with "x86/mm/pat: Emulate PAT when it is disabled"

2016-03-10 Thread Toshi Kani
On Thu, 2016-03-10 at 22:07 +0100, Borislav Petkov wrote: > On Thu, Mar 10, 2016 at 01:24:11PM -0700, Toshi Kani wrote: > > I am not familiar with PPRO_FEATURES, > > That's the feature bits of the "qemu32" model, and others, in qemu. > > > but shouldn't 'flags' in /proc/cpuinfo show "pat" when X8

Re: [PATCH 6/6] cpufreq: schedutil: New governor based on scheduler utilization data

2016-03-10 Thread Rafael J. Wysocki
On Thursday, March 10, 2016 11:56:14 AM Peter Zijlstra wrote: > On Thu, Mar 10, 2016 at 11:30:08AM +0100, Peter Zijlstra wrote: > > On Thu, Mar 10, 2016 at 05:23:54PM +0700, Vincent Guittot wrote: > > > > > > No, since its a compile time thing, we can simply do: > > > > > > > > #ifdef arch_scale_f

Re: [PATCH] cpu-= command line parmeter, SYS_cpuid sys call, kernel-adjusted CPUID

2016-03-10 Thread kbuild test robot
Hi Piotr, [auto build test ERROR on next-20160310] [cannot apply to tip/x86/core v4.5-rc7 v4.5-rc6 v4.5-rc5 v4.5-rc7] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Piotr-Henryk-Dabrowski/cpu

Re: [PATCH resend] linux/compiler.h: fix stale comment on {READ,WRITE}_ONCE

2016-03-10 Thread Andrew Morton
On Thu, 10 Mar 2016 01:16:57 +0100 Rasmus Villemoes wrote: > Commit 7bd3e239d6c6 ("locking: Remove atomicy checks from > {READ,WRITE}_ONCE") removed said warning. > > Acked-by: Christian Borntraeger > Signed-off-by: Rasmus Villemoes > --- > Andrew, can you pick this up please? > > include/l

Re: [PATCH] rtc: hym8563: fix invalid year calculation

2016-03-10 Thread Alexandre Belloni
On 06/03/2016 at 12:43:57 +0300, Alexander Kochetkov wrote : > Year field must be in BCD format, according to > hym8563 datasheet. > > Due to the bug year 2016 became 2010. > > Signed-off-by: Alexander Kochetkov > --- > drivers/rtc/rtc-hym8563.c |2 +- > 1 file changed, 1 insertion(+), 1 de

Re: [PATCH 1/3] modules: split part of complete_formation() into prepare_coming_module()

2016-03-10 Thread Josh Poimboeuf
On Wed, Mar 09, 2016 at 05:13:55PM -0500, Jessica Yu wrote: > Put all actions in complete_formation() that are performed after > module->state is set to MODULE_STATE_COMING into a separate function > prepare_coming_module(). This split prepares for the removal of the > livepatch module notifiers in

[PATCH] intel_pstate: Do not skip samples partially

2016-03-10 Thread Rafael J. Wysocki
From: Rafael J. Wysocki If the current value of MPERF or the current value of TSC is the same as the previous one, respectively, intel_pstate_sample() bails out early and skips the sample. However, intel_pstate_adjust_busy_pstate() is still called in that case which is not correct, so modify int

Re: [PATCH 3/3] livepatch/module: remove livepatch module notifier

2016-03-10 Thread Josh Poimboeuf
On Wed, Mar 09, 2016 at 05:13:57PM -0500, Jessica Yu wrote: > Remove the livepatch module notifier in favor of directly enabling and > disabling patches to modules in the module loader. Hard-coding the > function calls ensures that ftrace_module_enable() is run before > klp_module_coming() during m

Re: [PATCH] i2c: designware: Add device HID for future AMD I2C controller

2016-03-10 Thread Rafael J. Wysocki
On Thursday, March 10, 2016 10:32:04 AM Jarkko Nikula wrote: > On 03/10/2016 01:34 PM, Xiangliang Yu wrote: > > Add device HID AMDI0010 to match the AMD ACPI Vendor ID (AMDI) that > > was registered in http://www.uefi.org/acpi_id_list, and the I2C > > controller on future AMD paltform will use the

Re: [PATCH 4/6] x86/mbm: Memory bandwidth monitoring event management

2016-03-10 Thread Vikas Shivappa
On Tue, 8 Mar 2016, Peter Zijlstra wrote: On Mon, Mar 07, 2016 at 11:27:26PM +, Luck, Tony wrote: + bytes = mbm_current->interval_bytes * MSEC_PER_SEC; + do_div(bytes, diff_time); + mbm_current->bandwidth = bytes; + mbm_current->inte

Re: [PATCH] rtc: ds1685: actually spin forever in poweroff error path

2016-03-10 Thread Alexandre Belloni
On 07/03/2016 at 09:03:02 -0600, Josh Poimboeuf wrote : > objtool reports the following warnings: > > drivers/rtc/rtc-ds1685.o: warning: objtool: ds1685_rtc_work_queue()+0x0: > duplicate frame pointer save > drivers/rtc/rtc-ds1685.o: warning: objtool: ds1685_rtc_work_queue()+0x3: > duplicate

Re: [PATCH 4/6] x86/mbm: Memory bandwidth monitoring event management

2016-03-10 Thread Vikas Shivappa
On Mon, 7 Mar 2016, Peter Zijlstra wrote: On Tue, Mar 01, 2016 at 03:48:26PM -0800, Vikas Shivappa wrote: Lot of the scheduling code was taken out from Tony's patch and a 3-4 lines of change were added in the intel_cqm_event_read. Since the timer is no more added on every context switch this

Re: [PATCH v2 0/2] ACPI, APEI: Memory leaks

2016-03-10 Thread Rafael J. Wysocki
On Tuesday, March 08, 2016 10:52:10 AM Joshua Hunt wrote: > While investigating a possible memory leak using kmemleak I came across the > following five leaks coming from APEI and ERST: > > unreferenced object 0x880402b6ee80 (size 32): > comm "swapper/0", pid 1, jiffies 4294669373 (age 318.1

Re: [PATCH] intel_pstate: Do not skip samples partially

2016-03-10 Thread Srinivas Pandruvada
On Thu, 2016-03-10 at 23:45 +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > If the current value of MPERF or the current value of TSC is the > same as the previous one, respectively, intel_pstate_sample() bails > out early and skips the sample. > > However, intel_pstate_adjust_busy

RE: [PATCH v2 0/2] ACPI, APEI: Memory leaks

2016-03-10 Thread Luck, Tony
>> drivers/acpi/apei/apei-base.c |6 -- >> drivers/acpi/apei/erst.c |3 +++ >> 2 files changed, 7 insertions(+), 2 deletions(-) > > Tony, Boris, should I apply these? Rafael, Yes please. -Tony

Re: [patch] sbp-target: checking for NULL instead of IS_ERR

2016-03-10 Thread Chris Boot
On 10/03/16 21:52, Chris Boot wrote: > On 10/03/16 20:56, Chris Boot wrote: >> On 05/03/16 09:33, Nicholas A. Bellinger wrote: >>> On Sat, 2016-03-05 at 08:45 +, Chris Boot wrote: Are these in linux-next or another branch somewhere I can easily clone them from? >>> >>> The patch serie

Re: [PATCH v3 6/8] arm64: dts: rockchip: Add power key to GeekBox

2016-03-10 Thread Julien Chauveau
> Le 6 mars 2016 à 20:53, Andreas Färber a écrit : > > Signed-off-by: Andreas Färber > --- > v2 -> v3: > * Adopted wakeup-source instead of gpio-key,wakeup (Julien) > * Dropped gpio-keys #address-cells and #size-cells properties (Julien) > * Dropped power button reg property (Julien) > * Adopte

[ANNOUNCE] Git v2.8.0-rc2

2016-03-10 Thread Junio C Hamano
A release candidate Git v2.8.0-rc2 is now available for testing at the usual places. It is comprised of 459 non-merge commits since v2.7.0, contributed by 60 people, 19 of which are new faces. The tarballs are found at: https://www.kernel.org/pub/software/scm/git/testing/ The following publ

[ANNOUNCE] Git v2.7.3

2016-03-10 Thread Junio C Hamano
The latest maintenance release Git v2.7.3 is now available at the usual places. This is primarily to sync the maintenance track with miscellaneous fixes that are scheduled to be part of upcoming v2.8.0 release. The tarballs are found at: https://www.kernel.org/pub/software/scm/git/ The foll

Re: [PATCH RESEND] Documentation: devicetree: Clean up gpio-keys example

2016-03-10 Thread Julien Chauveau
> Le 8 mars 2016 à 11:16, Andreas Färber a écrit : > > Am 08.03.2016 um 10:41 schrieb Julien Chauveau: >> Le 8 mars 2016 à 09:54, Geert Uytterhoeven a écrit : >>> On Mon, Mar 7, 2016 at 7:24 PM, Andreas Färber wrote: Drop #address-cells and #size-cells, which are not required by the

Re: [PATCH RESEND] Documentation: devicetree: Clean up gpio-keys example

2016-03-10 Thread Julien Chauveau
> Le 8 mars 2016 à 11:09, Andreas Färber a écrit : > > Am 08.03.2016 um 09:54 schrieb Geert Uytterhoeven: >> On Mon, Mar 7, 2016 at 7:24 PM, Andreas Färber wrote: >>> Drop #address-cells and #size-cells, which are not required by the >>> gpio-keys binding documentation, as button sub-nodes are

Re: [PATCH v3 6/8] arm64: dts: rockchip: Add power key to GeekBox

2016-03-10 Thread Julien Chauveau
> Le 6 mars 2016 à 20:53, Andreas Färber a écrit : > > Signed-off-by: Andreas Färber > --- > v2 -> v3: > * Adopted wakeup-source instead of gpio-key,wakeup (Julien) > * Dropped gpio-keys #address-cells and #size-cells properties (Julien) > * Dropped power button reg property (Julien) > * Adopte

Re: [PATCH v2 0/2] ACPI, APEI: Memory leaks

2016-03-10 Thread Rafael J. Wysocki
On Thursday, March 10, 2016 10:55:56 PM Luck, Tony wrote: > >> drivers/acpi/apei/apei-base.c |6 -- > >> drivers/acpi/apei/erst.c |3 +++ > >> 2 files changed, 7 insertions(+), 2 deletions(-) > > > > Tony, Boris, should I apply these? > > Rafael, > > Yes please. OK, applied. T

Re: [PATCH v2] x86/cpufeatures.h: Enumerate A Few New AVX-512 Features

2016-03-10 Thread H. Peter Anvin
On 03/10/2016 01:35 PM, Dave Hansen wrote: > On 03/10/2016 04:23 PM, Fenghua Yu wrote: >> A few new AVX-512 instruction groups/features are added in cpufeatures.h >> for enuermation: AVX512DQ, AVX512BW, and AVX512VL. >> >> The specification for latest AVX-512 including the features can be found at

Re: [PATCH 6/6] cpufreq: schedutil: New governor based on scheduler utilization data

2016-03-10 Thread Michael Turquette
Quoting Rafael J. Wysocki (2016-03-09 15:41:34) > On Wed, Mar 9, 2016 at 11:15 AM, Juri Lelli wrote: > > Hi, > > > > sorry if I didn't reply yet. Trying to cope with jetlag and > > talks/meetings these days :-). Let me see if I'm getting what you are > > discussing, though. > > > > On 08/03/16 21:

[PATCH] sparc: Convert naked unsigned uses to unsigned int

2016-03-10 Thread Joe Perches
Use the more normal kernel definition/declaration style. Done via: $ git ls-files arch/sparc | \ xargs ./scripts/checkpatch.pl -f --fix-inplace --types=unspecified_int Signed-off-by: Joe Perches --- Dunno if you want this, I was just testing an updated version of checkpatch. Cross-compiled

Re: [musl] Re: [RFC PATCH] x86/vdso/32: Add AT_SYSINFO cancellation helpers

2016-03-10 Thread Rich Felker
On Thu, Mar 10, 2016 at 07:03:31PM +0100, Ingo Molnar wrote: > > * Rich Felker wrote: > > > > So instead of a sticky cancellation flag, we could introduce a sticky > > > cancellation signal. > > > > > > A 'sticky signal' is not cleared from signal_pending() when the signal > > > handler > >

Re: [PATCH] ACPI / fan: Make struct dev_pm_ops const

2016-03-10 Thread Rafael J. Wysocki
On Wednesday, February 10, 2016 03:23:27 PM Brian Norris wrote: > From: Kaiyen Chang > > Silence the following checkpatch warning: > WARNING: struct dev_pm_ops should normally be const. > > Signed-off-by: Kaiyen Chang > Signed-off-by: Brian Norris Applied, thanks! Rafael

[PATCH 4/6] x86/mbm: Memory bandwidth monitoring event management

2016-03-10 Thread Vikas Shivappa
From: Tony Luck Includes all the core infrastructure to measure the total_bytes and bandwidth. We have per socket counters for both total system wide L3 external bytes and local socket memory-controller bytes. The OS does MSR writes to MSR_IA32_QM_EVTSEL and MSR_IA32_QM_CTR to read the counters

Re: [PATCH] ACPI / utils: remove redundant check if element is NULL

2016-03-10 Thread Rafael J. Wysocki
On Sunday, February 28, 2016 08:31:49 PM Colin King wrote: > From: Colin Ian King > > element is &package->package.elements[i] which can never be NULL > so the check to see if it is NULL is redundant and can be removed. > > Detected with static analysis by CoverityScan > > Signed-off-by: Colin

Re: [RESEND PATCH v5] x86/PCI: Recognize that Interrupt Line 255 means "not connected"

2016-03-10 Thread Rafael J. Wysocki
On Monday, February 15, 2016 12:52:01 PM Chen Fan wrote: > Per the x86-specific footnote to PCI spec r3.0, sec 6.2.4, the value 255 in > the Interrupt Line register means "unknown" or "no connection." > Previously, when we couldn't derive an IRQ from the _PRT, we fell back to > using the value from

Re: [PATCH] acpi/ec: Deny write access unless requested by module param

2016-03-10 Thread Rafael J. Wysocki
On Saturday, February 06, 2016 02:08:08 AM gr...@linuxhacker.ru wrote: > From: Oleg Drokin > > In debugfs it's not enough to just set file mode to read-only to > deny write access to a file, instead just don't provide > the write method unless write access is really requested. > > Signed-off-by:

[PATCH 1/6] x86/perf/intel/cqm: Fix cqm handling of grouping events into a cache_group

2016-03-10 Thread Vikas Shivappa
Currently cqm(cache quality of service monitoring) is grouping all events belonging to same PID to use one RMID. However its not counting all of these different events. Hence we end up with a count of zero for all events other than the group leader. The patch tries to address the issue by keeping a

[PATCH 5/6] x86/mbm: RMID Recycling MBM changes

2016-03-10 Thread Vikas Shivappa
RMID could be allocated or deallocated as part of RMID recycling. When an RMID is allocated for mbm event, the mbm counter needs to be initialized because next time we read the counter we need the previous value to account for total bytes that went to the memory controller. Similarly, when RMID is

[PATCH 6/6] x86/mbm: Add support for MBM counter overflow handling

2016-03-10 Thread Vikas Shivappa
This patch adds a per package timer which periodically updates the Memory bandwidth counters for the events that are currently active. Current patch has a periodic timer every 1s since the SDM guarantees that the counter will not overflow in 1s but this time can be definitely improved by calibratin

[PATCH 3/6] x86/mbm: Intel Memory B/W Monitoring enumeration and init

2016-03-10 Thread Vikas Shivappa
The MBM init patch enumerates the Intel (Memory b/w monitoring)MBM and initializes the perf events and datastructures for monitoring the memory b/w. Its based on original patch series by Tony Luck and Kanaka Juvva. Memory bandwidth monitoring(MBM) provides OS/VMM a way to monitor bandwidth from on

Re: [PATCH] ACPI / video: remove unused device_decode

2016-03-10 Thread Rafael J. Wysocki
On Monday, February 15, 2016 10:40:04 PM Colin King wrote: > From: Colin Ian King > > device_decode is now no longer used, so we may as well remove it. > Fixes gcc 6 warning: > > drivers/acpi/acpi_video.c:221:19: warning: ‘device_decode’ defined > but not used [-Wunused-const-variable] > stati

[PATCH 2/6] x86/perf/intel/cqm: Fix cqm memory leak and notifier leak

2016-03-10 Thread Vikas Shivappa
Fixes the hotcpu notifier leak and other global variable memory leaks during cqm(cache quality of service monitoring) initialization. Reviewed-by: Tony Luck Signed-off-by: Vikas Shivappa --- arch/x86/kernel/cpu/perf_event_intel_cqm.c | 43 ++ 1 file changed, 32 inser

[PATCH V6 0/6] Intel memory b/w monitoring support

2016-03-10 Thread Vikas Shivappa
The patch series has two preparatory patch for cqm and then 4 MBM patches. Patches are based on tip perf/core. Thanks to Thomas and PeterZ for feedback on V5 and have tried to implement feedback in this version. Memory bandwitdh monitoring(MBM) provides OS/VMM a way to monitor bandwidth from one

Re: [PATCH] acpi: pnp: add ACPI_RESOURCE_TYPE_SERIAL_BUS as a valid type

2016-03-10 Thread Rafael J. Wysocki
On Tuesday, March 01, 2016 01:31:45 PM Timur Tabi wrote: > From: Harb Abdulhamid > > An error message is printed for resources of type 19, which is a valid > supported resource type. The Firmware Test Suite tool (fwts) reports > this as a test failure. This change fixes the false test failures

[PATCH] mtd: brcmnand: Add support for v6.2 controllers

2016-03-10 Thread Florian Fainelli
Document and match the brcm,brcmnand-v6.2 compatible string, the controller has a register layout identical to the v6.0 version and supports prefetch. Update the command shift logic to account for v6.2 controller which are the first ones to use a shift of 0 (6.1 used a shift of 24). Signed-off-by

Re: [PATCH 0/2] ACPI / OSL: Improve initrd override mechanism

2016-03-10 Thread Rafael J. Wysocki
On Wednesday, March 02, 2016 02:16:02 PM Lv Zheng wrote: > This patchset improves initrd override mechanism. > > Lv Zheng (2): > ACPI / OSL: Cleanup initrd table override code > ACPI / OSL: Add support to install tables via initrd > > drivers/acpi/internal.h |1 + > drivers/acpi/osl.c

Re: [PATCH v5 01/10] Input: synaptics-rmi4: Add support for Synaptics RMI4 devices

2016-03-10 Thread Dmitry Torokhov
On Wed, Feb 10, 2016 at 02:23:25PM -0800, Andrew Duggan wrote: > Synaptics uses the Register Mapped Interface (RMI) protocol as a > communications interface for their devices. This driver adds the core > functionality needed to interface with RMI4 devices. > > RMI devices can be connected to the h

mmotm 2016-03-10-15-49 uploaded

2016-03-10 Thread akpm
The mm-of-the-moment snapshot 2016-03-10-15-49 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You wi

[PATCH v5 11/14] ext4: Support for PUD-sized transparent huge pages

2016-03-10 Thread Matthew Wilcox
From: Matthew Wilcox ext4 needs to reserve enough space in the journal to allocate a PUD-sized page. Signed-off-by: Matthew Wilcox --- fs/ext4/file.c | 4 1 file changed, 4 insertions(+) diff --git a/fs/ext4/file.c b/fs/ext4/file.c index a2f975e..b966b17 100644 --- a/fs/ext4/file.c +++ b

[PATCH v5 09/14] x86: Add support for PUD-sized transparent hugepages

2016-03-10 Thread Matthew Wilcox
From: Matthew Wilcox The x86-specific code needed to support the PUD uses in the transparent hugepages code. Signed-off-by: Matthew Wilcox --- arch/x86/Kconfig | 1 + arch/x86/include/asm/paravirt.h | 11 +++ arch/x86/include/asm/paravirt_types.h | 2 + arch/x86

Re: [PATCH v3 3/7] usb: mux: add common code for Intel dual role port mux

2016-03-10 Thread Greg Kroah-Hartman
On Thu, Mar 10, 2016 at 01:39:43PM +0100, Oliver Neukum wrote: > On Tue, 2016-03-08 at 15:53 +0800, Lu Baolu wrote: > > > diff --git a/Documentation/ABI/testing/sysfs-bus-platform > > b/Documentation/ABI/testing/sysfs-bus-platform > > index 5172a61..a2261cb 100644 > > --- a/Documentation/ABI/test

[PATCH v5 01/14] mmdebug: Always evaluate the arguments to VM_BUG_ON_*

2016-03-10 Thread Matthew Wilcox
I recently got the order of arguments to VM_BUG_ON_VMA the wrong way around, which was only noticable when compiling with CONFIG_DEBUG_VM. Prevent the next mistake of this kind by making the macros evaluate both their arguments at compile time (this has no effect on the built kernel). Signed-off-b

[PATCH v4 3/7] ARM: dts: am437x: Fix GPMC dma properties

2016-03-10 Thread Franklin S Cooper Jr
This patch updates the GPMC's DT DMA property to reflect the updated eDMA bindings. Fixes: cce1ee000187 ("ARM: DTS: am437x: Use the new DT bindings for the eDMA3") Signed-off-by: Franklin S Cooper Jr --- Version 4 changes: Split into its own commit. Use proper Fixes syntax. arch/arm/boot/dts/a

[PATCH v5 14/14] dax: Use vmf->pgoff in fault handlers

2016-03-10 Thread Matthew Wilcox
Now that the PMD and PUD fault handlers are passed pgoff, there's no need to calculate it themselves. Signed-off-by: Matthew Wilcox --- fs/dax.c | 26 -- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/fs/dax.c b/fs/dax.c index c5d87be..5db3841 100644 ---

[PATCH v4 6/7] mtd: nand: omap2: Fix high memory dma prefetch transfer

2016-03-10 Thread Franklin S Cooper Jr
Based on DMA documentation and testing using high memory buffer when doing dma transfers can lead to various issues including kernel panics. To workaround this simply use cpu copy. The amount of high memory buffers used are very uncommon so no noticeable performance hit should be seen. Signed-off

Re: [RFC 7/7] USB: usbatm: avoid fragile and inefficient snprintf use

2016-03-10 Thread Greg Kroah-Hartman
On Tue, Mar 08, 2016 at 01:01:09PM -0800, Joe Perches wrote: > On Tue, 2016-03-08 at 21:40 +0100, Rasmus Villemoes wrote: > > Passing overlapping source and destination is fragile, and in this > > case we can even simplify the code and avoid the huge stack buffer by > > using the %p extension for p

[PATCH v5 00/14] Support for transparent PUD pages for DAX files

2016-03-10 Thread Matthew Wilcox
We have customer demand to use 1GB pages to map DAX files. Unlike the 2MB page support, the Linux MM does not currently support PUD pages, so I have attempted to add support for the necessary pieces for DAX huge PUD pages. Filesystems still need work to allocate 1GB pages. With ext4, I can only

[PATCH v5 13/14] dax: Remove unnecessary rechecking of i_size

2016-03-10 Thread Matthew Wilcox
When i_mmap_lock (or the page lock) was the only protection against truncate, we checked i_size at the beginning of the fault handler, then rechecked it after acquiring the lock. Since the fliesystems now exclude truncate from racing with the fault handler, we no longer need to recheck i_size. We

[PATCH v4 7/7] ARM: OMAP2+: Update GPMC and NAND DT binding documentation

2016-03-10 Thread Franklin S Cooper Jr
Add additional details to the GPMC NAND documentation to clarify what is needed to enable NAND DMA prefetch. Signed-off-by: Franklin S Cooper Jr --- Documentation/devicetree/bindings/bus/ti-gpmc.txt | 7 ++- Documentation/devicetree/bindings/mtd/gpmc-nand.txt | 2 +- 2 files changed, 7 ins

[PATCH v4 2/7] ARM: dts: am33xx: Fix GPMC dma properties

2016-03-10 Thread Franklin S Cooper Jr
This patch updates the GPMC's DT DMA property to reflect the updated eDMA bindings. Fixes: b5e509066074 ("ARM: DTS: am33xx: Use the new DT bindings for the eDMA3") Signed-off-by: Franklin S Cooper Jr --- Version 4 changes: Split in its own commit. Uses correct syntax for Fixes arch/arm/boot/dt

[PATCH v4 5/7] mtd: nand: omap2: Start dma request before enabling prefetch

2016-03-10 Thread Franklin S Cooper Jr
The prefetch engine sends a dma request once a FIFO threshold has been met. No other requests are received until the previous request is handled. Starting an edma transfer (dma_async_issue_pending) results in any previous event for the dma channel to be cleared. Therefore, starting the prefetch en

[PATCH v4 0/7] mtd: nand: Fix support for NAND DMA prefetch

2016-03-10 Thread Franklin S Cooper Jr
NAND DMA prefetch has been broken for awhile and seems to have only worked for SDMA based devices This patchset fixes DMA prefetch to work on both EDMA and SDMA devices Test on: am335x gp evm am437x gp evm am37x gp evm This rev is pretty much the same as v2 which was blocked due to dependencies

[PATCH v4 4/7] mtd: nand: omap2: Support parsing dma channel information from DT

2016-03-10 Thread Franklin S Cooper Jr
Switch from dma_request_channel to allow passing dma channel information from DT rather than hardcoding a value. Also provide a handle to the GPMC's dev so it can be used to parse the DMA channel information within the GPMC's DT node. Signed-off-by: Franklin S Cooper Jr --- Version 4 changes: Pa

[PATCH v4 1/7] ARM: OMAP2+: gpmc-nand: Set omap2-nand's parent dev to GPMC dev

2016-03-10 Thread Franklin S Cooper Jr
The dma channel information is located within the GPMC node which is the NAND's parent node. The NAND driver requires a handle to the GPMC's dev to properly parse the DMA properties. Therefore, set the NAND's parent dev to the GPMC's dev so it can be referenced within the driver. Signed-off-by: Fr

[PATCH v5 03/14] mm,fs,dax: Change ->pmd_fault to ->huge_fault

2016-03-10 Thread Matthew Wilcox
From: Matthew Wilcox In preparation for adding the ability to handle PUD pages, convert ->pmd_fault to ->huge_fault. huge_fault() takes a vm_fault structure instead of separate (address, pmd, flags) parameters. The vm_fault structure is extended to include a union of the different page table po

[PATCH v5 07/14] x86: Unify native_*_get_and_clear !SMP case

2016-03-10 Thread Matthew Wilcox
x86_32 and x86_64 had diverged slightly in their implementations of the non-SMP cases for native_ptep_get_and_clear() and native_pmdp_get_and_clear(). Unify the non-SMP cases in pgtable.h, leaving only the SMP cases in the other three files. Signed-off-by: Matthew Wilcox --- arch/x86/include/as

[PATCH v5 02/14] mm: Convert an open-coded VM_BUG_ON_VMA

2016-03-10 Thread Matthew Wilcox
From: Matthew Wilcox Spotted during PUD support review. Reported-by: Kirill A. Shutemov Signed-off-by: Matthew Wilcox --- mm/memory.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/mm/memory.c b/mm/memory.c index a975fd4..12fc10e 100644 --- a/mm/memory.c +++ b/m

[PATCH v5 08/14] x86: Fix whitespace issues

2016-03-10 Thread Matthew Wilcox
checkpatch whines about these whitespace issues. No code changes. Signed-off-by: Matthew Wilcox --- arch/x86/include/asm/pgtable-2level.h | 2 +- arch/x86/include/asm/pgtable.h| 10 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/x86/include/asm/pgtable-2

[PATCH v5 10/14] dax: Support for transparent PUD pages

2016-03-10 Thread Matthew Wilcox
From: Matthew Wilcox The DAX support for transparent huge PUD pages Signed-off-by: Matthew Wilcox --- fs/dax.c | 188 +++ 1 file changed, 188 insertions(+) diff --git a/fs/dax.c b/fs/dax.c index ef46bd8..35f0709 100644 --- a/fs/dax.c

<    1   2   3   4   5   6   7   8   >