[PATCH] staging/media: make atomisp vlv2_plat_clock explicitly non-modular

2017-04-12 Thread Paul Gortmaker
The Makefile / Kconfig currently controlling compilation of this code is: clock/Makefile:obj-$(CONFIG_INTEL_ATOMISP) += vlv2_plat_clock.o atomisp/Kconfig:menuconfig INTEL_ATOMISP atomisp/Kconfig:bool "Enable support to Intel MIPI camera drivers" ...meaning that it currently is not

Re: [PATCH v3] staging: wilc1000: New cfg packet format in handle_set_wfi_drv_handler

2017-04-12 Thread Aditya Shankar
On Tue, 11 Apr 2017 19:35:46 +0200 Greg KH wrote: > On Tue, Apr 11, 2017 at 10:11:43PM +0530, Aditya Shankar wrote: > > Change the config packet format used in handle_set_wfi_drv_handler() > > to align the host driver with the new format used in the wilc firmware. >

[PATCH 2/2] staging: greybus: uart.c: Remove include linux/serial.h

2017-04-12 Thread Darryl T. Agostinelli
$ make includecheck | grep staging ./drivers/staging/greybus/uart.c: linux/serial.h is included more than once. Signed-off-by: Darryl T. Agostinelli --- drivers/staging/greybus/uart.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/greybus/uart.c

[PATCH 1/2] staging: greybus: light.c: Remove include linux/version.h

2017-04-12 Thread Darryl T. Agostinelli
Fixes: $ make versioncheck | grep staging ./drivers/staging/greybus/light.c: 15 linux/version.h not needed. Signed-off-by: Darryl T. Agostinelli --- drivers/staging/greybus/light.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/greybus/light.c

[PATCH 40/40] media: imx: set and propagate empty field, colorimetry params

2017-04-12 Thread Steve Longerbeam
This patch adds a call to imx_media_fill_empty_mbus_fields() in the *_try_fmt() functions at the sink pads, to set empty field order and colorimetry parameters. If the field order is set to ANY, choose the currently set field order at the sink pad. If the colorspace is set to DEFAULT, choose the

Re: [PATCH] [media] imx: csi: retain current field order and colorimetry setting as default

2017-04-12 Thread Steve Longerbeam
On 04/06/2017 08:25 AM, Philipp Zabel wrote: On Thu, 2017-04-06 at 16:10 +0100, Russell King - ARM Linux wrote: On Thu, Apr 06, 2017 at 05:01:52PM +0200, Philipp Zabel wrote: On Thu, 2017-04-06 at 15:05 +0100, Russell King - ARM Linux wrote: On Thu, Apr 06, 2017 at 03:55:29PM +0200, Philipp

[PATCH v2 0/9] staging: Introduce the DPAA2 Ethernet driver

2017-04-12 Thread Ioana Radulescu
This patchset introduces the Ethernet driver for Freescale/NXP SoCs with DPAA2 (DataPath Acceleration Architecture v2). The driver manages network objects discovered on the fsl-mc bus. A description of the driver can be found in the associated README file. The patchset consists of: * A set of

[PATCH v2 3/9] staging: fsl-dpaa2/eth: Add APIs for DPNI objects

2017-04-12 Thread Ioana Radulescu
Add the command build/parse APIs for operating on DPNI objects through the DPAA2 Management Complex. Signed-off-by: Ioana Radulescu --- v2: update #include paths drivers/staging/Kconfig |2 + drivers/staging/Makefile |

[PATCH v2 6/9] staging: fsl-dpaa2/eth: Add driver specific stats

2017-04-12 Thread Ioana Radulescu
Add custom statistics to be reported via ethtool -S. These include driver specific per-cpu statistics as well as queue and channel counters. Signed-off-by: Ioana Radulescu --- v2: no changes drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 42 ++-

[PATCH v2 4/9] staging: fsl-dpaa2/eth: Add Freescale DPAA2 Ethernet driver

2017-04-12 Thread Ioana Radulescu
Introduce the DPAA2 Ethernet driver, which manages Datapath Network Interface (DPNI) objects discovered on the MC bus. In addition to DPNIs, the Ethernet driver uses several other MC objects to build a network interface abstraction: buffer pools (DPBPs), I/O Portals (DPIOs) and concentrators

