Re: [PATCH] bnx2: update bnx2-mips-09 firmware to bnx2-mips-09-6.2.1b

2012-08-07 Thread David Miller
From: Jike Song Date: Wed, 8 Aug 2012 13:50:42 +0800 > On Fri, Jul 13, 2012 at 9:04 PM, Chris Webb wrote: >> Commit c2c20ef43d00 "bnx2: Update driver to use new mips firmware" >> updated the bnx2 driver to use bnx2-mips-09-6.2.1b in place of >> bnx2-mips-09-6.2.1a, but didn't replace the copy

Re: [PATCH 01/22] ARM: add mechanism for late code patching

2012-08-07 Thread Nicolas Pitre
On Tue, 7 Aug 2012, Cyril Chemparathy wrote: > Hi Nicolas, > > On 8/4/2012 1:38 AM, Nicolas Pitre wrote: > [...] > > > extern unsigned __patch_table_begin, __patch_table_end; > > > > You could use "exttern void __patch_table_begin" so those symbols don't > > get any type that could be misused

Re: [PATCH] ipc/sem.c: prevent ENOMEM in semop() w/ SEM_UNDO flag

2012-08-07 Thread Seiichi Ikarashi
Hi Manfred, (2012-08-07 20:10), Manfred Spraul wrote: > Hi Seiichi, > > 2012/8/6 Seiichi Ikarashi >> >> >> A real case was as follows. >> semget(IPC_PRIVATE, 7, IPC_CREAT | IPC_EXCL); >> sops[0].sem_num = 0; >> sops[0].sem_op = 1; >> sops[0].sem_flg = SEM_UNDO; >>

Re: [PATCH 1/4] Input: cyttsp4 - bus driver for Cypress TMA4XX touchscreen devices

2012-08-07 Thread Ferruh Yigit
Hello Javier, We needed a new modular driver mechanism so that we can handle the very flexible new generation of Cypress multi-touch devices (TMA4XX and TMA5XX). With this initial set of patches we are providing the primary function of multi-touch processing, according to protocol B, as the

Re: KVM segfaults with 3.5 while installing ubuntu 12.04

2012-08-07 Thread Stefan Priebe
Any news? Was this applied upstream? Am 06.08.2012 14:37, schrieb Avi Kivity: On 08/06/2012 03:12 PM, Avi Kivity wrote: On 08/06/2012 11:46 AM, Stefan Priebe - Profihost AG wrote: But still i got the segfault and core dump - this is my main problem? I mean qemu-kvm master isn't declared as

Re: [PATCH] bnx2: update bnx2-mips-09 firmware to bnx2-mips-09-6.2.1b

2012-08-07 Thread Jike Song
On Fri, Jul 13, 2012 at 9:04 PM, Chris Webb wrote: > Commit c2c20ef43d00 "bnx2: Update driver to use new mips firmware" > updated the bnx2 driver to use bnx2-mips-09-6.2.1b in place of > bnx2-mips-09-6.2.1a, but didn't replace the copy of bnx2-mips-09-6.2.1a > in firmware/bnx2/ with the new

[PATCH v3] arm/dts: exynos4: Add DTS file for ODROID-X

2012-08-07 Thread tobetter
From: Dongjin Kim This patch create a DTS file for ODROID-X, it desribes PMIC max77686 and LED gpios base. Changes in V2 & V3: -. Banner changed Signed-off-by: Dongjin Kim --- arch/arm/boot/dts/exynos4412-odroidx.dts | 148 ++ 1 file changed, 148

Re: [PATCH v2] arm/dts: exynos4: Add DTS file for ODROID-X

2012-08-07 Thread Sachin Kamat
On 8 August 2012 11:06, wrote: > From: Dongjin Kim > > This patch create a DTS file for ODROID-X, it desribes PMIC max77686 and LED > gpios base. > > Changes in V2: > -. Banner changed > > Signed-off-by: Dongjin Kim > --- > arch/arm/boot/dts/exynos4412-odroidx.dts | 148 >

Re: [bisected] nouveau: "Failed to idle channel x" after resume

2012-08-07 Thread Ben Skeggs
On Mon, Aug 06, 2012 at 11:38:04PM +0300, Maxim Levitsky wrote: > On Sat, 2012-08-04 at 17:41 +0300, Maxim Levitsky wrote: > > On Mon, 2012-07-23 at 18:25 +0300, Aioanei Rares wrote: > > > On Thu, Jul 5, 2012 at 11:24 PM, Martin Nyhus > > > wrote: > > > > > > > > On Mon, 11 Jun 2012 23:18:42

[PATCH v2] arm/dts: exynos4: Add DTS file for ODROID-X

2012-08-07 Thread tobetter
From: Dongjin Kim This patch create a DTS file for ODROID-X, it desribes PMIC max77686 and LED gpios base. Changes in V2: -. Banner changed Signed-off-by: Dongjin Kim --- arch/arm/boot/dts/exynos4412-odroidx.dts | 148 ++ 1 file changed, 148 insertions(+)

Re: [PATCH 0/4] perf: Teach perf tool to profile sleep times (v2)

2012-08-07 Thread Namhyung Kim
On Wed, 8 Aug 2012 09:02:18 +0400, Andrey Wagin wrote: > 2012/8/8 Namhyung Kim : >>> >>> $ ./perf record -e sched:sched_stat_sleep -e sched:sched_switch \ >>> -e sched:sched_process_exit -gP -o ~/perf.data.raw ~/foo > > Actually this string is not completed, because

