[PATCH] binder: fix incorrect calculation for num_valid

2019-12-13 Thread Todd Kjos
For BINDER_TYPE_PTR and BINDER_TYPE_FDA transactions, the num_valid local was calculated incorrectly causing the range check in binder_validate_ptr() to miss out-of-bounds offsets. Fixes: bde4a19fc04f ("binder: use userspace pointer as base of buffer space") Signed-off-by: Todd Kjos --- drivers/

[PATCH v2 00/24] drivers, fs: y2038 updates

2019-12-13 Thread Arnd Bergmann
These are updates to devidce drivers and file systems that for some reason or another were not included in the kernel in the previous y2038 series. I've gone through all users of time_t again to make sure the kernel is in a long-term maintainable state. Posting these as a series for better organi

Re: [PATCH v3 01/10] dt-bindings: add documentation of xilinx clocking wizard

2019-12-13 Thread Rob Herring
On Thu, Nov 28, 2019 at 12:06:08PM +0530, shubhrajyoti.da...@gmail.com wrote: > From: Shubhrajyoti Datta > > Add the devicetree binding for the xilinx clocking wizard. > > Signed-off-by: Shubhrajyoti Datta > --- > .../bindings/clock/xlnx,clocking-wizard.txt| 32 > +

Re: [PATCH v3 02/10] clk: clock-wizard: Move the clockwizard to clk

2019-12-13 Thread Rob Herring
On Thu, Nov 28, 2019 at 12:06:09PM +0530, shubhrajyoti.da...@gmail.com wrote: > From: Shubhrajyoti Datta > > Move the clocking wizard driver from staging to clk. > > Signed-off-by: Shubhrajyoti Datta > --- > drivers/clk/Kconfig | 6 + > drivers/clk/Makefile|

Re: [PATCH v6 2/2] dt-bindings: iio: accel: add binding documentation for ADIS16240

2019-12-13 Thread Rob Herring
On Sat, 7 Dec 2019 01:53:39 -0300, Rodrigo Carvalho wrote: > This patch add device tree binding documentation for ADIS16240. > > Signed-off-by: Rodrigo Carvalho > --- > V6: > - Update SPDX license identifier > > .../bindings/iio/accel/adi,adis16240.yaml | 49 +++ > 1 file

[PATCH 0/2] media: cedrus: hevc: Minor fixes

2019-12-13 Thread Jernej Skrabec
I noticed that some HEVC videos are not decoded correctly. It turns out that same workaround which works for H264 also works for HEVC. Crash is in HEVC more noticable. Any HEVC video decoding afterwards produces only green screen. Second patch just adds missing luma bit depth which was probably ov

[PATCH 2/2] media: cedrus: hevc: Add luma bit depth

2019-12-13 Thread Jernej Skrabec
Signed-off-by: Jernej Skrabec --- drivers/staging/media/sunxi/cedrus/cedrus_h265.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/media/sunxi/cedrus/cedrus_h265.c b/drivers/staging/media/sunxi/cedrus/cedrus_h265.c index 5a207f1e137c..13e58977309f 100644 --- a/drivers/staging

[PATCH 1/2] media: cedrus: Fix decoding for some HEVC videos

2019-12-13 Thread Jernej Skrabec
It seems that for some HEVC videos at least one bitstream parsing trigger must be called in order to be decoded correctly. There is no explanation why this helps, but it was observed that several videos with this fix are now decoded correctly and there is no regression with others. Without this fi

[PATCH v2 3/4] media: uapi: hevc: Add segment address field

2019-12-13 Thread Jernej Skrabec
If HEVC frame consists of multiple slices, segment address has to be known in order to properly decode it. Add segment address field to slice parameters. Signed-off-by: Jernej Skrabec --- Documentation/media/uapi/v4l/ext-ctrls-codec.rst | 5 - include/media/hevc-ctrls.h

[PATCH v2 4/4] media: cedrus: hevc: Add support for multiple slices

2019-12-13 Thread Jernej Skrabec
Now that segment address is available, support for multi-slice frames can be easily added. Signed-off-by: Jernej Skrabec --- .../staging/media/sunxi/cedrus/cedrus_h265.c | 26 --- .../staging/media/sunxi/cedrus/cedrus_video.c | 1 + 2 files changed, 17 insertions(+), 10 deletio

[PATCH v2 0/4] media: cedrus: hevc: Add support for scaling matrix and multi-slice frames

2019-12-13 Thread Jernej Skrabec
Currently there is no control for HEVC scaling matrix and segment address field is also missing. This series adds those and implements support for them in Cedrus driver. Following videos were used for testing: - scaling matrix: http://jernej.libreelec.tv/videos/h265/slist_test.mp4 - multi-slice: h

[PATCH v2 2/4] media: cedrus: hevc: Add support for scaling matrix

2019-12-13 Thread Jernej Skrabec
HEVC frames may use scaling list feature. Add support for it. Signed-off-by: Jernej Skrabec --- drivers/staging/media/sunxi/cedrus/cedrus.c | 7 ++ drivers/staging/media/sunxi/cedrus/cedrus.h | 1 + .../staging/media/sunxi/cedrus/cedrus_dec.c | 2 + .../staging/media/sunxi/cedrus/cedrus

