<div dir="ltr"><div>Good afternoon.</div><div><br></div><div>I have a question regarding TLB refill:<br></div><div>1) In the hints you ask "What happens when timer interrupt occurs when in the middle of TLB exception handling?" I don't see how that is possible. We call TLB exception handler from handle_exception_handle during which the interrupts are disabled, right? <br></div><div>2) You also asked what happens when handle_tlb_refill returns. Once again wouldn't it just return handle_exception_general?</div><div>3) My team wrote the code for TLB refill. So in theory we update the TLB with the proper entry, so once the handle_exception_returns it should go back to the instruction that caused the exception. But the code goes back to the handle_exception_general function. And I think I understand why. We experienced the same thing with timer interrupts, where we didn't reset one bit and CPU thought that interrupt was still going on and it would cycle back to handle_exception_general. So some bit is set somewhere, which tells the CPU that exception is still going on. But I don't know which bit I need to reset(or set) to calm the CPU. I suspect EXL has something to do with it, but I'm not sure. I read about it the manual over and over and it seems like it has some many meanings and different consequences that I get lost.</div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Georgii Ekserdzhian</div></div></div></div></div>