Re: [PATCH v5 03/12] block: Add bio_reset()

2012-08-09 Thread Tejun Heo
Hello, On Wed, Aug 08, 2012 at 05:07:11PM -0700, Kent Overstreet wrote: +void bio_reset(struct bio *bio) +{ + unsigned long flags = bio-bi_flags (~0UL BIO_RESET_BITS); How many flags are we talking about? If there aren't too many, I'd prefer explicit BIO_FLAGS_PRESERVED or

Re: [PATCH v5 05/12] block: Kill bi_destructor

2012-08-09 Thread Tejun Heo
Hello, On Wed, Aug 08, 2012 at 05:21:54PM -0700, Kent Overstreet wrote: What's wrong with good ol' NULL? If it's NULL, we can't distinguish between bios where that field wasn't set (i.e. bios that were statically allocated somewhere) from bios that were allocated by bio_kmalloc(). It's

Re: [PATCH v5 03/12] block: Add bio_reset()

2012-08-09 Thread Kent Overstreet
On Wed, Aug 08, 2012 at 11:00:19PM -0700, Tejun Heo wrote: Anyways, understood. Can you *please* put some comment what bits are being preserved across reset then? Things like this aren't obvious at all and need ample explanation. I did, in the header: #define BIO_RESET_BITS 12 /*

Re: [PATCH] net: add new QCA alx ethernet driver

2012-08-09 Thread David Miller
From: Ren, Cloud cj...@qca.qualcomm.com Date: Thu, 9 Aug 2012 02:27:35 + The alx driver only supports two new nics(l1f/l2f) now. It doesn't supersede atl1c driver. Atl1c driver still supports old nics. There is no worse act than quoting a huge patch, only to provide two lines of text.

Re: [PATCH v5 05/12] block: Kill bi_destructor

2012-08-09 Thread Kent Overstreet
On Wed, Aug 08, 2012 at 11:05:17PM -0700, Tejun Heo wrote: Hello, On Wed, Aug 08, 2012 at 05:21:54PM -0700, Kent Overstreet wrote: What's wrong with good ol' NULL? If it's NULL, we can't distinguish between bios where that field wasn't set (i.e. bios that were statically allocated

Re: [PATCH] net: add new QCA alx ethernet driver

2012-08-09 Thread David Miller
From: Joe Perches j...@perches.com Date: Wed, 08 Aug 2012 21:09:42 -0700 On Thu, 2012-08-09 at 02:27 +, Ren, Cloud wrote: Hi David, [] The alx driver only supports two new nics(l1f/l2f) now. It doesn't supersede atl1c driver. Atl1c driver still supports old nics. [] -Original

Re: [PATCH 10/10] leds: renesas: fix error handling

2012-08-09 Thread Bryan Wu
On Thu, Aug 9, 2012 at 5:27 AM, Arnd Bergmann a...@arndb.de wrote: bfe4c041 leds: convert Renesas TPU LED driver to devm_kzalloc() and cleanup error exit path introduced a possible case in which r_tpu_probe calls iounmap on a wild pointer. This changes the one case that was missed in the same

Re: [PATCH] net: add new QCA alx ethernet driver

2012-08-09 Thread David Miller
From: Ren, Cloud cj...@qca.qualcomm.com Date: Thu, 9 Aug 2012 04:44:08 + I only want to do some additional explanations to david. It makes nothing with original patch. Stop this TOP POSTING, it's bad etiquette on a technical mailing list. Look at how other people write their email

Re: [PATCH net-next 0/7] sctp: network namespace support Part 2: per net tunables

2012-08-09 Thread David Miller
From: ebied...@xmission.com (Eric W. Biederman) Date: Tue, 07 Aug 2012 10:17:02 -0700 Since I am motivated to get things done, and since there has been much grumbling about my patches not implementing tunables, I have added tunable support on top of my last patchset. I have performed basic

Re: [PATCH v2] perf script python: Correct handler check and spelling errors

2012-08-09 Thread Namhyung Kim
On Thu, 9 Aug 2012 13:46:13 +0800, Feng Tang wrote: From efbf00591514aa1d6134a3b940dc627d1a7cc8f8 Mon Sep 17 00:00:00 2001 From: Feng Tang feng.t...@intel.com Date: Thu, 9 Aug 2012 12:50:56 +0800 Subject: [PATCH] perf script python: Correct handler check and spelling errors Correct the

Re: [PATCH] thermal: Fix potential NULL pointer accesses

2012-08-09 Thread Guenter Roeck
On Thu, Aug 09, 2012 at 08:44:55AM +0800, Zhang Rui wrote: On 二, 2012-08-07 at 22:36 -0700, Guenter Roeck wrote: 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

Re: [PATCH v2] gpio: Add Avionic Design N-bit GPIO expander support

2012-08-09 Thread Thierry Reding
On Sun, Aug 05, 2012 at 12:50:54PM +0200, Linus Walleij wrote: On Mon, Jul 30, 2012 at 9:47 AM, Thierry Reding thierry.red...@avionic-design.de wrote: On Sun, Jul 29, 2012 at 07:13:57PM +0200, Linus Walleij wrote: On Mon, Jul 23, 2012 at 1:59 PM, Thierry Reding

Re: [PATCH v5 03/12] block: Add bio_reset()

2012-08-09 Thread Tejun Heo
Hello, On Wed, Aug 8, 2012 at 11:06 PM, Kent Overstreet koverstr...@google.com wrote: On Wed, Aug 08, 2012 at 11:00:19PM -0700, Tejun Heo wrote: Anyways, understood. Can you *please* put some comment what bits are being preserved across reset then? Things like this aren't obvious at all and

Re: [PATCH v5 05/12] block: Kill bi_destructor

2012-08-09 Thread Tejun Heo
Hello, On Wed, Aug 8, 2012 at 11:12 PM, Kent Overstreet koverstr...@google.com wrote: But if it's a pointer to heap allocated memory, but the bio was embedded in another struct? I've seen a fair number of instances of that (md, off the top of my head). If you're sure that in a normal config

[PATCH] HID: multitouch: Add support for eGalax 0x73f7

2012-08-09 Thread Thierry Reding
Signed-off-by: Thierry Reding thierry.red...@avionic-design.de --- drivers/hid/hid-ids.h| 1 + drivers/hid/hid-multitouch.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 5a91bf6..9614a65 100644 --- a/drivers/hid/hid-ids.h +++

Re: [dm-devel] [PATCH v2 2/2] dm: verity support data device offset (Linux 3.4.7)

2012-08-09 Thread Milan Broz
On 08/09/2012 02:40 AM, Wesley Miaw wrote: On Aug 8, 2012, at 1:56 PM, Milan Broz wrote: On 08/08/2012 10:46 PM, Wesley Miaw wrote: I did modify veritysetup on my own so the format and verify commands will work with regular files on disk instead of having to mount through loop devices.

[PATCH] gpio: Fix debug message in of_get_named_gpio_flags()

2012-08-09 Thread Thierry Reding
This was probably missed in the conversion done in commit 3d0f7cf (gpio: Adjust of_xlate API to support multiple GPIO chips). Signed-off-by: Thierry Reding thierry.red...@avionic-design.de --- drivers/gpio/gpiolib-of.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [RFC] netconsole.txt: nc needs -p to specify the listening port

2012-08-09 Thread Dirk Gouders
Cong Wang xiyou.wangc...@gmail.com writes: On 08/03/2012 02:33 PM, Dirk Gouders wrote: From b3aec70d785d338b1b643fece6606cd32addaf0c Mon Sep 17 00:00:00 2001 From: Dirk Gouders goud...@et.bocholt.fh-gelsenkirchen.de Date: Thu, 2 Aug 2012 22:20:16 +0200 Subject: [PATCH] netconsole.txt:

Re: [PATCH v5 08/12] block: Introduce new bio_split()

2012-08-09 Thread Tejun Heo
Hello, Kent. On Wed, Aug 08, 2012 at 06:19:28PM -0700, Kent Overstreet wrote: If bio_split returned an error, it'd make the code more convoluted - you'd have to do work on either the split or the original bio, and then repeat the same check later when it's time to break out of the loop. I

[PATCH] ALSA: hda - Defer probe when loading patch firmware

2012-08-09 Thread Thierry Reding
Recent changes to the firmware loading helpers cause drivers to stall when firmware is loaded during the module_init() call. The snd-hda-intel module requests firmware if the patch= parameter is used to load a patch file. This patch works around the problem by deferring the probe in such cases,

Re: [PATCH] thermal: Fix potential NULL pointer accesses

2012-08-09 Thread Zhang Rui
On 三, 2012-08-08 at 23:25 -0700, Guenter Roeck wrote: On Thu, Aug 09, 2012 at 08:44:55AM +0800, Zhang Rui wrote: On 二, 2012-08-07 at 22:36 -0700, Guenter Roeck wrote: The type parameter in thermal_zone_device_register and thermal_cooling_device_register can be NULL, indicating that no

[PATCH] ALSA: hda/realtek - Keep analog bypass muted on ALC892

2012-08-09 Thread Thierry Reding
Unmuting the analog bypass causes any input to be directly bypassed to the outputs, which is usually not expected by the user. Signed-off-by: Thierry Reding thierry.red...@avionic-design.de --- Note that this patch could be generalized to include all codec variants that have this second channel.

3.5 kernel NULL pointer dereference net_tx_action

2012-08-09 Thread Jörg-Volker Peetz
Dear maintainers, with kernel 3.5 on debian x86_64 and wpa_supplicant 1.0 on an MSI laptop trying to start the wireless network adapter, results in a kernel oops: BUG: unable to handle kernel NULL pointer dereference at 0082 IP: [81325e70] net_tx_action+0xd0/0xd0 PGD 392aa067

RE: [PATCH] net: add new QCA alx ethernet driver

2012-08-09 Thread Ren, Cloud
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: 2012年8月9日 14:18 To: Ren, Cloud Cc: j...@perches.com; net...@vger.kernel.org; linux-kernel@vger.kernel.org; qca-linux-team; nic-devel; Huang, Xiong; hao-ran@canonical.com; Rodriguez, Luis Subject: Re: [PATCH]

[PATCH] backlight: lp855x: add FAST bit description for LP8556

2012-08-09 Thread Kim, Milo
LP8556 backlight driver supports fast refresh mode when exiting the low power mode. This bit can be configurable in the platform side. Signed-off-by: Milo(Woogyom) Kim milo@ti.com --- include/linux/platform_data/lp855x.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

Re: [PATCH v5 11/12] block: Add bio_clone_bioset()

2012-08-09 Thread Tejun Heo
On Wed, Aug 08, 2012 at 07:56:10PM -0700, Kent Overstreet wrote: So, bio_clone() loses its function comment. Also, does it even make sense to call bio_clone() from fs_bio_set? I'll re add the function comment if you want, just for a single line wrapper I don't know if it's worth the cost

Re: [BUG] perf: sharing of cpuctx between core and ibs PMU causes problems

2012-08-09 Thread Yan, Zheng
On 08/09/2012 08:51 AM, Stephane Eranian wrote: Hi, I ran into a problem on my AMD box whereby I would hit the WARN_ON_ONCE(cpuctx-cgrp) in perf_cgroup_switch(). It took me a while to track this down. It turns out that the list_for_each_entry_rcu() loop had multiple iterations. That's

Re: [PATCH v5 10/12] block: Add bio_clone_kmalloc()

2012-08-09 Thread Tejun Heo
On Wed, Aug 08, 2012 at 06:57:04PM -0700, Kent Overstreet wrote: That means bio_clone_kmalloc will just become: static inline struct bio *bio_clone_kmalloc(struct bio *bio, gfp_t gfp_mask) { return bio_clone_bioset(bio, gfp_mask,

Re: [PATCH] Consolidate bio_clone_bioset(), bio_kmalloc()

2012-08-09 Thread Tejun Heo
On Wed, Aug 08, 2012 at 07:38:11PM -0700, Kent Overstreet wrote: So here's my initial stab at it. Tell me if you think this is too contorted: At the first glance, looks okay to me. Thanks. -- tejun -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

[PATCH] mmc: sdio: Fix PM_SLEEP related build warnings

2012-08-09 Thread Thierry Reding
Power management callbacks defined by SIMPLE_DEV_PM_OPS are only used if the PM_SLEEP Kconfig symbol has been defined. If not, the compiler will complain about them being unused. Signed-off-by: Thierry Reding thierry.red...@avionic-design.de --- drivers/mmc/core/sdio_bus.c | 3 ++- 1 file

Re: [PATCH] ALSA: hda - Defer probe when loading patch firmware

2012-08-09 Thread Takashi Iwai
At Thu, 9 Aug 2012 08:45:23 +0200, Thierry Reding wrote: Recent changes to the firmware loading helpers cause drivers to stall when firmware is loaded during the module_init() call. The snd-hda-intel module requests firmware if the patch= parameter is used to load a patch file. This patch

Re: [PATCH v5 11/12] block: Add bio_clone_bioset()

2012-08-09 Thread Kent Overstreet
On Wed, Aug 08, 2012 at 11:52:51PM -0700, Tejun Heo wrote: On Wed, Aug 08, 2012 at 07:56:10PM -0700, Kent Overstreet wrote: So, bio_clone() loses its function comment. Also, does it even make sense to call bio_clone() from fs_bio_set? I'll re add the function comment if you want, just

Re: [dm-devel] [PATCH v5 12/12] block: Only clone bio vecs that are in use

2012-08-09 Thread Tejun Heo
Hello, On Wed, Aug 08, 2012 at 04:47:46PM -0700, Muthu Kumar wrote: You are changing the meaning of __bio_clone() here. In old code, the number of io_vecs, bi_idx, bi_vcnt are preserved. But in this modified code, you are mapping bio_src's bi_iovec[bi_idx] to bio_dests bi_iovec[0] and also

Re: [PATCH] ALSA: hda/realtek - Keep analog bypass muted on ALC892

2012-08-09 Thread Takashi Iwai
At Thu, 9 Aug 2012 08:47:19 +0200, Thierry Reding wrote: Unmuting the analog bypass causes any input to be directly bypassed to the outputs, which is usually not expected by the user. Signed-off-by: Thierry Reding thierry.red...@avionic-design.de --- Note that this patch could be

Re: [PATCH v5 10/12] block: Add bio_clone_kmalloc()

2012-08-09 Thread Kent Overstreet
On Wed, Aug 08, 2012 at 11:55:04PM -0700, Tejun Heo wrote: On Wed, Aug 08, 2012 at 06:57:04PM -0700, Kent Overstreet wrote: That means bio_clone_kmalloc will just become: static inline struct bio *bio_clone_kmalloc(struct bio *bio, gfp_t gfp_mask)

Re: [PATCH] ALSA: hda - Defer probe when loading patch firmware

2012-08-09 Thread Thierry Reding
On Thu, Aug 09, 2012 at 08:57:13AM +0200, Takashi Iwai wrote: At Thu, 9 Aug 2012 08:45:23 +0200, Thierry Reding wrote: Recent changes to the firmware loading helpers cause drivers to stall when firmware is loaded during the module_init() call. The snd-hda-intel module requests firmware

RE: [PATCH 6/7] regulator: lp872x: set_current_limit should select the maximum current in specific range

2012-08-09 Thread Kim, Milo
-Original Message- From: Axel Lin [mailto:axel@gmail.com] Sent: Wednesday, August 08, 2012 9:23 PM To: Mark Brown Cc: Kim, Milo; Girdwood, Liam; linux-kernel@vger.kernel.org Subject: [PATCH 6/7] regulator: lp872x: set_current_limit should select the maximum current in specific

Re: [RFC PATCH v2 10/16] ACPIHP: system device hotplug driver skeleton

2012-08-09 Thread Tang Chen
Hi Liu~ I compiled this driver as a module, acpihp_drv. And when I loaded this module, it gave the following error message: # modprobe acpihp_drv (the command hangs up, no return after 10 min) #dmesg .. [ 126.643350] BUG: unable to handle kernel NULL pointer dereference at

[PATCH net-next] time: jiffies_delta_to_clock_t() helper to the rescue

2012-08-09 Thread Eric Dumazet
From: Eric Dumazet eduma...@google.com Various /proc/net files sometimes report crazy timer values, expressed in clock_t units. This happens when an expired timer delta (expires - jiffies) is passed to jiffies_to_clock_t(). This function has an overflow in : return div_u64((u64)x * TICK_NSEC,

Re: [PATCH] ALSA: hda/realtek - Keep analog bypass muted on ALC892

2012-08-09 Thread Thierry Reding
On Thu, Aug 09, 2012 at 09:02:10AM +0200, Takashi Iwai wrote: At Thu, 9 Aug 2012 08:47:19 +0200, Thierry Reding wrote: Unmuting the analog bypass causes any input to be directly bypassed to the outputs, which is usually not expected by the user. Signed-off-by: Thierry Reding

Re: [PATCH v5 08/12] block: Introduce new bio_split()

2012-08-09 Thread Tejun Heo
On Wed, Aug 08, 2012 at 06:39:23PM -0700, Kent Overstreet wrote: On Wed, Aug 08, 2012 at 04:05:32PM -0700, Tejun Heo wrote: One more thing. On Mon, Aug 06, 2012 at 03:08:37PM -0700, Kent Overstreet wrote: + if (bio_integrity(bio)) { + bio_integrity_clone(ret, bio, gfp, bs);

Re: Using vanilla kernels headers to do backport testing -- issues with memcpy()

2012-08-09 Thread Sedat Dilek
On Thu, Aug 9, 2012 at 5:30 AM, Luis R. Rodriguez mcg...@frijolero.org wrote: On Wed, Aug 8, 2012 at 5:43 AM, Ozan Çağlayan ozan...@gmail.com wrote: On Tue, Aug 7, 2012 at 10:28 PM, Luis R. Rodriguez mcg...@frijolero.org wrote: mcgrof@garbanzo ~/compat (git::master)$ objdump -T

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

2012-08-09 Thread Tixy
On Wed, 2012-08-08 at 12:56 -0400, Nicolas Pitre wrote: On Wed, 8 Aug 2012, Russell King - ARM Linux wrote: Done correctly, it shouldn't be a problem, but I wouldn't say that arch/arm/kernel/kprobes-test*.c is done correctly. It's seen quite a number of patching attempts since it was

Re: [PATCH] ALSA: hda - Defer probe when loading patch firmware

2012-08-09 Thread Takashi Iwai
At Thu, 9 Aug 2012 09:08:13 +0200, Thierry Reding wrote: On Thu, Aug 09, 2012 at 08:57:13AM +0200, Takashi Iwai wrote: At Thu, 9 Aug 2012 08:45:23 +0200, Thierry Reding wrote: Recent changes to the firmware loading helpers cause drivers to stall when firmware is loaded during the

Re: [PATCH v5 08/12] block: Introduce new bio_split()

2012-08-09 Thread Kent Overstreet
On Thu, Aug 09, 2012 at 12:22:17AM -0700, Tejun Heo wrote: On Wed, Aug 08, 2012 at 06:39:23PM -0700, Kent Overstreet wrote: On Wed, Aug 08, 2012 at 04:05:32PM -0700, Tejun Heo wrote: One more thing. On Mon, Aug 06, 2012 at 03:08:37PM -0700, Kent Overstreet wrote: + if

Re: [PATCH] ALSA: hda/realtek - Keep analog bypass muted on ALC892

2012-08-09 Thread Takashi Iwai
At Thu, 9 Aug 2012 09:18:48 +0200, Thierry Reding wrote: On Thu, Aug 09, 2012 at 09:02:10AM +0200, Takashi Iwai wrote: At Thu, 9 Aug 2012 08:47:19 +0200, Thierry Reding wrote: Unmuting the analog bypass causes any input to be directly bypassed to the outputs, which is usually not

Re: [PATCH 10/10] leds: renesas: fix error handling

2012-08-09 Thread Arnd Bergmann
On Thursday 09 August 2012, Bryan Wu wrote: On Thu, Aug 9, 2012 at 5:27 AM, Arnd Bergmann a...@arndb.de wrote: bfe4c041 leds: convert Renesas TPU LED driver to devm_kzalloc() and cleanup error exit path introduced a possible case in which r_tpu_probe calls iounmap on a wild pointer. This

Re: [PATCH] ALSA: hda - Defer probe when loading patch firmware

2012-08-09 Thread Thierry Reding
On Thu, Aug 09, 2012 at 09:31:30AM +0200, Takashi Iwai wrote: At Thu, 9 Aug 2012 09:08:13 +0200, Thierry Reding wrote: On Thu, Aug 09, 2012 at 08:57:13AM +0200, Takashi Iwai wrote: At Thu, 9 Aug 2012 08:45:23 +0200, Thierry Reding wrote: Recent changes to the firmware

[PATCH] alarmtimer: implement minimum alarm interval for allowing suspend

2012-08-09 Thread Todd Poynor
alarmtimer suspend return -EBUSY if the next alarm will fire in less than 2 seconds. This allows one RTC seconds tick to occur subsequent to this check before the alarm wakeup time is set, ensuring the wakeup time is still in the future (assuming the RTC does not tick one more second prior to

Re: [RFC PATCH v2 10/16] ACPIHP: system device hotplug driver skeleton

2012-08-09 Thread Jiang Liu
Hi Tang, Thanks for testing. Currently there's a limitation that you need to insert acpihp_enum driver first. Will fix this issue in next version. Regards! Gerry On 2012-8-9 15:12, Tang Chen wrote: Hi Liu~ I compiled this driver as a module, acpihp_drv. And

Re: [PATCH] ALSA: hda - Defer probe when loading patch firmware

2012-08-09 Thread Takashi Iwai
At Thu, 9 Aug 2012 09:36:42 +0200, Thierry Reding wrote: On Thu, Aug 09, 2012 at 09:31:30AM +0200, Takashi Iwai wrote: At Thu, 9 Aug 2012 09:08:13 +0200, Thierry Reding wrote: On Thu, Aug 09, 2012 at 08:57:13AM +0200, Takashi Iwai wrote: At Thu, 9 Aug 2012 08:45:23 +0200,

Re: [RFC]block: disable discard request merge temporarily

2012-08-09 Thread Christoph Hellwig
On Thu, Aug 09, 2012 at 01:28:03PM +0800, Shaohua Li wrote: The SCSI discard request merge never worked, and looks no solution for in future, let's disable it temporarily. Signed-off-by: Shaohua Li s...@fusionio.com Looks good and is equivalent to what I proposed over a year aggo,

Re: [PATCH 09/10] ARM: rpc: Fix building RiscPC

2012-08-09 Thread Russell King - ARM Linux
On Wed, Aug 08, 2012 at 11:27:57PM +0200, Arnd Bergmann wrote: ARMv3 support was removed in 357c9c1f07 ARM: Remove support for ARMv3 ARM610 and ARM710 CPUs, which explicitly left parts of the CPU32v3 support in place for building RiscPC. However, this does not actually build in my test setup.

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

2012-08-09 Thread Mel Gorman
On Thu, Aug 09, 2012 at 08:51:27AM +0900, Minchan Kim wrote: Just out of curiosity. What's the problem did you see? (ie, What's the problem do this patch solve?) Everythign in this series is related to the problem in the leader - high order allocation success rates are

Re: [PATCH] ALSA: hda - Defer probe when loading patch firmware

2012-08-09 Thread Takashi Iwai
At Thu, 09 Aug 2012 09:42:48 +0200, Takashi Iwai wrote: At Thu, 9 Aug 2012 09:36:42 +0200, Thierry Reding wrote: On Thu, Aug 09, 2012 at 09:31:30AM +0200, Takashi Iwai wrote: At Thu, 9 Aug 2012 09:08:13 +0200, Thierry Reding wrote: On Thu, Aug 09, 2012 at 08:57:13AM +0200,

Re: [PATCH] ALSA: hda/realtek - Keep analog bypass muted on ALC892

2012-08-09 Thread Thierry Reding
On Thu, Aug 09, 2012 at 09:33:43AM +0200, Takashi Iwai wrote: At Thu, 9 Aug 2012 09:18:48 +0200, Thierry Reding wrote: On Thu, Aug 09, 2012 at 09:02:10AM +0200, Takashi Iwai wrote: At Thu, 9 Aug 2012 08:47:19 +0200, Thierry Reding wrote: Unmuting the analog bypass causes any

Re: [PATCH] ALSA: hda - Defer probe when loading patch firmware

2012-08-09 Thread Thierry Reding
On Thu, Aug 09, 2012 at 09:50:57AM +0200, Takashi Iwai wrote: At Thu, 09 Aug 2012 09:42:48 +0200, Takashi Iwai wrote: At Thu, 9 Aug 2012 09:36:42 +0200, Thierry Reding wrote: On Thu, Aug 09, 2012 at 09:31:30AM +0200, Takashi Iwai wrote: At Thu, 9 Aug 2012 09:08:13 +0200,

RE: [PATCH] net: add new QCA alx ethernet driver

2012-08-09 Thread Joe Perches
On Thu, 2012-08-09 at 06:49 +, Ren, Cloud wrote: Luis has ever asked joe for adding as a Signed-off-by. At that time joe agreed with it. What I replied to Luis and some qca list was: On Fri, 2012-01-20 at 19:49 -0800, Joe Perches wrote: On Fri, 2012-01-20 at 18:25 -0800, Luis R. Rodriguez

Re: [PATCH] ALSA: hda - Defer probe when loading patch firmware

2012-08-09 Thread Thierry Reding
On Thu, Aug 09, 2012 at 09:42:48AM +0200, Takashi Iwai wrote: At Thu, 9 Aug 2012 09:36:42 +0200, Thierry Reding wrote: On Thu, Aug 09, 2012 at 09:31:30AM +0200, Takashi Iwai wrote: At Thu, 9 Aug 2012 09:08:13 +0200, Thierry Reding wrote: On Thu, Aug 09, 2012 at 08:57:13AM

Re: [PATCH 3/5] mm: compaction: Capture a suitable high-order page immediately when it is made available

2012-08-09 Thread Mel Gorman
On Thu, Aug 09, 2012 at 10:33:58AM +0900, Minchan Kim wrote: Hi Mel, Just one questoin below. Sure! Your questions usually get me thinking about the right part of the series, this series in particular :) SNIP @@ -708,6 +750,10 @@ static int compact_zone(struct zone *zone, struct

Re: [PATCH] ALSA: hda - Defer probe when loading patch firmware

2012-08-09 Thread Takashi Iwai
At Thu, 9 Aug 2012 10:07:13 +0200, Thierry Reding wrote: On Thu, Aug 09, 2012 at 09:42:48AM +0200, Takashi Iwai wrote: At Thu, 9 Aug 2012 09:36:42 +0200, Thierry Reding wrote: On Thu, Aug 09, 2012 at 09:31:30AM +0200, Takashi Iwai wrote: At Thu, 9 Aug 2012 09:08:13 +0200,

[PATCH v2 1/3] mfd: add lp8788 mfd driver

2012-08-09 Thread Kim, Milo
TI LP8788 PMU supports regulators, battery charger, RTC, ADC, backlight driver and current sinks. Patch v2. (a) For interrupt handling, use generic irq rather than irq-domain (b) Replace EXPORT_SYMBOL() with EXPORT_SYMBOL_GPL() for regmap apis (c) Remove adc functions in mfd driver : add new

[PATCH 2/3] iio: adc: add new lp8788 adc driver

2012-08-09 Thread Kim, Milo
TI LP8788 has ADC function. The result of LP878 ADC is used in the LP8788 power supply driver. (such like getting the battery voltage, temperature and etc) Signed-off-by: Milo(Woogyom) Kim milo@ti.com --- drivers/iio/adc/Kconfig |6 + drivers/iio/adc/Makefile |1 +

[PATCH v2 3/3] power_supply: add new lp8788 charger driver

2012-08-09 Thread Kim, Milo
TI LP8788 PMU has the battery charger function. Patch v2. use iio consumer apis for adc results rather than raw lp8788 functions (battery voltage and battery temperature ) Signed-off-by: Milo(Woogyom) Kim milo@ti.com --- drivers/power/Kconfig |7 + drivers/power/Makefile

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

2012-08-09 Thread Mel Gorman
On Thu, Aug 09, 2012 at 09:12:12AM +0900, Minchan Kim wrote: SNIP Second, it updates compact_cached_free_pfn in a more limited set of circumstances. If a scanner has wrapped, it updates compact_cached_free_pfn to the end of the zone. When a wrapped scanner isolates a page, it

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

2012-08-09 Thread Minchan Kim
On Thu, Aug 09, 2012 at 08:49:50AM +0100, Mel Gorman wrote: On Thu, Aug 09, 2012 at 08:51:27AM +0900, Minchan Kim wrote: Just out of curiosity. What's the problem did you see? (ie, What's the problem do this patch solve?) Everythign in this series is related to the

RE: [PATCH] net: add new QCA alx ethernet driver

2012-08-09 Thread Ren, Cloud
-Original Message- From: Joe Perches [mailto:j...@perches.com] Sent: Thursday, August 09, 2012 3:58 PM On Thu, 2012-08-09 at 06:49 +, Ren, Cloud wrote: Luis has ever asked joe for adding as a Signed-off-by. At that time joe agreed with it. What I replied to Luis and some qca list

Re: [PATCH 3/5] kmemleak: use rbtree instead of prio tree

2012-08-09 Thread Catalin Marinas
On Wed, Aug 08, 2012 at 06:07:39PM +0100, Michel Lespinasse wrote: kmemleak uses a tree where each node represents an allocated memory object in order to quickly find out what object a given address is part of. However, the objects don't overlap, so rbtrees are a better choice than prio tree

RE: [PATCH 1/6] mfd: add lp8788 mfd driver

2012-08-09 Thread Kim, Milo
+static irqreturn_t lp8788_irq_handler(int irq, void *ptr) +{ + struct lp8788_irq_data *irqd = ptr; + unsigned long delay = msecs_to_jiffies(DEBOUNCE_MSEC); + + queue_delayed_work(irqd-thread, irqd-work, delay); + + return IRQ_HANDLED; +} Why a delayed work? That's

Re: [RFC PATCH 4/4] ftrace/x86: Add support for -mfentry to x86_64

2012-08-09 Thread Masami Hiramatsu
(2012/08/08 4:38), Steven Rostedt wrote: From: Steven Rostedt srost...@redhat.com If the kernel is compiled with gcc 4.6.0 which supports -mfentry, then use that instead of mcount. With mcount, frame pointers are forced with the -pg option and we get something like:

Re: [PATCH 3/5] mm: compaction: Capture a suitable high-order page immediately when it is made available

2012-08-09 Thread Minchan Kim
On Thu, Aug 09, 2012 at 09:11:20AM +0100, Mel Gorman wrote: On Thu, Aug 09, 2012 at 10:33:58AM +0900, Minchan Kim wrote: Hi Mel, Just one questoin below. Sure! Your questions usually get me thinking about the right part of the series, this series in particular :) SNIP @@

Re: [RFC PATCH v2 10/16] ACPIHP: system device hotplug driver skeleton

2012-08-09 Thread Tang Chen
Hi Liu ~ On 08/09/2012 03:40 PM, Jiang Liu wrote: Hi Tang, Thanks for testing. Currently there's a limitation that you need to insert acpihp_enum driver first. Sorry, I didn't make it clear. I did load acpihp_enum module first, and then load acpihp_drv. And I just tried it

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

2012-08-09 Thread Minchan Kim
On Thu, Aug 09, 2012 at 09:23:28AM +0100, Mel Gorman wrote: On Thu, Aug 09, 2012 at 09:12:12AM +0900, Minchan Kim wrote: SNIP Second, it updates compact_cached_free_pfn in a more limited set of circumstances. If a scanner has wrapped, it updates compact_cached_free_pfn to the

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

2012-08-09 Thread Minchan Kim
On Wed, Aug 08, 2012 at 08:08:44PM +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 simultaneously

[PATCH v7 0/8] Raid: enable talitos xor offload for improving performance

2012-08-09 Thread qiang.liu
Hi all, The following 8 patches enabling fsl-dma and talitos offload raid operations for improving raid performance and balancing CPU load. These patches include talitos, fsl-dma and carma module (caram uses some features of fsl-dma). Write performance will be improved by 25-30% tested by

[PATCH v7 1/8] Talitos: Support for async_tx XOR offload

2012-08-09 Thread qiang.liu
From: Qiang Liu qiang@freescale.com Expose Talitos's XOR functionality to be used for RAID parity calculation via the Async_tx layer. Cc: Herbert Xu herb...@gondor.apana.org.au Cc: David S. Miller da...@davemloft.net Signed-off-by: Dipen Dudhat dipen.dud...@freescale.com Signed-off-by:

[PATCH v7 2/8] fsl-dma: remove attribute DMA_INTERRUPT of dmaengine

2012-08-09 Thread qiang.liu
From: Qiang Liu qiang@freescale.com Delete attribute DMA_INTERRUPT because fsl-dma doesn't support this function, exception will be thrown if talitos is used to offload xor at the same time. Cc: Dan Williams dan.j.willi...@intel.com Cc: Vinod Koul vinod.k...@intel.com Cc: Li Yang

[PATCH v7 3/8] fsl-dma: add fsl_dma_free_descriptor() to reduce code duplication

2012-08-09 Thread qiang.liu
From: Qiang Liu qiang@freescale.com There are several places where descriptors are freed using identical code. Put this code into a function to reduce code duplication. Cc: Dan Williams dan.j.willi...@intel.com Cc: Dan Williams dan.j.willi...@gmail.com Cc: Vinod Koul vinod.k...@intel.com

[PATCH v7 4/8] fsl-dma: move functions to avoid forward declarations

2012-08-09 Thread qiang.liu
From: Qiang Liu qiang@freescale.com These functions will be modified in the next patch in the series. By moving the function in a patch separate from the changes, it will make review easier. Cc: Dan Williams dan.j.willi...@intel.com Cc: Dan Williams dan.j.willi...@gmail.com Cc: Vinod Koul

[PATCH v7 5/8] fsl-dma: change release process of dma descriptor for supporting async_tx

2012-08-09 Thread qiang.liu
From: Qiang Liu qiang@freescale.com Fix the potential risk when enable config NET_DMA and ASYNC_TX. Async_tx is lack of support in current release process of dma descriptor, all descriptors will be released whatever is acked or no-acked by async_tx, so there is a potential race condition when

[PATCH v7 6/8] fsl-dma: use spin_lock_bh to instead of spin_lock_irqsave

2012-08-09 Thread qiang.liu
From: Qiang Liu qiang@freescale.com The use of spin_lock_irqsave() is a stronger locking mechanism than is required throughout the driver. The minimum locking required should be used instead. Interrupts will be turned off and context will be saved, there is needless to use irqsave. Change

[PATCH v7 7/8] fsl-dma: fix a warning of unitialized cookie

2012-08-09 Thread qiang.liu
From: Qiang Liu qiang@freescale.com Fix a warning of unitialized value when compile with -Wuninitialized. Cc: Dan Williams dan.j.willi...@intel.com Cc: Dan Williams dan.j.willi...@gmail.com Cc: Vinod Koul vinod.k...@intel.com Cc: Li Yang le...@freescale.com Signed-off-by: Qiang Liu

[PATCH v7 8/8] carma: remove unnecessary DMA_INTERRUPT capability

2012-08-09 Thread qiang.liu
From: Qiang Liu qiang@freescale.com These drivers set the DMA_INTERRUPT capability bit when requesting a DMA controller channel. This was historical, and is no longer needed. Recent changes to the drivers/dma/fsldma.c driver have removed support for this flag. This makes the carma drivers

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

2012-08-09 Thread Shaohua Li
2012/8/8 Jianpeng Ma majianp...@gmail.com: On 2012-08-08 11:06 Shaohua Li s...@kernel.org Wrote: 2012/8/8 Jianpeng Ma majianp...@gmail.com: 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

Re: [Regression] x86-64/efi: Use EFI to deal with platform wall clock prevents my machine from booting

2012-08-09 Thread Matt Fleming
On Tue, 2012-08-07 at 11:50 +0100, Jan Beulich wrote: I managed to find a machine to reproduce this on and it looks like the ASUS firmware engineers are upto their old tricks of referencing physical addresses after we've taken control of the memory map, Yippie. On such systems we

[PATCH] perf/x86: disable PEBS on a guest entry.

2012-08-09 Thread Gleb Natapov
If PMU counter has PEBS enabled it is not enough to disable counter on a guest entry since PEBS memory write can overshoot guest entry and corrupt guest memory. Disabling PEBS during guest entry solves the problem. Tested-by: David Ahern dsah...@gmail.com Signed-off-by: Gleb Natapov

Re: recv(...,MSG_TRUNC)

2012-08-09 Thread ibrahem . batta
On Saturday, June 29, 2002 10:40:18 PM UTC+3, Samuel Thibault wrote: (Previous mail seemed to be garbaged by mime attachment) Hello, man recv says, about flags : MSG_TRUNC Return the real length of the packet, even when it was longer than the passed

Re: [PATCH v2 06/10] ARM: davinci: don't use broken ntosd2_init_i2c

2012-08-09 Thread Arnd Bergmann
On second thought, there is probably no use in keeping the broken function around, and we can just kill it off. If someone wants to add an i2c device to the bus, they can always add the init code back as well. 8- Subject: ARM: davinci: don't use broken ntosd2_init_i2c ntosd2_init_i2c walks

Re: [PATCH v6 1/3] mm: introduce compaction and migration for virtio ballooned pages

2012-08-09 Thread Mel Gorman
On Wed, Aug 08, 2012 at 07:53:19PM -0300, Rafael Aquini wrote: Memory fragmentation introduced by ballooning might reduce significantly the number of 2MB contiguous memory blocks that can be used within a guest, thus imposing performance penalties associated with the reduced number of

Re: [RFC PATCH 1/6] virtio/console: Add splice_write support

2012-08-09 Thread Amit Shah
On (Tue) 24 Jul 2012 [11:37:07], Yoshihiro YUNOMAE wrote: From: Masami Hiramatsu masami.hiramatsu...@hitachi.com Enable to use splice_write from pipe to virtio-console port. This steals pages from pipe and directly send it to host. Note that this may accelerate only the guest to host path.

[2.6.32+drm33-longterm] Linux 2.6.32.59+drm33.26

2012-08-09 Thread Stefan Bader
I am announcing the release of the 2.6.32.59+drm33.26 longterm tree. This tree is based on 2.6.32 and generally has all of the stable updates applied. Except those to the DRM subsystem, which was based on 2.6.33 and took updates from that upstream stable as long as that existed. It will continue

Re: Using vanilla kernels headers to do backport testing -- issues with memcpy()

2012-08-09 Thread Luis R. Rodriguez
On Thu, Aug 9, 2012 at 12:27 AM, Sedat Dilek sedat.di...@gmail.com wrote: I am not an English native but this sentence sounds a bit strange to me (used followed by require and double Linux?). I can imagine what you want to express but have no better wording right now. 180 + echo -eThis

Re: [RFC PATCH 2/6] virtio/console: Add a failback for unstealable pipe buffer

2012-08-09 Thread Amit Shah
On (Tue) 24 Jul 2012 [11:37:18], Yoshihiro YUNOMAE wrote: From: Masami Hiramatsu masami.hiramatsu...@hitachi.com Add a failback memcpy path for unstealable pipe buffer. If buf-ops-steal() fails, virtio-serial tries to copy the page contents to an allocated page, instead of just failing

[PATCH, RFC 1/9] thp: huge zero page: basic preparation

2012-08-09 Thread Kirill A. Shutemov
From: Kirill A. Shutemov kirill.shute...@linux.intel.com For now let's allocate the page on hugepage_init(). We'll switch to lazy allocation later. We are not going to map the huge zero page until we can handle it properly on all code paths. is_huge_zero_{pfn,pmd}() functions will be used by

[PATCH, RFC 3/9] thp: copy_huge_pmd(): copy huge zero page

2012-08-09 Thread Kirill A. Shutemov
From: Kirill A. Shutemov kirill.shute...@linux.intel.com It's easy to copy huge zero page. Just set destination pmd to huge zero page. It's safe to copy huge zero page since we have none yet :-p Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com --- mm/huge_memory.c | 17

[PATCH, RFC 0/9] Introduce huge zero page

2012-08-09 Thread Kirill A. Shutemov
From: Kirill A. Shutemov kirill.shute...@linux.intel.com During testing I noticed big (up to 2.5 times) memory consumption overhead on some workloads (e.g. ft.A from NPB) if THP is enabled. The main reason for that big difference is lacking zero page in THP case. We have to allocate a real page

[PATCH, RFC 2/9] thp: zap_huge_pmd(): zap huge zero pmd

2012-08-09 Thread Kirill A. Shutemov
From: Kirill A. Shutemov kirill.shute...@linux.intel.com We don't have a real page to zap in huge zero page case. Let's just clear pmd and remove it from tlb. Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com --- mm/huge_memory.c | 27 +-- 1 files

[PATCH, RFC 7/9] thp: implement splitting pmd for huge zero page

2012-08-09 Thread Kirill A. Shutemov
From: Kirill A. Shutemov kirill.shute...@linux.intel.com We can't split huge zero page itself, but we can split the pmd which points to it. On splitting the pmd we create a table with all ptes set to normal zero page. Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com ---

[PATCH, RFC 5/9] thp: change_huge_pmd(): keep huge zero page write-protected

2012-08-09 Thread Kirill A. Shutemov
From: Kirill A. Shutemov kirill.shute...@linux.intel.com We want to get page fault on write attempt to huge zero page, so let's keep it write-protected. Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com --- mm/huge_memory.c |2 ++ 1 files changed, 2 insertions(+), 0

[PATCH, RFC 9/9] thp: lazy huge zero page allocation

2012-08-09 Thread Kirill A. Shutemov
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Instead of allocating huge zero page on hugepage_init() we can postpone it until first huge zero page map. It saves memory if THP is not in use. cmpxchg() is used to avoid race on huge_zero_pfn initialization. Signed-off-by: Kirill A.

  1   2   3   4   5   6   7   >