Re: [RFC PATCH v1 09/28] x86/efi: Access EFI data as encrypted when SEV is active

2016-09-22 Thread Paolo Bonzini
On 22/09/2016 16:59, Borislav Petkov wrote: > On Thu, Sep 22, 2016 at 04:45:51PM +0200, Paolo Bonzini wrote: >> The main difference between the SME and SEV encryption, from the point >> of view of the kernel, is that real-mode always writes unencrypted in >> SME and always writes encrypted in SEV

Re: [PATCH v21 00/20] perf, tools: Add support for PMU events in JSON format

2016-09-22 Thread Jiri Olsa
On Mon, Sep 19, 2016 at 09:28:20PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Sep 19, 2016 at 09:02:58PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Mon, Sep 19, 2016 at 08:37:53PM -0300, Arnaldo Carvalho de Melo escreveu: > > > yeah, changing that typedef + true def to plain include >

Re: [PATCH 1/1] lib/ioremap.c: avoid endless loop under ioremapping page unaligned ranges

2016-09-22 Thread zijun_hu
On 2016/9/22 20:47, Michal Hocko wrote: > On Wed 21-09-16 12:19:53, zijun_hu wrote: >> From: zijun_hu >> >> endless loop maybe happen if either of parameter addr and end is not >> page aligned for kernel API function ioremap_page_range() > > Does this happen in practise or this you found it by re

Re: [PATCH] arm: dts: fix rk3066a based boards vdd_log voltage initialization

2016-09-22 Thread Boris Brezillon
antime, I think we should find a solution for Andy's initial problem. As I said, the problem you're describing (pins muxed to the PWM device when it should actually stay in gpio+input mode) is not new, and the old pwm-regulator and pwm-rockchip implementation (before my atomic PWM changes) were behaving the same way. What is new though, is the pwm_regulator_init_state() function [1], and it seems it's now preventing the probe of a pwm-regulator device if the initial PWM state is not described in the voltage-table. The question is, what should we do? 1/ Force users to put an entry matching this state (which means breaking DT compat) 2/ Put a valid value in drvdata->state even if it's not reflecting the real state 3/ Patch regulator core to support an "unknown-selector" return code. Mark, any opinion? Thanks, Boris [1]https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/drivers/regulator/pwm-regulator.c?id=refs/tags/next-20160922#n60

Re: [PATCH 0/4] reintroduce compaction feedback for OOM decisions

2016-09-22 Thread Vlastimil Babka
On 09/21/2016 07:18 PM, Michal Hocko wrote: > On Tue 06-09-16 15:52:54, Vlastimil Babka wrote: > > We still do not ignore fragindex in the full priority. This part has > always been quite unclear to me so I cannot really tell whether that > makes any difference or not but just to be on the safe si

Re: cifs mount regression in 4.8 and 4.4 stable

2016-09-22 Thread Greg Kroah-Hartman
On Thu, Sep 22, 2016 at 10:09:18AM -0500, Seth Forshee wrote: > We've received reports from users of a cifs mount regression in our > 4.4-based kernel, e.g. [1]. It is fixed by reverting the follwing commit > from 4.8 which was applied to 4.4 stable: > > a6b5058 fs/cifs: make share unaccessible a

Re: "CodingStyle: Clarify and complete chapter 7" in docs-next

2016-09-22 Thread Julia Lawall
> > The main intent of checkpatch these days appears to be providing an easy > > way of thoughtless inflation of commit counts, everything else be damned. > > Make-work, in other words. > > Yes, I've noticed the trend too :-( But that's a problem with the > people using the tool, mostly, not with t

Re: [PATCH net-next v2 3/3] net: ethernet: mediatek: add the dts property to set if TRGMII supported on GMAC0

2016-09-22 Thread Sean Wang
Date: Thu, 22 Sep 2016 14:28:36 +0300, Sergei Shtylyov wrote: >Hello. > >On 9/22/2016 5:33 AM, sean.w...@mediatek.com wrote: > >> From: Sean Wang >> >> Add the dts property for the capability if TRGMII supported on GAMC0 >> >> Signed-off-by: Sean Wang >> --- >> Documentation/devicetree/binding

UFS API in the kernel

2016-09-22 Thread Joao Pinto
Hi! I am designing an application that has the goal to be an utility for Unipro and UFS testing purposes. This application is going to run on top of a recent Linux Kernel containing the new UFS stack (including the new DWC drivers). I am considering doing the following: a) Create a new config ite

RE: [PATCH V3 2/4] ARM64 LPC: LPC driver implementation on Hip06

2016-09-22 Thread Gabriele Paoloni
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 22 September 2016 15:59 > To: Gabriele Paoloni > Cc: zhichang; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; lorenzo.pieral...@arm.com; miny...@acm.org; > linux-...@vger.kernel.org; gre...@linu

Re: kernelci build/boot results on -rt kernels

