[PATCH] staging: unisys: visorbus: remove unnecessary poll_count logic

2016-03-30 Thread David Kershner
From: Tim Sell The use of poll_count is a vestige from long-ago testing, which is no longer needed. It is removed by this patch. Signed-off-by: Tim Sell Signed-off-by: David Kershner --- drivers/staging/unisys/visorbus/visorchipset.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/

Re: [PATCH v7 1/5] staging/android: add num_fences field to struct sync_file_info

2016-03-30 Thread Greg Kroah-Hartman
On Wed, Mar 30, 2016 at 11:53:38PM -0300, Gustavo Padovan wrote: > Hi Greg, > > 2016-03-30 Greg Kroah-Hartman : > > > On Thu, Mar 03, 2016 at 04:40:42PM -0300, Gustavo Padovan wrote: > > > From: Gustavo Padovan > > > > > > > > Gustavo, can you resend both series of your android patches so I k

Re: [PATCH v7 1/5] staging/android: add num_fences field to struct sync_file_info

2016-03-30 Thread Gustavo Padovan
Hi Greg, 2016-03-30 Greg Kroah-Hartman : > On Thu, Mar 03, 2016 at 04:40:42PM -0300, Gustavo Padovan wrote: > > From: Gustavo Padovan > > > > Gustavo, can you resend both series of your android patches so I know I > have the latest ones to work with? Please also collect the acks that > peopl

Re: [PATCH] android: lmk: add swap pte pmd in tasksize

2016-03-30 Thread Greg KH
On Mon, Mar 14, 2016 at 09:26:00AM +0800, Chen Feng wrote: > Hi greg, > > On 2016/3/12 1:12, Greg KH wrote: > > On Fri, Mar 11, 2016 at 05:05:45PM +0800, Chen Feng wrote: > >> > >> > >> On 2016/3/11 15:30, yalin wang wrote: > >>> > On Mar 11, 2016, at 15:23, Lu Bing wrote: > > From

Re: [PATCH] android: lmk: add swap pte pmd in tasksize

2016-03-30 Thread Greg KH
On Fri, Mar 11, 2016 at 03:23:52PM +0800, Lu Bing wrote: > From: l00215322 I need a name here, not a number, for an author. Please resend in the proper format, so it can be applied. thanks, greg k-h ___ devel mailing list de...@linuxdriverproject.org

Re: [PATCH v7 1/5] staging/android: add num_fences field to struct sync_file_info

2016-03-30 Thread Greg Kroah-Hartman
On Thu, Mar 03, 2016 at 04:40:42PM -0300, Gustavo Padovan wrote: > From: Gustavo Padovan Gustavo, can you resend both series of your android patches so I know I have the latest ones to work with? Please also collect the acks that people have provided so far. thanks, greg k-h

[PATCH] staging: unisys: remove wmb() in visordriver_remove_device

2016-03-30 Thread David Kershner
Don't need to have a wmb() in visordriver_remove_device. Also removed an unnecessary check for drv being null. Signed-off-by: David Kershner --- drivers/staging/unisys/visorbus/visorbus_main.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/staging/unisy

[PATCH v2 21/46] staging/lustre/llite: clip page correctly for vvp_io_commit_sync

2016-03-30 Thread green
From: Jinshan Xiong The original code was wrong which clipped page incorrectly for partial pages started with zero. Signed-off-by: Jinshan Xiong Reviewed-on: http://review.whamcloud.com/8531 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4201 Reviewed-by: Andreas Dilger Reviewed-by: wangd

[PATCH v2 28/46] staging/lustre/llite: rename ccc_lock to vvp_lock

2016-03-30 Thread green
From: "John L. Hammond" Rename struct ccc_lock to struct vvp_lock and merge the CCC lock methods into the VVP lock methods. Signed-off-by: John L. Hammond Reviewed-on: http://review.whamcloud.com/13088 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5971 Reviewed-by: James Simmons Reviewed

[PATCH v2 11/46] staging/lustre/clio: remove stackable cl_page completely

2016-03-30 Thread green
From: Jinshan Xiong >From now on, cl_page becomes one to one mapping of vmpage. Signed-off-by: Jinshan Xiong Reviewed-on: http://review.whamcloud.com/7895 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3321 Reviewed-by: Bobi Jam Reviewed-by: Lai Siyao Signed-off-by: Oleg Drokin --- dri

[PATCH v2 45/46] staging/lustre/ldlm: Solve a race for LRU lock cancel

2016-03-30 Thread green
From: Vitaly Fertman This patch solves a race condition that the lock may be used again after LRU cancellation policy check. In that case, the lock may have locked or dirty pages that makes the policy check totally useless. The problem is solved by checking l_last_used at cancellation time theref

[PATCH v2 44/46] staging/lustre: Fix spacing style before open parenthesis

2016-03-30 Thread green
From: Oleg Drokin This fixes the remaining occurences of checkpatch warnings of the form of WARNING: space prohibited between function name and open parenthesis '(' Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lu_object.h | 64 +++--- .../lustre/lustre/

