Re: [PATCH 1/5] mmu: mark spte present if the x bit is set

2016-07-04 Thread Wanpeng Li
2016-06-29 4:49 GMT+08:00 Paolo Bonzini : [...] > > I think another way to write it is "(pte & 0xull) && > !is_mmio_spte(pte)", since non-present/non-MMIO SPTEs never use bits I misunderstand it here, this will also treat -W- EPT SPTEs as present, right? Regards, Wanpeng Li

RE: [PATCH v3 2/2] pci/aer: interrupt fixup in the quirk

2016-07-04 Thread Po Liu
Hi Dongdong, The patch were intend to fixup the NXP layerscape serial SOC and were tested ok. I am not clear what platform are you trying to fix. The problem on your board may be as below comments: > -Original Message- > From: Dongdong Liu [mailto:liudongdo...@huawei.com] > Sent: Mon

Re: kmem_cache_alloc fail with unable to handle paging request after pci hotplug remove.

2016-07-04 Thread AceLan Kao
Hi, These are logs from my machine. *** Before plug-in the USB key u@u-XPS-13-9xxx:~$ sudo lspci - -s 00:1c.0 00:1c.0 PCI bridge: Intel Corporation Device 9d10 (rev f1) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- Fa

[PATCH] ASoC: rockchip: implement system suspend/resume for spdif

2016-07-04 Thread Sugar Zhang
restore hw registers after power loss during a suspend/resume cycle. Signed-off-by: Sugar Zhang --- sound/soc/rockchip/rockchip_spdif.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/sound/soc/rockchip/rockchip_spdif.c b/sound/soc/rockchip/rockchip_spdif.c inde

[PATCH] ASoC: rockchip: implement system suspend/resume for i2s

2016-07-04 Thread Sugar Zhang
restore hw registers after power loss during a suspend/resume cycle. Signed-off-by: Sugar Zhang --- sound/soc/rockchip/rockchip_i2s.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/sound/soc/rockchip/rockchip_i2s.c b/sound/soc/rockchip/rockchip_i2s.c index 574c

[PATCH v5 2/2] PCI: Rockchip: Add Rockchip PCIe controller support

2016-07-04 Thread Shawn Lin
This patch adds Rockchip PCIe controller support found on RK3399 Soc platform. Signed-off-by: Shawn Lin --- Changes in v5: - handle multiple pending INTx at the same time suggested by Marc Changes in v4: - address the comments from Brain Changes in v3: - remove header file - remove struct m

[PATCH v5 1/2] Documentation: bindings: add dt doc for Rockchip PCIe controller

2016-07-04 Thread Shawn Lin
This patch adds a binding that describes the Rockchip PCIe controller found on Rockchip SoCs PCIe interface. Signed-off-by: Shawn Lin --- Changes in v5: - fix wrong example reported by Marc - add seperate section to describe the interrupt controller child node Changes in v4: - fix example of

Re: [PATCH] thermal: qcom: tsens-8916: mark PM functions __maybe_unused

2016-07-04 Thread Rajendra Nayak
On 07/04/2016 06:42 PM, Arnd Bergmann wrote: > The newly added tsens-8916 driver produces warnings when CONFIG_PM > is disabled: > > drivers/thermal/qcom/tsens.c:53:12: error: 'tsens_resume' defined but not > used [-Werror=unused-function] > static int tsens_resume(struct device *dev) >

Re: More parallel atomic_open/d_splice_alias fun with NFS and possibly more FSes.

2016-07-04 Thread Oleg Drokin
ah, and of course the testcase that I forgot to attach ;) lstest.sh Description: Binary data On Jul 4, 2016, at 10:28 PM, Oleg Drokin wrote: > > On Jul 3, 2016, at 2:29 AM, Al Viro wrote: > >> On Sat, Jun 25, 2016 at 12:38:40PM -0400, Oleg Drokin wrote: >> >>> Sorry to nag you about this,

[PATCH 1/2] qe/ic: move qe_ic_init from platforms to irqchip

2016-07-04 Thread Zhao Qiang
The codes of qe_ic_init in platforms are redundant, move them to qe_ic under irqchip Signed-off-by: Zhao Qiang --- arch/powerpc/platforms/83xx/misc.c| 15 --- arch/powerpc/platforms/85xx/corenet_generic.c | 9 - arch/powerpc/platforms/85xx/mpc85xx_mds.c | 14

[PATCH 2/7] gpu: drm: sti_compositor: add missing of_node_put after calling of_parse_phandle

2016-07-04 Thread Peter Chen
of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using. Cc: Benjamin Gaignard Cc: Vincent Abriou Signed-off-by: Peter Chen --- drivers/gpu/drm/sti/sti_compositor.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/sti/sti_c

Re: More parallel atomic_open/d_splice_alias fun with NFS and possibly more FSes.

