[PATCH v2 02/15] KVM: MMU: properly check last spte in fast_page_fault()

2013-09-05 Thread Xiao Guangrong
Using sp->role.level instead of @level since @level is not got from the page table hierarchy There is no issue in current code since the fast page fault currently only fixes the fault caused by dirty-log that is always on the last level (level = 1) This patch makes the code more readable and

[PATCH v2 15/15] KVM: MMU: use rcu functions to access the pointer

2013-09-05 Thread Xiao Guangrong
Use rcu_assign_pointer() to update all the pointer in desc and use rcu_dereference() to lockless read the pointer Signed-off-by: Xiao Guangrong --- arch/x86/kvm/mmu.c | 46 -- 1 file changed, 28 insertions(+), 18 deletions(-) diff --git

[PATCH v2 00/15] KVM: MMU: locklessly wirte-protect

2013-09-05 Thread Xiao Guangrong
Changelog v2: - the changes from Gleb's review: 1) fix calculating the number of spte in the pte_list_add() 2) set iter->desc to NULL if meet a nulls desc to cleanup the code of rmap_get_next() 3) fix hlist corruption due to accessing sp->hlish out of mmu-lock 4) use rcu functions to

[PATCH v2 12/15] KVM: MMU: allow locklessly access shadow page table out of vcpu thread

2013-09-05 Thread Xiao Guangrong
It is easy if the handler is in the vcpu context, in that case we can use walk_shadow_page_lockless_begin() and walk_shadow_page_lockless_end() that disable interrupt to stop shadow page being freed. But we are on the ioctl context and the paths we are optimizing for have heavy workload, disabling

Re: [PATCH v3 2/5] efi: provide a generic efi_config_init()

2013-09-05 Thread Leif Lindholm
On Mon, Sep 02, 2013 at 10:29:02AM +0100, Matt Fleming wrote: > This patch actually breaks git bisection, Urgh, sorry about that. > /home/build/git/efi/arch/x86/platform/efi/efi.c:581:19: error: conflicting > types for ‘efi_config_init’ > In file included from

Re: [PATCH] ALSA: emu10k1: casting (void *) value returned by kcalloc is useless

2013-09-05 Thread Joe Perches
On Thu, 2013-09-05 at 18:10 +0800, Duan Jiong wrote: > 于 2013年09月05日 14:12, Joe Perches 写道: > > On Thu, 2013-09-05 at 13:57 +0800, Duan Jiong wrote: > >> From: Duan Jiong > >> > >> Casting (void *) value returned by kcalloc is useless > >> as mentioned in Documentation/CodingStyle, Chap 14. > >

Re: [patch 0/7] improve memcg oom killer robustness v2

2013-09-05 Thread azurIt
>[...] >> My script detected another freezed cgroup today, sending stacks. Is >> there anything interesting? > >3 tasks are sleeping and waiting for somebody to take an action to >resolve memcg OOM. The memcg oom killer is enabled for that group? If >yes, which task has been selected to be

Re: [PATCH V3 11/11] Add option to automatically enforce module signatures when in Secure Boot mode

2013-09-05 Thread Matt Fleming
On Tue, 03 Sep, at 07:50:18PM, Matthew Garrett wrote: > UEFI Secure Boot provides a mechanism for ensuring that the firmware will > only load signed bootloaders and kernels. Certain use cases may also > require that all kernel modules also be signed. Add a configuration option > that enforces this

Re: [PATCH 11/18] Hibernate: introduced RSA key-pair to verify signature of snapshot