[PATCH v2 46/46] staging/lustre: lov_io_init() should return error code

2016-03-30 Thread green
From: Bobi Jam lov_io_init_empty/release() should returns error code instead of true on error case. Fault IO needs to handle restart in the case of accessing HSM released file Signed-off-by: Bobi Jam Reviewed-on: http://review.whamcloud.com/17240 Intel-bug-id: https://jira.hpdd.intel.com/brows

[PATCH v2 42/46] staging/lustre/ldlm: revert changes to ldlm_cancel_aged_policy()

2016-03-30 Thread green
From: Niu Yawei The changes to ldlm_cancel_aged_policy() introduced from LU-4300 was incorrect. This patch revert this part of changes. Signed-off-by: Niu Yawei Reviewed-on: http://review.whamcloud.com/12448 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5727 Reviewed-by: Bobi Jam Reviewe

[PATCH v2 43/46] staging/lustre/ldlm: restore the ELC for enqueue

2016-03-30 Thread green
From: Vitaly Fertman after LU-4300 enqueue does not ELC anymore, however if enqueue is agressive (ls -la of a large dir) we may exceed lru-resize limit quickly because LRUR shrinker and recalc are called not so often. ELC is to be restored in enqueue. ELC also should check for the lock weight, i

[PATCH v2 39/46] staging/lustre/llite: Move several declarations to llite_internal.h

2016-03-30 Thread green
From: John Hammond Move several declarations between llite_internal.h and vvp_internal.h with the goal of reserving the latter header for functions that pertain to vvp_{device,object,page,...}. Signed-off-by: John L. Hammond Signed-off-by: Jinshan Xiong Reviewed-on: http://review.whamcloud.com

[PATCH v2 40/46] staging/lustre/llite: Remove unused vui_local_lock field

2016-03-30 Thread green
From: Oleg Drokin vvp_io_setattr_lock is the only user that sets it, but it's never checked anywhere, so could go away. Also get rid of enum ccc_setattr_lock_type that becomes unused. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/llite/vvp_internal.h | 12 drivers/s

[PATCH v2 41/46] staging/lustre/ldlm: ELC picks locks in a safer policy

2016-03-30 Thread green
From: Jinshan Xiong Change the policy of ELC to pick locks that have no dirty pages, no page in writeback state, and no locked pages. Signed-off-by: Jinshan Xiong Reviewed-on: http://review.whamcloud.com/9175 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4300 Reviewed-by: Andreas Dilger

[PATCH v2 09/46] staging/lustre/clio: add pages into writeback cache in batches

2016-03-30 Thread green
From: Jinshan Xiong in ll_write_end(), instead of adding the page into writeback cache directly, it will be held in a page list. After enough pages have been collected, issue them all with cio_commit_async(). Signed-off-by: Jinshan Xiong Reviewed-on: http://review.whamcloud.com/7893 Intel-bug-i

[PATCH v2 38/46] staging/lustre/llite: Move ll_dirent_type_get and make it static

2016-03-30 Thread green
From: Oleg Drokin ll_dirent_type_get is only used in one place in llite/dir.c, so move it there. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/llite/dir.c | 22 ++ drivers/staging/lustre/lustre/llite/lcommon_cl.c | 22 -- driver

[PATCH v2 37/46] staging/lustre/llite: Remove ccc_global_{init, fini}()

2016-03-30 Thread green
From: John Hammond Merge their contents into vvp_global_{init,fini}() and {init,exit}_lustre_lite(). Rename ccc_inode_fini_* to cl_inode_fini_*. Signed-off-by: John L. Hammond Signed-off-by: Jinshan Xiong Reviewed-on: http://review.whamcloud.com/13714 Intel-bug-id: https://jira.hpdd.intel.com/

[PATCH v2 36/46] staging/lustre/llite: rename struct ccc_thread_info to vvp_thread_info

2016-03-30 Thread green
From: John Hammond struct ccc_thread_info is used in the VVP parts of llite so rename it struct vvp_thread_info. Rename supporting functions accordingly. Move init code from lcommon_cl.c to vvp_dev.c Signed-off-by: John L. Hammond Signed-off-by: Jinshan Xiong Reviewed-on: http://review.whamclo

[PATCH v2 26/46] staging/lustre/llite: rename ccc_object to vvp_object

2016-03-30 Thread green
From: "John L. Hammond" Rename struct ccc_object to struct vvp_object and merge the CCC object methods into the VVP object methods. Signed-off-by: John L. Hammond Reviewed-on: http://review.whamcloud.com/13077 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5971 Reviewed-by: James Simmons

[PATCH v2 34/46] staging/lustre/llite: Rename struct ccc_grouplock to ll_grouplock

2016-03-30 Thread green
From: John Hammond And move the definition from vvp_internal.h to llite_internal.h. Signed-off-by: John L. Hammond Signed-off-by: Jinshan Xiong Reviewed-on: http://review.whamcloud.com/13714 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5971 Reviewed-by: Bobi Jam Reviewed-by: James Simm