2016-09-22 Thread Greg KH
On Thu, Sep 22, 2016 at 01:38:56PM +0200, Arnd Bergmann wrote: > Greg, I checked the warnings in v4.4.19. We have previously made sure that > Mark Brown's build bot has a clean build, but the kernelci build apparently > does not for v4.4. These are the commits you may want to backport to get > a cl

Re: solo6010 modprobe lockup since e1ceb25a (v4.3 regression)

2016-09-22 Thread Andrey Utkin
On Thu, Sep 22, 2016 at 10:51:37AM +0200, Krzysztof Hałasa wrote: > I wonder if the following fixes the problem (completely untested). I have given this a run, and it still hangs.

Re: cifs mount regression in 4.8 and 4.4 stable

2016-09-22 Thread Sachin Prabhu
On Thu, 2016-09-22 at 10:09 -0500, Seth Forshee wrote: > We've received reports from users of a cifs mount regression in our > 4.4-based kernel, e.g. [1]. It is fixed by reverting the follwing > commit > from 4.8 which was applied to 4.4 stable: > >  a6b5058 fs/cifs: make share unaccessible at roo

Re: [PATCH v7 4/6] powerpc: lib/locks.c: Add cpu yield/wake helper function

2016-09-22 Thread Boqun Feng
Hi Xinhui, On Mon, Sep 19, 2016 at 05:23:55AM -0400, Pan Xinhui wrote: > Add two corresponding helper functions to support pv-qspinlock. > > For normal use, __spin_yield_cpu will confer current vcpu slices to the > target vcpu(say, a lock holder). If target vcpu is not specified or it > is in run

[PATCH v2 0/5] Freescale DPAA 1.x QBMan Drivers

2016-09-22 Thread Claudiu Manoil
Add basic support for the Data Path Acceleration Architecture v1.x (DPAA 1.x) hardware infrastructure and accelerators found on multicore Freescale SoCs, commonly known as the QorIQ series. CC: Roy Pledge Claudiu Manoil (5): soc/fsl: Introduce DPAA 1.x BMan device driver soc/fsl: Introduce D

Re: cifs mount regression in 4.8 and 4.4 stable

2016-09-22 Thread Seth Forshee
On Thu, Sep 22, 2016 at 04:17:09PM +0100, Sachin Prabhu wrote: > On Thu, 2016-09-22 at 10:09 -0500, Seth Forshee wrote: > > We've received reports from users of a cifs mount regression in our > > 4.4-based kernel, e.g. [1]. It is fixed by reverting the follwing > > commit > > from 4.8 which was app

[PATCH] fs/select: add vmalloc fallback for select(2)

2016-09-22 Thread Vlastimil Babka
The select(2) syscall performs a kmalloc(size, GFP_KERNEL) where size grows with the number of fds passed. We had a customer report page allocation failures of order-4 for this allocation. This is a costly order, so it might easily fail, as the VM expects such allocation to have a lower-order fallb

RE: [patch v1] drivers/platform/x86: introduce support for Mellanox hotplug driver

2016-09-22 Thread Vadim Pasternak
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Thursday, September 22, 2016 3:31 PM > To: Vadim Pasternak > Cc: dvh...@infradead.org; da...@davemloft.net; ge...@linux-m68k.org; > a...@linux-foundation.org; kv...@codeaurora.org; mche...@kernel.org; > li..

[PATCH 13/57] perf c2c report: Add dimension support

2016-09-22 Thread Jiri Olsa
Adding bare bones of dimension support for c2c report. Main interface functions are: c2c_hists__init c2c_hists__reinit which re/initialize 'struct c2c_hists' object with sort/display entries string, in a similar way that setup_sorting function does. We overload the dimension to provide multi

[PATCH 02/57] perf tools: Introduce c2c_decode_stats function

2016-09-22 Thread Jiri Olsa
Introducing c2c_decode_stats function, which decodes data_src data into new struct c2c_stats. Original-patch-by: Dick Fowles Original-patch-by: Don Zickus Link: http://lkml.kernel.org/n/tip-7garqfmx5izaqysde9jik...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/mem-events.c | 98 +

[PATCH 07/57] perf tools: Make several display functions global

2016-09-22 Thread Jiri Olsa
Will be used from external places in following patches. Link: http://lkml.kernel.org/n/tip-w5tpcitxjvufkndq0x5eh...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/ui/browsers/hists.c | 2 +- tools/perf/ui/hist.c | 2 +- tools/perf/util/hist.h | 2 ++ 3 files changed, 4

[PATCHv4 00/57] perf c2c: Add new tool to analyze cacheline contention on NUMA systems

2016-09-22 Thread Jiri Olsa
hi, sending new version of c2c patches (v3) originally posted in here: http://lwn.net/Articles/588866/ I took the old set and reworked it to fit into current upstream code. It follows the same logic as original patch and provides (almost) the same stdio interface. In addition new TUI interface w

[PATCH 46/57] perf c2c report: Add shared cachelines stats stdio output

2016-09-22 Thread Jiri Olsa
Display global shared cachelines related stats table as part of the stdio output or when --stats option is speicified: $ perf c2c report --stats ... = Global Shared Cache Line Event Information ==

