Re: Re: [PATCH v4 3/3] perf/sdt : Documentation for SDT events

2014-09-01 Thread Masami Hiramatsu
(2014/08/29 16:26), Namhyung Kim wrote: On Thu, 28 Aug 2014 03:23:16 +0530, Hemant Kumar wrote: SYNOPSIS [verse] -'perf list' [hw|sw|cache|tracepoint|pmu|event_glob] +'perf list' [hw|sw|cache|tracepoint|pmu|sdt|event_glob] What about adding it to a different line as the 'sdt'

Re: [PATCH v2] cpufreq: powernv: Set the cpus to nominal frequency during reboot/kexec

2014-09-01 Thread Shilpa Bhat
This patch ensures the cpus to kexec/reboot at nominal frequency. Nominal frequency is the highest cpu frequency on PowerPC at which the cores can run without getting throttled. If the host kernel had set the cpus to a low pstate and then it kexecs/reboots to a cpufreq disabled kernel it would

Re: [PATCH] drm: Do not use BUG_ON(!spin_is_locked())

2014-09-01 Thread Dave Airlie
ssert_spin_locked() is a better option. Unless there's a bug, assert_spin_locked() is just going to incur an unnecessary cost every time it is called at runtime. My suggestion was to limit that check only to debugging kernels that include enabling lockdep when tracking down

Re: Possible regression in 3.17-rc2 in i915 driver

