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

2014-08-31 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_bus

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

2014-08-31 Thread Jean-Francois Moine
On Mon, 1 Sep 2014 09:35:27 +0800 Xiubo Li 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 seems a bit complicated.

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

2014-08-31 Thread li.xi...@freescale.com
> > Signed-off-by: Xiubo Li > > --- > > 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 > > +++ b/sound/

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

2014-08-31 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 n

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

2014-08-31 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 lin

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

2014-08-31 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 --- scripts/headers_install.sh |

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

2014-08-31 Thread Mikko Rapeli
Fixes compiler error: drm/radeon_drm.h:794:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli --- 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 aefa2f6..6b12bbb7 100644 -

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

2014-08-31 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 --- include/uapi/drm/savage_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/ua

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

2014-08-31 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-08-31 Thread Mikko Rapeli
Fixes compilation error: drm/drm.h:132:2: error: unknown type name ‘size_t’ Signed-off-by: Mikko Rapeli --- 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 --- a/include/uapi/drm/drm.h

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

2014-08-31 Thread Mikko Rapeli
Useful when debugging the scripts. Signed-off-by: Mikko Rapeli --- 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 @@ -7,7 +7,7 @@ set -e

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

2014-08-31 Thread Mikko Rapeli
Fixes compilation error: drm/nouveau_drm.h:41:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- 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 2a5769f..90b9b4a 10

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

2014-08-31 Thread Mikko Rapeli
Fixes compilation error: xen/gntdev.h:38:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- 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 100644 --- a/include/u

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

2014-08-31 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 --- include/uapi/drm/via_drm.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/uapi/drm/via_drm.h b/include/uapi/drm/via_drm.h index 8b05

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

2014-08-31 Thread Mikko Rapeli
Fixes compilation errors like: drm/exynos_drm.h:30:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli --- 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 index d584412..59ee215 1

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

2014-08-31 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 just

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

2014-08-31 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 question

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

2014-08-31 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 --- include/uapi/drm/sis_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/drm/sis_drm.h b/include/uapi/drm/sis_drm.h index df37

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

2014-08-31 Thread Ard Biesheuvel
On 1 September 2014 05:09, Leo Yan 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 that it will f

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

2014-08-31 Thread Jean-Francois Moine
On Mon, 1 Sep 2014 09:35:26 +0800 Xiubo Li 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 > --- > sound/soc/generic/simple-card.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/sound/soc

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

2014-08-31 Thread Mikko Rapeli
Fixes compilation error: linux/rds.h:96:2: error: unknown type name ‘uint8_t’ Signed-off-by: Mikko Rapeli --- 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 --- a/include/uapi/lin

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

2014-08-31 Thread Mikko Rapeli
Fixes compiler error: linux/hsi/hsi_char.h:51:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- 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 b/include/uapi/linux/hsi/hsi_char.h

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

2014-08-31 Thread Mikko Rapeli
Fixes compilation error: scsi/scsi_bsg_fc.h:83:2: error: unknown type name ‘uint8_t’ Signed-off-by: Mikko Rapeli --- 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 index 3031b90..5cc25df

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

2014-08-31 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 --- include/uapi/drm/vmwgfx_drm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/drm/vmwgfx_drm.h b/include/uapi/drm/vmwgfx_drm.h index 4f

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

2014-08-31 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 --- include/uapi/scsi/scsi_netlink_fc.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/scsi/scsi_netlink_fc.h b/include/uapi/scsi

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

2014-08-31 Thread Mikko Rapeli
Fixes compilation error: linux/dm-log-userspace.h:416:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/dm-log-userspace.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/linux/dm-log-userspace.h b/include/uapi/linux/dm-log-userspac

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

2014-08-31 Thread Mikko Rapeli
Fixes compilation error: linux/netfilter_bridge/ebtables.h:38:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/netfilter_bridge/ebtables.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/linux/netfilter_bridge/ebtables.h b/include/

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

2014-08-31 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:0

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

2014-08-31 Thread Mikko Rapeli
Fixes compilation error: scsi/scsi_netlink.h:43:2: error: unknown type name ‘uint8_t’ Signed-off-by: Mikko Rapeli --- include/uapi/scsi/scsi_netlink.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/uapi/scsi/scsi_netlink.h b/include/uapi/scsi/scsi_netlink.h ind

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