[PATCH 29/57] perf c2c report: Add total loads sort key

2016-09-22 Thread Jiri Olsa
Adding total loads dimension key wrapper. It is to be displayed in the main cachelines overall output: tot_loads It displays sum of all load accesses for cacheline. Link: http://lkml.kernel.org/n/tip-czd17qsh5u5z0yc1estz9...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-c2c

[PATCH 27/57] perf c2c report: Add llc load miss dimension key

2016-09-22 Thread Jiri Olsa
Adding LLC load miss dimension key wrapper. It is to be displayed in the main cachelines overall output: ld_llcmiss It displays bare number of LLC misses for cacheline. Link: http://lkml.kernel.org/n/tip-wojujik7zzen770mxn295...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin

[PATCH 28/57] perf c2c report: Add total record sort key

2016-09-22 Thread Jiri Olsa
Adding total record dimension key wrapper. It is to be displayed in the main cachelines overall output: tot_recs It displays sum of all cachelines accesses. Link: http://lkml.kernel.org/n/tip-wojujik7zzen770mxn295...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-c2c.c | 64

[PATCH 18/57] perf c2c report: Decode c2c_stats for hist entries

2016-09-22 Thread Jiri Olsa
Decoding and storing c2c_stats for each hist entry. Changing related function to work with c2c_* objects. Link: http://lkml.kernel.org/n/tip-obz2fu3801wuayz4rnteg...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-c2c.c | 38 ++ 1 file changed,

[PATCH 54/57] perf c2c report: Add support to manage symbol name length

2016-09-22 Thread Jiri Olsa
The width of symbol and source line entries could get really long and not convenient to display. Adding support to display only patrt of such strings and possibility to switch to full length by uing --full-symbols option or 's' key in TUI browser. Link: http://lkml.kernel.org/n/tip-yxf5hfteyfaoi8x

[PATCH 57/57] perf c2c: Add man page and credits

2016-09-22 Thread Jiri Olsa
Adding man page for c2c command and credits to builtin-c2c.c file. Link: http://lkml.kernel.org/n/tip-twbp391v8v9f5idp584hl...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/Documentation/perf-c2c.txt | 276 ++ tools/perf/builtin-c2c.c | 11 +

[PATCH 43/57] perf c2c report: Add main browser

2016-09-22 Thread Jiri Olsa
Adding the main cachelines TUI browser. It allows to navigate through cachelines and disaplay their details and callchains (implemented in following patches). Link: http://lkml.kernel.org/n/tip-inykbom2f19difvsu1e18...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-c2c.c |

[PATCH 40/57] perf c2c report: Setup number of header lines for hists

2016-09-22 Thread Jiri Olsa
Allow to setup number of header lines for c2c hists objects. Link: http://lkml.kernel.org/n/tip-4ilsf0ulubrd4y96g7tnp...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-c2c.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/tools/perf/builtin

[PATCH 56/57] perf c2c report: Add help windows

2016-09-22 Thread Jiri Olsa
Adding help windows to display key/action mappings for both browsers. Link: http://lkml.kernel.org/n/tip-zni4apopx6a9eyxsosm1e...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-c2c.c | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/tools/pe

[PATCH 55/57] perf c2c report: Iterate node display in browser

2016-09-22 Thread Jiri Olsa
Adding TUI support to switch between Node entry versions in real time with 'n' key. Link: http://lkml.kernel.org/n/tip-xqbw4h4dxig54wff7fd14...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-c2c.c | 4 1 file changed, 4 insertions(+) diff --git a/tools/perf/builtin-c2c.c b/

[PATCH 48/57] perf c2c report: Allow to report callchains

2016-09-22 Thread Jiri Olsa
Add --call-graph option to properly setup callchain code. Adding default settings to display callchains whenever they are stored in the perf.data. Link: http://lkml.kernel.org/n/tip-inykbom2f19difvsu1e18...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-c2c.c | 67 +++

[PATCH 35/57] perf c2c report: Add symbol and dso sort keys

2016-09-22 Thread Jiri Olsa
Adding symbol and dso dimension key wrappers. They are to be displayed in the single cacheline output: symbol, dso They are wrappers for global sort_sym and sort_dso sort entries with c2c specific headers. Link: http://lkml.kernel.org/n/tip-6742e6g0r7n63y5wc4rrg...@git.kernel.org Signed-off-b

[PATCH 44/57] perf c2c report: Add cacheline browser

2016-09-22 Thread Jiri Olsa
Adding single cacheline TUI browser. It triggers when you press 'd' in the main browser on the specific cacheline. It allows to navigate through cacheline's offsets and display callchains (implemented in following patches). Link: http://lkml.kernel.org/n/tip-fovjwgyusv3rz5qxk3hna...@git.kernel.or

[PATCH 52/57] perf c2c report: Recalc width of global sort entries

2016-09-22 Thread Jiri Olsa
Using resort callbacks to compute the columns' width. Computing only the global ones, c2c entries have fixed width only. Link: http://lkml.kernel.org/n/tip-zyayvq2u3dzyf3y7i9jza...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-c2c.c | 12 1 file changed, 12 inserti