2014-09-01 Thread Jani Nikula
+intel-gfx Ville, Daniel, any thoughts before we queue a revert? BR, Jani. On Sun, 31 Aug 2014, Tibor Billes tbil...@gmx.com wrote: Hi! I tried to upgrade my kernel from 3.16 to 3.17-rc2 and I found that my laptop was unable to boot. The boot process hangs after 2-3 seconds (according to

[RFC PATCH v2 21/27] gntalloc.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: xen/gntalloc.h:22:2: error: unknown type name ‘uint16_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/xen/gntalloc.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/xen/gntalloc.h b/include/uapi/xen/gntalloc.h index

[RFC PATCH v2 06/27] drm_mode.h: include stdint.h and linux/types.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: drm/drm_mode.h:472:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/drm_mode.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h index

[RFC PATCH v2 23/27] r128_drm.h: include drm/drm.h

2014-09-01 Thread Mikko Rapeli
Fixes compile error: drm/r128_drm.h:156:23: error: array type has incomplete element type struct drm_clip_rect boxes[R128_NR_SAREA_CLIPRECTS]; Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/r128_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

[RFC PATCH v2 25/27] via_drm.h: hide struct via_file_private in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compiler error since list_head is not exported to userspace headers. Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/via_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/drm/via_drm.h b/include/uapi/drm/via_drm.h index 791531e..34ce658 100644

[RFC PATCH v2 20/27] hdspm.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: sound/hdspm.h:43:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/sound/hdspm.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/sound/hdspm.h b/include/uapi/sound/hdspm.h index

[RFC PATCH v2 03/27] Makefile: propagate verbose options

2014-09-01 Thread Mikko Rapeli
Usefull when debugging the make scripts. Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 25b85ab..df0eb14 100644 --- a/Makefile +++ b/Makefile @@ -855,13 +855,13 @@

[PATCH v1 1/1] iommu/amd: set iommu for early mapped ioapic/hpet

2014-09-01 Thread Su, Friendy
From: Su Friendy friendy...@sony.com.cn The early mapped ioapic/hpet specified by kernel boot parameter ivrs_ioapic[ID]/ivrs_hpet[ID] always override the ioapic/hpet with same ID reported by ACPI IVRS table. Therefore, the early mapped should be always controlled by iommu. Current driver did

[RFC PATCH v2 14/27] cld.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: linux/nfsd/cld.h:40:2: error: unknown type name ‘uint16_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/nfsd/cld.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/linux/nfsd/cld.h b/include/uapi/linux/nfsd/cld.h index

[RFC PATCH v2 17/27] scsi_bsg_fc.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: scsi/scsi_bsg_fc.h:83:2: error: unknown type name ‘uint8_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/scsi/scsi_bsg_fc.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/scsi/scsi_bsg_fc.h b/include/uapi/scsi/scsi_bsg_fc.h

[RFC PATCH v2 10/27] vmwgfx_drm.h: include drm/drm.h instead of drm.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: drm/vmwgfx_drm.h:31:17: fatal error: drm.h: No such file or directory Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/vmwgfx_drm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/drm/vmwgfx_drm.h

[RFC PATCH v2 19/27] scsi_netlink_fc.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: scsi/scsi_netlink_fc.h:60:2: error: expected specifier-qualifier-list before ‘uint64_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/scsi/scsi_netlink_fc.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/scsi/scsi_netlink_fc.h

[RFC PATCH v2 11/27] dm-log-userspace.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: linux/dm-log-userspace.h:416:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/dm-log-userspace.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/linux/dm-log-userspace.h

[RFC PATCH v2 13/27] ebtables.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: linux/netfilter_bridge/ebtables.h:38:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/netfilter_bridge/ebtables.h | 5 + 1 file changed, 5 insertions(+) diff --git

Re: [PATCH 20/41] perf tools: Let a user specify a PMU event without any config terms

2014-09-01 Thread Adrian Hunter
On 08/30/2014 11:53 AM, Jiri Olsa wrote: On Fri, Aug 29, 2014 at 09:48:51PM +0300, Adrian Hunter wrote: On 16/07/2014 9:22 p.m., Jiri Olsa wrote: On Wed, Jul 16, 2014 at 06:04:44PM +0300, Adrian Hunter wrote: On 16/07/2014 5:25 p.m., Jiri Olsa wrote: On Mon, Jul 14, 2014 at 01:02:44PM +0300,

[RFC PATCH v2 18/27] scsi_netlink.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: scsi/scsi_netlink.h:43:2: error: unknown type name ‘uint8_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/scsi/scsi_netlink.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/uapi/scsi/scsi_netlink.h

[RFC PATCH v2 15/27] rds.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: linux/rds.h:96:2: error: unknown type name ‘uint8_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/rds.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/rds.h b/include/uapi/linux/rds.h index 9195095..7ff0c70 100644

[RFC PATCH v2 16/27] sctp.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: linux/sctp.h:652:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/sctp.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/sctp.h b/include/uapi/linux/sctp.h index 266022a..f68d79a

[RFC PATCH v2 12/27] hsi_char.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compiler error: linux/hsi/hsi_char.h:51:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/hsi/hsi_char.h | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/hsi/hsi_char.h

[RFC PATCH v2 27/27] sis_drm.h: hide sis_file_private in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compiler error: drm/sis_drm.h:68:19: error: field ‘obj_list’ has incomplete type struct list_head obj_list; Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/sis_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/drm/sis_drm.h

Re: [PATCH v2] arm64: fix bug for reloading FPSIMD state after cpu power off

2014-09-01 Thread Ard Biesheuvel
On 1 September 2014 05:09, Leo Yan l...@marvell.com wrote: Now arm64 defers reloading FPSIMD state, but this optimization also introduces the bug after cpu resume back from low power mode. The reason is after the cpu has been powered off, s/w need set the cpu's fpsimd_last_state to NULL so

Re: [PATCHv2 1/2] ASoC: simple-card: Fix bug of forgetting decrement DT node's refcount

2014-09-01 Thread Jean-Francois Moine
On Mon, 1 Sep 2014 09:35:26 +0800 Xiubo Li li.xi...@freescale.com wrote: We shouldn't forget decrement the last DT node when the for_each_child_of_node() has finished searching. Signed-off-by: Xiubo Li li.xi...@freescale.com --- sound/soc/generic/simple-card.c | 1 + 1 file changed, 1

[RFC PATCH v2 08/27] nouveau_drm.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: drm/nouveau_drm.h:41:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/nouveau_drm.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/drm/nouveau_drm.h b/include/uapi/drm/nouveau_drm.h index

[RFC PATCH v2 22/27] gntdev.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation error: xen/gntdev.h:38:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/xen/gntdev.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/xen/gntdev.h b/include/uapi/xen/gntdev.h index 5304bd3..f724f75

[RFC PATCH v2 24/27] via_drm.h: include linux/types.h instead of non-existing via_drmclient.h

2014-09-01 Thread Mikko Rapeli
Fixes compiler error: drm/via_drm.h:36:27: fatal error: via_drmclient.h: No such file or directory Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/via_drm.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/uapi/drm/via_drm.h

[RFC PATCH v2 07/27] exynos_drm.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compilation errors like: drm/exynos_drm.h:30:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/exynos_drm.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/drm/exynos_drm.h b/include/uapi/drm/exynos_drm.h

[RFC PATCH v2 01/27] Compile test script for exported header files

2014-09-01 Thread Mikko Rapeli
Users of kernel header files would be happier if they did not contain kernel specific parts and would contain #include statements for all other header files that they depend on, and in general would compile. For each header file exported to userspace, the script creates a simple .c file which

[RFC PATCH v2 00/27] Compile test and fixes for exported header files

2014-09-01 Thread Mikko Rapeli
This patch series introduces a simple compile test for exported header files and fixes a few example findings from the test. It's a bit of a pain to see headers in userspace with unknown kernel definitions, incomplete header file dependencies and other compile failures. The test was simple until

[RFC PATCH v2 05/27] drm.h: include stdlib.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes drm/drm.h compilation error: drm/drm.h:132:2: error: unknown type name ‘size_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/drm.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h index 9abbeb9..820fd01 100644

Re: [RFC PATCH 10/10] scsi/trace: Use scsi_print_command trace point instead of printk

2014-09-01 Thread Yoshihiro YUNOMAE
Hi Hannes, Sorry for the late reply. (2014/08/28 21:15), Hannes Reinecke wrote: On 08/28/2014 08:19 AM, Yoshihiro YUNOMAE wrote: Hi Hannes, I tried to remove duplicated decoder of SCSI command, but the output format of it in constants.c is different from it in traceevents. I have two

[RFC PATCH v2 02/27] scripts/headers.sh: add verbose option to make calls if defined

2014-09-01 Thread Mikko Rapeli
Useful when debugging the scripts. Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- scripts/headers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/headers.sh b/scripts/headers.sh index 978b42b..09e8a5c 100755 --- a/scripts/headers.sh +++ b/scripts/headers.sh @@

[RFC PATCH v2 04/27] headers_install.sh: enhance error handling

2014-09-01 Thread Mikko Rapeli
Exit with error if using undefined variables or if any sub command fails with error return value. unidef needs special handling since but this can be done without the trap. Enables exaniming intermediate files if some commands failed. Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi ---

[RFC PATCH v2 09/27] radeon_drm.h: include stdint.h in userspace

2014-09-01 Thread Mikko Rapeli
Fixes compiler error: drm/radeon_drm.h:794:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/radeon_drm.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/drm/radeon_drm.h b/include/uapi/drm/radeon_drm.h index

[RFC PATCH v2 26/27] savage_drm.h: include drm/drm.h

2014-09-01 Thread Mikko Rapeli
Fixes compiler error: drm/savage_drm.h:50:24: error: array type has incomplete element type struct drm_tex_region texList[SAVAGE_NR_TEX_HEAPS][SAVAGE_NR_TEX_REGIONS + Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/savage_drm.h | 2 ++ 1 file changed, 2 insertions(+)

Re: [PATCH net-next 2/2] net: exit busy loop when another process is runnable

2014-09-01 Thread Eliezer Tamir
On 29/08/2014 06:08, Jason Wang wrote: Yes, but rx busy polling only works in process context and does not disable bh, so it may be not an issue. sk_busy_loop() uses rcu_read_lock_bh(), so it does run with bh disabled. -Eliezer -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] fs/super.c: do not shrink fs slab during direct memory reclaim

2014-09-01 Thread Xue jiufei
Hi Viro Andraw Could you help review this patch? Thanks. xuejiufei On 2014/8/29 17:57, Xue jiufei wrote: The patch trys to solve one deadlock problem caused by cluster fs, like ocfs2. And the problem may happen at least in the below situations: 1)Receiving a connect message from other