[PATCH v2 29/46] staging/lustre:llite: remove struct ll_ra_read

2016-03-30 Thread green
From: "John L. Hammond" Ever since removal of the the unused function ll_ra_read_get(), the struct ll_ra_read members lrr_reader and lrr_linkage and the struct ll_readahead_state member ras_read_beads unnecessary so remove them. In struct vvp_io replace the struct ll_ra_read cui_bead member with

[PATCH v2 32/46] staging/lustre/llite: move vvp_io functions to vvp_io.c

2016-03-30 Thread green
From: "John L. Hammond" Move all vvp_io related functions from lustre/llite/lcommon_cl.c to the sole file where they are used lustre/llite/vvp_io.c. Signed-off-by: John L. Hammond Reviewed-on: http://review.whamcloud.com/13376 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5971 Reviewed-by

[PATCH v2 35/46] staging/lustre/llite: Rename struct vvp_thread_info to ll_thread_info

2016-03-30 Thread green
From: John Hammond struct vvp_thread_info is used in the non-VVP parts of llite so rename it struct ll_thread_info. Rename supporting functions accordingly. Signed-off-by: John L. Hammond Signed-off-by: Jinshan Xiong Reviewed-on: http://review.whamcloud.com/13714 Intel-bug-id: https://jira.hpd

[PATCH v2 30/46] staging/lustre/llite: merge ccc_io and vvp_io

2016-03-30 Thread green
From: "John L. Hammond" Move the contents of struct vvp_io into struct ccc_io, delete the former, and rename the latter to struct vvp_io. Rename various ccc_io related functions to use vvp rather than ccc. Signed-off-by: John L. Hammond Reviewed-on: http://review.whamcloud.com/13351 Intel-bug-i

[PATCH v2 31/46] staging/lustre/llite: use vui prefix for struct vvp_io members

2016-03-30 Thread green
From: "John L. Hammond" Rename members of struct vvp_io to used to start with vui_ rather than cui_. Rename several instances of struct vvp_io * from cio to vio. Signed-off-by: John L. Hammond Reviewed-on: http://review.whamcloud.com/13363 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-59

[PATCH v2 33/46] staging/lustre/llite: rename ccc_req to vvp_req

2016-03-30 Thread green
From: "John L. Hammond" Rename struct ccc_req to struct vvp_req and move related functions from lustre/llite/lcommon_cl.c to the new file lustre/llite/vvp_req.c. Signed-off-by: John L. Hammond Reviewed-on: http://review.whamcloud.com/13377 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-597

[PATCH v2 27/46] staging/lustre/llite: rename ccc_page to vvp_page

2016-03-30 Thread green
From: "John L. Hammond" Rename struct ccc_page to struct vvp_page and remove obsolete CCC page methods. Signed-off-by: John L. Hammond Reviewed-on: http://review.whamcloud.com/13086 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5971 Reviewed-by: James Simmons Reviewed-by: Jinshan Xiong

[PATCH v2 24/46] staging/lustre/llite: merge lclient.h into llite/vvp_internal.h

2016-03-30 Thread green
From: "John L. Hammond" Move the definition of struct cl_client_cache to lustre/include/cl_object.h and move the rest of lustre/include/lclient.h in to lustre/llite/vvp_internal.h. Signed-off-by: John L. Hammond Reviewed-on: http://review.whamcloud.com/12592 Intel-bug-id: https://jira.hpdd.inte

[PATCH v2 23/46] staging/lustre/llite: make sure we do cl_page_clip on the last page

2016-03-30 Thread green
From: Li Dongyang When we are doing a partial IO on both first and last page, the logic currently only call cl_page_clip on the first page, which will end up with a incorrect i_size. Signed-off-by: Li Dongyang Reviewed-on: http://review.whamcloud.com/11630 Intel-bug-id: https://jira.hpdd.intel.

[PATCH v2 25/46] staging/lustre/llite: rename ccc_device to vvp_device

2016-03-30 Thread green
From: "John L. Hammond" Rename struct ccc_device to struct vvp_device and merge the CCC device methods into the VVP device methods. Signed-off-by: John L. Hammond Reviewed-on: http://review.whamcloud.com/13075 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5971 Reviewed-by: Lai Siyao Revi

[PATCH v2 17/46] staging/lustre: Remove struct ll_iattr

2016-03-30 Thread green
From: Oleg Drokin This was a compat code from the time it had ia_attr_flags. Instead convert all the cryptic callers that did ((struct ll_iattr *)&op_data->op_attr)->ia_attr_flags into direct access to op_data->op_attr_flags This also makes lustre/include/linux/obd.h not needed anymore, so remov

[PATCH v2 15/46] staging/lustre/obd: remove struct client_obd_lock

2016-03-30 Thread green
From: "John L. Hammond" Remove the definition of struct client_obd_lock and the functions client_obd_list_{init,lock,unlock,done}(). Use spinlock_t for the cl_{loi,lru}_list_lock members of struct client_obd and call spin_{lock,unlock}() directly. Signed-off-by: John L. Hammond Signed-off-by: O

