[Suggestion] ARM64: kernel: compiling issue, need implement cmpxchg64 with assembler language.

2013-04-19 Thread Chen Gang
in arch/arm64/include/asm, not define the function cmpxchg64 when compiling with allmodconfig, drivers/block/blockconsole.c will need this function. I am not quite familiar with ARM64 (neither ARM64 assembler) can any member helps to send related patch ? if no one have time to

Re: KVM VM(windows xp) reseted when running geekbench for about 2 days

2013-04-19 Thread Gleb Natapov
On Fri, Apr 19, 2013 at 01:05:08AM +, Zhanghaoyu (A) wrote: > >> On Thu, Apr 18, 2013 at 12:00:49PM +, Zhanghaoyu (A) wrote: > >>> I start 10 VMs(windows xp), then running geekbench tool on them, > >>> about 2 days, one of them was reset, I found the reset operation is > >>> done by int

trinity locking troubles with ax25_recvmsg()

2013-04-19 Thread Tommi Rantala
Hello, Noticed a huge load in one of my trinity test machines: 14:07:10 up 6:11, 1 user, load average: 39,00, 39,01, 38,95 But it is just 39x trinity child processes sitting there for couple of hours in D state, plus "trinity-child38" in S state: USER PID %CPU %MEMVSZ RSS TTY

[PATCH] ARM64: kernel: compiling issue: need define readq and writeq for driver module using.

2013-04-19 Thread Chen Gang
when compiling with allmodconfig, CONFIG_64BIT=y the file drivers/base/regmap/regmap-mmio.c will use readq and writeq. so we need implement these functions. BTW: the coding style can not pass ./scripts/checkpatch.pl. it seems better to provide additional patch for beautifying code.

Re: [PATCH RFC] media: videobuf2: fix the length check for mmap

2013-04-19 Thread Mauro Carvalho Chehab
Em Fri, 19 Apr 2013 15:16:56 +0530 Prabhakar lad escreveu: > From: Lad, Prabhakar > > From commit 068a0df76023926af958a336a78bef60468d2033 > "[media] media: vb2: add length check for mmap" > patch verifies that the mmap() size requested by userspace > doesn't exceed the buffer size. > > As

Re: [PATCH] Remove warning in efi_enter_virtual_mode V2

2013-04-19 Thread Bryan O'Donoghue
On 19/04/13 06:58, Greg KH wrote: This patch gives the option to switch off that behavior - if your BIOS has neither BGRT - nor bugs that require mapping of EFI boot code/data No, never add new boot options, no users, or distros, know to set them. Isn't there some way we can dynamically

Re: [PATCH Resend v6] sched: fix wrong rq's runnable_avg update with rt tasks

2013-04-19 Thread Vincent Guittot
On 19 April 2013 11:21, Mike Galbraith wrote: > On Fri, 2013-04-19 at 10:50 +0200, Vincent Guittot wrote: >> On 19 April 2013 10:14, Mike Galbraith wrote: >> > On Fri, 2013-04-19 at 09:49 +0200, Vincent Guittot wrote: >> >> On 19 April 2013 06:30, Mike Galbraith wrote: >> >> > On Thu,

Re: [PATCH 2/2] dma:of: Use a mutex to protect the of_dma_list

2013-04-19 Thread Lars-Peter Clausen
On 04/19/2013 12:13 PM, Arnd Bergmann wrote: > On Friday 19 April 2013, Lars-Peter Clausen wrote: > >> This is rather ugly and unnecessary and non of the current users of >> of_dma_controller_free() check it's return value anyway. Instead protect the >> list by a mutex. The mutex will be held as

Re: [GIT PULL] amd64_edac: Add Family 16h support

2013-04-19 Thread Ingo Molnar
* Borislav Petkov wrote: > Hi, > > please pull the below tag to receive AMD F16h support for amd64_edac. > > Thanks. > > The following changes since commit 41ef2d5678d83af030125550329b6ae8b74618fa: > > Linux 3.9-rc7 (2013-04-14 17:45:16 -0700) > > are available in the git repository at:

[GIT PULL] amd64_edac: Add Family 16h support

2013-04-19 Thread Borislav Petkov
Hi, please pull the below tag to receive AMD F16h support for amd64_edac. Thanks. The following changes since commit 41ef2d5678d83af030125550329b6ae8b74618fa: Linux 3.9-rc7 (2013-04-14 17:45:16 -0700) are available in the git repository at:

RE: linux-next: manual merge of the arm-soc tree with the pm tree

2013-04-19 Thread Kukjin Kim
Olof Johansson wrote: > > On Wed, Apr 10, 2013 at 05:36:49PM +0900, Kukjin Kim wrote: > > Stephen Rothwell wrote: > > > > > > Hi all, > > > > > Hi, > > > > > Today's linux-next merge of the arm-soc tree got a conflict in > > > arch/arm/mach-s3c24xx/Kconfig between commit 785f40040874 ("cpufreq: >

Re: [RFC PATCH 0/2] sched: move content out of core files for load average

2013-04-19 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Fri, 2013-04-19 at 10:25 +0200, Ingo Molnar wrote: > > It might eventually make sense to integrate the 'average load' > > calculation as well > > with all this - as they really have a similar purpose, the avenload[] > > vector of > > averages is conceptually

Re: [PATCH v3 0/6] Generic PHY Framework

2013-04-19 Thread Sekhar Nori
Hi Kishon, On 3/20/2013 2:41 PM, Kishon Vijay Abraham I wrote: > Added a generic PHY framework that provides a set of APIs for the PHY drivers > to create/destroy a PHY and APIs for the PHY users to obtain a reference to > the PHY with or without using phandle. To obtain a reference to the PHY >