Re: [PATCHv2 2/2] ASoC: simple-card: Fix bug of wrong decrement DT node's refcount

2014-09-01 Thread Jean-Francois Moine
On Mon, 1 Sep 2014 09:35:27 +0800 Xiubo Li li.xi...@freescale.com wrote: DAI links's cpu_of_node's and codec_of_node's refcounts shouldn't be decremented immediately at the end of the probe() fucntion. Because we will still use them before the audio card is removed. Right, but your patch

RE: [PATCHv2 1/2] ASoC: simple-card: Fix bug of forgetting decrement DT node's refcount

2014-09-01 Thread li.xi...@freescale.com
Signed-off-by: Xiubo Li li.xi...@freescale.com --- sound/soc/generic/simple-card.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple- card.c index fd8b045..9e170fe 100644 --- a/sound/soc/generic/simple-card.c +++

Re: [PATCH net-next 2/2] net: exit busy loop when another process is runnable

2014-09-01 Thread Eliezer Tamir
On 26/08/2014 10:16, Jason Wang wrote: On 08/25/2014 09:16 PM, Eliezer Tamir wrote: Here are my 2 cents: I think Ingo's suggestion of only yielding to tasks with same or higher priority makes sense. I'm not sure I get your meaning. Do you mean calling yield_to() directly in sk_busy_loop?

Re: [drm/i915/3.17] panic in i915_digport_work_func

2014-09-01 Thread Dave Airlie
drm/i915: add DP 1.2 MST support (v0.7) This adds DP 1.2 MST support on Haswell systems. I've attached a patch that might fix this, please test and let me know. Dave. From d407c946fbf5c48f30160591f5bd71fbe158aeb4 Mon Sep 17 00:00:00 2001 From: Dave Airlie airl...@redhat.com Date: Mon,

Re: [PATCH 10/29] drivers: add DRIVER_HAS_OWN_IOMMU_MANAGER flag

2014-09-01 Thread Thierry Reding
On Mon, Sep 01, 2014 at 07:22:32AM +0200, Marek Szyprowski wrote: Hi Greg, On 2014-08-05 12:47, Marek Szyprowski wrote: This patch adds a new flags for device drivers. This flag instructs kernel that the device driver does it own management of IOMMU assisted IO address space

[PATCH] netlink: Safer deletion of sk_bind_node

2014-09-01 Thread Harish
From: Harish Jenny K N harish_kand...@mentor.com Unable to handle kernel NULL pointer dereference at virtual address (netlink_release+0x0/0x2a0) from [8034e78c] (sock_release+0x28/0xa4) (sock_release+0x0/0xa4) from [8034e830] (sock_close+0x28/0x34)

