From patchwork Wed Dec 7 17:41:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 13067468 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 7DEB9C47089 for ; Wed, 7 Dec 2022 17:43:16 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2yQL-0004bk-6u; Wed, 07 Dec 2022 12:41:37 -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 1p2yQK-0004bW-Fe for qemu-devel@nongnu.org; Wed, 07 Dec 2022 12:41:36 -0500 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p2yQI-0001lG-Sf for qemu-devel@nongnu.org; Wed, 07 Dec 2022 12:41:36 -0500 Received: by mail-wr1-x42b.google.com with SMTP id d1so29094439wrs.12 for ; Wed, 07 Dec 2022 09:41:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=FreQweA8lWnxlMBYTOR6YrpxMa+butBNui3VmthXE/Q=; b=y7vvmou3PJyn2pCFR9t0wToMnv2JTkd2HLJJmQ2iE+iG/ggB1ESD0wS3loX63FeM6Y 0spbyX85VP6Vw6K/t6UxuyotZNAbf+P26ytFbD2i2fF4nfxyBQz+uyDNZw8vxjnEJk+E J1pysJuszsQV2tuf0xpBq+C0TR1tH8QDVpFLU3oInDbNyl8PA4j3T8jm62O2ehRkQAx5 NoBflI02McNdQGQuI7jalVN6oc3mS8q7p1iTp4e4pbzLvtEHZdyrf8Rnr1S0MFMoXktP lko0KjYJXHHub3dbTBqqyYdUbxe1Cq7G33bfyjaPZpZIxtj4t7DngjqmGTRQxFBYQyuE b0yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FreQweA8lWnxlMBYTOR6YrpxMa+butBNui3VmthXE/Q=; b=HW/W5mKgzE/VOIjHOZ2EE5JFy6D54d1LVPvAk47l5f47hOp583VkRIYtsJxRJdFEBL +PC+3GbjK9ZAUuJbtyZQYqc3OoyclehcdD6eBSaO5mMVODW2jynAIygAG9KQGrKcQM8h 2gl8ecOUT/0y0Lnqkse+IRzn71Y0oz4g2wJm+q5qpneYqLI9Q+LmQ+ehjAsJ+2GfWzgb 1NziERFnUV/8sZIgAyev76Gce+M7Me09eiYPalukEEvWRbSa5f56kQPgtwgKxsjsUsL3 /+EU+Ktel9T8YDX6+10h9+IAmQystUgQj7pgrX/LcNSvV5mtTHWAfCfo+tDgCmnLRLbA +ryg== X-Gm-Message-State: ANoB5plHLtZ4m2tiltISMuIPhPeMT5jwM/pfCpFysyBOqG1bCWs/OK7s fZ4/7bwm4V7HpQxGlEooX81I6hPPXt7/BRRVAq4= X-Google-Smtp-Source: AA0mqf6zTSCADcHeVLuczU42BbKGU0C4dHGJ22VNN3NpzQY7UtHMw9ZsjXOpyhlm9EJxPCqxvpHQLw== X-Received: by 2002:adf:ee0f:0:b0:242:17c7:d98d with SMTP id y15-20020adfee0f000000b0024217c7d98dmr26474341wrn.87.1670434892760; Wed, 07 Dec 2022 09:41:32 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id az40-20020a05600c602800b003d1e1f421bfsm2537738wmb.10.2022.12.07.09.41.30 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 07 Dec 2022 09:41:32 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Eduardo Habkost , Stafford Horne , =?utf-8?q?Alex_Benn=C3=A9e?= , Yoshinori Sato , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , Marek Vasut , Laurent Vivier , =?utf-8?q?C=C3=A9dric_Le_Goater?= , Yanan Wang , Mark Cave-Ayland , Fabiano Rosas , Daniel Henrique Barboza , Richard Henderson , Paolo Bonzini , Marcel Apfelbaum , Max Filippov , Greg Kurz , Artyom Tarasenko , Anton Johansson , qemu-ppc@nongnu.org, Chris Wulff , "Edgar E. Iglesias" , David Gibson Subject: [PATCH-for-8.0 0/4] target/cpu: System/User cleanups around hwaddr/vaddr Date: Wed, 7 Dec 2022 18:41:25 +0100 Message-Id: <20221207174129.77593-1-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=philmd@linaro.org; helo=mail-wr1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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 We are not supposed to use hwaddr on user emulation. This series is a - trivial - preparatory cleanup before few refactors to isolate further System vs User code. Philippe Mathieu-Daudé (4): cputlb: Restrict SavedIOTLB to system emulation gdbstub: Use vaddr type for generic insert/remove_breakpoint() API target/cpu: Restrict cpu_get_phys_page_debug() handlers to sysemu target/sparc: Cleanup around sparc_cpu_do_unaligned_access() accel/tcg/cputlb.c | 4 ++-- gdbstub/internals.h | 6 ++++-- include/hw/core/cpu.h | 6 ++++-- include/sysemu/accel-ops.h | 6 +++--- target/alpha/cpu.h | 2 +- target/cris/cpu.h | 3 +-- target/hppa/cpu.h | 2 +- target/m68k/cpu.h | 2 +- target/nios2/cpu.h | 2 +- target/openrisc/cpu.h | 3 ++- target/ppc/cpu.h | 2 +- target/rx/cpu.h | 2 +- target/rx/helper.c | 4 ++-- target/sh4/cpu.h | 2 +- target/sparc/cpu.h | 3 ++- target/sparc/mmu_helper.c | 2 -- target/xtensa/cpu.h | 2 +- 17 files changed, 28 insertions(+), 25 deletions(-)