public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug record/28057] New: FAIL: gdb.btrace/tsx.exp: speculation indication
Date: Tue, 06 Jul 2021 12:08:52 +0000	[thread overview]
Message-ID: <bug-28057-4717@http.sourceware.org/bugzilla/> (raw)

https://sourceware.org/bugzilla/show_bug.cgi?id=28057

            Bug ID: 28057
           Summary: FAIL: gdb.btrace/tsx.exp: speculation indication
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: record
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

Recently I started to see this fail with trunk:
...
(gdb) record instruction-history^M
1          0x00000000004004ab <main+4>: call   0x4004b7 <test>^M
2          0x00000000004004c6 <test+15>:        mov    $0x1,%eax^M
3          0x00000000004004cb <test+20>:        ret    ^M
(gdb) FAIL: gdb.btrace/tsx.exp: speculation indication
...

Looking in older testlogs, I see instead:
...
(gdb) record instruction-history^M
1          0x00000000004004aa <main+4>: call   0x4004b6 <test>^M
2       ?  0x00000000004004b6 <test+0>: xbegin 0x4004c5 <test+15>^M
3       ?  0x00000000004004bc <test+6>: mov    $0x0,%eax^M
4          0x00000000004004c1 <test+11>:        xend   ^M
5          0x00000000004004c4 <test+14>:        ret    ^M
(gdb) PASS: gdb.btrace/tsx.exp: speculation indication
...

This FAIL doesn't seem to be due to a gdb regression, I'm running into the same
fail with gdb-10-branch branchpoint, while at the time when that was current, I
didn't see this failure.

I've got this processor:
...
model name      : Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz
...
which according to
https://ark.intel.com/content/www/us/en/ark/products/88192/intel-core-i7-6600u-processor-4m-cache-up-to-3-40-ghz.html
is a "skylake" one.

Reading here (
https://en.wikipedia.org/wiki/Transactional_Synchronization_Extensions ):
...
In June 2021, Intel published a microcode update that further disables
TSX/TSX-NI on various Xeon and Core processor models from Skylake through
Coffee Lake and Whiskey Lake as a mitigation for unreliable behavior of a
performance counter in the Performance Monitoring Unit (PMU).[26] By default,
with the updated microcode, the processor would still indicate support for RTM
but would always abort the transaction.
...
it seems that the fail could be triggered by this microcode update.

Footnote refers to
https://www.intel.com/content/www/us/en/support/articles/000059422/processors.html
.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

             reply	other threads:[~2021-07-06 12:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-06 12:08 vries at gcc dot gnu.org [this message]
2021-07-06 12:12 ` [Bug record/28057] " vries at gcc dot gnu.org
2021-07-06 12:19 ` vries at gcc dot gnu.org
2021-07-06 12:25 ` markus.t.metzger at intel dot com
2021-07-12 11:26 ` [Bug testsuite/28057] " vries at gcc dot gnu.org
2021-07-12 11:31 ` vries at gcc dot gnu.org
2021-07-12 15:25 ` cvs-commit at gcc dot gnu.org
2021-07-12 15:33 ` cvs-commit at gcc dot gnu.org
2021-07-12 15:35 ` vries at gcc dot gnu.org

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=bug-28057-4717@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.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 read-only IMAP folder(s) and NNTP newsgroup(s).