Re: [RFC PATCH 1/3] PCI: iproc: generate proper configuration access cycles

2015-10-30 Thread Arnd Bergmann
On Tuesday 27 October 2015 10:18:20 Jisheng Zhang wrote: > On Mon, 26 Oct 2015 10:18:14 -0700 Ray Jui wrote: > > > Hi Jisheng, > > > > On 10/26/2015 4:02 AM, Jisheng Zhang wrote: > > > Inspired by Russell King's patch[1], I found current iproc also has the > > > same issue of "reading 32-bits

Re: [RFC PATCH 1/3] PCI: iproc: generate proper configuration access cycles

2015-10-30 Thread Arnd Bergmann
On Tuesday 27 October 2015 10:18:20 Jisheng Zhang wrote: > On Mon, 26 Oct 2015 10:18:14 -0700 Ray Jui wrote: > > > Hi Jisheng, > > > > On 10/26/2015 4:02 AM, Jisheng Zhang wrote: > > > Inspired by Russell King's patch[1], I found current iproc also has the > > > same issue of

Re: [RFC PATCH 1/3] PCI: iproc: generate proper configuration access cycles

2015-10-26 Thread Jisheng Zhang
On Mon, 26 Oct 2015 10:18:14 -0700 Ray Jui wrote: > Hi Jisheng, > > On 10/26/2015 4:02 AM, Jisheng Zhang wrote: > > Inspired by Russell King's patch[1], I found current iproc also has the > > same issue of "reading 32-bits from the command register, modifying the > > command register, and then

Re: [RFC PATCH 1/3] PCI: iproc: generate proper configuration access cycles

2015-10-26 Thread Ray Jui
Hi Jisheng, On 10/26/2015 4:02 AM, Jisheng Zhang wrote: Inspired by Russell King's patch[1], I found current iproc also has the same issue of "reading 32-bits from the command register, modifying the command register, and then writing it back has the effect of clearing any status bits that were

[RFC PATCH 1/3] PCI: iproc: generate proper configuration access cycles

2015-10-26 Thread Jisheng Zhang
Inspired by Russell King's patch[1], I found current iproc also has the same issue of "reading 32-bits from the command register, modifying the command register, and then writing it back has the effect of clearing any status bits that were indicating at that time" as pointed out by Russell. This

[RFC PATCH 1/3] PCI: iproc: generate proper configuration access cycles

2015-10-26 Thread Jisheng Zhang
Inspired by Russell King's patch[1], I found current iproc also has the same issue of "reading 32-bits from the command register, modifying the command register, and then writing it back has the effect of clearing any status bits that were indicating at that time" as pointed out by Russell. This

Re: [RFC PATCH 1/3] PCI: iproc: generate proper configuration access cycles

2015-10-26 Thread Jisheng Zhang
On Mon, 26 Oct 2015 10:18:14 -0700 Ray Jui wrote: > Hi Jisheng, > > On 10/26/2015 4:02 AM, Jisheng Zhang wrote: > > Inspired by Russell King's patch[1], I found current iproc also has the > > same issue of "reading 32-bits from the command register, modifying the > > command

Re: [RFC PATCH 1/3] PCI: iproc: generate proper configuration access cycles

2015-10-26 Thread Ray Jui
Hi Jisheng, On 10/26/2015 4:02 AM, Jisheng Zhang wrote: Inspired by Russell King's patch[1], I found current iproc also has the same issue of "reading 32-bits from the command register, modifying the command register, and then writing it back has the effect of clearing any status bits that were