[PATCH] thermal: Fix potential NULL pointer accesses

2012-08-07 Thread Guenter Roeck
The type parameter in thermal_zone_device_register and thermal_cooling_device_register can be NULL, indicating that no sysfs attribute for the type should be created. Only call strlen() and strcpy() on type if it is not NULL. This patch addresses Coverity #102180 and #102182: Dereference before

Re: Re: [RFC PATCH] block:Fix some problems about handling plug in blk_queue_bio().

2012-08-07 Thread Jianpeng Ma
On 2012-08-08 11:06 Shaohua Li Wrote: >2012/8/8 Jianpeng Ma : >> I think there are three problems about handling plug in blk_queue_bio(): >> 1:if request_count >= BLK_MAX_REQUEST_COUNT, avoid unnecessary >> plug->should_sort judge. >this makes sense, though not a big deal, nice to fix it. Thanks

[PATCH v2] arm/dts: exynos4: Add DTS files derived from common Exynos4

2012-08-07 Thread tobetter
From: Dongjin Kim This patch creates a DTS file, exynos4.dtsi, for Exynos4210/4x12 and it describes common device nodes. SoC specific device nodes are described in another DTS file derived from this, exynos4210.dtsi and exynos4412.dtsi. exynos4412.dtsi is added new for Exynos4412 as well as

Re: [PATCH 1/2] perf tools: Initial bash completion support

2012-08-07 Thread Namhyung Kim
Hi, Frederic On Wed, 8 Aug 2012 07:26:48 +0200, Frederic Weisbecker wrote: > On Wed, Aug 08, 2012 at 10:10:02AM +0900, Namhyung Kim wrote: >> On Tue, 07 Aug 2012 16:10:54 -0600, David Ahern wrote: >> > On 8/7/12 11:00 AM, Frederic Weisbecker wrote: >> >> diff --git a/tools/perf/Makefile

Re: [PATCH 1/2] perf tools: Initial bash completion support

2012-08-07 Thread Frederic Weisbecker
On Wed, Aug 08, 2012 at 10:10:02AM +0900, Namhyung Kim wrote: > On Tue, 07 Aug 2012 16:10:54 -0600, David Ahern wrote: > > On 8/7/12 11:00 AM, Frederic Weisbecker wrote: > >> diff --git a/tools/perf/Makefile b/tools/perf/Makefile > >> index 35655c3..ddfb7e5 100644 > >> --- a/tools/perf/Makefile >

[PATCH] kernel_notifier: register conditional raw notifier

2012-08-07 Thread Jenny TC
Introduce a new API raw_notifier_chain_cond_register to add a notifier to a raw notifier chain, only if notifier not already present in the chain. Signed-off-by: Jenny TC --- kernel/notifier.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/kernel/notifier.c

RE: [PATCH v3 1/2] lis3: add generic DT matching code

2012-08-07 Thread AnilKumar, Chimata
Hi Mack, No attachments please. On Wed, Aug 08, 2012 at 00:19:01, Daniel Mack wrote: > Hi, > > thanks for your review. > > On 06.08.2012 12:45, AnilKumar, Chimata wrote: > > On Sun, Aug 05, 2012 at 21:48:42, Daniel Mack wrote: > >> On 30.07.2012 09:36, Daniel Mack wrote: > >>> This patch adds

[PATCH 1/1] proc: add /proc/pid/shmaps

2012-08-07 Thread Qiaowei Ren
Add a shmaps entry to /proc/pid: show information about shared memory in an address space. People that use shared memory and want to perform an analyzing about it. For example, judge whether any memory address is shared. This file just contains 'share' part of /proc/pid/maps now. There are too

Re: [BUG] Kernel panic when try s3c-hsotg.c with kernel 3.5

2012-08-07 Thread Peiyong Feng
2012/8/7 Lukasz Majewski : > On Tue, 07 Aug 2012 11:04:10 +0800 > Peiyong Feng wrote: > >> 2012/8/6 Lukasz Majewski : >> > Hi, >> > >> >> Hi, >> >> >> >> On Mon, Aug 06, 2012 at 06:12:05PM +0800, Peiyong Feng wrote: >> >> > I got a kernel panic when try hsotg of ok6410 which is based on >> >> >

Re: [PATCH 0/4] perf: Teach perf tool to profile sleep times (v2)