2016-07-04 Thread Oleg Drokin
On Jul 3, 2016, at 2:29 AM, Al Viro wrote: > On Sat, Jun 25, 2016 at 12:38:40PM -0400, Oleg Drokin wrote: > >> Sorry to nag you about this, but did any of those pan out? >> >> d_alloc_parallel() sounds like a bit too heavy there, esp. considering we >> came in with >> a dentry already (though

[PATCH 1/7] gpu: drm: rockchip_drm_drv: add missing of_node_put after calling of_parse_phandle

2016-07-04 Thread Peter Chen
of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using. Cc: Mark Yao Cc: Heiko Stuebner Signed-off-by: Peter Chen --- drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/rockchip/rock

[PATCH 4/7] gpu: drm: sti_hqvdp: add missing of_node_put after calling of_parse_phandle

2016-07-04 Thread Peter Chen
of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using. Cc: Benjamin Gaignard Cc: Vincent Abriou Signed-off-by: Peter Chen --- drivers/gpu/drm/sti/sti_hqvdp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/sti/sti_hqvdp.c

Re: More parallel atomic_open/d_splice_alias fun with NFS and possibly more FSes.

2016-07-04 Thread Al Viro
On Sun, Jul 03, 2016 at 11:55:09PM -0400, Oleg Drokin wrote: > Quite a bit, actually. If you connect to an rogue Lustre server, > currently there are many ways it can crash the client. > I suspect this is true not just of Lustre, if e.g. NFS server starts to > send directory inodes with duplicated

[PATCH 6/7] gpu: drm: sun4i_drv: add missing of_node_put after calling of_parse_phandle

2016-07-04 Thread Peter Chen
of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using. Cc: Maxime Ripard Cc: Chen-Yu Tsai Signed-off-by: Peter Chen --- drivers/gpu/drm/sun4i/sun4i_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/sun4i/sun4i_drv.c b

[PATCH 5/7] gpu: drm: sti_vtg: add missing of_node_put after calling of_parse_phandle

2016-07-04 Thread Peter Chen
of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using. Cc: Benjamin Gaignard Cc: Vincent Abriou Signed-off-by: Peter Chen --- drivers/gpu/drm/sti/sti_vtg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/sti/sti_vtg.c b/dr

[PATCH 3/7] gpu: drm: sti_vdo: add missing of_node_put after calling of_parse_phandle

2016-07-04 Thread Peter Chen
of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using. Cc: Benjamin Gaignard Cc: Vincent Abriou Signed-off-by: Peter Chen --- drivers/gpu/drm/sti/sti_dvo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/sti/sti_dvo.c b/dr

[PATCH 7/7] gpu: drm: vc4_hdmi: add missing of_node_put after calling of_parse_phandle

2016-07-04 Thread Peter Chen
of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using. Cc: Eric Anholt Signed-off-by: Peter Chen --- drivers/gpu/drm/vc4/vc4_hdmi.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.

[PATCH 0/7] gpu: drm: remaining missing of_node_put issue fixes

2016-07-04 Thread Peter Chen
Hi David, This is remaining missing of_node_put issue fix for gpu/drm drivers, the other fixes I sent yesterday. I think it may be easier for reviewing using patch set for similar issue, thanks. Peter Chen (7): gpu: drm: rockchip_drm_drv: add missing of_node_put after calling of_parse_phand

Re: [PATCH v4 2/2] PCI: Rockchip: Add Rockchip PCIe controller support

2016-07-04 Thread Shawn Lin
在 2016/7/1 18:32, Marc Zyngier 写道: On 01/07/16 02:24, Shawn Lin wrote: This patch adds Rockchip PCIe controller support found on RK3399 Soc platform. Signed-off-by: Shawn Lin --- [...] +static void rockchip_pcie_legacy_int_handler(struct irq_desc *desc) +{ + struct irq_chip *chip =

Re: [PATCH perf/core v13 06/15] perf buildid-cache: Scan and import user SDT events to probe cache

2016-07-04 Thread Masami Hiramatsu
On Fri, 1 Jul 2016 15:22:01 -0300 Arnaldo Carvalho de Melo wrote: > Em Fri, Jul 01, 2016 at 05:04:10PM +0900, Masami Hiramatsu escreveu: > > From: Masami Hiramatsu > > > > perf buildid-cache --add scans given binary and add > > the SDT events to probe cache. "sdt_" prefix is appended for > > a

Re: [PATCH v4 1/2] Documentation: bindings: add dt doc for Rockchip PCIe controller

2016-07-04 Thread Shawn Lin
在 2016/7/2 10:25, Brian Norris 写道: Hi, On Fri, Jul 01, 2016 at 02:01:09PM +0100, Marc Zyngier wrote: On 01/07/16 02:24, Shawn Lin wrote: This patch adds a binding that describes the Rockchip PCIe controller found on Rockchip SoCs PCIe interface. Signed-off-by: Shawn Lin --- Changes in v4:

ERROR: "bad_dma_ops" [sound/core/snd-pcm.ko] undefined!

2016-07-04 Thread kbuild test robot
Hi, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a99cde438de0c4c0cecc1d1af1a55a75b10bfdef commit: 420520766a796d3607639ba1e4fb1aadeadd [media] media: Kconfig: add dependency of HAS_DMA date: 5 months ago co

Re: [alsa-devel] [PATCH 3/4] ASoC: mediatek: add BT implementation

2016-07-04 Thread Garlic Tseng
On Mon, 2016-07-04 at 16:44 +0200, Mark Brown wrote: > On Mon, Jul 04, 2016 at 06:56:27PM +0800, Garlic Tseng wrote: > > > +static int mt2701_btmrg_startup(struct snd_pcm_substream *substream, > > + struct snd_soc_dai *dai) > > +{ > > + struct snd_soc_pcm_runtime *rtd =

[PATCH] test/kms_atomic:Added allow_modeset flag

2016-07-04 Thread peizhant
From: Tan Pei Zhan added two subtests : i) igt_subtest "allow_modeset" added a DRM_MODE_ATOMIC_ALLOW_MODESET flag to the flags at ioc.flag, and verify that it still fails ii) igt_subtest "plane_primary_allow_modeset" added ioc.flags in the plane_primary function Signed-off-by: Tan Pei Zhan --

Zprava pro vas!

2016-07-04 Thread Bertp
Mam investicní zajem, pro ktere hledáme vasi účast jako príjemce. Odpoveď na e-mailu níze v prípade zájmu. email: plippb...@gmail.com

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-04 Thread Neo Jia
On Tue, Jul 05, 2016 at 09:19:40AM +0800, Xiao Guangrong wrote: > > > On 07/04/2016 11:33 PM, Neo Jia wrote: > > >>> > >>>Sorry, I think I misread the "allocation" as "mapping". We only delay the > >>>cpu mapping, not the allocation. > >> > >>So how to understand your statement: > >>"at that mom

Re: [PATCH v2 3/8] mm/zsmalloc: take obj index back from find_alloced_obj

2016-07-04 Thread Sergey Senozhatsky
On (07/04/16 14:49), Ganesh Mahendran wrote: > the obj index value should be updated after return from > find_alloced_obj() to avoid CPU buring caused by unnecessary > object scanning. 'burning' > Signed-off-by: Ganesh Mahendran Reviewed-by: Sergey Senozhatsky -ss

Re: [PATCH v2 4/8] mm/zsmalloc: use class->objs_per_zspage to get num of max objects

2016-07-04 Thread Sergey Senozhatsky
On (07/04/16 14:49), Ganesh Mahendran wrote: > num of max objects in zspage is stored in each size_class now. > So there is no need to re-calculate it. > > Signed-off-by: Ganesh Mahendran > Acked-by: Minchan Kim Reviewed-by: Sergey Senozhatsky -ss

Re: [PATCH v3 3/4] perf annotate: add powerpc support

2016-07-04 Thread Ravi Bangoria
Hi Michael, On Friday 01 July 2016 02:13 PM, Ravi Bangoria wrote: Thanks Michael for your suggestion. On Thursday 30 June 2016 11:51 AM, Michael Ellerman wrote: On Thu, 2016-06-30 at 11:44 +0530, Ravi Bangoria wrote: diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c index 3

Re: [RFC] arm64: kexec_file_load support

2016-07-04 Thread Dave Young
On 07/04/16 at 03:58pm, AKASHI Takahiro wrote: > Hi, > > On Fri, Jul 01, 2016 at 12:46:31PM -0300, Thiago Jung Bauermann wrote: > > Am Freitag, 01 Juli 2016, 14:11:12 schrieb AKASHI Takahiro: > > > I'm not sure whether there is any demand for kexec_file_load > > > support on arm64, but anyhow I'm

[PATCH 3/6] mfd: intel_msic: Make it explicitly non-modular

2016-07-04 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/mfd/Kconfig:config MFD_INTEL_MSIC drivers/mfd/Kconfig:bool "Intel MSIC" ...meaning that it currently is not being built as a module by anyone. Lets remove the couple instances of module references, so that when reading th

[PATCH 2/6] mfd: as3722: Make it explicitly non-modular

2016-07-04 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/mfd/Kconfig:config MFD_AS3722 drivers/mfd/Kconfig:bool "ams AS3722 Power Management IC" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially orphaned, so

[PATCH 4/6] mfd: smsc-ece1099: Make it explicitly non-modular

2016-07-04 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/mfd/Kconfig:config MFD_SMSC drivers/mfd/Kconfig: bool "SMSC ECE1099 series chips" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially orphaned, so that

[PATCH 5/6] mfd: sun6i-prcm: Make it explicitly non-modular

2016-07-04 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/mfd/Kconfig:config MFD_SUN6I_PRCM drivers/mfd/Kconfig:bool "Allwinner A31 PRCM controller" ...meaning that it currently is not being built as a module by anyone. Lets remove the couple traces of modularity so that when re

[PATCH 6/6] mfd: twl-core: Make it explicitly non-modular

2016-07-04 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/mfd/Kconfig:config TWL4030_CORE drivers/mfd/Kconfig:bool "TI TWL4030/TWL5030/TWL6030/TPS659x0 Support" ...meaning that it currently is not being built as a module by anyone. Lets remove what modular code that we can, so t

[PATCH 0/6] mfd: trivial demodularization of non-modular drivers.

2016-07-04 Thread Paul Gortmaker
I grouped this little series of mfd commits together because of the common theme of their relatively trivial use of modular infrastructure in these non-modular drivers. What that means is there are no orphaned __exit functions to remove; no unused ".remove" functions linked into the driver struct

[PATCH 1/6] mfd: altera-a10sr: make it explicitly non-modular

2016-07-04 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/mfd/Kconfig:config MFD_ALTERA_A10SR drivers/mfd/Kconfig:bool "Altera Arria10 DevKit System Resource chip" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essenti

Re: [PATCH v2 2/8] mm/zsmalloc: use obj_index to keep consistent with others

2016-07-04 Thread Sergey Senozhatsky
On (07/04/16 14:49), Ganesh Mahendran wrote: > This is a cleanup patch. Change "index" to "obj_index" to keep > consistent with others in zsmalloc. > > Signed-off-by: Ganesh Mahendran Reviewed-by: Sergey Senozhatsky -ss

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-04 Thread Xiao Guangrong
On 07/04/2016 11:33 PM, Neo Jia wrote: Sorry, I think I misread the "allocation" as "mapping". We only delay the cpu mapping, not the allocation. So how to understand your statement: "at that moment nobody has any knowledge about how the physical mmio gets virtualized" The resource, physi

Re: [PATCH 03/31] mm, vmscan: move LRU lists to node

2016-07-04 Thread Minchan Kim
On Fri, Jul 01, 2016 at 09:01:11PM +0100, Mel Gorman wrote: > This moves the LRU lists from the zone to the node and related data such > as counters, tracing, congestion tracking and writeback tracking. > Unfortunately, due to reclaim and compaction retry logic, it is necessary > to account for the

Re: [PATCH v2 5/8] mm/zsmalloc: avoid calculate max objects of zspage twice

2016-07-04 Thread Sergey Senozhatsky
On (07/04/16 14:49), Ganesh Mahendran wrote: > Currently, if a class can not be merged, the max objects of zspage > in that class may be calculated twice. > > This patch calculate max objects of zspage at the begin, and pass > the value to can_merge() to decide whether the class can be merged. >

[PATCH 1/7] drm/vc4: Add a getparam ioctl for getting the V3D identity regs.

2016-07-04 Thread Eric Anholt
As I extend the driver to support different V3D revisions, userspace needs to know what version it's targeting. This is most easily detected using the V3D identity registers. Signed-off-by: Eric Anholt --- drivers/gpu/drm/vc4/vc4_drv.c | 25 + include/uapi/drm/vc4_drm.h

[PATCH 4/7] drm/vc4: Add support for branching in shader validation.

2016-07-04 Thread Eric Anholt
We're already checking that branch instructions are between the start of the shader and the proper PROG_END sequence. The other thing we need to make branching safe is to verify that the shader doesn't read past the end of the uniforms stream. To do that, we require that at any basic block readin

[PATCH 5/7] drm/vc4: Add a getparam to signal support for branches.

2016-07-04 Thread Eric Anholt
Userspace needs to know if it can create shaders that do branching. Otherwise, for backwards compatibility with old kernels it needs to lower if statements to conditional assignments. Signed-off-by: Eric Anholt --- drivers/gpu/drm/vc4/vc4_drv.c | 3 +++ include/uapi/drm/vc4_drm.h| 1 + 2 fil

[PATCH 0/7] drm/vc4: loops and getparam support.

2016-07-04 Thread Eric Anholt
At long last, I've got loops passing the piglit tests. (4 tests fail due to register allocation, and one fails for reasons I haven't debugged yet, but that's still a lot of new tests passing). The userspace side of loops can be found at http://github.com/anholt/mesa/tree/vc4-loops and I'll try to

[PATCH 6/7] drm/vc4: Fix definition of QPU_R_MS_REV_FLAGS

2016-07-04 Thread Eric Anholt
We don't use it in shader validation currently, so it had no effect, but best to fix it anyway in case we do some day. Signed-off-by: Eric Anholt --- drivers/gpu/drm/vc4/vc4_qpu_defines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vc4/vc4_qpu_defines.h b

[PATCH 2/7] drm/vc4: Move validation's current/max ip into the validation struct.

2016-07-04 Thread Eric Anholt
Reduces the argument count for some of the functions, and will be used more with the upcoming looping support. Signed-off-by: Eric Anholt --- drivers/gpu/drm/vc4/vc4_validate_shaders.c | 54 +- 1 file changed, 30 insertions(+), 24 deletions(-) diff --git a/drivers/gp

[PATCH 7/7] drm/vc4: Fix a "the the" typo in a comment.

2016-07-04 Thread Eric Anholt
Signed-off-by: Eric Anholt --- drivers/gpu/drm/vc4/vc4_validate_shaders.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vc4/vc4_validate_shaders.c b/drivers/gpu/drm/vc4/vc4_validate_shaders.c index 302ce68e24cd..d126145c60ca 100644 --- a/drivers/gpu/drm/vc4/

[PATCH 3/7] drm/vc4: Add a bitmap of branch targets during shader validation.

2016-07-04 Thread Eric Anholt
This isn't used yet, it's just a first step toward loop validation. During the main parsing of instructions, we need to know when we hit a new basic block so that we can reset validated state. Signed-off-by: Eric Anholt --- drivers/gpu/drm/vc4/vc4_qpu_defines.h | 12 +++ drivers/gpu/drm/vc

Re: [PATCH v2 6/8] mm/zsmalloc: keep comments consistent with code

2016-07-04 Thread Sergey Senozhatsky
On (07/04/16 14:49), Ganesh Mahendran wrote: > some minor change of comments: > 1). update zs_malloc(),zs_create_pool() function header > 2). update "Usage of struct page fields" > > Signed-off-by: Ganesh Mahendran Reviewed-by: Sergey Senozhatsky -ss

