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: 631558 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp420229pvb; Wed, 7 Dec 2022 09:43:16 -0800 (PST) X-Google-Smtp-Source: AA0mqf6V4Q6GGTwXVEzu6uW3nVc4ZBGY3GRgLDRADS3BbayZhC+b27N0iHD2yqAva2Y+vR4xcShP X-Received: by 2002:a0c:90f1:0:b0:4c6:8f2e:9a2 with SMTP id p104-20020a0c90f1000000b004c68f2e09a2mr82621096qvp.100.1670434996188; Wed, 07 Dec 2022 09:43:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670434996; cv=none; d=google.com; s=arc-20160816; b=WXH9uHV6Hnck/NsNNSf5nn0j2n+u349iBmbY2m0MjXcAZWI2+lbNpqVOT4UAnrNcbB phBaAWDZ8HVeeEDrt/3SFBXIbTOl600ONw7ig2e+M6o2iVGL3iAACEj4OMP5/OC8p7Kf ym1R8K7bO3HD0d9KUyXqdlqzM+aNs4N6SP+TYGhtHOY2RsURIiHzOXxOXE0aSfxtbbvl WD+zu81ZjKv8GnIW6BEpN7KSYGwPtby6zRArCH1kssvIjvTcxeW3u8Ehu0Zss1NBRX1A 6ZNxfueM14HupUH235AtOSP9xK0SLqi+RZDAcPoqseAcg/BTwoBBXlNNgM1jSomZ16dP ZzSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=FreQweA8lWnxlMBYTOR6YrpxMa+butBNui3VmthXE/Q=; b=cnI5nkPhHaQrRsTzN/6/pI2or7OYwm+SS4MSCy8lVu1zd2RHdhptOk2m25ZIcMDIMd c3Y8ST8tCGOIHC4e18qUeQsP1jh7HQTlU1k9+iL4cw8vf/4aelKNDdLNDc2wrAgZFfmk 9ERuDPPCYane8gy7CnsRzJ6vfuNZqGoW33RVFZvhJIVel1qvWgcUgBD6Sd5cr+GGLBch xmIuETdzzYEoqfMEqfX7Avi4zTPNUYtqmpXG8xGkZSnkFrbZtCoJ2vmRd71txn3wIGOr pU+VHle1Oh4IEysPHpoDDsEiIY6i4Mb8l5IRc/gkKYrATEQDntn4AKzhvpZP0cRUtcvz Va+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=y7vvmou3; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ck10-20020a05622a230a00b003a686fef024si11273379qtb.689.2022.12.07.09.43.16 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Dec 2022 09:43:16 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=y7vvmou3; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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-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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.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(-)