[PATCH v2 7/9] staging: fsl-dpaa2/eth: Add trace points

2017-04-12 Thread Ioana Radulescu
Add trace events in significant places of the data path. Useful for debuggging. Signed-off-by: Ioana Radulescu --- v2: no changes drivers/staging/fsl-dpaa2/ethernet/Makefile| 3 + .../staging/fsl-dpaa2/ethernet/dpaa2-eth-trace.h | 185

[PATCH v2 8/9] staging: fsl-dpaa2/eth: Add TODO file

2017-04-12 Thread Ioana Radulescu
Add a list of TODO items for the Ethernet driver Signed-off-by: Ioana Radulescu --- v2: Add note drivers/staging/fsl-dpaa2/ethernet/TODO | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 drivers/staging/fsl-dpaa2/ethernet/TODO diff --git

[PATCH v2 9/9] staging: fsl-dpaa2/eth: Add maintainer for Ethernet driver

2017-04-12 Thread Ioana Radulescu
Signed-off-by: Ioana Radulescu --- v2: Remove "Freescale" from the driver name MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b38b42f96e6a..4368f67bb261 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4109,6

[PATCH v2 1/9] bus: fsl-mc: add DPCON object APIs

2017-04-12 Thread Ioana Radulescu
From: Ioana Radulescu This patch adds the command building/parsing wrapper functions for the DPCON object. The binary interface version is v3.2. A DPCON (DataPath Concentrator) is an aggregator object that allows ingress frames from multiple hardware queues to

[PATCH v2 2/9] staging: fsl-dpaa2/eth: Add Ethernet driver overview document

2017-04-12 Thread Ioana Radulescu
Add a README file describing the driver architecture, components and I/O interface. Signed-off-by: Ioana Radulescu --- v2: no changes drivers/staging/fsl-dpaa2/ethernet/README | 186 ++ 1 file changed, 186 insertions(+) create mode

[PATCH v2 5/9] staging: fsl-dpaa2/eth: Add ethtool support

2017-04-12 Thread Ioana Radulescu
Add support for several ethtool operations: show hardware statistics, get/set link settings, get hash configuration. Signed-off-by: Ioana Radulescu Signed-off-by: Bogdan Hamciuc --- v2: no changes drivers/staging/fsl-dpaa2/ethernet/Makefile

Re: [PATCH 07/12] fs: btrfs: Use ktime_get_real_ts for root ctime

2017-04-12 Thread David Sterba
On Fri, Apr 07, 2017 at 05:57:05PM -0700, Deepa Dinamani wrote: > btrfs_root_item maintains the ctime for root updates. > This is not part of vfs_inode. > > Since current_time() uses struct inode* as an argument > as Linus suggested, this cannot be used to update root > times unless, we modify

Re: [PATCH] staging: ks7010: Adjust dev_err() calls in ks7010_sdio_probe()

2017-04-12 Thread Greg Kroah-Hartman
On Wed, Apr 12, 2017 at 09:57:35PM +1000, Tobin C. Harding wrote: > On Wed, Apr 12, 2017 at 12:27:10PM +0200, Greg Kroah-Hartman wrote: > > On Wed, Apr 12, 2017 at 08:39:15AM +1000, Tobin C. Harding wrote: > > > On Tue, Apr 11, 2017 at 03:15:32PM +0200, SF Markus Elfring wrote: > > > > From:

Re: [PATCH] staging: ks7010: Adjust dev_err() calls in ks7010_sdio_probe()

2017-04-12 Thread Tobin C. Harding
On Wed, Apr 12, 2017 at 12:27:10PM +0200, Greg Kroah-Hartman wrote: > On Wed, Apr 12, 2017 at 08:39:15AM +1000, Tobin C. Harding wrote: > > On Tue, Apr 11, 2017 at 03:15:32PM +0200, SF Markus Elfring wrote: > > > From: Markus Elfring > > > Date: Tue, 11 Apr 2017

Re: [PATCH v3 04/24] staging: ks7010: rename identifier rc to ret

2017-04-12 Thread Dan Carpenter
You should have put some of this into the commit message. If there is something you think is maybe questionable or controversial, put that in the commit so we don't have to find it ourselves. regards, dan carpenter ___ devel mailing list

[PATCH v2 10/10] tracing/hyper-v: trace hyperv_mmu_flush_tlb_others()

