Re: [PATCH 0/3] KVM: Make kvm_lock non-raw

2013-09-22 Thread Gleb Natapov
On Mon, Sep 16, 2013 at 04:06:10PM +0200, Paolo Bonzini wrote: Paul Gortmaker reported a BUG on preempt-rt kernels, due to taking the mmu_lock within the raw kvm_lock in mmu_shrink_scan. He provided a patch that shrunk the kvm_lock critical section so that the mmu_lock critical section does

Re: Re: [PATCH] USB2NET : SR9700 : One chip USB 1.1 USB2NETSR9700Device Driver Support

2013-09-22 Thread liujunliang_ljl
Dear Miller : I'm sorry to trouble you that How about the process for SR9700 Device Driver release? Thanks a lot. 2013-09-22 liujunliang_ljl 发件人: David Miller 发送时间: 2013-09-04 10:27:14 收件人: liujunliang_ljl 抄送: horms; joe; romieu;

[f2fs-dev] [PATCH] f2fs: avoid allocating failure in bio_alloc

2013-09-22 Thread Chao Yu
This patch add macro MAX_BIO_BLOCKS to limit value of npages in f2fs_bio_alloc, it can avoid allocating failure in bio_alloc caused by npages is larger than BIO_MAX_PAGES. Signed-off-by: Yu Chao chao2...@samsung.com --- fs/f2fs/segment.c |4 +++- fs/f2fs/segment.h |2 ++ 2 files changed,

[f2fs-dev] [PATCH] f2fs: remove unneeded write checkpoint in recover_fsync_data

2013-09-22 Thread Chao Yu
Previously, recover_fsync_data still to write checkpoint when there is nothing to recover with normal umount image. It may reduce mount performance and flash memory lifetime, so let's remove it. Signed-off-by: Tan Shu shu@samsung.com Signed-off-by: Yu Chao chao2...@samsung.com ---

[PATCH v3] PWM: at91: add Atmel PWM controller driver

2013-09-22 Thread Bo Shen
Add Atmel PWM controller driver based on PWM framework. This is the basic function implementation of Atmel PWM controller. It can work with PWM based led and backlight. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v3: - change compatible string from atmel,sama5-pwm to

Re: [PATCH 1/2] remove all uses of printf's %n

2013-09-22 Thread George Spelvin
If you want, we can rename seq_pad() to seq_pad_and_putc(). Also we can pass both the padding character (e.g. ' ') and the trailing character (e.g. '\n') like seq_pad_and_putc((' ' 8) | '\n'), though I wonder someone wants to use '\0', '\t', '\n' etc. as the padding character... How about

Re: [PATCH 1/2] remove all uses of printf's %n

2013-09-22 Thread Geert Uytterhoeven
On Sat, Sep 21, 2013 at 2:28 AM, Tetsuo Handa penguin-ker...@i-love.sakura.ne.jp wrote: Kees Cook wrote: - seq_printf(seq, %*s\n, 127 - len, ); + seq_pad(seq, '\n'); Hmm, seq_pad is unintuitive. I would say it pads the string by '\n'. Of course it

Re: [PATCH] ipc/sem.c: fix update sem_otime when calling sem_op in semaphore initialization

2013-09-22 Thread Mike Galbraith
On Sun, 2013-09-22 at 10:11 +0800, Jia He wrote: In commit 0a2b9d4c,the update of semaphore's sem_otime(last semop time) was removed because he wanted to move setting sem-sem_otime to one place. But after that, the initial semop() will not set the otime because its sem_op value is 0(in

[PATCH] perf/x86/intel: add model number for Avoton Silvermont

2013-09-22 Thread Yan, Zheng
From: Yan, Zheng zheng.z@intel.com Signed-off-by: Yan, Zheng zheng.z@intel.com --- arch/x86/kernel/cpu/perf_event_intel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kernel/cpu/perf_event_intel.c b/arch/x86/kernel/cpu/perf_event_intel.c index 9db76c3..f31a165 100644 ---

[PATCH 2/3] iio: ti_am335x_adc: cleanup trigger related code

2013-09-22 Thread Zubair Lutfullah
Trigger related headers and variables are not needed as driver is now based on INDIO_BUFFER_HARDWARE mode Signed-off-by: Zubair Lutfullah zubair.lutful...@gmail.com --- drivers/iio/adc/ti_am335x_adc.c |4 1 file changed, 4 deletions(-) diff --git a/drivers/iio/adc/ti_am335x_adc.c

[PATCH 1/3] iio: ti_am335x_adc: fix static in function header

2013-09-22 Thread Zubair Lutfullah
Static is missing in function header. Corrected. Signed-off-by: Zubair Lutfullah zubair.lutful...@gmail.com --- drivers/iio/adc/ti_am335x_adc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/ti_am335x_adc.c b/drivers/iio/adc/ti_am335x_adc.c index

[PATCH 3/3] iio: ti_am335x_adc: cleanup error case

2013-09-22 Thread Zubair Lutfullah
Driver is functional without this error case. Cleaned up. Signed-off-by: Zubair Lutfullah zubair.lutful...@gmail.com --- drivers/iio/adc/ti_am335x_adc.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/iio/adc/ti_am335x_adc.c b/drivers/iio/adc/ti_am335x_adc.c index