2014-08-31 Thread Mikko Rapeli
Fixes compilation error: linux/sctp.h:652:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- 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 100644 --- a/include/ua

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

2014-08-31 Thread Su, Friendy
From: Su Friendy 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 not set iommu for the ear

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

2014-08-31 Thread Mikko Rapeli
Fixes compilation error: linux/nfsd/cld.h:40:2: error: unknown type name ‘uint16_t’ Signed-off-by: Mikko Rapeli --- 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 f14a9ab..9f60f9c 100644

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

2014-08-31 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 --- include/uapi/drm/r128_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/drm/r128_drm.h b/includ

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

2014-08-31 Thread Mikko Rapeli
Fixes compiler error since list_head is not exported to userspace headers. Signed-off-by: Mikko Rapeli --- 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 --- a/include/uapi/drm

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

2014-08-31 Thread Mikko Rapeli
Fixes compilation error: sound/hdspm.h:43:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- 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 d956c35..f799828 100644 --- a/inclu

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

2014-08-31 Thread Mikko Rapeli
Usefull when debugging the make scripts. Signed-off-by: Mikko Rapeli --- 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 @@ quiet_cmd_link-vmlinux = LINK$@

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

2014-08-31 Thread Mikko Rapeli
Fixes compilation error: drm/drm_mode.h:472:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- 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 f104c26..93b25bae 100644 --- a/

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

2014-08-31 Thread Mikko Rapeli
Fixes compilation error: xen/gntalloc.h:22:2: error: unknown type name ‘uint16_t’ Signed-off-by: Mikko Rapeli --- 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 76bd580..184df7e 100644 --- a/i

Re: Possible regression in 3.17-rc2 in i915 driver

2014-08-31 Thread Jani Nikula
+intel-gfx Ville, Daniel, any thoughts before we queue a revert? BR, Jani. On Sun, 31 Aug 2014, Tibor Billes 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 > timestamps

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

2014-08-31 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

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

2014-08-31 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 cau

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

2014-08-31 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 a

[SMP BUG?] the return value of is_smp() is bug?

2014-08-31 Thread Wang Long
Hi,all In kernel 3.17-rc2, when i set CONFIG_HAVE_SMP = y and CONFIG_SMP_ON_UP = y in .config file. the secondary core can not boot. when i set CONFIG_HAVE_SMP = y and CONFIG_SMP_ON_UP = n in .config file, the secondary core can boot. But this does not happen in kernel 3.10 lts kernel, Whether

[PATCH] ARM: Kconfig: Open force maximum zone order for all SoCs

2014-08-31 Thread Xiubo Li
Signed-off-by: Xiubo Li --- arch/arm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index c49a775..bf8445c 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1687,7 +1687,7 @@ config ARCH_WANT_GENERAL_HUGETLB source "mm/Kconf

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

2014-08-31 Thread Viresh Kumar
On 1 September 2014 10:48, Shilpa Bhat wrote: > Hi Viresh, > On Fri, 2014-08-29 at 05:33 +0530, Viresh Kumar wrote: >> On 28 August 2014 19:36, Shilpasri G Bhat >> wrote: >> > >> > Changes v1->v2: >> > Invoke .target() driver callback to set the cpus to nominal frequency >> > in reboot notifier,

[PATCHv1 3/7] ASoC: dts: vf610-twr: To support simple card newest style.

2014-08-31 Thread Xiubo Li
This patch depends on the following simple card patch: === ASoC: simple-card: Merge single and muti DAI link code. This patch merge single DAI link and muti-DAI links code together, and simply the simple-card driver code. And also do some other improvement: Since from the DAI format micro SND_SO

[PATCHv1 0/7] simple-card: simplify the code.

2014-08-31 Thread Xiubo Li
Change in v1: - Add simple-card dts node patches. - Fix format parsing bug from Jean-Francois's comment. - Rebase to Kuninori-san's newest changes in next branch. Xiubo Li (7): ASoC: simple-card: Merge single and muti DAI link code. ASoC: simple-card: Adjust the comments of simple card. AS

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