[PATCH v2 3/5] soc/bman: Add self-test for BMan driver

2016-09-22 Thread Claudiu Manoil
Add a self test for the DPAA 1.x Buffer Manager driver. This test ensures that the driver can properly acquire and release buffers using the BMan portal infrastructure. Signed-off-by: Roy Pledge Signed-off-by: Claudiu Manoil --- v2: none drivers/soc/fsl/qbman/Kconfig | 16 driver

[PATCH 45/57] perf c2c report: Add global stats stdio output

2016-09-22 Thread Jiri Olsa
Display global stats table as part of the stdio output or when --stats option is speicified: $ perf c2c report --stats = Trace Event Information = Total records

[PATCH 49/57] perf c2c report: Limit the cachelines table entries

2016-09-22 Thread Jiri Olsa
Add a limit for entries number of the cachelines table entries. By default now it's the 0.0005% minimum of remote HITMs. Also display only cachelines with remote hitm or store data. Link: http://lkml.kernel.org/n/tip-inykbom2f19difvsu1e18...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/per

[PATCH 51/57] perf c2c report: Allow to set cacheline sort fields

2016-09-22 Thread Jiri Olsa
Allowing user to configure the way the single cacheline data are sorted after being sorted by offset. Adding 'c' option to specify sorting fields for single cacheline: -c, --coalesce coalesce fields: pid,tid,iaddr,dso It's allowed to use following combination of fi

[PATCH 53/57] perf c2c report: Add cacheline index entry

2016-09-22 Thread Jiri Olsa
It's convenient to have an index for each cacheline to help discussions about results over the phone. Add new 'Index' and 'Num' fields in main and single cacheline tables. $ perf c2c report = Shared Data Cache Line Table ===

Re: [PATCH] Bluetooth: Add a new 04ca:3011 QCA_ROME device

2016-09-22 Thread Marcel Holtmann
Hi Dmitry, > BugLink: https://bugs.launchpad.net/bugs/1535802 > > T: Bus=01 Lev=02 Prnt=02 Port=04 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 > D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 > P: Vendor=04ca ProdID=3011 Rev=00.01 > C: #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA > I: If#= 0 Alt= 0 #

Re: GPU-DRM-QXL: Move three assignments in qxl_device_init()

2016-09-22 Thread Gerd Hoffmann
On Do, 2016-09-22 at 15:11 +0200, SF Markus Elfring wrote: > > Guys, please stop accepting patches from Markus! > > I would appreciate a bit more explanation for this request. For starters make sure the patches land actually on the list. Only the cover letter arrived here. cheers, Gerd

[PATCH 32/57] perf c2c report: Add dram related sort keys

2016-09-22 Thread Jiri Olsa
Adding dram related dimension key wrappers. They are to be displayed in the main cachelines overall output: dram_lcl, dram_rmt They display DRAM rmt/lcl access numbers for specific cacheline. Link: http://lkml.kernel.org/n/tip-tl3qqi9ehk6g1fla4z7y0...@git.kernel.org Signed-off-by: Jiri Olsa

[PATCH 42/57] perf c2c report: Add stdio output support

2016-09-22 Thread Jiri Olsa
Adding the --stdio option output support. The output tables are dumped directly to the stdio. $ perf c2c report = Shared Data Cache Line Table = # # Total

[PATCH 31/57] perf c2c report: Add hitm/store percent related sort keys

2016-09-22 Thread Jiri Olsa
Adding hitm/store percent dimension key wrappers. They are to be displayed in the single cacheline output: percent_rmt_hitm, percent_lcl_hitm, percent_stores_l1hit, percent_stores_l1miss They display percentage of HITMs/stores for specific offset in the cacheline. Link: http://lkml.kernel.or

[PATCH 41/57] perf c2c report: Set final resort fields

2016-09-22 Thread Jiri Olsa
Set resort/display fields for both cachelines and single cacheline displays. Cachelines are sorted on: rmt_hitm will be made configurable in following patches. Following fields are display for cachelines: dcacheline tot_recs percent_hitm tot_hitm,lcl_hitm,rmt_hitm stores,stores_l1hit

Re: [PATCH] ata: Replace BUG() with BUG_ON().

2016-09-22 Thread Tejun Heo
On Thu, Sep 22, 2016 at 01:29:48AM +0530, Harman Kalra wrote: > Replace BUG() with BUG_ON(). > Caught by coccinelle. > > Signed-off-by: Harman Kalra Applied libata/for-4.9. Thanks. -- tejun

[PATCH 39/57] perf c2c report: Add src line sort key

2016-09-22 Thread Jiri Olsa
Adding source line dimension key wrapper. It is to be displayed in the single cacheline output: cl_srcline It displays source line related to the code address that accessed cacheline. It's a wrapper to global srcline sort entry. Link: http://lkml.kernel.org/n/tip-cmnzgm37mjz56ozsg4mnb...@git.