2013-09-05 Thread joeyli
Hi Matt, First, thanks for your review! 於 四,2013-09-05 於 09:53 +0100,Matt Fleming 提到: > On Thu, 22 Aug, at 07:01:50PM, Lee, Chun-Yi wrote: > > +static int efi_status_to_err(efi_status_t status) > > +{ > > + int err; > > + > > + switch (status) { > > + case EFI_INVALID_PARAMETER: > > +

Re: doing lots of disk writes causes oom killer to kill processes

2013-09-05 Thread Michal Suchanek
Hello On 26 August 2013 15:51, Michal Suchanek wrote: > On 12 March 2013 03:15, Hillf Danton wrote: >>>On 11 March 2013 13:15, Michal Suchanek wrote: On 8 February 2013 17:31, Michal Suchanek wrote: Hello, I am dealing with VM disk images and performing something like

[PATCH 3/3] dma: Add Freescale eDMA engine driver support

2013-09-05 Thread Jingchang Lu
Add Freescale enhanced direct memory(eDMA) controller support. The eDMA controller deploys DMAMUXs routing DMA request sources(slot) to eDMA channels. This module can be found on Vybrid and LS-1 SoCs. Signed-off-by: Alison Wang Signed-off-by: Jingchang Lu --- changes in v5: config slave_id

Re: [PATCH] ALSA: emu10k1: casting (void *) value returned by kcalloc is useless

2013-09-05 Thread Duan Jiong
于 2013年09月05日 14:12, Joe Perches 写道: > On Thu, 2013-09-05 at 13:57 +0800, Duan Jiong wrote: >> From: Duan Jiong >> >> Casting (void *) value returned by kcalloc is useless >> as mentioned in Documentation/CodingStyle, Chap 14. > > __user is an important marker that is lost here. > >> diff --git

Re: [PATCH RFC 0/6] ARM: OMAP2+: AM43x/AM335x prcm reset driver

2013-09-05 Thread Philipp Zabel
Hi Afzal, Am Montag, den 02.09.2013, 19:41 +0530 schrieb Afzal Mohammed: > Hi, > > This is an attempt to achieve reset on AM43x/AM335x based SoC's with > reset driver making use of the reset framework. > > prcm node is added in device tree, which would hold reset bindings. > Initially node was

[PATCH V2 net-next 2/2] tuntap: orphan frags before trying to set tx timestamp

2013-09-05 Thread Jason Wang
sock_tx_timestamp() will clear all zerocopy flags of skb which may lead the frags never to be orphaned. This will break guest to guest traffic when zerocopy is enabled. Fix this by orphaning the frags before trying to set tx time stamp. The issue were introduced by commit

[PATCH V2 net-next 1/2] tuntap: purge socket error queue on detach

2013-09-05 Thread Jason Wang
Commit eda297729171fe16bf34fe5b0419dfb69060f623 (tun: Support software transmit time stamping) will queue skbs into error queue when tx stamping is enabled. But it forgets to purge the error queue during detach. This patch fixes this. Cc: Richard Cochran Acked-by: Richard Cochran Signed-off-by:

Re: [PATCH 1/3] kconfig: do not special-case 'MODULES' symbol

2013-09-05 Thread Michal Marek
On 5.9.2013 11:38, Michal Marek wrote: > On 3.9.2013 23:04, Yann E. MORIN wrote: >> From: "Yann E. MORIN" >> This patch changes the way we enable/disable tristates: if a symbol was >> found with 'option modules' attached to it, then that symbol controls >> enabling tristates. Otherwise, tristates

RE: [PATCH] video/drm: Drop superfluous "select VT_HW_CONSOLE_BINDING"

2013-09-05 Thread Inki Dae
> -Original Message- > From: Geert Uytterhoeven [mailto:ge...@linux-m68k.org] > Sent: Thursday, September 05, 2013 5:21 PM > To: David Herrmann; H. Peter Anvin > Cc: Inki Dae; David Airlie; Geoff Levand; dri-de...@lists.freedesktop.org; > linux-fb...@vger.kernel.org;

Re: [PATCH net-next 2/2] tuntap: orphan frags before trying to set tx timestamp

2013-09-05 Thread Jason Wang
On 09/04/2013 09:27 PM, Sergei Shtylyov wrote: > Hello. > > On 04-09-2013 8:33, Jason Wang wrote: > >> sock_tx_timestamp() will clear all zerocopy flags of skb which may >> lead the >> frags never to be orphaned. This will break guest to guest traffic >> when zerocopy >> is enabled. Fix this by

[PATCH v5 3/3] dma: Add Freescale eDMA engine driver support

2013-09-05 Thread Jingchang Lu
Add Freescale enhanced direct memory(eDMA) controller support. The eDMA controller deploys DMAMUXs routing DMA request sources(slot) to eDMA channels. This module can be found on Vybrid and LS-1 SoCs. Signed-off-by: Alison Wang Signed-off-by: Jingchang Lu --- changes in v5: config slave_id

Re: memcg creates an unkillable task in 3.11-rc2

2013-09-05 Thread Michal Hocko
It seems that this one fell though the cracks? On Thu 01-08-13 11:06:20, Michal Hocko wrote: > On Wed 31-07-13 15:09:16, Eric W. Biederman wrote: > > Michal Hocko writes: > > > > > [I am CCing David here as well] > > > > > > On Tue 30-07-13 09:37:46, Eric W. Biederman wrote: > > >> Michal Hocko

Re: [patch 0/7] improve memcg oom killer robustness v2

2013-09-05 Thread Michal Hocko
On Thu 05-09-13 11:14:30, azurIt wrote: [...] > My script detected another freezed cgroup today, sending stacks. Is > there anything interesting? 3 tasks are sleeping and waiting for somebody to take an action to resolve memcg OOM. The memcg oom killer is enabled for that group? If yes, which

[PATCH 02/11] vfs: add d_walk()

2013-09-05 Thread Miklos Szeredi
From: Miklos Szeredi This one replaces three instances open coded tree walking (have_submounts, select_parent, d_genocide) with a common helper. In addition to slightly reducing the kernel size, this simplifies the callers and makes them less bug prone. Signed-off-by: Miklos Szeredi ---

[PATCH 08/11] sysfs: use check_submounts_and_drop()

2013-09-05 Thread Miklos Szeredi
From: Miklos Szeredi Do have_submounts(), shrink_dcache_parent() and d_drop() atomically. check_submounts_and_drop() can deal with negative dentries and non-directories as well. Non-directories can also be mounted on. And just like directories we don't want these to disappear with

[PATCH 07/11] nfs: use check_submounts_and_drop()

2013-09-05 Thread Miklos Szeredi
From: Miklos Szeredi Do have_submounts(), shrink_dcache_parent() and d_drop() atomically. check_submounts_and_drop() can deal with negative dentries and non-directories as well. Non-directories can also be mounted on. And just like directories we don't want these to disappear with

[PATCH 04/11] vfs: check unlinked ancestors before mount

2013-09-05 Thread Miklos Szeredi
From: Miklos Szeredi We check submounts before doing d_drop() on a non-empty directory dentry in NFS (have_submounts()), but we do not exclude a racing mount. Nor do we prevent mounts to be added to the disconnected subtree using relative paths after the d_drop(). This patch fixes these issues

[PATCH 05/11] afs: use check_submounts_and_drop()

2013-09-05 Thread Miklos Szeredi
From: Miklos Szeredi Do have_submounts(), shrink_dcache_parent() and d_drop() atomically. check_submounts_and_drop() can deal with negative dentries as well. Signed-off-by: Miklos Szeredi CC: David Howells --- fs/afs/dir.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-)

[PATCH 06/11] gfs2: use check_submounts_and_drop()

2013-09-05 Thread Miklos Szeredi
From: Miklos Szeredi Do have_submounts(), shrink_dcache_parent() and d_drop() atomically. check_submounts_and_drop() can deal with negative dentries and non-directories as well. Non-directories can also be mounted on. And just like directories we don't want these to disappear with

[PATCH 03/11] vfs: check submounts and drop atomically

2013-09-05 Thread Miklos Szeredi
From: Miklos Szeredi We check submounts before doing d_drop() on a non-empty directory dentry in NFS (have_submounts()), but we do not exclude a racing mount. Process A: have_submounts() -> returns false Process B: mount() -> success Process A: d_drop() This patch prepares the ground for

[PATCH 09/11] fuse: use d_materialise_unique()

2013-09-05 Thread Miklos Szeredi
From: Miklos Szeredi Use d_materialise_unique() instead of d_splice_alias(). This allows dentry subtrees to be moved to a new place if there moved, even if something is referencing a dentry in the subtree (open fd, cwd, etc..). This will also allow us to drop a subtree if it is found to be

[PATCH 10/11] fuse: clean up return in fuse_dentry_revalidate()

2013-09-05 Thread Miklos Szeredi
From: Miklos Szeredi On errors unrelated to the filesystem's state (ENOMEM, ENOTCONN) return the error itself from ->d_revalidate() insted of returning zero (invalid). Also make a common label for invalidating the dentry. This will be used by the next patch. Signed-off-by: Miklos Szeredi ---

[PATCH 11/11] fuse: drop dentry on failed revalidate

2013-09-05 Thread Miklos Szeredi
From: Anand Avati Drop a subtree when we find that it has moved or been delated. This can be done as long as there are no submounts under this location. If the directory was moved and we come across the same directory in a future lookup it will be reconnected by d_materialise_unique().

[PATCH] mfd: rtsx: Modify rts5249_optimize_phy

2013-09-05 Thread wei_wang
From: Wei WANG In some platforms, specially Thinkpad series, rts5249 won't be initialized properly. So we need adjust some phy parameters to improve the compatibility issue. Signed-off-by: Wei WANG --- drivers/mfd/rts5249.c | 25 +++-- 1 file changed, 23 insertions(+), 2

[PATCH 00/11] [v4] safely drop directory dentry on failed revalidate

2013-09-05 Thread Miklos Szeredi
Here's a series for fixing issues with d_drop on a directory dentry with children and adding support for such dropped directories in fuse. Address comments: kill ->leave() callback, select_parent() and __check_submounts_and_drop(). Don't spam everybody: dropped most Cc's. Thanks, Miklos ---

[PATCH 01/11] vfs: restructure d_genocide()

2013-09-05 Thread Miklos Szeredi
From: Miklos Szeredi It shouldn't matter when we decrement the refcount during the walk as long as we do it exactly once. Restructure d_genocide() to do the killing on entering the dentry instead of when leaving it. This helps creating a common helper for tree walking. Signed-off-by: Miklos

Re: [PATCH 1/3] kconfig: do not special-case 'MODULES' symbol

2013-09-05 Thread Michal Marek
On 3.9.2013 23:04, Yann E. MORIN wrote: > From: "Yann E. MORIN" > > Currently, the 'MODULES' symbol is hard-coded to be the default symbol > that enables/disables tristates, if no other symbol was declared with > 'option modules'. > > While this used to be needed for the Linux kernel, we now

Re: [PATCH RFC v2 01/16] ARM: call clk_of_init from time_init

2013-09-05 Thread Arnd Bergmann
On Wednesday 04 September 2013, Sören Brinkmann wrote: > On Wed, Sep 04, 2013 at 10:52:09PM +0200, Sebastian Hesselbarth wrote: > > On 09/04/2013 10:41 PM, Sören Brinkmann wrote: > > Anyways, having a custom .init_time gives you full control over > > of_clk_init and clocksource_of_init back again

[PATCH] parisc: Export flush_cache_page() (needed by lustre)

2013-09-05 Thread Geert Uytterhoeven
ERROR: "flush_cache_page" [drivers/staging/lustre/lustre/libcfs/libcfs.ko] undefined! Signed-off-by: Geert Uytterhoeven --- arch/parisc/kernel/cache.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/parisc/kernel/cache.c b/arch/parisc/kernel/cache.c index c035673..b521c0a 100644

Re: [PATCH] can: pcan_usb_core: fix memory leak on failure paths in peak_usb_start()

2013-09-05 Thread Marc Kleine-Budde
Added Stephane to Cc. On 09/04/2013 11:46 PM, Alexey Khoroshilov wrote: > Tx and rx urbs are not deallocated if something goes wrong in > peak_usb_start(). > The patch fixes error handling to deallocate all the resources. > > Found by Linux Driver Verification project (linuxtesting.org). > >

linux-next: Tree for Sep 5

2013-09-05 Thread Stephen Rothwell
Hi all, Please do not add any code for v3.13 to your linux-next included branches until after v3.12-rc1 is released. Changes since 20130904: The arm tree lost its build failure. The h8300-remove tree gained a conflict against the net tree. The vfs tree gained conflicts against the aio-direct

[PATCH 2/6] GFS2: Take glock reference in examine_bucket()

2013-09-05 Thread Steven Whitehouse
We need to check the glock ref counter in a race free way in order to ensure that the gfs2_glock_hold() call will succeed. The easiest way to do that is to simply take the reference count early in the common code of examine_bucket, skipping any glocks with zero ref count. That means that the

[PATCH 5/6] GFS2: Don't flag consistency error if first mounter is a spectator

2013-09-05 Thread Steven Whitehouse
From: Bob Peterson This patch checks for the first mounter being a specator. If so, it makes sure all the journals are clean. If there's a dirty journal, the mount fails. Testing results: # insmod gfs2.ko # mount -tgfs2 -o spectator /dev/sasdrives/scratch /mnt/gfs2 mount: permission denied #

[PATCH 1/6] GFS2: Move gfs2_sync_meta to lops.c

2013-09-05 Thread Steven Whitehouse
Since gfs2_sync_meta() is only called from a single file, lets move it to lops.c where it is used, and mark it static. At the same time, we can clean up the meta_io.h header too. Signed-off-by: Steven Whitehouse diff --git a/fs/gfs2/lops.c b/fs/gfs2/lops.c index 17c5b5d..010b9fb 100644 ---

GFS2 Pre-pull patch posting (merge window)

2013-09-05 Thread Steven Whitehouse
Hi, This is the smallest merge window patch set for GFS2 for quite some time. Only one of the patches (moving gfs2_sync_meta) is a non-bug fix patch, although the merge ordered and writeback writepage patch is also a nice clean up. A couple of the patches are quite recently added, due to my only

[PATCH 6/6] GFS2: dirty inode correctly in gfs2_write_end

2013-09-05 Thread Steven Whitehouse
From: Benjamin Marzinski GFS2 was only setting I_DIRTY_DATASYNC on files that it wrote to, when it actually increased the file size. If gfs2_fsync was called without I_DIRTY_DATASYNC set, it didn't flush the incore data to the log before returning, so any metadata or journaled data changes were

[PATCH 4/6] GFS2: Remove unnecessary memory barrier

2013-09-05 Thread Steven Whitehouse
From: Bob Peterson Function test_and_clear_bit implies a memory barrier, so subsequent memory barriers are unnecessary. Signed-off-by: Bob Peterson Signed-off-by: Steven Whitehouse diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index ce7078d..722329c 100644 --- a/fs/gfs2/glock.c +++

[PATCH 3/6] GFS2: Merge ordered and writeback writepage

2013-09-05 Thread Steven Whitehouse
The writepages function was recently merged between writeback and ordered mode. This completes the change by doing the same with writepage. The remaining differences in writepage were left over from some earlier time and not actually doing anything useful. Signed-off-by: Steven Whitehouse diff

Re: [PATCH 05/11] memblock: Introduce allocation order to memblock.

2013-09-05 Thread Tang Chen
Hi Wanpeng, On 09/05/2013 05:16 PM, Wanpeng Li wrote: .. +/* Allocation order. */ How about replace "Allocation order" by "Allocation sequence". The "Allocation order" is ambiguity. Yes, order is ambiguity. But as tj suggested, I think maybe "direction" is better. Thanks. :) -- To

