Thanks Daniel - this patch fixes the problem for me.
On 05/06/2020, 11:09, "Daniel Carvalho via gem5-dev" <[email protected]> wrote:
Hello Timothy,
I believe this patch is fixing that:
https://gem5-review.googlesource.com/c/public/gem5/+/29974
Regards,Daniel
Em sexta-feira, 5 de junho de 2020 11:42:44 GMT+2, Timothy Hayes via
gem5-dev <[email protected]> escreveu:
I’ve just rebased onto v20.0.0.1 and am finding that the RubyPrefetcher is
not working with MESI_Three_Level correctly anymore.
There is a segmentation fault when RubyPrefetcher.cc executes
m_controller->enqueuePrefetch
I can’t quite work out why this is happening. Oddly, enqueuePrefetch is a
virtual public function defined in AbstractController.hh. Its implementation is
in the autogenerated L0Cache_Controller.[cc|hh], however, here it is private
and doesn’t use the virtual/override keyword. I thought this might be the
issue, but I see in v19 it is exactly the same and it works fine there.
warn: CheckedInt already exists in allParams. This may be caused by the
Python 2.7 compatibility layer.
warn: Enum already exists in allParams. This may be caused by the Python
2.7 compatibility layer.
warn: ScopedEnum already exists in allParams. This may be caused by the
Python 2.7 compatibility layer.
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.
gem5 version 20.0.0.1
gem5 compiled Jun 4 2020 19:18:07
gem5 started Jun 5 2020 10:26:41
gem5 executing on tsx-rdrd, pid 13187
command line: ./gem5/build/ARM_MESI_Three_Level/gem5.opt
./gem5/configs/example/fs.py --ruby --num-cpus=1 --mem-type=SimpleMemory
--mem-size=4GB --cpu-type=TimingSimpleCPU --kernel=vmlinux.vexpress_gem5_v1_64
--machine-type=VExpress_GEM5_V1 --disk-image=disk.img --script=script.sh
--enable-prefetch
warn: You are trying to use Ruby on ARM, which is not working properly yet.
Global frequency set at 1000000000000 ticks per second
info: kernel located at: dist/binaries/vmlinux.vexpress_gem5_v1_64
warn: Highest ARM exception-level set to AArch32 but the workload is for
AArch64. Assuming you wanted these to match.
system.vncserver: Listening for connections on port 5900
system.terminal: Listening for connections on port 3456
system.realview.uart1.device: Listening for connections on port 3457
system.realview.uart2.device: Listening for connections on port 3458
system.realview.uart3.device: Listening for connections on port 3459
0: system.remote_gdb: listening for remote gdb on port 7000
info: Using bootloader at address 0x10
info: Using kernel entry physical address at 0x80080000
info: Loading DTB file: m5out/system.dtb at address 0x88000000
**** REAL SIMULATION ****
warn: Existing EnergyCtrl, but no enabled DVFSHandler found.
info: Entering event queue @ 0. Starting simulation...
warn: Replacement policy updates recently became the responsibility of
SLICC state machines. Make sure to setMRU() near callbacks in .sm files!
warn: SCReg: Access to unknown device dcc0:site0:pos0:fn7:dev0
warn: Cache maintenance operations are not supported in Ruby.
gem5 has encountered a segmentation fault!
--- BEGIN LIBC BACKTRACE ---
./gem5/build/ARM_MESI_Three_Level/gem5.opt(_Z15print_backtracev+0x2c)[0x56110817369c]
./gem5/build/ARM_MESI_Three_Level/gem5.opt(+0xbdf76f)[0x56110818276f]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12890)[0x7f516f641890]
./gem5/build/ARM_MESI_Three_Level/gem5.opt(_ZN14RubyPrefetcher16initializeStreamEmijRK15RubyRequestType+0x1a1)[0x561109336151]
./gem5/build/ARM_MESI_Three_Level/gem5.opt(_ZN14RubyPrefetcher11observeMissEmRK15RubyRequestType+0x5a7)[0x561109337627]
./gem5/build/ARM_MESI_Three_Level/gem5.opt(_ZN18L0Cache_Controller14po_observeMissERP11L0Cache_TBERP13L0Cache_Entrym+0x104)[0x561108652fa4]
./gem5/build/ARM_MESI_Three_Level/gem5.opt(_ZN18L0Cache_Controller18doTransitionWorkerE13L0Cache_Event13L0Cache_StateRS1_RP11L0Cache_TBERP13L0Cache_Entrym+0xc64)[0x56110865d2b4]
./gem5/build/ARM_MESI_Three_Level/gem5.opt(_ZN18L0Cache_Controller12doTransitionE13L0Cache_EventP13L0Cache_EntryP11L0Cache_TBEm+0x3d1)[0x56110865db01]
./gem5/build/ARM_MESI_Three_Level/gem5.opt(_ZN18L0Cache_Controller6wakeupEv+0x15d1)[0x561108660b51]
./gem5/build/ARM_MESI_Three_Level/gem5.opt(_ZN10EventQueue10serviceOneEv+0xa5)[0x561108179335]
./gem5/build/ARM_MESI_Three_Level/gem5.opt(_Z9doSimLoopP10EventQueue+0x108)[0x5611081939a8]
./gem5/build/ARM_MESI_Three_Level/gem5.opt(_Z8simulatem+0xa5a)[0x5611081946fa]
./gem5/build/ARM_MESI_Three_Level/gem5.opt(+0x2237390)[0x5611097da390]
./gem5/build/ARM_MESI_Three_Level/gem5.opt(+0xc45d40)[0x5611081e8d40]
IMPORTANT NOTICE: The contents of this email and any attachments are
confidential and may also be privileged. If you are not the intended recipient,
please notify the sender immediately and do not disclose the contents to any
other person, use it for any purpose, or store or copy the information in any
medium. Thank you.
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
IMPORTANT NOTICE: The contents of this email and any attachments are
confidential and may also be privileged. If you are not the intended recipient,
please notify the sender immediately and do not disclose the contents to any
other person, use it for any purpose, or store or copy the information in any
medium. Thank you.
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s