[PATCH] staging: unisys: visorchannel: correct variable misspelling

2016-05-04 Thread David Kershner
From: David Binder Fixes the spelling of a global variable passed into a kernel macro. Signed-off-by: David Binder Signed-off-by: David Kershner --- drivers/staging/unisys/visorbus/visorchipset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/unisys/visorb

[PATCH] staging: unisys: visorhba: replace functionlike macro with function

2016-05-04 Thread David Kershner
From: Alexander Curtin The `set_no_disk_inquiry_request` function now uses the correct min macro. Also I removed an unnecessary conditional. Get rid of u8 casts, u32 len, and u32 lun (which is actually defined as a u64 in the scsidev->lun field from whence it originated). Signed-off-by: Alexand

[PATCH] staging: unisys: remove unused struct members

2016-05-04 Thread David Kershner
From: Erik Arfvidson The following struct members were never used: putfile_active_buffer::pnext putfile_request::file_request_number putfile_request::data_sequence_number Signed-off-by: Erik Arfvidson Signed-off-by: David Kershner --- drivers/staging/unisys/visorbus/visorchipset.c | 6

[PATCH] ION: Sys_heap: Makes ion buffer always alloc from page pool

2016-05-04 Thread Chen Feng
Makes the ion buffer always alloced from page pool, no matter it's cached or not. In this way, it can improve the efficiency of it. Currently, there is no difference from cached or non-cached buffer for the page pool. Signed-off-by: Chen Feng --- drivers/staging/android/ion/ion_system_heap.c |

给研发人员分派工作中容易出现的问题

2016-05-04 Thread 席潮海
558913579135680246 研发经理的领导力与执行力.xls Description: Binary data ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[PATCH] staging: comedi: dt2811: add async command support for AI subdevice

2016-05-04 Thread H Hartley Sweeten
The interrupt support available on this board is pretty limited but its simple enough to give basic async command support. This allows reading a single channel continuously using either the internal or an external clock to trigger each conversion. The command can also use the external trigger inpu

Re: [PATCH [RFC]] PCI: hv: add explicit fencing to config space access

2016-05-04 Thread Bjorn Helgaas
On Tue, May 03, 2016 at 02:22:00PM +0200, Vitaly Kuznetsov wrote: > I'm trying to pass-through Broadcom BCM5720 NIC (Dell Device 1f5b) on Dell > R720 server. Everything works fine when target VM has only one CPU, but > SMP guests reboot when NIC driver is trying to access PCI config space > (with

Re: [PATCH v2 00/19] staging: comedi: dt2811: cleanup driver

2016-05-04 Thread Ian Abbott
On 05/04/16 20:47, H Hartley Sweeten wrote: Fix all the checkpatch.pl isses and tidy up the driver. v2: sort the analog input range table to match the old configuration option scheme, as requested by Ian Abbott, in patch 15/19. H Hartley Sweeten (19): staging: comedi: dt2811: tidy up co

[PATCH v2 08/19] staging: comedi: dt2811: tidy up Digital Input/Output register defines

2016-05-04 Thread H Hartley Sweeten
The digital input and outputs are separate ports even though they share the same register offset. For aesthetics, define then separately and remove the redundant information in the comment. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/driver

[PATCH v2 05/19] staging: comedi: dt2811: tidy up A/D Gain/Channel register defines

2016-05-04 Thread H Hartley Sweeten
Cleanup the defines for this register and its bits and remove the redundant information in the comment. Make the (*insn_read) use the range to set the gain bits correctly. Currently the gain is always set to 1. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers

[PATCH v2 11/19] staging: comedi: dt2811: simplify analog output range options

2016-05-04 Thread H Hartley Sweeten
The D/A ranges are not programmable. Currently this driver uses some configuration options to select the comedi_lrange for each channel. This is a bit messy and it requires the user to make sure the correct option value is used. The range information isn't used by the driver. The user space librar

[PATCH v2 16/19] staging: comedi: dt2811: tidy up analog input subdevice init

2016-05-04 Thread H Hartley Sweeten
Add some whitespace to the analog output subdevice initialization and rename the (*insn_read) function. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/dt2811.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-)

[PATCH v2 01/19] staging: comedi: dt2811: tidy up copyright and comedi comments

2016-05-04 Thread H Hartley Sweeten
Fix the checkpatch.pl issue: WARNING: Block comments use * on subsequent lines Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/dt2811.c | 78 - 1 file changed, 39 insertions(+), 39 deletions(-) diff --gi

[PATCH v2 17/19] staging: comedi: dt2811: remove unused define

2016-05-04 Thread H Hartley Sweeten
This define is not used by the driver. Remove it. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/dt2811.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/comedi/drivers/dt2811.c b/drivers/staging/comedi/drivers/dt