[PATCH] ARM64: kernel: compiling issue, duplicate definition of early_console

2013-04-19 Thread Chen Gang
when compiling with allmodconfig. early_console is already defined as an extern global pointer. need let it point to the object which we intend to (like ARM32 done). Signed-off-by: Chen Gang --- arch/arm64/kernel/early_printk.c |5 +++-- 1 files changed, 3 insertions(+), 2

[PATCH v2 11/15] powerpc/rcpm: add struct ccsr_rcpm_v2

2013-04-19 Thread Zhao Chenhui
From: Chen-Hui Zhao Add struct ccsr_rcpm_v2 to descibe the v2 RCPM register map on some SoCs, such as T4240, etc. Signed-off-by: Zhao Chenhui Signed-off-by: Li Yang Signed-off-by: Andy Fleming --- arch/powerpc/include/asm/fsl_guts.h | 66 +++ 1 files

Re: [Q] Diff of two successive -next releases?

2013-04-19 Thread Sedat Dilek
On Fri, Apr 19, 2013 at 12:35 PM, Sedat Dilek wrote: > Hi, > > I would like to do a diff between a problematic next-mmdd and > next-[mmdd+1]. > How can I do this easily? > > My old style was to checkout a specific Linux-Next release and then > create a diff against the latest -rcX (of

Re: [RFC PATCH 0/2] sched: move content out of core files for load average

2013-04-19 Thread Peter Zijlstra
On Fri, 2013-04-19 at 10:25 +0200, Ingo Molnar wrote: > It might eventually make sense to integrate the 'average load' > calculation as well > with all this - as they really have a similar purpose, the avenload[] > vector of > averages is conceptually similar to the rq->cpu_load[] vector of >

[PATCH v2 02/15] powerpc/85xx: add sleep and deep sleep support

2013-04-19 Thread Zhao Chenhui
Some Freescale SoCs like MPC8536 and P1022 has the deep sleep mode in addtion to the sleep mode. In sleep PM mode, the clocks of e500 core and unused IP blocks is turned off. IP blocks which are allowed to wake up the processor are still running. While in deep sleep PM mode, additionally, the

[PATCH v2 03/15] fsl_pmc: Add API to enable device as wakeup event source

2013-04-19 Thread Zhao Chenhui
From: chenhui zhao Add APIs for setting wakeup source and lossless Ethernet in low power modes. These APIs can be used by wake-on-packet feature. Change-Id: I1803dcd4571af1eac49b43d99c578e7f99e2c278 Signed-off-by: Dave Liu Signed-off-by: Li Yang Signed-off-by: Jin Qing Signed-off-by: Zhao

[PATCH v2 05/15] fsl_pmc: update device bindings

2013-04-19 Thread Zhao Chenhui
From: Li Yang Signed-off-by: Li Yang Signed-off-by: Zhao Chenhui --- .../devicetree/bindings/powerpc/fsl/pmc.txt| 59 +++ 1 files changed, 34 insertions(+), 25 deletions(-) diff --git a/Documentation/devicetree/bindings/powerpc/fsl/pmc.txt

[PATCH v2 07/15] powerpc/85xx: add time base sync for SoCs based on e500mc/e5500

2013-04-19 Thread Zhao Chenhui
From: Chen-Hui Zhao In the case of SMP, during the time base sync period, all time bases of online cores must stop, then start simultaneously. There is a RCPM (Run Control/Power Management) module in CoreNet based SoCs. Define a struct ccsr_rcpm to describe the register map. This patch

[PATCH v2 08/15] powerpc/85xx: add cpu hotplug support for e500mc/e5500

2013-04-19 Thread Zhao Chenhui
From: Chen-Hui Zhao Add support to disable and re-enable individual cores at runtime. This supports e500mc/e5500 core based SoCs. To prevent the register access race, only read/write RCPM registers in platform_cpu_die() on the boot cpu instead of accessing by individual cpus. Platform

[PATCH v2 13/15] powerpc/85xx: add support for e6500 L1 cache operation

2013-04-19 Thread Zhao Chenhui
From: Chen-Hui Zhao The L1 Data Cache of e6500 contains no modified data, no flush is required. Signed-off-by: Zhao Chenhui Signed-off-by: Li Yang Signed-off-by: Andy Fleming --- arch/powerpc/kernel/fsl_booke_cache.S | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-)

[PATCH v2 12/15] powerpc/85xx: add time base sync support for e6500

2013-04-19 Thread Zhao Chenhui
From: Chen-Hui Zhao For e6500, two threads in one core share one time base. Just need to do time base sync on first thread of one core, and skip it on the other thread. Signed-off-by: Zhao Chenhui Signed-off-by: Li Yang Signed-off-by: Andy Fleming --- arch/powerpc/platforms/85xx/smp.c |

[PATCH v2 15/15] powerpc/rcpm: add sleep support for T4/B4 chips

2013-04-19 Thread Zhao Chenhui
From: Chen-Hui Zhao RCPM unit controls the power managment of T4/B4 chips. Software can access RCPM registers to put specific thread/core in PH10/PH15/PH20/PH30 state or put the device in LPM10/LPM20/LPM40 mode. The RCPM unit supports several wake up sources through internal timers and internal

[PATCH v2 09/15] powerpc/rcpm: add sleep feature for SoCs using RCPM

2013-04-19 Thread Zhao Chenhui
The SoCs which have a RCPM (Run Control/Power Management) module support power management feature. This patch implements sleep feature. In sleep mode, the clocks of cores and unused IP blocks will be turned off. The IP blocks which are allowed to wake up the system are still running.