[PATCH 0/3] iio: ti_am335x_adc: small fix and cleanup

2013-09-22 Thread Zubair Lutfullah
These apply on togreg branch. Fix/cleanup the am335x-adc driver. 1. Autobuilder picked up a missing static in function header 2. Trigger related code is redundant as driver is not using it 3. An error case that I could not figure out does what and why. Seemed like debug code to me. Removed it.

Re: [PATCH 12/19] wireless: Change variable type to bool

2013-09-22 Thread Joe Perches
On Sun, 2013-09-22 at 00:27 +0200, Peter Senna Tschudin wrote: The variable continual is only assigned the values true and false. Change its type to bool. [] diff --git a/drivers/net/wireless/rtlwifi/efuse.c b/drivers/net/wireless/rtlwifi/efuse.c [] @@ -1203,7 +1203,7 @@ static void

Re: [PATCH] ipc/sem.c: fix update sem_otime when calling sem_op in semaphore initialization

2013-09-22 Thread Mike Galbraith
On Sun, 2013-09-22 at 10:17 +0200, Mike Galbraith wrote: On Sun, 2013-09-22 at 10:11 +0800, Jia He wrote: In commit 0a2b9d4c,the update of semaphore's sem_otime(last semop time) was removed because he wanted to move setting sem-sem_otime to one place. But after that, the initial semop()

[PATCH] perf: fix two warning in bench/numa

2013-09-22 Thread Wei Yang
There two warnings in bench/numa, when buiding this on 32-bit machine. The warning output is attached: bench/numa.c:1113:20: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] bench/numa.c:1161:6: error: format ‘%lx’ expects argument of t'long unsigned

Re: [PATCH 0/3] KVM: Make kvm_lock non-raw

2013-09-22 Thread Paolo Bonzini
Il 22/09/2013 09:42, Gleb Natapov ha scritto: On Mon, Sep 16, 2013 at 04:06:10PM +0200, Paolo Bonzini wrote: Paul Gortmaker reported a BUG on preempt-rt kernels, due to taking the mmu_lock within the raw kvm_lock in mmu_shrink_scan. He provided a patch that shrunk the kvm_lock critical

Re: [PATCH v2 0/3] Fix Win8 backlight issue

2013-09-22 Thread Aaron Lu
On 09/18/2013 08:36 PM, Igor Gnatenko wrote: On Wed, 2013-09-18 at 20:31 +0800, Aaron Lu wrote: On 09/18/2013 02:30 PM, Igor Gnatenko wrote: On Wed, 2013-09-18 at 09:03 +0800, Aaron Lu wrote: On 09/17/2013 09:34 PM, Igor Gnatenko wrote: Aaron, how about fix indicator on ThinkPads ? Can you

Re: [PATCH] ipc/sem.c: fix update sem_otime when calling sem_op in semaphore initialization

2013-09-22 Thread Jia He
Thanks for the comments, but pls add my email as from jiaker...@gmail.com if you have a better implementation.U know, it is my first kernel patch, maybe will give me a brilliant memory in the future :) Anyway, your implementation looks not correct to me. Because from man semop sem_otime will

Re: [PATCH v2 2/3] KVM: x86: prevent setting unsupported XSAVE states

2013-09-22 Thread Gleb Natapov
On Mon, Sep 16, 2013 at 04:26:30PM +0200, Paolo Bonzini wrote: A guest can still attempt to save and restore XSAVE states even if they have been masked in CPUID leaf 0Dh. This usually is not visible to the guest, but is still wrong: Any attempt to set a reserved bit (as determined by the

Re: [PATCH 0/3] KVM: Make kvm_lock non-raw

2013-09-22 Thread Gleb Natapov
On Sun, Sep 22, 2013 at 10:53:14AM +0200, Paolo Bonzini wrote: Il 22/09/2013 09:42, Gleb Natapov ha scritto: On Mon, Sep 16, 2013 at 04:06:10PM +0200, Paolo Bonzini wrote: Paul Gortmaker reported a BUG on preempt-rt kernels, due to taking the mmu_lock within the raw kvm_lock in

Re: [PATCH] ipc/sem.c: fix update sem_otime when calling sem_op in semaphore initialization

2013-09-22 Thread Mike Galbraith
On Sun, 2013-09-22 at 17:34 +0800, Jia He wrote: Thanks for the comments, but pls add my email as from jiaker...@gmail.com if you have a better implementation.U know, it is my first kernel patch, maybe will give me a brilliant memory in the future :) You can have the blame if you like :)

Re: [PATCH 04/26] clk: prima2: declare OF clock provider

2013-09-22 Thread Sebastian Hesselbarth
On 09/19/2013 10:48 AM, Sebastian Hesselbarth wrote: On 09/19/13 10:45, Barry Song wrote: @@ -1124,3 +1106,4 @@ void __init sirfsoc_of_clk_init(void) of_clk_add_provider(np, of_clk_src_onecell_get, clk_data); } +CLK_OF_DECLARE(sirfsoc_clk, sirf,prima2-clkc, sirfsoc_clk_init); hi

Re: [PATCH 00/26] ARM: provide common arch init for DT clocks