[PATCH v2 18/19] staging: comedi: dt2811: rename 'boardtypes'

2016-05-04 Thread H Hartley Sweeten
Rename this array so it has namespace associated with the driver. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/dt2811.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/comedi/drivers/dt2811.c

[PATCH v2 10/19] staging: comedi: dt2811: tidy up the digital subdevices

2016-05-04 Thread H Hartley Sweeten
Add some whitespace to the digital input and output subdevice initialization. Reorder the initialization a bit. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/dt2811.c | 34 - 1 file changed, 17 insertio

[PATCH v2 04/19] staging: comedi: dt2811: tidy up A/D Control/Status register defines

2016-05-04 Thread H Hartley Sweeten
Cleanup the defines for this register and its bits and remove the redundant information in the comment. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/dt2811.c | 59 - 1 file changed, 21 insertions(+), 3

[PATCH v2 19/19] staging: comedi: dt2811: update the MODULE_DESCRIPTION

2016-05-04 Thread H Hartley Sweeten
Change the MODULE_DESCRIPTION to something more useful than the generic "Comedi low-level driver". Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/dt2811.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/stag

[PATCH v2 15/19] staging: comedi: dt2811: simplify analog input range options

2016-05-04 Thread H Hartley Sweeten
The A/D ranges are not programmable but the gain is. Currently this driver uses a configuration option to select the comedi_lrange that will be used for the analog input subdevice. This requires that the user makes sure the correct option value is used. The user space library uses the range inform

[PATCH v2 14/19] staging: comedi: dt2811: remove private data

2016-05-04 Thread H Hartley Sweeten
The remaining members of the private data are not used by the driver. Remove it and the allocation. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/dt2811.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/staging/

[PATCH v2 12/19] staging: comedi: dt2811: tidy up analog output subdevice init

2016-05-04 Thread H Hartley Sweeten
Add some whitespace to the analog output subdevice initialization. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/dt2811.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/comedi/driver

[PATCH v2 00/19] staging: comedi: dt2811: cleanup driver

2016-05-04 Thread H Hartley Sweeten
Fix all the checkpatch.pl isses and tidy up the driver. v2: sort the analog input range table to match the old configuration option scheme, as requested by Ian Abbott, in patch 15/19. H Hartley Sweeten (19): staging: comedi: dt2811: tidy up copyright and comedi comments staging: comedi: d

[PATCH v2 09/19] staging: comedi: dt2811: tidy up Timer/Counter register defines

2016-05-04 Thread H Hartley Sweeten
This register currently is not being used. For aesthetics, cleanup the define and the comment about the frequency control. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/dt2811.c | 45 + 1 file changed,

[PATCH v2 07/19] staging: comedi: dt2811: tidy up D/A Data register defines

2016-05-04 Thread H Hartley Sweeten
Cleanup the defines for these registers and and remove the redundant information in the comment. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/dt2811.c | 19 +-- 1 file changed, 5 insertions(+), 14 deletions(-) diff -

[PATCH v2 13/19] staging: comedi: dt2811: simplify A/D reference configuration

2016-05-04 Thread H Hartley Sweeten
The analog inputs are confgured with jumpers on the board to be: * 16 single-ended inputs * 8 differential inputs * 16 pseudo-differential inputs (common ground) Simplify the handling of this configuration option and properly set the subdev_flags based on the selected input mode. Signed-off

[PATCH v2 02/19] staging: comedi: dt2811: remove redundant block comment

2016-05-04 Thread H Hartley Sweeten
The configuration options are listed in the comedi comment block. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/dt2811.c | 20 1 file changed, 20 deletions(-) diff --git a/drivers/staging/comedi/drivers/dt2811.c

[PATCH v2 03/19] staging: comedi: dt2811: remove disabled code

2016-05-04 Thread H Hartley Sweeten
There is no reason the (*attach) should be trying to read an analog input sample. Remove this disabled code. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/dt2811.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff

[PATCH v2 06/19] staging: comedi: dt2811: tidy up A/D Data register defines

2016-05-04 Thread H Hartley Sweeten
Cleanup the defines for these registers and and remove the redundant information in the comment. Tidy up the reading of the data registers in the (*insn_read). Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/dt2811.c | 17 +++--

Re: [PATCH net-next 4/5] treewide: replace dev->trans_start update with helper

2016-05-04 Thread Antonio Quartulli
On Tue, May 03, 2016 at 04:33:13PM +0200, Florian Westphal wrote: > Replace all trans_start updates with netif_trans_update helper. > change was done via spatch: > > struct net_device *d; > @@ > - d->trans_start = jiffies > + netif_trans_update(d) > > Compile tested only. > > Cc: user-mode-linux

Re: Driver for Magewell PCIe capture cards

