答复: 答复: why is the the smp_mb() in arm64's barrier.h "dmb ish"?

2014-05-01 Thread KelvinKLi
Hi Leif, I think I got it. Thank you very much. -Original Message- From: Leif Lindholm [mailto:leif.lindh...@linaro.org] Sent: 2014-5-1 (星期四) 19:32 To: Kelvin K. Li Cc: linaro-dev@lists.linaro.org Subject: Re: 答复: why is the the smp_mb() in arm64's barrier.h "dmb ish"? On Thu, May 01,

Re: 答复: why is the the smp_mb() in arm64's barrier.h "dmb ish"?

2014-05-01 Thread Leif Lindholm
On Thu, May 01, 2014 at 06:49:44PM +0800, kelvin...@via-alliance.com wrote: > Another questions: > > In Arm V8 Architecture Reference Manual,there is an example (see beblow) to > explain the shareability attribute of clusters. It is easy to know: each > cluster is corresponding to a Inner sharea

答复: why is the the smp_mb() in arm64's barrier.h "dmb ish"?

2014-05-01 Thread KelvinKLi
Hi Leif, Another questions: In Arm V8 Architecture Reference Manual,there is an example (see beblow) to explain the shareability attribute of clusters. It is easy to know: each cluster is corresponding to a Inner shareable domain; the two cluster comprise a Outer shareable domain. So, how d

Re: 答复: why is the the smp_mb() in arm64's barrier.h "dmb ish"?

2014-05-01 Thread Leif Lindholm
Hi Kelvin, On Thu, May 01, 2014 at 06:08:14PM +0800, kelvin...@via-alliance.com wrote: > Why do the smp_mb()/smp_rmb()/smp_wmb() for arm (arm-32) not change to the > "dmb ishxx" too? But they do. For ARMv7, smb_mb(), smp_rmb() and smp_wmb() become dmb ish, dmb ish and dmb ishst respectively. Th

答复: why is the the smp_mb() in arm64's barrier.h "dmb ish"?

2014-05-01 Thread KelvinKLi
Hi Leif, Why do the smp_mb()/smp_rmb()/smp_wmb() for arm (arm-32) not change to the "dmb ishxx" too? Is there some consideration? -Original Message- From: Leif Lindholm [mailto:leif.lindh...@linaro.org] Sent: 2014-5-1 (星期四) 0:39 To: Kelvin K. Li Cc: linaro-dev Subject: Re: why is the t