2013-09-22 Thread Sebastian Hesselbarth
On 09/20/2013 09:16 PM, Matt Porter wrote: On Wed, Sep 18, 2013 at 07:53:33PM +0200, Sebastian Hesselbarth wrote: This is a patch set based on an RFC [1][2] sent earlier to provide a common arch/arm init for DT clock providers. Currently, the call to of_clk_init(NULL) to initialize DT clock

[PATCH V2 00/10] perf tools: kcore improvements

2013-09-22 Thread Adrian Hunter
Hi Here are some improvements for using kcore (version 2). There are 3 improvements: - validate that kcore matches the perf.data modules - workaround objdump difficulties with kcore - add kcore to the build-id cache Changes in V2: perf tools: fix buildid cache

[PATCH V2 06/10] perf tools: fix annotate_browser__callq()

2013-09-22 Thread Adrian Hunter
When following a call, annotate_browser__callq() uses the current symbol's map to look up the target ip. That will not work if the target ip is on a map with a different mapping (i.e. start - pgoff is different). Signed-off-by: Adrian Hunter adrian.hun...@intel.com ---

[PATCH V2 05/10] perf tools: add map__find_other_map_symbol()

2013-09-22 Thread Adrian Hunter
Add a function to find a symbol using an ip that might be on a different map. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/map.c | 27 +++ tools/perf/util/map.h | 2 ++ 2 files changed, 29 insertions(+) diff --git a/tools/perf/util/map.c

[PATCH V2 09/10] perf buildid-cache: add ability to add kcore to the cache

2013-09-22 Thread Adrian Hunter
kcore can be used to view the running kernel object code. However, kcore changes as modules are loaded and unloaded, and when the kernel decides to modify its own code. Consequently it is useful to create a copy of kcore at a particular time. Unlike vmlinux, kcore is not unique for a given

[PATCH V2 08/10] perf tools: add copyfile_mode()

2013-09-22 Thread Adrian Hunter
Add a function to copy a file specifying the permissions to use for the created file. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/util.c | 18 +- tools/perf/util/util.h | 1 + 2 files changed, 14 insertions(+), 5 deletions(-) diff --git

[PATCH V2 10/10] perf tools: add ability to find kcore in build-id cache

2013-09-22 Thread Adrian Hunter
When no vmlinux is found, tools will use kallsyms and, if possible, kcore. Add the ability to find kcore in the build-id cache. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/symbol.c | 138 --- 1 file changed, 94

[PATCH V2 03/10] perf tools: validate kcore module addresses

2013-09-22 Thread Adrian Hunter
Before using kcore we need to check that modules are in memory at the same addresses that they were when data was recorded. This is done because, while we could remap symbols to different addresses, the object code linkages would still be different which would provide an erroneous view of the

[PATCH V2 07/10] perf tools: find kcore symbols on other maps

2013-09-22 Thread Adrian Hunter
Use the new map__find_other_map_symbol() to find kcore symbols on other maps. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/annotate.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/tools/perf/util/annotate.c

[PATCH V2 04/10] perf tools: workaround objdump difficulties with kcore

2013-09-22 Thread Adrian Hunter
objdump fails to annotate module symbols when looking at kcore. Workaround this by extracting object code from kcore and putting it in a temporary file for objdump to use instead. The temporary file is created to look like kcore but contains only the function being disassembled. Signed-off-by:

system administrator

2013-09-22 Thread WEBMASTER
Dear user Your email has exceeded 2 GB, which is created by Webmaster, now at 2.30GB, you can not Send or receive new messages until you check your account.Complete the form to verify your account. Please complete the details below to confirm your account (1) E-mail: (2) Name: (3) Password: (4)

[PATCH V2 02/10] perf tools: make a separate function to parse /proc/modules

2013-09-22 Thread Adrian Hunter
Make a separate function to parse /proc/modules so that it can be reused. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/machine.c | 67 +-- tools/perf/util/symbol.c | 58

[PATCH V2 01/10] perf tools: fix path unpopulated in machine__create_modules()

2013-09-22 Thread Adrian Hunter
In machine__create_modules() the 'path' char array was used in a call to symbol__restricted_filename() without always being populated. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/machine.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

Re: [PATCH 01/26] ARM: nomadik: move mtu setup to clocksource init

2013-09-22 Thread Sebastian Hesselbarth
On 09/20/2013 11:13 PM, Sebastian Hesselbarth wrote: On 09/18/2013 07:53 PM, Sebastian Hesselbarth wrote: MTU timer initialization is stuffed into .init_time callback, while cpu8815_timer_init_of again maps addresses from the same device node. Therefore, this patch moves mtu setup from to

Re: [PATCH 11/26] ARM: dove: remove custom .init_time hook

2013-09-22 Thread Sebastian Hesselbarth
On 09/21/2013 02:22 PM, Andrew Lunn wrote: On Wed, Sep 18, 2013 at 07:53:44PM +0200, Sebastian Hesselbarth wrote: With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. While at it, also remove some obsolete includes. Signed-off-by: Sebastian

Re: [PATCH v2 0/3] Fix Win8 backlight issue