2016-05-04 Thread Greg KH
On Wed, May 04, 2016 at 12:44:46PM +0100, Will Manley wrote: > Hi There > > Magewell are a manufacturer of video-capture devices. They have both > USB and PCIe devices. The USB devices use the upstream uvcvideo driver > and Magewell currently provide proprietary drivers for their PCIe > products

RE: [PATCH 15/19] staging: comedi: dt2811: simplify analog input range options

2016-05-04 Thread Hartley Sweeten
On Wednesday, May 04, 2016 9:01 AM, Ian Abbott wrote: > On 04/05/16 01:25, H Hartley Sweeten wrote: >> The A/D ranges are not programmable but the gain is. Currently this driver >> uses a configuration option to select the comedi_lrange that will be used >> for the analog input subdevice. This requ

Re: [PATCH 15/19] staging: comedi: dt2811: simplify analog input range options

2016-05-04 Thread Ian Abbott
On 04/05/16 01:25, H Hartley Sweeten wrote: The A/D ranges are not programmable but the gain is. Currently this driver uses a configuration option to select the comedi_lrange that will be used for the analog input subdevice. This requires that the user makes sure the correct option value is used.

Re: [PATCH 00/25] staging: comedi: das16m1: cleanup driver

2016-05-04 Thread Ian Abbott
On 03/05/16 20:29, H Hartley Sweeten wrote: Fixe all the checkpatch.pl issues and tidy up the driver. H Hartley Sweeten (25): staging: comedi: das16m1: tidy up copyright and comedi comments staging: comedi: das16m1: tidy up comments in das16m1_handler() staging: comedi: das16m1: tidy up

[PATCH v9 net-next 1/2] hv_sock: introduce Hyper-V Sockets

2016-05-04 Thread Dexuan Cui
Hyper-V Sockets (hv_sock) supplies a byte-stream based communication mechanism between the host and the guest. It's somewhat like TCP over VMBus, but the transportation layer (VMBus) is much simpler than IP. With Hyper-V Sockets, applications between the host and the guest can talk to each other d

[PATCH v9 net-next 2/2] net: add the AF_HYPERV entries to family name tables

2016-05-04 Thread Dexuan Cui
This is for the hv_sock driver, which introduces AF_HYPERV(42). Signed-off-by: Dexuan Cui Cc: "K. Y. Srinivasan" Cc: Haiyang Zhang Cc: Vitaly Kuznetsov Cc: Cathy Avery --- net/core/sock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/core/sock.c b/net/core/soc

[PATCH v9 net-next 0/2] introduce Hyper-V VM Sockets(hv_sock)

2016-05-04 Thread Dexuan Cui
Hyper-V Sockets (hv_sock) supplies a byte-stream based communication mechanism between the host and the guest. It's somewhat like TCP over VMBus, but the transportation layer (VMBus) is much simpler than IP. With Hyper-V Sockets, applications between the host and the guest can talk to each other d

[PATCH 0/9] staging: lustre: bug fixes from the lustre 2.5.[54-55] release

2016-05-04 Thread James Simmons
Here is the next batch of fixes and cleanups that went into Lustre versions 2.5.54 and 2.5.55 except for the work done for LU-3531. The changes for LU-3531 are large so they belong in their own special patch set. Most of the patches here are minor fixes and some removal of dead or obsolete code. A

[PATCH 7/9] staging: lustre: ptlrpc: fix nrs cleanup

2016-05-04 Thread James Simmons
From: Niu Yawei When service start failed due to short of memory, the cleanup code could operate on uninitialized structure and cause crash at the end. This patch fix the nrs_svcpt_cleanup_locked() to perform cleanup only on the nrs which has been properly initialized. Signed-off-by: Niu Yawei

[PATCH 9/9] staging: lustre: lov: remove unused lov obd functions

2016-05-04 Thread James Simmons
From: "John L. Hammond" Remove the unused lov functions lov_get_reqset, lov_check_index_in_pool, and lov_find_pool functions. Remove unused data structures. Signed-off-by: John L. Hammond Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2675 Reviewed-on: http://review.whamcloud.com/5581 Revi

[PATCH 8/9] staging: lustre: fid: init FID client for OSP on MDT.

2016-05-04 Thread James Simmons
From: wang di Initialize FID client for OSP on MDT. Signed-off-by: wang di Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3529 Reviewed-on: http://review.whamcloud.com/7158 Reviewed-by: John L. Hammond Reviewed-by: Alex Zhuravlev Reviewed-by: Oleg Drokin Signed-off-by: James Simmons --

[PATCH 1/9] staging: lustre: nfs: don't panic NFS server if MDS fails to find FID

