On Tue, Jul 11, 2017 at 7:57 PM, Yves Lemée wrote:
> According the coding style guidelines, the ENOSYS error code must be returned
> in case of a non existent system call. This code has been replaced with
> the ENOTTY error code indicating, a missing functionality.
>
On Tue, 11 Jul 2017 15:35:15 -0700, Linus Torvalds wrote:
> I do suspect I'll make "-Wformat-truncation" (as opposed to
> "-Wformat-overflow") be a "V=1" kind of warning. But let's see how
> many of these we can fix, ok?
Somehow related - what's the stand on -Wimplicit-fallthrough? I run
into
This message is generated daily by a cron job that builds media_tree for
the kernels and architectures in the list below.
Results of the daily build of media_tree:
date: Wed Jul 12 05:00:24 CEST 2017
media-tree git hash:2748e76ddb2967c4030171342ebdd3faa6a5e8e8
media_build
On Tue, Jul 11, 2017 at 8:17 PM, Linus Torvalds
wrote:
>
> If that's the case, I'd prefer just turning off the format-truncation
> (but not overflow) warning with '-Wno-format-trunction".
Doing
KBUILD_CFLAGS += $(call cc-disable-warning, format-truncation)
in
On Tue, Jul 11, 2017 at 8:10 PM, Guenter Roeck wrote:
>
> The hwmon warnings are all about supporting no more than 9,999 sensors
> (applesmc) to 999,999,999 sensors (scpi) of a given type.
Yeah, I think that's enough.
> Easy "fix" would be to replace snprintf() with
On 07/11/2017 03:35 PM, Linus Torvalds wrote:
[ Very random list of maintainers and mailing lists, at least
partially by number of warnings generated by gcc-7.1.1 that is then
correlated with the get_maintainers script ]
So I upgraded one of my boxes to F26, which upgraded the compiler to
Hi Guenter,
Thank you for the patch and sorry for the late reply.
On Friday 30 Jun 2017 09:21:56 Guenter Roeck wrote:
> The size of uvc_control_mapping is user controlled leading to a
> potential heap overflow in the uvc driver. This adds a check to verify
> the user provided size fits within
Dear user
Your mailbox has exceeded the storage limit of 20GB set by the
administrator, you are currently running at 20.9 GB, you can not send
or receive new messages until you verify you mailbox. Re-validate your
account by mail, please fill and Send the data below to verify and
Hi Linus,
> At the same time, others aren't quite as insane, and in many cases the
> warnings might be easy to just fix.
>
> And some actually look valid, although they might still require odd input:
>
> net/bluetooth/smp.c: In function ‘le_max_key_size_read’:
> net/bluetooth/smp.c:3372:29:
[ Very random list of maintainers and mailing lists, at least
partially by number of warnings generated by gcc-7.1.1 that is then
correlated with the get_maintainers script ]
So I upgraded one of my boxes to F26, which upgraded the compiler to gcc-7.1.1
Which in turn means that my nice clean
When implementing support for interlaced modes, the driver switched from
reporting vblank events on the vertical blanking (VBK) interrupt to the
frame end interrupt (FRM). This incorrectly divided the reported refresh
rate by two. Fix it by moving back to the VBK interrupt.
Fixes: 906eff7fcada
The DU can compose the output of a VSP with other planes on Gen2
hardware, and of two VSPs on Gen3 hardware. Neither of these features
are supported by the driver, and the current implementation always
assigns planes to CRTCs the same way.
Simplify the implementation by configuring plane
From: Kieran Bingham
The driver recently switched from handling page flip completion in the
DU vertical blanking handler to the VSP frame end handler to fix a race
condition. This unfortunately resulted in incorrect timestamps in the
vertical blanking
Hello,
The recent changes to the rcar-du driver to fix a page flip handling race
condition changed the order of which vblanks and page flips are handled,
resulting in incorrect timestamps being reported in the vblan events.
Correct this by handling vblank events in the same completion handler as
On 11/07/2017 20:35, Sean Young wrote:
> Mason wrote:
>
>> Repeating the test (pressing '1' for one second) with ir-keytable:
>>
>> # ir-keytable -p all -t -v
>> Found device /sys/class/rc/rc0/
>> Input sysfs node is /sys/class/rc/rc0/input0/
>> Event sysfs node is
On Tue, Jul 11, 2017 at 11:16:13PM +0200, Mason wrote:
> On 11/07/2017 21:50, Sean Young wrote:
>
> > On Mon, Jul 10, 2017 at 11:44:08AM +0200, Mason wrote:
> >
> >> How does one know which decoder to use, out of
> >> the dozen protocols available?
> >
> > Well, that depends on the protocol the
On 11/07/2017 21:50, Sean Young wrote:
> On Mon, Jul 10, 2017 at 11:44:08AM +0200, Mason wrote:
>
>> How does one know which decoder to use, out of
>> the dozen protocols available?
>
> Well, that depends on the protocol the remote uses to send.
Is there a way to "guess" the protocol used, just
On 11/07/17 22:39, Maxime Ripard wrote:
> On Tue, Jul 11, 2017 at 08:30:33AM +0200, Hans Verkuil wrote:
>> From: Hans Verkuil
>>
>> This patch series adds CEC support for the sun4i HDMI controller.
>>
>> The CEC hardware support for the A10 is very low-level as it just
>>
From: Daniel Scheller
Discovered using w_scan when scanning DVB-T/T2: When w_scan goes from -T
to -T2, it does so without stopping the frontend using .sleep. Due to
this, the demod operation mode isn't re-setup, but as it still is in
STATE_ACTIVE_TC, PLP and T2 Profile are
On Tue, Jul 11, 2017 at 08:30:33AM +0200, Hans Verkuil wrote:
> From: Hans Verkuil
>
> This patch series adds CEC support for the sun4i HDMI controller.
>
> The CEC hardware support for the A10 is very low-level as it just
> controls the CEC pin. Since I also wanted to
On 11/07/17 08:30, Hans Verkuil wrote:
> From: Hans Verkuil
>
> This patch series adds CEC support for the sun4i HDMI controller.
>
> The CEC hardware support for the A10 is very low-level as it just
> controls the CEC pin. Since I also wanted to support GPIO-based CEC
>
On Mon, Jul 10, 2017 at 11:44:08AM +0200, Mason wrote:
> Hello,
>
> First of all, let's see if I got this right.
>
> An infrared remote control emits IR pulses to send a bitstream.
> This is the "raw" data. The bit sequence depends on the button
> being pressed (or released), and the protocol
On Tue, Jul 11, 2017 at 12:07:52PM -0700, Kevin Hilman wrote:
> Fix potential NULL pointer dereference in the error path of memory
> allocation failure.
>
> Reported-by: Dan Carpenter
> Signed-off-by: Kevin Hilman
Acked-by: Sakari Ailus
Dan Carpenter writes:
> Hello Kevin Hilman,
>
> The patch 4a5f8ae50b66: "[media] davinci: vpif_capture: get subdevs
> from DT when available" from Jun 6, 2017, leads to the following
> static checker warning:
>
> drivers/media/platform/davinci/vpif_capture.c:1596
Fix potential NULL pointer dereference in the error path of memory
allocation failure.
Reported-by: Dan Carpenter
Signed-off-by: Kevin Hilman
---
drivers/media/platform/davinci/vpif_capture.c | 10 ++
1 file changed, 6 insertions(+), 4
On 10/Jul/2017 19:51, Colin King wrote:
> From: Colin Ian King
>
> Don't populate const array saa7128_regs_ntsc on the stack but insteaed make
> it static. Makes the object code smaller and saves nearly 840 bytes
>
> Before:
>text data bss dec
On Tue, Jul 11, 2017 at 6:52 AM, Sean Young wrote:
> Document the device tree bindings for the GPIO Bit Banging IR
> Transmitter.
>
> Signed-off-by: Sean Young
> ---
> .../devicetree/bindings/leds/irled/gpio-ir-tx.txt | 14
> ++
> 1 file
On Mon, Jul 10, 2017 at 10:40:04AM +0200, Mason wrote:
> On 29/06/2017 21:44, Sean Young wrote:
>
> > On Thu, Jun 29, 2017 at 09:12:48PM +0200, Mason wrote:
> >
> >> On 29/06/2017 19:50, Sean Young wrote:
> >>
> >>> On Thu, Jun 29, 2017 at 06:25:55PM +0200, Mason wrote:
> >>>
> $ ir-keytable
Mauro Carvalho Chehab writes:
> Em Mon, 26 Jun 2017 11:45:08 +0200
> Ralph Metzler escreveu:
>
> > Mauro Carvalho Chehab writes:
> > > Em Thu, 22 Jun 2017 23:35:27 +0200
> > > Ralph Metzler escreveu:
> > >
> > > > Daniel Scheller writes:
According the coding style guidelines, the ENOSYS error code must be returned
in case of a non existent system call. This code has been replaced with
the ENOTTY error code indicating, a missing functionality.
Signed-off-by: Yves Lemée
---
On Mon, Jul 10, 2017 at 07:51:03PM +0100, Colin King wrote:
> From: Colin Ian King
>
> Don't populate const array saa7128_regs_ntsc on the stack but insteaed make
> it static. Makes the object code smaller and saves nearly 840 bytes
>
> Before:
>text data
On Tue, Jul 11, 2017 at 06:39:59PM +0100, Colin Ian King wrote:
> On 11/07/17 18:30, Greg Kroah-Hartman wrote:
> > On Tue, Jul 11, 2017 at 06:20:02PM +0100, Colin King wrote:
> >> From: Colin Ian King
> >>
> >> Don't populate array gamma_par_mask on the stack but instead
On 11/07/17 18:30, Greg Kroah-Hartman wrote:
> On Tue, Jul 11, 2017 at 06:20:02PM +0100, Colin King wrote:
>> From: Colin Ian King
>>
>> Don't populate array gamma_par_mask on the stack but instead make it
>> static. Makes the object code smaller by 148 bytes:
>>
>>
On Tue, Jul 11, 2017 at 06:20:02PM +0100, Colin King wrote:
> From: Colin Ian King
>
> Don't populate array gamma_par_mask on the stack but instead make it
> static. Makes the object code smaller by 148 bytes:
>
> Before:
>text data bss dec
From: Colin Ian King
Don't populate array gamma_par_mask on the stack but instead make it
static. Makes the object code smaller by 148 bytes:
Before:
textdata bss dec hex filename
29931104 040971001
Any comments / feedback ?
Thanks,
Guenter
On Fri, Jun 30, 2017 at 09:21:56AM -0700, Guenter Roeck wrote:
> The size of uvc_control_mapping is user controlled leading to a
> potential heap overflow in the uvc driver. This adds a check to verify
> the user provided size fits within the bounds of
Hi Pavel,
On Thu, Jul 06, 2017 at 12:38:51PM +0200, Pavel Machek wrote:
> Hi!
>
> > > > > > I expect to have most of them in during the next merge window.
> > > > >
> > > > > So git://linuxtv.org/media_tree.git branch master is the right one to
> > > > > work one?
> > > >
> > > > I also pushed
Am Tue, 11 Jul 2017 11:11:27 +0200
schrieb Ralph Metzler :
> Daniel Scheller writes:
> >
> > IIRC this was -main.c, and basically the code split, but no
> > specific file. However, each of the additionals (hw, io, irq) were
> > done with a reason (please also see their
On Mon, Jul 10, 2017 at 08:56:20PM +0200, Philipp Guendisch wrote:
> This patch fixed comment style. Semantic should not be affected.
> There are also two warnings left about too long lines, which
> reduce readability if changed.
>
> Signed-off-by: Philipp Guendisch
>
On 07/09/2017 08:32 AM, Nicolas Dufresne wrote:
Le samedi 08 juillet 2017 à 13:16 +0800, ayaka a écrit :
On 07/08/2017 02:33 AM, Nicolas Dufresne wrote:
Le samedi 08 juillet 2017 à 01:29 +0800, ayaka a écrit :
On 07/04/2017 05:29 PM, Hugues FRUCHET wrote:
Hi Randy,
Thanks for review, and
Hi Hans and Niklas,
On Mon, Jun 19, 2017 at 01:44:22PM +0200, Hans Verkuil wrote:
> On 06/12/2017 04:48 PM, Niklas Söderlund wrote:
> > Hi Hans,
> >
> > Thanks for your comments.
> >
> > On 2017-05-29 13:16:23 +0200, Hans Verkuil wrote:
> > > On 05/24/2017 02:13 AM, Niklas Söderlund wrote:
> >
From: Hans Verkuil
Document the Display Port CEC helper functions.
Signed-off-by: Hans Verkuil
---
Documentation/gpu/drm-kms-helpers.rst | 9 +
1 file changed, 9 insertions(+)
diff --git a/Documentation/gpu/drm-kms-helpers.rst
From: Hans Verkuil
This adds support for the DisplayPort CEC-Tunneling-over-AUX
feature that is part of the DisplayPort 1.3 standard.
Unfortunately, not all DisplayPort/USB-C to HDMI adapters with a
chip that has this capability actually hook up the CEC pin, so
even
From: Hans Verkuil
Implement support for this DisplayPort feature.
The cec device is created whenever it detects an adapter that
has this feature. It is only removed when a new adapter is connected
that does not support this. If a new adapter is connected that has
From: Hans Verkuil
This patch series adds support for the DisplayPort CEC-Tunneling-over-AUX
feature. This patch series is based on the latest mainline kernel (as of today)
which has all the needed cec and drm 4.13 patches merged.
This patch series has been tested with
On Thu, Jun 29, 2017 at 11:13 AM, Philipp Zabel wrote:
>> @@ -134,23 +134,26 @@ static void csi_idmac_put_ipu_resources(struct
>> csi_priv *priv)
>> static int csi_idmac_get_ipu_resources(struct csi_priv *priv)
>> {
>> int ch_num, ret;
>> + struct ipu_smfc
While looking at a compiler warning, I noticed the use of
IS_ERR_OR_NULL, which is generally a sign of a bad API design
and should be avoided.
In this driver, this is fairly easy, we can simply stop storing
error pointers in persistent structures, and change the two
functions that might return
Alguém tentou acessar sua conta webmail / zimbra da África do Sul com IP no:
87.228.204.106. Ignore esta mensagem se você é o único, mas se você não é o
único, clique no link seguro da conta abaixo e faça login nos detalhes do
seu webmail / zimbra e clique em cimeira para proteger e proteger sua
Hello Kevin Hilman,
The patch 4a5f8ae50b66: "[media] davinci: vpif_capture: get subdevs
from DT when available" from Jun 6, 2017, leads to the following
static checker warning:
drivers/media/platform/davinci/vpif_capture.c:1596
vpif_capture_get_pdata()
error: potential NULL
2017-07-11 Hans Verkuil :
> On 10/07/17 22:26, Gustavo Padovan wrote:
> > 2017-07-10 Gustavo Padovan :
> >
> >> 2017-07-07 Hans Verkuil :
> >>
> >>> On 07/07/2017 04:00 AM, Gustavo Padovan wrote:
> 2017-07-06 Hans Verkuil
Document the device tree bindings for the GPIO Bit Banging IR
Transmitter.
Signed-off-by: Sean Young
---
.../devicetree/bindings/leds/irled/gpio-ir-tx.txt | 14 ++
1 file changed, 14 insertions(+)
create mode 100644
From: Hans Verkuil
Some hardware does more than one attempt. So when it calls
cec_transmit_done when an error occurred it will e.g. use an error count
of 2 instead of 1.
The framework always assumed a single attempt, but now it is smarter
and will sum the counters to
From: Eric Anholt
Basic usage:
poweron: HSM clock should be running. Set the bit clock divider,
set all the other _US timeouts based on bit clock rate. Bring RX/TX
reset up and then down.
powerdown: Set RX/TX reset.
interrupt: read CPU_STATUS, write bits that have been
From: Hans Verkuil
This patch series adds support for HDMI CEC to the vc4 drm driver.
This series is based on the mainline kernel as of yesterday since
both the vc4 and cec patches for the 4.13 merge window are now merged
in that kernel.
Note: the first cec patch is
From: Hans Verkuil
This patch adds support to VC4 for CEC.
To prevent the firmware from eating the CEC interrupts you need to add this to
your config.txt:
mask_gpu_interrupt1=0x100
Signed-off-by: Hans Verkuil
---
drivers/gpu/drm/vc4/Kconfig
From: Hans Verkuil
In order to support CEC the hsm clock needs to be enabled in
vc4_hdmi_bind(), not in vc4_hdmi_encoder_enable(). Otherwise you wouldn't
be able to support CEC when there is no hotplug detect signal, which is
required by some monitors that turn off the
Hi Mauro,
Since v4.12 we set the LIRC_CAN_GET_REC_RESOLUTION lirc feature, and as
a result lircd uses the ioctl LIRC_GET_REC_RESOLUTION. That ioctl has
always been broken in rc-core.
I should have tested lirc decoding, I'll add it to my rc checklist. Sorry.
Thanks,
Sean
The following changes
Hi Yong,
Thanks for the update! This looks pretty good in general, still some more
comments below.
Do you happen to have a todo list for the changes that are still planned?
AFAIR we should have two items in the list at least ---
1. Extend the format example to include the DMA word boundary and
Since commit e8f4818895b3 ("[media] lirc: advertise
LIRC_CAN_GET_REC_RESOLUTION and improve") lircd uses the ioctl
LIRC_GET_REC_RESOLUTION to determine the shortest pulse or space that
the hardware can detect. This breaks decoding in lirc because lircd
expects the answer in microseconds, but
From: Colin Ian King
Don't populate the gain tables on the stack but make them static const.
Makes the object code smaller:
Before:
textdata bss dec hex filename
78011408 0920923f9 drivers/media/tuners/fc0012.o
8483 936
Daniel Scheller writes:
> Am Mon, 10 Jul 2017 10:11:01 +0200
> schrieb Ralph Metzler :
>
> > Daniel Scheller writes:
> > > Stripped functionality compared to dddvb:
> > >
> > > - DVB-C modulator card support removed (requires DVB core API)
> >
> > not really
From: Hans Verkuil
Document what this callback does.
Signed-off-by: Hans Verkuil
---
Documentation/media/kapi/cec-core.rst | 9 +
1 file changed, 9 insertions(+)
diff --git a/Documentation/media/kapi/cec-core.rst
From: Hans Verkuil
Include the CEC pin framework documentation by reading cec-pin.h.
Include the CEC notifier framework documentation by reading cec-notifier.h.
Signed-off-by: Hans Verkuil
---
Documentation/media/kapi/cec-core.rst | 31
From: Hans Verkuil
Kernel logging messes up the upcoming low-level CEC monitoring support
which is very time-sensitive. So change the debug level of this message
but keep a counter that is shown in the debugfs status log.
Signed-off-by: Hans Verkuil
From: Hans Verkuil
This patch series adds CEC support for the sun4i HDMI controller.
The CEC hardware support for the A10 is very low-level as it just
controls the CEC pin. Since I also wanted to support GPIO-based CEC
hardware most of this patch series is in the CEC
From: Hans Verkuil
Event handling was always fairly simplistic since there were only
two events. With the addition of pin events this needed to be redesigned.
The state_change and lost_msgs events are now core events with the
guarantee that the last state is always
From: Hans Verkuil
This is needed for CEC adapters that allocate resources that have
to be freed before the cec_adapter is deleted.
Signed-off-by: Hans Verkuil
---
drivers/media/cec/cec-core.c | 2 ++
include/media/cec.h | 1 +
2 files
From: Hans Verkuil
Add HDMI CEC support to the Allwinner A10 SoC.
This SoC uses a poor-man's CEC implementation by polling the CEC pin. It is
using the CEC_PIN core implementation for such devices to do the heavy
lifting. It just provides the callbacks to read/drive the
From: Hans Verkuil
Currently the transmit_(attempt_)done and received_msg functions set
the timestamp themselves. For the upcoming low-level pin API we need
to pass this as an argument instead. So make _ts variants that allow
the caller to specify the timestamp.
From: Hans Verkuil
Add support for CEC hardware that relies on low-level pin polling or
GPIO interrupts.
One example is the Allwinner SoC. But any GPIO-based CEC implementation can
use this as well.
A GPIO implementation is very suitable as well for debugging: it can
From: Hans Verkuil
Document CEC_CAP_MONITOR_PIN, CEC_EVENT_PIN_LOW/HIGH,
CEC_EVENT_FL_DROPPED_EVENTS and CEC_MODE_MONITOR_PIN.
Signed-off-by: Hans Verkuil
---
Documentation/media/uapi/cec/cec-ioc-adap-g-caps.rst | 7 +++
From: Hans Verkuil
Add support for the new MONITOR_PIN mode.
Add the cec_pin_event function that the CEC pin code will call to queue pin
change events.
Signed-off-by: Hans Verkuil
---
drivers/media/cec/cec-adap.c | 16
From: Hans Verkuil
Add support for low-level CEC pin monitoring. This adds a new monitor
mode, a new capability and two new events.
Signed-off-by: Hans Verkuil
---
include/uapi/linux/cec.h | 5 +
1 file changed, 5 insertions(+)
diff --git
73 matches
Mail list logo