2014-08-31 Thread Marek Szyprowski
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 translations, so no default dma-mapping structures should be initialized. Signed-off-

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

2014-08-31 Thread Xiubo Li
This patch merge single DAI link and muti-DAI links code together, and simply the simple-card driver code. And also do some other improvement: Since from the DAI format micro SND_SOC_DAIFMT_CBx_CFx, the 'CBx' mean Codec's bit clock is as master/slave and the 'CFx' mean Codec's frame clock is as m

[PATCHv1 6/7] ASoC: dts: sh73a0-kzm9g-reference: To support simple card newest style.

2014-08-31 Thread Xiubo Li
This patch depends on the following simple card patch: === ASoC: simple-card: Merge single and muti DAI link code. This patch merge single DAI link and muti-DAI links code together, and simply the simple-card driver code. And also do some other improvement: Since from the DAI format micro SND_SO

[PATCHv1 2/7] ASoC: simple-card: Adjust the comments of simple card.

2014-08-31 Thread Xiubo Li
Signed-off-by: Xiubo Li --- sound/soc/generic/simple-card.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c index d45c8dd..e9d5a69 100644 --- a/sound/soc/generic/simple-card.c +++

[PATCHv1 5/7] ASoC: dts: r8a7740-armadillo800eva-reference: To support simple card newest style.

2014-08-31 Thread Xiubo Li
This patch depends on the following simple card patch: === ASoC: simple-card: Merge single and muti DAI link code. This patch merge single DAI link and muti-DAI links code together, and simply the simple-card driver code. And also do some other improvement: Since from the DAI format micro SND_SO

[PATCHv1 7/7] ASoC: dts: kirkwood-openrd-client: To support simple card newest style.

2014-08-31 Thread Xiubo Li
This patch depends on the following simple card patch: === ASoC: simple-card: Merge single and muti DAI link code. This patch merge single DAI link and muti-DAI links code together, and simply the simple-card driver code. And also do some other improvement: Since from the DAI format micro SND_SO

[PATCHv1 4/7] ASoC: dts: kirkwood-t5325: To support simple card newest style.

2014-08-31 Thread Xiubo Li
This patch depends on the following simple card patch: === ASoC: simple-card: Merge single and muti DAI link code. This patch merge single DAI link and muti-DAI links code together, and simply the simple-card driver code. And also do some other improvement: Since from the DAI format micro SND_SO

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

2014-08-31 Thread Shilpa Bhat
Hi Viresh, On Fri, 2014-08-29 at 05:33 +0530, Viresh Kumar wrote: > On 28 August 2014 19:36, Shilpasri G Bhat > wrote: > > > > Changes v1->v2: > > Invoke .target() driver callback to set the cpus to nominal frequency > > in reboot notifier, instead of calling cpufreq_suspend() as suggested > > by

Re: [PATCH v4 0/6] kvm, mem-hotplug: Do not pin ept identity pagetable and apic access page.

2014-08-31 Thread tangchen
Hi Gleb, Would you please help to review these patches ? Thanks. On 08/27/2014 06:17 PM, Tang Chen wrote: ept identity pagetable and apic access page in kvm are pinned in memory. As a result, they cannot be migrated/hot-removed. But actually they don't need to be pinned in memory. [For ept i

Re: early microcode: how to disable at runtime?

2014-08-31 Thread Borislav Petkov
On Sun, Aug 31, 2014 at 05:11:26PM -0300, Henrique de Moraes Holschuh wrote: > > Probably more like something more like arch/x86/boot/cmdline.c. Maybe > > we could even make it sharable. > > Looks like that would work, yes. Guys, guys, please relax and check the code first: "dis_ucode_ldr". --

[PATCH v2] DRBG: remove check for uninitialized DRBG handle

2014-08-31 Thread Stephan Mueller
The drbg_healthcheck() contained a test to call the DRBG with an uninitialized DRBG cipher handle. As this is an inappropriate use of the kernel crypto API to try to generate random numbers before initialization, checks verifying for an initialized DRBG have been removed in previous patches. Now,

