-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.m5sim.org/r/910/#review1720
-----------------------------------------------------------


Nice to see this getting resurrected... thanks, Geoff.


build_opts/ARM_wCHECKER_FS
<http://reviews.m5sim.org/r/910/#comment2204>

    I'm not too excited about exploding the number of built-in configs further 
by adding these two files.  Just saying USE_CHECKER=1 on the scons command line 
once (assuming it's sticky) doesn't seem that hard to me.
    



src/cpu/DummyChecker.py
<http://reviews.m5sim.org/r/910/#comment2206>

    What's this DummyChecker object for?



src/cpu/thread_context.hh
<http://reviews.m5sim.org/r/910/#comment2207>

    I agree with Gabe here... you're always doing things like:
    
    if (cpu->getCheckerCpuPtr()) {
      cpu->getCheckerITBPtr()->foo();
      cpu->getCheckerDTBPtr()->foo();
    }
    
    so why don't you just do:
    
    CPU *checker = cpu->getCheckerCpuPtr();
    if (checker) {
      checker->getITBPtr()->foo;
      checker->getDTBPtr()->foo;
    }
    
    which seems just as clear (if not clearer) and avoids the need for these 
extra methods.
    



src/mem/bus.cc
<http://reviews.m5sim.org/r/910/#comment2205>

    I agree with Andreas here... from Geoff's description, I think the real bug 
he's facing is that the ARM config he's using doesn't have a default responder 
on the I/O bus.  There should be something out there that if nothing else sends 
an error response packet back to the requester.  The requester can then decide 
if it wants to panic and terminate the simulation or not.
    
    If blindly accessing the default port when it's not set is causing us to 
segfault on a null pointer, then we should require that every bus has a default 
responder at config time.  We have at least one dummy/bad address device just 
for this purpose.


- Steve


On 2011-11-28 10:07:14, Geoffrey Blake wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviews.m5sim.org/r/910/
> -----------------------------------------------------------
> 
> (Updated 2011-11-28 10:07:14)
> 
> 
> Review request for Default, Ali Saidi, Gabe Black, Steve Reinhardt, and 
> Nathan Binkert.
> 
> 
> Summary
> -------
> 
> CheckerCPU: Re-factor CheckerCPU to be compatible with current gem5
> 
> Brings the CheckerCPU back to a functioning state allowing FS and SE mode
> checking of the O3CPU. These changes have only been tested with the
> ARM ISA.  Other ISAs will potentially require modification.
> 
> 
> Diffs
> -----
> 
>   build_opts/ARM_wCHECKER_FS PRE-CREATION 
>   build_opts/ARM_wCHECKER_SE PRE-CREATION 
>   src/arch/arm/isa.cc 62dee0c98d53 
>   src/arch/arm/isa/insts/m5ops.isa 62dee0c98d53 
>   src/arch/arm/isa/insts/misc.isa 62dee0c98d53 
>   src/arch/arm/table_walker.hh 62dee0c98d53 
>   src/arch/arm/table_walker.cc 62dee0c98d53 
>   src/arch/arm/tlb.hh 62dee0c98d53 
>   src/arch/arm/tlb.cc 62dee0c98d53 
>   src/arch/arm/utility.cc 62dee0c98d53 
>   src/cpu/BaseCPU.py 62dee0c98d53 
>   src/cpu/CheckerCPU.py 62dee0c98d53 
>   src/cpu/DummyChecker.py PRE-CREATION 
>   src/cpu/SConscript 62dee0c98d53 
>   src/cpu/base.cc 62dee0c98d53 
>   src/cpu/base_dyn_inst.hh 62dee0c98d53 
>   src/cpu/base_dyn_inst_impl.hh 62dee0c98d53 
>   src/cpu/checker/cpu.hh 62dee0c98d53 
>   src/cpu/checker/cpu.cc 62dee0c98d53 
>   src/cpu/checker/cpu_impl.hh 62dee0c98d53 
>   src/cpu/checker/thread_context.hh 62dee0c98d53 
>   src/cpu/dummy_checker_builder.cc PRE-CREATION 
>   src/cpu/o3/O3CPU.py 62dee0c98d53 
>   src/cpu/o3/O3Checker.py 62dee0c98d53 
>   src/cpu/o3/checker_builder.cc 62dee0c98d53 
>   src/cpu/o3/commit_impl.hh 62dee0c98d53 
>   src/cpu/o3/cpu.hh 62dee0c98d53 
>   src/cpu/o3/cpu.cc 62dee0c98d53 
>   src/cpu/o3/dyn_inst_impl.hh 62dee0c98d53 
>   src/cpu/o3/fetch_impl.hh 62dee0c98d53 
>   src/cpu/o3/iew_impl.hh 62dee0c98d53 
>   src/cpu/o3/lsq_unit_impl.hh 62dee0c98d53 
>   src/cpu/o3/thread_context.hh 62dee0c98d53 
>   src/cpu/o3/thread_context_impl.hh 62dee0c98d53 
>   src/cpu/simple/BaseSimpleCPU.py 62dee0c98d53 
>   src/cpu/simple/base.hh 62dee0c98d53 
>   src/cpu/simple/base.cc 62dee0c98d53 
>   src/cpu/simple_thread.hh 62dee0c98d53 
>   src/cpu/thread_context.hh 62dee0c98d53 
>   src/mem/bus.cc 62dee0c98d53 
> 
> Diff: http://reviews.m5sim.org/r/910/diff
> 
> 
> Testing
> -------
> 
> Successfully runs gzip in SE mode.  Successfully boots linux kernel in FS 
> mode.  Works with checkpoints and fast-forwarding. Testing with buggy O3CPUs 
> to test checker's capabilities.
> 
> 
> Thanks,
> 
> Geoffrey
> 
>

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to