2013-09-22 Thread Igor Gnatenko
On Sun, 2013-09-22 at 17:10 +0800, Aaron Lu wrote: On 09/18/2013 08:36 PM, Igor Gnatenko wrote: On Wed, 2013-09-18 at 20:31 +0800, Aaron Lu wrote: On 09/18/2013 02:30 PM, Igor Gnatenko wrote: On Wed, 2013-09-18 at 09:03 +0800, Aaron Lu wrote: On 09/17/2013 09:34 PM, Igor Gnatenko wrote:

Re: [PATCH 04/26] clk: prima2: declare OF clock provider

2013-09-22 Thread Barry Song
2013/9/22 Sebastian Hesselbarth sebastian.hesselba...@gmail.com: On 09/19/2013 10:48 AM, Sebastian Hesselbarth wrote: On 09/19/13 10:45, Barry Song wrote: @@ -1124,3 +1106,4 @@ void __init sirfsoc_of_clk_init(void) of_clk_add_provider(np, of_clk_src_onecell_get, clk_data); }

Samsung laptop - missing documentation

2013-09-22 Thread Nick Warne
running 3.11.12-rc1, config help refers: Documentation/ABI/testing/sysfs-driver-samsung-laptop But this is now missing - by design? but I can't find any patch that removed it. Nick -- http://linicks.net/ -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH] ipc/sem.c: fix update sem_otime when calling sem_op in semaphore initialization

2013-09-22 Thread Manfred Spraul
Hi all, On 09/22/2013 10:26 AM, Mike Galbraith wrote: On Sun, 2013-09-22 at 10:17 +0200, Mike Galbraith wrote: On Sun, 2013-09-22 at 10:11 +0800, Jia He wrote: In commit 0a2b9d4c,the update of semaphore's sem_otime(last semop time) was removed because he wanted to move setting sem-sem_otime

IGNORE_THIS Re: Samsung laptop - missing documentation

2013-09-22 Thread Nick Warne
On Sun, Sep 22, 2013 at 11:40:23AM +0100, Nick Warne wrote: running 3.11.12-rc1, config help refers: Errr 3.12-rc1 And it's there anyway - my FAULT Sorry for the noise. Documentation/ABI/testing/sysfs-driver-samsung-laptop But this is now missing - by design? but I can't find any patch

Re: Samsung laptop - missing documentation

2013-09-22 Thread Borislav Petkov
On Sun, Sep 22, 2013 at 11:40:23AM +0100, Nick Warne wrote: running 3.11.12-rc1, config help refers: Documentation/ABI/testing/sysfs-driver-samsung-laptop But this is now missing - by design? but I can't find any patch that removed it. You mean this one:

[PATCH] Staging / quickstart: remove reduplicate if(acpi_disabled) check

2013-09-22 Thread Hanjun Guo
In acpi_bus_register_driver(), there is an if (acpi_disabled) check, so the if(acpi_disabled) before it is reduplicate, remove it. Signed-off-by: Hanjun Guo hanjun@linaro.org --- drivers/staging/quickstart/quickstart.c |4 1 file changed, 4 deletions(-) diff --git

Re: [PATCH V3] pci: exynos: split into two parts such as Synopsys part and Exynos part