Re: [PATCH net-next v2] r8152: reduce the number of Tx

2014-08-31 Thread David Miller
From: Hayes Wang Date: Mon, 1 Sep 2014 02:46:38 + > From: David Miller [mailto:da...@davemloft.net] > [...] >> This driver has a loop that iterates MAX_TX times to initialize both >> the RX and TX buffers. >> >> So if they are not equal, it can't possibly work. > > Excuse me. I don't find

[PATCH] crypto: caam - Dynamic allocation of addresses for various memory blocks in CAAM.

2014-08-31 Thread Nitesh Narayan Lal
CAAM's memory is broken into following address blocks: Block Included Registers 0 General Registers 1-4 Job ring registers 6 RTIC registers 7 QI registers 8 DECO and CCB Size of the above stated blocks varies in various

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

2014-08-31 Thread Pankaj Dubey
Sorry I forgot to add maintainer into CC. +Lee Jones Any comments on this patch. As a lot of Exynos PMU patch sets are dependent on this patch. Thanks, Pankaj Dubey > -Original Message- > From: Pankaj Dubey [mailto:pankaj.du...@samsung.com] > Sent: Friday, August 22, 2014 1:4

Re: [PATCH v2 4/6] block: loop: say goodby to bio

2014-08-31 Thread Ming Lei
On Sun, Aug 31, 2014 at 6:14 AM, Elliott, Robert (Server Storage) wrote: > > >> -Original Message- >> From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- >> ow...@vger.kernel.org] On Behalf Of Ming Lei >> Sent: Saturday, 30 August, 2014 11:08 AM >> To: Jens Axboe; linux-kernel@v

Re: [PATCH 0/6] hugepage migration fixes (v3)

2014-08-31 Thread Naoya Horiguchi
On Sun, Aug 31, 2014 at 08:27:35AM -0700, Andi Kleen wrote: > Naoya Horiguchi writes: > > > This is the ver.3 of hugepage migration fix patchset. > > I wonder how far we are away from support THP migration with the > standard migrate_pages() syscall? I don't think that we are very far from this

Re: [Xen-devel] [PATCH] Solved the Xen PV/KASLR riddle

2014-08-31 Thread Juergen Gross
On 08/29/2014 04:55 PM, Konrad Rzeszutek Wilk wrote: On Fri, Aug 29, 2014 at 03:44:06PM +0100, Jan Beulich wrote: On 29.08.14 at 16:27, wrote: Sure. Btw, someone also contacted me saying they have the same problem without changing the layout but having really big initrd (500M). While that feel

Re: Status of 'unicore32' architecture in Linux kernel

2014-08-31 Thread Chen Gang
Firstly, what you have done encourage me, thanks. On 9/1/14 7:51, Guenter Roeck wrote: > Status of 'unicore32' architecture in Linux kernel > -- > > The idea was to create a working kernel and initramfs for the ongoing Linux > kernel test project.

Re: Status of 'cris' architecture support in Linux kernel

2014-08-31 Thread Mikael Starvik
Jesper is actually back at work today but give him a few days to catch up. > 31 aug 2014 kl. 20:51 skrev "Sam Ravnborg" : > >> On Sun, Aug 31, 2014 at 10:50:10AM -0700, Guenter Roeck wrote: >> The idea was to create a crisv32 kernel and initramfs to work with qemu >> for the ongoing Linux kernel

[PATCH] perf/documentation: Fix typo in perf/Documentation

2014-08-31 Thread Masanari Iida
This patch fix spelling typo found in tool/perf/Documentation. Signed-off-by: Masanari Iida --- tools/perf/Documentation/perf-diff.txt | 6 +++--- tools/perf/Documentation/perf-kvm.txt | 4 ++-- tools/perf/Documentation/perf-list.txt | 2 +- tools/perf/Documentation/p

[PATCH 4/4] staging: comedi: hwdrv_apci1500: miscellaneous cleanup

2014-08-31 Thread Chase Southwood
This patch completes two final matters of cleanup which are each too small for their own patch. It corrects a couple of indentation issues and removes a return statement at the end of a void function. Signed-off-by: Chase Southwood Cc: Ian Abbott Cc: H Hartley Sweeten --- .../staging/comedi/d