2012-08-07 Thread Andrey Wagin
2012/8/8 Namhyung Kim : >> >> $ ./perf record -e sched:sched_stat_sleep -e sched:sched_switch \ >> -e sched:sched_process_exit -gP -o ~/perf.data.raw ~/foo Actually this string is not completed, because sched:sched_switch should be filtered by state. >> [ perf record: Woken up 1

RE: [PATCH] ARM: EXYNOS: Add HDMIPHY I2C adaptor

2012-08-07 Thread Kukjin Kim
I applied the patches Sachin pointed out, so we could drop this patch. Note, Dongjin, please don't use Korean character in your e-mail and keep the new line for over 80 columns, actually 76 or 78? anyways. Thanks. Best regards, Kgene. -- Kukjin Kim , Senior Engineer, SW Solution Development

null pointer dereference while loading i915

2012-08-07 Thread Mihai Moldovan
Hi Daniel, hi list ever since version 3.2.0 (maybe even earlier, but 3.0.2 is still working fine), my box is crashing when loading the i915 driver (mode-setting enabled.) The current version I'm testing with is 3.5.0. I was able to get the BUG output (please forgive any errors/flips in the

Re: [PATCH 1/3] zsmalloc: s/firstpage/page in new copy map funcs

2012-08-07 Thread Minchan Kim
Hi Greg, When do you merge this series? Thanks. On Wed, Jul 18, 2012 at 11:55:54AM -0500, Seth Jennings wrote: > firstpage already has precedent and meaning the first page > of a zspage. In the case of the copy mapping functions, > it is the first of a pair of pages needing to be mapped. > >

Re: A question on serial driver

2012-08-07 Thread Shashidhar Hiremath
thanks guys, got it to work. the receive interrupt was somehow getting disabled. On Tue, Aug 7, 2012 at 4:12 PM, Jiri Slaby wrote: > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying

Re: [RFC PATCH 3/4] ftrace: Do not test frame pointers if -mfentry is used

2012-08-07 Thread Masami Hiramatsu
(2012/08/08 4:38), Steven Rostedt wrote: > From: Steven Rostedt > > The function graph has a test to check if the frame pointer is > corrupted, which can happen with various options of gcc with mcount. > But this is not an issue with -mfentry as -mfentry does not need nor use > frame pointers

Re: [PATCH 6/6] mm: have order > 0 compaction start near a pageblock with free pages

2012-08-07 Thread Minchan Kim
On Tue, Aug 07, 2012 at 01:31:17PM +0100, Mel Gorman wrote: > commit [7db8889a: mm: have order > 0 compaction start off where it left] > introduced a caching mechanism to reduce the amount work the free page > scanner does in compaction. However, it has a problem. Consider two process >

Re: [PATCH] MMC/omap_hsmmc: handle failure of regulator_get better.

2012-08-07 Thread Chris Ball
Hi, On Sun, Jul 29 2012, NeilBrown wrote: > 1/ if regulator_get fails, return an error. This is important >if it failed with EPROBE_DEFER, as the probe needs to be >deferred. > > 2/ Don't set .set_power until the regulator has been found, or >the deferred probe will not bother

What is the significance of coherent_dma_mask?

2012-08-07 Thread Venu Byravarasu
Hi, Some of the USB drivers are setting coherent_dma_mask & many others are not doing it. From the description present in the comment beside this field in device.h, I could not understand its real significance. Can some one plz let me know its real need and use case where it is mandatory to

Re: [PATCH 3/4] arm/dts: exynos4: Add DTS file for ODROID-X

2012-08-07 Thread Sachin Kamat
On 8 August 2012 00:42, Dongjin Kim wrote: > This patch create a DTS file for ODROID-X, it desribes PMIC max77686 and LED > gpios base. > > Signed-off-by: Dongjin Kim > --- > arch/arm/boot/dts/exynos4412-odroidx.dts | 148 > ++ > 1 file changed, 148 insertions(+) >

Re: [PATCH 2/2] drivers/mmc/host/vub300.c: add missing usb_free_urb

2012-08-07 Thread Chris Ball
Hi Julia, On Tue, Jul 24 2012, Julia Lawall wrote: > From: Julia Lawall > > Add missing usb_free_urb on failure path after usb_alloc_urb. Thanks, pushed to mmc-next for 3.7. - Chris. -- Chris Ball One Laptop Per Child -- To unsubscribe from this list: send the line

Re: [PATCH] Parallelize mtrr init between cpus

2012-08-07 Thread H. Peter Anvin
On 08/07/2012 07:08 PM, zhenzhong.duan wrote: 2012-08-08 00:32, H. Peter Anvin wrote: On 08/07/2012 12:29 AM, zhenzhong.duan wrote: Current code serialize mtrr init with set_atomicity_lock. Mtrr init is quite slow when we bootup on a hvm with large mem, vcpus and pci passthroughed

Re: [PATCH v2 1/1] ARM: dove: DT support for sdhci-dove

2012-08-07 Thread Chris Ball
Hi Sebastian, On Tue, Jul 31 2012, Sebastian Hesselbarth wrote: > This patch adds device tree support and binding documentiation for > sdhci-dove. > > v2: extended documentation and removed second interrupt as it is marked > 'reserved' in dove datasheet. > > Signed-off-by: Sebastian

Re: [PATCH] mmc: sdhci: fix the clock APIs for pxav2 and pxav3 driver

2012-08-07 Thread Chris Ball
Hi, On Tue, Jul 31 2012, Chao Xie wrote: > From: Chao Xie > > Signed-off-by: Chao Xie Thanks, pushed to mmc-next for 3.7. - Chris. -- Chris Ball One Laptop Per Child -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: [PATCH 3/4] arm/dts: exynos4: Add DTS file for ODROID-X

2012-08-07 Thread Thomas Abraham
On 8 August 2012 00:42, Dongjin Kim wrote: > This patch create a DTS file for ODROID-X, it desribes PMIC max77686 and LED > gpios base. > > Signed-off-by: Dongjin Kim > --- > arch/arm/boot/dts/exynos4412-odroidx.dts | 148 > ++ > 1 file changed, 148 insertions(+) >

Re: [PATCH] Input: omap4-keypad - don't leak in omap4_keypad_probe()

2012-08-07 Thread Sachin Kamat
On 7 August 2012 23:46, Jesper Juhl wrote: > If omap4_keypad_parse_dt() does not return 0 (zero) in > omap4_keypad_probe() we will leak the memory we allocated for > 'keypad_data' with kzalloc() when we return and the variable goes out > of scope. How about using devm_kzalloc() instead which

Re: [PATCH] fix NULL-pointer dereference on scsi_run_queue

2012-08-07 Thread Chanho Min
> I'm afraid that without the second half of that patch the following race > is still possible: > - sdev reference count drops to zero while scsi_run_queue() is in > progress and while that sdev is on the starved_list of its SCSI host; > scsi_device_dev_release_usercontext() call is scheduled

Re: [PATCH v4] mmc: dw_mmc: Disable low power mode if SDIO interrupts are used

2012-08-07 Thread Chris Ball
Hi, On Thu, Jul 26 2012, Seungwon Jeon wrote: > July 26, 2012, Doug Anderson wrote: >> The documentation for the dw_mmc part says that the low power >> mode should normally only be set for MMC and SD memory and should >> be turned off for SDIO cards that need interrupts detected. >> >> The best

Re: [PATCH 2/4] arm/dts: exynos4: Add DTS files derived from common Exynos4

2012-08-07 Thread Thomas Abraham
On 8 August 2012 00:36, Dongjin Kim wrote: > This patch creates a DTS file, exynos4.dtsi, for Exynos4210/4x12 and it > describes common device nodes. SoC specific device nodes are described in > another DTS file derived from this, exynos4210.dtsi and exynos4412.dtsi. > > exynos4412.dtsi is added

Re: [PATCH] dm: verity support data device offset

2012-08-07 Thread Greg KH
On Wed, Aug 08, 2012 at 12:43:28AM +, Wesley Miaw wrote: > I needed to add support for dm-verity with data that is offset into a block > device. As part of this I found that the existing code did not compute the > correct hash block index if the data_start might be non-zero. Here's a patch

RE: [PATCHv2 3/4] modem_shm: u8500-shm: U8500 Shared Memory Driver

2012-08-07 Thread Arun MURTHY
> > drivers/modem_shm/Kconfig|2 + > > drivers/modem_shm/Makefile |1 + > > drivers/modem_shm/u8500_shm/Kconfig | 43 + > > drivers/modem_shm/u8500_shm/Makefile |7 + > > drivers/modem_shm/u8500_shm/shrm_char.c

RE: [PATCHv2 1/4] modem_shm: Add Modem Access Framework

2012-08-07 Thread Arun MURTHY
> On Tue, Aug 07, 2012 at 12:24:28PM +0530, Arun Murthy wrote: > > Adds Modem Access Framework, which allows for registering platform > specific > > modem access mechanisms. The framework also exposes APIs for client > drivers > > for getting and releasing access to modem, regardless of the >

[PATCH 1/8] perf hists browser: Add verbose mode hotkey

2012-08-07 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Right now just shows the DSO name in callchain entries, to help debug the DWARF CFI post unwind code. Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Link:

Re: Kernel Oops while disconnecting USB peripheral (always)

2012-08-07 Thread Sarbojit Ganguly
Sorry guys I was away due to personal emergency, however now I am back and will check the reply ASAP. On 28 July 2012 21:49, Alan Stern wrote: > On Sat, 28 Jul 2012, Daniel Mack wrote: > >> Hmm, interesting. Thanks for sharing this. I personally never saw this >> bug kicking in, but if I

[PATCH 3/8] perf header: Set the tracepoint names on PERF_RECORD_HEADER_TRACING_DATA

2012-08-07 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo We only have access to pevent after processing that event, so set the tracepoint names there. Right now this isn't a problem as we're deferring resolving the tracepoint names to when we process samples, but in the next patches we will be doing it in advance, to

[PATCH 6/8] perf lock: Use evsel->tp_format and perf_sample

2012-08-07 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To reduce the number of parameters passed to the various event handling functions. Cc: Andrey Wagin Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Link:

[PATCH 2/8] perf tools: Add dump_stack function

2012-08-07 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To help in debugging the tools, provides functionality roughly similar to the function with the same name in the kernel. Copied from glibc backtrace function man page. Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim

[PATCH 8/8] perf script: Stop using pevent directly

2012-08-07 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo We can get all that is needed using just event_format, that is available via evsel->tp_format now. Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Link:

[PATCH 4/8] perf evsel: Cache associated event_format

2012-08-07 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo We already lookup the associated event_format when reading the perf.data header, so that we can cache the tracepoint name in evsel->name, so do it a little further and save the event_format itself, so that we can avoid relookups in tools that need to access it.

[PATCH 7/8] perf sched: Use perf_sample

2012-08-07 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To reduce the number of parameters passed to the various event handling functions. Cc: Andrey Wagin Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Link:

[PATCH 5/8] perf kmem: Use evsel->tp_format and perf_sample

2012-08-07 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To reduce the number of parameters passed to the various event handling functions. Cc: Andrey Wagin Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Link:

Re: [RFC PATCH] block:Fix some problems about handling plug in blk_queue_bio().

2012-08-07 Thread Shaohua Li
2012/8/8 Jianpeng Ma : > I think there are three problems about handling plug in blk_queue_bio(): > 1:if request_count >= BLK_MAX_REQUEST_COUNT, avoid unnecessary > plug->should_sort judge. this makes sense, though not a big deal, nice to fix it. > 2:Only two device can trace plug. I didn't get

RE: [PATCHv2 3/4] modem_shm: u8500-shm: U8500 Shared Memory Driver

2012-08-07 Thread Arun MURTHY
> > +#define SIZE_OF_FIFO (512*1024) > > + > > +static u8 message_fifo[ISA_DEVICES][SIZE_OF_FIFO]; > > Thats a huge amount of static memory that gets allocated regardless of > whether the device is open or being used ? Yes, but all of these will be used, in any system which includes APE-Modem

Re: [PATCH] ARM: SAMSUNG: Fix compilation error with s3c2410_defconfig

2012-08-07 Thread Tushar Behera
On 08/08/2012 07:02 AM, Kukjin Kim wrote: > Kukjin Kim wrote: >> > > [...] > >> >> From: Tushar Behera >> Subject: [PATCH] ARM: SAMSUNG: Fix compilation error with >> s3c2410_defconfig >> >> Commit 2663e766c56a ("ARM Samsung: Move s3c pwm driver to pwm framework") > > Oops, this should be

Re: 答复: [PATCH 1/8] USB:support the new interfaces of Huawei Data Card devices in option driver

2012-08-07 Thread g...@kroah.com
On Wed, Aug 08, 2012 at 01:57:06AM +, Fangxiaozhi (Franko) wrote: > Dear Greg: > > Sorry, this email has included the whole patch. 1/8, I mean that it is submit > at Aug. 1st. No, please don't put the date in the Subject:, that's what the normal Date field in the email is for :) > By the