RE: [PATCHv2 2/2] ASoC: simple-card: Fix bug of wrong decrement DT node's refcount

2014-09-01 Thread li.xi...@freescale.com
DAI links's cpu_of_node's and codec_of_node's refcounts shouldn't be decremented immediately at the end of the probe() fucntion. Because we will still use them before the audio card is removed. Right, but your patch seems a bit complicated. See below. Signed-off-by: Xiubo Li

[PATCH v2 3/4] kconfig: get target architecture from config file

2014-09-01 Thread Konstantin Khlebnikov
This patch makes kernel cross-compilation little bit easier. After initial configuration no special environment variables are required because default ARCH is saved in .config file: # make ARCH=arm defconfig # make menuconfig # make To solve chicken and egg problem ARCH is read directly from

[PATCH v2 4/4] kconfig: link CONFIG_CROSS_COMPILE with environment variable

2014-09-01 Thread Konstantin Khlebnikov
Cross-compiler tool prefix can be set in command line, in the environment variable CROSS_COMPILE or in config file, in option CONFIG_COROSS_COMPILE. Also some arch/*/Makefile provides default value. This patch links config option CONFIG_CROSS_COMPILE and variable CROSS_COMPILE in both directions:

Re: [PATCH v3 07/11] wireless: hostap: proc: print properly escaped SSID

2014-09-01 Thread Andy Shevchenko
On Wed, 2014-08-20 at 12:42 +0300, Andy Shevchenko wrote: Instead of substituting non-printable characters by '_' let's print SSID properly escaped by using recently added %*pE specifier. Here is kbuild robot fixup. From f88ff364a1b117d3c86186206eeaa54ff906147a Mon Sep 17 00:00:00 2001 From:

[PATCH v2 1/4] kconfig: save values imported from environment into config file

2014-09-01 Thread Konstantin Khlebnikov
After this patch option env=... behaves more like user input. Environment variable becomes optional, its last state is saved in config. Impact of this change is minimal. This option is used only three times: for ARCH, SRCARCH and KERNELVERSION. All of them are always defined by root Makefile.

[PATCH v2 0/4] kconfig: store default ARCH in .config

2014-09-01 Thread Konstantin Khlebnikov
This is second attempt of fixing target archecture amnesia. v1 patch: http://lkml.kernel.org/r/20140706080234.19520.96704.stgit@zurg First version saved ARCH as CONFIG_DEFAULT_ARCH and used it as defult ARCH. This version changes semantic of Kconfig option env=..., now it acts more like the user

Re: [PATCH 1/4] clk: mvebu: Fix clk frequency value if SSCG is enabled

2014-09-01 Thread Gregory CLEMENT
Hi Leigh, On 01/09/2014 00:25, Leigh Brown wrote: Hi Gregory, On 2014-08-29 12:43, Gregory CLEMENT wrote: When the SSCG (Spread Spectrum Clock Generator) is enabled, it shifts the frequency of the clock. The percentage is no more than 1% but when the clock is used for a timer it leads to a

[PATCH v2 2/4] scripts/config: add option for changing output for undefined options

2014-09-01 Thread Konstantin Khlebnikov
This patch adds command line option '--if-undef' which replaces string 'undef' in output of next command '--state' with whatever you want. Also it adds grep key -s to suppress error messages about nonexistent file. Signed-off-by: Konstantin Khlebnikov koc...@gmail.com --- scripts/config | 15

Re: [PATCH v2] ARM: dts: Add shmobile platform device tree bindings documentation

2014-09-01 Thread Geert Uytterhoeven
Hi Simon, On Mon, Sep 1, 2014 at 3:45 AM, Simon Horman ho...@verge.net.au wrote: On Mon, Sep 01, 2014 at 09:55:45AM +0900, Simon Horman wrote: On Fri, Aug 29, 2014 at 10:26:01AM +0200, Geert Uytterhoeven wrote: If so I would prefer a slightly re-structured title: ARM: shmobile: Add

[PATCH v16 3/7] sparc: add pmd_[dirty|mkclean] for THP

2014-09-01 Thread Minchan Kim
MADV_FREE needs pmd_dirty and pmd_mkclean for detecting recent overwrite of the contents since MADV_FREE syscall is called for THP page. This patch adds pmd_dirty and pmd_mkclean for THP page MADV_FREE support. Acked-by: David S. Miller da...@davemloft.net Cc: sparcli...@vger.kernel.org

[PATCH v16 4/7] powerpc: add pmd_[dirty|mkclean] for THP

2014-09-01 Thread Minchan Kim
MADV_FREE needs pmd_dirty and pmd_mkclean for detecting recent overwrite of the contents since MADV_FREE syscall is called for THP page. This patch adds pmd_dirty and pmd_mkclean for THP page MADV_FREE support. Cc: Benjamin Herrenschmidt b...@kernel.crashing.org Cc: Paul Mackerras

[PATCH v16 5/7] arm: add pmd_mkclean for THP

2014-09-01 Thread Minchan Kim
MADV_FREE needs pmd_dirty and pmd_mkclean for detecting recent overwrite of the contents since MADV_FREE syscall is called for THP page. This patch adds pmd_mkclean for THP page MADV_FREE support. Cc: Catalin Marinas catalin.mari...@arm.com Cc: Russell King li...@arm.linux.org.uk Cc:

[PATCH v16 1/7] mm: support madvise(MADV_FREE)

2014-09-01 Thread Minchan Kim
Linux doesn't have an ability to free pages lazy while other OS already have been supported that named by madvise(MADV_FREE). The gain is clear that kernel can discard freed pages rather than swapping out or OOM if memory pressure happens. Without memory pressure, freed pages would be reused by

[PATCH v16 2/7] x86: add pmd_[dirty|mkclean] for THP

2014-09-01 Thread Minchan Kim
MADV_FREE needs pmd_dirty and pmd_mkclean for detecting recent overwrite of the contents since MADV_FREE syscall is called for THP page. This patch adds pmd_dirty and pmd_mkclean for THP page MADV_FREE support. Cc: Thomas Gleixner t...@linutronix.de Cc: Ingo Molnar mi...@redhat.com Cc: H. Peter

[PATCH v16 6/7] arm64: add pmd_[dirty|mkclean] for THP

2014-09-01 Thread Minchan Kim
MADV_FREE needs pmd_dirty and pmd_mkclean for detecting recent overwrite of the contents since MADV_FREE syscall is called for THP page. This patch adds pmd_dirty and pmd_mkclean for THP page MADV_FREE support. Cc: Russell King li...@arm.linux.org.uk Cc: linux-arm-ker...@lists.infradead.org

[PATCH v16 7/7] mm: Don't split THP page when syscall is called

2014-09-01 Thread Minchan Kim
We don't need to split THP page when MADV_FREE syscall is called. It could be done when VM decide really frees it so we could avoid unnecessary THP split. Cc: Andrea Arcangeli aarca...@redhat.com Acked-by: Rik van Riel r...@redhat.com Acked-by: Kirill A. Shutemov kirill.shute...@linux.intel.com

[PATCH v16 0/7] MADV_FREE support

2014-09-01 Thread Minchan Kim
This patch enable MADV_FREE hint for madvise syscall, which have been supported by other OSes. [PATCH 1] includes the details. [1] support MADVISE_FREE for !THP page so if VM encounter THP page in syscall context, it splits THP page. [2-6] is to preparing to call madvise syscall without THP

Re: [PATCH v2 0/4] kconfig: store default ARCH in .config

2014-09-01 Thread Geert Uytterhoeven
Hi Konstantin, On Mon, Sep 1, 2014 at 9:16 AM, Konstantin Khlebnikov koc...@gmail.com wrote: This is second attempt of fixing target archecture amnesia. v1 patch: http://lkml.kernel.org/r/20140706080234.19520.96704.stgit@zurg First version saved ARCH as CONFIG_DEFAULT_ARCH and used it as

Re: [PATCH 0/5] beautify EFI memmap logs

2014-09-01 Thread Ingo Molnar
* Laszlo Ersek ler...@redhat.com wrote: It's a pain to analyze EFI memmap logs while debugging, especially to verify the memory types (an enum) and the memory attributes (a bitmap). This series renders those columns human-readable, and unifies their formatting between x86, ia64 and arm64.

Re: [PATCH v2 0/4] kconfig: store default ARCH in .config

2014-09-01 Thread Konstantin Khlebnikov
On Mon, Sep 1, 2014 at 11:24 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote: Hi Konstantin, On Mon, Sep 1, 2014 at 9:16 AM, Konstantin Khlebnikov koc...@gmail.com wrote: This is second attempt of fixing target archecture amnesia. v1 patch:

[PATCHv3] ASoC: simple-card: Fix bug of wrong decrement DT node's refcount

2014-09-01 Thread Xiubo Li
DAI links's cpu_of_node's and codec_of_node's refcounts shouldn't be decremented immediately at the end of the probe() fucntion. Because we will still use them before the audio card is removed. Signed-off-by: Xiubo Li li.xi...@freescale.com Cc: Jean-Francois Moine moin...@free.fr --- Change in

Re: [alsa-devel] [PATCHv1 1/7] ASoC: simple-card: Merge single and muti DAI link code.

2014-09-01 Thread Kuninori Morimoto
Hi Xiubo Thank you for your patch. This clean-up is very nice for me. But, I have 1 small comment asoc_simple_card_sub_parse_of(struct device_node *np, struct asoc_simple_dai *dai, struct device_node **p_node, -

Re: [PATCH] regulator: core: GPIO #0 is a valid GPIO

2014-09-01 Thread Dirk Behme
On 29.08.2014 21:01, Mark Brown wrote: On Fri, Aug 29, 2014 at 10:19:16PM +0400, Dmitry Eremin-Solenikov wrote: From: Dirk Behme dirk.be...@de.bosch.com With GPIO #0, this if statement will always fail. Remove this, the check for gpio_is_valid() is sufficent here. No, read the archives

RE: [alsa-devel] [PATCHv1 1/7] ASoC: simple-card: Merge single and muti DAI link code.

2014-09-01 Thread li.xi...@freescale.com
Hi Xiubo Thank you for your patch. This clean-up is very nice for me. But, I have 1 small comment asoc_simple_card_sub_parse_of(struct device_node *np, struct asoc_simple_dai *dai, struct device_node **p_node, -

Re: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-09-01 Thread Lee Jones
On Fri, 22 Aug 2014, Pankaj Dubey wrote: From: Tomasz Figa t.f...@samsung.com Currently a syscon entity can be only registered directly through a platform device that binds to a dedicated driver. However in certain use cases it is desirable to make a device used with another driver a syscon

Re: [drm/i915/3.17] panic in i915_digport_work_func

2014-09-01 Thread Mike Galbraith
On Mon, 2014-09-01 at 17:02 +1000, Dave Airlie wrote: drm/i915: add DP 1.2 MST support (v0.7) This adds DP 1.2 MST support on Haswell systems. I've attached a patch that might fix this, please test and let me know. Lappy hasn't exploded in 20 boot cycles, which judging by

Re: [PATCHv3 1/3] fs/buffer.c: allocate buffer cache with user specific flag

2014-09-01 Thread Jan Kara
On Fri 29-08-14 13:48:27, Gioh Kim wrote: What about below?: add gfp for __getblk_slow, change __getblk into __getblk_gfp, getblk_unmovable and __getblk are, I think, symmetric. If you say OK, I'm going to send v4 with tabs ;-) Yes, this looks like what I wanted. I've just spotted two

Re: [PATCH 10/29] drivers: add DRIVER_HAS_OWN_IOMMU_MANAGER flag

2014-09-01 Thread Marek Szyprowski
Hello, On 2014-09-01 09:07, Thierry Reding wrote: On Mon, Sep 01, 2014 at 07:22:32AM +0200, Marek Szyprowski wrote: Hi Greg, On 2014-08-05 12:47, Marek Szyprowski wrote: This patch adds a new flags for device drivers. This flag instructs kernel that the device driver does it own management

Re: [PATCH] regulator: core: GPIO #0 is a valid GPIO

2014-09-01 Thread Geert Uytterhoeven
On Mon, Sep 1, 2014 at 9:46 AM, Dirk Behme dirk.be...@de.bosch.com wrote: On 29.08.2014 21:01, Mark Brown wrote: On Fri, Aug 29, 2014 at 10:19:16PM +0400, Dmitry Eremin-Solenikov wrote: From: Dirk Behme dirk.be...@de.bosch.com With GPIO #0, this if statement will always fail. Remove this,

Re: [PATCH 3/5] phy: exynos5-usbdrd: Add facility for VBUS-BOOST-5V supply

2014-09-01 Thread Vivek Gautam
Hi Felipe, On Fri, Aug 29, 2014 at 12:46 AM, Felipe Balbi ba...@ti.com wrote: hi, On Thu, Aug 28, 2014 at 01:31:58PM +0530, Vivek Gautam wrote: @@ -457,11 +458,19 @@ static int exynos5_usbdrd_phy_power_on(struct phy *phy) clk_prepare_enable(phy_drd-ref_clk); /* Enable VBUS

Re: [PATCH 5/5] phy: exynos5-usbdrd: Adding Kconfig dependency for Exynos7

2014-09-01 Thread Vivek Gautam
On Thu, Aug 28, 2014 at 8:36 PM, Daniele Forsi dfo...@gmail.com wrote: 2014-08-28 10:02 GMT+02:00 Vivek Gautam: This USB 3.0 PHY controller is also present on Exynos7 platform, so adding the dependency on ARCH_EXYNOS7 for this driver. +++ b/drivers/phy/Kconfig @@ -186,7 +186,7 @@ config

Re: [PATCH 1/1] mtd: cfi_cmdset_0002:add fixup for Micron M29EW after erase operation

2014-09-01 Thread Christian Riesch
Hi, On Mon, Sep 1, 2014 at 4:20 AM, bpqw b...@micron.com wrote: For Micron M29EW,20ms delay is needed after erase operation. Is there a datasheet/application note/technical note from Micron describing this issue? Like the TN-13-07 for the other M29EW fixes? Are all M29EW types affected?

Re: [PATCHv3 1/3] fs/buffer.c: allocate buffer cache with user specific flag

2014-09-01 Thread Gioh Kim
2014-09-01 오후 4:53, Jan Kara 쓴 글: On Fri 29-08-14 13:48:27, Gioh Kim wrote: What about below?: add gfp for __getblk_slow, change __getblk into __getblk_gfp, getblk_unmovable and __getblk are, I think, symmetric. If you say OK, I'm going to send v4 with tabs ;-) Yes, this looks like what

[PATCH v3] rtc: ds1307: add trickle charger device tree binding

2014-09-01 Thread Matti Vaittinen
Third attempt. Delta to patch V2: - Separated diode and resistor setup properties - Updated documentation accordingly - Explicitly told when to use optional 'trickle' properties. Worth noting: Only ds1339 dt binding is supported because this is the only chip I have. I _assume_ the

Re: [PATCH 1/1] mtd: cfi_cmdset_0002:add fixup for Micron M29EW after erase operation

2014-09-01 Thread Christian Riesch
On Mon, Sep 1, 2014 at 4:20 AM, bpqw b...@micron.com wrote: For Micron M29EW,20ms delay is needed after erase operation. Signed-off-by: BeanHuo b...@micron.com --- drivers/mtd/chips/cfi_cmdset_0002.c | 11 +++ 1 file changed, 11 insertions(+) diff --git

Re: [PATCH v5 04/12] sched: Allow all archs to set the capacity_orig

2014-09-01 Thread Vincent Guittot
On 30 August 2014 19:07, Preeti U Murthy pre...@linux.vnet.ibm.com wrote: Hi Vincent, On 08/26/2014 04:36 PM, Vincent Guittot wrote: capacity_orig is only changed for system with a SMT sched_domain level in order I think I had asked this before, but why only capacity_orig? The capacity of

Re: your mail

2014-09-01 Thread Dan Carpenter
On Mon, Sep 01, 2014 at 03:34:56PM +0800, sunwxg wrote: From: Sun Wang xiaoguang_wang5...@qq.com Subject: [PATCH] staging: unisys: visorutil: procobjecttree: fix coding style issue Your email headers are mangled. The subject is vague. regards, dan carpenter -- To unsubscribe from this

Re: [PATCH] ARM: at91: fix ramc standby function registration

2014-09-01 Thread Nicolas Ferre
On 27/08/2014 18:06, Alexandre Belloni : After the for_each_matching_node loop, we end up with a null value for np. Then, of_match_node() is not matching anything and we can't register the standby function and ramc no standby function available is printed. Fix that by selecting the first

Re: [PATCH 1/1] mtd: cfi_cmdset_0002:add fixup for Micron M29EW after erase operation

2014-09-01 Thread Christian Riesch
On Mon, Sep 1, 2014 at 4:20 AM, bpqw b...@micron.com wrote: For Micron M29EW,20ms delay is needed after erase operation. Signed-off-by: BeanHuo b...@micron.com --- drivers/mtd/chips/cfi_cmdset_0002.c | 11 +++ 1 file changed, 11 insertions(+) diff --git

Regression: Wake up from Suspend to RAM crashes Toshiba Satellite laptop to black screen

2014-09-01 Thread Zhang Rui
Hi, Hayes, We got a regression report complaining that wakeup from Suspend to RAM crashes, please refer to https://bugzilla.kernel.org/show_bug.cgi?id=82741 and it seems that it is introduced by commit b51ecea852b712618796d9eab8428a7d5f1f106f. Date: Wed Jul 9 14:52:51 2014 +0800 r8169:

[PATCH] drm/i915: Fix lock dropping in intel_tv_detect()

2014-09-01 Thread ville . syrjala
From: Ville Syrjälä ville.syrj...@linux.intel.com When intel_tv_detect() fails to do load detection it would forget to drop the locks and clean up the acquire context. Fix it up. This is a regression from: commit 208bf9fdcd3575aa4a5d48b3e0295f7cdaf6fc44 Author: Ville Syrjälä

Re: [PATCH 2/3] mfd: Add hi6421 PMIC core driver

2014-09-01 Thread Guodong Xu
On 08/27/2014 10:11 PM, Lee Jones wrote: This adds driver to support HiSilicon Hi6421 PMIC. Hi6421 includes multi- functions, such as regulators, codec, ADCs, Coulomb counter, etc. This driver includes core APIs _only_. Drivers for individul components, like voltage regulators, are

[tip:x86/urgent] x86, irq: Fix build error caused by 9eabc99a635a77cbf09

2014-09-01 Thread tip-bot for Jiang Liu
Commit-ID: f3761db1646d3ccb9ada2df8e27553a73ef43826 Gitweb: http://git.kernel.org/tip/f3761db1646d3ccb9ada2df8e27553a73ef43826 Author: Jiang Liu jiang@linux.intel.com AuthorDate: Sat, 30 Aug 2014 15:15:16 +0800 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Mon, 1 Sep 2014

[Bug] 3.16 fwdownload failure on Marvell 88SE9125 sata controller

2014-09-01 Thread Ming Lei
Hi Guys, When we use hdparm to download firmware on system with Marvell 88SE9125 SATA controller, it returns failure always and it has been observed in several systems: #hdparm --fwdownload-mode7 fw.bin --yes-i-kno-what-i-am-doing --please-destroy-my-drive /dev/sda /dev/sda: fwdownload:

Re: [PATCH] brcmfmac: BRCMFMAC should depend on HAS_DMA

2014-09-01 Thread Arend van Spriel
On 08/29/14 18:24, Geert Uytterhoeven wrote: If NO_DMA=y: drivers/built-in.o: In function `brcmf_msgbuf_release_array': msgbuf.c:(.text+0x34dbbe): undefined reference to `dma_unmap_single' drivers/built-in.o: In function `brcmf_proto_msgbuf_detach': (.text+0x34dca4): undefined reference to

[GIT Pull] x86 fixes for 3.17

2014-09-01 Thread Thomas Gleixner
Linus, please pull the latest irq-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-for-linus Just an export for an interrupt flow handler which is now used in gpio modules. Thanks, tglx -- Vincent Stehlé (1):

Re: [PATCH v3] apf27dev: add max1027 in the dts

2014-09-01 Thread Shawn Guo
On Sun, Aug 31, 2014 at 10:40:29PM +0200, Philippe Reynes wrote: Signed-off-by: Philippe Reynes trem...@gmail.com --- arch/arm/boot/dts/imx27-apf27dev.dts | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) Changelog: v3: (thanks Alexander Shiyan for the

Re: [PATCH v2 1/4] mfd: Add Ricoh RN5T618 PMIC core driver

2014-09-01 Thread Lee Jones
On Sat, 30 Aug 2014, Beniamino Galvani wrote: Ricoh RN5T618 is a power management IC which integrates 3 step-down DCDC converters, 7 low-dropout regulators, a Li-ion battery charger, fuel gauge, ADC, GPIOs and a watchdog timer. This commit adds a MFD core driver to support the I2C

Re: [PATCH v2 1/4] mfd: Add Ricoh RN5T618 PMIC core driver

2014-09-01 Thread Lee Jones
On Sat, 30 Aug 2014, Beniamino Galvani wrote: Ricoh RN5T618 is a power management IC which integrates 3 step-down DCDC converters, 7 low-dropout regulators, a Li-ion battery charger, fuel gauge, ADC, GPIOs and a watchdog timer. This commit adds a MFD core driver to support the I2C

Re: [PATCH v2 4/4] mfd: rn5t618: document device tree bindings

2014-09-01 Thread Lee Jones
On Sat, 30 Aug 2014, Beniamino Galvani wrote: This adds the device tree bindings documentation for Ricoh RN5T618. Signed-off-by: Beniamino Galvani b.galv...@gmail.com Reviewed-by: Mark Brown broo...@linaro.org --- Documentation/devicetree/bindings/mfd/rn5t618.txt | 36

[PATCH 0/3] Add MFD and regulator drivers for Hi6421 PMIC SoC

2014-09-01 Thread Guodong Xu
This patchset adds an MFD core driver and a regulator driver for Hi6421 PMIC SoC. Hi6421 is a PMIC SoC designed and manufactured by HiSilicon Ltd. It includes multi-functions, such as regulators, codec, ADCs, Coulomb counter, etc. Hi6421 can be used in various Hi3620 SoC based boards. Registers

[PATCH v8 1/3] Documentation: mfd: add docs for hi6421 dt

2014-09-01 Thread Guodong Xu
Add documentation for HiSilicon Hi6421 PMIC dt binding. Signed-off-by: Guodong Xu guodong...@linaro.org --- Documentation/devicetree/bindings/mfd/hi6421.txt | 38 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/hi6421.txt diff

[PATCH v8 2/3] mfd: Add hi6421 PMIC core driver

2014-09-01 Thread Guodong Xu
This adds driver to support HiSilicon Hi6421 PMIC. Hi6421 includes multi- functions, such as regulators, codec, ADCs, Coulomb counter, etc. This driver includes core APIs _only_. Drivers for individul components, like voltage regulators, are implemented in corresponding driver directories and

[PATCH v8 3/3] ARM: dts: hi3620-hi4511: Add HI6421 MFD and regulator nodes

2014-09-01 Thread Guodong Xu
Add Hi6421 MFD dts node and regulator nodes into hi3620-hi4511 board config dts file. Signed-off-by: Guodong Xu guodong...@linaro.org --- arch/arm/boot/dts/hi3620-hi4511.dts | 233 1 file changed, 233 insertions(+) diff --git

Re: [alsa-devel] [PATCH v5 1/2] mfd: arizona: Add support for INn_Mode register control

2014-09-01 Thread Lee Jones
On Sat, 30 Aug 2014, Inha Song wrote: Some boards need to set the INn_MODE[1:0] register to change the input signal patch. This wlf,inmode property is optional. If present, values must be specified less than or equal to the number of input singals. If values less than the number of input

  1   2   3   4   5   6   7   8   9   10   >