From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 673A1C4332F for ; Mon, 11 Dec 2023 21:56:13 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCoF4-0000EC-EN; Mon, 11 Dec 2023 16:55:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rCoF3-0000Cq-3r for qemu-devel@nongnu.org; Mon, 11 Dec 2023 16:55:09 -0500 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rCoEz-0003Fi-US for qemu-devel@nongnu.org; Mon, 11 Dec 2023 16:55:08 -0500 Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-54c70c70952so7097137a12.3 for ; Mon, 11 Dec 2023 13:55:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1702331704; x=1702936504; darn=nongnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=aF396CQf/xahnK9tLf7Jbhp/lY8WpZ39PZ0s6eBIOPk=; b=RNQVhbdpaDaU/zU4FFfbhGdw+UdRiivpwo29ctCE4t2kRtJ19kQ/HnKsClAqKN7xne xMynDWQppl2n60QfD6pTVQiLdbdoxfNDQVUgMpZDLj5dE4VXb0mfnzoC/fjkStBLPTOS gYnRRRO9V+Myx34zKiUJWdPG/f3GfWCKvm3Ua51/tHxUNtyumMmM/SckgC/RN4SbtIFq y6KKPXYYiwYpiPRqFLj7LflH9aD/eXj6KmfrvjGu8KDeAWd8N2hqGnk35FRv/OBRfY8U 9hEZ1D7Q/DTgWojmqTZff2T9s7KS8wSH4oYy3nIVejvjQQS8zNtoyYhN/pqzT9FHeDB+ xaog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702331704; x=1702936504; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aF396CQf/xahnK9tLf7Jbhp/lY8WpZ39PZ0s6eBIOPk=; b=SiTdGHVJHoVp/RX9fX3S2VfCTmL4VZj8c6YfCUFXJr70ihhAjFbsTotHfN1EAWQBni 3zMXxM6BSNPfHwbt6SuT1ZPF5JsOVdbdHsse+bOjNw4W4AdwONPn3W9pOWZwndtajLn/ VbmEpJsf5h+hdigyrizzoopjGb/QDReIPrdX/H29K2tCbWJ/urzNMmt5t2uAUFcwZ3Yi RXsbfBAXfb1b8RRj2UrfwIOMiJLz0SYi9MikIGW/XvAxN6RWAOLm1iUFVJYoahEgbz12 jZg+nmYsFkNe9H0r+mhQpAmnJJMHg9Q9MSWF7UtigGEPumfLTJTz5HvhQ317i87UPLMk 2cXg== X-Gm-Message-State: AOJu0YwOwIO5kzPyaUNGCrHBCT9fyL5OM+Zl+NLwFp/RNz976+HtHCXk Eo/XU/hEB9/QUdlX9VCxspjYrVOQxafVp3xQ+MEnLA== X-Google-Smtp-Source: AGHT+IEc9xhaxbK7OOlF/iWmgNAMI9Q4YDpb5eCvtBFgma50RLU3srp1cW+tlkxsxIlEOUuBOWnSRcRs4OPQPyEO3IQ= X-Received: by 2002:a50:955d:0:b0:54f:64f4:b6b2 with SMTP id v29-20020a50955d000000b0054f64f4b6b2mr2198492eda.59.1702331704500; Mon, 11 Dec 2023 13:55:04 -0800 (PST) MIME-Version: 1.0 References: <20231211212003.21686-1-philmd@linaro.org> <20231211212003.21686-3-philmd@linaro.org> In-Reply-To: <20231211212003.21686-3-philmd@linaro.org> From: Warner Losh Date: Mon, 11 Dec 2023 14:54:53 -0700 Message-ID: Subject: Re: [PATCH 02/24] exec: Expose 'target_page.h' API to user emulation To: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= Cc: qemu-devel@nongnu.org, Ilya Leoshkevich , Peter Xu , Liu Zhiwei , Peter Maydell , Mark Cave-Ayland , Eduardo Habkost , qemu-arm@nongnu.org, Paolo Bonzini , qemu-ppc@nongnu.org, qemu-s390x@nongnu.org, =?UTF-8?B?QWxleCBCZW5uw6ll?= , =?UTF-8?Q?Daniel_P=2E_Berrang=C3=A9?= , qemu-riscv@nongnu.org, David Hildenbrand , Claudio Fontana , Brian Cain , Daniel Henrique Barboza , Richard Henderson , Thomas Huth , =?UTF-8?B?TWFyYy1BbmRyw6kgTHVyZWF1?= Content-Type: multipart/alternative; boundary="000000000000897434060c42fcb1" Received-SPF: none client-ip=2a00:1450:4864:20::530; envelope-from=wlosh@bsdimp.com; helo=mail-ed1-x530.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org --000000000000897434060c42fcb1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Dec 11, 2023 at 2:20=E2=80=AFPM Philippe Mathieu-Daud=C3=A9 wrote: > User-only objects might benefit from the "exec/target_page.h" > API, which allows to build some objects once for all targets. > > Signed-off-by: Philippe Mathieu-Daud=C3=A9 > --- > meson.build | 2 +- > page-target.c | 43 +++++++++++++++++++++++++++++++++++++++++++ > system/physmem.c | 35 ----------------------------------- > 3 files changed, 44 insertions(+), 36 deletions(-) > create mode 100644 page-target.c > Reviewed-by: Warner Losh --000000000000897434060c42fcb1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Mon, Dec 11, 2023 at 2:20=E2=80=AF= PM Philippe Mathieu-Daud=C3=A9 <phi= lmd@linaro.org> wrote:
User-only objects might benefit from the "exec/target_pa= ge.h"
API, which allows to build some objects once for all targets.

Signed-off-by: Philippe Mathieu-Daud=C3=A9 <philmd@linaro.org>
---
=C2=A0meson.build=C2=A0 =C2=A0 =C2=A0 |=C2=A0 2 +-
=C2=A0page-target.c=C2=A0 =C2=A0 | 43 +++++++++++++++++++++++++++++++++++++= ++++++
=C2=A0system/physmem.c | 35 -----------------------------------
=C2=A03 files changed, 44 insertions(+), 36 deletions(-)
=C2=A0create mode 100644 page-target.c

= Reviewed-by: Warner Losh <imp@bsdimp.c= om>
--000000000000897434060c42fcb1--