The ethtool info command calls the netvsc get_sset_count with RTNL
but not with RCU. Which causes warning:
drivers/net/hyperv/netvsc_drv.c:1010 suspicious rcu_dereference_check() usage!
Signed-off-by: Stephen Hemminger
---
drivers/net/hyperv/netvsc_drv.c | 2 +-
1 file changed, 1 insertion(+),
The work queue and handling of network filter parameters should
be in rndis_device. This gets rid of warning from RCU checks,
eliminates a race and cleans up code.
Signed-off-by: Stephen Hemminger
---
v2 - instead of adding locking to do_set_mulitcast, move the
workqueue to rndis portion of
These are bugfixes for netvsc driver in 4.12.
Stephen Hemminger (3):
netvsc: fix rcu dereference warning from ethtool
netvsc: fix net poll mode
netvsc: move filter setting to rndis_device
drivers/net/hyperv/hyperv_net.h | 5 ++--
drivers/net/hyperv/netvsc_drv.c | 54 +-
The ndo_poll_controller function needs to schedule NAPI to pick
up arriving packets and send completions. Otherwise no data
will ever be received. For simple case of netconsole, it also
will allow send completions to happen. Without this netpoll
will eventually get stuck.
Signed-off-by: Stephen H
On 06/07/2017 12:02 PM, Hans Verkuil wrote:
We're still waiting for an Ack for patch 02/34, right?
Hi Hans, Yes still waiting for an ack for the imx-media bindings.
Other than that everything is ready AFAICT.
Agreed.
Steve
Regards,
Hans
On 07/06/17 20:33, Steve Longerbeam
We're still waiting for an Ack for patch 02/34, right?
Other than that everything is ready AFAICT.
Regards,
Hans
On 07/06/17 20:33, Steve Longerbeam wrote:
> In version 8:
>
> - Switched to v4l2_fwnode APIs.
>
> - Always pass a valid CSI id to ipu_set_ic_src_mux() in imx-ic-prp, even
From: Philipp Zabel
The CSI can skip any out of up to 6 input frames, allowing to reduce the
frame rate at the output pads by small fractions.
Signed-off-by: Philipp Zabel
Signed-off-by: Steve Longerbeam
Signed-off-by: Russell King
---
drivers/staging/media/imx/imx-media-csi.c | 167
Enable i.MX v4l2 media staging driver. For video capture on i.MX, the
video multiplexer subdev is required. On the SabreAuto, the ADV7180
video decoder is required along with i2c-mux-gpio. The Sabrelite
and SabreSD require the OV5640 and the SabreLite requires PWM clocks
for the OV5640.
Increase m
Add pinctrl groups for both GPT input capture channels.
Signed-off-by: Steve Longerbeam
---
arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
index 21dea5
This is a media entity subdevice driver for the i.MX Video De-Interlacing
or Combining Block. So far this entity does not implement the Combining
function but only motion compensated deinterlacing. Video frames are
received from the CSI and are routed to the IC PRPVF entity.
Signed-off-by: Steve L
This is a media entity subdevice for the i.MX Camera
Sensor Interface module.
Signed-off-by: Steve Longerbeam
- Added support for negotiation of frame intervals.
Signed-off-by: Russell King
- Fixed cropping rectangle negotiation at input and output pads.
- Added support for /2 downscaling, if
Add the core media driver for i.MX SOC.
Signed-off-by: Steve Longerbeam
Switch from the v4l2_of_ APIs to the v4l2_fwnode_ APIs.
Signed-off-by: Philipp Zabel
Add the bayer formats to imx-media's list of supported pixel and bus
formats.
Signed-off-by: Russell King
---
Documentation/media/v4l
The reset pin to the port expander chip (MAX7310) is controlled by a gpio,
so define a reset-gpios property to control it. There are three MAX7310's
on the SabreAuto CPU card (max7310_[abc]), but all use the same pin for
their reset. Since all can't acquire the same pin, assign it to max7310_b,
tha
This is a set of three media entity subdevice drivers for the i.MX
Image Converter:
- Pre-process Router: Takes input frames from CSI0, CSI1, or VDIC.
Two output pads enable either or both of the preprocess tasks
below. If the input is from one of the CSIs, both proprocess task
links can be
Adds MIPI CSI-2 Receiver subdev driver. This subdev is required
for sensors with a MIPI CSI2 interface.
Signed-off-by: Steve Longerbeam
- Switch from the v4l2_of_ APIs to the v4l2_fwnode_ APIs.
Signed-off-by: Philipp Zabel
- Add the function csi2ipu_gasket_init() to initialize the gasket at
This is the capture device interface driver that provides the v4l2
user interface. Frames can be received from various sources:
- directly from CSI for capturing unconverted images directly from
camera sensors.
- from the IC pre-process encode task.
- from the IC pre-process viewfinder task.
This driver is based on ov5640_mipi.c from Freescale imx_3.10.17_1.0.0_beta
branch, modified heavily to bring forward to latest interfaces and code
cleanup.
Signed-off-by: Steve Longerbeam
Acked-by: Hans Verkuil
---
drivers/media/i2c/Kconfig | 10 +
drivers/media/i2c/Makefile |1 +
drive
Enables the OV5642 parallel-bus sensor, and the OV5640 MIPI CSI-2 sensor.
The OV5642 connects to the parallel-bus mux input port on ipu1_csi0_mux.
The OV5640 connects to the input port on the MIPI CSI-2 receiver on
mipi_csi.
Until the OV5652 sensor module compatible with the SabreSD becomes
avai
Add a TODO file.
Signed-off-by: Steve Longerbeam
---
drivers/staging/media/imx/TODO | 23 +++
1 file changed, 23 insertions(+)
create mode 100644 drivers/staging/media/imx/TODO
diff --git a/drivers/staging/media/imx/TODO b/drivers/staging/media/imx/TODO
new file mode 100644
From: Marek Vasut
Calling S_STREAM OFF multiple times on a video device is valid, although
dubious, practice. Instead of warning about it and setting stream count
lower than zero, just ignore the subsequent S_STREAM calls and correct
the stream count to zero.
Signed-off-by: Marek Vasut
---
dri
This adds a header file for use by userspace programs wanting to interact
with the i.MX media driver. It defines custom events and v4l2 controls for
the i.MX v4l2 subdevices.
Signed-off-by: Steve Longerbeam
---
include/linux/imx-media.h | 29 +
1 file changed, 29 inse
This patch adds a call to imx_media_fill_default_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
From: Russell King
Add support for enumerating frame sizes and frame intervals from the
first subdev via the V4L2 interfaces.
Signed-off-by: Russell King
Signed-off-by: Steve Longerbeam
---
drivers/staging/media/imx/imx-media-capture.c | 73 +++
1 file changed, 73 inse
From: Philipp Zabel
The IDMAC supports burst sizes of up to 32 pixels for interleaved YUV
formats and up to 64 pixels for planar YUV formats.
Signed-off-by: Philipp Zabel
---
drivers/staging/media/imx/imx-media-csi.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/driver
From: Russell King
Add frame size and frame interval enumeration to CSI.
CSI can downscale the image independently horizontally and vertically by a
factor of two, which enumerates to four different frame sizes at the
output pads. The input pad supports a range of frame sizes.
CSI can also drop
From: Philipp Zabel
Add two new media entity function definitions for video multiplexers
and video interface bridges.
Signed-off-by: Philipp Zabel
- renamed MEDIA_ENT_F_MUX to MEDIA_ENT_F_VID_MUX
Signed-off-by: Steve Longerbeam
Acked-by: Sakari Ailus
---
Documentation/media/uapi/mediactl/m
From: Philipp Zabel
Move the crop rectangle to the sink pad and add a sink compose rectangle
to configure scaling. Also propagate rectangles from sink pad to crop
rectangle, to compose rectangle, and to the source pads both in ACTIVE
and TRY variants of set_fmt/selection, and initialize the defau
From: Philipp Zabel
This driver can handle SoC internal and external video bus multiplexers,
controlled by mux controllers provided by the mux controller framework,
such as MMIO register bitfields or GPIOs. The subdevice passes through
the mbus configuration of the active input to the output side
Enables the ADV7180 decoder sensor. The ADV7180 connects to the
parallel-bus mux input on ipu1_csi0_mux.
The ADV7180 power pin is via max7310_b port expander.
Signed-off-by: Steve Longerbeam
- Use IRQ_TYPE_LEVEL_LOW instead of 0x8 for interrupt type for clarity.
- For 8-bit parallel IPU1-CSI0 b
There is a pin conflict with GPIO_6. This pin functions as a power
input pin to the OV5642 camera sensor, but ENET uses it as the h/w
workaround for erratum ERR006687, to wake-up the ARM cores on normal
RX and TX packet done events. So we need to remove the h/w workaround
to support the OV5642. The
The sabreauto uses a steering pin to select between the SDA signal on
i2c3 bus, and a data-in pin for an SPI NOR chip. Use i2cmux to control
this steering pin. Idle state of the i2cmux selects SPI NOR. This is not
a classic way to use i2cmux, since one side of the mux selects something
other than a
Adds the OV5642 parallel-bus sensor, and the OV5640 MIPI CSI-2 sensor.
Both hang off the same i2c2 bus, so they require different (and non-
default) i2c slave addresses.
The OV5642 connects to the parallel-bus mux input port on ipu1_csi0_mux.
The OV5640 connects to the input port on the MIPI CSI-
From: Russell King
Bayer formats must be treated as generic data and passthrough mode must
be used. Add the correct setup for these formats.
Signed-off-by: Russell King
- added check to csi_link_validate() to verify that destination is
IDMAC output pad when passthrough conditions exist: bay
Signed-off-by: Steve Longerbeam
---
arch/arm/boot/dts/imx6dl.dtsi | 5 +
arch/arm/boot/dts/imx6q.dtsi | 5 +
2 files changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/imx6dl.dtsi b/arch/arm/boot/dts/imx6dl.dtsi
index 4049af7..8475e6c 100644
--- a/arch/arm/boot/dts/imx6dl.dtsi
+++
Add to the MIPI CSI2 receiver node: compatible strings,
interrupt sources, and clocks.
Signed-off-by: Steve Longerbeam
---
arch/arm/boot/dts/imx6qdl.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
index 50534dd..dd99
From: Philipp Zabel
This patch adds the device tree graph connecting the input multiplexers
to the IPU CSIs and the MIPI-CSI2 gasket on i.MX6. The MIPI_IPU
multiplexers are added as children of the iomuxc-gpr syscon device node.
On i.MX6Q/D two two-input multiplexers in front of IPU1 CSI0 and IPU
From: Philipp Zabel
The IOMUXC General Purpose Register space contains various bitfields
that control video bus multiplexers. Describe them using a mmio-mux
node. The placement of the IPU CSI video mux controls differs between
i.MX6D/Q and i.MX6S/DL.
Signed-off-by: Philipp Zabel
---
arch/arm/b
Add device tree binding documentation for the OV5640 camera sensor.
Signed-off-by: Steve Longerbeam
Acked-by: Rob Herring
---
.../devicetree/bindings/media/i2c/ov5640.txt | 45 ++
1 file changed, 45 insertions(+)
create mode 100644 Documentation/devicetree/bindings/me
Add bindings documentation for the i.MX media driver.
Signed-off-by: Steve Longerbeam
---
Documentation/devicetree/bindings/media/imx.txt | 47 +
1 file changed, 47 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/imx.txt
diff --git a/Documentati
In version 8:
- Switched to v4l2_fwnode APIs.
- Always pass a valid CSI id to ipu_set_ic_src_mux() in imx-ic-prp, even
if the IC is receiving from the VDIC. The reason is due to a bug in the
i.MX6 reference manual: from experiment it is determined that the CSI id
select bit in IPU_CONF regi
From: Philipp Zabel
Add bindings documentation for the video multiplexer device.
Signed-off-by: Sascha Hauer
Signed-off-by: Philipp Zabel
Signed-off-by: Steve Longerbeam
Acked-by: Sakari Ailus
Reviewed-by: Sebastian Reichel
Acked-by: Rob Herring
Acked-by: Pavel Machek
---
.../devicetree/
Fixed a coding style issue.
Signed-off-by: Amisha Singh
---
drivers/staging/comedi/drivers/ni_labpc_regs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/comedi/drivers/ni_labpc_regs.h
b/drivers/staging/comedi/drivers/ni_labpc_regs.h
index 8c52179..6003e9d 1
Steven Rostedt writes:
>>
>> I'm pretty sure I tested tracing this even before sending v2 of this
>> series, I'll retest before sending v7.
>
> Even if it does work, it's still fragile as it uses an
> no-longer-supported framework.
>
I hope I fixed it in v7 of my patchset, it would be great if
Migration of bns was missed out in the patch
https://patchwork.kernel.org/patch/9727725/. This patch does it by
updating relevant function pointers, just like in the patch linked
above.
Signed-off-by: Okash Khawaja
Reviewed-by: Samuel Thibault
---
drivers/staging/speakup/speakup_bns.c |8 +
On Tue, Jun 06, 2017 at 04:49:09PM +0200, Greg KH wrote:
> On Mon, Jun 05, 2017 at 04:07:29PM -0400, David Kershner wrote:
> > This patchset moves drivers/staging/unisys/include to
> > include/linux/visorbus, and moves drivers/staging/unisys/visorbus to
> > drivers/virt/visorbus.
>
> Um, are you t
Please don't send any move patches but the actual code added to the
kernel proper. And based on what's in linux-next I don't think this
giant pile of junk is anywhere near mergeable.
___
devel mailing list
[email protected]
http://driverdev.li
Hi,
On Mon, Jun 05, 2017 at 11:42:59PM -0400, Bo YU wrote:
> As checkpatch.pl reported, i fixed these complaint one by one. Maybe
> patch 04 depend on patch 02.
Thanks for the patches :) I've reviewed them all
Okash
___
devel mailing list
de...@linuxdr
On Mon, 05 Jun 2017 18:19:08 +0200
Vitaly Kuznetsov wrote:
> Steven Rostedt writes:
>
> > On Wed, 24 May 2017 14:04:05 +0200
> > Vitaly Kuznetsov wrote:
> >
> >> Add Hyper-V tracing subsystem and trace hyperv_mmu_flush_tlb_others().
> >> Tracing is done the same way we do xen_mmu_flush_tlb_o
On Mon, Jun 05, 2017 at 11:44:40PM -0400, Bo YU wrote:
> I have aligned argument with parenthesis, so checkpatch no check also.
>
> Signed-off-by: Bo YU
Reviewed-by: Okash Khawaja
> ---
> drivers/staging/speakup/serialio.c |2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff -
On Mon, Jun 05, 2017 at 11:44:26PM -0400, Bo YU wrote:
> Fixed the checkpatch.pl warning:
>
> WARNING: line over 80 characters
>
> Signed-off-by: Bo YU
Reviewed-by: Okash Khawaja
> ---
> drivers/staging/speakup/serialio.c |6 --
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
>
On Mon, Jun 05, 2017 at 11:44:11PM -0400, Bo YU wrote:
> Add a space around logical symbol '|' to wipe out checkpatch check
>
> Signed-off-by: Bo YU
Reviewed-by: Okash Khawaja
> ---
> drivers/staging/speakup/serialio.c |2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git
On Mon, Jun 05, 2017 at 11:43:55PM -0400, Bo YU wrote:
> Fixed checkpatch warning by adding a blank line after declare
> expression
>
> Signed-off-by: Bo YU
Reviewed-by: Okash Khawaja
> ---
> drivers/staging/speakup/serialio.c |1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drive
Free memory, if ipipe_s_config and ipipe_g_config are not successful.
Signed-off-by: Arvind Yadav
---
drivers/staging/media/davinci_vpfe/dm365_ipipe.c | 14 +++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/media/davinci_vpfe/dm365_ipipe.c
b/drivers/s
On Wed, Jun 7, 2017 at 2:01 PM, Vitaly Kuznetsov wrote:
> 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.
> +/* HvFlushVirtualAddressSpaceEx, HvFlushVirtualAddressListEx hypercalls */
> +struct hv_flush_pcpu_e
On Sat, Jun 03, 2017 at 09:46:36PM -0700, Steve Longerbeam wrote:
>
>
> On 06/03/2017 02:57 PM, Sakari Ailus wrote:
> >On Sat, Jun 03, 2017 at 09:51:39PM +0200, Pavel Machek wrote:
> >>Hi!
> >>
> >>+ /* Auto/manual exposure */
> >>+ ctrls->auto_exp = v4l2_ctrl_new_std_menu(hdl
On Sun, Jun 04, 2017 at 11:00:14AM -0700, Steve Longerbeam wrote:
>
>
> On 06/03/2017 11:02 AM, Steve Longerbeam wrote:
> >Hi Sakari,
> >
> >
> >On 05/29/2017 11:56 PM, Sakari Ailus wrote:
> >>Hi Steve,
> >>
> >>On Mon, May 29, 2017 at 02:50:34PM -0700, Steve Longerbeam wrote:
>
>
> >>>
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 v6:
- Drop DEFINE_TRACE() from mmu.c, change tracing magic a bit to
keep things compiling (steal the idea from
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 cal
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 HvFlushVirtual
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
---
Changes since v6:
- Fix a bug in cpumask_to_vp_set() by setting valid_bank_mask right,
add a check for > 64 banks and fall back
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
Reviewed-by: Andy Shevchenko
---
arch/x86/hyperv/hv_init.c | 34 +-
arc
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
Reviewed-by: Andy Shevchenko
---
arch/x86/include/asm/ms
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.
Signed-off-by: Vitaly Kuznetsov
Reviewed-by: Andy Shevchenko
---
arch/x86/include/asm/mshyperv.h | 34 ++
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 hyp
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
Reviewed-by: Andy Shevchenko
---
drivers/
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
Reviewed-by: Andy Shevchenko
---
arch/x86/Kbuild |
Changes since v6:
- Fix a bug in cpumask_to_vp_set() by setting valid_bank_mask right,
add a check for > 64 banks and fall back to HV_FLUSH_ALL_PROCESSORS
[Jork Loeser]
- Drop DEFINE_TRACE() from mmu.c, change tracing magic a bit to
keep things compiling (steal the idea from x86/include/asm/t
From: Antoine
Fix the following sparse endianness warnings:
drivers/staging/wlan-ng/prism2sta.c:1949:17: warning: cast to restricted __le16
drivers/staging/wlan-ng/prism2sta.c:1949:17: warning: cast to restricted __le16
drivers/staging/wlan-ng/prism2sta.c:1949:17: warning: cast to restricted __l
On Wed, Jun 07, 2017 at 06:29:06PM +1200, Derek Robson wrote:
> Fixed "function definition" issues
What exactly do you mean by this? Please be specific.
thanks,
greg k-h
___
devel mailing list
[email protected]
http://driverdev.linuxdriverp
69 matches
Mail list logo