[PATCH] staging: rtl8723bs: wifi_regd.c: Fix incorrect number of regulatory rules

2021-01-08 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The custom regulatory ruleset in the rtl8723bs driver lists an incorrect number of rules: one too many. This results in an out-of-bounds access, as detected by KASAN. This was possible thanks to the newly added support for KASAN on ARMv7. Fix this by filling in the correct

Re: [PATCH v3 3/6] ARM: dts: sun8i: v3s: Add node for system control

2020-12-03 Thread Chen-Yu Tsai
On Fri, Dec 4, 2020 at 12:25 AM Martin Cerveny wrote: > > Hello. > > On Thu, 3 Dec 2020, Chen-Yu Tsai wrote: > > > Hi, > > > > On Mon, Nov 16, 2020 at 8:57 PM Martin Cerveny > > wrote: > >> > >> Allwinner V3s has system control and SRAM

Re: [PATCH v3 3/6] ARM: dts: sun8i: v3s: Add node for system control

2020-12-02 Thread Chen-Yu Tsai
Hi, On Mon, Nov 16, 2020 at 8:57 PM Martin Cerveny wrote: > > Allwinner V3s has system control and SRAM C1 region similar to H3. > > Signed-off-by: Martin Cerveny > --- > arch/arm/boot/dts/sun8i-v3s.dtsi | 14 ++ > 1 file changed, 14 insertions(+) > > diff --git a/arch/arm/boot/dts/

Re: [PATCH v3 6/6] ARM: dts: sun8i: v3s: Add video engine node

2020-11-22 Thread Chen-Yu Tsai
On Mon, Nov 16, 2020 at 8:58 PM Martin Cerveny wrote: > > Allwinner V3S SoC has a video engine. > Add a node for it. > > Signed-off-by: Martin Cerveny Acked-by: Chen-Yu Tsai ___ devel mailing list de...@linuxdriverp

Re: [PATCH v3 5/6] dt-bindings: media: cedrus: Add V3s compatible

2020-11-22 Thread Chen-Yu Tsai
On Mon, Nov 16, 2020 at 8:58 PM Martin Cerveny wrote: > > Allwinner V3s SoC contains video engine. Add compatible for it. > > Signed-off-by: Martin Cerveny Acked-by: Chen-Yu Tsai ___ devel mailing list de...@linuxdriverproj

Re: [PATCH 0/7] sunxi: Remove the calls to dma_direct_set_offset

2020-11-06 Thread Chen-Yu Tsai
ve the MBUS quirks > media: cedrus: Remove the MBUS quirks > media: sun8i-di: Remove the call to of_dma_configure Whole series looks good to me. Reviewed-by: Chen-Yu Tsai Now the question remaining is how do we merge this series so that the notifier gets merged before all the code dea

Re: [PATCH v2 07/15] arm64: dts: allwinner: h5: Add system-control node with SRAM C1

2018-12-05 Thread Chen-Yu Tsai
On Wed, Dec 5, 2018 at 5:48 PM Paul Kocialkowski wrote: > > Hi, > > On Wed, 2018-12-05 at 17:45 +0800, Chen-Yu Tsai wrote: > > On Wed, Dec 5, 2018 at 5:25 PM Paul Kocialkowski > > wrote: > > > Add the H5-specific system control node description to its device-tre

Re: [PATCH v2 00/15] Cedrus H5 and A64 support with A33 and H3 updates

2018-12-05 Thread Chen-Yu Tsai
Add device-tree compatible and variant for A64 support > arm64: dts: allwinner: h5: Add Video Engine node > arm64: dts: allwinner: a64: Add Video Engine node Other than the error in patch 7, Acked-by: Chen-Yu Tsai ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH v2 07/15] arm64: dts: allwinner: h5: Add system-control node with SRAM C1

2018-12-05 Thread Chen-Yu Tsai
On Wed, Dec 5, 2018 at 5:25 PM Paul Kocialkowski wrote: > > Add the H5-specific system control node description to its device-tree > with support for the SRAM C1 section, that will be used by the video > codec node later on. > > The CPU-side SRAM address was obtained empirically while the size was

Re: [PATCH 07/15] arm64: dts: allwinner: h5: Add system-control node with SRAM C1

