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: 634481 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp1085410pvb; Fri, 16 Dec 2022 14:24:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf6HC3YfYIqgYx35/HIzP3Ko9Bq9G/er5JTHVOPdTXqvjixCUApN9ZbWslDzv1+4rAdyI1U5 X-Received: by 2002:a05:622a:2487:b0:39c:da21:f1a2 with SMTP id cn7-20020a05622a248700b0039cda21f1a2mr53593722qtb.3.1671229461977; Fri, 16 Dec 2022 14:24:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671229461; cv=none; d=google.com; s=arc-20160816; b=e0IGH+b8IUkR568wYSqsFbJFLzxx+rf4Yk+5wB1/wZpScLhdzWZJRayyg2aKoErUhy Juj4hLLzDlnSvm9Bpu0pOKPJkXYYWuAzh0/C2u560jmto+oTl8kmCvlKVPM+u9z3lsM+ qAiMUfjHY3HK+IFMitCHDCwFeDgx1k8zzco0BiDl03EIyYNT4DwZUVklPrphF1/SzCUv qPTvf8mV/sPFTL9F6bBsD6CLqmeeGHe5bedqIcFQOOWNRPeuhagQXN4ggvGk98fGG0y3 2uIFYjt121ATPWNlGdD9XF3JBPd9KIvO2UEM3v1EfeORPaKWJcSAX878FlomyFT7KRog 7adg== 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=J7T50GYoxuzsxHz0gV/DQYPMXubrUPNWTO69bc2wf0U=; b=pE/UdocQk8pYxWI8O/Vy0nYke4lejdg76WISp5lyJ8c/T465uIVWKx+Hrv72pMqM6d DvOC9cnsQ4AN1wFy7cwOlnJtXiI7VnqbcwshZBaRpewWwaKVvjfep8W8uYOVXwt59sC/ tYDh4LNb/xqWpO63jXIyxOeknxAyUPbAOoZ+YEBgmE9QQDbK15Rz3WwyXtTm8XkUHXB6 ON6w6qvWn7pPTsF3OXh4r+MBr12gmbm3OAtswqxziHoZA6kBF5bngk2n59UoNxstX6/w z641S+ZsTGV1dH7j6PfFftC2/Xq/l7BrC6gJoGZwtVeKGooH2yiPQM4xxlVGyFsdzCb0 wHvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FNMUEyzI; 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 z12-20020ac875cc000000b003a8011088f3si1525758qtq.637.2022.12.16.14.24.21 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Dec 2022 14:24:21 -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=FNMUEyzI; 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 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-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+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. 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(-)