[PATCH V2] serial: mxs-auart: fix the wrong RTS hardware flow control

2012-08-07 Thread Huang Shijie
Without checking if the auart supports the hardware flow control or not, the old mxs_auart_set_mctrl() asserted the RTS pin blindly. This will causes the auart receives wrong data in the following case: The far-end has already started the write operation, and wait for the auart asserts the RTS

[PATCH v8 6/6] allower the user to disable pv event support

2012-08-07 Thread Wen Congyang
Signed-off-by: Wen Congyang --- hw/pc_piix.c|6 +- qemu-config.c |4 qemu-options.hx |3 ++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/hw/pc_piix.c b/hw/pc_piix.c index 4af8403..9b877a7 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c @@ -151,6 +151,8

[PATCH v8 5/6] introduce a new qom device to deal with panicked event

2012-08-07 Thread Wen Congyang
If the target is x86/x86_64, the guest's kernel will write 0x01 to the port KVM_PV_EVENT_PORT when it is panciked. This patch introduces a new qom device kvm_pv_ioport to listen this I/O port, and deal with panicked event according to panicked_action's value. The possible actions are: 1. emit

[PATCH v8 4/6] add a new qevent: QEVENT_GUEST_PANICKED

2012-08-07 Thread Wen Congyang
This event will be emited when the guest is panicked. Signed-off-by: Wen Congyang --- monitor.c |1 + monitor.h |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/monitor.c b/monitor.c index 49dccfe..c892b7e 100644 --- a/monitor.c +++ b/monitor.c @@ -458,6 +458,7 @@