[PATCH v2 22/46] staging/lustre/llite: deadlock for page write

2016-03-30 Thread green
From: Jinshan Xiong Writing thread already locked page #1, and then wait for the Writeback bit of page #2; Ptlrpc thread is composing a write RPC, so it sets Writeback on page #2 and tries to lock page #1 to make it ready. Deadlocked. Signed-off-by: Jinshan Xiong Reviewed-on: http://review.wh

[PATCH v2 20/46] staging/lustre: update comments after cl_lock simplification

2016-03-30 Thread green
From: Bobi Jam Update comments to reflect current cl_lock situations. Signed-off-by: Bobi Jam Reviewed-on: http://review.whamcloud.com/13137 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6046 Reviewed-by: John L. Hammond Reviewed-by: Jinshan Xiong Signed-off-by: Oleg Drokin --- driver

[PATCH v2 18/46] staging/lustre/clio: generalize cl_sync_io

2016-03-30 Thread green
From: Jinshan Xiong To make cl_sync_io interfaces not just wait for pages, but to be a generic synchronization mechanism. Also remove cl_io_cancel that became not used. Signed-off-by: Jinshan Xiong Reviewed-on: http://review.whamcloud.com/8656 Intel-bug-id: https://jira.hpdd.intel.com/browse/L

[PATCH v2 13/46] staging/lustre/llite: remove lli_lvb

2016-03-30 Thread green
From: "John L. Hammond" In struct ll_inode_info remove the struct ost_lvb lli_lvb member and replace it with obd_time lli_{a,m,c}time. Rename ll_merge_lvb() to ll_merge_attr(). Remove cl_merge_lvb() and replace calls to it with calls to ll_merge_attr(). Signed-off-by: John L. Hammond Reviewed-o

[PATCH v2 14/46] staging/lustre/lmv: remove lmv_init_{lock,unlock}()

2016-03-30 Thread green
From: "John L. Hammond" In struct lmv_obd rename the init_mutex member to lmv_init_mutex. Remove the compat macros lmv_init_{lock,unlock}() and use mutex_{lock,unlock}(&lmv->lmv_init_mutex) instead. Signed-off-by: John L. Hammond Reviewed-on: http://review.whamcloud.com/12115 Intel-bug-id: http

[PATCH v2 12/46] staging/lustre/clio: optimize read ahead code

2016-03-30 Thread green
From: Jinshan Xiong It used to check each page in the readahead window is covered by a lock underneath, now cpo_page_is_under_lock() provides @max_index to help decide the maximum ra window. @max_index can be modified by OSC to extend the maximum lock region, to align stripe boundary at LOV, and

[PATCH v2 16/46] staging/lustre/llite: remove some cl wrappers

2016-03-30 Thread green
From: "John L. Hammond" In llite remove the wrapper functions and macros: cl_i2info() cl_i2sbi() cl_iattr2fd() cl_inode_info cl_inode_mode() cl_inode_{a,m,c}time() cl_isize_{read,write,write_nolock}() Signed-off-by: John L. Hammond Reviewed-on: http://review.whamcloud.com/12850 In

[PATCH v2 10/46] staging/lustre/osc: add weight function for DLM lock

2016-03-30 Thread green
From: Jinshan Xiong Use weigh_ast to decide if a lock covers any pages. In recovery, weigh_ast will be used to decide if a DLM read lock covers any locked pages, or it will be canceled instead being recovered. The problem with the original implementation is that it attached each osc_page to an o