[PATCH] MIPS: Export copy_from_user_page() (needed by lustre)

2013-09-05 Thread Geert Uytterhoeven
ERROR: "copy_from_user_page" [drivers/staging/lustre/lustre/libcfs/libcfs.ko] undefined! Signed-off-by: Geert Uytterhoeven --- arch/mips/mm/init.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/mm/init.c b/arch/mips/mm/init.c index 4e73f10..e205ef5 100644 ---

[PATCH v2] sparc64: Export flush_ptrace_access() (needed by lustre)

2013-09-05 Thread Geert Uytterhoeven
ERROR: "flush_ptrace_access" [drivers/staging/lustre/lustre/libcfs/libcfs.ko] undefined! Signed-off-by: Geert Uytterhoeven --- v2: Use EXPORT_SYMBOL_GPL instead of EXPORT_SYMBOL arch/sparc/kernel/ptrace_64.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/sparc/kernel/ptrace_64.c

Re: [PATCH 1/2] hugetlbfs: support split page table lock

2013-09-05 Thread Aneesh Kumar K.V
Naoya Horiguchi writes: > Hi Aneesh, > > On Wed, Sep 04, 2013 at 12:43:19PM +0530, Aneesh Kumar K.V wrote: >> Naoya Horiguchi writes: >> >> > Currently all of page table handling by hugetlbfs code are done under >> > mm->page_table_lock. So when a process have many threads and they heavily >>

