qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: Anton Johansson <anjo@rev.ng>, qemu-devel@nongnu.org
Cc: ale@rev.ng, pbonzini@redhat.com, eduardo@habkost.net,
	peter.maydell@linaro.org, mrolnik@gmail.com,
	tsimpson@quicinc.com, gaosong@loongson.cn,
	yangxiaojuan@loongson.cn, edgar.iglesias@gmail.com,
	philmd@linaro.org, shorne@gmail.com, palmer@dabbelt.com,
	alistair.francis@wdc.com, bin.meng@windriver.com,
	ysato@users.sourceforge.jp, mark.cave-ayland@ilande.co.uk,
	atar4qemu@gmail.com, kbastian@mail.uni-paderborn.de
Subject: Re: [PATCH 00/23] Fix NB_MMU_MODES to 16
Date: Mon, 6 Mar 2023 16:58:26 -0800	[thread overview]
Message-ID: <03a8daa2-aec0-c92c-6bd5-16cd5ef13b24@linaro.org> (raw)
In-Reply-To: <20230306175230.7110-1-anjo@rev.ng>

On 3/6/23 09:52, Anton Johansson wrote:
> This patchset fixes NB_MMU_MODES to 16 for all targets, meaning the
> macro is no longer target-specific.  16 mmu modes is large enough to
> cover all currently supported targets (12 arm, 10 ppc, ...), and is the
> maxiumum supported by the softmmu tlb api.
> 
> As mentioned by Richard in response to our RFC, softmmu tlbs are
> dynamically resized and so the overhead of an unused mmu index is fairly
> low.
> 
> The grand goal is to allow for heterogeneous QEMU binaries
> consisting of multiple frontends.
> 
> RFC: https://lists.nongnu.org/archive/html/qemu-devel/2022-12/msg04518.html
> 
> Anton Johansson (23):
>    include/exec: Set default `NB_MMU_MODES` to 16
>    target/alpha: Remove `NB_MMU_MODES` define
>    target/arm: Remove `NB_MMU_MODES` define
>    target/avr: Remove `NB_MMU_MODES` define
>    target/cris: Remove `NB_MMU_MODES` define
>    target/hexagon: Remove `NB_MMU_MODES` define
>    target/hppa: Remove `NB_MMU_MODES` define
>    target/i386: Remove `NB_MMU_MODES` define
>    target/loongarch: Remove `NB_MMU_MODES` define
>    target/m68k: Remove `NB_MMU_MODES` define
>    target/microblaze: Remove `NB_MMU_MODES` define
>    target/mips: Remove `NB_MMU_MODES` define
>    target/nios2: Remove `NB_MMU_MODES` define
>    target/openrisc: Remove `NB_MMU_MODES` define
>    target/ppc: Remove `NB_MMU_MODES` define
>    target/riscv: Remove `NB_MMU_MODES` define
>    target/rx: Remove `NB_MMU_MODES` define
>    target/s390x: Remove `NB_MMU_MODES` define
>    target/sh4: Remove `NB_MMU_MODES` define
>    target/sparc: Remove `NB_MMU_MODES` define
>    target/tricore: Remove `NB_MMU_MODES` define
>    target/xtensa: Remove `NB_MMU_MODES` define
>    include/exec: Remove guards around `NB_MMU_MODES`

Thanks, queued to tcg-next.


r~


      parent reply	other threads:[~2023-03-07  0:59 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-06 17:52 [PATCH 00/23] Fix NB_MMU_MODES to 16 Anton Johansson via
2023-03-06 17:52 ` [PATCH 01/23] include/exec: Set default `NB_MMU_MODES` " Anton Johansson via
2023-03-06 18:48   ` Philippe Mathieu-Daudé
2023-03-06 17:52 ` [PATCH 02/23] target/alpha: Remove `NB_MMU_MODES` define Anton Johansson via
2023-03-06 17:52 ` [PATCH 03/23] target/arm: " Anton Johansson via
2023-03-06 18:51   ` Philippe Mathieu-Daudé
2023-03-06 17:52 ` [PATCH 04/23] target/avr: " Anton Johansson via
2023-03-06 17:52 ` [PATCH 05/23] target/cris: " Anton Johansson via
2023-03-06 17:52 ` [PATCH 06/23] target/hexagon: " Anton Johansson via
2023-03-06 17:52 ` [PATCH 07/23] target/hppa: " Anton Johansson via
2023-03-06 17:52 ` [PATCH 08/23] target/i386: " Anton Johansson via
2023-03-06 17:52 ` [PATCH 09/23] target/loongarch: " Anton Johansson via
2023-03-06 17:52 ` [PATCH 10/23] target/m68k: " Anton Johansson via
2023-03-06 17:52 ` [PATCH 11/23] target/microblaze: " Anton Johansson via
2023-03-06 17:52 ` [PATCH 12/23] target/mips: " Anton Johansson via
2023-03-06 17:52 ` [PATCH 13/23] target/nios2: " Anton Johansson via
2023-03-06 17:52 ` [PATCH 14/23] target/openrisc: " Anton Johansson via
2023-03-06 17:52 ` [PATCH 15/23] target/ppc: " Anton Johansson via
2023-03-06 17:52 ` [PATCH 16/23] target/riscv: " Anton Johansson via
2023-03-06 17:52 ` [PATCH 17/23] target/rx: " Anton Johansson via
2023-03-06 17:52 ` [PATCH 18/23] target/s390x: " Anton Johansson via
2023-03-06 17:52 ` [PATCH 19/23] target/sh4: " Anton Johansson via
2023-03-06 17:52 ` [PATCH 20/23] target/sparc: " Anton Johansson via
2023-03-06 17:52 ` [PATCH 21/23] target/tricore: " Anton Johansson via
2023-03-06 17:52 ` [PATCH 22/23] target/xtensa: " Anton Johansson via
2023-03-06 17:52 ` [PATCH 23/23] include/exec: Remove guards around `NB_MMU_MODES` Anton Johansson via
2023-03-06 18:54 ` [PATCH 00/23] Fix NB_MMU_MODES to 16 Alex Bennée
2023-03-06 18:56 ` Philippe Mathieu-Daudé
2023-03-06 21:30   ` Philippe Mathieu-Daudé
2023-03-06 18:58 ` Richard Henderson
2023-03-07  0:58 ` Richard Henderson [this message]

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=03a8daa2-aec0-c92c-6bd5-16cd5ef13b24@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=ale@rev.ng \
    --cc=alistair.francis@wdc.com \
    --cc=anjo@rev.ng \
    --cc=atar4qemu@gmail.com \
    --cc=bin.meng@windriver.com \
    --cc=edgar.iglesias@gmail.com \
    --cc=eduardo@habkost.net \
    --cc=gaosong@loongson.cn \
    --cc=kbastian@mail.uni-paderborn.de \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=mrolnik@gmail.com \
    --cc=palmer@dabbelt.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=shorne@gmail.com \
    --cc=tsimpson@quicinc.com \
    --cc=yangxiaojuan@loongson.cn \
    --cc=ysato@users.sourceforge.jp \
    /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).