2016-05-04 Thread James Simmons
From: Bobi Jam When MDS fails to retrive the parent's fid, we'd handle it without crashing the NFS server. Signed-off-by: Bobi Jam Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3952 Reviewed-on: http://review.whamcloud.com/8459 Reviewed-by: Fan Yong Reviewed-by: wangdi Reviewed-by: Oleg

[PATCH 2/9] staging: lustre: osc: Allow lock to be canceled at ENQ time

2016-05-04 Thread James Simmons
From: Alexander Boyko A cl_lock can be canceled when it's in CLS_ENQUEUED state. We can't unuse this kind of lock in lov_lock_unuse() because it will bring this lock into CLS_NEW state and then confuse osc_lock_upcall(). Add a regression test case by Alexander Boyko. Signed-off-by: Jinshan Xion

[PATCH 6/9] staging: lustre: debug: clean up console messages

2016-05-04 Thread James Simmons
From: Andreas Dilger Clean up overly verbose console error messages, improve others. Signed-off-by: Andreas Dilger Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-1095 Reviewed-on: http://review.whamcloud.com/8617 Reviewed-by: Faccini Bruno Reviewed-by: Bob Glossman Reviewed-by: Oleg Drok

[PATCH 4/9] staging: lustre: mdt: extra checking for getattr RPC.

2016-05-04 Thread James Simmons
From: wang di Check whether getattr RPC can hold layout MD(RMF_MDT_MD), in case the client sends some invalid RPC, which can cause panic on MDT. Client will retrieve cl_max_md_size/cl_default_md_size from MDS during mount process, so it will initialize cl_max_md_size/cl_default_md_size before se

[PATCH 5/9] staging: lustre: fid: packing ost_idx in IDIF

2016-05-04 Thread James Simmons
From: Fan Yong For a normal FID, we can know on which target the related object is allocated via querying FLDB; but it is not true for an IDIF. To locate the OST via the given IDIF, when the IDIF is generated, we pack the OST index in it. Then for any given FID, in spite of t is a normal FID or

[PATCH 3/9] staging: lustre: lov: remove lov and lod stuff from obd.h

2016-05-04 Thread James Simmons
From: "John L. Hammond" Remove QOS related data structures from obd.h to the lov_internal.h. Remove the declarations of several functions that no longer exist. Signed-off-by: John L. Hammond Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2675 Reviewed-on: http://review.whamcloud.com/8687 R

Re: [PATCH v2] vme: change LM callback argument to void pointer

2016-05-04 Thread Alessio Igor Bogani
Dan, Aaron, On 3 May 2016 at 15:18, Dan Carpenter wrote: > On Tue, May 03, 2016 at 02:52:54PM +0200, Alessio Igor Bogani wrote: [...] >> It would be great since we have a lot of VME drivers (for devices not >> for bridges) which we would like see mainlined. >> Unfortunately, considering the limit

Driver for Magewell PCIe capture cards

2016-05-04 Thread Will Manley
Hi There Magewell are a manufacturer of video-capture devices. They have both USB and PCIe devices. The USB devices use the upstream uvcvideo driver and Magewell currently provide proprietary drivers for their PCIe products. http://www.magewell.com/ I've approached Magewell about having upstre

Re: [PATCH net-next 4/5] treewide: replace dev->trans_start update with helper

2016-05-04 Thread Mugunthan V N
On Tuesday 03 May 2016 08:03 PM, Florian Westphal wrote: > Replace all trans_start updates with netif_trans_update helper. > change was done via spatch: > > struct net_device *d; > @@ > - d->trans_start = jiffies > + netif_trans_update(d) > > Compile tested only. > > Cc: user-mode-linux-de...@li

Re: [PATCH 0/6] Intel Secure Guard Extensions

2016-05-04 Thread Pavel Machek
Hi! > Good morning, I hope everyone's day is starting out well. :-). Rainy day here. > > > In the TL;DR department I would highly recommend that anyone > > > interested in all of this read MIT's 170+ page review of the > > > technology before jumping to any conclusions :-) > > > Would you h

Re: [PATCH 0/6] Intel Secure Guard Extensions

2016-05-04 Thread Dr. Greg Wettstein
On Tue, May 03, 2016 at 05:38:40PM +0200, Pavel Machek wrote: > Hi! Good morning, I hope everyone's day is starting out well. > > I told my associates the first time I reviewed this technology that > > SGX has the ability to be a bit of a Pandora's box and it seems to be > > following that cours

Re: [PATCH net-next 4/5] treewide: replace dev->trans_start update with helper

2016-05-04 Thread Felipe Balbi
Hi, Florian Westphal writes: > Replace all trans_start updates with netif_trans_update helper. > change was done via spatch: > > struct net_device *d; > @@ > - d->trans_start = jiffies > + netif_trans_update(d) > > Compile tested only. > > Cc: user-mode-linux-de...@lists.sourceforge.net > Cc: li