[PATCH v2 10/15] powerpc/85xx: fix 64-bit support for cpu hotplug

2013-04-19 Thread Zhao Chenhui
From: Chen-Hui Zhao * The paca[cpu].cpu_start is used as a signal to indicate if the cpu should start. So it should be cleard in .cpu_die(). * The limit memory routine only needs to be ran once at boot time by the boot cpu. Prevent other cpus running it again. * Rearrange the code segment in

[PATCH v2 14/15] powerpc/smp: add cpu hotplug support for e6500

2013-04-19 Thread Zhao Chenhui
From: Chen-Hui Zhao * Only if two threads of one core are offline, the core can enter PH20 state. * Clear PH20 bits before core reset, or core will not restart. * Introduced a variable l2cache_type in the struce cpu_spec to indentify the type of L2 cache. Signed-off-by: Zhao Chenhui

[PATCH v2 06/15] powerpc/85xx: add support to JOG feature using cpufreq interface

2013-04-19 Thread Zhao Chenhui
From: chenhui zhao Some 85xx silicons like MPC8536 and P1022 have a JOG feature, which provides a dynamic mechanism to lower or raise the CPU core clock at runtime. This patch adds the support to change CPU frequency using the standard cpufreq interface. The ratio CORE to CCB can be 1:1(except

[PATCH v2 01/15] powerpc/85xx: cache operations for Freescale SoCs based on BOOK3E

2013-04-19 Thread Zhao Chenhui
These cache operations support Freescale SoCs based on BOOK3E. Move L1 cache operations to fsl_booke_cache.S in order to maintain easily. And, add cache operations for backside L2 cache and platform cache. The backside L2 cache appears on e500mc and e5500 core. The platform cache supported by

[PATCH v2 04/15] pm: add power node to dts

2013-04-19 Thread Zhao Chenhui
The Power Management device tree stub indicated that the platform supports Power Management feature. Signed-off-by: Zhao Chenhui --- arch/powerpc/boot/dts/fsl/mpc8536si-post.dtsi | 14 ++- arch/powerpc/boot/dts/fsl/mpc8544si-post.dtsi |2 +

[PATCH 5/5 v2] ARM: at91: add Acme Systems Fox G20 board

2013-04-19 Thread Nicolas Ferre
From: Douglas Gilbert Signed-off-by: Douglas Gilbert [nicolas.fe...@atmel.com: re-arranging nodes, removing nodes and some comments] Signed-off-by: Nicolas Ferre --- v2: - removed the SPI node arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/at91-foxg20.dts | 157

Re: [PATCH] x86: Add a Kconfig shortcut for a kvm-bootable kernel

2013-04-19 Thread Borislav Petkov
On Thu, Apr 18, 2013 at 10:36:31AM -0300, Marcelo Tosatti wrote: > > IOW, something which says "Enable KVM guest support" should enable all > > the stuff needed for that. > > I get your point, but thats up to the person selecting the options. Ok. > > Or do you want to keep the current

[Q] Diff of two successive -next releases?

2013-04-19 Thread Sedat Dilek
Hi, I would like to do a diff between a problematic next-mmdd and next-[mmdd+1]. How can I do this easily? My old style was to checkout a specific Linux-Next release and then create a diff against the latest -rcX (of mainline). So, I have two diffs and try to compare them. Thanks in

Re: [PATCH] MAINTAINERS: Update Grant's email address and maintainership

2013-04-19 Thread Mark Brown
On Fri, Apr 19, 2013 at 09:18:58AM +1000, Stephen Rothwell wrote: > Done. Should I also use your kernel.org address as your contact address > (instead of broo...@opensource.wolfsonmicro.com)? Yes, please - the Wolfson one won't work at some point. I always assumed you got that stuff from

Re: [PATCH] rtc: rtc-at91rm9200: fix missing iounmap

2013-04-19 Thread Nicolas Ferre
On 04/11/2013 04:38 PM, Johan Hovold : > Add missing iounmap to probe error path and remove. > > Cc: stable > Signed-off-by: Johan Hovold Acked-by: Nicolas Ferre Andrew, can you take this one please? (https://patchwork.kernel.org/patch/2429031/) Best regards, > --- >

Re: linux-next: Tree for Apr 18 [ call-trace: drm | x86 | smp | rcu related? ]

2013-04-19 Thread Sedat Dilek
ed >> with mutexes, which all potentially affects the panic handler. So I've >> given up on that for now ... > > Thanks for taking care. > > On suspicion [1] I have reverted [2]... NOPE. > > - Sedat - > > [1] http://marc.info/?l=linux-kernel=136631921208895=2 &g

Re: [PATCH 2/2] dma:of: Use a mutex to protect the of_dma_list

2013-04-19 Thread Arnd Bergmann
On Friday 19 April 2013, Lars-Peter Clausen wrote: > This is rather ugly and unnecessary and non of the current users of > of_dma_controller_free() check it's return value anyway. Instead protect the > list by a mutex. The mutex will be held as long as a request operation is in > progress. So if

Re: [PATCH 1/2] dma: of: Fix of_node reference leak

2013-04-19 Thread Arnd Bergmann
On Friday 19 April 2013, Lars-Peter Clausen wrote: > of_dma_request_slave_channel() currently does not drop the reference to the > dma_spec of_node if no DMA controller matching the of_node could be found. > This > patch fixes it by always calling of_node_put(). > > Signed-off-by: Lars-Peter

[PATCH] amd64_edac: Add Family 16h support

2013-04-19 Thread Borislav Petkov
From: Aravind Gopalakrishnan Add code to handle DRAM ECC errors decoding for Fam16h. Tested on Fam16h with ECC turned on using the mce_amd_inj facility and works fine. Signed-off-by: Aravind Gopalakrishnan [ Boris: cleanups and clarifications ] Signed-off-by: Borislav Petkov ---

Re: [RFC] arm64: Early printk support for virtio-mmio console devices.

2013-04-19 Thread Peter Maydell
On 19 April 2013 10:39, Will Deacon wrote: > The point of mach-virt is that it is completely parameterised. So, if you're > not emulating an 8250, then don't tell the kernel that you have one! > Similarly, if you *do* emulate it, then either create a device-tree node for > it or pass the

Re: [PATCH V2 1/7] kbuild: create an "include chroot" for DT bindings

2013-04-19 Thread Grant Likely
On Wed, 3 Apr 2013 17:34:52 -0600, Stephen Warren wrote: > Grant, Rob, Michal, I'm hoping for acks or comments from you so this > series can be placed into a topic branch in the arm-soc repo, for others > to build on during the 3.10 kernel cycle. Thanks. Thanks for doing all this work Stephen.

[PATCH v3 1/4] ARM: dts: omap4-panda: Add USB Host support

2013-04-19 Thread Roger Quadros
Provide the RESET and Power regulators for the USB PHY, the USB Host port mode and the PHY device. The USB PHY needs AUXCLK3 to operate. Provide this information as well. Also provide pin multiplexer information for the USB host pins. CC: Benoît Cousson Signed-off-by: Roger Quadros ---

[PATCH v3 3/4] ARM: dts: omap3-beagle-xm: Add USB Host support

2013-04-19 Thread Roger Quadros
Provide RESET and Power regulators for the USB PHY, the USB Host port mode and the PHY device. Also provide pin multiplexer information for USB host pins. CC: Benoît Cousson Signed-off-by: Roger Quadros --- arch/arm/boot/dts/omap3-beagle-xm.dts | 61 + 1

[PATCH v3 4/4] ARM: dts: omap3-beagle-xm: Add USB host supprot for Rev. Ax/Bx

2013-04-19 Thread Roger Quadros
Rev. Ax/Bx boards have reversed polarity for USBHOST_PWR_ENable signal when compared to Rev. C boards. We create a new dts file for Ax/Bx boards. Also update model and compatible flags for Rev. C board. CC: Benoît Cousson Signed-off-by: Roger Quadros ---

[PATCH v3 0/4] ARM: dts: Add USB host support for Panda and Beagle-xm

2013-04-19 Thread Roger Quadros
Hi Benoit/Tony I've consolidated all the USB host device tree patches for Panda and Beagles to one place and addressed Tony's comments. NOTE: patch 1 depends on OMAP clock binding introduced in https://lkml.org/lkml/2013/4/12/407 v3: - updated mux mode to use pulldowns on panda as non-DT boot

[PATCH v3 2/4] ARM: dts: omap3-beagle: Make USB host pin naming consistent

2013-04-19 Thread Roger Quadros
Use a common naming scheme "mode0name.modename flags" for the USB host pins to be consistent. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/omap3-beagle.dts | 25 + 1 files changed, 13 insertions(+), 12 deletions(-) diff --git a/arch/arm/boot/dts/omap3-beagle.dts

Re: [RFC PATCH 1/3] pstore-ram: use write-combine mappings

2013-04-19 Thread Russell King - ARM Linux
On Tue, Apr 09, 2013 at 08:53:18PM -0700, Colin Cross wrote: > On Tue, Apr 9, 2013 at 8:08 PM, Rob Herring wrote: > > - return ioremap(start, size); > > + return ioremap_wc(start, size); > > ioremap_wc corresponds to MT_DEVICE_WC, which is still device memory, > so I don't see how

[PATCH 2/2] media: davinci: vpif_display: move displaying of error to approppraite place

2013-04-19 Thread Prabhakar lad
From: Lad, Prabhakar this patch moves the displaying out error case "VPIF IRQ request failed\n" when there is actual request_irq() fail. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpif_display.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 1/2] media: davinci: vpif: remove unwanted header file inclusion

2013-04-19 Thread Prabhakar lad
From: Lad, Prabhakar this patch removes unwanted header file inclusion and sorts header alphabetically. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpif_capture.c | 19 --- drivers/media/platform/davinci/vpif_capture.h |5 +

[PATCH 0/2] media: davinci: vpif trivial cleanup

2013-04-19 Thread Prabhakar lad
From: Lad, Prabhakar The first patch of the series cleanups the header file inclusion, and second patch fixes displaying of error when there is actual failure of request_irq(). Lad, Prabhakar (2): media: davinci: vpif: remove unwanted header file inclusion media: davinci: vpif_display: move

Re: [Xen-devel] [PATCH v6 1/4] arm: introduce psci_smp_ops

2013-04-19 Thread Ian Campbell
On Thu, 2013-04-18 at 18:38 +0100, Nicolas Pitre wrote: > On Thu, 18 Apr 2013, Stefano Stabellini wrote: > > > On Thu, 18 Apr 2013, Nicolas Pitre wrote: > > > On Thu, 18 Apr 2013, Stefano Stabellini wrote: > > > > > > > On Thu, 18 Apr 2013, Russell King - ARM Linux wrote: > > > > > This should

Re: [PATCH wireless-next] rt2x00: Use more current logging styles, shrink object size

2013-04-19 Thread Joe Perches
On Fri, 2013-04-19 at 11:45 +0200, Gertjan van Wingerde wrote: > Hi Joe, Hello Gertjan. > On Fri, Apr 19, 2013 at 10:33 AM, Joe Perches wrote: > > Reduce object size ~2% using more current logging styles. [] > > +/* Utility printing macros */ > > +#define rt2x00_err(dev, fmt, ...)

Re: linux-next: manual merge of the clk tree with the arm-soc tree

2013-04-19 Thread Pawel Moll
On Fri, 2013-04-19 at 08:27 +0100, Stephen Rothwell wrote: > Hi Mike, > > Today's linux-next merge of the clk tree got a conflict in > arch/arm/mach-vexpress/v2m.c between commit dabfd8fb84ab ("ARM: vexpress: > remove sp804 OF init") from the arm-soc tree and commit 6e973d2c4385 > ("clk:

[PATCH RFC] media: videobuf2: fix the length check for mmap

2013-04-19 Thread Prabhakar lad
From: Lad, Prabhakar >From commit 068a0df76023926af958a336a78bef60468d2033 "[media] media: vb2: add length check for mmap" patch verifies that the mmap() size requested by userspace doesn't exceed the buffer size. As the mmap() size is rounded up to the next page boundary the check will fail

Re: [PATCH wireless-next] rt2x00: Use more current logging styles, shrink object size

2013-04-19 Thread Gertjan van Wingerde
Hi Joe, On Fri, Apr 19, 2013 at 10:33 AM, Joe Perches wrote: > Reduce object size ~2% using more current logging styles. > > Neaten and simplify logging macros. > Use wiphy_ where appropriate. > Coalesce formats. > > Convert ERROR/WARNING/INFO macros and uses to rt2x00_ > Convert EEPROM to

Re: linux-next: build warning after merge of the final tree

2013-04-19 Thread Joerg Roedel
On Fri, Apr 19, 2013 at 06:07:24PM +1000, Stephen Rothwell wrote: > After merging the final tree, today's linux-next build (i386 defconfig) > produced this warning: > > In file included from arch/x86/kernel/early-quirks.c:21:0: > arch/x86/include/asm/irq_remapping.h:87:58: warning: 'struct

[PATCH 2/2] dma:of: Use a mutex to protect the of_dma_list

2013-04-19 Thread Lars-Peter Clausen
Currently the OF DMA code uses a spin lock to protect the of_dma_list from concurrent access and a per controller reference count to protect the controller from being freed while a request operation is in progress. If of_dma_controller_free() is called for a controller who's reference count is not

[PATCH 1/2] dma: of: Fix of_node reference leak

2013-04-19 Thread Lars-Peter Clausen
of_dma_request_slave_channel() currently does not drop the reference to the dma_spec of_node if no DMA controller matching the of_node could be found. This patch fixes it by always calling of_node_put(). Signed-off-by: Lars-Peter Clausen --- drivers/dma/of-dma.c | 11 ++- 1 file

Re: [PATCH v6 1/4] arm: introduce psci_smp_ops

2013-04-19 Thread Stefano Stabellini
On Thu, 18 Apr 2013, Nicolas Pitre wrote: > On Thu, 18 Apr 2013, Stefano Stabellini wrote: > > > On Thu, 18 Apr 2013, Nicolas Pitre wrote: > > > On Thu, 18 Apr 2013, Stefano Stabellini wrote: > > > > > > > On Thu, 18 Apr 2013, Russell King - ARM Linux wrote: > > > > > This should allow the Xen

Re: [RFC] arm64: Early printk support for virtio-mmio console devices.

2013-04-19 Thread Will Deacon
On Fri, Apr 19, 2013 at 10:34:56AM +0100, Pranavkumar Sawargaonkar wrote: > On 19 April 2013 15:00, Peter Maydell wrote: > > On 19 April 2013 10:27, Will Deacon wrote: > >> On Fri, Apr 19, 2013 at 10:25:35AM +0100, Pranavkumar Sawargaonkar wrote: > >>> I am not against using 8250 emulation (as

[PATCH] kernel/audit_tree.c: tree will memory leak when failure occurs for audit_trim_trees()

2013-04-19 Thread Chen Gang
in audit_trim_trees(), has called get_tree() before failure occurs, so need also call put_tree after go to skip_it: Signed-off-by: Chen Gang --- kernel/audit_tree.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/audit_tree.c b/kernel/audit_tree.c index

Re: [PATCH] ARM: at91/sama5d34ek.dts: remove not needed compatibility string

2013-04-19 Thread Nicolas Ferre
On 04/19/2013 11:35 AM, Nicolas Ferre : > "atmel,sama5ek" compatibility sting does not correspond to a > useful board configuration. This d35ek.dts is the only sama5d3 s/d35/d34/ sorry. > .dts file affected. > > Reported-by: Josh Wu > Signed-off-by: Nicolas Ferre > --- >

Re: [PATCH Resend v6] sched: fix wrong rq's runnable_avg update with rt tasks

2013-04-19 Thread Mike Galbraith
On Fri, 2013-04-19 at 11:21 +0200, Mike Galbraith wrote: > On Fri, 2013-04-19 at 10:50 +0200, Vincent Guittot wrote: > > On 19 April 2013 10:14, Mike Galbraith wrote: > > > On Fri, 2013-04-19 at 09:49 +0200, Vincent Guittot wrote: > > >> On 19 April 2013 06:30, Mike Galbraith wrote: > > >> >

Re: [RFC] arm64: Early printk support for virtio-mmio console devices.

2013-04-19 Thread Will Deacon
On Fri, Apr 19, 2013 at 10:30:40AM +0100, Peter Maydell wrote: > On 19 April 2013 10:27, Will Deacon wrote: > > On Fri, Apr 19, 2013 at 10:25:35AM +0100, Pranavkumar Sawargaonkar wrote: > >> I am not against using 8250 emulation (as far as it solves printk > >> issues for kernel booting logs),

[PATCH] ARM: at91/sama5d34ek.dts: remove not needed compatibility string

2013-04-19 Thread Nicolas Ferre
"atmel,sama5ek" compatibility sting does not correspond to a useful board configuration. This d35ek.dts is the only sama5d3 .dts file affected. Reported-by: Josh Wu Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/sama5d34ek.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [RFC] arm64: Early printk support for virtio-mmio console devices.

2013-04-19 Thread Pranavkumar Sawargaonkar
On 19 April 2013 15:00, Peter Maydell wrote: > On 19 April 2013 10:27, Will Deacon wrote: >> On Fri, Apr 19, 2013 at 10:25:35AM +0100, Pranavkumar Sawargaonkar wrote: >>> I am not against using 8250 emulation (as far as it solves printk >>> issues for kernel booting logs), but my point is why

[PATCH v1 11/12] x86, numa, acpi, memory-hotplug: Make movablecore=acpi have higher priority.

2013-04-19 Thread Tang Chen
Arrange hotpluggable memory as ZONE_MOVABLE will cause NUMA performance decreased because the kernel cannot use movable memory. For users who don't use memory hotplug and who don't want to lose their NUMA performance, they need a way to disable this functionality. So, if users specify

[PATCH v1 05/12] x86, numa, acpi, memory-hotplug: Consider hotplug info when cleanup numa_meminfo.

2013-04-19 Thread Tang Chen
Since we have introduced hotplug info into struct numa_meminfo, we need to consider it when cleanup numa_meminfo. The original logic in numa_cleanup_meminfo() is: Merge blocks on the same node, holes between which don't overlap with memory on other nodes. This patch modifies

[PATCH v1 03/12] page_alloc, mem-hotplug: Improve movablecore to {en|dis}able using SRAT.

2013-04-19 Thread Tang Chen
The Hot-Pluggable Fired in SRAT specified which memory ranges are hotpluggable. We will arrange hotpluggable memory as ZONE_MOVABLE for users who want to use memory hotplug functionality. But this will cause NUMA performance decreased because kernel cannot use ZONE_MOVABLE. So we improve

[PATCH v1 01/12] x86: get pg_data_t's memory from other node

2013-04-19 Thread Tang Chen
From: Yasuaki Ishimatsu If system can create movable node which all memory of the node is allocated as ZONE_MOVABLE, setup_node_data() cannot allocate memory for the node's pg_data_t. So, use memblock_alloc_try_nid() instead of memblock_alloc_nid() to retry when the first allocation fails.

[PATCH v1 06/12] memblock, numa: Introduce flag into memblock.

2013-04-19 Thread Tang Chen
There is no flag in memblock to discribe what type the memory is. Sometimes, we may use memblock to reserve some memory for special usage. For example, as Yinghai did in his patch, allocate pagetables on local node before all the memory on the node is mapped. Please refer to Yinghai's patch: v1:

[PATCH v1 04/12] x86, numa, acpi, memory-hotplug: Introduce hotplug info into struct numa_meminfo.

2013-04-19 Thread Tang Chen
Since Yinghai has implement "Allocate pagetable pages in local node", for a node with hotpluggable memory, we have to allocate pagetable pages first, and then reserve the rest as hotpluggable memory in memblock. But the kernel parse SRAT first, and then initialize memory mapping. So we have to

Re: [RFC] arm64: Early printk support for virtio-mmio console devices.

2013-04-19 Thread Peter Maydell
On 19 April 2013 10:27, Will Deacon wrote: > On Fri, Apr 19, 2013 at 10:25:35AM +0100, Pranavkumar Sawargaonkar wrote: >> I am not against using 8250 emulation (as far as it solves printk >> issues for kernel booting logs), but my point is why not to add early >> read-write support for virtio

[PATCH v1 07/12] x86, numa, mem-hotplug: Mark nodes which the kernel resides in.

2013-04-19 Thread Tang Chen
If all the memory ranges in SRAT are hotpluggable, we should not arrange them all in ZONE_MOVABLE. Otherwise the kernel won't have enough memory to boot. This patch introduce a global variable kernel_nodemask to mark all the nodes the kernel resides in. And no matter if they are hotpluggable, we

[PATCH v1 02/12] acpi: Print Hot-Pluggable Field in SRAT.

2013-04-19 Thread Tang Chen
The Hot-Pluggable field in SRAT suggests if the memory could be hotplugged while the system is running. Print it as well when parsing SRAT will help users to know which memory is hotpluggable. Signed-off-by: Tang Chen --- arch/x86/mm/srat.c |9 ++--- 1 files changed, 6 insertions(+), 3

[PATCH v1 10/12] x86, memblock, mem-hotplug: Free hotpluggable memory reserved by memblock.

2013-04-19 Thread Tang Chen
We reserved hotpluggable memory in memblock. And when memory initialization is done, we have to free it to buddy system. This patch free memory reserved by memblock with flag MEMBLK_HOTPLUGGABLE. Signed-off-by: Tang Chen --- include/linux/memblock.h |1 + mm/memblock.c| 20

[PATCH v1 08/12] x86, numa, memblock: Introduce MEMBLK_LOCAL_NODE to mark and reserve node-life-cycle data.

2013-04-19 Thread Tang Chen
node-life-cycle data (whose life cycle is the same as a node) allocated by memblock should be marked so that when we free usable memory to buddy system, we can skip them. This patch introduces a flag MEMBLK_LOCAL_NODE for memblock to reserve node-life-cycle data. For now, it is only kernel direct

[PATCH v1 00/12] Arrange hotpluggable memory in SRAT as ZONE_MOVABLE.

2013-04-19 Thread Tang Chen
In memory hotplug situation, the hotpluggable memory should be arranged in ZONE_MOVABLE because memory in ZONE_NORMAL may be used by kernel, and Linux cannot migrate pages used by kernel. So we need a way to specify hotpluggable memory as movable. It should be as easy as possible. According to

[PATCH v1 12/12] doc, page_alloc, acpi, mem-hotplug: Add doc for movablecore=acpi boot option.

2013-04-19 Thread Tang Chen
Since we modify movablecore boot option to support "movablecore=acpi", this patch adds doc for it. Signed-off-by: Tang Chen --- Documentation/kernel-parameters.txt |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/Documentation/kernel-parameters.txt

[PATCH v1 09/12] x86, acpi, numa, mem-hotplug: Introduce MEMBLK_HOTPLUGGABLE to mark and reserve hotpluggable memory.

2013-04-19 Thread Tang Chen
We mark out movable memory ranges and reserve them with MEMBLK_HOTPLUGGABLE flag in memblock.reserved. This should be done after the memory mapping is initialized because the kernel now supports allocate pagetable pages on local node, which are kernel pages. The reserved hotpluggable will be

Re: [RFC] arm64: Early printk support for virtio-mmio console devices.

2013-04-19 Thread Will Deacon
On Fri, Apr 19, 2013 at 10:25:35AM +0100, Pranavkumar Sawargaonkar wrote: > On 19 April 2013 14:35, Will Deacon wrote: > > On Thu, Apr 18, 2013 at 09:48:49AM +0100, Pranavkumar Sawargaonkar wrote: > >> Actually i thought adding a config register will be easier to add a > >> code than writing

Re: 3.9.0-rc7-next: i915: render error detected

2013-04-19 Thread Chris Wilson
On Fri, Apr 19, 2013 at 11:16:36AM +0200, Jiri Slaby wrote: > Hi, with today's -next I got this: > > [drm] capturing error event; look for more information in > /sys/kernel/debug/dri/0/i915_error_state > i915: render error detected, EIR: 0x0010 > i915: page table error > i915: PGTBL_ER:

Re: [RFC] arm64: Early printk support for virtio-mmio console devices.

2013-04-19 Thread Pranavkumar Sawargaonkar
Hi Will, On 19 April 2013 14:35, Will Deacon wrote: > Hello, > > On Thu, Apr 18, 2013 at 09:48:49AM +0100, Pranavkumar Sawargaonkar wrote: >> Actually i thought adding a config register will be easier to add a >> code than writing entire emulation as 8250 emulation will require to >> deal with

Re: [PATCH Resend v6] sched: fix wrong rq's runnable_avg update with rt tasks

2013-04-19 Thread Mike Galbraith
On Fri, 2013-04-19 at 10:50 +0200, Vincent Guittot wrote: > On 19 April 2013 10:14, Mike Galbraith wrote: > > On Fri, 2013-04-19 at 09:49 +0200, Vincent Guittot wrote: > >> On 19 April 2013 06:30, Mike Galbraith wrote: > >> > On Thu, 2013-04-18 at 18:34 +0200, Vincent Guittot wrote: > >> >> The

3.9.0-rc7-next: i915: render error detected

2013-04-19 Thread Jiri Slaby
Hi, with today's -next I got this: [drm] capturing error event; look for more information in /sys/kernel/debug/dri/0/i915_error_state i915: render error detected, EIR: 0x0010 i915: page table error i915: PGTBL_ER: 0x0002 [drm:i915_report_and_clear_eir] *ERROR* EIR stuck: 0x0010,

Re: Re: [PATCH] I2C: Change the value of octeon i2c adapter timeout value

2013-04-19 Thread EUNBONG SONG
On Fri, Apr 19, 2013 at 12:01:04AM +, EUNBONG SONG wrote: >> >> I think HZ/50 is better than 2 for adapter timeout. > Basically OK. But why HZ/50? Most drivers use HZ. Actually, I just translated 2 jiffies because HZ is 100 in default cavium config. You can find that in

Re: [PATCH v3 1/6] drivers: phy: add generic PHY framework

2013-04-19 Thread Grant Likely
On Tue, 16 Apr 2013 15:48:07 +0530, Kishon Vijay Abraham I wrote: > On Tuesday 16 April 2013 01:20 AM, Grant Likely wrote: > > On Mon, 15 Apr 2013 17:56:10 +0530, Kishon Vijay Abraham I > > wrote: > >> On Monday 15 April 2013 05:04 PM, Grant Likely wrote: > >>> On Wed, 20 Mar 2013 14:42:00

Re: [RFC] arm64: Early printk support for virtio-mmio console devices.

2013-04-19 Thread Will Deacon
Hello, On Thu, Apr 18, 2013 at 09:48:49AM +0100, Pranavkumar Sawargaonkar wrote: > Actually i thought adding a config register will be easier to add a > code than writing entire emulation as 8250 emulation will require to > deal with dealing with more registers and more code. kvmtool already has

[tip:core/locking] mutex: Queue mutex spinners with MCS lock to reduce cacheline contention

2013-04-19 Thread tip-bot for Waiman Long
Commit-ID: 2bd2c92cf07cc4a373bf316c75b78ac465fefd35 Gitweb: http://git.kernel.org/tip/2bd2c92cf07cc4a373bf316c75b78ac465fefd35 Author: Waiman Long AuthorDate: Wed, 17 Apr 2013 15:23:13 -0400 Committer: Ingo Molnar CommitDate: Fri, 19 Apr 2013 09:33:36 +0200 mutex: Queue mutex spinners

[tip:core/locking] mutex: Back out architecture specific check for negative mutex count

2013-04-19 Thread tip-bot for Waiman Long
Commit-ID: cc189d2513d1f45cde87a9043fe3be28559c7490 Gitweb: http://git.kernel.org/tip/cc189d2513d1f45cde87a9043fe3be28559c7490 Author: Waiman Long AuthorDate: Wed, 17 Apr 2013 15:23:14 -0400 Committer: Ingo Molnar CommitDate: Fri, 19 Apr 2013 09:33:36 +0200 mutex: Back out

[tip:core/locking] mutex: Make more scalable by doing less atomic operations

2013-04-19 Thread tip-bot for Waiman Long
Commit-ID: 0dc8c730c98a06a4d927f8d08bd0dd6de973b8dd Gitweb: http://git.kernel.org/tip/0dc8c730c98a06a4d927f8d08bd0dd6de973b8dd Author: Waiman Long AuthorDate: Wed, 17 Apr 2013 15:23:12 -0400 Committer: Ingo Molnar CommitDate: Fri, 19 Apr 2013 09:33:35 +0200 mutex: Make more scalable

[tip:core/locking] mutex: Move mutex spinning code from sched/ core.c back to mutex.c

2013-04-19 Thread tip-bot for Waiman Long
Commit-ID: 41fcb9f230bf773656d1768b73000ef720bf00c3 Gitweb: http://git.kernel.org/tip/41fcb9f230bf773656d1768b73000ef720bf00c3 Author: Waiman Long AuthorDate: Wed, 17 Apr 2013 15:23:11 -0400 Committer: Ingo Molnar CommitDate: Fri, 19 Apr 2013 09:33:34 +0200 mutex: Move mutex spinning

Re: [PATCH Resend v6] sched: fix wrong rq's runnable_avg update with rt tasks

2013-04-19 Thread Vincent Guittot
On 19 April 2013 10:14, Mike Galbraith wrote: > On Fri, 2013-04-19 at 09:49 +0200, Vincent Guittot wrote: >> On 19 April 2013 06:30, Mike Galbraith wrote: >> > On Thu, 2013-04-18 at 18:34 +0200, Vincent Guittot wrote: >> >> The current update of the rq's load can be erroneous when RT tasks are

Re: [PATCH 5/5] ARM: at91: add Acme Systems Fox G20 board

2013-04-19 Thread Nicolas Ferre
On 04/18/2013 06:34 PM, Nicolas Ferre : > On 04/18/2013 03:01 PM, Nicolas Ferre : >> From: Douglas Gilbert >> >> Signed-off-by: Douglas Gilbert >> Signed-off-by: Nicolas Ferre >> --- >> arch/arm/boot/dts/Makefile| 1 + >> arch/arm/boot/dts/at91-foxg20.dts | 166 >>

Re: [PATCH 0/2] kdump: Enter 2nd kernel with BSP for enabling multiple CPUs

2013-04-19 Thread HATAYAMA Daisuke
(2013/04/18 20:41), Petr Tesarik wrote: On Mon, 16 Apr 2012 11:21:28 +0900 HATAYAMA Daisuke wrote: Currently, booting up 2nd kernel with multiple CPUs fails in most cases since it enters 2nd kernel with AP if the crash happens on the AP. The problem is to signal startup IPI from AP to BSP.

Re: [Patch -v4 1/4] Migrate shutdown/reboot to boot cpu.

2013-04-19 Thread Ingo Molnar
* Srivatsa S. Bhat wrote: > On 04/19/2013 01:26 PM, Ingo Molnar wrote: > > > > * Borislav Petkov wrote: > > > >> On Wed, Apr 17, 2013 at 09:46:53AM +0200, Ingo Molnar wrote: > >> > >>> What you mention here should indeed already be handled by the > >>> architecture > >>> hotplug code (for

RE: [PATCH v3] mmc: card: Adding support for sanitize in eMMC 4.5

2013-04-19 Thread Luca Porzio (lporzio)
Looks good to me. Thanks Maya. > -Original Message- > From: linux-mmc-ow...@vger.kernel.org [mailto:linux-mmc- > ow...@vger.kernel.org] On Behalf Of Maya Erez > Sent: Thursday, April 18, 2013 2:42 PM > To: linux-...@vger.kernel.org > Cc: linux-arm-...@vger.kernel.org; Maya Erez; Yaniv

Re: [BUG REPORT] Kernel panic on 3.9.0-rc7-4-gbb33db7

2013-04-19 Thread Jan Schmidt
On Fri, April 19, 2013 at 07:57 (+0200), Tejun Heo wrote: > (cc'ing btrfs people) > > On Fri, Apr 19, 2013 at 11:33:20AM +0800, Wanlong Gao wrote: >> RIP: 0010:[] [] >> ftrace_raw_event_block_bio_complete+0x73/0xf0 > ... >> [] bio_endio+0x80/0x90 >> [] btrfs_end_bio+0xf6/0x190 [btrfs] >> []

Re: [Patch -v4 1/4] Migrate shutdown/reboot to boot cpu.

2013-04-19 Thread Srivatsa S. Bhat
On 04/19/2013 01:26 PM, Ingo Molnar wrote: > > * Borislav Petkov wrote: > >> On Wed, Apr 17, 2013 at 09:46:53AM +0200, Ingo Molnar wrote: >> >>> What you mention here should indeed already be handled by the architecture >>> hotplug code (for example on x86 the boot CPU cannot be hot-removed).

<    1   2   3   4   5   6   7   8   9   10   >