qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Taylor Simpson <tsimpson@quicinc.com>
To: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: SIGSEGV question (Hexagon)
Date: Mon, 4 Nov 2019 22:59:26 +0000	[thread overview]
Message-ID: <BYAPR02MB4886C25E683DEAFB1B8121FCDE7F0@BYAPR02MB4886.namprd02.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 790 bytes --]

Philippe suggested that I run the TCG tests for Hexagon.  Thanks Philippe!!

I discovered that I'm not handling SIGSEGV properly.  We pass other signal tests, but not this one.  I'm hoping someone can help.  The first thing that I realized is that I hadn't provided a tlb_fill function for CPUClass.  What is this function supposed to do?  I looked at other targets and found they are setting cs->exception_index to something and then call cpu_loop_exit_restore.  I tried various values for exception_index, but the best I seem to get is re-executing the offending instruction forever.

Any insight would be greatly appreciated.

Thanks,
Taylor


PS  The only other bug that these tests uncovered was that truncate isn't implemented properly.  This was straightforward to fix.


[-- Attachment #2: Type: text/html, Size: 5251 bytes --]

             reply	other threads:[~2019-11-04 23:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-04 22:59 Taylor Simpson [this message]
2019-11-05 10:13 ` SIGSEGV question (Hexagon) Alex Bennée
2019-11-05 19:30   ` Taylor Simpson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BYAPR02MB4886C25E683DEAFB1B8121FCDE7F0@BYAPR02MB4886.namprd02.prod.outlook.com \
    --to=tsimpson@quicinc.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).