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

2017-10-16 Thread Matthias Brugger
On 10/16/2017 08:38 AM, Weiyi Lu wrote: On Tue, 2017-10-10 at 17:45 +0200, Matthias Brugger wrote: On 08/22/2017 12:28 PM, 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

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

2017-10-15 Thread Weiyi Lu
On Tue, 2017-10-10 at 17:45 +0200, Matthias Brugger wrote: > > On 08/22/2017 12:28 PM, 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

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

2017-10-10 Thread Matthias Brugger
On 08/22/2017 12:28 PM, 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 prote

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

2017-08-22 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