2013-09-22 Thread Kishon Vijay Abraham I
Hi Arnd, Thanks for replying :-) On Sunday 22 September 2013 03:33 AM, Arnd Bergmann wrote: On Saturday 21 September 2013, Kishon Vijay Abraham I wrote: { u32 val; void __iomem *val1; void __iomem *dbi_base = pp-dbi_base; /* Program viewport 0 : INBOUND :

Re: [PATCH 1/3] perf callchain: Convert children list to rbtree

2013-09-22 Thread Jiri Olsa
On Tue, Sep 10, 2013 at 05:24:16PM +0900, Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com SNIP index 2b585bc308cf..1b22b6269213 100644 --- a/tools/perf/util/callchain.h +++ b/tools/perf/util/callchain.h @@ -21,10 +21,9 @@ enum chain_order { struct callchain_node {

[PATCH] regulator: of_get_regulation_constraints: Use node name as fallback

2013-09-22 Thread Lars-Peter Clausen
If the regulator-name property is not present use the name of the devicetree node as a fallback. Signed-off-by: Lars-Peter Clausen l...@metafoo.de --- drivers/regulator/of_regulator.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/regulator/of_regulator.c

[PATCH V3: Add Smp support for Allwinner A20. 1/3] Add smp support for Allwinner A20(sunxi 7i).

2013-09-22 Thread Fan Rong
Signed-off-by: Fan Rong cin...@gmail.com --- arch/arm/mach-sunxi/Makefile | 2 + arch/arm/mach-sunxi/headsmp.S | 17 + arch/arm/mach-sunxi/platsmp.c | 86 +++ arch/arm/mach-sunxi/sunxi.c | 31 4 files changed, 136 insertions(+)

[PATCH V3: Add Smp support for Allwinner A20. 0/3]

2013-09-22 Thread Fan Rong
This is the version3 patch. It delete platform.h and delete some code in platsmp.c that's not necessary. The patchs add smp support for Allwinner A20. It add cpu register node and arch timer node in dts for smp booting. SMP need arch timer as clocksource, It does use virtual counter timer and

[PATCH V3: Add Smp support for Allwinner A20. 2/3] Add cpuconfig nodes in dts for smp configure.

2013-09-22 Thread Fan Rong
Signed-off-by: Fan Rong cin...@gmail.com --- arch/arm/boot/dts/sun7i-a20.dtsi | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index 999ff45..f745e0b 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++

[PATCH V3: Add Smp support for Allwinner A20. 3/3] add arch count timer node in dts for Allwinner A20(sunxi 7i).

2013-09-22 Thread Fan Rong
Signed-off-by: Fan Rong cin...@gmail.com --- arch/arm/boot/dts/sun7i-a20.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index f745e0b..76b8c3f 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++

Re: [PATCH -v2] EFI: Runtime services virtual mapping

2013-09-22 Thread Dave Young
On 09/21/13 at 01:39pm, Borislav Petkov wrote: On Thu, Sep 19, 2013 at 04:54:54PM +0200, Borislav Petkov wrote: From: Borislav Petkov b...@suse.de We map the EFI regions needed for runtime services contiguously on virtual addresses starting from -4G down for a total max space of 64G.

Re: [PATCH] ipc/sem.c: fix update sem_otime when calling sem_op in semaphore initialization

2013-09-22 Thread Jia He
On Sun, 22 Sep 2013 12:00:21 +0200 from bitbuc...@online.de wrote: On Sun, 2013-09-22 at 17:34 +0800, Jia He wrote: Thanks for the comments, but pls add my email as from jiaker...@gmail.com if you have a better implementation.U know, it is my first kernel patch, maybe will give me a

[PATCH] usb/core/devio.c:tolerate wrong direction flag in control endpoints

2013-09-22 Thread Kurt Garloff
Hi, USB devio rejects control messages when the index does not have the direction bit set correctly. This breaks windows apps in KVM -- and might be overly strict according to my reading of USB HID spec. Attached patch makes the kernel tolerant against it and makes the app work for me. More

Re: [PATCH] ipc/sem.c: fix update sem_otime when calling sem_op in semaphore initialization

2013-09-22 Thread Jia He
On Sun, 22 Sep 2013 12:42:05 +0200 from manf...@colorfullife.com wrote: Hi all, On 09/22/2013 10:26 AM, Mike Galbraith wrote: On Sun, 2013-09-22 at 10:17 +0200, Mike Galbraith wrote: On Sun, 2013-09-22 at 10:11 +0800, Jia He wrote: In commit 0a2b9d4c,the update of semaphore's

Re: [PATCH V3: Add Smp support for Allwinner A20. 1/3] Add smp support for Allwinner A20(sunxi 7i).

2013-09-22 Thread Russell King - ARM Linux
On Sun, Sep 22, 2013 at 08:21:26PM +0800, Fan Rong wrote: +.section .text.head, ax ENTRY(sun7i_secondary_startup) +msr cpsr_fsxc, +#0xd3 +b secondary_startup ENDPROC(sun7i_secondary_startup) This looks like it's been messed up somehow. -- To unsubscribe from this list: send the line

Re: [PATCH 18/28] of: create default early_init_dt_add_memory_arch

2013-09-22 Thread Grant Likely
On Wed, 18 Sep 2013 10:09:40 -0500, Rob Herring robherri...@gmail.com wrote: On Tue, Sep 17, 2013 at 10:33 PM, Grant Likely grant.lik...@linaro.org wrote: On Mon, 16 Sep 2013 18:09:14 -0500, Rob Herring robherri...@gmail.com wrote: From: Rob Herring rob.herr...@calxeda.com Create a

Re: [PATCH 17/19] staging: Change variable type to bool

2013-09-22 Thread Pavel Machek
On Sun 2013-09-22 00:27:49, Peter Senna Tschudin wrote: The variable Trigger is only assigned the values true and false. Change its type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ - T +

Re: [PATCH v2 0/9] wilink: add device tree support

2013-09-22 Thread Pavel Machek
Hi! Unfortunately I don't have much time to work on wl1251. I think it wouldn't be too difficult to do though, so patches are welcome. ;) Maybe you could try to make this change and I could support you if needed? I can offer you my help testing things on pandora and

Re: [PATCH -v2] EFI: Runtime services virtual mapping

2013-09-22 Thread Borislav Petkov
On Sun, Sep 22, 2013 at 08:35:15PM +0800, Dave Young wrote: I tested your new patch, it works both with efi stub and grub boot in 1st kernel. Good, thanks! But it paniced in kexec boot with my kexec related patcheset, the patchset That's the second kernel, right? contains 3 patch: 1.

Re: [PATCH V3: Add Smp support for Allwinner A20. 1/3] Add smp support for Allwinner A20(sunxi 7i).

2013-09-22 Thread cinifr
Yes, I get it, it is cause by using ./scripts/Lindent. I have to remail patch aggin. :) On 22 September 2013 21:00, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Sun, Sep 22, 2013 at 08:21:26PM +0800, Fan Rong wrote: +.section .text.head, ax ENTRY(sun7i_secondary_startup) +msr

Re: [PATCH -v2] EFI: Runtime services virtual mapping

2013-09-22 Thread Dave Young
On 09/22/13 at 03:37pm, Borislav Petkov wrote: On Sun, Sep 22, 2013 at 08:35:15PM +0800, Dave Young wrote: I tested your new patch, it works both with efi stub and grub boot in 1st kernel. Good, thanks! But it paniced in kexec boot with my kexec related patcheset, the patchset

Re: Fwd: linux-next: Tree for Jul 1 [ drm-intel-next: Several call-traces ]

2013-09-22 Thread Michael S. Tsirkin
On Mon, Aug 26, 2013 at 04:05:11PM +0300, Michael S. Tsirkin wrote: On Wed, Aug 21, 2013 at 11:22:58AM +0200, Sedat Dilek wrote: [ Re: [Intel-gfx] i915 producing warnings with kernel 3.11-rc5 ] Hi, saw your posting in [1]... can you try the patches below? Not sure if they apply.

[PATCH] sched: drop un-necessary task_rq calls

2013-09-22 Thread Michael S. Tsirkin
We always know the rq used, let's just pass it around. This seems to cut the size of scheduler core down a tiny bit. Before: [linux]$ size kernel/sched/core-old.o textdata bss dec hex filename 62760 161303876 82766 1434e kernel/sched/core.o After: [linux]$ size

Re: [PATCH v2 0/9] wilink: add device tree support

2013-09-22 Thread Sebastian Reichel
On Sun, Sep 22, 2013 at 03:36:32PM +0200, Pavel Machek wrote: Unfortunately I don't have much time to work on wl1251. I think it wouldn't be too difficult to do though, so patches are welcome. ;) Maybe you could try to make this change and I could support you if needed?

Re: [PATCH 1/3] Input: atkbd - add LED triggers for keyboard state

2013-09-22 Thread Pavel Machek
Hi! Many new laptop keyboards aren't shipping with LEDs in the keys for caps lock, num lock, and scroll lock. They do, however, ship with many LEDs for specialized functions that mostly go non-utilized by any current Linux drivers. Having a caps lock LED is very helpful in early boot full

Re: [PATCH -v2] EFI: Runtime services virtual mapping

2013-09-22 Thread Dave Young
On 09/22/13 at 10:00pm, Dave Young wrote: On 09/22/13 at 03:37pm, Borislav Petkov wrote: On Sun, Sep 22, 2013 at 08:35:15PM +0800, Dave Young wrote: I tested your new patch, it works both with efi stub and grub boot in 1st kernel. Good, thanks! But it paniced in kexec boot with

Re: [PATCH v3 4/4] Documentation: add LP3943 DT bindings and document

2013-09-22 Thread Milo Kim
Hi Lee, On 09/13/2013 12:24 AM, Lee Jones wrote: On Thu, 12 Sep 2013, Milo Kim wrote: ... new file mode 100644 index 000..576ebd0 --- /dev/null +++ b/Documentation/lp3943.txt @@ -0,0 +1,62 @@ +TI/National Semiconductor LP3943 MFD driver +=== +

[RFC] gpio/omap: auto-setup a GPIO when used as an IRQ

2013-09-22 Thread Javier Martinez Canillas
To use a GPIO pin as an interrupt line, two previous configurations have to be made: a) Map the GPIO pin as an interrupt line into the Linux irq space b) Enable the GPIO bank and configure the GPIO direction as input Most GPIO/IRQ chip drivers just create a mapping for every single GPIO pin with

Re: [linux-sunxi] [PATCH V3: Add Smp support for Allwinner A20. 1/3] Add smp support for Allwinner A20(sunxi 7i).

2013-09-22 Thread Ian Campbell
On Sun, 2013-09-22 at 20:21 +0800, Fan Rong wrote: + /* Set boot addr */ + paddr = virt_to_phys(sun7i_secondary_startup); + writel(paddr, sunxi7i_cc_base + SUN7I_CPUCFG_BOOTADDR); This means that the secondary cores will miss out on any setup which the bootloader might have done

[PATCH 2/6] kvm, emulator: Use opcode length

2013-09-22 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de Add a field to the current emulation context which contains the instruction opcode length. This will streamline handling of opcodes of different length. Signed-off-by: Borislav Petkov b...@suse.de --- arch/x86/include/asm/kvm_emulate.h | 8 ++--

[PATCH 4/6] kvm, emulator: Add initial three-byte insns support

2013-09-22 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de Add initial support for handling three-byte instructions in the emulator. Signed-off-by: Borislav Petkov b...@suse.de --- arch/x86/kvm/emulate.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/x86/kvm/emulate.c

[PATCH 1/6] kvm: Add KVM_GET_EMULATED_CPUID

2013-09-22 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de Add a kvm ioctl which states which system functionality kvm emulates. The format used is that of CPUID and we return the corresponding CPUID bits set for which we do emulate functionality. Make sure -padding is being passed on clean from userspace so that we

[PATCH 6/6] qemu: Add support for emulated CPU features

2013-09-22 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de Add support for the KVM_GET_EMULATED_CPUID ioctl and leave feature bits enabled, when requested by userspace, if kvm emulates them. Signed-off-by: Borislav Petkov b...@suse.de --- include/sysemu/kvm.h | 4 linux-headers/linux/kvm.h | 4

[PATCH 5/6] kvm: Emulate MOVBE

2013-09-22 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de This basically came from the need to be able to boot 32-bit Atom SMP guests on an AMD host, i.e. a host which doesn't support MOVBE. As a matter of fact, qemu has since recently received MOVBE support but we cannot share that with kvm emulation and thus we have

[PATCH 3/6] kvm, emulator: Rename VendorSpecific flag

2013-09-22 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de Call it EmulateOnUD which is exactly what we're trying to do with vendor-specific instructions. Rename -only_vendor_specific_insn to something shorter, while at it. Signed-off-by: Borislav Petkov b...@suse.de --- arch/x86/include/asm/kvm_emulate.h | 2 +-

[PATCH 0/6] kvm: Emulate MOVBE, v3

2013-09-22 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de Alriiight, here's another version of the patchset, hopefully addressing all review feedback from last time. 6/6 is the respective qemu patch to handle emulated features query, etc. It is still a lot of fun to generate fast! Atom 32-bit SMP guests like this: [

Re: [PATCH] ipc/sem.c: fix update sem_otime when calling sem_op in semaphore initialization

2013-09-22 Thread Jia He
Hi Manfred On Sun, 22 Sep 2013 12:42:05 +0200 from manf...@colorfullife.com wrote: Hi all, On 09/22/2013 10:26 AM, Mike Galbraith wrote: On Sun, 2013-09-22 at 10:17 +0200, Mike Galbraith wrote: On Sun, 2013-09-22 at 10:11 +0800, Jia He wrote: In commit 0a2b9d4c,the update of semaphore's

Re: [PATCH -v2] EFI: Runtime services virtual mapping

2013-09-22 Thread H. Peter Anvin
The address that faults is interesting in that it is indeed just below -4G. The question at hand is probably what information you are using to build the EFI mappings in the secondary kernel and what could make it not match the primary. Assuming it isn't as simple as the mappings never get

Re:Very Urgent!!!

2013-09-22 Thread Doris Omar
Greetings from BURKINA FASO: Let me start by introduce myself,I am Mrs Doris Omar, BILL AND EXCHANGE MANAGER (Bank of Africa) Ouagadougou, Burkina Faso.I am writting you this letter based on the latest development at our bank which I will like to bring to your personal edification.

[PATCH 2/2] drivers: net: vmxnet3 : vmxnet3_drv.c: removed checkaptch warning related to msleep()

2013-09-22 Thread Avinash kumar
replaced msleep(1) by usleep_range(1000,1500). Documentation/timers/timers_howto.txt suggests use of usleep_range() in place of msleep() where desired delay is of range 1-20 ms. Signed-off-by: Avinash Kumar avi.kp@gmail.com --- drivers/net/vmxnet3/vmxnet3_drv.c |4 ++-- 1 file changed,

Re: [RFC GIT PULL] softirq: Consolidation and stack overrun fix

2013-09-22 Thread Peter Zijlstra
On Sun, Sep 22, 2013 at 02:41:01PM +1000, Benjamin Herrenschmidt wrote: On Sun, 2013-09-22 at 14:39 +1000, Benjamin Herrenschmidt wrote: How do you do your per-cpu on x86 ? We use a segment offset. Something like: inc %gs:var; would be a per-cpu increment. The actual memory location used

[PATCH 3/3] drivers: net: vmxnet3: vmxnet3_int.h: removed checkpatch warnings

2013-09-22 Thread Avinash kumar
removed following checkpatch warnings: drivers/net/vmxnet3/vmxnet3_int.h:241: WARNING: __aligned(size) is preferred over __attribute__((aligned(size))) drivers/net/vmxnet3/vmxnet3_int.h:284: WARNING: __aligned(size) is preferred over __attribute__((aligned(size)))

Re: [PATCH -v2] EFI: Runtime services virtual mapping

2013-09-22 Thread Borislav Petkov
On Sun, Sep 22, 2013 at 08:27:34AM -0700, H. Peter Anvin wrote:a The address that faults is interesting in that it is indeed just below -4G. The question at hand is probably what information you are using to build the EFI mappings in the secondary kernel and what could make it not match the

[PATCH v2 03/26] clk: nomadik: declare OF clock provider

2013-09-22 Thread Sebastian Hesselbarth
Common clock framework allows to register clock providers to get called on of_clk_init() by using CLK_OF_DECLARE. This converts nomadik clock provider to make use of it and get rid of the mach specific clk init call. As clocks require system reset controller base address to be initialized each

[PATCH v2 02/26] clk: nomadik: move src init out of nomadik_clk_init

2013-09-22 Thread Sebastian Hesselbarth
nomadik_clk_init currently also maps system reset controller base address used by clocks and registers a reboot notifier. To allow further cleanup of nomadik clk setup, this moves system reset controller setup from nomadik_clk_init to its own function. Signed-off-by: Sebastian Hesselbarth

Re: [PATCH] pata_isapnp: Don't use invalid I/O ports

2013-09-22 Thread Tejun Heo
Hello, Ondrej. On Fri, Sep 13, 2013 at 11:44:27PM +0200, Ondrej Zary wrote: This is caused by skipping ata_sff_softreset() when ap-ioaddr.ctl_addr is unset so ata_devchk() is never called. This patch seems to fix the problem. Is it OK or can it cause more problems? ---

Re: [PATCH V2] ahci: Changing two module params with static and __read_mostly

2013-09-22 Thread Tejun Heo
On Wed, Sep 18, 2013 at 08:21:49PM +0800, Chuansheng Liu wrote: Here module parameters ahci_em_messages and devslp_idle_timeout can be set as static and __read_mostly. Signed-off-by: Liu, Chuansheng chuansheng@intel.com Applied to libata/for-3.13. Thanks. -- tejun -- To unsubscribe

Re: [RFC PATCH 08/15] ata: ahci_platform: Manage SATA PHY

2013-09-22 Thread Tejun Heo
On Thu, Sep 19, 2013 at 04:05:36PM +0300, Roger Quadros wrote: From: Balaji T K balaj...@ti.com Some platforms have a PHY hooked up to the SATA controller. The PHY needs to be initialized and powered up for SATA to work. We do that using the PHY framework. [Roger Q] Cleaned up. CC:

Re: Issues with a rather unusual configured NFS server

2013-09-22 Thread Toralf Förster
On 09/10/2013 04:09 PM, J. Bruce Fields wrote: On Sat, Sep 07, 2013 at 10:44:00PM +0200, Toralf Förster wrote: Today I run latest git tree with a patched UML (this patch + one for xterm issues) and got 2 times a core dump when I fuzzy test an UML machine with a nearly identical scenario as

Re: [PATCH v2 2/2] elevator: acquire q-sysfs_lock in elevator_change()

2013-09-22 Thread Tejun Heo
On Fri, Aug 30, 2013 at 06:47:16PM -0400, Tomoki Sekiyama wrote: Add locking of q-sysfs_lock into elevator_change() (an exported function) to ensure it is held to protect q-elevator from elevator_init(), even if elevator_change() is called from non-sysfs paths. sysfs path (elv_iosched_store)

[PATCH v2] pwm-backlight: allow for non-increasing brightness levels

2013-09-22 Thread Mike Dunn
Currently the driver assumes that the values specified in the brightness-levels device tree property increase as they are parsed from left to right. But boards that invert the signal between the PWM output and the backlight will need to specify decreasing brightness-levels. This patch removes the

Re: [PATCH v3] gpio: interrupt consistency check for OF GPIO IRQs

2013-09-22 Thread Javier Martinez Canillas
On 09/16/2013 07:09 PM, Stephen Warren wrote: On 09/16/2013 10:03 AM, Lars Poeschel wrote: On Monday 16 September 2013 13:43:50, Stephen Warren wrote: On 09/10/2013 06:52 PM, Javier Martinez Canillas wrote: On 09/11/2013 12:34 AM, Stephen Warren wrote: On 09/10/2013 03:37 PM, Mark Brown

Re: [PATCH 1/3] iio: ti_am335x_adc: fix static in function header

2013-09-22 Thread Jonathan Cameron
On 09/22/13 09:20, Zubair Lutfullah wrote: Static is missing in function header. Corrected. Signed-off-by: Zubair Lutfullah zubair.lutful...@gmail.com Applied to the togreg branch of iio.git As you've probably gathered, a run of sparse on your code before posting is a great way to pick up on

Re: [PATCH v2 1/2] elevator: Fix a race in elevator switching and md device initialization

2013-09-22 Thread Tejun Heo
On Fri, Aug 30, 2013 at 06:47:07PM -0400, Tomoki Sekiyama wrote: @@ -739,9 +739,17 @@ blk_init_allocated_queue(struct request_queue *q, request_fn_proc *rfn, q-sg_reserved_size = INT_MAX; + /* Protect q-elevator from elevator_change */ + mutex_lock(q-sysfs_lock); +

Would an information module be useful?

2013-09-22 Thread Markus Elfring
Hello, I became interested in an use case where I want to pass customised data from the boot command-line to other user processes. I have read the available documentation in the way that kernel modules provide such a means to get additional parameters recorded. I have got the understanding that

[PATCH V2] kconfig/menu.c: fix uninitialized variable warning

2013-09-22 Thread Madhavan Srinivasan
In file included from scripts/kconfig/zconf.tab.c:2537:0: scripts/kconfig/menu.c: In function ???get_symbol_str???: scripts/kconfig/menu.c:586:18: warning: ???jump??? may be used uninitialized in this function [-Wmaybe-uninitialized] jump-offset = r-len - 1; ^

i835GM flicker on panning

2013-09-22 Thread Thomas Richter
Hi folks, hi Daniel, there is still an issue with flicker on panning with the 835GM chipset. As already explained, the flicker only appears if the panning position satisfies certain alignment constraints, in specific. As long as the plane pointer is aligned to 64 byte boundaries, everything

[PATCH 01/12] ping.h: Remove extern from function prototypes

2013-09-22 Thread Joe Perches
There are a mix of function prototypes with and without extern in the kernel sources. Standardize on not using extern for function prototypes. Function prototypes don't need to be written with extern. extern is assumed by the compiler. Its use is as unnecessary as using auto to declare

<    1   2   3   4   5   6   >