All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1783437] [NEW] read-modify-write page faults error code has write bit unset
@ 2018-07-24 23:58 Fabian Hemmer
  2021-05-02  5:47 ` [Bug 1783437] " Thomas Huth
  2021-07-02  4:17 ` Launchpad Bug Tracker
  0 siblings, 2 replies; 3+ messages in thread
From: Fabian Hemmer @ 2018-07-24 23:58 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Consider the attached C file, which does a read-modify-write of the form
`add [mem], reg`, where `mem` points to a non-present page. In the
resulting page fault, the W/R bit is not set, while real hardware does
set this bit.

% gcc -m32 qemu-bug1.c&& ./a.out && qemu-i386 ./a.out
page fault: addr=0x70000000 err=0x6
page fault: addr=0x70000000 err=0x4

Tested on the qemu-3.0.0-rc1 release.

** Affects: qemu
     Importance: Undecided
         Status: New

** Attachment added: "qemu-bug1.c"
   https://bugs.launchpad.net/bugs/1783437/+attachment/5167345/+files/qemu-bug1.c

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1783437

Title:
  read-modify-write page faults error code has write bit unset

Status in QEMU:
  New

Bug description:
  Consider the attached C file, which does a read-modify-write of the
  form `add [mem], reg`, where `mem` points to a non-present page. In
  the resulting page fault, the W/R bit is not set, while real hardware
  does set this bit.

  % gcc -m32 qemu-bug1.c&& ./a.out && qemu-i386 ./a.out
  page fault: addr=0x70000000 err=0x6
  page fault: addr=0x70000000 err=0x4

  Tested on the qemu-3.0.0-rc1 release.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1783437/+subscriptions

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 1783437] Re: read-modify-write page faults error code has write bit unset
  2018-07-24 23:58 [Qemu-devel] [Bug 1783437] [NEW] read-modify-write page faults error code has write bit unset Fabian Hemmer
@ 2021-05-02  5:47 ` Thomas Huth
  2021-07-02  4:17 ` Launchpad Bug Tracker
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Huth @ 2021-05-02  5:47 UTC (permalink / raw)
  To: qemu-devel

The QEMU project is currently considering to move its bug tracking to
another system. For this we need to know which bugs are still valid
and which could be closed already. Thus we are setting older bugs to
"Incomplete" now.

If you still think this bug report here is valid, then please switch
the state back to "New" within the next 60 days, otherwise this report
will be marked as "Expired". Or please mark it as "Fix Released" if
the problem has been solved with a newer version of QEMU already.

Thank you and sorry for the inconvenience.


** Changed in: qemu
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1783437

Title:
  read-modify-write page faults error code has write bit unset

Status in QEMU:
  Incomplete

Bug description:
  Consider the attached C file, which does a read-modify-write of the
  form `add [mem], reg`, where `mem` points to a non-present page. In
  the resulting page fault, the W/R bit is not set, while real hardware
  does set this bit.

  % gcc -m32 qemu-bug1.c&& ./a.out && qemu-i386 ./a.out
  page fault: addr=0x70000000 err=0x6
  page fault: addr=0x70000000 err=0x4

  Tested on the qemu-3.0.0-rc1 release.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1783437/+subscriptions


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 1783437] Re: read-modify-write page faults error code has write bit unset
  2018-07-24 23:58 [Qemu-devel] [Bug 1783437] [NEW] read-modify-write page faults error code has write bit unset Fabian Hemmer
  2021-05-02  5:47 ` [Bug 1783437] " Thomas Huth
@ 2021-07-02  4:17 ` Launchpad Bug Tracker
  1 sibling, 0 replies; 3+ messages in thread
From: Launchpad Bug Tracker @ 2021-07-02  4:17 UTC (permalink / raw)
  To: qemu-devel

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1783437

Title:
  read-modify-write page faults error code has write bit unset

Status in QEMU:
  Expired

Bug description:
  Consider the attached C file, which does a read-modify-write of the
  form `add [mem], reg`, where `mem` points to a non-present page. In
  the resulting page fault, the W/R bit is not set, while real hardware
  does set this bit.

  % gcc -m32 qemu-bug1.c&& ./a.out && qemu-i386 ./a.out
  page fault: addr=0x70000000 err=0x6
  page fault: addr=0x70000000 err=0x4

  Tested on the qemu-3.0.0-rc1 release.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1783437/+subscriptions


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-02  4:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-24 23:58 [Qemu-devel] [Bug 1783437] [NEW] read-modify-write page faults error code has write bit unset Fabian Hemmer
2021-05-02  5:47 ` [Bug 1783437] " Thomas Huth
2021-07-02  4:17 ` Launchpad Bug Tracker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.