2018-11-29 Thread Chen-Yu Tsai
On Fri, Nov 16, 2018 at 12:52 AM Chen-Yu Tsai wrote: > > On Thu, Nov 15, 2018 at 10:50 PM Paul Kocialkowski > wrote: > > > > Add the H5-specific system control node description to its device-tree > > with support for the SRAM C1 section, that will be used by the vi

Re: [PATCH 08/15] ARM/arm64: sunxi: Move H3/H5 syscon label over to soc-specific nodes

2018-11-16 Thread Chen-Yu Tsai
On Fri, Nov 16, 2018 at 5:39 PM Maxime Ripard wrote: > > On Thu, Nov 15, 2018 at 03:50:06PM +0100, Paul Kocialkowski wrote: > > Now that we have specific nodes for the H3 and H5 system-controller > > that allow proper access to the EMAC clock configuration register, > > we no longer need a common

Re: [PATCH 07/15] arm64: dts: allwinner: h5: Add system-control node with SRAM C1

2018-11-15 Thread Chen-Yu Tsai
On Thu, Nov 15, 2018 at 10:50 PM Paul Kocialkowski wrote: > > Add the H5-specific system control node description to its device-tree > with support for the SRAM C1 section, that will be used by the video > codec node later on. > > Signed-off-by: Paul Kocialkowski > --- > arch/arm64/boot/dts/allw

Re: [PATCH 10/15] arm64: dts: allwinner: a64: Add support for the SRAM C1 section

2018-11-15 Thread Chen-Yu Tsai
On Thu, Nov 15, 2018 at 10:50 PM Paul Kocialkowski wrote: > > Add the description for the SRAM C1 section to the A64 device-tree. > > Signed-off-by: Paul Kocialkowski > --- > arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 14 ++ > 1 file changed, 14 insertions(+) > > diff --git a/ar

Re: [PATCH 04/15] soc: sunxi: sram: Enable EMAC clock access for H3 variant

2018-11-15 Thread Chen-Yu Tsai
ic binding for the syscon node > attached to the EMAC instead of the generic syscon binding. > > Signed-off-by: Paul Kocialkowski Reviewed-by: Chen-Yu Tsai ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org

Re: [PATCH 03/15] ARM: dts: sun8i-h3: Fix the system-control register range

2018-11-15 Thread Chen-Yu Tsai
> that range. > > Extend the register size to its full range (0x1000) as a result. > > Signed-off-by: Paul Kocialkowski Other than the subject format, Acked-by: Chen-Yu Tsai ___ devel mailing list de...@linuxdriverproject.org http://driverdev.lin

Re: [PATCH 02/15] ARM: dts: sun8i-h3: Remove heading 0 in video-codec unit address

2018-11-15 Thread Chen-Yu Tsai
On Thu, Nov 15, 2018 at 10:50 PM Paul Kocialkowski wrote: > > This cosmetic change removes the heading 0 in the video-codec unit > address, as it's done for other nodes. > > Signed-off-by: Paul Kocialkowski Other than the subject format we can fix when applying, Ac

Re: [PATCH 01/15] ARM: dts: sun8i-a33: Remove heading 0 in video-codec unit address

2018-11-15 Thread Chen-Yu Tsai
uot;, or "sun8i: a33:" in this case. This format seems to be used more often than your alternative format. I can fix it up when applying. Acked-by: Chen-Yu Tsai ChenYu ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linu

Re: [linux-sunxi] [PATCH 14/15] arm64: dts: allwinner: h5: Add Video Engine and reserved memory node

2018-11-15 Thread Chen-Yu Tsai
On Thu, Nov 15, 2018 at 10:51 PM Paul Kocialkowski wrote: > > This adds nodes for the Video Engine and the associated reserved memory > for the H5. Up to 96 MiB of memory are dedicated to the CMA pool. > > The pool is located at the end of the first 256 MiB of RAM so that the > VPU can access it.

Re: [PATCH 0/2] Follow-up patches for Cedrus v9

2018-09-08 Thread Chen-Yu Tsai
On Sat, Sep 8, 2018 at 6:06 PM Hans Verkuil wrote: > > On 09/07/2018 06:33 PM, Paul Kocialkowski wrote: > > This brings the requested modifications on top of version 9 of the > > Cedrus VPU driver, that implements stateless video decoding using the > > Request API. > > > > Paul Kocialkowski (2): >