[PATCH 3/4] staging: comedi: hwdrv_apci1500: clean some whitespace style issues

2014-08-31 Thread Chase Southwood
Now that commented out code has been removed, else statements can move to the same line as the close brace of the if statement. Also, a blank line has been added between declarations and code where needed. Signed-off-by: Chase Southwood Cc: Ian Abbott Cc: H Hartley Sweeten --- .../comedi/driv

[PATCH 0/4] staging: comedi: hwdrv_apci1500: coding style cleanups

2014-08-31 Thread Chase Southwood
This patchset begins by removing unneeded braces and commented out lines of code, and then tidies whitespace issues that are revealed after the braces/dead code is removed. Chase Southwood (4): staging: comedi: hwdrv_apci1500: remove unneeded braces staging: comedi: hwdrv_apci1500: remove comm

[PATCH 1/4] staging: comedi: hwdrv_apci1500: remove unneeded braces

2014-08-31 Thread Chase Southwood
We don't need braces around single-statement blocks. Signed-off-by: Chase Southwood Cc: Ian Abbott Cc: H Hartley Sweeten --- .../comedi/drivers/addi-data/hwdrv_apci1500.c | 30 +- 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/drivers/staging/comedi/dr

[PATCH 2/4] staging: comedi: hwdrv_apci1500: remove commented out code

2014-08-31 Thread Chase Southwood
Signed-off-by: Chase Southwood Cc: Ian Abbott Cc: H Hartley Sweeten --- .../comedi/drivers/addi-data/hwdrv_apci1500.c | 249 ++--- 1 file changed, 123 insertions(+), 126 deletions(-) diff --git a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci1500.c b/drivers/staging/

[PATCH] staging: comedi: hwdrv_apci3501: change printk to dev_err

2014-08-31 Thread Chase Southwood
dev_err() is preferred to printk() in device drivers. Signed-off-by: Chase Southwood Cc: Ian Abbott Cc: H Hartley Sweeten --- drivers/staging/comedi/drivers/addi-data/hwdrv_apci3501.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/addi-data/h

[SMP BUG?] the return value of is_smp() is bug?

2014-08-31 Thread Wang Long
Hi,all In kernel 3.17-rc2, when i set CONFIG_HAVE_SMP = y and CONFIG_SMP_ON_UP = y in .config file. the secondary core can not boot. when i set CONFIG_HAVE_SMP = y and CONFIG_SMP_ON_UP = n in .config file, the secondary core can boot. But this does not happen in kernel 3.10 lts kernel, Whether

[PATCH] staging: comedi: hwdrv_apci035: remove useless return statement

2014-08-31 Thread Chase Southwood
Checkpatch pointed out a void function with a return statement. It can be removed. Signed-off-by: Chase Southwood Cc: Ian Abbott Cc: H Hartley Sweeten --- drivers/staging/comedi/drivers/addi-data/hwdrv_apci035.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/comedi/drive

RE: SEA& AIR & COURIER FREIGHT FORWARDER IN CHINA

2014-08-31 Thread RAIN
Dear Sir, Good day! I'm Rain Mao from Shenzhen Top Way International Forwarding Co.,ltd We are providing the best service for Air and sea shipment from all cities of China Our competitive advantages : 1. Full container shipment china ports to central and south American ports 2. DHL,UPS,FEDE

RE: [PATCH 3/3] GPIO: gpio-dwapb: Suspend & Resume PM enabling

