[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,

[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

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

[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.

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.

[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

[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

[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

[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

[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

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

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

[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

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;

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

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

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

[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 +-

[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 ---

[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 ---

[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

[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

[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

[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

[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,

[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

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.

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,

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

[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,

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

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 { >

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

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

[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

[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

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

[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 >

[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;

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

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

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

[PATCH] mm: use pgprot_val to access vm_page_prot

2014-08-31 Thread Sasha Levin
pgprot is defined differently in every arch, use the per-arch pgprot_val to access it. This fixes a build failure on various arches such as tile and powerpc caused by "mm: introduce dump_vma". Signed-off-by: Sasha Levin --- mm/page_alloc.c |3 ++- 1 file changed, 2 insertions(+), 1

Re: [PATCH] moduleparam: Resolve missing-field-initializer warning

2014-08-31 Thread Rusty Russell
Jeff Kirsher writes: > From: Mark Rustad > > Resolve a missing-field-initializer warning, that is produced > by every reference to module_param_call, by using designated > initialization for the first field. That is enough to silence > the complaint. > > Signed-off-by: Mark Rustad >

Re: [PATCH v3 8/9] usb: chipidea: move usb_otg into struct ci_hdrc

2014-08-31 Thread Peter Chen
On Fri, Aug 29, 2014 at 04:25:35PM +0200, Antoine Tenart wrote: > Hi, > > On Tue, Aug 26, 2014 at 06:22:40PM +0800, Peter Chen wrote: > > On Fri, Aug 22, 2014 at 05:50:19PM +0200, Antoine Ténart wrote: > > > > If the common usb_otg and usb_phy struct still has another's pointer, you > > may not

[PATCH v2 1/1] USB: Add device quirk for ASUS T100 Base Station keyboard

2014-08-31 Thread Lu Baolu
This full-speed USB device generates spurious remote wakeup event as soon as USB_DEVICE_REMOTE_WAKEUP feature is set. As the result, Linux can't enter system suspend and S0ix power saving modes once this keyboard is used. This patch tries to introduce USB_QUIRK_IGNORE_REMOTE_WAKEUP quirk. With

Re: clk: shmobile: CONFIG_ARCH_R8A7794?

2014-08-31 Thread Simon Horman
On Sat, Aug 30, 2014 at 06:03:26PM +0200, Paul Bolle wrote: > Hi Hisashi, > > Your commit 8de078f189da ("clk: shmobile: Add r8a7794 support") landed > in next-20140828. It adds a single line to a Makefile. That new line > contains a check for CONFIG_ARCH_R8A7794. > > There's no Kconfig symbol

[PATCH 0/5] beautify EFI memmap logs

2014-08-31 Thread Laszlo Ersek
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. Example output with the patchset on arm64 (in a

[PATCH 4/5] ia64: efi: format EFI memory type & attrs with efi_md_typeattr_format()

2014-08-31 Thread Laszlo Ersek
Signed-off-by: Laszlo Ersek --- arch/ia64/kernel/efi.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/ia64/kernel/efi.c b/arch/ia64/kernel/efi.c index 741b99c..c52d754 100644 --- a/arch/ia64/kernel/efi.c +++ b/arch/ia64/kernel/efi.c @@ -568,6 +568,7 @@ efi_init

[PATCH 1/5] efi: add macro for EFI_MEMORY_UCE memory attribute

2014-08-31 Thread Laszlo Ersek
Add the following macro from the UEFI spec, for completeness: EFI_MEMORY_UCE Memory cacheability attribute: The memory region supports being configured as not cacheable, exported, and supports the "fetch and add" semaphore mechanism. Signed-off-by: Laszlo

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

2014-08-31 Thread Simon Horman
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 Renesas SH-Mobile, R-Mobile, and R-Car Platform Device Tree Bindings > >>

[PATCH 3/5] x86: efi: format EFI memory type & attrs with efi_md_typeattr_format()

2014-08-31 Thread Laszlo Ersek
Signed-off-by: Laszlo Ersek --- arch/x86/platform/efi/efi.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c index 850da94..ae2573a 100644 --- a/arch/x86/platform/efi/efi.c +++ b/arch/x86/platform/efi/efi.c @@

[PATCH 5/5] arm64: efi: format EFI memory type & attrs with efi_md_typeattr_format()

2014-08-31 Thread Laszlo Ersek
Signed-off-by: Laszlo Ersek --- arch/arm64/kernel/efi.c | 26 ++ 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/arch/arm64/kernel/efi.c b/arch/arm64/kernel/efi.c index 03aaa99..3b1f23c 100644 --- a/arch/arm64/kernel/efi.c +++ b/arch/arm64/kernel/efi.c @@

[PATCH 2/5] efi: introduce efi_md_typeattr_format()

2014-08-31 Thread Laszlo Ersek
At the moment, there are three architectures debug-printing the EFI memory map at initialization: x86, ia64, and arm64. They all use different format strings, plus the EFI memory type and the EFI memory attributes are similarly hard to decode for a human reader. Introduce a helper __init function

[PATCH] ata: Disabling the async PM for JMicron chip 363/361

2014-08-31 Thread Chuansheng Liu
After enabled the PM feature that supporting async noirq(76569faa62 (PM / sleep: Asynchronous threads for resume_noirq)), Jay hit the system resuming issue, that one of the JMicron controller can not be powered up. His device tree is like below: +-1c.4-[02]--+-00.0 JMicron

Re: [GIT PULL] target updates for v3.17-rc3

2014-08-31 Thread Linus Torvalds
On Sun, Aug 31, 2014 at 11:59 AM, Nicholas A. Bellinger wrote: > > Note that these patches where originally intended for -rc1, but missed > the merge window. They are mostly iser-target related bug-fixes, along > with a few other very minor cleanups. So this pull request was strictly speaking

[PATCH -next] ASoC: es8328: fix error return code in es8328_codec_probe()

2014-08-31 Thread weiyj_lk
From: Wei Yongjun Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun --- sound/soc/codecs/es8328.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/codecs/es8328.c

[PATCH] drivers: staging: rtl8723au: Fix return is not a function, parentheses are not required error

2014-08-31 Thread Greg Donald
Fix checkpatch.pl return is not a function, parentheses are not required error Signed-off-by: Greg Donald --- drivers/staging/rtl8723au/include/osdep_service.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723au/include/osdep_service.h

Re: [PATCH v2 3/6] block: loop: convert to blk-mq

2014-08-31 Thread Ming Lei
Hi Robert, Great thanks for your so detailed review. On Sun, Aug 31, 2014 at 6:03 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

Re: [PATCH -mmotm v2] mm: fix kmemcheck.c build errors

2014-08-31 Thread Joonsoo Kim
On Sun, Aug 31, 2014 at 05:17:14PM -0700, Randy Dunlap wrote: > On 08/31/14 17:13, Joonsoo Kim wrote: > > On Sun, Aug 31, 2014 at 04:33:12PM -0700, Randy Dunlap wrote: > >> On 08/31/14 07:48, Randy Dunlap wrote: > >>> On 08/31/14 04:36, Andrey Ryabinin wrote: > 2014-08-30 5:48 GMT+04:00 Randy

[PATCH] drivers: staging: ft1000: Fix return is not a function, parentheses are not required errors

2014-08-31 Thread Greg Donald
Fix checkpatch.pl return is not a function, parentheses are not required errors Signed-off-by: Greg Donald --- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 9 + drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git

Re: [PATCH v2 3/3] KVM: x86: #GP when attempts to write reserved bits of Variable Range MTRRs

2014-08-31 Thread Wanpeng Li
On Fri, Aug 29, 2014 at 06:47:54PM +0200, Paolo Bonzini wrote: >Il 19/08/2014 11:04, Wanpeng Li ha scritto: >> Section 11.11.2.3 of the SDM mentions "All other bits in the >> IA32_MTRR_PHYSBASEn >> and IA32_MTRR_PHYSMASKn registers are reserved; the processor generates a >> general-protection

Re: [PATCH 1/3] mm/slab: use percpu allocator for cpu cache

2014-08-31 Thread Joonsoo Kim
On Wed, Aug 27, 2014 at 06:37:33PM -0500, Christoph Lameter wrote: > One minor nit. Otherwise > > Acked-by: Christoph Lameter > > On Thu, 21 Aug 2014, Joonsoo Kim wrote: > > > @@ -2041,56 +1982,63 @@ static size_t calculate_slab_order(struct > > kmem_cache *cachep, > > return left_over; >

Re: [PATCH -mmotm v2] mm: fix kmemcheck.c build errors

2014-08-31 Thread Randy Dunlap
On 08/31/14 17:13, Joonsoo Kim wrote: > On Sun, Aug 31, 2014 at 04:33:12PM -0700, Randy Dunlap wrote: >> On 08/31/14 07:48, Randy Dunlap wrote: >>> On 08/31/14 04:36, Andrey Ryabinin wrote: 2014-08-30 5:48 GMT+04:00 Randy Dunlap : > From: Randy Dunlap > > Add header file to fix

Re: [RFC PATCH v3 4/4] mm/page_alloc: restrict max order of merging on isolated pageblock

2014-08-31 Thread Joonsoo Kim
On Fri, Aug 29, 2014 at 12:52:44PM -0400, Naoya Horiguchi wrote: > Hi Joonsoo, > > On Tue, Aug 26, 2014 at 05:08:18PM +0900, Joonsoo Kim wrote: > > Current pageblock isolation logic could isolate each pageblock > > individually. This causes freepage accounting problem if freepage with > >

Re: [RFC PATCH v3 1/4] mm/page_alloc: fix incorrect isolation behavior by rechecking migratetype

2014-08-31 Thread Joonsoo Kim
On Fri, Aug 29, 2014 at 01:46:41PM -0400, Naoya Horiguchi wrote: > On Tue, Aug 26, 2014 at 05:08:15PM +0900, Joonsoo Kim wrote: > > There are two paths to reach core free function of buddy allocator, > > __free_one_page(), one is free_one_page()->__free_one_page() and the > > other is

Re: [PATCH -mmotm v2] mm: fix kmemcheck.c build errors

2014-08-31 Thread Joonsoo Kim
On Sun, Aug 31, 2014 at 04:33:12PM -0700, Randy Dunlap wrote: > On 08/31/14 07:48, Randy Dunlap wrote: > > On 08/31/14 04:36, Andrey Ryabinin wrote: > >> 2014-08-30 5:48 GMT+04:00 Randy Dunlap : > >>> From: Randy Dunlap > >>> > >>> Add header file to fix kmemcheck.c build errors: > >>> > >>>

Re: [PATCH v2] serial: serial_core.c: printk replacement

2014-08-31 Thread Ryan Mallon
On 29/08/14 00:15, Sudip Mukherjee wrote: > printk replaced with corresponding pr_err, dev_alert, dev_notice and pr_info. > fixed two broken user-visible strings used by the corresponding printk > > Signed-off-by: Sudip Mukherjee > --- > > In the first patch i sent Greg suggested to use

Re: [PATCH] drm/vmwgfx: select FB when DRM_VMWGFX is selected

2014-08-31 Thread Max Filippov
On Mon, Sep 1, 2014 at 3:20 AM, Randy Dunlap wrote: > On 08/31/14 16:07, Max Filippov wrote: >> Otherwise, if FB is not selected build fails at linking step: >> vmwgfx_fb.c:(.text+0x4098b): undefined reference to `register_framebuffer' >> vmwgfx_fb.c:(.text+0x409c0): undefined reference to

Status of 'unicore32' architecture in Linux kernel

2014-08-31 Thread Guenter Roeck
Status of 'unicore32' architecture in Linux kernel -- The idea was to create a working kernel and initramfs for the ongoing Linux kernel test project. This summary describes the result of this effort. Overall, conclusion is that the architecture

Re: [RFC v1 0/3] driver-core: add asynch module loading support

2014-08-31 Thread Tejun Heo
Hello, Dmitry. On Sun, Aug 31, 2014 at 04:06:51PM -0700, Dmitry Torokhov wrote: > On Sun, Aug 31, 2014 at 06:02:38PM -0400, Tejun Heo wrote: > > Hmmm... that is a different case from the one I'm aware of - userland > > timing out on module probing and sending SIGKILL aborting device > > probing,

[PATCH -mmotm v2] mm: fix kmemcheck.c build errors

2014-08-31 Thread Randy Dunlap
On 08/31/14 07:48, Randy Dunlap wrote: > On 08/31/14 04:36, Andrey Ryabinin wrote: >> 2014-08-30 5:48 GMT+04:00 Randy Dunlap : >>> From: Randy Dunlap >>> >>> Add header file to fix kmemcheck.c build errors: >>> >>> ../mm/kmemcheck.c:70:7: error: dereferencing pointer to incomplete type >>>

Re: [RFC v1 0/3] driver-core: add asynch module loading support

2014-08-31 Thread Tejun Heo
Hello, On Sun, Aug 31, 2014 at 04:20:08PM -0700, Arjan van de Ven wrote: > >Oh, but there already is a reported case which fails. Hard drives > >with a lot of platters take > 10secs to spin up and there are > >configurations which regularly fail the initial reset and it's quite > >rare but

[3.16.1 REGRESSION]: Simtec Entropy Key (cdc-acm) broken in 3.16

2014-08-31 Thread Nix
So I upgraded to 3.16.1 and found that the Simtec Entropy Key (a cdc-acm device) was no longer operational: fold:~# ekeydctl stats 1 BytesRead=0 BytesWritten=0 ConnectionNonces=0 ConnectionPackets=0 ConnectionRekeys=0 ConnectionResets=0 ConnectionTime=65 EntropyRate=0 FipsFrameRate=0

Re: [PATCH] Documentation: misc-devices: Rename freefall.c from hpfall.c in lis2lv02d

2014-08-31 Thread Randy Dunlap
On 08/31/14 06:18, Masanari Iida wrote: > hpfall.c was renamed to freefall.c in 3.16. > But this file still refer to hpfall.c instead of freefall.c > > Signed-off-by: Masanari Iida > --- > Documentation/misc-devices/lis3lv02d | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff

Re: [RFC v1 0/3] driver-core: add asynch module loading support

2014-08-31 Thread Arjan van de Ven
On 8/31/2014 3:53 PM, Tejun Heo wrote: Hello, On Sun, Aug 31, 2014 at 03:15:34PM -0700, Greg KH wrote: For the use cases we have today, it would work. We have a few drivers that take a _long_ time in their probe callback, and they need to be made async for various reasons (modprobe timeout

Re: [PATCH] drm/vmwgfx: select FB when DRM_VMWGFX is selected

2014-08-31 Thread Randy Dunlap
On 08/31/14 16:07, Max Filippov wrote: > Otherwise, if FB is not selected build fails at linking step: > vmwgfx_fb.c:(.text+0x4098b): undefined reference to `register_framebuffer' > vmwgfx_fb.c:(.text+0x409c0): undefined reference to `framebuffer_release' > vmwgfx_fb.c:(.text+0x409f4):

[PATCH] scsi_debug: deadlock between completions and surprise module removal

2014-08-31 Thread Douglas Gilbert
A deadlock has been reported when the completion of SCSI commands (simulated by a timer) was surprised by a module removal. This patch removes one half of the offending locks around timer deletions. This fix is applied both to stop_all_queued() which is were the deadlock was discovered and

[PATCH] drm/vmwgfx: select FB when DRM_VMWGFX is selected

2014-08-31 Thread Max Filippov
Otherwise, if FB is not selected build fails at linking step: vmwgfx_fb.c:(.text+0x4098b): undefined reference to `register_framebuffer' vmwgfx_fb.c:(.text+0x409c0): undefined reference to `framebuffer_release' vmwgfx_fb.c:(.text+0x409f4): undefined reference to `unregister_framebuffer'

Re: [RFC v1 0/3] driver-core: add asynch module loading support

2014-08-31 Thread Dmitry Torokhov
On Sun, Aug 31, 2014 at 06:02:38PM -0400, Tejun Heo wrote: > Hello, Dmitry. > > On Sun, Aug 31, 2014 at 11:28:51AM -0700, Dmitry Torokhov wrote: > > HI Tejun, > > > > On Sun, Aug 31, 2014 at 06:13:58AM -0400, Tejun Heo wrote: > > > I haven't followed the previous discussions so please let me

Re: [RFC v1 0/3] driver-core: add asynch module loading support

2014-08-31 Thread Tejun Heo
Hello, Dmitry. On Sun, Aug 31, 2014 at 03:51:40PM -0700, Dmitry Torokhov wrote: > > > Luis, care to redo the patches in this way? It should be a lot simpler > > > (no messing around with init levels and linker fun...) > > > > I don't think binding that switch to the driver is gonna work. This

Re: [RFC v1 0/3] driver-core: add asynch module loading support

2014-08-31 Thread Tejun Heo
Hello, On Sun, Aug 31, 2014 at 03:15:34PM -0700, Greg KH wrote: > For the use cases we have today, it would work. We have a few drivers > that take a _long_ time in their probe callback, and they need to be > made async for various reasons (modprobe timeout killer, touchscreen > init sequence

Re: [RFC v1 0/3] driver-core: add asynch module loading support

2014-08-31 Thread Dmitry Torokhov
On Sun, Aug 31, 2014 at 05:53:13PM -0400, Tejun Heo wrote: > Hello, Greg. > > On Sun, Aug 31, 2014 at 01:40:35PM -0700, Greg KH wrote: > > > Right, all (well almost all) I wanted is for individual drivers to declare > > > their probe() functions asynchronous and driver core scheduling async > >

Re: [RFC v1 0/3] driver-core: add asynch module loading support

2014-08-31 Thread Arjan van de Ven
On 8/31/2014 3:45 PM, Dmitry Torokhov wrote: On August 31, 2014 3:32:19 PM PDT, Arjan van de Ven wrote: On 8/31/2014 1:06 PM, 吴章金 wrote: Hi, folks I'm back to this discussion, The original requirement of my first RFC patchset is mainly for Android Smartphone use case: 1. We want light

  1   2   3   4   5   >