Re: [RFC] [AARCH64] Add support for new control bits CTR_EL0.DIC and CTR_EL0.IDC

2019-08-28 Thread Shaokun Zhang
Hi Kyrill, On 2019/8/28 16:57, Kyrill Tkachov wrote: > Hi Shaokun, > > On 8/28/19 9:47 AM, Shaokun Zhang wrote: >> Hi Kyrill, >> >> On 2019/8/27 18:16, Kyrill Tkachov wrote: >>> Hi Shaokun, >>> >>> On 8/22/19 3:10 PM, Shaokun Zhang wrote: The DCache clean & ICache invalidation requirements f

Re: [RFC] [AARCH64] Add support for new control bits CTR_EL0.DIC and CTR_EL0.IDC

2019-08-28 Thread Kyrill Tkachov
Hi Shaokun, On 8/28/19 9:47 AM, Shaokun Zhang wrote: Hi Kyrill, On 2019/8/27 18:16, Kyrill Tkachov wrote: Hi Shaokun, On 8/22/19 3:10 PM, Shaokun Zhang wrote: The DCache clean & ICache invalidation requirements for instructions to be data coherence are discoverable through new fields in CTR_

Re: [RFC] [AARCH64] Add support for new control bits CTR_EL0.DIC and CTR_EL0.IDC

2019-08-28 Thread Shaokun Zhang
Hi Kyrill, On 2019/8/27 18:16, Kyrill Tkachov wrote: > Hi Shaokun, > > On 8/22/19 3:10 PM, Shaokun Zhang wrote: >> The DCache clean & ICache invalidation requirements for instructions >> to be data coherence are discoverable through new fields in CTR_EL0. >> Let's support the two bits if they are

Re: [RFC] [AARCH64] Add support for new control bits CTR_EL0.DIC and CTR_EL0.IDC

2019-08-27 Thread Kyrill Tkachov
Hi Shaokun, On 8/22/19 3:10 PM, Shaokun Zhang wrote: The DCache clean & ICache invalidation requirements for instructions to be data coherence are discoverable through new fields in CTR_EL0. Let's support the two bits if they are enabled, then we can get some performance benefit from this featur

[RFC] [AARCH64] Add support for new control bits CTR_EL0.DIC and CTR_EL0.IDC

2019-08-22 Thread Shaokun Zhang
The DCache clean & ICache invalidation requirements for instructions to be data coherence are discoverable through new fields in CTR_EL0. Let's support the two bits if they are enabled, then we can get some performance benefit from this feature. 2019-08-22 Shaokun Zhang * config/aarch64/sy