* [RFC PATCH] target/i386: Report TPR accesses to HVF
@ 2025-06-16 9:06 Philippe Mathieu-Daudé
2025-07-01 16:35 ` Philippe Mathieu-Daudé
2025-07-02 2:29 ` Zhao Liu
0 siblings, 2 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2025-06-16 9:06 UTC (permalink / raw)
To: qemu-devel
Cc: Paolo Bonzini, Wei Liu, Roman Bolshakov, Phil Dennis-Jordan,
Zhao Liu, Philippe Mathieu-Daudé,
Sergio Andres Gomez Del Real
HVF should be able to handle task priority register accesses.
Cc: Sergio Andres Gomez Del Real <Sergio.G.DelReal@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
RFC: Untested as I don't have access to such setup, noticed
during code review.
---
target/i386/helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/i386/helper.c b/target/i386/helper.c
index e0aaed3c4c4..a0555e74cc6 100644
--- a/target/i386/helper.c
+++ b/target/i386/helper.c
@@ -549,7 +549,7 @@ void cpu_report_tpr_access(CPUX86State *env, TPRAccess access)
X86CPU *cpu = env_archcpu(env);
CPUState *cs = env_cpu(env);
- if (kvm_enabled() || whpx_enabled() || nvmm_enabled()) {
+ if (kvm_enabled() || whpx_enabled() || nvmm_enabled() || hvf_enabled()) {
env->tpr_access_type = access;
cpu_interrupt(cs, CPU_INTERRUPT_TPR);
--
2.49.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [RFC PATCH] target/i386: Report TPR accesses to HVF
2025-06-16 9:06 [RFC PATCH] target/i386: Report TPR accesses to HVF Philippe Mathieu-Daudé
@ 2025-07-01 16:35 ` Philippe Mathieu-Daudé
2025-07-02 2:29 ` Zhao Liu
1 sibling, 0 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2025-07-01 16:35 UTC (permalink / raw)
To: qemu-devel
Cc: Paolo Bonzini, Wei Liu, Roman Bolshakov, Phil Dennis-Jordan,
Zhao Liu, Sergio Andres Gomez Del Real, Peter Maydell
Ping?
On 16/6/25 11:06, Philippe Mathieu-Daudé wrote:
> HVF should be able to handle task priority register accesses.
>
> Cc: Sergio Andres Gomez Del Real <Sergio.G.DelReal@gmail.com>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> RFC: Untested as I don't have access to such setup, noticed
> during code review.
> ---
> target/i386/helper.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/target/i386/helper.c b/target/i386/helper.c
> index e0aaed3c4c4..a0555e74cc6 100644
> --- a/target/i386/helper.c
> +++ b/target/i386/helper.c
> @@ -549,7 +549,7 @@ void cpu_report_tpr_access(CPUX86State *env, TPRAccess access)
> X86CPU *cpu = env_archcpu(env);
> CPUState *cs = env_cpu(env);
>
> - if (kvm_enabled() || whpx_enabled() || nvmm_enabled()) {
> + if (kvm_enabled() || whpx_enabled() || nvmm_enabled() || hvf_enabled()) {
> env->tpr_access_type = access;
>
> cpu_interrupt(cs, CPU_INTERRUPT_TPR);
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFC PATCH] target/i386: Report TPR accesses to HVF
2025-06-16 9:06 [RFC PATCH] target/i386: Report TPR accesses to HVF Philippe Mathieu-Daudé
2025-07-01 16:35 ` Philippe Mathieu-Daudé
@ 2025-07-02 2:29 ` Zhao Liu
1 sibling, 0 replies; 3+ messages in thread
From: Zhao Liu @ 2025-07-02 2:29 UTC (permalink / raw)
To: Philippe Mathieu-Daudé
Cc: qemu-devel, Paolo Bonzini, Wei Liu, Roman Bolshakov,
Phil Dennis-Jordan, Sergio Andres Gomez Del Real
On Mon, Jun 16, 2025 at 11:06:32AM +0200, Philippe Mathieu-Daudé wrote:
> Date: Mon, 16 Jun 2025 11:06:32 +0200
> From: Philippe Mathieu-Daudé <philmd@linaro.org>
> Subject: [RFC PATCH] target/i386: Report TPR accesses to HVF
> X-Mailer: git-send-email 2.49.0
>
> HVF should be able to handle task priority register accesses.
>
> Cc: Sergio Andres Gomez Del Real <Sergio.G.DelReal@gmail.com>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> RFC: Untested as I don't have access to such setup, noticed
> during code review.
> ---
> target/i386/helper.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Untested too. But code looks fine for me,
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-07-02 2:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-16 9:06 [RFC PATCH] target/i386: Report TPR accesses to HVF Philippe Mathieu-Daudé
2025-07-01 16:35 ` Philippe Mathieu-Daudé
2025-07-02 2:29 ` Zhao Liu
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).