회신: [PATCH v2] ODROID-X: hkdk4412: Add new hardware based on Exynos4412

2012-08-07 Thread Dongjin Kim
Hi, Thank you for your advice. And I didn't know non-DT board file will not be merged any more. Rule is rule, I can manage the file in my git only. I am very new to send git patches to open community, even I use git on my previous project. I will pay attention to my next patches if I have

[PATCH v8 3/6] add a new runstate: RUN_STATE_GUEST_PANICKED

2012-08-07 Thread Wen Congyang
The guest will be in this state when it is panicked. Signed-off-by: Wen Congyang --- qapi-schema.json |6 +- qmp.c|3 ++- vl.c |7 ++- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index

[PATCH v8 2/6] kvm: Update kernel headers

2012-08-07 Thread Wen Congyang
Corresponding kvm.git hash: 439793d4 with my patch for kvm --- linux-headers/asm-s390/kvm.h |2 +- linux-headers/asm-s390/kvm_para.h |2 +- linux-headers/asm-x86/kvm.h |1 + linux-headers/asm-x86/kvm_para.h |9 + linux-headers/linux/kvm.h |3 +++

[PATCH v8 1/6] start vm after reseting it

2012-08-07 Thread Wen Congyang
The guest should run after reseting it, but it does not run if its old state is RUN_STATE_INTERNAL_ERROR or RUN_STATE_PAUSED. We don't set runstate to RUN_STATE_PAUSED when reseting the guest, so the runstate will be changed from RUN_STATE_INTERNAL_ERROR or RUN_STATE_PAUSED to

[PATCH v8] kvm: notify host when the guest is panicked

2012-08-07 Thread Wen Congyang
We can know the guest is panicked when the guest runs on xen. But we do not have such feature on kvm. Another purpose of this feature is: management app(for example: libvirt) can do auto dump when the guest is panicked. If management app does not do auto dump, the guest's user can do dump by hand

RE: [PATCH v2] ODROID-X: hkdk4412: Add new hardware based on Exynos4412

2012-08-07 Thread Kukjin Kim
Dongjin Kim wrote: > Hi, Basically, we don't add more board file for non-DT for EXYNOS SoCs... > The HKDK4412 is the CPU module developed by Hardkernel which is based on > Exynos 4412. mach_hkdk4412.c is to run on ODROID-X hardware and Machine > ID > (4289) is registered. > This should be

