Re: [gem5-users] X86 CLFLUSH Flush Cache Line Instruction

2019-11-27 Thread Abhishek Singh
Hi , I do not know about the secure bit implementation, if you want to implement something similar, what I would do is to follow what ARM does and try to replicate it in x86 On Wed, Nov 27, 2019 at 8:49 AM Muralidharan K wrote: > Abhishek, > > In a similar query on secure bit/flag, Jason Lowe-P

Re: [gem5-users] X86 CLFLUSH Flush Cache Line Instruction

2019-11-27 Thread Muralidharan K
Abhishek, In a similar query on secure bit/flag, Jason Lowe-Power had mentioned that the same (secure bit) is used only for ARM ISA in GEM5 and not for X86 ISA.. Am I missing something here? Bala On Mon, Nov 25, 2019 at 10:12 PM Abhishek Singh < abhishek.singh199...@gmail.com> wrote: > Hey, > Y

Re: [gem5-users] X86 CLFLUSH Flush Cache Line Instruction

2019-11-27 Thread Muralidharan K
Abhishek, Thanks for the info, will try out the same. Bala On Mon, Nov 25, 2019 at 10:12 PM Abhishek Singh < abhishek.singh199...@gmail.com> wrote: > Hey, > You can do that, just go to the decoder code and make the secure flag high > > The code should be located at src/arch/x86/isa/ > > On Mon,

Re: [gem5-users] X86 CLFLUSH Flush Cache Line Instruction

2019-11-25 Thread Abhishek Singh
Hey, You can do that, just go to the decoder code and make the secure flag high The code should be located at src/arch/x86/isa/ On Mon, Nov 25, 2019 at 11:20 AM Muralidharan K wrote: > Hello, > > I am aware that the above instruction has been implemented in the latest > build of gem5, but wante

[gem5-users] X86 CLFLUSH Flush Cache Line Instruction

2019-11-25 Thread Muralidharan K
Hello, I am aware that the above instruction has been implemented in the latest build of gem5, but wanted to know if we can make changes in Gem5 to only allow such instructions to run only in secure processes and with secure kernel privileges and not allowed to run in user application mode. Can w