[PATCHv2] perf tools: Separate progress bar update when processing events

2013-09-05 Thread Jiri Olsa
On Wed, Sep 04, 2013 at 10:47:22AM -0600, David Ahern wrote: > On 9/4/13 10:27 AM, Jiri Olsa wrote: SNIP > >index 1fc0c62..4df449c 100644 > >--- a/tools/perf/util/session.c > >+++ b/tools/perf/util/session.c > >@@ -495,7 +495,7 @@ static int perf_session_deliver_event(struct > >perf_session

Re: [patch 0/7] improve memcg oom killer robustness v2

2013-09-05 Thread azurIt
>> >[...] >> >> My script has just detected (and killed) another freezed cgroup. I >> >> must say that i'm not 100% sure that cgroup was really freezed but it >> >> has 99% or more memory usage for at least 30 seconds (well, or it has >> >> 99% memory usage in both two cases the script was

[PATCH] perf tools: Clarify error when running "perf lock record"

2013-09-05 Thread Rodrigo Campos
If you have the config options enabled in your kernel, you still need to be root to run perf lock. And is kind of misleading when you have that options enabled and the error says that they might not be. So, this patch just adds to the error that it should be run as root. Although we can probably

Re: [PATCH RESEND] HID: New hid-cp2112 driver.

2013-09-05 Thread David Herrmann
Hi On Tue, Sep 3, 2013 at 11:51 PM, David Barksdale wrote: > On 08/29/2013 11:43 AM, David Herrmann wrote: >> >> Hi >> >> On Tue, Aug 27, 2013 at 5:01 PM, David Barksdale >> wrote: >>> >>> This patch adds support for the Silicon Labs CP2112 >>> "Single-Chip HID USB to SMBus Master Bridge." >>>

Re: [PATCH 02/10] vfs: check submounts and drop atomically

2013-09-05 Thread Miklos Szeredi
On Wed, Sep 4, 2013 at 7:58 PM, Al Viro wrote: > On Wed, Sep 04, 2013 at 04:05:48PM +0200, Miklos Szeredi wrote: > >> +static void check_and_drop(void *_data, struct dentry *dentry) >> +{ >> + struct select_data *data = _data; >> + >> + /* We're only interested in the root of this subtree

[PATCH] mm: use populated_zone() instead of if(zone->present_pages)

2013-09-05 Thread Xishi Qiu
Use "if (zone->present_pages)" instead of "if (zone->present_pages)". Simplify the code, no functional change. Signed-off-by: Xishi Qiu --- mm/page_alloc.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index b100255..30ef67c 100644

[PATCH] sparc64: Export flush_ptrace_access() (needed by lustre)

2013-09-05 Thread Geert Uytterhoeven
ERROR: "flush_ptrace_access" [drivers/staging/lustre/lustre/libcfs/libcfs.ko] undefined! Signed-off-by: Geert Uytterhoeven --- arch/sparc/kernel/ptrace_64.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/sparc/kernel/ptrace_64.c b/arch/sparc/kernel/ptrace_64.c index

[PULL REQUEST] i2c for 3.12

2013-09-05 Thread Wolfram Sang
Linus, please pull the changes from the I2C subsystem for the 3.12 release. Highlights: * OF and ACPI helpers are now included in the core, and not in external files anymore. This removes dependency problems for modules and is cleaner, in general. * mv64xxx-driver gains fifo usage to support

Re: [PATCH 00/11] x86, memblock: Allocate memory near kernel image before SRAT parsed.

2013-09-05 Thread Tang Chen
Hi tj, On 09/05/2013 03:22 AM, Tejun Heo wrote: .. I'm expectedly happier with this approach but some overall review points. * I think patch splitting went a bit too far. e.g. it doesn't make much sense or helps anything to split "introduction of a param" from "the param doing

linux-next: manual merge of the akpm tree with the vfs tree

2013-09-05 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in include/linux/fs.h between commit 7b7a8665edd8 ("direct-io: Implement generic deferred AIO completions") from the vfs tree and commit "dcache: convert to use new lru list infrastructure" from the akpm tree. I fixed it up (see

Re: [PATCH] video/drm: Drop superfluous "select VT_HW_CONSOLE_BINDING"

2013-09-05 Thread David Herrmann
Hi On Thu, Sep 5, 2013 at 10:20 AM, Geert Uytterhoeven wrote: > commit 765d5b9c2b72f5b99722cdfcf4bf8f88c556cf92 ("fbdev: fbcon: select > VT_HW_CONSOLE_BINDING") made FRAMEBUFFER_CONSOLE always select > VT_HW_CONSOLE_BINDING, but forgot to remove > > select VT_HW_CONSOLE_BINDING if

Re: [PATCH 11/18] Hibernate: introduced RSA key-pair to verify signature of snapshot

2013-09-05 Thread Matt Fleming
On Thu, 22 Aug, at 07:01:50PM, Lee, Chun-Yi wrote: > +static int efi_status_to_err(efi_status_t status) > +{ > + int err; > + > + switch (status) { > + case EFI_INVALID_PARAMETER: > + err = -EINVAL; > + break; > + case EFI_OUT_OF_RESOURCES: > +

[PATCH] staging/lustre: Correct default for LUSTRE_TRANSLATE_ERRNOS

2013-09-05 Thread Geert Uytterhoeven
LUSTRE_TRANSLATE_ERRNOS is never enabled, a "true" is not a valid value. Use "default y" instead of "default true" to fix this. Signed-off-by: Geert Uytterhoeven --- drivers/staging/lustre/lustre/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v2] mm/thp: fix stale comments of transparent_hugepage_flags

2013-09-05 Thread Jianguo Wu
Hi Wanpeng, Thanks for your review, but this patch has minor format problem, please see below. Please review the resend one, thanks. Thanks, Jianguo Wu On 2013/9/5 16:09, Wanpeng Li wrote: > On Thu, Sep 05, 2013 at 03:57:47PM +0800, Jianguo Wu wrote: >> Changelog: >> *v1 -> v2: also update the

Re: [PATCH] mtd: bcm47xxsflash: the argument to kfree should not be the address of a structure field

2013-09-05 Thread David Woodhouse
On Thu, 2013-09-05 at 15:02 +0800, Duan Jiong wrote: > err_dev_reg: > - kfree(>mtd); > + kfree(b47s); > out: > return err; > } Thanks, but this is already fixed in linux-next, and will be going to Linus very shortly: http://git.infradead.org/linux-mtd.git/commitdiff/d2b1bd1422

Re: [PATCH 06/11] iio: pressure-core: st: Expand and rename LPS331AP's channel descriptor

2013-09-05 Thread Denis CIOCCA
Lee, I got your point. For me is ok... Denis > On Thu, 05 Sep 2013, Denis CIOCCA wrote: > > Due to the MACRO used, the task of reading, understanding and maintaining > the LPS331AP's channel descriptor is substantially difficult. This patch > is based on the view that it's better to

[PATCH] scsi: Add printk to detect retry loop

2013-09-05 Thread Eiichi Tsukata
Currently, scsi error handling in scsi_decide_disposition() unconditionally retries on some errors. This is because retriable errors are thought to be temporary and the scsi device will soon recover from those errors. But there is no guarantee that the device is able to recover from error state

[PATCH] scsi: Add printk to detect retry loop

2013-09-05 Thread Eiichi Tsukata
Hello, This patch is to avoid indefinite command retry loop. The previous RFC patch is here: http://marc.info/?t=13769053762=1=3 In the previous discuss, James says that once retry loop is detected, whether or not to panic(offline) should be decided by user, and not in scsi subsystem. So we

Re: [PATCH V3 11/11] Add option to automatically enforce module signatures when in Secure Boot mode

2013-09-05 Thread joeyli
於 二,2013-09-03 於 19:50 -0400,Matthew Garrett 提到: > UEFI Secure Boot provides a mechanism for ensuring that the firmware will > only load signed bootloaders and kernels. Certain use cases may also > require that all kernel modules also be signed. Add a configuration option > that enforces this

[PATCH] video/drm: Drop superfluous "select VT_HW_CONSOLE_BINDING"

2013-09-05 Thread Geert Uytterhoeven
commit 765d5b9c2b72f5b99722cdfcf4bf8f88c556cf92 ("fbdev: fbcon: select VT_HW_CONSOLE_BINDING") made FRAMEBUFFER_CONSOLE always select VT_HW_CONSOLE_BINDING, but forgot to remove select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE from the individual drivers' sections that already did

RE: [PATCH v4 3/3] dma: Add Freescale eDMA engine driver support

2013-09-05 Thread Lu Jingchang-B35083
> -Original Message- > From: Vinod Koul [mailto:vinod.k...@intel.com] > Sent: Tuesday, September 03, 2013 7:32 PM > To: Lu Jingchang-B35083 > Cc: shawn@linaro.org; linux-kernel@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; devicet...@vger.kernel.org > Subject: Re: [PATCH v4

Re: [PATCH] HID: roccat: MAINTAINERS: Adding Roccat drivers 2nd try

2013-09-05 Thread Jiri Kosina
On Thu, 5 Sep 2013, Stefan Achatz wrote: > Adding maintainer for Roccat hid drivers > > I sent this patch some weeks ago, seemingly unnoticed. > Maybe I have more luck via Jiri's hid repo. > > Signed-off-by: Stefan Achatz > --- > MAINTAINERS |8 > 1 files changed, 8

Re: [PATCH v2] efifb: prevent null dereferences by removing unused array indices from dmi_list

2013-09-05 Thread Tomi Valkeinen
Hi James, Can you resend this? I don't know how I could apply the patch from this mail without re-creating it manually. Tomi On 16/08/13 23:19, James Bates wrote: > On Fri, 2013-08-16 at 15:37 +0200, David Herrmann wrote: >> Hi >> (CC'ing hpa) >> >> Yepp, this patch looks good: >> Reviewed-by:

Awaiting your urgent and favorable response!

2013-09-05 Thread Larry Williams
Regards, Larry Williams. Mr. Larry Williams..pdf Description: Adobe PDF document

[PATCH 2/2] mm: use pgdat_end_pfn() to simplify the code in others

2013-09-05 Thread Xishi Qiu
Use "pgdat_end_pfn()" instead of "pgdat->node_start_pfn + pgdat->node_spanned_pages". Simplify the code, no functional change. Signed-off-by: Xishi Qiu --- fs/proc/kcore.c |3 +-- mm/bootmem.c|2 +- mm/memory_hotplug.c |9 - 3 files changed, 6 insertions(+), 8

[GIT PULL] f2fs updates for v3.12

2013-09-05 Thread Jaegeuk Kim
Hi Linus, Here is the pull request on f2fs updates for v3.12. This patch-set includes several enhancements such as inline-xattrs, sysfs, proc entry, and performance improvement at worst case scenarios. It also includes some bug fixes. Thank you very much. The following changes since commit

[PATCH 1/2] mm: use pgdat_end_pfn() to simplify the code in arch

2013-09-05 Thread Xishi Qiu
Use "pgdat_end_pfn()" instead of "pgdat->node_start_pfn + pgdat->node_spanned_pages". Simplify the code, no functional change. Signed-off-by: Xishi Qiu --- arch/ia64/mm/init.c|4 +--- arch/metag/mm/init.c |2 +- arch/powerpc/mm/numa.c |3 +-- arch/sh/mm/init.c |2 +-

[PATCH v2][RESEND] mm/thp: fix stale comments of transparent_hugepage_flags

2013-09-05 Thread Jianguo Wu
Changelog: *v1 -> v2: also update the stale comments about default transparent hugepage support pointed by Wanpeng Li. Since commit 13ece886d9(thp: transparent hugepage config choice), transparent hugepage support is disabled by default, and TRANSPARENT_HUGEPAGE_ALWAYS is configured when

Re: [PATCHv7 2/2] ARM: sunxi: dt: Add sunxi-sid to dts for sun4i, sun5i and sun7i

2013-09-05 Thread Maxime Ripard
Hi Oliver, On Tue, Sep 03, 2013 at 12:33:28PM +0200, oliver+l...@schinagl.nl wrote: > From: Oliver Schinagl > > This patch shall add support for the sunxi-sid driver to the device > tree for A10, A10s, A13 and A20. > > Signed-off-by: Oliver Schinagl Merged in my sunxi/dt-for-3.13 branch.

Re: [GIT PULL] fbdev changes for 3.12

2013-09-05 Thread Tomi Valkeinen
On 05/09/13 10:48, David Herrmann wrote: >> There's a conflict in drivers/video/simplefb.c, which you can resolve by >> using >> the version in your tree. > > No, both need to be merged. The current version lacks support for > ABGR. The fbdev tree lacks the DRM format, which should be: >

[PATCH v2 5/6] PCI: use pci_is_pcie() to simplify code

2013-09-05 Thread Yijing Wang
Use pci_is_pcie() instead of pci_find_capability to simplify code. Signed-off-by: Yijing Wang --- drivers/pci/probe.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index eeb50bd..0fa9075 100644 --- a/drivers/pci/probe.c +++

Re: [PATCH 06/11] iio: pressure-core: st: Expand and rename LPS331AP's channel descriptor

2013-09-05 Thread Lee Jones
On Thu, 05 Sep 2013, Denis CIOCCA wrote: > > >>> Due to the MACRO used, the task of reading, understanding and maintaining > >>> the LPS331AP's channel descriptor is substantially difficult. This patch > >>> is based on the view that it's better to have easy to read, maintainable > >>> code than

[PATCH v2 6/6] scsi/qla2xxx: use pcie_is_pcie() to simplify code

2013-09-05 Thread Yijing Wang
Use pci_is_pcie() instead of pci_find_capability to simplify code. Acked-by: Chad Dupuis Signed-off-by: Yijing Wang Cc: Andrew Vasquez Cc: linux-dri...@qlogic.com Cc: "James E.J. Bottomley" Cc: linux-s...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- drivers/scsi/qla2xxx/qla_mr.c |

[PATCH v2 3/6] powerpc/pci: use pci_is_pcie() to simplify code

2013-09-05 Thread Yijing Wang
Use pci_is_pcie() to simplify code. Acked-by: Kumar Gala Reviewed-by: Gavin Shan Signed-off-by: Yijing Wang Cc: Gavin Shan Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-...@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org --- arch/powerpc/kernel/eeh.c |3 +--

[PATCH v2] mm/thp: fix stale comments of transparent_hugepage_flags

2013-09-05 Thread Jianguo Wu
Changelog: *v1 -> v2: also update the stale comments about default transparent hugepage support pointed by Wanpeng Li. Since commit 13ece886d9(thp: transparent hugepage config choice), transparent hugepage support is disabled by default, and TRANSPARENT_HUGEPAGE_ALWAYS is configured when

[PATCH v2 2/6] scsi/csiostor: use pcie_capability_xxx to simplify code

2013-09-05 Thread Yijing Wang
v1->v2: add #define for Completion Timeout Value, and use pcie_capability_clear_and_set_word() instead suggested by Bjorn. Pcie_capability_xxx() interfaces were introduced to simplify code to access PCIe Cap config space. And because PCI core saves the PCIe Cap offset in

[PATCH v2 1/6] scsi/bfa: use pcie_set/get_readrq to simplify code

2013-09-05 Thread Yijing Wang
v1->v2: use pcie_get/set_readrq to simplify code a lot suggestd by Bjorn. Use pcie_get_readrq()/pcie_set_readrq() to simplify code. Signed-off-by: Yijing Wang Cc: Jiang Liu Cc: Anil Gurumurthy Cc: Vijaya Mohan Guvva Cc: "James E.J. Bottomley" Cc: linux-s...@vger.kernel.org Cc:

[PATCH v2 4/6] x86/pci: use pcie_cap to simplify code

2013-09-05 Thread Yijing Wang
v1->v2: use pci_bus_set_ops to replace pci_ops and add a dev_info() to notify user that the pci_ops was replaced suggested by Bjorn. PCI core saves PCIe Cap offset in pcie_cap, use pcie_cap to simplify code. Also we should use pci_bus_set_ops() to replace pci_ops for safety and

Re: [GIT PULL] fbdev changes for 3.12

2013-09-05 Thread Stephen Rothwell
Hi Linus, On Thu, 5 Sep 2013 09:48:18 +0200 David Herrmann wrote: > > On Thu, Sep 5, 2013 at 8:48 AM, Tomi Valkeinen wrote: > > > > Here are the fbdev changes for 3.12. > > > > There's a conflict in drivers/video/simplefb.c, which you can resolve by > > using > > the version in your tree. > >

Re: [GIT PULL] fbdev changes for 3.12

2013-09-05 Thread David Herrmann
Hi Tomi On Thu, Sep 5, 2013 at 8:48 AM, Tomi Valkeinen wrote: > Hi Linus, > > Here are the fbdev changes for 3.12. > > There's a conflict in drivers/video/simplefb.c, which you can resolve by using > the version in your tree. No, both need to be merged. The current version lacks support for

Re: RFD: Non-Disruptive Core Dump Infrastructure

2013-09-05 Thread Janani Venkataraman
On 09/04/2013 05:03 PM, Pavel Emelyanov wrote: On 09/04/2013 02:53 PM, Janani Venkataraman wrote: On 09/03/2013 04:24 PM, Pavel Emelyanov wrote: On 09/03/2013 02:47 PM, Janani Venkataraman wrote: On 09/03/2013 04:01 PM, Pavel Emelyanov wrote: On 09/03/2013 12:39 PM, Janani Venkataraman

Re: [Xen-devel] [PATCH] net/core: Order-3 frag allocator causes SWIOTLB bouncing under Xen

2013-09-05 Thread Ian Campbell
On Wed, 2013-09-04 at 17:11 -0400, Konrad Rzeszutek Wilk wrote: > On Wed, Sep 04, 2013 at 02:00:40PM -0700, Eric Dumazet wrote: > > Maybe you could add proper infrastructure to deal with Xen limitations. > > I think Ian posted at some point an sysctl patch for that (more for > debugging that

Re: [PATCH 05/11] iio: pressure-core: st: Describe LPS331AP defines by name

2013-09-05 Thread Lee Jones
> > They're currently named *_1_*, for 'Sensor 1', but the code will be much > > more readable if we use the naming convention *_LPS331AP_* instead. > You are right, but the reason is to maintain the same structure of the > other sensors drivers (like accel, gyro and magn). Often some sensors >

Re: [PATCH 2/7] scsi/csiostor: use pcie_capability_xxx to simplify code

2013-09-05 Thread Yijing Wang
On 2013/9/4 7:43, Bjorn Helgaas wrote: > On Tue, Sep 03, 2013 at 03:35:10PM +0800, Yijing Wang wrote: >> Pcie_capability_xxx() interfaces were introudced to > > s/introudced/introduced/ Will update it. > >> simplify code to access PCIe Cap config space. And >> because PCI core saves the PCIe

Re: [PATCH] clocksource: em_sti: Set cpu_possible_mask to fix SMP broadcast

2013-09-05 Thread Simon Horman
On Wed, Sep 04, 2013 at 09:29:53AM -0700, Stephen Boyd wrote: > On 09/04/13 01:44, Daniel Lezcano wrote: > > > >> On Wed, Sep 04, 2013 at 05:01:51PM +0900, Magnus Damm wrote: > >>> From: Magnus Damm > >>> > >>> Update the STI driver by setting cpu_possible_mask to make EMEV2 > >>> SMP work as

Re: linux-next: manual merge of the net-next tree with Linus' tree

2013-09-05 Thread Daniel Borkmann
On 09/05/2013 07:19 AM, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the net-next tree got a conflict in net/bridge/br_multicast.c between commit 2d98c29b6fb3 ("net: bridge: convert MLDv2 Query MRC into msecs_to_jiffies for max_delay") from Linus' tree and commit e3f5b17047de

linux-next: bad commits in the drivers-x86 tree

2013-09-05 Thread Stephen Rothwell
Hi Matthew, Unfortunately, it looks like you cherry-picked (or somehow) managed to get copies of quite a few commits from Linus' tree into your tree. Maybe a failed rebase? This has been causing conflicts in linux-next for the past couple of days and I am sure that Linus will not want to pull

Re: [PATCH 06/11] iio: pressure-core: st: Expand and rename LPS331AP's channel descriptor

2013-09-05 Thread Denis CIOCCA
>>> Due to the MACRO used, the task of reading, understanding and maintaining >>> the LPS331AP's channel descriptor is substantially difficult. This patch >>> is based on the view that it's better to have easy to read, maintainable >>> code than to save a few lines here and there. For that reason

Re: dvb-usb/technisat-usb2: Fix cut-n-paste thinko

2013-09-05 Thread Patrick Boettcher
Hi Dave, On Wednesday 04 September 2013 19:59:17 Dave Jones wrote: > This looks like it was cut and pasted from the code above which does > similar checks on txlen, but someone forgot to change the variable. This someone would be me. > Signed-off-by: Dave Jones > > diff --git

Re: [PATCH 4/5] uas: add dead request list

2013-09-05 Thread Oliver Neukum
On Mon, 2013-09-02 at 13:25 +0200, Gerd Hoffmann wrote: > +static void uas_zap_dead(struct uas_dev_info *devinfo) > +{ > + struct uas_cmd_info *cmdinfo; > + struct uas_cmd_info *temp; > + struct list_head list; > + unsigned long flags; > + > +

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