[PATCH 26/57] perf c2c report: Add llc and remote loads related dimension keys

2016-09-22 Thread Jiri Olsa
Adding 2 LLC load related dimension key wrappers. They are to be displayed in the main cachelines overall output: ld_lclhit, ld_rmthit They display bare numbers of LLC and remote loads for cacheline. Link: http://lkml.kernel.org/n/tip-ahjg0voaufefboemjuj9y...@git.kernel.org Signed-off-by: Jir

[PATCH 38/57] perf c2c report: Add cpu cnt sort key

2016-09-22 Thread Jiri Olsa
Adding cpu count dimension key wrapper. It is to be displayed in the single cacheline output: cpucnt It displays number of distinct cpus that hit cacheline. Link: http://lkml.kernel.org/n/tip-ib2kdwam52fby9u2k3ij6...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-c2c.c | 23

[PATCH 20/57] perf c2c report: Add dcacheline dimension key

2016-09-22 Thread Jiri Olsa
Adding dcacheline dimension key support. It displays cacheline address as hex number. Using c2c wrapper to standard 'dcacheline' object to defined own header and simple (just address) cacheline output. Link: http://lkml.kernel.org/n/tip-j5enppr8e7h27nskqhgq3...@git.kernel.org Signed-off-by: Jiri

[PATCH 37/57] perf c2c report: Add stats related sort keys

2016-09-22 Thread Jiri Olsa
Adding statistic dimension key wrapper. It is to be displayed in the single cacheline output: median, mean_rmt, mean_lcl, mean_load, stddev It displays statistics hits related to cacheline accesses. Link: http://lkml.kernel.org/n/tip-m1r4uc9lcykf1jhpvwk2g...@git.kernel.org Signed-off-by: Jiri

Re: [PATCH V3 2/4] ARM64 LPC: LPC driver implementation on Hip06

2016-09-22 Thread zhichang.yuan
On 09/22/2016 11:20 PM, Gabriele Paoloni wrote: -Original Message- From: Arnd Bergmann [mailto:a...@arndb.de] Sent: 22 September 2016 15:59 To: Gabriele Paoloni Cc: zhichang; linux-arm-ker...@lists.infradead.org; devicet...@vger.kernel.org; lorenzo.pieral...@arm.com; miny...@acm.org; l

[PATCH 36/57] perf c2c report: Add node sort key

