From patchwork Fri Dec 16 22:01:54 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: 634448 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp1078460pvb; Fri, 16 Dec 2022 14:07:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf70Dro5ZrregHn6u55G2RpsZxEpnW+q6mNCpQTVVVLk6lwJIOWTfNXc2otVDfQlUdD0EFxA X-Received: by 2002:a0c:f881:0:b0:4d1:5b10:51f0 with SMTP id u1-20020a0cf881000000b004d15b1051f0mr49185656qvn.10.1671228465872; Fri, 16 Dec 2022 14:07:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671228465; cv=none; d=google.com; s=arc-20160816; b=ViJKXpH66yaYFBNlNpNqt9PzcjlyqCJPfyF0Mf6o+NaDrt/4NWRaWjqvX3rcrBGrtJ 84AZMvLlWkU7eC2d5oUkxUWfIn75BHA0b+HvY6anvuj72i9QxG5AtEUcDmydlRmPjtkX Ct7uBQQjsxmRBLAuAY6MhciaPe4dIKSzXl2SytWIkInXZHuUHjTPlCM6D/GY2jqwUMVX u+IhCBnKGDXtnVmH0Gnharr6MiZId7HjlaEo+D/jX/GrkqxWFv9609nv/avJVGQxLiAs 3uvUMYzIMJaR9eUsinPqjnveaUBXCzsGxdaWOmkosLnF4gdRN/L67pfoaC1ahTIs4JD/ DKqA== 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=smV2boftcCtD6CrVI7POMK9nIWSGbQbv5KmjP5LYN6w=; b=sqpxMwGY+u2kX7hVtuLaNaPO4xSLH9bHwwXo5i9q4KUxucpm+51KYECLNUXi5OI0Wy Rk/RKI1sRjMRBlVT01r4dXq+LB7ZNLhVJYsrG+oKu3OXKTGrWtx3lZb5fkoqMlSkb4DC Hjw64Ie/MyAW3eI4OB7lV4yH/aNZbazndDd1p/xrexLYOiY7yy63lJx5z1zEpcK8FGAN col6k7/44T+3MyzyfgqiCNq7XucjBcWWTXaPC9JVOd+PJhthqrUB1AxtQsqDu281fiix QwRHSVNwlLfXMMkPfrr0u9+Z9CjoraPxq+smnlVt623MfR17waJkZICUOyd1O6oPg6qb OFEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DaOMyhZ6; 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 im13-20020a056214246d00b004c5d84df888si1571609qvb.413.2022.12.16.14.07.45 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Dec 2022 14:07:45 -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=DaOMyhZ6; 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 1p6ImV-0005u0-GG; Fri, 16 Dec 2022 17:02:15 -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 1p6ImS-0005pl-SP for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:02:12 -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 1p6ImQ-0004Wv-HM for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:02:11 -0500 Received: by mail-ej1-x62a.google.com with SMTP id ud5so9283021ejc.4 for ; Fri, 16 Dec 2022 14:02:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=smV2boftcCtD6CrVI7POMK9nIWSGbQbv5KmjP5LYN6w=; b=DaOMyhZ6fNpFrNXIfIEA8BNfsz9USKx8GXatFrOF1pclTTG+TpoggCFuWgJqA9c+5t bN+M/B8rT57GHfUBvghHx3yQqQZkBwRtb1hMQMxW/mfPFIx2UOxpeXWNAeGvU0c9vFKV 3drdogBgH9zKwQWF9Dg7UZxaQtL/Kb5BL7f2NPKorzyglxJ8iKDHbayQU0fOswWg+dbn dqbNx5uLMeS0oXSZaBa4L+jMcJPaigEzdULoZvILY3cKOjkoiG5+SeVCWr3Y4yDVgVOc DM9G+tLJ3XUUpin2EftSnBSZjjXZliG0kWgzHNbY1A0ImjHl0zWlzgxuM2wwUfe/uvYj MFxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=smV2boftcCtD6CrVI7POMK9nIWSGbQbv5KmjP5LYN6w=; b=Yv9fVIzZG/JlHZco4Wdys5rBR1Vn3TUXvLfGyXLpbJLUdTrZ59YuSfiJkj9+Tvjhd7 D6Q+u/apILciS0QYTnB05XV0gVks3DswNBCxZraBsWflZZbw5QaG9XR1n9rjGSErWP04 kl09pZSYSkayNEayU3HZtERqmHPkRZnk9IZ0oE1uDSsRAlRY/BHtsZ5fGL5VtaAzO7dN xOCRVbbrLUNslYPtB6HHr/UxDBkFqJ5mQAER5MZYsEY6eO2vUClJXAFxmzgVc73Tv0hx PiMtf2jdrXYl11tSPzOw4J87Sg+F8MKALFgwRKBTH1BFZdo4Dn/dbiDjyL0c5pml6+ZZ JPpQ== X-Gm-Message-State: ANoB5pliG6UHhqqEnJrsmwvcPU6YesHLQbue76RdyQWHrxkEEFDuNNvW DEMr90n8C4vEKsdZzYUF9zNNbe4vVNDzVn/ALkc= X-Received: by 2002:a17:906:1805:b0:78d:f454:3855 with SMTP id v5-20020a170906180500b0078df4543855mr28504506eje.18.1671228128414; Fri, 16 Dec 2022 14:02:08 -0800 (PST) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id g25-20020a170906539900b00738795e7d9bsm1299629ejo.2.2022.12.16.14.02.06 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 16 Dec 2022 14:02:08 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Marcel Apfelbaum , Cameron Esfahani , "Michael S. Tsirkin" , Eduardo Habkost , haxm-team@intel.com, Roman Bolshakov , Paolo Bonzini , Richard Henderson , Wenchao Wang , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Subject: [PATCH 1/5] target/i386: Remove NEED_CPU_H guard from target-specific headers Date: Fri, 16 Dec 2022 23:01:54 +0100 Message-Id: <20221216220158.6317-2-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221216220158.6317-1-philmd@linaro.org> References: <20221216220158.6317-1-philmd@linaro.org> 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 NEED_CPU_H is always defined for these target-specific headers. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- target/i386/hax/hax-i386.h | 2 -- target/i386/hvf/hvf-i386.h | 4 ---- 2 files changed, 6 deletions(-) diff --git a/target/i386/hax/hax-i386.h b/target/i386/hax/hax-i386.h index efbb346238..409ebdb4af 100644 --- a/target/i386/hax/hax-i386.h +++ b/target/i386/hax/hax-i386.h @@ -49,7 +49,6 @@ struct hax_vm { struct hax_vcpu_state **vcpus; }; -#ifdef NEED_CPU_H /* Functions exported to host specific mode */ hax_fd hax_vcpu_get_fd(CPUArchState *env); int valid_hax_tunnel_size(uint16_t size); @@ -66,7 +65,6 @@ int hax_sync_vcpu_state(CPUArchState *env, struct vcpu_state_t *state, int set); int hax_sync_msr(CPUArchState *env, struct hax_msr_data *msrs, int set); int hax_sync_fpu(CPUArchState *env, struct fx_layout *fl, int set); -#endif int hax_vm_destroy(struct hax_vm *vm); int hax_capability(struct hax_state *hax, struct hax_capabilityinfo *cap); diff --git a/target/i386/hvf/hvf-i386.h b/target/i386/hvf/hvf-i386.h index 76e9235524..95b47c1c2e 100644 --- a/target/i386/hvf/hvf-i386.h +++ b/target/i386/hvf/hvf-i386.h @@ -24,11 +24,7 @@ void hvf_handle_io(CPUArchState *, uint16_t, void *, int, int, int); -#ifdef NEED_CPU_H -/* Functions exported to host specific mode */ - /* Host specific functions */ int hvf_inject_interrupt(CPUArchState *env, int vector); -#endif #endif From patchwork Fri Dec 16 22:01:55 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: 634455 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp1079955pvb; Fri, 16 Dec 2022 14:10:57 -0800 (PST) X-Google-Smtp-Source: AA0mqf6KtgRyhlrcLFE1gUKwWet/6GVHtUMvklOS5SW/OKE06OCKeItqECxTUNqt1LJKQEQwkYj/ X-Received: by 2002:a05:622a:5a08:b0:395:396f:a519 with SMTP id fy8-20020a05622a5a0800b00395396fa519mr44129633qtb.0.1671228657339; Fri, 16 Dec 2022 14:10:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671228657; cv=none; d=google.com; s=arc-20160816; b=XTYf+A1y0d99m5aerpthJ6YlS3ARpZnhfhh3I71PuGkkddd/+W1rTrXYuKvcuiXilE /J6Tx9Iyew5EZ4dIp5bsNB+fEnuLFBevvJ3KyM70k092QKnkamnQFi+k7eGz521+g9vz D8zHTr14qF/lYn2qqVlnUounLaUpyxSQXUfVOeq91WYAM/kZFNAyUv3nP8Ht9h+7K3dy WVb7joHy22DwTfBFRm3KUtEb+RoKx+UfGFslRPtBbVmcS+aGNelAQHAMV6NbbNlSQiXs GLIWIOLkYu7px1Pi+zxooxkIvyYJBH4R6L/JB/wYi7udrJ9NmNwJQt57g0xBe9vtCnQW ZarA== 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=rw+OSreaYKaK01l9H3rpbBUYYZyWmIr/QVbzMY71n0k=; b=d5rm4b8fbw2LhokyuF14NffFpmtcFFhKTkpqic3zb0xFy0SX4B4g4q5nAgLrREAbGj Lh1zorBUlFGhKU4rx7u5djk5f+OEqbrdRg4cSA7yt3sxu2c5nbHwRRBHCmmjX1RJjmQ7 DGccUKZ8XnR7R0jS0ZKuH3OJk99dvxRh09E0QJIM8sEHBkD+BQVTX3sPU2BBwYJ8hiBW 8KNigCth9z/HPgtAlkSMPghjGxelRVFqpm4ySVlePTXkfm63BehJA+TsPevxJJLMgrnk EImOA9paBhOmK0n+jm+vWxeIOeZTuBbxua++tZ/QCnKIePAthoJsC5Y19aSL3hX1p0kA wmMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VOC2qmf7; 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 j3-20020ac86643000000b0039793085192si1561235qtp.295.2022.12.16.14.10.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Dec 2022 14:10:57 -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=VOC2qmf7; 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 1p6ImX-0005ut-Tx; Fri, 16 Dec 2022 17:02:17 -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 1p6ImW-0005uM-JP for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:02:16 -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 1p6ImU-0004Wv-Ss for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:02:16 -0500 Received: by mail-ej1-x62a.google.com with SMTP id ud5so9283478ejc.4 for ; Fri, 16 Dec 2022 14:02:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=rw+OSreaYKaK01l9H3rpbBUYYZyWmIr/QVbzMY71n0k=; b=VOC2qmf7OPpDFDVkWgHbPSeEIJAC/EmuHhZKqqyjCBX5xnJNdOE4bv5OoRgHIE88r8 7ek6EjPAwNrBLL6V5uvSCSkwIRRqpOI5d/tNz754ajBMGPEdsKU5MyqBXLzRwM+B4ISI 0NrlMLKZC3vaOK39Nvsman4fh1Uf49PwpnIIZl/7VzPp1ZncmRkkH7N9YKVP3W7tIdbJ Va8GNZ1nlI9jHNSX8pJ+cuOS7K4jBshECa6ELozToGz75/M401G3HfVp2xl7rmHJMEQl RCk3pDLy3csARaFZvvaZFq782lrRqIaySQNAneXX8u0N1PpR1JeIWqO4tSaxposP8G8O fADA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=rw+OSreaYKaK01l9H3rpbBUYYZyWmIr/QVbzMY71n0k=; b=D/NEpYILjadHFmuqP87IIJHlLkRhUCrf+EuEJnBMjq+zL98CIyuqZh0Dxuyo2uyXoU buPW5KnBmBYJw3mNQKgoSoFNxJRfOzdPpYen3d/0Y3MVNVbEw7wPreneol3ITQ8j8/wi WLmfn+MlunW1PGfyv/Lc88J0sqBCV5JsCZriLCiGdFqvL2YliIl9ZlZMZJOf71Z/1ZdT SB6jQ0gq5/30ZFtO7wto+ZVDeIP/aifRindyEeBKjTjR8ezg/Q+0ZoXOjcYNqRosavBN jmZNDTyZGxKDqn3GQiT5yFxG910skDVa4cRJyo43bKed6RMfsmOweETL5dGJwkKpzef0 52sw== X-Gm-Message-State: ANoB5pn33iZyvlKhhOPVt1toqzK+RYq5LBwrXskZaDzLIvWzeM7A6INk cZlx0L2OdFOgLQ8EDCcDIP0uB72KqMwCa3gDSKE= X-Received: by 2002:a17:906:6ad7:b0:7c1:ac8:399 with SMTP id q23-20020a1709066ad700b007c10ac80399mr14403774ejs.55.1671228133933; Fri, 16 Dec 2022 14:02:13 -0800 (PST) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id ku10-20020a170907788a00b007c0d4d3a0c1sm1278537ejc.32.2022.12.16.14.02.12 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 16 Dec 2022 14:02:13 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Marcel Apfelbaum , Cameron Esfahani , "Michael S. Tsirkin" , Eduardo Habkost , haxm-team@intel.com, Roman Bolshakov , Paolo Bonzini , Richard Henderson , Wenchao Wang , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Subject: [PATCH 2/5] target/i386/cpu: Remove dead helper_lock() declaration Date: Fri, 16 Dec 2022 23:01:55 +0100 Message-Id: <20221216220158.6317-3-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221216220158.6317-1-philmd@linaro.org> References: <20221216220158.6317-1-philmd@linaro.org> 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 Missed in commit 37b995f6e7 ("target-i386: remove helper_lock()"). Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- target/i386/cpu.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/target/i386/cpu.h b/target/i386/cpu.h index f729e0f09c..9824b7f8f2 100644 --- a/target/i386/cpu.h +++ b/target/i386/cpu.h @@ -2313,9 +2313,6 @@ static inline void cpu_set_fpuc(CPUX86State *env, uint16_t fpuc) } } -/* mem_helper.c */ -void helper_lock_init(void); - /* svm_helper.c */ #ifdef CONFIG_USER_ONLY static inline void From patchwork Fri Dec 16 22:01:56 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: 634467 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp1081836pvb; Fri, 16 Dec 2022 14:15:25 -0800 (PST) X-Google-Smtp-Source: AMrXdXvMS5xmCU6lRcADuRkI7O+L8ZM98WHumAq4yDRN/yXkdxS73qTOYI9YfgLGVRzJ8u2TnVxa X-Received: by 2002:ac8:5351:0:b0:3a8:2d6:521e with SMTP id d17-20020ac85351000000b003a802d6521emr1597428qto.37.1671228925126; Fri, 16 Dec 2022 14:15:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671228925; cv=none; d=google.com; s=arc-20160816; b=khlrPwPI88w9VCvyhbr9HjYQ6wwKdUrSQkCE77nocyDjz+XyO+Og4WeEmscIXrkVo+ UX7Dw0x/AA2XdrbGNipCxtTbokXkA71b2MtUyOSdBwqJcY3zn+nUVnx2ok2bOgXn/386 G7molDO+r6noFjkxm8IoyKnu5fMIpC+3cuBKie/F6T/qXciJrYH5wknjHkUGqJorY4pd gwYmoGtNIs+dOVrU9cycj/JzSpgpN027vr2dViY5yyWmE2cUwMDd+XCVToSmVtYcoAxY Dt7HGR8Dm6isLWDeEn3z4ma1D0dKMNETfrbZldii5X7a4UC9CinLUYL2vMQy0R/JTKlk qVDg== 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=bsYElVm876q/0ZqLXVB4BT+73LRGAkhD0hBlyKLVHqQ=; b=jMjXhuD0L6wCotXSBvL9tdxM/UwB4hkcK0+NolM3vnL+AratQDoS9fPfdqfw/mJ42G d4w1jy4WS6tuw/WKeHO8+YefI4zda8Nijs8JceVZKcXE5XMPyP/eJJkb4JRgLanI11lp 1xr5M2wRWVMaH/srfws+K8QeofPkAvt4HfX84OvEQI+vdriytIZyXgpFQEBYeIWhT0bD EdartuCJ0T9jiqKswzRr1lsvBVas2+no0E67VvQ7fds0B0LdCr4lXi7ztP1Bynd9030B n8W2CPT4U8LRDj33XdsSr8D0vFHnV7BXWw/VtImIqToAIK2cqhP88UP/gHIt0I5vl8of tu+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=flnntruX; 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 g24-20020ac84818000000b003a50df01c3dsi1521329qtq.390.2022.12.16.14.15.25 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Dec 2022 14:15:25 -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=flnntruX; 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 1p6Img-0005wU-Us; Fri, 16 Dec 2022 17:02:27 -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 1p6Imd-0005vs-8Y for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:02:23 -0500 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6Imb-0004Y8-GC for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:02:23 -0500 Received: by mail-ed1-x52a.google.com with SMTP id d14so5435861edj.11 for ; Fri, 16 Dec 2022 14:02:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=bsYElVm876q/0ZqLXVB4BT+73LRGAkhD0hBlyKLVHqQ=; b=flnntruX73Zzy0t/jROQZBggFAGJK88sjUttKc9z8TQjz092cNZRLRn74UUSbCMgtu RWSVq3NqNY2o/jn9IvKu6PWdO64WWHD6fQWziI10FCRaaFkri94Gm80Ve1xW3W/3HmL1 t5+sKIWTso2JyzoC2iBQ2z1VoBPj46YDe5Ay8/icRKATjGcpMNWfdYyadgS3JotVBH4h s6k1xcJ1RhrydnubUV5QzN//3TX3s0zDNk1w4swCd3vjEZwGdwcXuA1WOIG0ZZna6abl OXyBw7gL9c3jt7JH1H12Oz2paU6aXW0GORSMfLEKQlyrqVXPUmDdahQ2dEunvlno1wrv 4ozg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=bsYElVm876q/0ZqLXVB4BT+73LRGAkhD0hBlyKLVHqQ=; b=GBuUC1ekz4CB+CGBhmQhbMPDMniruANcPJ+Xh00X0ZH0YYJ04OFAU3i9VJmCAzlWc8 oUvrcNariv/4HBlPGorNED95DDd/5eixS79jWJD/uvcOT+G7wecFqOCmYIrea7BJZ9qN VPaGzR4DdwG9x2qwajIDa6W04a+ld9wbSJCDJqf7f9vGXurAdOM/66MpHPlV3g0HCzsY HyXqoym0trSlYe2anLn3XzTUKlFGQYFdf3keDySFp4wdmlnTsMIgVgC7mteXZ4WvzjxN 2exwent2q+XAmmfD28QW0CKEpXIqHcitAynt4l8AMvxOC+n2smABNsgSo74MITtfbyNW rtoQ== X-Gm-Message-State: ANoB5pm4B4KzDlMSJUuSEFPZWnN6kKaQdy1hc6JUn6S8mT8yK+eQ+iwA aeiBzLiTXgpPf8+4bLTp5i7WfZZJmx3P684EeQM= X-Received: by 2002:a05:6402:448f:b0:470:25cf:99d1 with SMTP id er15-20020a056402448f00b0047025cf99d1mr16674901edb.31.1671228139536; Fri, 16 Dec 2022 14:02:19 -0800 (PST) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id cm12-20020a0564020c8c00b00463b9d47e1fsm1320516edb.71.2022.12.16.14.02.18 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 16 Dec 2022 14:02:19 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Marcel Apfelbaum , Cameron Esfahani , "Michael S. Tsirkin" , Eduardo Habkost , haxm-team@intel.com, Roman Bolshakov , Paolo Bonzini , Richard Henderson , Wenchao Wang , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Subject: [PATCH 3/5] target/i386/ops_sse: Include missing "cpu.h" header Date: Fri, 16 Dec 2022 23:01:56 +0100 Message-Id: <20221216220158.6317-4-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221216220158.6317-1-philmd@linaro.org> References: <20221216220158.6317-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::52a; envelope-from=philmd@linaro.org; helo=mail-ed1-x52a.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 'Reg' is defined as 'MMXReg', itself declared in "cpu.h". Signed-off-by: Philippe Mathieu-Daudé --- target/i386/ops_sse.h | 1 + target/i386/ops_sse_header.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/target/i386/ops_sse.h b/target/i386/ops_sse.h index 3cbc36a59d..68c88c9ee3 100644 --- a/target/i386/ops_sse.h +++ b/target/i386/ops_sse.h @@ -19,6 +19,7 @@ */ #include "crypto/aes.h" +#include "cpu.h" #if SHIFT == 0 #define Reg MMXReg diff --git a/target/i386/ops_sse_header.h b/target/i386/ops_sse_header.h index 8a7b2f4e2f..5631a6d1e1 100644 --- a/target/i386/ops_sse_header.h +++ b/target/i386/ops_sse_header.h @@ -16,6 +16,9 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see . */ + +#include "cpu.h" + #if SHIFT == 0 #define Reg MMXReg #define SUFFIX _mmx From patchwork Fri Dec 16 22:01:57 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: 634466 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp1081635pvb; Fri, 16 Dec 2022 14:14:58 -0800 (PST) X-Google-Smtp-Source: AMrXdXvG4HBSlRRJDlPeKKJafNvgyEYwgeKBLO8a9akLNF1fEBoB8X1ntX1PgUmiXxgcjbmj9imE X-Received: by 2002:a0c:ef87:0:b0:4c7:662:c7be with SMTP id w7-20020a0cef87000000b004c70662c7bemr62047qvr.1.1671228898009; Fri, 16 Dec 2022 14:14:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671228897; cv=none; d=google.com; s=arc-20160816; b=O/GUbwRHl27l8kGxfGAJIjukkGuk42NYpQivXq4YGM/lW75kkHQgbisGpYs2G24Lcb 7kTelC3ekNe/OYP0qw0aXtd+VvZhizeKfQseLqBPAeuQYOEUWiyY6oQcjHfYn9cgqj2J /NrHJ+Kuhc45EpImxQZ/C5IcuOp+JWYErbXNqJBL5ZytbxLsHY0Sr0CVyYe2tHSEvcLr Kh2FvAiwSBDzO9WTza4rXl9mG44N8wqACRUa07i3Pe4DgVhkhX9vIn9X1IG8e36+hCqU irj/Vq3bQ30pONczUA2+gUrq/DbwlNWVOmTWgIuVD1D7uPAm1hbfHRh19DZegecl6Qr8 GsNQ== 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=ubryi+kT4ZgfJta0po2rO0OCWUN41wpa/A7EK1wMX3A=; b=pQVRHviZd1THfn502N+NtknFuxdRSKBI4HvWrIaSLIyevh1oW4bZA4vSkhluJXCZ6X S2N2LeMvaTdzHBMEjS2/aALj4l1bNnC4qPJzaWDZ+b6AXvrTXDM6OXwW+mnJRg1SY7GL lYhUFxxctDIlPRhgU0b7ilwvalT5lH3nouQJMgMpLDBz60fJyGjdfDFOSasgpdyow2vR +Rt0Xr1wj0lIvjSPFo5t3BCQpbbHtOgW4W8egsBj7B+QX3726ZxAt4XyIu7GIX3kPcCk /yHHNrlwuFFBEkJ9397Tth//Qvm2jBo0S4x5Drhqp+ilzvvLRa4m8Rm+HVTZfJ9RU068 ASxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CPXJdzqq; 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 if10-20020a0562141c4a00b004bba84b68f0si1590515qvb.131.2022.12.16.14.14.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Dec 2022 14:14:57 -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=CPXJdzqq; 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 1p6Imm-0005xy-37; Fri, 16 Dec 2022 17:02:32 -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 1p6Imj-0005xY-TW for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:02:29 -0500 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6Imh-0004Yo-LR for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:02:29 -0500 Received: by mail-ed1-x529.google.com with SMTP id d20so5578190edn.0 for ; Fri, 16 Dec 2022 14:02:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=ubryi+kT4ZgfJta0po2rO0OCWUN41wpa/A7EK1wMX3A=; b=CPXJdzqqTPQTVBAhjt52mM6Sr6Xb2LTSI4KR89AdwMhHcVAmf4Mp1len6K6NxdXMn6 UZs2G9WzLdjSLmcG7LMBJrmkYXE0xq/0WDA0EqkzUSJoVoUe6Ty7bR+RxNoXHb06FAcU 9zjZVvVuYfBTAcQ6XmZBQ1Rn/FmzkqtchgoNVkvcngRI3ngEAKOBhsrt88tEZayyBs95 0L2yBCjMWBqpEZzUUwJ3wy/AQCXSPtKmgVXba/JGHv5pgBCICijfsU+XTL3FbyhTi5BB 2nkqw76Gxx33g6P1WlVLOEVggs9LFB8b/rulK4aorqYsvPAp4H4liq7OmslsNi6ZkBYA nPmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=ubryi+kT4ZgfJta0po2rO0OCWUN41wpa/A7EK1wMX3A=; b=ZA71hejDts7IAs4UNu1EwbmM44eDiH0657iD8eLZMgoH59mSUZ5ufbxj0uMO+9ccW1 /lv/hRaPf3hQKCydlYFn/bA0OxlECg0JOQZ3M4cmsFFwrV64JImuIORwzN41+iTKVMUk 72uCRg1jabkjG6N0bbKqU8aWgC/YNMBUYF2M8ThPbw4SgHTf5dwVhVFN1al7bNBR+01+ goEpczPH+PJEGxZNKT9QCfOwbSmeHUZg2XF27dJOBvRFBoJZKHMszu6ax0yd7RrY4xRi UsZpNV+yAzcChEra6+l1mQ7pyz0uET3gfrLz3xaNVKO4W6P2KCoT7pfCinfEmg3MAapN s4fg== X-Gm-Message-State: ANoB5pm1wMuntPAq2dsPRwVSWJB8DTh0OPYiHuiWdIc1rJxIKXlYg1fa 3ExO1kb8j0PwWfUItbX/2znrsF8+7K0FZiWcA+8= X-Received: by 2002:a05:6402:28a:b0:45c:be41:a473 with SMTP id l10-20020a056402028a00b0045cbe41a473mr28858111edv.29.1671228145924; Fri, 16 Dec 2022 14:02:25 -0800 (PST) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id r17-20020a056402019100b004722d7e8c7csm1323355edv.14.2022.12.16.14.02.24 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 16 Dec 2022 14:02:25 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Marcel Apfelbaum , Cameron Esfahani , "Michael S. Tsirkin" , Eduardo Habkost , haxm-team@intel.com, Roman Bolshakov , Paolo Bonzini , Richard Henderson , Wenchao Wang , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Subject: [PATCH 4/5] target/i386: Remove x86_cpu_dump_local_apic_state() dead stub Date: Fri, 16 Dec 2022 23:01:57 +0100 Message-Id: <20221216220158.6317-5-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221216220158.6317-1-philmd@linaro.org> References: <20221216220158.6317-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::529; envelope-from=philmd@linaro.org; helo=mail-ed1-x529.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 x86_cpu_dump_local_apic_state() is called from monitor.c which is only compiled for system emulation since commit bf95728400 ("monitor: remove target-specific code from monitor.c"). Interestingly this stub was added few weeks later in commit 1f871d49e3 ("hmp: added local apic dump state") and was not necessary by that time. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- target/i386/cpu-dump.c | 5 +---- target/i386/cpu.h | 4 ++++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/target/i386/cpu-dump.c b/target/i386/cpu-dump.c index 08ac957e99..40697064d9 100644 --- a/target/i386/cpu-dump.c +++ b/target/i386/cpu-dump.c @@ -335,10 +335,7 @@ void x86_cpu_dump_local_apic_state(CPUState *cs, int flags) } qemu_printf(" PPR 0x%02x\n", apic_get_ppr(s)); } -#else -void x86_cpu_dump_local_apic_state(CPUState *cs, int flags) -{ -} + #endif /* !CONFIG_USER_ONLY */ #define DUMP_CODE_BYTES_TOTAL 50 diff --git a/target/i386/cpu.h b/target/i386/cpu.h index 9824b7f8f2..32d048f326 100644 --- a/target/i386/cpu.h +++ b/target/i386/cpu.h @@ -2355,12 +2355,16 @@ typedef int X86CPUVersion; */ void x86_cpu_set_default_version(X86CPUVersion version); +#ifndef CONFIG_USER_ONLY + #define APIC_DEFAULT_ADDRESS 0xfee00000 #define APIC_SPACE_SIZE 0x100000 /* cpu-dump.c */ void x86_cpu_dump_local_apic_state(CPUState *cs, int flags); +#endif + /* cpu.c */ bool cpu_is_bsp(X86CPU *cpu); From patchwork Fri Dec 16 22:04:11 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: 634470 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp1082736pvb; Fri, 16 Dec 2022 14:17:32 -0800 (PST) X-Google-Smtp-Source: AA0mqf4EJpsg+naI7xq3ZH5ntvVATDuxGJA7+4sGGwFGBXy4BWYab6fA1rw/TDHapqzylYQd9HFD X-Received: by 2002:ac8:70c4:0:b0:3a8:45f:a47f with SMTP id g4-20020ac870c4000000b003a8045fa47fmr44373622qtp.49.1671229052574; Fri, 16 Dec 2022 14:17:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671229052; cv=none; d=google.com; s=arc-20160816; b=QbZN4bWwKJS2Q2OQQ+JtmI43v/QL0vkOCtWsDRL48vj8v6UlfsPSsl/AFAh+4YVtQP 7jHmseELIPLEP+IwY4RxeM1o+tW6Qbidj97uHBenaLRaOtoYZbgITxvJA0XBDhly43Xn 6GLA+P1NOs/MhVD+M2G5RAS8jxQ5uDcbYcu5VIViJ0dxEeJHm9fLi/xicS/OqZAYNX8f R2mNRsThJODnPZB8Xshcz42o09UV9dbzbwiicD5UYaTpLcgu1RDpmmtrtQJN9eSMy0Wu dM5lCsmHWrxfG4nKA0kNMOaSscY65reluEyU+QU8rcKrhMcAfA/Vk7S8AY16uwsvGz+N ntbg== 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=3Z9Q/ZOLM/RvXrGdDf9zoAVvthQ7cKK+Y7xARgd6nyc=; b=ThIAtD82zkyR8HRNmFSJ5Gf94czAbn6Fg886Y4eeSQmS40PFy05UhaNs7PbIg2DFv3 +G4d29hA0KNmit4CFLyCS4ujCJ3a4ki9ZHCd8OwyDUn9a4Ws9HRIZXpwJEyfHkiuEG03 mT6gzhVR54EFDvWj1QQsRFZrRjMc47RNzqfFsHOIEJ7IvzLIy9atOIr1R1OcDhuRQj6a l2lBNeUPkmcrqYHz0eRsvt5NLojjVxI+5yMgNeik9Z4dryWLUegOg/saHlAHcOOcgtx8 Vb4lJlzu1p0t21dgnTVxfK4FSTfbApkZnW3C25dAovaBDFiOeWfE8RRGgr5abBy3FR3j cG5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F2sy76oH; 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 x7-20020a05620a12a700b006f4db55e8a8si1454828qki.62.2022.12.16.14.17.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Dec 2022 14:17: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=F2sy76oH; 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 1p6Ip9-0007ou-K9; Fri, 16 Dec 2022 17:05:00 -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 1p6Iox-0007i9-8r for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:04:57 -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 1p6Iov-0005IA-Jt for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:04:47 -0500 Received: by mail-ej1-x62a.google.com with SMTP id vv4so9330784ejc.2 for ; Fri, 16 Dec 2022 14:04:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=3Z9Q/ZOLM/RvXrGdDf9zoAVvthQ7cKK+Y7xARgd6nyc=; b=F2sy76oHmOeqwFZt3OOkRRYFmar0ZGgBSjneNY1pXPFyUkDYrsRNGEg3erl7/FaPJW dDKkzbl2mwZCNhDaaQBcVX/YiMmX115xxMng196Q+72W0LN93xAql0UL9YeBcgMrl6rX rezcrazAsFgDV2RXKWhGpLvBzXCoo+cd1Mq/QScWeR2nBVPYTQXdGRl82x1iOmOU2tjk t15lx7Wt80QPNy8TEjj/JCwa8huTjCk9V7v7+zI1/EZUOKvU/pjw7nueD/vgru7pJ3rs cxWL3zuhAGzt/8BJdmE+7kDI9SB2WLv8M9F70ZbHdkeZM6+ilseVIq3nGm5fF4XD+TjJ 9vSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=3Z9Q/ZOLM/RvXrGdDf9zoAVvthQ7cKK+Y7xARgd6nyc=; b=DErAaCk/qEBBsgb1agbVbIF/fdkzpKlJGWplG8kKO31H4XVxeb+tbdZaaXpPDiRsAM r3ZhxgIxhrbtih8yc4/44Ky8Ok/UJbW6HSvRWz3gl7TmOjJMnrBB+SV0CPBafiBJIJk2 2dxV+iVUOWtPLiORN0CyTsFDKOzQ0aSN6L06oVPk+QJh1dRXokw3DqlGq/ytLS3nQTGx p3HNJ/nQg0K3sW+wItJk5dZSpL/EtFuzUDJMOTSgfTQPhq47mZUJVxgLKzswqBGL68gt mMp3WZBHsoZY61qC7dfAj/wUs/aOj/5JSnS6FqoRHruv6Z2Ieh4d615pcdWtSd96SEbk a1QQ== X-Gm-Message-State: ANoB5pnGWsggVNwJzC87iOVS0eO1gosx3JxskK3qzE7gHwRpl2WSzV2v TdiPy/vUwzUucdo7t+lPmqboNyN/3lYo0Exuwfw= X-Received: by 2002:a17:907:1045:b0:7c0:ca94:4631 with SMTP id oy5-20020a170907104500b007c0ca944631mr28366322ejb.30.1671228284050; Fri, 16 Dec 2022 14:04:44 -0800 (PST) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id ku7-20020a170907788700b007c0be4861e8sm1292035ejc.23.2022.12.16.14.04.42 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 16 Dec 2022 14:04:43 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: David Hildenbrand , Thomas Huth , Halil Pasic , Paolo Bonzini , Christian Borntraeger , =?utf-8?q?Philippe_Mathi?= =?utf-8?q?eu-Daud=C3=A9?= , Eric Farman , Ilya Leoshkevich , qemu-s390x@nongnu.org, Richard Henderson , Peter Xu , Matthew Rosato Subject: [PATCH 5/5] target/s390x/tcg/excp_helper: Restrict system headers to sysemu Date: Fri, 16 Dec 2022 23:04:11 +0100 Message-Id: <20221216220411.6779-6-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221216220411.6779-1-philmd@linaro.org> References: <20221216220411.6779-1-philmd@linaro.org> 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=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é --- target/s390x/tcg/excp_helper.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/target/s390x/tcg/excp_helper.c b/target/s390x/tcg/excp_helper.c index fe02d82201..e9eb7c455e 100644 --- a/target/s390x/tcg/excp_helper.c +++ b/target/s390x/tcg/excp_helper.c @@ -21,15 +21,15 @@ #include "qemu/osdep.h" #include "qemu/log.h" #include "cpu.h" -#include "s390x-internal.h" #include "exec/helper-proto.h" -#include "qemu/timer.h" #include "exec/exec-all.h" -#include "exec/cpu_ldst.h" -#include "hw/s390x/ioinst.h" -#include "exec/address-spaces.h" +#include "s390x-internal.h" #include "tcg_s390x.h" #ifndef CONFIG_USER_ONLY +#include "qemu/timer.h" +#include "exec/cpu_ldst.h" +#include "exec/address-spaces.h" +#include "hw/s390x/ioinst.h" #include "hw/s390x/s390_flic.h" #include "hw/boards.h" #endif