From patchwork Sat Dec 17 17:28:58 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: 634854 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp1464817pvb; Sat, 17 Dec 2022 09:30:27 -0800 (PST) X-Google-Smtp-Source: AMrXdXuZThfaFDK0EVPbl8rKpYeAnyc16Fd8bqPEyqWni2bhQM1a7OMTTLPN0S1dI4AT0v3l0YHK X-Received: by 2002:a05:6214:104a:b0:4e8:17bb:733b with SMTP id l10-20020a056214104a00b004e817bb733bmr3363577qvr.45.1671298227249; Sat, 17 Dec 2022 09:30:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671298227; cv=none; d=google.com; s=arc-20160816; b=KmmwqY3swUY1NiHM+Ao6VQO50FDjgGU2G8nNo4FEgEuc3F52b5r/f0QnIPHtGwu6DO rUGI2mJpd+5/q/Pyba1OTN2VbBSyofnjVvV57rpvnx4wkhgHyBYXSjBxhcAO5+VOpxjb FN702ZlWVaepGRSg3F3F7LtSeEtsBxwFUQMNiboAMkA0w0z80Ytx2UxkHrdMzrHhqeC/ lhMbd44iI3lhiuJ34zr0nu/apELuWiTJ16O3OQZcOcXKMieyxhddv7Gh6CH0UT5Mf8vX vH7o/54JAOYdheLbVNNH4jLYzRnELUF/N/7R/IpbnniYcIzUm1CONIR3lLe7eCSLiIPR vjyw== 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=RkESMP3x1FE047sZUBJV3WOGl5f5HviWYbiyNe/Ty0w=; b=tWPJA9J7L0TLBac/wDn77mfh/HR6DiG7EATqlSBpiKXMjP7WQsjD+cTANL5Jm7MS2m iPrsX98Jip+WNipoVxTl2B3gspTJHR3/LgPY28cDlLlZFcotja9qZDVmDOmm2b6nG7rm GGqfzkir3bAdnshIaHb1gpsf4VQeItZYu9Y1GsIrTqxUCkML0+EceZZZ3lp9+sKs7exg wZXYq0Fxmg8RCpu51SdJ/KwAUYIudtHKpxhr97lJKmNqlzjUMbz3ovSr2AMq69UGKogn 0aBkdqFhMShxY+EUKSF2g45+O5tjpZJM/nLO7Bb3UtQhogOE6VGQhCwhYBvUhsCvX/6S gLPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=r8t7gfWG; 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 e2-20020a0562140d8200b004bb92fa256bsi2355527qve.488.2022.12.17.09.30.27 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 17 Dec 2022 09:30:27 -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=r8t7gfWG; 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 1p6azv-0001yr-Gm; Sat, 17 Dec 2022 12:29:19 -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 1p6azt-0001wR-7S for qemu-devel@nongnu.org; Sat, 17 Dec 2022 12:29:17 -0500 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6azr-0002ND-NU for qemu-devel@nongnu.org; Sat, 17 Dec 2022 12:29:16 -0500 Received: by mail-ej1-x62a.google.com with SMTP id tz12so12910934ejc.9 for ; Sat, 17 Dec 2022 09:29:15 -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=RkESMP3x1FE047sZUBJV3WOGl5f5HviWYbiyNe/Ty0w=; b=r8t7gfWG44OuIBDPgERWEIrmMq+3xtXx9TsAgBg6NPydgamW7MqFqdBo7Jl1ks3/rG KV/ongsim603ZgWgNeXUty+30Rg6f5WNKH8mgCUAB80pm4Qk8R+oRHWnHrZNLjK/AU5B X2zXWUy+93dK+lVfodvv2yowe9gHbVXkusvEhapVHa3SaagySt+0mhesOVBZVf3ojZRl Kt8cRBe5Ut7uWUQGVFDei6cQBklOm++BxivHyAdU2tJza900PwNNMwnwX0NzBexC2egR fxY9YBHGrbsSrxgme+RI9N11kr2YZj+U/imVxJUFO5mLWn+c/b2/JvyZlz+Igs8ZsxFZ nz3w== 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=RkESMP3x1FE047sZUBJV3WOGl5f5HviWYbiyNe/Ty0w=; b=jWKZXfGM2FbBWPCMFVlxLP3S4KaDaKnJ06qeIWYSi6hVWmY7yGV8ZZHaTS7O65kV1V kg6v1xsZuZnfF/Txn+IlD/PnNIzF89X7lR86qWDuN5Dk87uBY37pgQ7lr2u54+FkwNaa Q3oVdK60CPwZJRPLZ/U4LcGqNs8bLl2x2zRa8KlcTvob8WWYZ7hvxtgSoH+SAKrrQpRv GVM4bUfK6LY0Mj58gh4Ejg0ZQmoSR29x/ZrQWQYE4lVBCCusJLjSMD7szeQ4xNJQCpH/ olEf4E7QIFyrJTlleoaqrtauDnat0wqMQnJ2zoWZ5q/5PNsX0L0BBtZiHWu8gFtU3hH2 Uh6w== X-Gm-Message-State: ANoB5pl08QN0nyXnDhUHz26HjyY+s9CIxTwvDa4o++kRCYaklO6/J6f2 0IQl1hDKFvIR6urvVktYd8vddWqTsonJL5LPE8Q= X-Received: by 2002:a17:906:4c4b:b0:7c1:1ada:5e1e with SMTP id d11-20020a1709064c4b00b007c11ada5e1emr29928529ejw.26.1671298153883; Sat, 17 Dec 2022 09:29:13 -0800 (PST) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id o17-20020a17090637d100b007c0efbaa724sm2185713ejc.49.2022.12.17.09.29.09 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sat, 17 Dec 2022 09:29:13 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Max Filippov , Richard Henderson , Bin Meng , kvm@vger.kernel.org, qemu-ppc@nongnu.org, Greg Kurz , Daniel Henrique Barboza , Bernhard Beschow , qemu-riscv@nongnu.org, Song Gao , Artyom Tarasenko , Paolo Bonzini , Palmer Dabbelt , Mark Cave-Ayland , Laurent Vivier , Alistair Francis , =?utf-8?q?C=C3=A9dric_Le_Goate?= =?utf-8?q?r?= , David Gibson , Xiaojuan Yang , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Subject: [PATCH v2 0/9] target/misc: Header cleanups around "cpu.h" Date: Sat, 17 Dec 2022 18:28:58 +0100 Message-Id: <20221217172907.8364-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::62a; envelope-from=philmd@linaro.org; helo=mail-ej1-x62a.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=ham 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 These patches are part of a big refactor cleanup around "cpu.h". Most changes should be trivial IMHO. Since v1: - dropped patches including "cpu.h" in multiply included 'helper.h' - dropped Hexagon patch - better split sysemu fields in RISC-V's CPUArchState Bernhard Beschow (1): target/loongarch/cpu: Remove unused "sysbus.h" header Philippe Mathieu-Daudé (8): target/alpha: Remove obsolete STATUS document target/loongarch/cpu: Restrict "memory.h" header to sysemu target/ppc/internal: Restrict MMU declarations to sysemu target/ppc/kvm: Remove unused "sysbus.h" header target/riscv/cpu: Move Floating-Point fields closer target/riscv/cpu: Restrict some sysemu-specific fields from CPUArchState target/sparc/sysemu: Remove pointless CONFIG_USER_ONLY guard target/xtensa/cpu: Include missing "memory.h" header target/alpha/STATUS | 28 ---------------------------- target/loongarch/cpu.h | 3 ++- target/ppc/internal.h | 5 +++++ target/ppc/kvm.c | 1 - target/riscv/cpu.h | 23 +++++++++++++---------- target/sparc/mmu_helper.c | 2 -- target/xtensa/cpu.c | 3 +++ 7 files changed, 23 insertions(+), 42 deletions(-) delete mode 100644 target/alpha/STATUS