Re: [linux-sunxi] Re: [PATCH] bus: sunxi-rsb: Return correct data when mixing 16-bit and 8-bit reads

2020-02-20 Thread Chen-Yu Tsai
On Wed, Feb 19, 2020 at 8:14 PM Ondřej Jirman wrote: > > On Wed, Feb 19, 2020 at 10:49:18AM +0800, Chen-Yu Tsai wrote: > > On Wed, Feb 19, 2020 at 9:10 AM Ondrej Jirman wrote: > > > > > > When doing a 16-bit read that returns data in the MSB byte, the > > > RSB_DATA register will keep the MSB byt

[linux-sunxi] [PATCH 0/2] sunxi: clean up defconfig files

2020-02-20 Thread Andre Przywara
With some recent additions and some old cruft, there are some config options that were defined in *almost* every board defconfig file for Allwinner SoCs. This "almost" seems to point to bugs, either those options were missed by mistake or failed to properly synchronise (when a new board defconfig c

[linux-sunxi] [PATCH 1/2] sunxi: Move common defconfig options to Kconfig

2020-02-20 Thread Andre Przywara
Some config symbols are found in *almost* every _defconfig file for Allwinner boards, because those options are actually a platform choice, and not a per-board decision. Some of these options are older, some have recently been added. Move those options to be set for all Allwinner boards in their r

[linux-sunxi] [PATCH 2/2] sunxi: Remove no longer needed default options from defconfigs

2020-02-20 Thread Andre Przywara
Now that those common Allwinner config symbols are defined automatically for all boards in their Kconfig files, we can remove the now redundant definitions from the boards' _defconfig files. Some boards had a differing definiton for some of those symbols, it looks like mostly to "merge races" when

[linux-sunxi] Re: [PATCH] bus: sunxi-rsb: Return correct data when mixing 16-bit and 8-bit reads

2020-02-20 Thread Ondřej Jirman
Hi, On Thu, Feb 20, 2020 at 06:32:13PM +0100, Maxime Ripard wrote: > On Wed, Feb 19, 2020 at 02:09:50AM +0100, Ondrej Jirman wrote: > > When doing a 16-bit read that returns data in the MSB byte, the > > RSB_DATA register will keep the MSB byte unchanged when doing > > the following 8-bit read. su