[PATCH v2 03/46] staging/lustre: merge lclient/*.c into llite/

2016-03-30 Thread green
From: "John L. Hammond" Separate lclient was necessary to be shared between different client implementations, make no sense to have them separate in Linux kernel. Signed-off-by: John L. Hammond Based-on: http://review.whamcloud.com/10171 Signed-off-by: Oleg Drokin --- drivers/staging/lustre/l

[PATCH v2 07/46] staging/lustre/clio: collapse layer of cl_page

2016-03-30 Thread green
From: Jinshan Xiong Move radix tree to osc layer to for performance improvement. Signed-off-by: Jinshan Xiong Reviewed-on: http://review.whamcloud.com/7892 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3321 Reviewed-by: Lai Siyao Reviewed-by: Bobi Jam Signed-off-by: Oleg Drokin --- dr

[PATCH v2 08/46] staging/lustre/obdclass: Add a preallocated percpu cl_env

2016-03-30 Thread green
From: Jinshan Xiong This change adds support for a single preallocated cl_env per CPU which can be used in circumstances where reschedule is not possible. Currently this interface is only used by the ll_releasepage function. Signed-off-by: Jinshan Xiong Signed-off-by: Prakash Surya Reviewed-on

[PATCH v2 04/46] staging/lustre: Reintroduce global env list

2016-03-30 Thread green
From: Jinshan Xiong This reverts a patch that was merged before lustre client was introduced into the stagign tree, so it's not in the history. The performance dropped a lot when memory reclaim process kicked in as ll_releasepage() was called to destroy lustre pages. It turned out that big overh

[PATCH v2 02/46] staging/lustre: Get rid of CFS_PAGE_MASK

2016-03-30 Thread green
From: Oleg Drokin CFS_PAGE_MASK is the same as PAGE_MASK, so get rid of it. We are replacing it with PAGE_MASK instead of PAGE_CACHE_MASK because PAGE_CACHE_* stuff is apparently going away. Signed-off-by: Oleg Drokin --- .../lustre/include/linux/libcfs/linux/linux-mem.h | 1 - .../lustre/l

[PATCH v2 05/46] staging/lustre/osc: Adjustment on osc LRU for performance

2016-03-30 Thread green
From: Jinshan Xiong Add and discard pages from LRU in batch. Signed-off-by: Jinshan Xiong Reviewed-on: http://review.whamcloud.com/7890 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3321 Reviewed-by: Niu Yawei Reviewed-by: Lai Siyao Signed-off-by: Oleg Drokin --- drivers/staging/lustr

[PATCH v2 01/46] staging/lustre/obdclass: limit lu_site hash table size

2016-03-30 Thread green
From: Oleg Drokin Allocating a big hash table using the formula for osd does not really work for clients. We will create new hash table for each mount on a single client which is a lot of memory more than expected. This patch limits the hash table up to 8M which has 524288 entries Signed-off-by

[PATCH v2 06/46] staging/lustre/osc: to drop LRU pages with cl_lru_work

2016-03-30 Thread green
From: Jinshan Xiong This way we can drop it async. Signed-off-by: Jinshan Xiong Reviewed-on: http://review.whamcloud.com/7891 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3321 Reviewed-by: Lai Siyao Reviewed-by: Bobi Jam Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/in

[PATCH v2 00/46] Lustre IO stack simplifications and cleanups

2016-03-30 Thread green
From: Oleg Drokin v2 due to a compile error that was accidentally introduced in one of the patches. Also added a few more fixes and cleanups as three additional patches at the end of the series. This large body of patches mostly deals with Lustre IO stack simplifications and related cleanups. In

Re: [lustre-devel] [PATCH 35/43] staging/lustre/llite: Rename struct vvp_thread_info to ll_thread_info

2016-03-30 Thread Oleg Drokin
On Mar 30, 2016, at 7:13 PM, kbuild test robot wrote: > Hi John, > > [auto build test ERROR on staging/staging-testing] > [also build test ERROR on next-20160330] > [cannot apply to v4.6-rc1] > [if your patch is applied to the wrong git tree, please drop us a note to &g

Re: [PATCH 35/43] staging/lustre/llite: Rename struct vvp_thread_info to ll_thread_info

2016-03-30 Thread kbuild test robot
Hi John, [auto build test ERROR on staging/staging-testing] [also build test ERROR on next-20160330] [cannot apply to v4.6-rc1] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/green

[PATCH v2 7/7] drivers:hv: Separate out frame buffer logic when picking MMIO range

2016-03-30 Thread Jake Oshins
Simplify the logic that picks MMIO ranges by pulling out the logic related to trying to lay frame buffer claim on top of where the firmware placed the frame buffer. Signed-off-by: Jake Oshins --- drivers/hv/vmbus_drv.c | 79 ++ 1 file changed, 34 i

[PATCH v2 5/7] drivers:hv: Track allocations of children of hv_vmbus in private resource tree

2016-03-30 Thread Jake Oshins
This patch changes vmbus_allocate_mmio() and vmbus_free_mmio() so that when child paravirtual devices allocate memory-mapped I/O space, they allocate it privately from a resource tree pointed at by hyperv_mmio and also by the public resource tree iomem_resource. This allows the region to be marked

[PATCH v2 4/7] drivers:hv: Reverse order of resources in hyperv_mmio

2016-03-30 Thread Jake Oshins
A patch later in this series allocates child nodes in this resource tree. For that to work, this tree needs to be sorted in ascending order. Signed-off-by: Jake Oshins --- drivers/hv/vmbus_drv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/hv/vmbus_drv.c b/drive

[PATCH v2 6/7] drivers:hv: Record MMIO range in use by frame buffer

2016-03-30 Thread Jake Oshins
Later in the boot sequence, we need to figure out which memory ranges can be given out to various paravirtual drivers. The hyperv_fb driver should, ideally, be placed right on top of the frame buffer, without some other device getting plopped on top of this range in the meantime. Recording this n

[PATCH v2 3/7] drivers:hv: Use new vmbus_mmio_free() from client drivers.

2016-03-30 Thread Jake Oshins
This patch modifies all the callers of vmbus_mmio_allocate() to call vmbus_mmio_free() instead of release_mem_region(). Signed-off-by: Jake Oshins --- drivers/pci/host/pci-hyperv.c | 14 +++--- drivers/video/fbdev/hyperv_fb.c | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-)

[PATCH v2 1/7] drivers:hv: Lock access to hyperv_mmio resource tree

2016-03-30 Thread Jake Oshins
In existing code, this tree of resources is created in single-threaded code and never modified after it is created, and thus needs no locking. This patch introduces a semaphore for tree access, as other patches in this series introduce run-time modifications of this resource tree which can happen

[PATCH v2 0/7] drivers:hv: Ensure that bridge windows don't overlap

2016-03-30 Thread Jake Oshins
This series differs from v1 in that the last two patches have been modified to simplify the tracking of the frame buffer area during early boot, which is done so that other devices which may get probed and started first don't choose memory space that's in use by that frame buffer. Hyper-V VMs expo

[PATCH v2 2/7] drivers:hv: Make a function to free mmio regions through vmbus

2016-03-30 Thread Jake Oshins
This patch introduces a function that reverses everything done by vmbus_allocate_mmio(). Existing code just called release_mem_region(). Future patches in this series require a more complex sequence of actions, so this function is introduced to wrap those actions. Signed-off-by: Jake Oshins ---

Re: [PATCH] staging: comedi: c6xdigio: Prefer using the BIT macro

2016-03-30 Thread Ian Abbott
On 03/30/16 20:34, H Hartley Sweeten wrote: Fix the checkpatch.pl issues. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/c6xdigio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Thanks! Reviewed-by: Ian Abbott -- -

Re: [PATCH 0/2] staging: comedi: amplc_pci230: minor cleanup

2016-03-30 Thread Ian Abbott
On 03/30/16 20:19, H Hartley Sweeten wrote: Fix the checkpatch.pl issues. H Hartley Sweeten (2): staging: comedi: amplc_pci230: Prefer using the BIT macro staging: comedi: amplc_pci230: Prefer kernel type 'u64' over 'uint64_t' drivers/staging/comedi/drivers/amplc_pci230.c | 151

Re: [PATCH 0/3] staging: comedi: amplc_pci263: minor cleanup

2016-03-30 Thread Ian Abbott
On 03/30/16 19:45, H Hartley Sweeten wrote: Fix the checkpatch.pl issues and tidy up some aesthetic issues. H Hartley Sweeten (3): staging: comedi: amplc_pci263: fix block comments staging: comedi: amplc_pci263: tidy up digital output subdevice init staging: comedi: amplc_pci263: define

Re: [PATCH 0/3] staging: comedi: amplc_pci263: minor cleanup

2016-03-30 Thread Ian Abbott
On 03/30/16 19:51, Hartley Sweeten wrote: On Wednesday, March 30, 2016 11:50 AM, Ian Abbott wrote: On 30/03/16 19:45, H Hartley Sweeten wrote: Fix the checkpatch.pl issues and tidy up some aesthetic issues. H Hartley Sweeten (3): staging: comedi: amplc_pci263: fix block comments stagin

Re: [PATCH v5 21/50] mtd: nand: jz4740: switch to mtd_ooblayout_ops

2016-03-30 Thread Lars-Peter Clausen
On 03/30/2016 06:14 PM, Boris Brezillon wrote: > Implementing the mtd_ooblayout_ops interface is the new way of exposing > ECC/OOB layout to MTD users. > > Signed-off-by: Boris Brezillon Acked-by: Lars-Peter Clausen ___ devel mailing list de...@linuxdri

[PATCH] staging: comedi: c6xdigio: Prefer using the BIT macro

2016-03-30 Thread H Hartley Sweeten
Fix the checkpatch.pl issues. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/c6xdigio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/comedi/drivers/c6xdigio.c b/drivers/staging/comedi/drivers

[PATCH 0/2] staging: comedi: amplc_pci230: minor cleanup

2016-03-30 Thread H Hartley Sweeten
Fix the checkpatch.pl issues. H Hartley Sweeten (2): staging: comedi: amplc_pci230: Prefer using the BIT macro staging: comedi: amplc_pci230: Prefer kernel type 'u64' over 'uint64_t' drivers/staging/comedi/drivers/amplc_pci230.c | 151 ++ 1 file changed, 79 insertions

[PATCH 1/2] staging: comedi: amplc_pci230: Prefer using the BIT macro

2016-03-30 Thread H Hartley Sweeten
Fix the checkpatch.pl issues by using the BIT macro and defining some macros for the multi-bit fields. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/amplc_pci230.c | 141 ++ 1 file changed, 74 insertions(+), 67

[PATCH 2/2] staging: comedi: amplc_pci230: Prefer kernel type 'u64' over 'uint64_t'

2016-03-30 Thread H Hartley Sweeten
Fix the checkpatch.pl issues. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/amplc_pci230.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/comedi/drivers/amplc_pci230.c b/drivers/staging

[PATCH] staging: comedi: amplc_pci224: Prefer using the BIT macro

2016-03-30 Thread H Hartley Sweeten
Fix the checkpatch.pl issues by using the BIT macro and defining some macros for the multi-bit fields. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/amplc_pci224.c | 71 ++- 1 file changed, 38 insertions(+), 33

[PATCH 3/3] staging: comedi: amplc_pci263: define the register map

2016-03-30 Thread H Hartley Sweeten
For completeness, define the registers used by this driver and remove the magic numbers. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/amplc_pci263.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/driv

RE: [PATCH 0/3] staging: comedi: amplc_pci263: minor cleanup

2016-03-30 Thread Hartley Sweeten
On Wednesday, March 30, 2016 11:50 AM, Ian Abbott wrote: > On 30/03/16 19:45, H Hartley Sweeten wrote: >> Fix the checkpatch.pl issues and tidy up some aesthetic issues. >> >> H Hartley Sweeten (3): >>staging: comedi: amplc_pci263: fix block comments >>staging: comedi: amplc_pci263: tidy up

Re: [PATCH 0/3] staging: comedi: amplc_pci263: minor cleanup

2016-03-30 Thread Ian Abbott
On 30/03/16 19:45, H Hartley Sweeten wrote: Fix the checkpatch.pl issues and tidy up some aesthetic issues. H Hartley Sweeten (3): staging: comedi: amplc_pci263: fix block comments staging: comedi: amplc_pci263: tidy up digital output subdevice init staging: comedi: amplc_pci263: define

[PATCH 0/3] staging: comedi: amplc_pci263: minor cleanup

2016-03-30 Thread H Hartley Sweeten
Fix the checkpatch.pl issues and tidy up some aesthetic issues. H Hartley Sweeten (3): staging: comedi: amplc_pci263: fix block comments staging: comedi: amplc_pci263: tidy up digital output subdevice init staging: comedi: amplc_pci263: define the register map drivers/staging/comedi/driver

[PATCH 2/3] staging: comedi: amplc_pci263: tidy up digital output subdevice init

2016-03-30 Thread H Hartley Sweeten
For aesthetics, add some whitespace to the digital output subdevice initialization. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/amplc_pci263.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drive

[PATCH 1/3] staging: comedi: amplc_pci263: fix block comments

2016-03-30 Thread H Hartley Sweeten
Fix the checkpatch.pl issues: WARNING: Block comments use * on subsequent lines Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/amplc_pci263.c | 60 +-- 1 file changed, 30 insertions(+), 30 deletions(-) diff --g

Re: [PATCH 0/2] staging: comedi: amplc_dio200_common: minor cleanup

2016-03-30 Thread Ian Abbott
On 30/03/16 19:09, H Hartley Sweeten wrote: Fix the checkpatch.pl issues. H Hartley Sweeten (2): staging: comedi: amplc_dio200_common: Prefer 'unsigned int' to bare use of 'unsigned' staging: comedi: amplc_dio200_common: document spinlock definition drivers/staging/comedi/drivers/amplc

Re: [PATCH 0/4] staging: comedi: amplc_pc263: minor cleanup

2016-03-30 Thread Ian Abbott
On 30/03/16 19:36, H Hartley Sweeten wrote: Fix the checkpatch.pl issues and tidy up some aesthetic issues. H Hartley Sweeten (4): staging: comedi: amplc_pc263: fix block comments staging: comedi: amplc_pc263: tidy up comedi_driver definition staging: comedi: amplc_pc263: tidy up digita

Re: [PATCH 0/2] staging: comedi: drivers: minor cleanups

2016-03-30 Thread Ian Abbott
On 30/03/16 18:47, H Hartley Sweeten wrote: Fix the chackpatch.pl issues and avoid a possible bug. H Hartley Sweeten (2): staging: comedi: drivers: tidy up insn_rw_emulate_bits() staging: comedi: drivers: fix possible bug in comedi_handle_events() drivers/staging/comedi/drivers.c | 40 +

[PATCH 4/4] staging: comedi: amplc_pc263: define the register map

2016-03-30 Thread H Hartley Sweeten
For completeness, define the registers used by this driver and remove the magic numbers. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/amplc_pc263.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/dri

[PATCH 1/4] staging: comedi: amplc_pc263: fix block comments

2016-03-30 Thread H Hartley Sweeten
Fix the checkpatch.pl issues: WARNING: Block comments use * on subsequent lines Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/amplc_pc263.c | 62 ++-- 1 file changed, 31 insertions(+), 31 deletions(-) diff --g

[PATCH 2/4] staging: comedi: amplc_pc263: tidy up comedi_driver definition

2016-03-30 Thread H Hartley Sweeten
For aesthetics, add some whitespace to the comedi_driver definition. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/amplc_pc263.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/comedi

[PATCH 3/4] staging: comedi: amplc_pc263: tidy up digital output subdevice init

2016-03-30 Thread H Hartley Sweeten
For aesthetics, add some whitespace to the digital output subdevice initialization. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/amplc_pc263.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/driver

[PATCH 0/4] staging: comedi: amplc_pc263: minor cleanup

2016-03-30 Thread H Hartley Sweeten
Fix the checkpatch.pl issues and tidy up some aesthetic issues. H Hartley Sweeten (4): staging: comedi: amplc_pc263: fix block comments staging: comedi: amplc_pc263: tidy up comedi_driver definition staging: comedi: amplc_pc263: tidy up digital output subdevice init staging: comedi: amplc_

[PATCH 1/2] staging: comedi: amplc_dio200_common: Prefer 'unsigned int' to bare use of 'unsigned'

2016-03-30 Thread H Hartley Sweeten
Fix the checkpatch.pl issues. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/amplc_dio200_common.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/comedi/drivers/amplc_dio200_common.c b/d

[PATCH 2/2] staging: comedi: amplc_dio200_common: document spinlock definition

2016-03-30 Thread H Hartley Sweeten
Fix the checkpatch.pl issue: CHECK: spinlock_t definition without comment Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/amplc_dio200_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/d

[PATCH 0/2] staging: comedi: amplc_dio200_common: minor cleanup

2016-03-30 Thread H Hartley Sweeten
Fix the checkpatch.pl issues. H Hartley Sweeten (2): staging: comedi: amplc_dio200_common: Prefer 'unsigned int' to bare use of 'unsigned' staging: comedi: amplc_dio200_common: document spinlock definition drivers/staging/comedi/drivers/amplc_dio200_common.c | 12 ++-- 1 file change

[PATCH 1/2] staging: comedi: drivers: tidy up insn_rw_emulate_bits()

2016-03-30 Thread H Hartley Sweeten
Tidy up this function and fix the checkpatch.pl issues: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers.c | 35 --- 1 file changed, 16 insertions(+

[PATCH 0/2] staging: comedi: drivers: minor cleanups

2016-03-30 Thread H Hartley Sweeten
Fix the chackpatch.pl issues and avoid a possible bug. H Hartley Sweeten (2): staging: comedi: drivers: tidy up insn_rw_emulate_bits() staging: comedi: drivers: fix possible bug in comedi_handle_events() drivers/staging/comedi/drivers.c | 40 1 file c

[PATCH 2/2] staging: comedi: drivers: fix possible bug in comedi_handle_events()

2016-03-30 Thread H Hartley Sweeten
This function assumes that the async subdevice has a cancel() function. It looks like all the current comedi drivers implement a cancel() for the async subdevices except for the dt2814 analog input usbdevice. Fix comedi_handle_events() so it does not try to call a non-existent cancel() function.

[PATCH 43/43] staging/lustre/ldlm: restore the ELC for enqueue

2016-03-30 Thread green
From: Vitaly Fertman after LU-4300 enqueue does not ELC anymore, however if enqueue is agressive (ls -la of a large dir) we may exceed lru-resize limit quickly because LRUR shrinker and recalc are called not so often. ELC is to be restored in enqueue. ELC also should check for the lock weight, i

[PATCH 06/43] staging/lustre/osc: to drop LRU pages with cl_lru_work

2016-03-30 Thread green
From: Jinshan Xiong This way we can drop it async. Signed-off-by: Jinshan Xiong Reviewed-on: http://review.whamcloud.com/7891 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3321 Reviewed-by: Lai Siyao Reviewed-by: Bobi Jam Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/in

[PATCH 05/43] staging/lustre/osc: Adjustment on osc LRU for performance

2016-03-30 Thread green
From: Jinshan Xiong Add and discard pages from LRU in batch. Signed-off-by: Jinshan Xiong Reviewed-on: http://review.whamcloud.com/7890 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3321 Reviewed-by: Niu Yawei Reviewed-by: Lai Siyao Signed-off-by: Oleg Drokin --- drivers/staging/lustr

[PATCH 39/43] staging/lustre/llite: Move several declarations to llite_internal.h

2016-03-30 Thread green
From: John Hammond Move several declarations between llite_internal.h and vvp_internal.h with the goal of reserving the latter header for functions that pertain to vvp_{device,object,page,...}. Signed-off-by: John L. Hammond Signed-off-by: Jinshan Xiong Reviewed-on: http://review.whamcloud.com

[PATCH 33/43] staging/lustre/llite: rename ccc_req to vvp_req

2016-03-30 Thread green
From: "John L. Hammond" Rename struct ccc_req to struct vvp_req and move related functions from lustre/llite/lcommon_cl.c to the new file lustre/llite/vvp_req.c. Signed-off-by: John L. Hammond Reviewed-on: http://review.whamcloud.com/13377 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-597

[PATCH 42/43] staging/lustre/ldlm: revert changes to ldlm_cancel_aged_policy()

2016-03-30 Thread green
From: Niu Yawei The changes to ldlm_cancel_aged_policy() introduced from LU-4300 was incorrect. This patch revert this part of changes. Signed-off-by: Niu Yawei Reviewed-on: http://review.whamcloud.com/12448 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5727 Reviewed-by: Bobi Jam Reviewe

[PATCH 32/43] staging/lustre/llite: move vvp_io functions to vvp_io.c

2016-03-30 Thread green
From: "John L. Hammond" Move all vvp_io related functions from lustre/llite/lcommon_cl.c to the sole file where they are used lustre/llite/vvp_io.c. Signed-off-by: John L. Hammond Reviewed-on: http://review.whamcloud.com/13376 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5971 Reviewed-by

  1   2   >