* [Bug 1855072] [NEW] ARM: HCR.TVM traps are not implemented
@ 2019-12-04 9:30 Julien Freche
2020-02-16 9:47 ` [Bug 1855072] " Richard Henderson
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: Julien Freche @ 2019-12-04 9:30 UTC (permalink / raw)
To: qemu-devel
Public bug reported:
On AARCH64, setting HCR.TVM to 1 is supposed to trap all writes to
CTLR_EL1, TTBR0_EL1, TTBR1_EL1, TCR_EL1, ESR_EL1, FAR_EL1, AFSR0_EL1,
AFSR1_EL1, MAIR_EL1, AMAIR_EL1, and CONTEXTIDR_EL1. However, it
currently has no effect (QEMU emulator version 4.1.1).
It is also likely that TRVM will not trap, but, I didn't verify this.
** Affects: qemu
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1855072
Title:
ARM: HCR.TVM traps are not implemented
Status in QEMU:
New
Bug description:
On AARCH64, setting HCR.TVM to 1 is supposed to trap all writes to
CTLR_EL1, TTBR0_EL1, TTBR1_EL1, TCR_EL1, ESR_EL1, FAR_EL1, AFSR0_EL1,
AFSR1_EL1, MAIR_EL1, AMAIR_EL1, and CONTEXTIDR_EL1. However, it
currently has no effect (QEMU emulator version 4.1.1).
It is also likely that TRVM will not trap, but, I didn't verify this.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1855072/+subscriptions
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 1855072] Re: ARM: HCR.TVM traps are not implemented
2019-12-04 9:30 [Bug 1855072] [NEW] ARM: HCR.TVM traps are not implemented Julien Freche
@ 2020-02-16 9:47 ` Richard Henderson
2020-02-17 17:50 ` Richard Henderson
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Richard Henderson @ 2020-02-16 9:47 UTC (permalink / raw)
To: qemu-devel
Yes to both.
** Changed in: qemu
Status: New => In Progress
** Changed in: qemu
Assignee: (unassigned) => Richard Henderson (rth)
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1855072
Title:
ARM: HCR.TVM traps are not implemented
Status in QEMU:
In Progress
Bug description:
On AARCH64, setting HCR.TVM to 1 is supposed to trap all writes to
CTLR_EL1, TTBR0_EL1, TTBR1_EL1, TCR_EL1, ESR_EL1, FAR_EL1, AFSR0_EL1,
AFSR1_EL1, MAIR_EL1, AMAIR_EL1, and CONTEXTIDR_EL1. However, it
currently has no effect (QEMU emulator version 4.1.1).
It is also likely that TRVM will not trap, but, I didn't verify this.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1855072/+subscriptions
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 1855072] Re: ARM: HCR.TVM traps are not implemented
2019-12-04 9:30 [Bug 1855072] [NEW] ARM: HCR.TVM traps are not implemented Julien Freche
2020-02-16 9:47 ` [Bug 1855072] " Richard Henderson
@ 2020-02-17 17:50 ` Richard Henderson
2020-02-17 18:00 ` Julien Freche
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Richard Henderson @ 2020-02-17 17:50 UTC (permalink / raw)
To: qemu-devel
Patch posted:
https://lists.nongnu.org/archive/html/qemu-devel/2020-02/msg04401.html
If you could help testing, that would be appreciated.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1855072
Title:
ARM: HCR.TVM traps are not implemented
Status in QEMU:
In Progress
Bug description:
On AARCH64, setting HCR.TVM to 1 is supposed to trap all writes to
CTLR_EL1, TTBR0_EL1, TTBR1_EL1, TCR_EL1, ESR_EL1, FAR_EL1, AFSR0_EL1,
AFSR1_EL1, MAIR_EL1, AMAIR_EL1, and CONTEXTIDR_EL1. However, it
currently has no effect (QEMU emulator version 4.1.1).
It is also likely that TRVM will not trap, but, I didn't verify this.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1855072/+subscriptions
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 1855072] Re: ARM: HCR.TVM traps are not implemented
2019-12-04 9:30 [Bug 1855072] [NEW] ARM: HCR.TVM traps are not implemented Julien Freche
2020-02-16 9:47 ` [Bug 1855072] " Richard Henderson
2020-02-17 17:50 ` Richard Henderson
@ 2020-02-17 18:00 ` Julien Freche
2020-02-17 22:08 ` Julien Freche
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Julien Freche @ 2020-02-17 18:00 UTC (permalink / raw)
To: qemu-devel
Thank you for the patch! I am happy to test this for you. I will apply
the patch/compile/test and get back to you.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1855072
Title:
ARM: HCR.TVM traps are not implemented
Status in QEMU:
In Progress
Bug description:
On AARCH64, setting HCR.TVM to 1 is supposed to trap all writes to
CTLR_EL1, TTBR0_EL1, TTBR1_EL1, TCR_EL1, ESR_EL1, FAR_EL1, AFSR0_EL1,
AFSR1_EL1, MAIR_EL1, AMAIR_EL1, and CONTEXTIDR_EL1. However, it
currently has no effect (QEMU emulator version 4.1.1).
It is also likely that TRVM will not trap, but, I didn't verify this.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1855072/+subscriptions
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 1855072] Re: ARM: HCR.TVM traps are not implemented
2019-12-04 9:30 [Bug 1855072] [NEW] ARM: HCR.TVM traps are not implemented Julien Freche
` (2 preceding siblings ...)
2020-02-17 18:00 ` Julien Freche
@ 2020-02-17 22:08 ` Julien Freche
2020-02-18 15:29 ` Richard Henderson
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Julien Freche @ 2020-02-17 22:08 UTC (permalink / raw)
To: qemu-devel
I tested in AArch64 mode and it worked for me. Looking at the patch, we
might be missing trapping for "TTBCR"in AA32 though.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1855072
Title:
ARM: HCR.TVM traps are not implemented
Status in QEMU:
In Progress
Bug description:
On AARCH64, setting HCR.TVM to 1 is supposed to trap all writes to
CTLR_EL1, TTBR0_EL1, TTBR1_EL1, TCR_EL1, ESR_EL1, FAR_EL1, AFSR0_EL1,
AFSR1_EL1, MAIR_EL1, AMAIR_EL1, and CONTEXTIDR_EL1. However, it
currently has no effect (QEMU emulator version 4.1.1).
It is also likely that TRVM will not trap, but, I didn't verify this.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1855072/+subscriptions
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 1855072] Re: ARM: HCR.TVM traps are not implemented
2019-12-04 9:30 [Bug 1855072] [NEW] ARM: HCR.TVM traps are not implemented Julien Freche
` (3 preceding siblings ...)
2020-02-17 22:08 ` Julien Freche
@ 2020-02-18 15:29 ` Richard Henderson
2020-02-18 15:46 ` Julien Freche
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Richard Henderson @ 2020-02-18 15:29 UTC (permalink / raw)
To: qemu-devel
Oops. Thanks for the review. Posted v2 with ttbcr included.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1855072
Title:
ARM: HCR.TVM traps are not implemented
Status in QEMU:
In Progress
Bug description:
On AARCH64, setting HCR.TVM to 1 is supposed to trap all writes to
CTLR_EL1, TTBR0_EL1, TTBR1_EL1, TCR_EL1, ESR_EL1, FAR_EL1, AFSR0_EL1,
AFSR1_EL1, MAIR_EL1, AMAIR_EL1, and CONTEXTIDR_EL1. However, it
currently has no effect (QEMU emulator version 4.1.1).
It is also likely that TRVM will not trap, but, I didn't verify this.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1855072/+subscriptions
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 1855072] Re: ARM: HCR.TVM traps are not implemented
2019-12-04 9:30 [Bug 1855072] [NEW] ARM: HCR.TVM traps are not implemented Julien Freche
` (4 preceding siblings ...)
2020-02-18 15:29 ` Richard Henderson
@ 2020-02-18 15:46 ` Julien Freche
2020-03-10 9:03 ` Laurent Vivier
2020-04-30 13:27 ` Laurent Vivier
7 siblings, 0 replies; 9+ messages in thread
From: Julien Freche @ 2020-02-18 15:46 UTC (permalink / raw)
To: qemu-devel
Thank you! I also tested AArch32 and the code works. Ship it!
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1855072
Title:
ARM: HCR.TVM traps are not implemented
Status in QEMU:
In Progress
Bug description:
On AARCH64, setting HCR.TVM to 1 is supposed to trap all writes to
CTLR_EL1, TTBR0_EL1, TTBR1_EL1, TCR_EL1, ESR_EL1, FAR_EL1, AFSR0_EL1,
AFSR1_EL1, MAIR_EL1, AMAIR_EL1, and CONTEXTIDR_EL1. However, it
currently has no effect (QEMU emulator version 4.1.1).
It is also likely that TRVM will not trap, but, I didn't verify this.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1855072/+subscriptions
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 1855072] Re: ARM: HCR.TVM traps are not implemented
2019-12-04 9:30 [Bug 1855072] [NEW] ARM: HCR.TVM traps are not implemented Julien Freche
` (5 preceding siblings ...)
2020-02-18 15:46 ` Julien Freche
@ 2020-03-10 9:03 ` Laurent Vivier
2020-04-30 13:27 ` Laurent Vivier
7 siblings, 0 replies; 9+ messages in thread
From: Laurent Vivier @ 2020-03-10 9:03 UTC (permalink / raw)
To: qemu-devel
Fixed here:
https://git.qemu.org/?p=qemu.git;a=commitdiff;h=84929218512c
** Changed in: qemu
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1855072
Title:
ARM: HCR.TVM traps are not implemented
Status in QEMU:
Fix Committed
Bug description:
On AARCH64, setting HCR.TVM to 1 is supposed to trap all writes to
CTLR_EL1, TTBR0_EL1, TTBR1_EL1, TCR_EL1, ESR_EL1, FAR_EL1, AFSR0_EL1,
AFSR1_EL1, MAIR_EL1, AMAIR_EL1, and CONTEXTIDR_EL1. However, it
currently has no effect (QEMU emulator version 4.1.1).
It is also likely that TRVM will not trap, but, I didn't verify this.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1855072/+subscriptions
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 1855072] Re: ARM: HCR.TVM traps are not implemented
2019-12-04 9:30 [Bug 1855072] [NEW] ARM: HCR.TVM traps are not implemented Julien Freche
` (6 preceding siblings ...)
2020-03-10 9:03 ` Laurent Vivier
@ 2020-04-30 13:27 ` Laurent Vivier
7 siblings, 0 replies; 9+ messages in thread
From: Laurent Vivier @ 2020-04-30 13:27 UTC (permalink / raw)
To: qemu-devel
** Changed in: qemu
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1855072
Title:
ARM: HCR.TVM traps are not implemented
Status in QEMU:
Fix Released
Bug description:
On AARCH64, setting HCR.TVM to 1 is supposed to trap all writes to
CTLR_EL1, TTBR0_EL1, TTBR1_EL1, TCR_EL1, ESR_EL1, FAR_EL1, AFSR0_EL1,
AFSR1_EL1, MAIR_EL1, AMAIR_EL1, and CONTEXTIDR_EL1. However, it
currently has no effect (QEMU emulator version 4.1.1).
It is also likely that TRVM will not trap, but, I didn't verify this.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1855072/+subscriptions
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2020-04-30 13:54 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-04 9:30 [Bug 1855072] [NEW] ARM: HCR.TVM traps are not implemented Julien Freche
2020-02-16 9:47 ` [Bug 1855072] " Richard Henderson
2020-02-17 17:50 ` Richard Henderson
2020-02-17 18:00 ` Julien Freche
2020-02-17 22:08 ` Julien Freche
2020-02-18 15:29 ` Richard Henderson
2020-02-18 15:46 ` Julien Freche
2020-03-10 9:03 ` Laurent Vivier
2020-04-30 13:27 ` Laurent Vivier
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.