Re: [PATCH 1/2] perf tools: Initial bash completion support

2012-08-07 Thread David Ahern
On 8/7/12 7:10 PM, Namhyung Kim wrote: On Tue, 07 Aug 2012 16:10:54 -0600, David Ahern wrote: On 8/7/12 11:00 AM, Frederic Weisbecker wrote: diff --git a/tools/perf/Makefile b/tools/perf/Makefile index 35655c3..ddfb7e5 100644 --- a/tools/perf/Makefile +++ b/tools/perf/Makefile @@ -951,6 +951,7

Re: rcu: INFO: rcu_preempt detected stalls on CPUs/tasks on v3.6

2012-08-07 Thread Michael Wang
On 08/07/2012 06:24 PM, Sasha Levin wrote: > On 08/07/2012 07:40 AM, John Stultz wrote: >> On 08/06/2012 11:28 AM, Sasha Levin wrote: >>> On 08/06/2012 08:20 PM, John Stultz wrote: On 08/06/2012 10:21 AM, John Stultz wrote: > On 08/05/2012 09:55 AM, Sasha Levin wrote: >> On 07/30/2012

Re: [PATCH v2] leds: triggers: send uevent when changing triggers

2012-08-07 Thread Bryan Wu
On Wed, Aug 8, 2012 at 9:12 AM, Henrique de Moraes Holschuh wrote: > On Tue, 07 Aug 2012, Colin Cross wrote: >> Some triggers create sysfs files when they are enabled. Send a uevent >> "change" notification whenever the trigger is changed to allow userspace >> processes such as udev to modify

RE: 회신: [PATCH 2/4] arm/dts: exynos4: Add DTS files derived from common Exynos4

2012-08-07 Thread Kukjin Kim
Arnd Bergmann wrote: > > On Tuesday 07 August 2012, Dongjin Kim wrote: > > Hi, > > > > I didn't use -M and I couldn't see any difference with the it. > > Did I make something wrong on that patch? > > No, I think it's just git being less smart about file moves than I was > hoping > for. It might

Re: [PATCH] Parallelize mtrr init between cpus

2012-08-07 Thread zhenzhong.duan
2012-08-08 00:32, H. Peter Anvin wrote: On 08/07/2012 12:29 AM, zhenzhong.duan wrote: Current code serialize mtrr init with set_atomicity_lock. Mtrr init is quite slow when we bootup on a hvm with large mem, vcpus and pci passthroughed devices(eg. 24 vcpus + 90G mem). It took about ~30 mins

Re: [PATCH 3/6] mm: kswapd: Continue reclaiming for reclaim/compaction if the minimum number of pages have not been reclaimed

2012-08-07 Thread Minchan Kim
On Tue, Aug 07, 2012 at 01:31:14PM +0100, Mel Gorman wrote: > When direct reclaim is running reclaim/compaction, there is a minimum > number of pages it reclaims. As it must be under the low watermark to be > in direct reclaim it has also woken kswapd to do some work. This patch > has kswapd use

[RFC PATCH] block:Fix some problems about handling plug in blk_queue_bio().

2012-08-07 Thread Jianpeng Ma
I think there are three problems about handling plug in blk_queue_bio(): 1:if request_count >= BLK_MAX_REQUEST_COUNT, avoid unnecessary plug->should_sort judge. 2:Only two device can trace plug. 3:When exec blk_flush_plug_list,it use list_sort which has O(nlog(n)) complexity. When insert and

Re: [PATCH 2/6] mm: vmscan: Scale number of pages reclaimed by reclaim/compaction based on failures

2012-08-07 Thread Minchan Kim
Hi Mel, Just out of curiosity. What's the problem did you see? (ie, What's the problem do this patch solve?) AFAIUC, it seem to solve consecutive allocation success ratio through getting several free pageblocks all at once in a process/kswapd reclaim context. Right? On Tue, Aug 07, 2012 at

Re: [PATCH RFT] leds: lp8788: Fix updating scale configuration bits

2012-08-07 Thread Bryan Wu
On Tue, Aug 7, 2012 at 4:09 PM, Kim, Milo wrote: >> > We need to do left shift (cfg->num + LP8788_ISINK_SCALE_OFFSET) bits >> for >> > updating scale configuration. >> > >> > Signed-off-by: Axel Lin >> > --- >> >> Milo, I think this patch from Axel is reasonable. could you please >> take a look

[PATCH 1/8] arm: vt8500: Add device tree files for VIA/Wondermedia SoC's

2012-08-07 Thread Tony Prisk
Add device tree files for VT8500, WM8505 and WM8650 SoC's and reference boards. Signed-off-by: Tony Prisk --- arch/arm/boot/dts/vt8500.dtsi| 99 ++ arch/arm/boot/dts/vt8500_ref.dts | 31 ++ arch/arm/boot/dts/wm8505.dtsi| 125

[PATCH 2/8] rtc: vt8500: Add devicetree support for vt8500-rtc

2012-08-07 Thread Tony Prisk
Signed-off-by: Tony Prisk --- drivers/rtc/rtc-vt8500.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/rtc/rtc-vt8500.c b/drivers/rtc/rtc-vt8500.c index 9e94fb1..7364564 100644 --- a/drivers/rtc/rtc-vt8500.c +++ b/drivers/rtc/rtc-vt8500.c @@ -23,6 +23,7 @@ #include