2016-09-22 Thread Jiri Olsa
Adding node dimension key wrapper. It is to be displayed in the single cacheline output: node It displays nodes hits related to cacheline accesses. The node filed comes in 3 flavors: - node IDs separated by ',' - node IDs with stats for each ID, in following format: Node{cpus %hitms

[PATCH 34/57] perf c2c report: Add tid sort key

2016-09-22 Thread Jiri Olsa
Adding tid dimension key wrapper. It is to be displayed in the single cacheline output: tid It's a wrapper for global sort_thread sort entry with c2c specific header. Link: http://lkml.kernel.org/n/tip-fr0socae5skzvz5qbkl85...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-c

[PATCH 33/57] perf c2c report: Add pid sort key

2016-09-22 Thread Jiri Olsa
Adding pid dimension key wrapper. It is to be displayed in the single cacheline output: pid We currently don't have a single 'pid' sort/display entry, which would output just pid number, hence adding it into c2c code. Link: http://lkml.kernel.org/n/tip-3o23qrspxc99b04ci1swl...@git.kernel.org

[PATCH 25/57] perf c2c report: Add loads related dimension keys

2016-09-22 Thread Jiri Olsa
Adding 3 loads related dimension key wrappers. They are to be displayed in the main cachelines overall output: ld_fbhit, ld_l1hit, ld_l2hit They all display bare numbers of loads for FB (Fill Buffer), L1 and L2 cache. Link: http://lkml.kernel.org/n/tip-wxrzhy74zl8fvkvgjae3w...@git.kernel.org

[PATCH 30/57] perf c2c report: Add hitm percent sort key

2016-09-22 Thread Jiri Olsa
Adding HITM percent dimension key wrapper. It is to be displayed in the main cachelines overall output: percent_hitm It displays HITMs percentage for cacheline. It counts remote HITMs at the moment, but it is changed later to support local as well, based on the sort configuration. Link: http

[PATCH 47/57] perf c2c report: Add c2c related stats stdio output

2016-09-22 Thread Jiri Olsa
Display c2c related configuration options/setup. So far it's output of monitored events: $ perf c2c report --stats ... = c2c details = Events:

[PATCH 50/57] perf c2c report: Add support to choose local HITMs

2016-09-22 Thread Jiri Olsa
Currently we sort and limit displayed data based on the remote HITMs count. Adding support to switch to local HITMs via --display option: --display ... lcl,rmt Link: http://lkml.kernel.org/n/tip-inykbom2f19difvsu1e18...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-

Re: [PATCH] perf record: Fix segfault when running with suid and kptr_restrict is 1

2016-09-22 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 21, 2016 at 03:56:20AM +, Wang Nan escreveu: > Before this patch perf panic if kptr_restrict set to 1 and perf is owned > by root with suid set: > > $ whoami > wangnan > $ ls -l ./perf > -rwsr-xr-x 1 root root 19781908 Sep 21 19:29 /home/wangnan/perf > $ cat /proc/sys/kernel/k

[PATCH 23/57] perf c2c report: Add hitm related dimension keys

2016-09-22 Thread Jiri Olsa
Adding 5 hitm related dimension key wrappers. First 3 are to be displayed in the main cachelines overall output: tot_hitm, lcl_hitm, rmt_hitm The latter 2 are to be displayed within single cacheline output: cl_rmt_hitm, cl_lcl_hitm They all display bare numbers of remote/local/total HITMs

[PATCH 17/57] perf c2c report: Add cacheline hists processing

2016-09-22 Thread Jiri Olsa
Store cacheline related entries in nested hist object for each cacheline data. Nested entries are sorted by 'offset' within related cacheline. We will allow specific sort keys to be configured for nested cacheline data entries in following patches. Link: http://lkml.kernel.org/n/tip-37f751rgqamq9

Re: [PATCH 08/57] perf tools: Make __hist_entry__snprintf function global

2016-09-22 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 22, 2016 at 05:36:36PM +0200, Jiri Olsa escreveu: > Will be used from external places in following patches. > > Link: http://lkml.kernel.org/n/tip-uip4x9u74t3dcz8sh4mei...@git.kernel.org > Signed-off-by: Jiri Olsa Thanks, applied, - Arnaldo

Re: [PATCH 1/6] mtd: spi-nor: Add quad page program support

2016-09-22 Thread Boris Brezillon
On Thu, 22 Sep 2016 19:59:13 +0530 Jagan Teki wrote: > On Mon, Aug 29, 2016 at 6:54 PM, Jagan Teki wrote: > > On Wed, Aug 10, 2016 at 2:10 AM, Jagan Teki wrote: > >> Add quad page program support with the use of nor->flags > >> and then controller will use 4 lines for data transmission > >> w

Re: [PATCH 07/57] perf tools: Make several display functions global

2016-09-22 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 22, 2016 at 05:36:35PM +0200, Jiri Olsa escreveu: > Will be used from external places in following patches. > > Link: http://lkml.kernel.org/n/tip-w5tpcitxjvufkndq0x5eh...@git.kernel.org > Signed-off-by: Jiri Olsa Thanks, applied, - Arnaldo

[PATCH v2 5/5] arch/powerpc: Add CONFIG_FSL_DPAA to corenetXX_smp_defconfig

2016-09-22 Thread Claudiu Manoil
Enable the drivers on the powerpc arch. Signed-off-by: Roy Pledge Signed-off-by: Claudiu Manoil --- v2: none arch/powerpc/Makefile| 4 ++-- arch/powerpc/configs/dpaa.config | 1 + drivers/soc/Kconfig | 1 + drivers/soc/fsl/Makefile | 1 + 4 files changed, 5 ins

Re: [PATCH 04/57] perf tools: Make reset_dimensions global

2016-09-22 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 22, 2016 at 05:36:32PM +0200, Jiri Olsa escreveu: > Will be used from external places in following patches. > > Link: http://lkml.kernel.org/n/tip-7garqfmx5izaqysde9jik...@git.kernel.org > Signed-off-by: Jiri Olsa Thanks, applied, - Arnaldo

[PATCH 16/57] perf c2c report: Add sample processing

2016-09-22 Thread Jiri Olsa
Adding basic sample processing specific hist_entry allocation callbacks (via hists__add_entry_ops). Overloading 'struct hist_entry' object with new 'struct c2c_hist_entry'. The new hist entry object will carry specific stats and nested hists objects. Link: http://lkml.kernel.org/n/tip-ksr9smz4o1t

[PATCH 05/57] perf tools: Make output_field_add and sort_dimension__add global

2016-09-22 Thread Jiri Olsa
Will be used from external places in following patches. Link: http://lkml.kernel.org/n/tip-15488tnxcj4rtteksy79y...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/sort.c | 8 tools/perf/util/sort.h | 4 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/too

Re: [PATCH 01/57] perf tools: Add __hist_entry__snprintf function

2016-09-22 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 22, 2016 at 05:36:29PM +0200, Jiri Olsa escreveu: > Add __hist_entry__snprintf to take perf_hpp_list as an argument > instead of using he->hists->hpp_list. This way we can display > arbitrary list of entries regardles of the hists setup, which > will be useful in following patches. Tha

Re: [PATCH 06/57] perf tools: Make several sorting functions global

2016-09-22 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 22, 2016 at 05:36:34PM +0200, Jiri Olsa escreveu: > Will be used from external places in following patches. > > Link: http://lkml.kernel.org/n/tip-4jyvw21cac7yuqsdkzdo5...@git.kernel.org > Signed-off-by: Jiri Olsa Thanks, applied, - Arnaldo

[PATCH 24/57] perf c2c report: Add stores related dimension keys

2016-09-22 Thread Jiri Olsa
Adding 5 stores related dimension key wrappers. First 3 are to be displayed in the main cachelines overall output: stores, stores_l1hit, stores_l1miss The latter 2 are to be displayed within single cacheline output: cl_stores_l1hit, cl_stores_l1miss They all display bare numbers of stores

Re: [PATCH 09/57] perf tools: Make hists__fprintf_headers function global

2016-09-22 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 22, 2016 at 05:36:37PM +0200, Jiri Olsa escreveu: > Will be used from external places in following patches. > > Link: http://lkml.kernel.org/n/tip-ydj205bfen9fgflnv39hn...@git.kernel.org > Signed-off-by: Jiri Olsa Thanks, applied, - Arnaldo

[PATCH v2 4/5] soc/qman: Add self-test for QMan driver

2016-09-22 Thread Claudiu Manoil
Add self tests for the DPAA 1.x Queue Manager driver. The tests ensure that the driver can properly enqueue and dequeue to/from frame queues using the QMan portal infrastructure. Signed-off-by: Roy Pledge Signed-off-by: Claudiu Manoil --- v2: none drivers/soc/fsl/qbman/Kconfig | 23

[PATCH 21/57] perf c2c report: Add offset dimension key

2016-09-22 Thread Jiri Olsa
Adding cacheline offset dimension key support. It displays cacheline offset as hex number. Link: http://lkml.kernel.org/n/tip-m0424ye98lqveg5nopto8...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-c2c.c | 35 +++ 1 file changed, 35 insertions(+)

[PATCH 14/57] perf c2c report: Add sort_entry dimension support

2016-09-22 Thread Jiri Olsa
Allow to reuse 'struct sort_entry' objects within c2c dimension support. In case the 'struct sort_entry' object meets the need of c2c report we will use it directly in following patches. Link: http://lkml.kernel.org/n/tip-a4jraum43uwhhnp91je2j...@git.kernel.org Signed-off-by: Jiri Olsa --- tool

Re: [PATCH] Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR. Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR.

2016-09-22 Thread Tejun Heo
On Thu, Sep 22, 2016 at 01:18:31AM +0530, Harman Kalra wrote: > Signed-off-by: Harman Kalra Fixed up subject and applied to libata/for-4.9. Thanks. -- tejun

[PATCH 11/57] perf c2c: Add record subcommand

2016-09-22 Thread Jiri Olsa
Adding c2c record subcommand. It setups options related to HITM cacheline analysis and calls standard perf record command. $ sudo perf c2c record -v -- -a calling: record -W -d --sample-cpu -e cpu/mem-loads,ldlat=30/P -e cpu/mem-stores/P -a ... It produces perf.data, which is to be reporte

Re: [PATCH 1/6] mtd: spi-nor: Add quad page program support

2016-09-22 Thread Cyrille Pitchen
Hi Jagan, The support of Quad Page Program is already addressed by the series for SPI x-2-2 and x-4-4 protocols and SFDP parsing: http://lists.infradead.org/pipermail/linux-mtd/2016-June/068212.html especially patch 5 and 9 http://lists.infradead.org/pipermail/linux-mtd/2016-June/068217.html http

[PATCH 22/57] perf c2c report: Add iaddr dimension key

2016-09-22 Thread Jiri Olsa
Adding iaddr dimension key support. It displays code address (as hex number) responsible for the accesses. Using c2c wrapper to standard 'symbol_iaddr' object to define own header and simple (just address) code address output. Link: http://lkml.kernel.org/n/tip-rhshygbst6kr75kju0muw...@git.kernel

Re: [PATCH 05/57] perf tools: Make output_field_add and sort_dimension__add global

2016-09-22 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 22, 2016 at 05:36:33PM +0200, Jiri Olsa escreveu: > Will be used from external places in following patches. > > Link: http://lkml.kernel.org/n/tip-15488tnxcj4rtteksy79y...@git.kernel.org > Signed-off-by: Jiri Olsa Thanks, applied, - Arnaldo

[PATCH 09/57] perf tools: Make hists__fprintf_headers function global

2016-09-22 Thread Jiri Olsa
Will be used from external places in following patches. Link: http://lkml.kernel.org/n/tip-ydj205bfen9fgflnv39hn...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/ui/stdio/hist.c | 2 +- tools/perf/util/hist.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools

[PATCH 04/57] perf tools: Make reset_dimensions global

2016-09-22 Thread Jiri Olsa
Will be used from external places in following patches. Link: http://lkml.kernel.org/n/tip-7garqfmx5izaqysde9jik...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/sort.c | 2 +- tools/perf/util/sort.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/perf/ut

[PATCH 06/57] perf tools: Make several sorting functions global

2016-09-22 Thread Jiri Olsa
Will be used from external places in following patches. Link: http://lkml.kernel.org/n/tip-4jyvw21cac7yuqsdkzdo5...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/sort.c | 6 +++--- tools/perf/util/sort.h | 6 ++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/too

[PATCH 15/57] perf c2c report: Fallback to standard dimensions

2016-09-22 Thread Jiri Olsa
Fallback to standard dimensions in case we don't find the dimension within c2c ones. Link: http://lkml.kernel.org/n/tip-w3yrcawal0dr1w9pcu4gy...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-c2c.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/t

[PATCH 08/57] perf tools: Make __hist_entry__snprintf function global

2016-09-22 Thread Jiri Olsa
Will be used from external places in following patches. Link: http://lkml.kernel.org/n/tip-uip4x9u74t3dcz8sh4mei...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/ui/stdio/hist.c | 4 ++-- tools/perf/util/hist.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/t

[PATCH 10/57] perf c2c: Add c2c command

2016-09-22 Thread Jiri Olsa
Adding c2c command base wirings. Its implementation is going to be added gradually in following patches. Link: http://lkml.kernel.org/n/tip-svq2kccqjaaieb6rxhky3...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/Build | 1 + tools/perf/builtin-c2c.c | 23 +++

[PATCH 19/57] perf c2c report: Add header macros

2016-09-22 Thread Jiri Olsa
Adding helping macros to define header objects. It will be used in following patches, that add new dimensions. The c2c report will support 2 line headers, hence we only define line[0/1] in macros. Link: http://lkml.kernel.org/n/tip-tkgrfvlw0m5awb75fk2sv...@git.kernel.org Signed-off-by: Jiri Olsa

[PATCH 12/57] perf c2c: Add report subcommand

2016-09-22 Thread Jiri Olsa
Adding c2c report subcommand. It reads the perf.data and displays shared data analysis. This patch adds report basic wirings. It gets fully implemented in following patches. Link: http://lkml.kernel.org/n/tip-8smklfkveeyv1pahfxv2r...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builti

Re: [PATCH v2 1/9] ext4: allow DAX writeback for hole punch

2016-09-22 Thread Theodore Ts'o
On Wed, Sep 21, 2016 at 09:22:44AM -0600, Ross Zwisler wrote: > > Ted & Jan, > > I'm still working on the latest version of the PMD work which integrates with > the new struct iomap faults. At this point it doesn't look like I'm going to > make v4.9, but I think that this bug fix at least should

Re: [PATCH] drm/tilcdc: add missing header dependencies

2016-09-22 Thread Jyri Sarha
Thanks, But I have got this already: https://lists.freedesktop.org/archives/dri-devel/2016-September/117900.html I will send a pull request soon. Best regards, Jyri On 09/21/16 08:12, Baoyou Xie wrote: > We get 4 warnings when building kernel with W=1: > drivers/gpu/drm/tilcdc/tilcdc_tfp410.c:3

[PATCH 01/57] perf tools: Add __hist_entry__snprintf function

2016-09-22 Thread Jiri Olsa
Add __hist_entry__snprintf to take perf_hpp_list as an argument instead of using he->hists->hpp_list. This way we can display arbitrary list of entries regardles of the hists setup, which will be useful in following patches. Link: http://lkml.kernel.org/n/tip-j2sizkyglam3narmndlj9...@git.kernel.or

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-22 Thread Eric W. Biederman
Ian Kent writes: > Eric, Mateusz, I appreciate your spending time on this and particularly > pointing > out my embarrassingly stupid is_local_mountpoint() usage mistake. > > Please accept my apology for the inconvenience. > > If all goes well (in testing) I'll have follow up patches to correct t

[PATCH 03/57] perf tools: Introduce c2c_add_stats function

2016-09-22 Thread Jiri Olsa
Introducing c2c_add_stats function helper to cumulate c2c_stats. Original-patch-by: Dick Fowles Original-patch-by: Don Zickus Link: http://lkml.kernel.org/n/tip-7garqfmx5izaqysde9jik...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/mem-events.c | 30 ++

Re: [PATCH v5 3/6] mm/cma: populate ZONE_CMA

2016-09-22 Thread Vlastimil Babka
On 09/22/2016 08:50 AM, Joonsoo Kim wrote: On Thu, Sep 22, 2016 at 02:45:46PM +0900, Joonsoo Kim wrote: > > > /* Free whole pageblock and set its migration type to MIGRATE_CMA. */ > > void __init init_cma_reserved_pageblock(struct page *page) > > { > > unsigned i = pageblock_nr_pages; > >+

[PATCH v3 2/2] staging: ion: Fix a coding style issue

2016-09-22 Thread Antti Keränen
Correctly align an unaligned block comment Signed-off-by: Antti Keränen --- drivers/staging/android/uapi/ion.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/android/uapi/ion.h b/drivers/staging/android/uapi/ion.h index 647f130..e629394 100644 --- a/drivers/

[PATCH v3 1/2] staging: ion: Fix a coding style issue

2016-09-22 Thread Antti Keränen
Remove unnecessary braces surrounding a single statement block Signed-off-by: Antti Keränen --- drivers/staging/android/ion/hisilicon/hi6220_ion.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/android/ion/hisilicon/hi6220_ion.c b/drivers/staging/android

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