Received: by 2002:a17:906:c1cf:b0:a52:4db9:938b with SMTP id bw15csp640077ejb; Fri, 26 Apr 2024 12:50:09 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVXlbwNz+DGh1kxyvLNlBrxd9Ku0uBGGVarfWyN6t2zPd26lg8Ydd+hQCJYKP3kVQ7N3o4xHLeIQ2wB97DW5SbyjONJnQo0 X-Google-Smtp-Source: AGHT+IFKzwctRiIS3awd3IuT92b0Pxd7GghBK7nSd80vYDfCGKOE2ZEMKYMH6pIF9zIjOwW/OyPi X-Received: by 2002:ac8:5fcf:0:b0:43a:7cdb:ca44 with SMTP id k15-20020ac85fcf000000b0043a7cdbca44mr2789426qta.67.1714161009444; Fri, 26 Apr 2024 12:50:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1714161009; cv=none; d=google.com; s=arc-20160816; b=c6AI2HDSWgDtOgCxDquI1WbAIs66N0B9uIyNdPXLquORdMY8Jh6IP89fEYiQPBcfbW mGqfVxbQCJEuKYq/dh4y2c631x/Vfok56vnqDPHSOp5kl/4kWhn8KNIJTmD9K3rzthnL GcFnlgpwT8LTmvoc/ISvnI1koe5ZcD37MqxLbWpG4ymdEJAx9Fa48vX6qGF5R7BKdhqN 88HVRMJbYxUWBd8uoQQbEH3qiEjmqX2i7xTn0nAOr5xB29NZ7wOLFX6L2/hQ1iR+yx6o iAn7vhR4czDDzDNDGCN3CUsbMsn3nCoGoTwV54RDnPcBXOhn6GeHRNsc+zoIKp2c6Lxo mM/Q== 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=IXDAwLQsv2ww5TZLeRIWY1HIfD/SnMqDRj2dwvAIHgY=; fh=gUEsd95llBLtqUKhUnPIoHQ/SNwiv/bmtZ7rMzFWY9Q=; b=PfbsQS5Md+wT/9atdGBsLfw7tnknjSGlCYpB1Z9EoAI+q9ZHzr8GQPr+Aq4fH9RxyS 4P/KdzcGDN7/hJjoF9R1NnibfVzce7oCovpkY9O2OvRn0RpQfvuPLWtcnW5tyb5v8ZY8 yQJU30jg6JdLUg0NmLX8qhfc5bQU+vpa6dfk8h4vw1rLWNxRqFM6VVjCulCnNrw6VBa+ zGONH87JDIo1T3hPwkVzH286XYkKgftd0fbEclrYkXu1Lim7uobE1Dv1cOzb0/qBFE9P Dw6BbP3cxBvYF0F0R4uXBl9e4qXsD6zSoNYOsJ/DeEmjBjHGkh3JYQ0VuHJc1Wbk6VWJ Ia2A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zu0zykhT; spf=pass (google.com: domain of qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+alex.bennee=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 g21-20020ac87d15000000b0043a1d4525d8si6989761qtb.129.2024.04.26.12.50.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Apr 2024 12:50:09 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+alex.bennee=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=zu0zykhT; spf=pass (google.com: domain of qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+alex.bennee=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 1s0RVh-0001Rq-2J; Fri, 26 Apr 2024 15:45:29 -0400 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 1s0RVa-00013a-Mu for qemu-devel@nongnu.org; Fri, 26 Apr 2024 15:45:22 -0400 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s0RVX-0004Zl-Ln for qemu-devel@nongnu.org; Fri, 26 Apr 2024 15:45:22 -0400 Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a5557e3ebcaso424879566b.1 for ; Fri, 26 Apr 2024 12:45:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714160718; x=1714765518; 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=IXDAwLQsv2ww5TZLeRIWY1HIfD/SnMqDRj2dwvAIHgY=; b=zu0zykhTN8O9lp5Zsdgu4VwjvzDUEvIzrQ5Kw5EnVtKG19iLemz1txafl1QoTp/M3C VxwCD7EI1r5c4FNXgnIMLJR/z3rqA1wPn3AZVMTH/08a/+0ZVyGSYQgB1h9Nosixboc0 KkAatfjLLiEtJAbcJaDgzpxQO5PPvox7RyN+k7BXHJElGaiwHbhBWQhMbKvqzZydTW+p 62aqij0dmkcDCkWBVOYxMsGyIBJfKeaH8HIIbAkkoaucioghN3YIW35Pslxr6BfPWXQC o5hY4OvOxvcbdd5HsanEkAKqkXMrACORfmcpHTacNouIxijrOHLBsby7p1xGYPqv7Yel 4mkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714160718; x=1714765518; 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=IXDAwLQsv2ww5TZLeRIWY1HIfD/SnMqDRj2dwvAIHgY=; b=DSas6Z8R3cl1lL1+R8vNRG1wrdr+rrN32MeoMikrCRbWsp3/gdpA12nvtZHAtwPL6N K6dykh/etrNwodN1807+SIAOLIdNAzo+FGacRDhG4/W679SDB1p0eeYtf+mNpSJOouVm mct6glSbm+qwNRZkyipsxllPvcnymHcMBKmEIJFUqVYutGiyH3VTlvM8ADl6scvLAsrt TP5o6tKtCDZ+uRIuEaZHdzPY4SmLqMdYPZEwl4r48ZTIE7R9KusMojZbdMrneURH1ORf n+uXhB1w9+JuVMW//ufI4cganhNgectzfTbEOcRnocywFSjBsXjq1PC+R7q1/4DpLjZW j+cg== X-Gm-Message-State: AOJu0YxnsvYwOdSWfUg4NtdmNo9NCYGYX709MRCUxYrLeRCesJFxw4Va O0f9klCg4ZKf84Np6xnGFlqP3FRTF2GqAyPxhFj1CyFnig5KM6jlBSV1xg/pSFiqmZY/xnpmaFt J6bE= X-Received: by 2002:a17:907:7244:b0:a58:c4f9:a2f7 with SMTP id ds4-20020a170907724400b00a58c4f9a2f7mr697418ejc.2.1714160717925; Fri, 26 Apr 2024 12:45:17 -0700 (PDT) Received: from m1x-phil.lan (aul93-h02-176-184-11-147.dsl.sta.abo.bbox.fr. [176.184.11.147]) by smtp.gmail.com with ESMTPSA id cd19-20020a170906b35300b00a4673706b4dsm10888091ejb.78.2024.04.26.12.45.16 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 26 Apr 2024 12:45:17 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Richard Henderson , Paolo Bonzini Subject: [PULL 33/38] exec: Restrict 'cpu_ldst.h' to TCG accelerator Date: Fri, 26 Apr 2024 21:41:53 +0200 Message-ID: <20240426194200.43723-34-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240426194200.43723-1-philmd@linaro.org> References: <20240426194200.43723-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::634; envelope-from=philmd@linaro.org; helo=mail-ej1-x634.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+alex.bennee=linaro.org@nongnu.org Sender: qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org X-TUID: iSoscvb4QTLi "exec/cpu_ldst.h" is specific to TCG, do not allow its inclusion from other accelerators. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20240418192525.97451-6-philmd@linaro.org> --- include/exec/cpu_ldst.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/exec/cpu_ldst.h b/include/exec/cpu_ldst.h index 5b99666702..f3c2a3ca74 100644 --- a/include/exec/cpu_ldst.h +++ b/include/exec/cpu_ldst.h @@ -1,5 +1,5 @@ /* - * Software MMU support + * Software MMU support (per-target) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -62,6 +62,10 @@ #ifndef CPU_LDST_H #define CPU_LDST_H +#ifndef CONFIG_TCG +#error Can only include this header with TCG +#endif + #include "exec/memopidx.h" #include "exec/abi_ptr.h" #include "exec/mmu-access-type.h" -- 2.41.0