2017-04-12 Thread Vitaly Kuznetsov
Add Hyper-V tracing subsystem and trace hyperv_mmu_flush_tlb_others(). Tracing is done the same way we do xen_mmu_flush_tlb_others(). Signed-off-by: Vitaly Kuznetsov --- Changes since v1: - Move hyperv.h to arch-specific place (Steven Rostedt) - Add IS_ENABLED(CONFIG_HYPERV)

[PATCH v2 09/10] x86/hyper-v: support extended CPU ranges for TLB flush hypercalls

2017-04-12 Thread Vitaly Kuznetsov
Hyper-V hosts may support more than 64 vCPUs, we need to use HVCALL_FLUSH_VIRTUAL_ADDRESS_SPACE_EX/LIST_EX hypercalls in this case. Signed-off-by: Vitaly Kuznetsov --- arch/x86/hyperv/mmu.c | 149 -

[PATCH v2 08/10] x86/hyper-v: use hypercall for remote TLB flush

2017-04-12 Thread Vitaly Kuznetsov
Hyper-V host can suggest us to use hypercall for doing remote TLB flush, this is supposed to work faster than IPIs. Implementation details: to do HvFlushVirtualAddress{Space,List} hypercalls we need to put the input somewhere in memory and we don't really want to have memory allocation on each

[PATCH v2 07/10] hyper-v: globalize vp_index

2017-04-12 Thread Vitaly Kuznetsov
To support implementing remote TLB flushing on Hyper-V with a hypercall we need to make vp_index available outside of vmbus module. Rename and globalize. Signed-off-by: Vitaly Kuznetsov --- Changes since v1: - rename vmbus_cpu_number_to_vp_number() ->

[PATCH v2 01/10] x86/hyper-v: include hyperv/ only when CONFIG_HYPERV is set

2017-04-12 Thread Vitaly Kuznetsov
Code is arch/x86/hyperv/ is only needed when CONFIG_HYPERV is set, the 'basic' support and detection lives in arch/x86/kernel/cpu/mshyperv.c which is included when CONFIG_HYPERVISOR_GUEST is set. Signed-off-by: Vitaly Kuznetsov --- arch/x86/Kbuild | 4 +++-

[PATCH v2 06/10] x86/hyper-v: implement rep hypercalls

2017-04-12 Thread Vitaly Kuznetsov
Rep hypercalls are normal hypercalls which perform multiple actions at once. Hyper-V guarantees to return exectution to the caller in not more than 50us and the caller needs to use hypercall continuation. Touch NMI watchdog between hypercall invocations. This is going to be used for

[PATCH v2 00/10] Hyper-V: praravirtualized remote TLB flushing and hypercall improvements

2017-04-12 Thread Vitaly Kuznetsov
Changes since v1: - Add a patch to build code in arch/x86/hyperv/ only when CONFIG_HYPERV is set. - Add a patch to get maximum virtual/logical processor on Hyper-V. - Add additional clobbers to hypercalls [Jork Loeser] - Add variable header size support to rep hypercalls. - Rename

[PATCH v2 05/10] hyper-v: use fast hypercall for HVCALL_SIGNAL_EVENT

2017-04-12 Thread Vitaly Kuznetsov
We need to pass only 8 bytes of input for HvSignalEvent which makes it a perfect fit for fast hypercall. hv_input_signal_event_buffer is not needed any more and hv_input_signal_event is converted to union for convenience. Signed-off-by: Vitaly Kuznetsov ---

[PATCH v2 02/10] x86/hyper-v: stash the max number of virtual/logical processor

2017-04-12 Thread Vitaly Kuznetsov
Max virtual processor will be needed for 'extended' hypercalls supporting more than 64 vCPUs. While on it, unify on 'Hyper-V' in mshyperv.c as we currently have a mix, report acquired misc features as well. Signed-off-by: Vitaly Kuznetsov --- arch/x86/include/asm/mshyperv.h

[PATCH v2 04/10] x86/hyper-v: fast hypercall implementation

2017-04-12 Thread Vitaly Kuznetsov
Hyper-V supports 'fast' hypercalls when all parameters are passed through registers. Implement an inline version of a simpliest of these calls: hypercall with one 8-byte input and no output. Proper hypercall input interface (struct hv_hypercall_input) definition is added as well. Signed-off-by:

[PATCH v2 03/10] x86/hyper-v: make hv_do_hypercall() inline

2017-04-12 Thread Vitaly Kuznetsov
We have only three call sites for hv_do_hypercall() and we're going to change HVCALL_SIGNAL_EVENT to doing fast hypercall so we can inline this function for optimization. Hyper-V top level functional specification states that r9-r11 registers and flags may be clobbered by the hypervisor during

Re: [PATCH] staging: ks7010: Adjust dev_err() calls in ks7010_sdio_probe()

2017-04-12 Thread Greg Kroah-Hartman
On Wed, Apr 12, 2017 at 08:39:15AM +1000, Tobin C. Harding wrote: > On Tue, Apr 11, 2017 at 03:15:32PM +0200, SF Markus Elfring wrote: > > From: Markus Elfring > > Date: Tue, 11 Apr 2017 14:54:35 +0200 > > > > The use of the logging function "dev_err" was

Re: [PATCH v6 17/39] platform: add video-multiplexer subdevice driver

2017-04-12 Thread Sakari Ailus
Hi Steve, On Tue, Apr 11, 2017 at 05:50:58PM -0700, Steve Longerbeam wrote: > > > On 04/04/2017 05:47 AM, Sakari Ailus wrote: > >Hi Steve, Philipp and Pavel, > > > >On Mon, Mar 27, 2017 at 05:40:34PM -0700, Steve Longerbeam wrote: > >>From: Philipp Zabel > >> > >>This

Re: staging: ks7010: Adjust dev_err() calls in ks7010_sdio_probe()

2017-04-12 Thread SF Markus Elfring
> This patch does not apply to Greg's staging-testing branch. Could the proposed changes be applied with a bit of “fuzz” for the implementation of the function “ks7010_sdio_probe”? > Markus a patch was merged the same day you submitted this one that > refactored this code. Do you refer to your

[PATCH] staging: lustre: checking for NULL instead if IS_ERR

2017-04-12 Thread Dan Carpenter
lustre_cfg_new() returns error pointers and never NULL. Signed-off-by: Dan Carpenter diff --git a/drivers/staging/lustre/lustre/obdclass/obd_config.c b/drivers/staging/lustre/lustre/obdclass/obd_config.c index 8fce88f69039..6a7e7a7d2af1 100644 ---

Re: [PATCH] [media] imx: csi: retain current field order and colorimetry setting as default

2017-04-12 Thread Hans Verkuil
On 04/06/2017 06:01 PM, Philipp Zabel wrote: > On Thu, 2017-04-06 at 17:43 +0200, Hans Verkuil wrote: >> On 04/06/2017 04:54 PM, Philipp Zabel wrote: >>> On Thu, 2017-04-06 at 16:20 +0200, Hans Verkuil wrote: On 04/06/2017 03:55 PM, Philipp Zabel wrote: > If the the field order is set to

Re: [PATCH 1/2] staging: rtl8723bs: fixed ./drivers/staging/rtl8723bs/include/drv_types.h: rtw_efuse.h is included more than once.

2017-04-12 Thread Greg KH
On Tue, Apr 11, 2017 at 11:19:51PM -0500, Darryl T. Agostinelli wrote: > $ make includecheck | grep staging > ./drivers/staging/rtl8723bs/include/drv_types.h: rtw_efuse.h is included > more than once. > > Signed-off-by: Darryl T. Agostinelli Same thing goes

Re: [PATCH v2] Fix endianness issues in mdc_request.c

2017-04-12 Thread Greg KH
On Tue, Apr 11, 2017 at 09:22:37PM -0700, skanda.kash...@gmail.com wrote: > From: Skanda Guruanand Your subject is odd, please match other commits made for this driver when you resend it. > Sparse generates warnings where cast to restricted types are made. > This

Re: [PATCH 1/5] staging: greybus: fixed ./drivers/staging/greybus/light.c: 15 linux/version.h not needed.

2017-04-12 Thread Greg KH
On Tue, Apr 11, 2017 at 11:01:15PM -0500, Darryl T. Agostinelli wrote: > $ make versioncheck | grep staging > ./drivers/staging/greybus/light.c: 15 linux/version.h not needed. > > Signed-off-by: Darryl T. Agostinelli Why is everything indented here? And your