summary refs log tree commit diff stats
path: root/linux-user
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-09-05 18:43:30 +0200
committerRichard Henderson <richard.henderson@linaro.org>2025-09-24 10:29:43 -0700
commit521c9e1b1adcbca90d1d84e1dc00ec63f17256ee (patch)
tree5eb0185f3deead5b2af38071ec2da7cbd014dbf5 /linux-user
parentdae1e0df49d429e76efcc0505e2519c988cf14b4 (diff)
downloadfocaccia-qemu-521c9e1b1adcbca90d1d84e1dc00ec63f17256ee.tar.gz
focaccia-qemu-521c9e1b1adcbca90d1d84e1dc00ec63f17256ee.zip
target/alpha: Simplify call_pal implementation
Since 288a5fe980f, we don't link translation blocks
directly to palcode entry points.  If we load palbr
from env instead of encoding the constant, we avoid
all need for tb_flush().

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/alpha/cpu_loop.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/linux-user/alpha/cpu_loop.c b/linux-user/alpha/cpu_loop.c
index bb8346b509..f93597c400 100644
--- a/linux-user/alpha/cpu_loop.c
+++ b/linux-user/alpha/cpu_loop.c
@@ -94,11 +94,6 @@ void cpu_loop(CPUAlphaState *env)
                 break;
             case 0x86:
                 /* IMB */
-                /* ??? We can probably elide the code using page_unprotect
-                   that is checking for self-modifying code.  Instead we
-                   could simply call tb_flush here.  Until we work out the
-                   changes required to turn off the extra write protection,
-                   this can be a no-op.  */
                 break;
             case 0x9E:
                 /* RDUNIQUE */