From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: qemu-devel@nongnu.org
Cc: "Daniel Henrique Barboza" <danielhb413@gmail.com>,
"David Gibson" <david@gibson.dropbear.id.au>,
"Xiaojuan Yang" <yangxiaojuan@loongson.cn>,
"Mark Cave-Ayland" <mark.cave-ayland@ilande.co.uk>,
"Bin Meng" <bin.meng@windriver.com>,
"Richard Henderson" <richard.henderson@linaro.org>,
"Artyom Tarasenko" <atar4qemu@gmail.com>,
"Cédric Le Goater" <clg@kaod.org>,
"Song Gao" <gaosong@loongson.cn>,
"Alistair Francis" <alistair.francis@wdc.com>,
qemu-ppc@nongnu.org, "Laurent Vivier" <laurent@vivier.eu>,
"Palmer Dabbelt" <palmer@dabbelt.com>,
"Taylor Simpson" <tsimpson@quicinc.com>,
"Greg Kurz" <groug@kaod.org>,
qemu-riscv@nongnu.org, "Max Filippov" <jcmvbkbc@gmail.com>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>
Subject: [PATCH 09/10] target/sparc/sysemu: Remove pointless CONFIG_USER_ONLY guard
Date: Fri, 16 Dec 2022 23:05:38 +0100 [thread overview]
Message-ID: <20221216220539.7065-10-philmd@linaro.org> (raw)
In-Reply-To: <20221216220539.7065-1-philmd@linaro.org>
Commit caac44a52a ("target/sparc: Make sparc_cpu_tlb_fill sysemu
only") restricted mmu_helper.c to system emulation. Checking
whether CONFIG_USER_ONLY is defined is now pointless.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
target/sparc/mmu_helper.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/target/sparc/mmu_helper.c b/target/sparc/mmu_helper.c
index 919448a494..a7e51e4b7d 100644
--- a/target/sparc/mmu_helper.c
+++ b/target/sparc/mmu_helper.c
@@ -924,7 +924,6 @@ hwaddr sparc_cpu_get_phys_page_debug(CPUState *cs, vaddr addr)
return phys_addr;
}
-#ifndef CONFIG_USER_ONLY
G_NORETURN void sparc_cpu_do_unaligned_access(CPUState *cs, vaddr addr,
MMUAccessType access_type,
int mmu_idx,
@@ -942,4 +941,3 @@ G_NORETURN void sparc_cpu_do_unaligned_access(CPUState *cs, vaddr addr,
cpu_raise_exception_ra(env, TT_UNALIGNED, retaddr);
}
-#endif /* !CONFIG_USER_ONLY */
--
2.38.1
next prev parent reply other threads:[~2022-12-16 22:17 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-16 22:05 [PATCH 00/10] target/misc: Header cleanups around "cpu.h" Philippe Mathieu-Daudé
2022-12-16 22:05 ` [PATCH 01/10] target/hppa/helper: Include missing "cpu.h" header Philippe Mathieu-Daudé
2022-12-17 0:30 ` Richard Henderson
2022-12-16 22:05 ` [PATCH 02/10] target/hexagon: Declare hexagon_regnames[] in "cpu.h" Philippe Mathieu-Daudé
2022-12-16 22:48 ` Taylor Simpson
2022-12-17 0:33 ` Richard Henderson
2022-12-16 22:05 ` [PATCH 03/10] target/loongarch/cpu: Remove unused "sysbus.h" header Philippe Mathieu-Daudé
2022-12-17 0:34 ` Richard Henderson
2022-12-17 12:26 ` Bernhard Beschow
2022-12-17 13:26 ` Philippe Mathieu-Daudé
2022-12-16 22:05 ` [PATCH 04/10] target/loongarch/cpu: Restrict "memory.h" header to sysemu Philippe Mathieu-Daudé
2022-12-17 0:37 ` Richard Henderson
2022-12-16 22:05 ` [PATCH 05/10] target/m68k/helper: Include missing "cpu.h" header Philippe Mathieu-Daudé
2022-12-17 0:37 ` Richard Henderson
2022-12-16 22:05 ` [PATCH 06/10] target/ppc/helper: " Philippe Mathieu-Daudé
2022-12-17 0:37 ` Richard Henderson
2022-12-16 22:05 ` [PATCH 07/10] target/ppc/internal: Restrict MMU declarations to sysemu Philippe Mathieu-Daudé
2022-12-17 0:38 ` Richard Henderson
2022-12-17 10:53 ` Philippe Mathieu-Daudé
2022-12-16 22:05 ` [PATCH 08/10] target/riscv/cpu: Restrict sysemu-specific fields from CPUArchState Philippe Mathieu-Daudé
2022-12-17 0:40 ` Richard Henderson
2022-12-16 22:05 ` Philippe Mathieu-Daudé [this message]
2022-12-16 22:05 ` [PATCH 10/10] target/xtensa/cpu: Include missing "memory.h" header Philippe Mathieu-Daudé
2022-12-17 0:41 ` Richard Henderson
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=20221216220539.7065-10-philmd@linaro.org \
--to=philmd@linaro.org \
--cc=alistair.francis@wdc.com \
--cc=atar4qemu@gmail.com \
--cc=bin.meng@windriver.com \
--cc=clg@kaod.org \
--cc=danielhb413@gmail.com \
--cc=david@gibson.dropbear.id.au \
--cc=gaosong@loongson.cn \
--cc=groug@kaod.org \
--cc=jcmvbkbc@gmail.com \
--cc=laurent@vivier.eu \
--cc=mark.cave-ayland@ilande.co.uk \
--cc=palmer@dabbelt.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=qemu-riscv@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=tsimpson@quicinc.com \
--cc=yangxiaojuan@loongson.cn \
/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 NNTP newsgroup(s).