2014-08-31 Thread Chen, Alvin
> > +/* Store GPIO context across system-wide suspend/resume transitions > > +*/ static struct gpio_saved_regs { > > + unsigned long data; > > + unsigned long dir; > > + unsigned long int_en; > > + unsigned long int_mask; > > + unsigned long int_type; > > + unsigned long int_pol; > > +

[SMP BUG?] the return value of is_smp() is bug?

2014-08-31 Thread Wang Long
Hi,all In kernel 3.17-rc2, when i set CONFIG_HAVE_SMP = y and CONFIG_SMP_ON_UP = y in .config file. the secondary core can not boot. when i set CONFIG_HAVE_SMP = y and CONFIG_SMP_ON_UP = n in .config file, the secondary core can boot. But this does not happen in kernel 3.10 lts kernel, Whether

Re: [RFC PATCH v2 4/4] ftracetest: Add XFAIL/XPASS/UNSUPPORTED as result code

2014-08-31 Thread Masami Hiramatsu
(2014/08/29 10:05), Shuah Khan wrote: > On 08/26/2014 05:15 AM, Masami Hiramatsu wrote: >> Add XFAIL, XPASS and UNSUPPORTED as a result code. These are >> used for the results that test case is expected to fail or >> unsupported feature (by config). >> This also introduces PASS/FAIL/XFAIL/XPASS/UNS

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

2014-08-31 Thread Leo Yan
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 that it will force to reload FPSIMD state for the thread, otherwis

RE: [PATCH 2/3] GPIO: gpio-dwapb: Support Debounce

2014-08-31 Thread Chen, Alvin
> > > > I don't understand the reason for adding dwapb_read and dwapb_write here. > > The rest of the driver is using readl and writel. I'd rather not see > > two different methods being used in the same driver for register access. > > Maybe I'm missing something, but if we need to add dwapb_read/

Re: workqueue: WARN at at kernel/workqueue.c:2176

2014-08-31 Thread Lai Jiangshan
Hi, Peter Could you make a patch for it, please? Jason J. Herne's test showed we addressed the bug. But the fix is not in kernel yet. Some new highly related reports are come up again. I don't want to argue any more, no matter how the patch will be, I will accept. And please add the following

RE: [RFC][PATCH] ASoC: simple-card: Merge single and muti DAI link code.

2014-08-31 Thread li.xi...@freescale.com
> > --- > > > > Hi, > > > > This patch will break the old DT, so i just send one RFC version, and > > will add the old DT patches in next version if this patch can work > > well. > > > > Any comments and advices are welcome. > > Hi Xiubo, > > My DT is > > sound { > compatible

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

2014-08-31 Thread Jingoo Han
On Monday, September 01, 2014 11:21 AM, Bean Huo wrote: > > For Micron M29EW,20ms delay is needed after erase operation. You already added the reason to cfi_fixup_m29ew_delay_after_erase(). However, please add the comment to this commit message. > > Signed-off-by: BeanHuo BeanHuo/Bean Huo Ot

RE: [PATCH net-next v2] r8152: reduce the number of Tx

2014-08-31 Thread Hayes Wang
From: David Miller [mailto:da...@davemloft.net] [...] > This driver has a loop that iterates MAX_TX times to initialize both > the RX and TX buffers. > > So if they are not equal, it can't possibly work. Excuse me. I don't find that the "RTL8152_MAX_TX" is used by rx buffer. The rx buffer only

Re: [PATCH v2 5/7] Adding SKY81452 regulator device tree bindings document

2014-08-31 Thread Gyungoh Yoo
Please ingnore 'only' this patch. When sky81452-regulator driver was applied before, The previous version of this document 'sky81452-regulator.txt' was applied. I will resubmit the changes as incremental patches against current code of sky81452-regulator.txt. I am sorry for confusiong. Thank you

[PATCH v2.2 2/2] dt-bindings: Adding compatible attribute for SKY81452 regulator

2014-08-31 Thread Gyungoh Yoo
Adding compatible attribute for SKY81452 regulator driver. --- Documentation/devicetree/bindings/regulator/sky81452-regulator.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/regulator/sky81452-regulator.txt b/Documentation/devicetree/b

[PATCH v2.2 1/2] regulator: sky81452: Adding compatible attribute in DT

2014-08-31 Thread Gyungoh Yoo
Adding compatible attriubute in DT. Fixed typo. --- drivers/regulator/sky81452-regulator.c | 22 -- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/drivers/regulator/sky81452-regulator.c b/drivers/regulator/sky81452-regulator.c index 97aff0c..b9c54c6 100644 ---

[PATCH v2.2 0/2] regulator: sky81452: Adding compatible attribute in DT document

2014-08-31 Thread Gyungoh Yoo
Adding comptiable attribute in DT document. Splitted the patches for each subsystem. Fixed typo in DT document. Gyungoh Yoo (2): regulator: sky81452: Adding compatible attribute in DT dt-bindings: Adding compatible attribute for SKY81452 regulator .../bindings/regulator/sky81452-regulator.tx

Re: [PATCH] earlyprintk: re-enable earlyprintk calling early_param

2014-08-31 Thread Sahara
On Fri, 29 Aug 2014, Stephen Warren wrote: On 08/28/2014 11:28 PM, Sahara wrote: On Wed, 27 Aug 2014, Thierry Reding wrote: On Thu, Aug 14, 2014 at 07:13:36PM +0900, kpark3...@gmail.com wrote: From: Sahara Although there are many obs_kernel_param and its names are earlyprintk and also

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

2014-08-31 Thread Xiubo Li
We shouldn't forget decrement the last DT node when the for_each_child_of_node() has finished searching. Signed-off-by: Xiubo Li --- 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

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

2014-08-31 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 --- sound/soc/generic/simple-card.c | 52 ++---

[PATCHv2 0/2] ASoC: simple-card: Fix bug about DT node's refcount

2014-08-31 Thread Xiubo Li
Change for v2: - Just rebased to the next branch newest head. Xiubo Li (2): ASoC: simple-card: Fix bug of forgetting decrement DT node's refcount ASoC: simple-card: Fix bug of wrong decrement DT node's refcount sound/soc/generic/simple-card.c | 53 ++---

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

2014-08-31 Thread bpqw
For Micron M29EW,20ms delay is needed after erase operation. Signed-off-by: BeanHuo --- drivers/mtd/chips/cfi_cmdset_0002.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/mtd/chips/cfi_cmdset_0002.c b/drivers/mtd/chips/cfi_cmdset_0002.c index 5a4bfe3..9b0de91 100644

Re: [RFC 1/2] USB: OTG: Hold wakeupsource when VBUS present

2014-08-31 Thread Peter Chen
On Fri, Aug 22, 2014 at 03:19:32PM +0530, Kiran Kumar Raparthy wrote: > From: Todd Poynor > > USB: OTG: Hold wakeupsource when VBUS present > It is not related to OTG, would you change a name? > Enabled by default, can disable with: >echo N > /sys/module/otg_wakeupsource/parameters/enabled

[PATCH V1] regulator: DA9211 : remove an unneeded semicolon

2014-08-31 Thread James Ban
This is a patch for removing an unneeded semicolon. Signed-off-by: James Ban --- This patch is relative to linux-next repository tag next-20140829. drivers/regulator/da9211-regulator.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/da9211-regulator.c

RE: [RFC][PATCH] ASoC: simple-card: Merge single and muti DAI link code.

2014-08-31 Thread li.xi...@freescale.com
Hi Mark, Kuninori-san, Very sorry, I just missed that patch series. See the next version. Thanks, BRs Xiubo > -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: Friday, August 29, 2014 8:01 PM > To: Xiubo Li-B47053 > Cc: alsa-de...@alsa-project.org; linux-kern

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

2014-08-31 Thread Leo Yan
On 09/01/2014 06:11 AM, Catalin Marinas wrote: On 31 Aug 2014, at 06:39, Leo Yan wrote: Now arm64 defers reloading FPSIMD state, but this optimization also introduces the bug after cpu resume back from low power mode. You are right, I can see a bug here. diff --git a/arch/arm64/kernel/fpsim

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

2014-08-31 Thread Simon Horman
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: > > Hi Simon, > > > > On Fri, Aug 29, 2014 at 2:34 AM, Simon Horman wrote: > > > On Thu, Aug 28, 2014 at 10:05:20AM +0200, Geert Uytterhoeven wrote: > > >> Add Renes

Linux 3.17-rc3

2014-08-31 Thread Linus Torvalds
I'm back to the usual Sunday release schedule, and -rc3 is out there now. As expected, it is larger than rc2, since people are clearly getting back from their Kernel Summit travels etc. But happily, it's not *much* larger than rc2 was, and there's nothing particularly odd going on, so I'm going to

  1   2   3   >