[PATCH v2 1/4] media: uapi: hevc: Add scaling matrix control

2019-12-13 Thread Jernej Skrabec
HEVC has a scaling matrix concept. Add support for it. Signed-off-by: Jernej Skrabec --- .../media/uapi/v4l/ext-ctrls-codec.rst| 41 +++ .../media/uapi/v4l/pixfmt-compressed.rst | 1 + drivers/media/v4l2-core/v4l2-ctrls.c | 10 + include/media/hevc-ctrl

[PATCH RFC v2 4/9] staging: most: configfs: use strlcpy

2019-12-13 Thread Christian Gromm
This patch uses strlcpy to copy data provided by userspace in order to not overflow the allocated space. Signed-off-by: Christian Gromm --- v2: This patch has beed added to the series. drivers/staging/most/configfs.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff

[PATCH RFC v2 9/9] staging: most: Documentation: move ABI description files out of staging area

2019-12-13 Thread Christian Gromm
This patch moves the ABI description fils sysfs-bus-most and configfs-most to the kernel's documentation folder. Signed-off-by: Christian Gromm --- v2: .../ABI/configfs-most.txt => Documentation/ABI/testing/configfs-most | 0 .../ABI/sysfs-bus-most.txt => Documentation/ABI/testing/sysfs-bu

[PATCH RFC v2 8/9] staging: most: Documentation: update ABI description

2019-12-13 Thread Christian Gromm
This patch updates the ABI description files to be in sync with current implementation. Signed-off-by: Christian Gromm --- v2: .../most/Documentation/ABI/configfs-most.txt | 8 .../most/Documentation/ABI/sysfs-bus-most.txt | 24 +++--- 2 files changed, 3 ins

[PATCH RFC v2 5/9] staging: most: configfs: reduce array size

2019-12-13 Thread Christian Gromm
This patch reduces the size of the arrays inside the mdev_link struct to a reasonable value. Reported-by: Joe Perches Signed-off-by: Christian Gromm --- v2: This patch has been added to the series. drivers/staging/most/configfs.c | 16 +--- 1 file changed, 9 insertions(+),

[PATCH RFC v2 7/9] staging: most: move core files out of the staging area

2019-12-13 Thread Christian Gromm
This patch moves the core module to the /drivers/most directory and makes all necessary changes in order to not break the build. Signed-off-by: Christian Gromm --- v2: drivers/Kconfig| 1 + drivers/Makefile | 1 + drivers/most/Kcon

[PATCH RFC v2 1/9] staging: most: rename core.h to most.h

2019-12-13 Thread Christian Gromm
This patch renames the core header file core.h to most.h. The intention behind this is to have a meaningful name once this file is moved to the /include/linux directory. Signed-off-by: Christian Gromm --- v2: drivers/staging/most/cdev/cdev.c| 2 +- drivers/staging/most/configfs.c

[PATCH RFC v2 0/9] staging: most: move core module out of staging

2019-12-13 Thread Christian Gromm
The MOST driver was pushed to the staging area with kernel 4.3. Since then it has encountered many refinements by the community and should be ready for an upstream audit and to be moved out of the staging area. Since the driver consists of multiple modules the core module is about to go first and t

[PATCH RFC v2 6/9] staging: most: use angle brackets in include path

2019-12-13 Thread Christian Gromm
This patch replaces the double quotes in all include paths with angle brackets. Signed-off-by: Christian Gromm --- v2: drivers/staging/most/cdev/cdev.c | 2 +- drivers/staging/most/dim2/dim2.c | 2 +- drivers/staging/most/i2c/i2c.c | 2 +- drivers/staging/most/net/net.c | 2 +- driv

[PATCH RFC v2 2/9] staging: most: rename struct core_component

2019-12-13 Thread Christian Gromm
The stuctures defined in the most.h header file will be exposed to the kernel once the file is moved out of the staging area. That's why the name is changed into something more descriptive. Reported-by: Greg Kroah-Hartman Signed-off-by: Christian Gromm --- v2: This patch has been added t

[PATCH RFC v2 3/9] staging: most: rename enum mbo_status_flags

2019-12-13 Thread Christian Gromm
The data structures of the most.h header file will be exposed to the kernel once the file is moved out of the staging area. This is why the name is prefixed with the string 'most'. Reported-by: Greg Kroah-Hartman Signed-off-by: Christian Gromm --- v2: This patch has been added to the ser

next/pending-fixes bisection: boot on meson-gxl-s905x-khadas-vim

2019-12-13 Thread kernelci.org bot
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This automated bisection report was sent to you on the basis * * that you may be involved with the breaking commit it has * * found. No manual investigation has been done to verify it, * * and the root cause of the problem

Re: [PATCH] media: imx7-mipi-csis: remove subdev_notifier

2019-12-13 Thread Rui Miguel Silva
Hi Hans, On Fri, Dec 13, 2019 at 08:59:22AM +0100, Hans Verkuil wrote: > On 12/12/19 8:17 PM, Rui Miguel Silva wrote: > > It was defined a notifier in the csi_state structure that is never > > allocated. And besides that it's unregister in the remove, even > > though it is a no-op, just remove both