[PATCH 5/8] video: vt8500: Add devicetree support for vt8500-fb and wm8505-fb

2012-08-07 Thread Tony Prisk
Update vt8500-fb, wm8505-fb and wmt-ge-rops to support device tree bindings. Small change in wm8505-fb.c to support WM8650 framebuffer color format. Signed-off-by: Tony Prisk --- drivers/video/Kconfig |6 +-- drivers/video/vt8500lcdfb.c | 77 ++-

[PATCH 7/8] arm: vt8500: doc: Add device tree bindings for arch-vt8500 devices

2012-08-07 Thread Tony Prisk
Bindings for gpio, interrupt controller, power management controller, timer, realtime clock, serial uart, ehci and uhci controllers and framebuffer controllers used on the arch-vt8500 platform. Framebuffer binding also specifies a 'display' node which is required for determining the lcd panel

[PATCH 8/8] ARM: vt8500: gpio: Devicetree support for arch-vt8500

2012-08-07 Thread Tony Prisk
Converted the existing arch-vt8500 gpio to a platform_device. Added support for WM8505 and WM8650 GPIO controllers. Signed-off-by: Tony Prisk --- drivers/gpio/Kconfig |6 + drivers/gpio/Makefile |1 + drivers/gpio/gpio-vt8500.c | 318

[PATCH 0/8] *** ARM: Update arch-vt8500 to Devicetree ***

2012-08-07 Thread Tony Prisk
This patchset updates arch-vt8500 to devicetree and removes all the old-style code. Support for WM8650 has also been added. Example dts/dtsi files are given for the three currently supported models. Major changes: GPIO code has been converted to a platform_device and rewritten as WM8505 support

[PATCH 3/8] serial: vt8500: Add devicetree support for vt8500-serial

2012-08-07 Thread Tony Prisk
Signed-off-by: Tony Prisk --- drivers/tty/serial/vt8500_serial.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/tty/serial/vt8500_serial.c b/drivers/tty/serial/vt8500_serial.c index 2be006f..a7f58c9 100644 --- a/drivers/tty/serial/vt8500_serial.c +++

[PATCH 4/8] usb: vt8500: Add devicetree support for vt8500-ehci and -uhci.

2012-08-07 Thread Tony Prisk
Add devicetree support for vt8500-ehci. Convert vt8500-uhci to a generic non-pci platform-uhci with device tree support. Signed-off-by: Tony Prisk --- drivers/usb/host/Kconfig |4 +- drivers/usb/host/ehci-vt8500.c | 24 -- drivers/usb/host/uhci-hcd.c |5 ++

[PATCH] hid:hid-multitouch: add mt_resume for ELAN's production

2012-08-07 Thread Scott Liu
Some of ELAN’s production need to issue set_idle when resume. Signed-off-by: Scott Liu --- drivers/hid/hid-ids.h|3 +++ drivers/hid/hid-multitouch.c | 26 ++ 2 files changed, 29 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index

RE: [PATCH] ARM: SAMSUNG: Fix compilation error with s3c2410_defconfig

2012-08-07 Thread Kukjin Kim
Kukjin Kim wrote: > [...] > > From: Tushar Behera > Subject: [PATCH] ARM: SAMSUNG: Fix compilation error with > s3c2410_defconfig > > Commit 2663e766c56a ("ARM Samsung: Move s3c pwm driver to pwm framework") Oops, this should be "215c29d3d0e9"... Thanks. Best regards, Kgene. -- Kukjin Kim

Re: [PATCH 1/1] leds: Add LED driver for lm355x chips

2012-08-07 Thread Bryan Wu
On Tue, Aug 7, 2012 at 1:28 PM, GShark Jeong wrote: > Hi Bryan. > > We can replace lm3556 by lm355x code or add lm355x code leaving lm3556. > Let me know your opinion which one is better. > Sure, I prefer to replace lm3556 by lm355x since your new solution covers this 2 drivers. Thanks, -Bryan

Re: [linux-pm] [PATCH] ACPI: replace strlen("string") with sizeof("string") -1

2012-08-07 Thread Alan Stern
On Wed, 8 Aug 2012, Pavel Vasilyev wrote: > >>> Yes. So if s contains "abcde" then > >>> > >>> memcmp(s, "abc", 3) and strncmp(s, "abc", 3) will both return 0, and > >>> memcmp(s, "abc", 4) and strncmp(s, "abc", 4) will both return 1. > >> > >> No matter what is contained in *s, "abcde" or