Re: [PATCH v2 7/8] mm/zsmalloc: add __init,__exit attribute

2016-07-04 Thread Sergey Senozhatsky
Hello Ganesh, On (07/04/16 17:21), Ganesh Mahendran wrote: > > On (07/04/16 14:49), Ganesh Mahendran wrote: > > [..] > >> -static void zs_unregister_cpu_notifier(void) > >> +static void __exit zs_unregister_cpu_notifier(void) > >> { > > > > this __exit symbol is called from `__init zs_init()' and

Re: [PATCH v3 2/9] kexec_file: Generalize kexec_add_buffer.

2016-07-04 Thread Dave Young
On 07/01/16 at 05:31pm, Thiago Jung Bauermann wrote: > Am Freitag, 01 Juli 2016, 17:02:23 schrieb Thiago Jung Bauermann: > > Am Freitag, 01 Juli 2016, 14:36:02 schrieb Dave Young: > > > On 07/01/16 at 02:51pm, Thiago Jung Bauermann wrote: > > > > Am Donnerstag, 30 Juni 2016, 17:43:57 schrieb Dave Y

Re: [PATCH 3/4] perf tool: Fix build when sysconf doesn't support cache line size

2016-07-04 Thread Arnaldo Carvalho de Melo
Em Mon, Jul 04, 2016 at 05:47:12PM -0700, Chris Phlipot escreveu: > On 07/04/2016 05:26 PM, Arnaldo Carvalho de Melo wrote: > > Em Mon, Jul 04, 2016 at 05:19:20PM -0700, Chris Phlipot escreveu: > > > On 07/04/2016 03:48 PM, Arnaldo Carvalho de Melo wrote: > > > > Em Thu, Jun 30, 2016 at 10:12:34PM

Re: [PATCH 3/4] perf tool: Fix build when sysconf doesn't support cache line size

2016-07-04 Thread Chris Phlipot
On 07/04/2016 05:26 PM, Arnaldo Carvalho de Melo wrote: Em Mon, Jul 04, 2016 at 05:19:20PM -0700, Chris Phlipot escreveu: On 07/04/2016 03:48 PM, Arnaldo Carvalho de Melo wrote: Em Thu, Jun 30, 2016 at 10:12:34PM -0700, Chris Phlipot escreveu: Enable perf to build on libc implementations w

Re: [PATCH v3] arm64: dts: rockchip: add the power domain node for rk3399

2016-07-04 Thread Caesar Wang
于 2016年07月05日 08:24, Heiko Stuebner 写道: Am Montag, 4. Juli 2016, 20:34:04 schrieb Caesar Wang: From: Elaine Zhang In order to meet low power requirements, a power management unit (PMU) is designed for controlling power resources in RK3399. The RK3399 PMU is dedicated for managing the power of

[PATCH 10/16] perf unwind: Add initialized arg into unwind__prepare_access

2016-07-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Adding initialized arg into unwind__prepare_access to get feedback about the initialization state. It's not possible to get it from error code, because we return 0 even in case we don't recognize dso, which is valid. The 'initialized' value is used in following patch to speedup

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

2016-07-04 Thread Arnaldo Carvalho de Melo
inux/kernel/git/acme/linux into perf/core (2016-07-01 08:40:39 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-20160704 for you to fetch changes up to f3d082ceabe53177c98bfa4580a294c2844966e8: perf tools: S

[PATCH 12/16] tools lib bpf: Add license header

2016-07-04 Thread Arnaldo Carvalho de Melo
From: Wang Nan Adding a missing license descriptopn header to files in libbpf, make it LGPL-2.1. Signed-off-by: Wang Nan Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: Eric Leblond Cc: Zefan Li Cc: pi3or...@163.com Link: http://lkml.kernel.org/r/1467630162-193121-1-git-send-email-wangn...@

[PATCH 16/16] perf tools: Sync copy of syscall_64.tbl with the kernel

2016-07-04 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Noticed by the build system, that emitted this warning: Warning: x86_64's syscall_64.tbl differs from kernel This was due to the wiring up of the recently added preadv2 & pwritev2 syscalls to the compat code, which hadn't been done by the patch introducing those

[PATCH 06/16] perf probe: Add group name support

2016-07-04 Thread Arnaldo Carvalho de Melo
From: Masami Hiramatsu Allow user to set group name for adding new event. Note that user must ensure that the group name doesn't conflict with existing group name carefully. E.g. Existing group name can conflict with other events. Especially, using the group name reserved for kernel modules ca

[PATCH 05/16] perf sdt: ELF support for SDT

2016-07-04 Thread Arnaldo Carvalho de Melo
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 binar

[PATCH 04/16] perf build: Add feature detection for libelf's elf_getshdrstrndx()

2016-07-04 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo That appeared after 0.140, and will be used in the SDT code, so, to avoid bisection break on older systems, add a feature detection and provide a stub with a pr_debug() to keep it building. Cc: Ananth N Mavinakayanahalli Cc: Brendan Gregg Cc: Hemant Kumar Cc: Ma

[PATCH 15/16] perf tools: Update android build documentation

2016-07-04 Thread Arnaldo Carvalho de Melo
From: Chris Phlipot Update the android build documentation according to recent android build fixes. The instructions for step 1a and step 2 were updated to work with NDK version 11(oldest supported version) and NDK version 12(current version). Signed-off-by: Chris Phlipot Cc: Peter Zijlstra Li

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

2016-07-04 Thread Arnaldo Carvalho de Melo
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 09/16] perf tests: Fix hist accumulation test

2016-07-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa User's values from .perfconfig could overload the default callchain setup and cause this test to fail. Making sure the test is using default callchain_param values. Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1

[PATCH 08/16] perf header: Transform nodes string info to struct

2016-07-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Storing NUMA info within struct numa_node instead of strings. This way it's usable in future patches. Also it turned out it's slightly less code involved than using strings. Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kerne

[PATCH 14/16] tools lib subcmd: Respect WERROR=0 for build

2016-07-04 Thread Arnaldo Carvalho de Melo
From: Chris Phlipot this enables the workaround for compilers that generate warnings when compiling libsubcmd. Signed-off-by: Chris Phlipot Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1467349955-1135-3-git-send-email-cphlip...@gmail.com Signed-off-by: Arnaldo Carvalho de Melo --- tool

[PATCH 13/16] tools lib api: Respect WERROR=0 for build

2016-07-04 Thread Arnaldo Carvalho de Melo
From: Chris Phlipot This enables the workaround for compilers that generate warnings when compiling libapi. Signed-off-by: Chris Phlipot Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1467349955-1135-2-git-send-email-cphlip...@gmail.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/l

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

2016-07-04 Thread Arnaldo Carvalho de Melo
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 11/16] perf unwind: Call unwind__prepare_access for forked thread

2016-07-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Currently we call unwind__prepare_access for map event. In case we report fork event the thread inherits its parent's maps and unwind__prepare_access is never called for the thread. This causes unwind__get_entries seeing uninitialized unwind_libunwind_ops and thus returning no c

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

2016-07-04 Thread Arnaldo Carvalho de Melo
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 03/16] perf probe: Remove caches when --cache is given

2016-07-04 Thread Arnaldo Carvalho de Melo
From: Masami Hiramatsu 'perf probe --del' removes caches when '--cache' is given. Note that the delete pattern is not the same as for 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

Re: [PATCH] drm: sti: fix prototypes after API change

2016-07-04 Thread Stephen Rothwell
Hi Dave, On Tue, 5 Jul 2016 09:59:16 +1000 Dave Airlie wrote: > > I think I've done it correctly, I've just pushed out drm-next with the > pull and the > two changes amended into the merge. Looks great, thanks. -- Cheers, Stephen Rothwell

Re: [PATCH 3/4] perf tool: Fix build when sysconf doesn't support cache line size

2016-07-04 Thread Arnaldo Carvalho de Melo
Em Mon, Jul 04, 2016 at 05:19:20PM -0700, Chris Phlipot escreveu: > > > On 07/04/2016 03:48 PM, Arnaldo Carvalho de Melo wrote: > > Em Thu, Jun 30, 2016 at 10:12:34PM -0700, Chris Phlipot escreveu: > > > Enable perf to build on libc implementations where sysconf() doesn't > > > support _SC_LEVEL1

Re: [PATCH v3] arm64: dts: rockchip: add the power domain node for rk3399

2016-07-04 Thread Heiko Stuebner
Am Montag, 4. Juli 2016, 20:34:04 schrieb Caesar Wang: > From: Elaine Zhang > > In order to meet low power requirements, a power management unit (PMU) is > designed for controlling power resources in RK3399. The RK3399 PMU is > dedicated for managing the power of the whole chip. > > 1. add pd no

Re: [PATCH net-next] tun: fix build warnings

2016-07-04 Thread David Miller
From: Jason Wang Date: Mon, 4 Jul 2016 13:53:38 +0800 > Stephen Rothwell reports a build warnings(powerpc ppc64_defconfig) > > drivers/net/tun.c: In function 'tun_do_read.part.5': > /home/sfr/next/next/drivers/net/tun.c:1491:6: warning: 'err' may be > used uninitialized in this function [-Wmayb

Re: [PATCH 3/4] perf tool: Fix build when sysconf doesn't support cache line size

2016-07-04 Thread Chris Phlipot
On 07/04/2016 03:48 PM, Arnaldo Carvalho de Melo wrote: Em Thu, Jun 30, 2016 at 10:12:34PM -0700, Chris Phlipot escreveu: Enable perf to build on libc implementations where sysconf() doesn't support _SC_LEVEL1_DCACHE_LINESIZE as a parameter. For example, the Bionic implementation does not sup

Re: [PATCH] fsl/fman: fix error handling

2016-07-04 Thread David Miller
From: Christophe JAILLET Date: Mon, 4 Jul 2016 07:46:42 +0200 > This is likely that checking 'fman->fifo_offset' instead of > 'fman->cam_offset' is expected here. > > Signed-off-by: Christophe JAILLET > --- > > The type of 'fifo_offset' may also need to be changed. Fix the test rather than t

[PATCH v1 1/1] x86/platform/intel-mid: Enable spidev on Intel Edison

2016-07-04 Thread Andy Shevchenko
Intel Edison board provides one of the SPI bus for user's connected devices. Append platform data to get spidev enumerated over it. Cc: Dan O'Donovan Signed-off-by: Andy Shevchenko --- arch/x86/platform/intel-mid/device_libs/Makefile | 2 + .../intel-mid/device_libs/platform_spidev.c

Re: [PATCH v4 3/5] ACPICA: ACPI 2.0, Interpreter: Fix MLC issues by switching to new TermList grammar for table loading

2016-07-04 Thread Rafael J. Wysocki
On Tue, Jul 5, 2016 at 1:42 AM, Zheng, Lv wrote: > Hi, Rafael > >> From: Zheng, Lv >> Subject: [PATCH v4 3/5] ACPICA: ACPI 2.0, Interpreter: Fix MLC issues by >> switching to new TermList grammar for table loading >> >> The MLC (Module Level Code) is an ACPICA terminology describing the >> AML >>

[PATCH 5/6] drm/rcar-du: use drm_crtc_handle_vblank()

2016-07-04 Thread Gustavo Padovan
From: Gustavo Padovan Remove legacy usage of drm_handle_vblank() Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rcar-du/rcar_du_crtc.c b/drivers/gpu/drm/rcar-du/rcar_du_crtc.c index

[PATCH 3/6] drm/atmel: use drm_crtc_handle_vblank()

2016-07-04 Thread Gustavo Padovan
From: Gustavo Padovan Remove legacy usage of drm_handle_vblank() Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c b/drivers/gpu/drm/atmel-hlcdc/a

[PATCH 4/6] drm/nouveau: use drm_crtc_handle_vblank()

2016-07-04 Thread Gustavo Padovan
From: Gustavo Padovan Remove legacy usage of drm_handle_vblank() Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/nouveau/nouveau_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display

[PATCH 6/6] drm/tilcdc: use drm_crtc_handle_vblank()

2016-07-04 Thread Gustavo Padovan
From: Gustavo Padovan Remove legacy usage of drm_handle_vblank() Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c b/drivers/gpu/drm/tilcdc/tilcdc_crtc.c index 79027b

[PATCH 1/6] drm: make drm_vblank_count_and_time() static

2016-07-04 Thread Gustavo Padovan
From: Gustavo Padovan As they are not used anywhere outside drm_irq.c make them static. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/drm_irq.c | 7 ++- include/drm/drmP.h| 2 -- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/drm_irq.c b/drivers

[PATCH 2/6] drm/armada: use drm_crtc_handle_vblank()

2016-07-04 Thread Gustavo Padovan
From: Gustavo Padovan Remove legacy usage of drm_handle_vblank() Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/armada/armada_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/armada/armada_crtc.c b/drivers/gpu/drm/armada/armada_crtc.c index 34405e

Re: [PATCH 02/31] mm, vmscan: move lru_lock to the node

2016-07-04 Thread Minchan Kim
On Fri, Jul 01, 2016 at 09:01:10PM +0100, Mel Gorman wrote: > Node-based reclaim requires node-based LRUs and locking. This is a > preparation patch that just moves the lru_lock to the node so later > patches are easier to review. It is a mechanical change but note this > patch makes contention w

Re: [PATCH] drm: sti: fix prototypes after API change

2016-07-04 Thread Dave Airlie
On 5 July 2016 at 09:46, Stephen Rothwell wrote: > Hi Dave, > > On Mon, 4 Jul 2016 15:38:10 +0200 Mark Brown wrote: >> >> On Mon, Jul 04, 2016 at 03:36:57PM +0200, Arnd Bergmann wrote: >> > On Monday, July 4, 2016 3:22:30 PM CEST Mark Brown wrote: >> >> > > I sent a pull request for the API chang

Re: [PATCH v2 3/3] Constify some function parameters

2016-07-04 Thread kbuild test robot
Hi, [auto build test WARNING on next-20160704] [cannot apply to tip/x86/core asm-generic/master v4.7-rc6 v4.7-rc5 v4.7-rc4 v4.7-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Emese-Revfy

[PATCH v3 4/4] Documentation: add doc for sync_file_get_fence()

2016-07-04 Thread Gustavo Padovan
From: Gustavo Padovan Document the new function added to sync_file.c v2: Adapt to fence_array Signed-off-by: Gustavo Padovan --- Documentation/sync_file.txt | 15 +++ 1 file changed, 15 insertions(+) diff --git a/Documentation/sync_file.txt b/Documentation/sync_file.txt index e8e

[PATCH v3 0/4] dma-buf/sync_file: rework fences on struct sync_file

2016-07-04 Thread Gustavo Padovan
From: Gustavo Padovan Hi all, This patchset improves fence support on Sync File. The basic idea is to have only sync_file->fence and store all fences there, either as normal fences or fence_arrays. That way we can remove some potential duplication when using fence_array with sync_file: the dupli

[PATCH v3 2/4] dma-buf/sync_file: rework fence storage in struct file

2016-07-04 Thread Gustavo Padovan
From: Gustavo Padovan Create sync_file->fence to abstract the type of fence we are using for each sync_file. If only one fence is present we use a normal struct fence but if there is more fences to be added to the sync_file a fence_array is created. This change cleans up sync_file a bit. We don'

[PATCH v3 1/4] dma-buf/fence-array: add fence_is_array()

2016-07-04 Thread Gustavo Padovan
From: Gustavo Padovan Add helper to check if fence is array. v2: Comments from Chris Wilson - remove ternary if from ops comparison - add EXPORT_SYMBOL(fence_array_ops) Cc: Chris Wilson Cc: Christian König Signed-off-by: Gustavo Padovan Reviewed-by: Chris Wilson --- drivers

[PATCH v3 3/4] dma-buf/sync_file: add sync_file_get_fence()

2016-07-04 Thread Gustavo Padovan
From: Gustavo Padovan Creates a function that given an sync file descriptor returns a fence containing all fences in the sync_file. v2: Comments by Daniel Vetter - Adapt to new version of fence_collection_init() - Hold a reference for the fence we return v3: - Adapt to u

Re: [PATCH 01/31] mm, vmstat: add infrastructure for per-node vmstats

2016-07-04 Thread Minchan Kim
On Fri, Jul 01, 2016 at 09:01:09PM +0100, Mel Gorman wrote: > VM statistic counters for reclaim decisions are zone-based. If the kernel > is to reclaim on a per-node basis then we need to track per-node > statistics but there is no infrastructure for that. The most notable > change is that the ol

Re: [PATCH] drm: sti: fix prototypes after API change

2016-07-04 Thread Stephen Rothwell
Hi Dave, On Mon, 4 Jul 2016 15:38:10 +0200 Mark Brown wrote: > > On Mon, Jul 04, 2016 at 03:36:57PM +0200, Arnd Bergmann wrote: > > On Monday, July 4, 2016 3:22:30 PM CEST Mark Brown wrote: > > > > I sent a pull request for the API change to the DRM people which might > > > be easier given tha

RE: [PATCH v4 3/5] ACPICA: ACPI 2.0, Interpreter: Fix MLC issues by switching to new TermList grammar for table loading

2016-07-04 Thread Zheng, Lv
Hi, Rafael > From: Zheng, Lv > Subject: [PATCH v4 3/5] ACPICA: ACPI 2.0, Interpreter: Fix MLC issues by > switching to new TermList grammar for table loading > > The MLC (Module Level Code) is an ACPICA terminology describing the > AML > code out of any control method, its support is the main con

Re: [PATCH v5] mm, kasan: switch SLUB to stackdepot, enable memory quarantine for SLUB

2016-07-04 Thread Sasha Levin
5a 5a 5a 5a 5a [0.00] CPU: 0 PID: 0 Comm: swapper/0 Tainted: GB 4.7.0-rc5-next-20160704-sasha-00024-ge77e3f3 #3135 [0.00] 14c40f12 9d094fbe896d693a a6207918 9b06d567 [0.00] fbfff4cb1f60 0

<    1   2   3   4   5   6   7   >