From patchwork Tue Dec 12 11:36:37 2023 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: 753046 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c83:0:b0:333:3a04:f257 with SMTP id z3csp1847928wrs; Tue, 12 Dec 2023 03:38:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IGjhkwauBbTvNhSBiHsBXgkt2EMQoxcYsiGz9Te17IBjRQ89cvmwaCF/fsvxlJOSn0cHDQA X-Received: by 2002:a05:620a:2b98:b0:77f:92f:fcc0 with SMTP id dz24-20020a05620a2b9800b0077f092ffcc0mr8401076qkb.24.1702381111839; Tue, 12 Dec 2023 03:38:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702381111; cv=none; d=google.com; s=arc-20160816; b=ikHhYziICVjsGPZSVzjwCPC5J7xuk9gaTwedFsuyWMALkpeMrMEKJPjY5RrEhMCPuK H2PW8RS7vICBJnRA/P930g6KAmqlqbq+Q1WBqvm7pmhdvH5J/dTxyGwaa4xWjkaE2JMg aztU7kdfYxKbypV+eMt6IOHXCX9MXPTaQWdWzKc/7BA0wSWlu50Bsf1sNGttGXUummwk hmxtZD01/OpD0MsHSNRskk26Y0f2LIMdqHjzCwrOK4MDu/WMT3eCahufrNKqclSb0O0s 21TP1kJrvYN4cm7iTghN2f/Rr31JoBcxWgmXnXlNZCzB7RxCwZ98GnvuUPLPxJNvFZXd 7mYQ== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=r9l5OJKRIKjrnTI1L+t9VvIOzVTPo5liJg25JIXeLpU=; fh=/SQ+IAheq2FyZBxQvIFGktBqgfyTZZDIgHwlD/hCSGw=; b=a64O+ZYwmgUVw2ynOGwTyLF7q90cyVsmLm/Z4QxkREogh9Bk0mx5N4xuQNSeP9WZpf EO/gbAqoaR3ewmYmHUWTU1G5jBH6kIcLfuDpE9bXV3cJsBCE3TTltKUChatqF6nMBQ6R vDH5oPRd3SP4I0865fS+2PtdpMIRmqe2IsCpf5z7BTTjba7GfpnqDTc06QuXN2ZQl2c6 TchdV4Z5xJiL29EZ96loNMtce3D7dw//6BOW66kQLPLB0c7DR5ZJO0jkw0TsW3iSx2VT Sk5/WRJhjqkgkhPLlW599KNiA0qI28ACLbzB8yxFTl4XJFTwkVK7RyCGJtfH5Kaq4lz5 lONA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IJFaMmzW; 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 f1-20020a05620a408100b0077f6ea8cb9asi5535092qko.197.2023.12.12.03.38.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Dec 2023 03:38:31 -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=IJFaMmzW; 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 1rD14R-0000HX-Pp; Tue, 12 Dec 2023 06:37:03 -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 1rD14L-0000Bt-7w for qemu-devel@nongnu.org; Tue, 12 Dec 2023 06:36:57 -0500 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rD14F-0006uj-Lf for qemu-devel@nongnu.org; Tue, 12 Dec 2023 06:36:56 -0500 Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-50d176eb382so5143572e87.2 for ; Tue, 12 Dec 2023 03:36:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702381009; x=1702985809; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=r9l5OJKRIKjrnTI1L+t9VvIOzVTPo5liJg25JIXeLpU=; b=IJFaMmzWNcwUI0Y0TTqK21azM844yfwDIn03mhnA1CnOnkpFJuutpg5mYVXCIppu3a bLea1nB5u+Fu/nW9UldFKAAyQilR2Oznak/KZw5wnPlwOn/07x2wZR5IhSEJkBEPrb4d V5aohQCcmlCboS29WZoSjd1nS1cpj9yljhuQsslSNYVaq1xS9phiDmWvAGp+mV/VYaNU 36RJSXkQWZS0GgLf7HskVGoMammFvhRpndEY99AAEfQBTeXs1y7NmN9GZiunEN3DvWZ9 aJl/IMmyShbJBmek1UPFt+H//xeOa+Ry1FXIlvCnEXQcqVyFAu+ZUE/WXR0IErDD4jHw Tt1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702381009; x=1702985809; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=r9l5OJKRIKjrnTI1L+t9VvIOzVTPo5liJg25JIXeLpU=; b=MnUk3ND2ZDB/05K7dvtG+cx6lg7miK4IiaFhaxHLYCm0kmYzfkbypHiYHHc+i8DzVT +K4aztwi3fUb/EPHZNivpsB/Sp/PLdC/YJKbWxOBWRoY/KPLRAjOt9SraVVOHm7w2FuJ 4t6vQTRdFwLhYJcBYwBtsWab2O9i48oWSS0hrCG7ZGv4pkwC5iQZd4TkH/eCivgSdzWY 8Zm13HuJID1ZsXKMwL86dNkF0CwDsb5vSBocw40jMNYuE8IC32NkqbKRrJmELArVwx8a CG2vG7bN1ykt93EXzyTJv/6FXtHqZycRwWj0s5pkPIT1/13uxKpQJnOOUy195yaPfokq E/Mw== X-Gm-Message-State: AOJu0Yx1Hov0lnxcoMPSo+N5PmsoUCog8SPtOS0YXf9gMsiw1YtoWGiP fe/x5N9JpRDUKUHLhjgyt+4n1R98Gqf23zLj/Xh/Vg== X-Received: by 2002:a05:6512:3ba1:b0:50b:fac4:3ffc with SMTP id g33-20020a0565123ba100b0050bfac43ffcmr4022085lfv.74.1702381009595; Tue, 12 Dec 2023 03:36:49 -0800 (PST) Received: from m1x-phil.lan ([176.176.175.193]) by smtp.gmail.com with ESMTPSA id mm19-20020a1709077a9300b00a18c2737203sm6172438ejc.109.2023.12.12.03.36.48 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 12 Dec 2023 03:36:49 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Nicholas Piggin , Daniel Henrique Barboza , =?utf-8?q?C=C3=A9dric_Le_G?= =?utf-8?q?oater?= , David Gibson , Harsh Prateek Bora Subject: [PATCH 1/4] hw/ppc/spapr_hcall: Remove unused 'exec/exec-all.h' included header Date: Tue, 12 Dec 2023 12:36:37 +0100 Message-ID: <20231212113640.30287-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231212113640.30287-1-philmd@linaro.org> References: <20231212113640.30287-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::130; envelope-from=philmd@linaro.org; helo=mail-lf1-x130.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, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 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 Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson --- hw/ppc/spapr_hcall.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/ppc/spapr_hcall.c b/hw/ppc/spapr_hcall.c index 522a2396c7..fcefd1d1c7 100644 --- a/hw/ppc/spapr_hcall.c +++ b/hw/ppc/spapr_hcall.c @@ -8,7 +8,6 @@ #include "qemu/main-loop.h" #include "qemu/module.h" #include "qemu/error-report.h" -#include "exec/exec-all.h" #include "exec/tb-flush.h" #include "helper_regs.h" #include "hw/ppc/ppc.h" From patchwork Tue Dec 12 11:36:38 2023 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: 753042 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c83:0:b0:333:3a04:f257 with SMTP id z3csp1847589wrs; Tue, 12 Dec 2023 03:37:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IFWlmatj5jf7Lj4l9gcPUltFRYlxQPNH7EqxQ2aoAnV92ETHcEdPSIcUXwGwHbi8WXuGj1k X-Received: by 2002:a05:6808:3847:b0:3ba:84a:5756 with SMTP id ej7-20020a056808384700b003ba084a5756mr3397836oib.95.1702381052534; Tue, 12 Dec 2023 03:37:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702381052; cv=none; d=google.com; s=arc-20160816; b=fjNPeKKGmdLRBG7tVDRu6yVaJ417IUv03KPBYrpsV2NrUml2ba+ZebHae/dne/cG75 LydVrqrto3uDhHUlfJDWtgnE3skTMmS8hSRBeBV24pYz9eunaJ4gsyT/cCQaU2pWXO/Z nb4rOxyj2bwrgAUTTjCJYNP3tkuYmC/OiqSIUlUafTJURXD2v+jIYFZsl1SRKf906GI2 q8XoJV8Pxz4+8bzgxipEurPlWlEtGIamh4Nb36MEaDs08n7uQ8k6XlLiccV4SDoridd8 dGvjxqcEoq8D8aPhDdUchJiwiQ/r/cabhcqLEekY131Pwuh9Qts57eYaDQZYVYmEXJq3 jQ4w== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=N2w63ljFdqIz1JzgOaJC6yCkuASP8vMkY+wuXlFzHsQ=; fh=23tWT3ZYsE+9gliKTnueMXuwPkejMDUhBPU1THsKFcg=; b=FBBMkpLfB8BM4kP0YNLl0NZCiN7qBr6FLjh8TRud6yoXun+9CCkgLF/xJUnWkUJ+MW 1myiu8ZUvc3P81TQ2kyQbIyEOp/kF4g+fPxJy4pr1VdzeO82BMUKANdLHeJ21itbwiH8 zreB55MGx62WEVbjAQcRN0/rNzAALzE1w7bc/fiVvus6AsiQL33Axqt0Dtwz8rHiHvZZ m+ZuWPdH8xkLG05PgX4R/i3COH88njOu2pfZIPdojppgMlMV4gjmIsnWjDNo8PHBpXva p62Z5L9uu9XHd/JI0acQ2Jp1HLHrtXJLedjZ/Tj/iyWvm+Ms8LzM4BfDgTBEK5roYaPf h40Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Tnp0MZpM; 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 m14-20020ad4504e000000b0067ab716e819si191136qvq.464.2023.12.12.03.37.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Dec 2023 03:37:32 -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=Tnp0MZpM; 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 1rD14Q-0000G4-9U; Tue, 12 Dec 2023 06:37:03 -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 1rD14M-0000CG-O3 for qemu-devel@nongnu.org; Tue, 12 Dec 2023 06:36:59 -0500 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rD14L-0006vi-9S for qemu-devel@nongnu.org; Tue, 12 Dec 2023 06:36:58 -0500 Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-54c77e0835bso7910768a12.2 for ; Tue, 12 Dec 2023 03:36:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702381015; x=1702985815; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=N2w63ljFdqIz1JzgOaJC6yCkuASP8vMkY+wuXlFzHsQ=; b=Tnp0MZpMNwrDmGIqWgwtQB+qlderfCoMBQGWXTZEI/BGobZao4P838cgcV/R52O50W Aqe6+wyVFYNscxnW0ssPFQlfTCP6nUWKPNouOdQ4qqhyZvZrcuyom1bzuz+LbVieFETv f3u9d9qjIvK6IhjuiUp2uI6tAJL/HPaXf0XR3glwEf33kehA9zvnMk7pZMxE4ESlm/Yq U0Tu+ysZCRwZudYoy11KsxMMEzG+lU8PvkXTA+XVaMTmq2EZG2jnrlSLAMfWFP8DcRjj 15sxX/PEP0eeiRClVuSnXNYp25+uKDJEVAAvR4xohcI9BFv8ZC+zHL8Tvgeu/IuVJCBa DKRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702381015; x=1702985815; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=N2w63ljFdqIz1JzgOaJC6yCkuASP8vMkY+wuXlFzHsQ=; b=vh5GGmsndoGsE1kahCgypvqcOKgOIbP6Ynj+QcYVqtdOhnmrYZUqLcEqSXyLlByMCL c4d4l0bcn9WUlR8PBfC/Ig/k0qz7zqLyyDMMU0L595h3TkRDEZ8+J9xnQbcK13kkqHi9 i5Xt1xBR3flx8xyeVj1jxoB20BC01uCW0M+GJOVtvEj1906QBrqFClG1ZzUbPZ8r6P/w fPUJClt7DtjD8tFPalvvNqw1iL5JZsTNi+yVJYnI9UUp0Gjiw7K/HzkfSxtuYz6qECKw juA4atHlo0mcady1UfEb5H9rYdSYXmBd+e1Cht7Dcucha+Ub52CRAIBTbZgsMmkTVhr8 ZUPw== X-Gm-Message-State: AOJu0Yz7vZaqG5YeBAq71JE7Opcvgcbs9PqLa2y6BKRZaRc83KLOAPdL 2KfZfZANnuH0oOtxLhPYOXQ/E80kcIhb8hAQOxZOhw== X-Received: by 2002:a17:907:9815:b0:a08:291c:62c9 with SMTP id ji21-20020a170907981500b00a08291c62c9mr3501458ejc.5.1702381015749; Tue, 12 Dec 2023 03:36:55 -0800 (PST) Received: from m1x-phil.lan ([176.176.175.193]) by smtp.gmail.com with ESMTPSA id vc11-20020a170907d08b00b00a1b6d503e7esm6105964ejc.157.2023.12.12.03.36.53 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 12 Dec 2023 03:36:55 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Jiaxun Yang Subject: [PATCH 2/4] hw/misc/mips_itu: Remove unnecessary 'exec/exec-all.h' header Date: Tue, 12 Dec 2023 12:36:38 +0100 Message-ID: <20231212113640.30287-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231212113640.30287-1-philmd@linaro.org> References: <20231212113640.30287-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::536; envelope-from=philmd@linaro.org; helo=mail-ed1-x536.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, T_SCC_BODY_TEXT_LINE=-0.01 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 mips_itu.c only requires declarations from "hw/core/cpu.h" and "cpu.h". Avoid including the huge "exec/exec-all.h" header. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth --- hw/misc/mips_itu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/misc/mips_itu.c b/hw/misc/mips_itu.c index 5a83ccc4e8..37aea0e737 100644 --- a/hw/misc/mips_itu.c +++ b/hw/misc/mips_itu.c @@ -22,9 +22,10 @@ #include "qemu/log.h" #include "qemu/module.h" #include "qapi/error.h" -#include "exec/exec-all.h" +#include "hw/core/cpu.h" #include "hw/misc/mips_itu.h" #include "hw/qdev-properties.h" +#include "target/mips/cpu.h" #define ITC_TAG_ADDRSPACE_SZ (ITC_ADDRESSMAP_NUM * 8) /* Initialize as 4kB area to fit all 32 cells with default 128B grain. From patchwork Tue Dec 12 11:36:39 2023 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: 753045 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c83:0:b0:333:3a04:f257 with SMTP id z3csp1847866wrs; Tue, 12 Dec 2023 03:38:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IHxc5NVh5Vx/86mbd3OXP5lN6zVvLrIzRfKDbQTQHWWj2AvdfJjkO8ttaGTFIcYHT+DoWPM X-Received: by 2002:a0c:e60e:0:b0:67a:e990:b9e2 with SMTP id z14-20020a0ce60e000000b0067ae990b9e2mr6345785qvm.34.1702381103133; Tue, 12 Dec 2023 03:38:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702381103; cv=none; d=google.com; s=arc-20160816; b=gj6eoMZXCo9ml9VUsB/AHDo8ovfAqneMvXG3Pldf8oXMz07Akd6eKsikXKnszjPYmn U9Xgop8Ax4agEa/Vhii6zZSCi8MYB+eN/z59tFG8b8hTmXlhaV7WpW4bT5WlQZIt2Evd P6Jr/WpCHfw0XpHE2BcShx2yEBekQ4Ro2Yp8MyQdoHDF2xg2q6qP9q/lgJNgYqVckrgV C+SdcVbyA3PzjV1PVPyGLSdBjlNZKrtxtSw5TNuqPamu6umK3OWuj0JCPppkipm6UsnV pmn1jJD9gsVbMDr2sNHzqxRQBq31tQdDvPP/9dbTvYkNOlDa4VtgF7/m7E4Fbiq8PDy1 NQDQ== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=gRG2U+UvZdWTGYdcA/MTX3iesT+e4Kqtp08ALJBiHJ0=; fh=R7MkgDB7y2tYQsUz/k5VFLZMZILB/PXf9bl/bC38V78=; b=ONhG5TnXxLfvSPNo+6EON9U9T331mC1kQBrAL05I/FADZwdm11MfqclWBf/ywloOr0 0tbRsyt8uHTXTF9zyqsafJrVJJSlaAWgM6mlIqSPGjc0Do0UpY+Hcu0QBMLvn0ITT5m4 JrwgcvebONyhXcXn7EOOuGNwJkglVY0Uuj7Du8vAYZUx07niNUhF3NE7IRRgM0q7NUdz iI/jPRdaO9XdewYEkE37ptX9VAtxgLccRlj1+IGMrC6RG9hg5OYgjjE+mJDQ137cRD1R UlWAPaqo9mVBQpr6aVtUa6QB+g0Dm+XDEs/qAeQvKAEhJGFEgp8Cv7U6O5telsKghq2j pcvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JOtS9yYr; 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 qd15-20020ad4480f000000b0067ec6939ef0si6333228qvb.378.2023.12.12.03.38.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Dec 2023 03:38:23 -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=JOtS9yYr; 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 1rD14V-0000MO-3S; Tue, 12 Dec 2023 06:37:07 -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 1rD14T-0000Jx-RX for qemu-devel@nongnu.org; Tue, 12 Dec 2023 06:37:05 -0500 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rD14R-0006wt-97 for qemu-devel@nongnu.org; Tue, 12 Dec 2023 06:37:05 -0500 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-54c9116d05fso7620217a12.3 for ; Tue, 12 Dec 2023 03:37:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702381022; x=1702985822; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gRG2U+UvZdWTGYdcA/MTX3iesT+e4Kqtp08ALJBiHJ0=; b=JOtS9yYrPIX6UlFDjXZCB48vf+zJgFmNV2WX8Dswj5SYSKi1lsK9jYZpzOJzbWNImn GlIPFmW1rNsSbi7xRsqS4OhDdVziv2GgHO+UD9V++hN1qfmGV/+ESemK0lEHptPXb+ng Io9vKtm4SCviavCqvA3NqV2GDH4Lh2A1doTEsErcSW91jjmif8BjdKSk6rdGaM4ZnNtI 9SyoXDFanyqb8sIybfqQZUf5MoMSaZoRW2hJC2UVVImitAmCDKm2k21Po05RkoR0cMAd gHa4EWUvtu97wuTJ35DhWetmKwMV3i7Qlf89qaMdK+umDUufwCioPX11AvIF/L9j6RCd XYsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702381022; x=1702985822; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gRG2U+UvZdWTGYdcA/MTX3iesT+e4Kqtp08ALJBiHJ0=; b=AmPOA7SHqMOkaH9VaMyXxkfpIMb6blGvnsNSvey/fvZW/uNferj1X9fePScozY2DhD Q3poJd06IrZUlFo5c3eHXLFd2qLI5nKTNR3tirL/yVK89MY0uaYQ/ET1ZBBt1HMIWL9v GvEmsJ/3MrL1/Opsh5JJdi7iGAsjHrckH41RHmVebP/cJ8bRTJEnIVv3ZMlCJ43Co87y ezoTU7NuNh/6tA2bwaLe7STgrPxQomvVXXTqe/2kXPa3sp5BRPHLBafBi7+qECPoFRd6 pkCBOvV8F+UG7LxqnkQ0UJZJ1XqqD5rFDAF5nNC8ek+BL0x7J/qZgg5sDySQS3WkpIi3 yLJw== X-Gm-Message-State: AOJu0YwTJ69mz26jhe+99iyXt8qCkvXBBxLGU7PMS3IfKgV1EmbO0RHF tKjtVSD4NAWYh8S0ULTKXSas4V7whjFpbJka7dsvIw== X-Received: by 2002:a17:906:86:b0:a1f:ad9e:5e15 with SMTP id 6-20020a170906008600b00a1fad9e5e15mr504499ejc.66.1702381021857; Tue, 12 Dec 2023 03:37:01 -0800 (PST) Received: from m1x-phil.lan ([176.176.175.193]) by smtp.gmail.com with ESMTPSA id ub26-20020a170907c81a00b00a1c96e987c4sm6184806ejc.101.2023.12.12.03.37.00 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 12 Dec 2023 03:37:01 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Christian Borntraeger , Richard Henderson , David Hildenbrand , Ilya Leoshkevich , Halil Pasic , Eric Farman Subject: [PATCH 3/4] hw/s390x/ipl: Remove unused 'exec/exec-all.h' included header Date: Tue, 12 Dec 2023 12:36:39 +0100 Message-ID: <20231212113640.30287-4-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231212113640.30287-1-philmd@linaro.org> References: <20231212113640.30287-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::533; envelope-from=philmd@linaro.org; helo=mail-ed1-x533.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, T_SCC_BODY_TEXT_LINE=-0.01 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 Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Eric Farman --- hw/s390x/ipl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/s390x/ipl.c b/hw/s390x/ipl.c index 515dcf51b5..62182d81a0 100644 --- a/hw/s390x/ipl.c +++ b/hw/s390x/ipl.c @@ -35,7 +35,6 @@ #include "qemu/cutils.h" #include "qemu/option.h" #include "standard-headers/linux/virtio_ids.h" -#include "exec/exec-all.h" #define KERN_IMAGE_START 0x010000UL #define LINUX_MAGIC_ADDR 0x010008UL From patchwork Tue Dec 12 11:36:40 2023 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: 753043 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c83:0:b0:333:3a04:f257 with SMTP id z3csp1847771wrs; Tue, 12 Dec 2023 03:38:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IE1L81HakXfSQZDRaMwUVV8pArSwihqyoioOgheqg1jzw7FNUQSkP5GQfGYeJ/+thaB7/8U X-Received: by 2002:a05:620a:22ad:b0:77f:1717:f76b with SMTP id p13-20020a05620a22ad00b0077f1717f76bmr6124283qkh.13.1702381088337; Tue, 12 Dec 2023 03:38:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702381088; cv=none; d=google.com; s=arc-20160816; b=gQtDakhJvpKoBzrJc+gpJ5CfiW6/9aX1NjJfVcTgwBMUkZ7VOPzzwJ/kz0Zj/Ut4yH Lqo6n/AYvAFEeYg38WpJqMwMo0e2isPrDJoj2qLm93bZPenQw9q1ErzpTeJ4J9DXTSHe 496msNaAUBd90weI/lJtYNp1uaDlq0JdwQadr1QHaDzaav3vTpfvJJ3iVSCzSNihFBj+ 2pscDoJNOTVL+EiQa03mMA6CLzndE/4yPvWyJh+/mH+oeaTojc4rEzN9etXzgkMG8Df0 ia3vhnjzvTGRH2tA8gLiFN6VBXI7/Hnx39hc5FjsfWjO7hh52pxkTl209rtfSKhRq48W 7dMA== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=wWiIaEjJAQ5+it/KnfBC9+5RmIMqGqAwUm0O20jJXPQ=; fh=Ag3vUXt9JQnBx0eW8FdPEehCurCFVmpDuVXYT8pyrqo=; b=fWEoD0liZzb6Af1QxBSSNY8u2/ZrRa9DYv3XdScW71nF9ohgsJSmm3Hbze0gRskMtM QMFUxzN/tn4W0vM14KLIay+Ymshge1SPX1SiZKFefUT9j/6GtQ5HmjofZupL523bhexr 2QILkWNBXzgEvrzsoK/U064NagnJci3cLwPaJ6btU09WFTJNhlZkCX8D9hWDexqYn36a Ek8Fuoa0UpSZeRHo6E7jR5Hz4ca54kYaxMsu9B9lzvgAXlwn3L4b5/853JMKXTu2BnyM uGzH5Db92BbOjr+aTq5HR/ERKnciRxjuTFdG3QTlJDzOzF7ugR3HQX2rhchTJ7pI5Ju1 hj3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D5aOZ5jM; 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 x10-20020a05620a258a00b0077dc65e33f9si10858932qko.27.2023.12.12.03.38.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Dec 2023 03:38:08 -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=D5aOZ5jM; 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 1rD14a-0000NZ-01; Tue, 12 Dec 2023 06:37:12 -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 1rD14Y-0000NI-NX for qemu-devel@nongnu.org; Tue, 12 Dec 2023 06:37:10 -0500 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rD14X-0006xj-6n for qemu-devel@nongnu.org; Tue, 12 Dec 2023 06:37:10 -0500 Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-551437d5344so2330573a12.1 for ; Tue, 12 Dec 2023 03:37:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702381027; x=1702985827; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wWiIaEjJAQ5+it/KnfBC9+5RmIMqGqAwUm0O20jJXPQ=; b=D5aOZ5jMkZiSdivGk3Ctpvfq+hLfnqh1zUz4EGctBo1glij3JdaMObOo5isweEhmaa friO948e36jgF6tG10zmUsXEeaUP71xnTALP8e/NHObJrAK129G2O3viel5GqpNCljoq 0KC4PAfiWjpXV2pgqB0YvtqsFwUfKFdsEuyUDI4KbZnOmuLedJFx111lLTaJn4r2pfwE VKphMXLeHaHE27BKoHiS5KPcP/VIVczszqvl5ILJXsqKdito3cOy6ZEhOf/xvAtzFLMi XRVbUjmJLOoIvGGDhbvK6aE5XrvjIXlj9FbM8NEzNVMZnrtNdF2kpWICMGsiC2YVK0Py CS0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702381027; x=1702985827; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wWiIaEjJAQ5+it/KnfBC9+5RmIMqGqAwUm0O20jJXPQ=; b=H7FFvCnj9+2o9v6G76kdDIiBMHKm4p210IHUF2mbvV0xwJR4ic1Isurk8K3YOhDR9n Mu15afdAnFSsicVItipfa0EMk6FAzMxtQttD8oSdwXilzukzx5Xcd0aJbbVYcuuAnB4h 4CqVfVE1f7AwxH1Q6jA3YmHWIyY1oT50s0NVwf3/vu8qBgeDlKVuNhZ+0OkeL0TFFrdV cOwXTUun2V3xFz4ZGaSg3QLWBn1GoiTe9pZbaJ6MQ+6W18JEthUTeOtvULsIYx3fPjo2 pC5m2ElMioGHfpexwKyFU1qI9IMVmicKmcJgntDA18tl+9EmNt8JfstR82JF822BvJUH yF3A== X-Gm-Message-State: AOJu0YybDD5gyXGZyxzS9TwaVpjIwY5GaAuMo4XTKrNZos8oZvUjJMG9 fppQ0BkRb3m9Zw0OwdlO1m3ahcRWhF02ddLc1487hA== X-Received: by 2002:a17:906:d8db:b0:a19:a1ba:8cc2 with SMTP id re27-20020a170906d8db00b00a19a1ba8cc2mr1912234ejb.96.1702381027587; Tue, 12 Dec 2023 03:37:07 -0800 (PST) Received: from m1x-phil.lan ([176.176.175.193]) by smtp.gmail.com with ESMTPSA id tl1-20020a170907c30100b00a1c8d243cf7sm6097107ejc.2.2023.12.12.03.37.06 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 12 Dec 2023 03:37:07 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Warner Losh , Song Gao , Paolo Bonzini Subject: [PATCH 4/4] target: Restrict 'sysemu/reset.h' to system emulation Date: Tue, 12 Dec 2023 12:36:40 +0100 Message-ID: <20231212113640.30287-5-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231212113640.30287-1-philmd@linaro.org> References: <20231212113640.30287-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::532; envelope-from=philmd@linaro.org; helo=mail-ed1-x532.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, T_SCC_BODY_TEXT_LINE=-0.01 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 vCPU "reset" is only possible with system emulation. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Warner Losh Reviewed-by: Song Gao Reviewed-by: Thomas Huth Reviewed-by: Zhao Liu --- target/i386/cpu.c | 2 +- target/loongarch/cpu.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index dfb96217ad..17b6962d43 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -24,7 +24,6 @@ #include "qemu/hw-version.h" #include "cpu.h" #include "tcg/helper-tcg.h" -#include "sysemu/reset.h" #include "sysemu/hvf.h" #include "hvf/hvf-i386.h" #include "kvm/kvm_i386.h" @@ -37,6 +36,7 @@ #include "hw/qdev-properties.h" #include "hw/i386/topology.h" #ifndef CONFIG_USER_ONLY +#include "sysemu/reset.h" #include "qapi/qapi-commands-machine-target.h" #include "exec/address-spaces.h" #include "hw/boards.h" diff --git a/target/loongarch/cpu.c b/target/loongarch/cpu.c index fc075952e6..b26187dfde 100644 --- a/target/loongarch/cpu.c +++ b/target/loongarch/cpu.c @@ -17,7 +17,9 @@ #include "internals.h" #include "fpu/softfloat-helpers.h" #include "cpu-csr.h" +#ifndef CONFIG_USER_ONLY #include "sysemu/reset.h" +#endif #include "tcg/tcg.h" #include "vec.h"