From patchwork Fri Dec 16 22:05:29 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: 13075559 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 6C405C4332F for ; Fri, 16 Dec 2022 22:24:22 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6Iq5-0008HF-Dt; Fri, 16 Dec 2022 17:05:57 -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 1p6Ipu-0008DS-Hg for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:05:46 -0500 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6Ips-0005eT-7f for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:05:46 -0500 Received: by mail-ej1-x633.google.com with SMTP id qk9so9302860ejc.3 for ; Fri, 16 Dec 2022 14:05:43 -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=J7T50GYoxuzsxHz0gV/DQYPMXubrUPNWTO69bc2wf0U=; b=FNMUEyzIGDVnMOPn06wdAMm5F88f2vDS0W/Pio/vkL7YbTJGBfIH7/I6EXNC9BWqgI s50vNYnYetikeMYdjNE58POlzFG0Dlol2yO02OKkV066bkNB1Y8Lf+Lukp0lukR++eF2 09avbMgdKmjspzWpmCRKrGcvwCPyno/Wkhfayz+q0+9buhxRmGQ4ChLkqur27XpGwszs rngGrqkHESOTl4N/UwGhfpyfg6fxsN97D9BwboKqugSAQ9br3VrRIEqus/yo1WKNnKIT fJ87rzlrL1TiPhYeZzq3cPDTlS4CHLyyaCPuOd/daVSGUjd+vslKk+yKJcrk5Hz8SKrO 5Sew== 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=J7T50GYoxuzsxHz0gV/DQYPMXubrUPNWTO69bc2wf0U=; b=sUXiFFVr+JqVRPTD3Gc+edvZQtYwQHNVlXMGktOs14yLvuOlklyyhpsNdPVLgVgVtV Fomp4uHmhSS9kI/YPYXGVMIdufOltf0y+C5in4irN35OpCqrOnUlwQ/yMe0nshnLgK6S p+eBXeRUVtaSxdyjXs6lld+/Q8aPIEUiDJuRyh0dk45lNL0aOqBE78HK/30BRxb3wMDi LsxfShOJSXohwZGttbCQdGPUn9vfGaHlGSbqWMktXy4W6WHm8LlYbDyCPBvqyltJq7Rq s/+F+0WZ3zoc3UyPnpGNPAg1wo63bOt7UH6wq7gV10Hs/Ru9wnkDeneVu6cHYsi1O+3Z +PYA== X-Gm-Message-State: ANoB5pmvhZd2Bm4/PcVj0FzaLfA2Sz5kLcdOP9EQL3xW3R2xr/LRQsHQ Q96j5Jd0nJzDCUiJwbKqdtDzFq3rV4+zz5jQk5A= X-Google-Smtp-Source: AA0mqf44yhTvz3RtdwbDos4Kwg7Eg1jD1JUuKfunW3A0mzuZy1ynWLJI3O9eLxMzaphMFeDpYk2yhg== X-Received: by 2002:a17:906:3a59:b0:7be:e831:2b4b with SMTP id a25-20020a1709063a5900b007bee8312b4bmr27288198ejf.23.1671228342414; Fri, 16 Dec 2022 14:05:42 -0800 (PST) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id 13-20020a170906318d00b0077077c62cadsm1291231ejy.31.2022.12.16.14.05.40 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 16 Dec 2022 14:05:42 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Daniel Henrique Barboza , David Gibson , Xiaojuan Yang , Mark Cave-Ayland , Bin Meng , Richard Henderson , Artyom Tarasenko , =?utf-8?q?C=C3=A9dric_Le_Goater?= , Song Gao , Alistair Francis , qemu-ppc@nongnu.org, Laurent Vivier , Palmer Dabbelt , Taylor Simpson , Greg Kurz , qemu-riscv@nongnu.org, Max Filippov , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 00/10] target/misc: Header cleanups around "cpu.h" Date: Fri, 16 Dec 2022 23:05:29 +0100 Message-Id: <20221216220539.7065-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::633; envelope-from=philmd@linaro.org; helo=mail-ej1-x633.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 These patches are part of a big refactor cleanup around "cpu.h". Most changes should be trivial IMHO. Philippe Mathieu-Daudé (10): target/hppa/helper: Include missing "cpu.h" header target/hexagon: Declare hexagon_regnames[] in "cpu.h" target/loongarch/cpu: Remove unused "sysbus.h" header target/loongarch/cpu: Restrict "memory.h" header to sysemu target/m68k/helper: Include missing "cpu.h" header target/ppc/helper: Include missing "cpu.h" header target/ppc/internal: Restrict MMU declarations to sysemu target/riscv/cpu: Restrict sysemu-specific fields from CPUArchState target/sparc/sysemu: Remove pointless CONFIG_USER_ONLY guard target/xtensa/cpu: Include missing "memory.h" header target/hexagon/cpu.h | 2 ++ target/hexagon/internal.h | 2 -- target/hppa/helper.h | 2 ++ target/loongarch/cpu.h | 3 ++- target/m68k/helper.h | 2 ++ target/ppc/helper.h | 2 ++ target/ppc/internal.h | 5 +++++ target/riscv/cpu.h | 34 ++++++++++++++++++---------------- target/sparc/mmu_helper.c | 2 -- target/xtensa/cpu.c | 3 +++ 10 files changed, 36 insertions(+), 21 deletions(-)