RE: [PATCH] drm/exynos: Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(.. [1]

2012-08-07 Thread Inki Dae
> -Original Message- > From: Thomas Meyer [mailto:tho...@m3y3r.de] > Sent: Tuesday, August 07, 2012 3:57 PM > To: inki@samsung.com; jy0922.s...@samsung.com; sw0312@samsung.com; > kyungmin.p...@samsung.com; airl...@linux.ie; dri- > de...@lists.freedesktop.org;

Re: [PATCH 5/5] rbtree: move augmented rbtree functionality to rbtree_augmented.h

2012-08-07 Thread Michel Lespinasse
On Tue, Aug 7, 2012 at 12:25 AM, Michel Lespinasse wrote: > Provide rb_insert_augmented() and rb_erase_augmented through > a new rbtree_augmented.h include file. rb_erase_augmented() is defined > there as an __always_inline function, in order to allow inlining of > augmented rbtree callbacks into

Re: [PATCH 1/2] perf tools: Initial bash completion support

2012-08-07 Thread Namhyung Kim
On Tue, 07 Aug 2012 16:10:54 -0600, David Ahern wrote: > On 8/7/12 11:00 AM, Frederic Weisbecker wrote: >> diff --git a/tools/perf/Makefile b/tools/perf/Makefile >> index 35655c3..ddfb7e5 100644 >> --- a/tools/perf/Makefile >> +++ b/tools/perf/Makefile >> @@ -951,6 +951,7 @@ install: all >>

Re: [PATCH v2] leds: triggers: send uevent when changing triggers

2012-08-07 Thread Henrique de Moraes Holschuh
On Tue, 07 Aug 2012, Colin Cross wrote: > Some triggers create sysfs files when they are enabled. Send a uevent > "change" notification whenever the trigger is changed to allow userspace > processes such as udev to modify permissions on the new files. > > A change notification will also be sent

RE: [linux-pm] [PATCH] ACPI: replace strlen("string") with sizeof("string") -1

2012-08-07 Thread Daniel Taylor
Said it was a silly question. It's funny. I've been using "0123456789abcdef"[index] for a long time, so I "know" that "string" is a array of char, but it never occurred to me that "string" would work in sizeof() the same way as char string[] = { '0', '1', '2', '3', '4', '5', '6', '7',

[BUGFIX -v3 2/4] PCI/PM: Keep parent bridge active when probing device

2012-08-07 Thread Huang Ying
This patch fixes the following bug: http://marc.info/?l=linux-pci=134329923124234=2 The root cause of the bug is as follow. If a device is not bound with the corresponding driver, the device runtime PM will be disabled and the device will be put into suspended state. So that, the bridge/PCIe

[BUGFIX -v3 3/4] PCI/PM: Fix config reg access for D3cold and bridge suspending

2012-08-07 Thread Huang Ying
This patch fixes the following bug: http://marc.info/?l=linux-pci=134338059022620=2 Where lspci does not work properly if a device and the corresponding parent bridge (such as PCIe port) is suspended. This is because the device configuration space registers will be not accessible if the

[PATCH -v3 0/4] PCI/PM: PCI D3cold support fixes for 3.6-rc1

2012-08-07 Thread Huang Ying
Changes: v3: - Add some comments per Rafael's comments. v2: - Change some pm_runtime_put to pm_runtime_put_sync per Alan and Rafael's comments. [BUGFIX -v3 1/4] PCI/PM: enable D3/D3cold by default for most devices [BUGFIX -v3 2/4] PCI/PM: Keep parent bridge active when probing device

[PATCH -v3 4/4] PCI/PM: Add ABI document for sysfs file d3cold_allowed

2012-08-07 Thread Huang Ying
This patch adds ABI document for the following sysfs file: /sys/bus/pci/devices/.../d3cold_allowed Signed-off-by: Huang Ying Acked-by: Rafael J. Wysocki --- Documentation/ABI/testing/sysfs-bus-pci | 12 1 file changed, 12 insertions(+) ---

[BUGFIX -v3 1/4] PCI/PM: enable D3/D3cold by default for most devices

2012-08-07 Thread Huang Ying
This patch fixes the following bug: http://marc.info/?l=linux-usb=134318961120825=2 Originally, device lower power states include D1, D2, D3. After that, D3 is further divided into D3hot and D3cold. To support both scenario safely, original D3 is mapped to D3cold. When adding D3cold support,

[PATCH] [PATCH V4]Extcon: adc_jack: adc-jack driver to support 3.5 pi or simliar devices

2012-08-07 Thread anish kumar
From: anish kumar External connector devices that decides connection information based on ADC values may use adc-jack device driver. The user simply needs to provide a table of adc range and connection states. Then, extcon framework will automatically notify others. Changes in V1: added

[PATCH] compaction: fix deferring compaction mistake

2012-08-07 Thread Minchan Kim
[1] fixed bad deferring policy but made mistake about checking compact_order_failed in __compact_pgdat so it can't update compact_order_failed with new order. It ends up preventing working of deffering policy rightly. This patch fixes it. [1] aff62249, vmscan: only defer compaction for failed

Re: [PATCH] cpuidle: coupled: fix sleeping while atomic in cpu notifier

2012-08-07 Thread Colin Cross
On Tue, Aug 7, 2012 at 3:15 PM, Rafael J. Wysocki wrote: > On Wednesday, July 25, 2012, Colin Cross wrote: >> The cpu hotplug notifier gets called in both atomic and non-atomic >> contexts, it is not always safe to lock a mutex. Filter out all events >> except the six necessary ones, which are

RE: [PATCH] ARM: SAMSUNG: Fix compilation error with s3c2410_defconfig

2012-08-07 Thread Kukjin Kim
Tushar Behera wrote: > > On 08/07/2012 04:03 PM, Kukjin Kim wrote: > > Tushar Behera wrote: > >> > >> Commit 2663e766c56a "ARM Samsung: Move s3c pwm driver to pwm framework" > >> moved Samsung PWM driver to drivers/pwm and the config option to select > >> this driver has changed. > >> > >> This

  1   2   3   4   5   6   7   8   9   10   >