Re: [PATCH v5 6/9] soc: mediatek: extend bus protection API

2017-10-19 Thread Matthias Brugger
On 10/19/2017 04:48 AM, Weiyi Lu wrote: > MT2712 add "set/clear" bus control register to each control register set > instead of providing only one "enable" control register, we could avoid > the read-modify-write racing by using extend API with such new design. > By improving the mtk-infracfg bus

[PATCH v5 6/9] soc: mediatek: extend bus protection API

2017-10-18 Thread Weiyi Lu
MT2712 add "set/clear" bus control register to each control register set instead of providing only one "enable" control register, we could avoid the read-modify-write racing by using extend API with such new design. By improving the mtk-infracfg bus protection implementation to support set/clear bu