Re: [git pull] vfs.git; pile 1

2012-07-23 Thread Al Viro
On Sun, Jul 22, 2012 at 09:20:30PM +0100, Al Viro wrote: Result: for-linus-2 + v3.5 and for-linus + v3.5 give identical trees, and for-linus-2 merges clean with nfs/nfs-for-3.6. Would you be OK with pulling that one? Again, my apologies to everyone involved ;-/ If you are OK with pulling

[GIT PULL] sh updates for 3.6-rc1

2012-07-23 Thread Paul Mundt
The following changes since commit 2437fccfbfc83bcb868ccc7fdfe2b5310bf07835: Merge tag 'regulator-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator (2012-07-09 13:43:02 -0700) are available in the git repository at: git://github.com/pmundt/linux-sh tags/sh-for-linus

Re: [PATCH v3 6/6] mmc: dw_mmc: add samsung exynos5250 specific extentions

2012-07-23 Thread Thomas Abraham
On 20 July 2012 16:08, Seungwon Jeon tgih@samsung.com wrote: July 20, 2012, Thomas Abraham thomas.abra...@linaro.org wrote: On 19 July 2012 09:21, Seungwon Jeon tgih@samsung.com wrote: [...] +static unsigned long exynos5250_dwmmc_caps[4] = { + MMC_CAP_UHS_DDR50 |

Re: [Qemu-devel] [PATCH v7] kvm: notify host when the guest is panicked

2012-07-23 Thread Wen Congyang
At 07/23/2012 04:19 AM, Sasha Levin Wrote: On 07/22/2012 09:22 PM, Anthony Liguori wrote: Sasha Levin levinsasha...@gmail.com writes: On 07/21/2012 09:12 AM, Wen Congyang wrote: +#define KVM_PV_PORT (0x505UL) + #ifdef __KERNEL__ #include asm/processor.h @@ -221,6 +223,11 @@

[PATCH 1/4] perf/x86: Fix typo in format definition of uncore PCU filter

2012-07-23 Thread Yan, Zheng
From: Yan, Zheng zheng.z@intel.com The format definition of uncore PCU filter should be filter_band* instead of filter_brand*. Reported-by: Stephane Eranian eran...@google.com Signed-off-by: Yan, Zheng zheng.z@intel.com --- arch/x86/kernel/cpu/perf_event_intel_uncore.c | 16

[PATCH 2/4] perf/x86: Fix format definition of SNB-EP uncore QPI box

2012-07-23 Thread Yan, Zheng
From: Yan, Zheng zheng.z@intel.com The event control register of SNB-EP uncore QPI box has a one bit extension at bit position 21. Reported-by: Stephane Eranian eran...@google.com Signed-off-by: Yan, Zheng zheng.z@intel.com --- arch/x86/kernel/cpu/perf_event_intel_uncore.c | 23

More irqdomain problems (Was: next/mmotm unbootable on G5: irqdomain)

2012-07-23 Thread Benjamin Herrenschmidt
Allright, another one Grant: unsigned int irq_find_mapping(struct irq_domain *domain, irq_hw_number_t hwirq) { struct irq_data *data; /* Look for default domain if nececssary */ if (domain == NULL) domain = irq_default_domain;

Re: [PATCH RFT RESEND] net: Fix Neptune ethernet driver to check dma mapping error

2012-07-23 Thread David Miller
From: Shuah Khan shuah.k...@hp.com Date: Fri, 20 Jul 2012 15:50:35 -0600 Fix Neptune ethernet driver to check dma mapping error after map_page() interface returns. Signed-off-by: Shuah Khan shuah.k...@hp.com Applied. -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [PATCH RFT] net: Change niu_rbr_fill() to use unlikely() to check niu_rbr_add_page() return value

2012-07-23 Thread David Miller
From: Shuah Khan shuah.k...@hp.com Date: Fri, 20 Jul 2012 17:34:32 -0600 Change niu_rbr_fill() to use unlikely() to check niu_rbr_add_page() return value to be consistent with the rest of the checks after niu_rbr_add_page() calls in this file. Signed-off-by: Shuah Khan shuah.k...@hp.com

linux-next: Tree for July 23

2012-07-23 Thread Stephen Rothwell
Hi all, Changes since 20120722: The vfs tree lost its conflicts. The net-next tree lost its build failure. The tty tree still has its build failures for which I have disabled 2 staging drivers and applied a patch. I have still reverted 3 commits from the signal tree at the request of the arm

Re: [git pull] vfs.git; pile 1

2012-07-23 Thread Stephen Rothwell
Hi Al, On Mon, 23 Jul 2012 07:09:09 +0100 Al Viro v...@zeniv.linux.org.uk wrote: On Sun, Jul 22, 2012 at 09:20:30PM +0100, Al Viro wrote: Result: for-linus-2 + v3.5 and for-linus + v3.5 give identical trees, and for-linus-2 merges clean with nfs/nfs-for-3.6. Would you be OK with pulling

[PATCH 2/5] scsi: sr: runtime pm when ODD is open/closed

2012-07-23 Thread Aaron Lu
The ODD can either be runtime resumed by the user or by a software request. And for the latter part, we only support runtime resume the ODD when the eject request is received. We did this in sr's block ioctl function, this looks ugly. Change this by runtime resuming the ODD in its open function

[PATCH 1/5] scsi: sr: fix for sr suspend and resume

2012-07-23 Thread Aaron Lu
In sr_suspend, we do not need to do anything if it is not a runtime pm request, so just return by checking the PM_EVENT_AUTO flag. And in sr_resume, only reset the suspend_count back to 1 if the ODD is waken up by the user, or the usage count of the scsi device will not balance. Signed-off-by:

[PATCH 5/5] block: genhd: add an interface to set disk's poll interval

2012-07-23 Thread Aaron Lu
Set the ODD's in kernel poll interval to 2s for the user in case the user is using an old distro on which udev will not set the system wide block parameter events_dfl_poll_msecs. Signed-off-by: Aaron Lu aaron...@amd.com --- block/genhd.c | 23 +-- drivers/scsi/sr.c

[PATCH 4/5] scsi: pm: use runtime resume callback if available

2012-07-23 Thread Aaron Lu
When runtime resume a scsi device, if the device's driver has implemented runtime resume callback, use that instead of the resume callback. sr driver needs this to properly do different things for system resume and runtime resume. Signed-off-by: Aaron Lu aaron...@amd.com ---

[PATCH 0/5] Fix for ZPODD

2012-07-23 Thread Aaron Lu
Here are some patches to make ZPODD easier to use for end users and a fix for using ZPODD with system suspend. Aaron Lu (5): scsi: sr: fix for sr suspend and resume scsi: sr: runtime pm when ODD is open/closed scsi: sr: block events when runtime suspended scsi: pm: use runtime resume

Re: [PATCH 4/4] gpio/pca953x: register the device irq using appropriate api's

2012-07-23 Thread Mahapatra, Chandrabhanu
On Thu, Jul 12, 2012 at 3:41 AM, Linus Walleij linus.wall...@linaro.org wrote: On Tue, Jul 10, 2012 at 3:36 PM, Chandrabhanu Mahapatra cmahapa...@ti.com wrote: From: Leed Aguilar leed.agui...@ti.com Here, the implementation of registration of requested IRQs has been corrected with

Re: [PATCH] thermal: fix build error at thermal_sys.c

2012-07-23 Thread Jean Delvare
Hi Rui, On Mon, 23 Jul 2012 10:02:16 +0800, Zhang Rui wrote: BTW: what is the rule for linux-next? I refreshed the patches, did some test, and sent to mailing list saying that I want to push them to linux-next, please review. And then I got bug report from linux-next... shouldn't them be

RE: 3.5.0 iwlagn AP crash...

2012-07-23 Thread Berg, Johannes
When running my Centrino Wireless-N 130 BGN (rev 0xb0) card in nl80211 AP mode with hostapd on linux 3.5.0, I immediately hit this fatal pagefault [1]. I can cook a debug kernel, reproduce, disassemble the code and do some quick analysis, if that helps get the ball rolling? BUG:

[RFC PATCH 0/1] sched: Add a new API to find the prefer idlest cpu

2012-07-23 Thread Shirley Ma
Introduce a new API to choose per-cpu thread from cgroup control cpuset (allowed) and preferred cpuset (local numa-node). The receiving cpus of a networking device are not under cgroup controls. When such a networking device uses per-cpu thread model, the cpu which is chose to process the packets

RE: 3.5.0 iwlagn AP crash...

2012-07-23 Thread Berg, Johannes
BUG: unable to handle kernel NULL pointer dereference at (null) IP: [a02e869d] ieee80211_ave_rssi+0xd/0x50 [mac80211] From my debug kernel, sdata is clearly NULL: (gdb) list *0x815b74f8 0x815b74f8 is in ieee80211_ave_rssi (net/mac80211/util.c:1801).

[RFC PATCH 1/1] sched: Add a new API to find the prefer idlest cpu

2012-07-23 Thread Shirley Ma
diff --git a/include/linux/sched.h b/include/linux/sched.h index 64d9df5..46cc4a7 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -2806,4 +2806,6 @@ static inline unsigned long rlimit_max(unsigned int limit) #endif /* __KERNEL__ */ +extern int find_idlest_prefer_cpu(struct

Re: [PATCH 1/2] Staging: slicoss: Clean up tabs vs spaces in slic.h

2012-07-23 Thread Dan Carpenter
On Sun, Jul 22, 2012 at 10:57:09PM +0200, Jesper Juhl wrote: Make it match CodingStyle a bit better, tab/space wise. Signed-off-by: Jesper Juhl j...@chaosbits.net --- drivers/staging/slicoss/slic.h | 751 - 1 file changed, 374 insertions(+), 377

Re: [PATCH] x86: adjust generic_get_mtrr() for 64-bit

2012-07-23 Thread Jan Beulich
On 06.07.12 at 23:38, Yinghai Lu ying...@kernel.org wrote: On Fri, Jul 6, 2012 at 7:14 AM, Jan Beulich jbeul...@suse.com wrote: Needing to deal with potentially large memory configurations, the variables here should be unsigned long instead of unsigned int. Signed-off-by: Jan Beulich

[PATCH 3/5] scsi: sr: block events when runtime suspended

2012-07-23 Thread Aaron Lu
When the ODD is runtime suspended, there is no need to poll it for events, so block events poll for it and unblock when resumed. Signed-off-by: Aaron Lu aaron...@amd.com --- block/genhd.c | 2 ++ drivers/scsi/sr.c | 7 --- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git

Re: [PATCH TRIVIAL] mm: Fix build warning in kmem_cache_create()

2012-07-23 Thread Glauber Costa
On 07/17/2012 07:11 PM, Christoph Lameter wrote: On Tue, 17 Jul 2012, Pekka Enberg wrote: Well, even SLUB checks for !name in mainline so that's definitely worth including unconditionally. Furthermore, the size related checks certainly make sense and I don't see any harm in having them as

[3.5 regression / bridge] constantly toggeling between disabled and forwarding

2012-07-23 Thread Michael Leun
Hi, when I use my usb ethernet adapter # lsusb [...] Bus 002 Device 009: ID 9710:7830 MosChip Semiconductor MCS7830 10/100 Mbps Ethernet adapter [...] as port of an bridge # brctl addbr br0 # brctl addif br0 eth0 # brctl addif br0 ue5 # ifconfig ue5 up # ifconfig br0 up (Also does

Re: [RESEND][PATCH] Rewrite Documentation/SubmittingPatches.

2012-07-23 Thread Stefan Beller
On 07/23/2012 06:45 AM, Randy Dunlap wrote: On 07/22/2012 12:56 AM, Stefan Beller wrote: Documentation/SubmittingPatches | 191 1 file changed, 116 insertions(+), 75 deletions(-) diff --git a/Documentation/SubmittingPatches

Re: [PATCH 2/2] Staging: slicoss: Clean up spaces vs tabs in slicoss.c

2012-07-23 Thread Dan Carpenter
On Sun, Jul 22, 2012 at 10:57:20PM +0200, Jesper Juhl wrote: @@ -154,7 +154,7 @@ static void slic_assert_fail(void) curr_pid = current-pid; printk(KERN_ERR %s CPU # %d PID # %d\n, -__func__, cpuid, curr_pid); + __func__, cpuid, curr_pid); The

Re: next/mmotm unbootable on G5: irqdomain

2012-07-23 Thread Hugh Dickins
On Mon, 23 Jul 2012, Benjamin Herrenschmidt wrote: On Sat, 2012-07-21 at 19:47 -0700, Hugh Dickins wrote: I have to revert the patch below from mmotm 2012-07-20-16-30 or next-20120720 in order to boot on the PowerPC G5: otherwise it freezes before switching to the framebuffer console - but

Re: [PATCH] thermal: fix build error at thermal_sys.c

2012-07-23 Thread Zhang Rui
On δΈ€, 2012-07-23 at 08:54 +0200, Jean Delvare wrote: Hi Rui, On Mon, 23 Jul 2012 10:02:16 +0800, Zhang Rui wrote: BTW: what is the rule for linux-next? I refreshed the patches, did some test, and sent to mailing list saying that I want to push them to linux-next, please review. And

Re: [ 022/108] scsi: Silence unnecessary warnings about ioctl to partition

2012-07-23 Thread Paolo Bonzini
Il 23/07/2012 03:07, Ben Hutchings ha scritto: 3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara j...@suse.cz commit 6d9359280753d2955f86d6411047516a9431eb51 upstream. Sometimes, warnings about ioctls to partition happen

[PATCH] [CPUFREQ] conservative: Initialise the cpu field of the this_dbs_info

2012-07-23 Thread Amit Daniel Kachhap
This patch initialises the cpu field of this_dbs_info structure. This change is similar to existing ondemand governor. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/cpufreq/cpufreq_conservative.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

Re: [PATCH RFC V5 0/3] kvm: Improving directed yield in PLE handler

2012-07-23 Thread Christian Borntraeger
On 22/07/12 14:43, Avi Kivity wrote: On 07/22/2012 03:34 PM, Raghavendra K T wrote: Thanks Marcelo for the review. Avi, Rik, Christian, please let me know if this series looks good now. It looks fine to me. Christian, is this okay for s390? Tested-by: Christian Borntraeger

Re: [PATCH] thermal: fix build error at thermal_sys.c

2012-07-23 Thread Jean Delvare
On Mon, 23 Jul 2012 15:28:07 +0800, Zhang Rui wrote: so my tree is set for linux-next inclusion means that, all the stuff will be merged in linux-next automatically, even if I have not asked linux-next to pull my changes, right? Yes, exactly. You never have to ask linux-next to pull your

Re: [RFC] optimize the locking in the rebalance_domains()

2012-07-23 Thread Vlad Zolotarov
On Mon, 2012-07-23 at 11:25 +0900, Namhyung Kim wrote: Hi, Vlad On Sun, 22 Jul 2012 19:23:55 +0300, Vlad Zolotarov wrote: Ingo, we've noticed that rebalance_domains() will try to take a lock every time it's called (every jiffy) if SD_SERIALIZE is set (which is a default configuration).

Re: next/mmotm unbootable on G5: irqdomain

2012-07-23 Thread Grant Likely
On Sun, Jul 22, 2012 at 8:45 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Sat, 2012-07-21 at 19:47 -0700, Hugh Dickins wrote: I have to revert the patch below from mmotm 2012-07-20-16-30 or next-20120720 in order to boot on the PowerPC G5: otherwise it freezes before switching

Re: [PATCH net] rds: set correct msg_namelen

2012-07-23 Thread David Miller
From: Weiping Pan w...@redhat.com Date: Mon, 23 Jul 2012 10:37:48 +0800 Jay Fenlason (fenla...@redhat.com) found a bug, that recvfrom() on an RDS socket can return the contents of random kernel memory to userspace if it was called with a address length larger than sizeof(struct sockaddr_in).

[PATCH] ext4: remove redundant offset check in move_extents.c/mext_check_arguments

2012-07-23 Thread Wang Sheng-Hui
In the check code above, if orig_start != donor_start, we would return -EINVAL. So here, orig_start should be equal with donor_start. Remove the redundant check here. Signed-off-by: Wang Sheng-Hui shh...@gmail.com --- fs/ext4/move_extent.c |1 - 1 files changed, 0 insertions(+), 1

Re: [RFC] firmware load: defer request_firmware during early boot and resume

2012-07-23 Thread Borislav Petkov
On Sun, Jul 22, 2012 at 12:46:13PM -0700, Linus Torvalds wrote: On Sun, Jul 22, 2012 at 5:58 AM, Borislav Petkov b...@alien8.de wrote: Question: is there any other reason [besides maybe embedded people who care about each single Kb of memory on the system] why we don't make

Re: [git pull] vfs.git; pile 1

2012-07-23 Thread Boaz Harrosh
On 07/22/2012 11:20 PM, Al Viro wrote: I think the least painful solution is this: I've created a new branch (for-linus-2) in there, growing off the parent of merge in nfs.git. I've put the fixup to kern_path_locked() there as a separate commit + stuff that went in for-linus after that point.

Re: Release Announcements

2012-07-23 Thread Borislav Petkov
On Sun, Jul 22, 2012 at 12:08:34PM -0400, Shea Levy wrote: The linux-kernel-announce doesn't seem to have had any traffic since 3.1-rc4 (maybe due to the kernel.org break-in?). Is there a recommended way to get email news of kernel releases without being subscribed to the main kernel list?

[Announce] Checkpoint-restore tool v0.1

2012-07-23 Thread Pavel Emelyanov
Hi! I'm glad to announce the first release of the checkpoint-restore tool. This project is an attempt to implement the checkpoint-restore functionality for processes and containers without driving too much code into the kernel tree, but putting there various oddball helper code instead. The

GFS2: Pre-pull patch posting (merge window)

2012-07-23 Thread Steven Whitehouse
Hi, As usual, here is the content of the GFS2 tree prior to sending a merge request. Not a huge number of patches this time, but some interesting features nonetheless. A number of the earlier patches are aimed at cleaning up the resource group code for the later patch which implements block

[PATCH 02/16] GFS2: Fold quota data into the reservations struct

2012-07-23 Thread Steven Whitehouse
From: Bob Peterson rpete...@redhat.com This patch moves the ancillary quota data structures into the block reservations structure. This saves GFS2 some time and effort in allocating and deallocating the qadata structure. Signed-off-by: Bob Peterson rpete...@redhat.com Signed-off-by: Steven

[PATCH 11/16] GFS2: Add kobject release method

2012-07-23 Thread Steven Whitehouse
From: Bob Peterson rpete...@redhat.com This patch adds a kobject release function that properly maintains the kobject use count, so that accesses to the sysfs files do not cause an access to freed kernel memory after an unmount. Signed-off-by: Bob Peterson rpete...@redhat.com Signed-off-by:

[PATCH 13/16] GFS2: Fixing double brelse'ing bh allocated in gfs2_meta_read when EIO occurs

2012-07-23 Thread Steven Whitehouse
From: Masatake YAMATO yam...@redhat.com This patch fixes buffer_head double free in following code path: gfs2_block_map = gfs2_meta_inode_buffer = gfs2_meta_indirect_buffer = gfs2_meta_read = release_metapath gfs2_block_map calls gfs2_meta_inode_buffer with mp.mp_bh[0] as an argument.

[PATCH 14/16] GFS2: kernel panic with small gfs2 filesystems - 1 RG

2012-07-23 Thread Steven Whitehouse
From: Abhijith Das a...@redhat.com In the unlikely setup where there's only one resource group in the gfs2 filesystem, gfs2_rgrpd_get_next() returns a NULL rgd that is not dealt with properly, causing a kernel NULL ptr dereference. This patch fixes this issue. Signed-off-by: Abhi Das

[PATCH 16/16] GFS2: Eliminate 64-bit divides

2012-07-23 Thread Steven Whitehouse
From: Bob Peterson rpete...@redhat.com This patch removes the 64-bit divides introduced in the previous patch in favor of shifting, so that it will compile properly on 32-bit machines. Signed-off-by: Bob Peterson rpete...@redhat.com Signed-off-by: Steven Whitehouse swhit...@redhat.com diff

[PATCH 15/16] GFS2: Reduce file fragmentation

2012-07-23 Thread Steven Whitehouse
From: Bob Peterson rpete...@redhat.com This patch reduces GFS2 file fragmentation by pre-reserving blocks. The resulting improved on disk layout greatly speeds up operations in cases which would have resulted in interlaced allocation of blocks previously. A typical example of this is 10 parallel

[PATCH 12/16] GFS2: Combine functions get_local_rgrp and gfs2_inplace_reserve

2012-07-23 Thread Steven Whitehouse
From: Bob Peterson rpete...@redhat.com This function combines rgrp functions get_local_rgrp and gfs2_inplace_reserve so that the double retry loop is gone. Signed-off-by: Bob Peterson rpete...@redhat.com Signed-off-by: Steven Whitehouse swhit...@redhat.com diff --git a/fs/gfs2/rgrp.c

[PATCH 01/16] GFS2: Extend the life of the reservations

2012-07-23 Thread Steven Whitehouse
From: Bob Peterson rpete...@redhat.com This patch lengthens the lifespan of the reservations structure for inodes. Before, they were allocated and deallocated for every write operation. With this patch, they are allocated when the first write occurs, and deallocated when the last process closes

[PATCH 08/16] seq_file: Add seq_vprintf function and export it

2012-07-23 Thread Steven Whitehouse
The existing seq_printf function is rewritten in terms of the new seq_vprintf which is also exported to modules. This allows GFS2 (and potentially other seq_file users) to have a vprintf based interface and to avoid an extra copy into a temporary buffer in some cases. Signed-off-by: Steven

[PATCH 07/16] GFS2: Use lvbs for storing rgrp information with mount option

2012-07-23 Thread Steven Whitehouse
From: Benjamin Marzinski bmarz...@redhat.com Instead of reading in the resource groups when gfs2 is checking for free space to allocate from, gfs2 can store the necessary infromation in the resource group's lvb. Also, instead of searching for unlinked inodes in every resource group that's

[PATCH 03/16] GFS2: Add top dir flag support

2012-07-23 Thread Steven Whitehouse
From: Steven Whitehouse st...@chygwyn.com This patch adds support for the top dir flag. Currently this is unused but a subsequent patch is planned which will add support for the Orlov allocation policy when allocating subdirectories in a parent with this flag set. In order to ensure backward

[PATCH 04/16] GFS2: Fix error handling when reading an invalid block from the journal

2012-07-23 Thread Steven Whitehouse
From: Steven Whitehouse st...@chygwyn.com When we read an invalid block from the journal, we should not call withdraw, but simply print a message and return an error. It is up to the caller to then handle that error. In the case of mount that means a failed mount, rather than a withdraw

[PATCH 10/16] GFS2: Size seq_file buffer more carefully

2012-07-23 Thread Steven Whitehouse
This places a limit on the buffer size for archs with larger PAGE_SIZE. Signed-off-by: Steven Whitehouse swhit...@redhat.com Reported-by: Eric Dumazet eric.duma...@gmail.com diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 4d5d63d..1ed81f4 100644 --- a/fs/gfs2/glock.c +++ b/fs/gfs2/glock.c

[PATCH 09/16] GFS2: Use seq_vprintf for glocks debugfs file

2012-07-23 Thread Steven Whitehouse
Make use of the newly added seq_vprintf() function. Signed-off-by: Steven Whitehouse swhit...@redhat.com Reported-by: Eric Dumazet eric.duma...@gmail.com Acked-by: Al Viro v...@zeniv.linux.org.uk diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 10ae164..4d5d63d 100644 --- a/fs/gfs2/glock.c

[PATCH 06/16] GFS2: Cache last hash bucket for glock seq_files

2012-07-23 Thread Steven Whitehouse
For the glocks and glstats seq_files, which are exposed via debugfs we should cache the most recent hash bucket, along with the offset into that bucket. This allows us to restart from that point, rather than having to begin at the beginning each time. This is an idea from Eric Dumazet, however

[PATCH 05/16] GFS2: Increase buffer size for glocks and glstats debugfs files

2012-07-23 Thread Steven Whitehouse
As per Al Viro's suggestion, this increases the buffer size used for these two files. This provides a speed up of slightly less than 8x (i.e. proportional to the buffer size) for cases when we have large numbers of glocks. Cc: Al Viro v...@zeniv.linux.org.uk Signed-off-by: Steven Whitehouse

Re: [PATCH] PWM: Add support for configuring polarity of PWM

2012-07-23 Thread Thierry Reding
On Wed, Jul 18, 2012 at 06:24:13PM +0530, Philip, Avinash wrote: Duty cycle inversion of PWM wave should achieved through PWM polarity inversion. Also polarity of PWM wave should configurable from slave drivers, Actually, I don't think that duty cycle inversion *should* be achieved through

Re: DT support for Low threshold brightness in backlight.

2012-07-23 Thread Thierry Reding
On Wed, Jul 18, 2012 at 02:59:32PM +, Philip, Avinash wrote: Hi, In pwm-backlight driver low threshold brightness support in DT is not present. Do you have any plans in such direction? I am planning to add support for the same but want to avoid duplication of work. Below scenario

[GIT PULL] UBIFS changes for 3.6-rc1

2012-07-23 Thread Artem Bityutskiy
Hi Linus, The following changes since commit c6727932cfdb13501108b16c38463c09d5ec7a74: UBIFS: fix a bug in empty space fix-up (2012-07-20 10:13:27 +0300) are available in the git repository at: git://git.infradead.org/linux-ubifs.git tags/upstream-3.6-rc1 for you to fetch changes up to

[GIT PULL] UBI changes for 3.6-rc1

2012-07-23 Thread Artem Bityutskiy
Hi Linus, The following changes since commit 84a1caf1453c3d44050bd22db958af4a7f99315c: Linux 3.5-rc7 (2012-07-14 15:40:28 -0700) are available in the git repository at: git://git.infradead.org/linux-ubi.git tags/upstream-3.6-rc1 for you to fetch changes up to

[PATCH] provide a common place for initcall processing in kmem_cache

2012-07-23 Thread Glauber Costa
Both SLAB and SLUB depend on some initialization to happen when the system is already booted, with all subsystems working. This is done by issuing an initcall that does the final initialization. This patch moves that to slab_common.c, while creating an empty placeholder for the SLOB.

Re: [PATCHSET] workqueue: reimplement CPU hotplug to keep idle workers

2012-07-23 Thread Peter De Schrijver
On Fri, Jul 20, 2012 at 09:44:04PM +0200, Rafael J. Wysocki wrote: On Friday, July 20, 2012, Tejun Heo wrote: Hello, On Fri, Jul 20, 2012 at 08:22:30PM +0200, Peter Zijlstra wrote: I really think people who use hotplug at high frequencies are on drugs and doing it wrong. I don't

Re: [PATCH 1/2] Staging: slicoss: Clean up tabs vs spaces in slic.h

2012-07-23 Thread Jesper Juhl
On Mon, 23 Jul 2012, Dan Carpenter wrote: On Sun, Jul 22, 2012 at 10:57:09PM +0200, Jesper Juhl wrote: Make it match CodingStyle a bit better, tab/space wise. Signed-off-by: Jesper Juhl j...@chaosbits.net --- drivers/staging/slicoss/slic.h | 751

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-23 Thread Pavel Emelyanov
Fixing the bogus containers@ ml and adding cgroups@ one. Sorry :( == Original message == Hi! I'm glad to announce the first release of the checkpoint-restore tool. This project is an attempt to implement the checkpoint-restore functionality for processes and containers without driving too

Re: [git pull] vfs.git; pile 1

2012-07-23 Thread Al Viro
On Mon, Jul 23, 2012 at 11:20:25AM +0300, Boaz Harrosh wrote: On 07/22/2012 11:20 PM, Al Viro wrote: I think the least painful solution is this: I've created a new branch (for-linus-2) in there, growing off the parent of merge in nfs.git. I've put the fixup to kern_path_locked() there as

Re: [RFC PATCH] memory-hotplug: Add memblock_state notifier

2012-07-23 Thread Wen Congyang
At 07/20/2012 07:18 PM, Vasilis Liaskovitis Wrote: hot-remove initiated by acpi_memhotplug driver tries to offline pages and then remove section/sysfs files in remove_memory(). remove_memory() will only proceed if is_memblk_offline() returns true, i.e. only if the corresponding memblock is

Re: [RFC PATCH 0/8] memory-hotplug : hot-remove physical memory(clear page table)

2012-07-23 Thread Wen Congyang
At 07/20/2012 03:31 PM, Yasuaki Ishimatsu Wrote: [Hi Wen, Good news!! I was waiting for this patch to come. Applying the patches, can we hot-remove physical memory completely? If all functions success, I guess so. Thanks Wen Congyang Thanks, Yasuaki Ishimatsu 2012/07/20 16:06, Wen

[GIT PULL] KVM updates for the 3.6 merge window

2012-07-23 Thread Avi Kivity
Linus, please pull from the repo and tag at: git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/kvm-3.6-1 to merge the KVM updates for the 3.5 merge window. Highlights include - full big real mode emulation on pre-Westmere Intel hosts (can be disabled with emulate_invalid_guest_state=0)

Re: [PATCH 00/34] Memory management performance backports for -stable

2012-07-23 Thread Mel Gorman
On Sun, Jul 22, 2012 at 11:58:32PM +0100, Ben Hutchings wrote: I'm about to put 3.2.24 out for review, and it's pretty big already so I'm going to defer these to 3.2.25. I haven't forgotten or rejected them. No worries, thanks for considering them. I still have to resend the series with

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

2012-07-23 Thread Will Newton
On Mon, Jul 23, 2012 at 3:48 AM, Doug Anderson diand...@chromium.org wrote: On Sat, Jul 21, 2012 at 3:40 AM, Will Newton will.new...@gmail.com wrote: static void dw_mci_enable_sdio_irq(struct mmc_host *mmc, int enb) { struct dw_mci_slot *slot = mmc_priv(mmc); @@ -871,6 +896,14 @@

Re: [PATCH 06/34] vmscan: add shrink_slab tracepoints

2012-07-23 Thread Mel Gorman
On Fri, Jul 20, 2012 at 10:54:17AM -0500, Jonathan Nieder wrote: Mel Gorman wrote: On Thu, Jul 19, 2012 at 05:07:21PM -0500, Jonathan Nieder wrote: Some of the other patches of this type made sense, but I'd personally prefer if this one was dropped, yes. Though I am just a nobody that

Re: [net-next RFC V5 4/5] virtio_net: multiqueue support

2012-07-23 Thread Sasha Levin
On 07/23/2012 07:54 AM, Jason Wang wrote: On 07/21/2012 08:02 PM, Sasha Levin wrote: On 07/20/2012 03:40 PM, Michael S. Tsirkin wrote: -err = init_vqs(vi); +if (virtio_has_feature(vdev, VIRTIO_NET_F_CTRL_VQ)) +vi-has_cvq = true; + How about we disable multiqueue if there's

Re: [GIT PULL] x86/build change for v3.6

2012-07-23 Thread Kirill A. Shutemov
On Sun, Jul 22, 2012 at 04:22:04PM +0200, Ingo Molnar wrote: * Kirill A. Shutemov kir...@shutemov.name wrote: On Sun, Jul 22, 2012 at 03:44:51PM +0200, Ingo Molnar wrote: Linus, Please pull the latest x86-build-for-linus git tree from:

Re: [PATCH 21/34] kswapd: assign new_order and new_classzone_idx after wakeup in sleeping

2012-07-23 Thread Mel Gorman
On Sun, Jul 22, 2012 at 12:25:14PM -0700, Hugh Dickins wrote: On Thu, 19 Jul 2012, Mel Gorman wrote: From: Alex,Shi alex@intel.com commit d2ebd0f6b89567eb93ead4e2ca0cbe03021f344b upstream. Thanks for assembling these, Mel: I was checking through to see if I was missing any, and

[PATCH 1/3] drivers/misc: Add realtek card reader core driver

2012-07-23 Thread wei_wang
From: Wei WANG wei_w...@realsil.com.cn Realtek card reader core driver is the bus driver for Realtek driver-based card reader, which supplies adapter layer to be used by lower-level pci/usb card reader and upper-level sdmmc/memstick host driver. Signed-off-by: Wei WANG wei_w...@realsil.com.cn

[PATCH 3/3] drivers/mmc/host: Add realtek sdmmc interface driver

2012-07-23 Thread wei_wang
From: Wei WANG wei_w...@realsil.com.cn Realtek SD/MMC card interface driver is used to access SD/MMC card, with the help of Realtek card reader adapter driver. Signed-off-by: Wei WANG wei_w...@realsil.com.cn --- drivers/mmc/host/Kconfig |7 + drivers/mmc/host/Makefile |2 +

Re: Deadlocks due to per-process plugging

2012-07-23 Thread Mike Galbraith
On Sun, 2012-07-22 at 20:43 +0200, Mike Galbraith wrote: On Sat, 2012-07-21 at 09:47 +0200, Mike Galbraith wrote: On Wed, 2012-07-18 at 07:30 +0200, Mike Galbraith wrote: On Wed, 2012-07-18 at 06:44 +0200, Mike Galbraith wrote: The patch in question for missing Cc. Maybe should

Re: [PATCH] Enable devtmpfs by default

2012-07-23 Thread Alan Cox
On Mon, 23 Jul 2012 11:54:14 +1000 Anton Blanchard an...@samba.org wrote: udev now requires CONFIG_DEVTMPFS so make it default to y. I noticed this when booting a ppc64 pseries_defconfig on Fedora 17 and it paniced because it couldn't mount the root device. NAK. As Linus keeps saying we

RE: [PATCH v3 6/6] mmc: dw_mmc: add samsung exynos5250 specific extentions

2012-07-23 Thread Seungwon Jeon
July 23, 2012, Thomas Abraham thomas.abra...@linaro.org wrote: On 20 July 2012 16:08, Seungwon Jeon tgih@samsung.com wrote: July 20, 2012, Thomas Abraham thomas.abra...@linaro.org wrote: On 19 July 2012 09:21, Seungwon Jeon tgih@samsung.com wrote: [...] +static unsigned long

Re: [PATCH] x86: revert x86: Fix S4 regression

2012-07-23 Thread Dave Young
On 07/17/2012 11:15 AM, Takao Indoh wrote: Hi Cong, When I tested kdump with 3.5.0-rc6 kernel, I found a problem of kdump kernel's panic in find_early_table_space(). init_memory_mapping: [mem 0x-0x36ffafff] Kernel panic - not syncing: Cannot find space for the kernel page tables

Re: [PATCH RFC V5 0/3] kvm: Improving directed yield in PLE handler

2012-07-23 Thread Avi Kivity
On 07/18/2012 04:37 PM, Raghavendra K T wrote: Currently Pause Loop Exit (PLE) handler is doing directed yield to a random vcpu on pl-exit. We already have filtering while choosing the candidate to yield_to. This change adds more checks while choosing a candidate to yield_to. On a large

[PATCH] devfreq: exynos4: Fix Kconfig option of CONFIG_ARM_EXYNOS4_BUS_DEVFREQ

2012-07-23 Thread Jonghwa Lee
This patch fixes typo in devfreq's Kconfig. Signed-off-by: Jonghwa Lee jonghwa3@samsung.com --- drivers/devfreq/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig index 464fa21..5900267 100644 ---

Re: [PATCH] [CPUFREQ] conservative: Initialise the cpu field of the this_dbs_info

2012-07-23 Thread Rafael J. Wysocki
On Monday, July 23, 2012, Amit Daniel Kachhap wrote: This patch initialises the cpu field of this_dbs_info structure. This change is similar to existing ondemand governor. Why do you think the change is needed? Rafael Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com ---

Re: gma500 opregion/power init order backtrace

2012-07-23 Thread Alan Cox
What I meant is: although these keycodes are already sent by acpi driver code, is it up to userspace to figure out which backlight driver to use, or should the kernel modify brightness in psb-bl directly ? I'm not sure how its all glued together. I need to find out some day ! -- To

Re: [PATCH] USB: plusb: Add support for PL-2501

2012-07-23 Thread Sergei Shtylyov
Hello. On 22-07-2012 21:42, kyak wrote: From: Mikhail Peselnik pesel...@gmail.com This patch adds support for PL-2501 by adding the appropriate USB ID's. This chip is used in several USB 'Easy Trasfer' Cables. Signed-off-by: Mikhail Peselnik pesel...@gmail.com Tested-by: Mikhail Peselnik

Re: [PATCH v2 1/1] usb: gadget: s3c-hsotg: fix core reset timeout failure

2012-07-23 Thread Felipe Balbi
Hi, On Wed, Jul 04, 2012 at 10:50:30AM +0800, Du, Changbin wrote: The timeout values were 1000 and timeout issue occurred many times on my s3c6410 Soc based board (mostly when booting with USB cable not connected). This patch increase the values to 1 to guarantee the success of

Re: [PATCH 2/2 v5][resend] tmpfs: interleave the starting node of /dev/shmem

2012-07-23 Thread Dan Carpenter
On Mon, Jul 09, 2012 at 09:46:39AM -0500, Nathan Zimmer wrote: +static unsigned long shmem_interleave(struct vm_area_struct *vma, + unsigned long addr) +{ + unsigned long offset; + + /* Use the vm_files prefered node as the initial offset. */ +

[GIT PULL REQUEST] watchdog - v3.6 merge window

2012-07-23 Thread Wim Van Sebroeck
Hi Linus, Please pull from 'master' branch of git://www.linux-watchdog.org/linux-watchdog.git This merge set contains: * conversion of iTCO_wdt and orion_wdt to the generic watchdog API * uses module_platform_driver() for s3c2410_wdt * Adds support for Jetway JNF99 Motherboard * various

[char-misc-next] mei: revamp me client search function

2012-07-23 Thread Tomas Winkler
me client search functions returns index into me_client array according me client id or me client uuid. 1. Add common prefix for the functions mei_me_cl_ 2. create new function mei_me_cl_by_id that wraps open coded loops scattered over the code 3. rename mei_find_me_client_index to

Re: [RFC PATCH] memory-hotplug: Add memblock_state notifier

2012-07-23 Thread Vasilis Liaskovitis
Hi, On Mon, Jul 23, 2012 at 05:08:04PM +0800, Wen Congyang wrote: +static int memblock_state_notifier_nb(struct notifier_block *nb, unsigned long + val, void *v) +{ + struct memory_notify *arg = (struct memory_notify *)v; + struct memory_block *mem = NULL; + struct

Re: [next:akpm 129/309] net/core/sock.c:274:36: error: initializer element is not constant

2012-07-23 Thread Mel Gorman
On Mon, Jul 23, 2012 at 12:30:58AM +0800, Fengguang Wu wrote: Hi Mel, To be frank, I don't quite understand this build failure.. tree: next/akpm akpm head: 37e2ad4953983527f7bdb6831bf478eedcc84082 commit: 799dc3a908b1df8b766c35aefc24c1b5356aa051 [129/309] netvm: allow skb allocation

Re: [PATCH 1/3] drivers/misc: Add realtek card reader core driver

2012-07-23 Thread Dan Carpenter
On Mon, Jul 23, 2012 at 05:42:38PM +0800, wei_w...@realsil.com.cn wrote: + +#define wait_timeout_x(task_state, msecs)\ +do { \ + set_current_state((task_state));\ +

Re: [next:akpm 129/309] net/core/sock.c:274:36: error: initializer element is not constant

2012-07-23 Thread James Bottomley
[Parisc list cc added] On Mon, 2012-07-23 at 12:16 +0100, Mel Gorman wrote: On Mon, Jul 23, 2012 at 12:30:58AM +0800, Fengguang Wu wrote: Hi Mel, To be frank, I don't quite understand this build failure.. tree: next/akpm akpm head: 37e2ad4953983527f7bdb6831bf478eedcc84082

Re: [PATCH 1/3] drivers/misc: Add realtek card reader core driver

2012-07-23 Thread Borislav Petkov
On Mon, Jul 23, 2012 at 05:42:38PM +0800, wei_w...@realsil.com.cn wrote: From: Wei WANG wei_w...@realsil.com.cn Realtek card reader core driver is the bus driver for Realtek driver-based card reader, which supplies adapter layer to be used by lower-level pci/usb card reader and upper-level

Re: [PATCH 2/3] drivers/misc: Add realtek pci card reader driver

2012-07-23 Thread Borislav Petkov
On Mon, Jul 23, 2012 at 05:42:44PM +0800, wei_w...@realsil.com.cn wrote: From: Wei WANG wei_w...@realsil.com.cn Realtek PCI-E card reader driver adapts requests from upper-level sdmmc/memstick layer to the real physical card reader. Signed-off-by: Wei WANG wei_w...@realsil.com.cn

Re: [PATCH] x86: revert x86: Fix S4 regression

2012-07-23 Thread Takao Indoh
(2012/07/23 19:00), Dave Young wrote: On 07/17/2012 11:15 AM, Takao Indoh wrote: Hi Cong, When I tested kdump with 3.5.0-rc6 kernel, I found a problem of kdump kernel's panic in find_early_table_space(). init_memory_mapping: [mem 0x-0x36ffafff] Kernel panic - not syncing: Cannot

  1   2   3   4   5   6   7   8   9   10   >