From patchwork Tue Dec 12 12:33:44 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: 753067 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c83:0:b0:333:3a04:f257 with SMTP id z3csp1876312wrs; Tue, 12 Dec 2023 04:37:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IH8HoLmaKCXDY0THVGNd2reh2jgd+rqmv+T9cg4se6y5UzhytuNhsS7oP7/tgJAKkJEumTB X-Received: by 2002:ac8:5dca:0:b0:425:a834:d073 with SMTP id e10-20020ac85dca000000b00425a834d073mr8372907qtx.102.1702384662830; Tue, 12 Dec 2023 04:37:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702384662; cv=none; d=google.com; s=arc-20160816; b=QhnoGEAlYmify1r7WNovnFkU6SkHl8WtuXLIVoHWfqb/ZvUBLbV+F2y5+3x9mc1ng/ 4imf7eqKeLGo7sYmOYZBWgkXekbexIrv8q8BQAOtbEDbRCVi8d7lV0k/H9nesgQjxGgv 4itC9zyfEXhBxxWZZGfKhcdA7xt6ZictA/q0Vax9JWwTzFJpzrG0kJum0nFEEvhu4Xy0 fU9hk8RHa4ZDcCUbcfe5V8Tn+4pYtadDN8cIrZOzXp+ivsjn2RdjT+fAwO3SDTXcvt0a dPLnEHHjjbDstEWNvtfPVmsXOcnEy9t4CE438hVRqJBGom47a1atqCMfbXVVfyuRvDod Y4RQ== 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=WbDQbeYc3MqbJhEQi67twemcgBt5US82mKEOXjqMt3c=; fh=vlFEGdij83GYetLrOUaCnR04sbYRvtckD5L7fw5192c=; b=i8asHjGzTfr/xQgPTRbA3ww0LuukG0fsRzFMf7EovQ8NNwosAYelcWw1S8jQzuzt5J P05WsHmfda3RDlfS/NAa4ZmcZDQOPFONbUP1L6kC8jvCtL0N/R2LIY3zmKrouPNMIVES Efj3EzBMGAqh60R/7ctRWOCsE1yZcldcorlublLPsqQhnxRr9L6knaq7D6UTTNZkGUE3 uaTsaC2Y4gVsg6ajBJm8n+N9aflPgzumcUJtDt2macYwGfjOIAUxgqtwm9L+L4wtMvrl C0+kz2P660DJKsIykCIuOuIcO9c7HOJgKFg0LSinaZDC+cjeOgO0nMVnIrdx30Ik1tmg 0z7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LCWjlppo; 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 ci11-20020a05622a260b00b00423820be0b0si11095969qtb.274.2023.12.12.04.37.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Dec 2023 04:37:42 -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=LCWjlppo; 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 1rD1yv-0008TT-DX; Tue, 12 Dec 2023 07:35: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 1rD1ym-0008I7-5u for qemu-devel@nongnu.org; Tue, 12 Dec 2023 07:35:16 -0500 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rD1ya-0006oE-GZ for qemu-devel@nongnu.org; Tue, 12 Dec 2023 07:35:15 -0500 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-40c2c65e6aaso57536585e9.2 for ; Tue, 12 Dec 2023 04:35:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702384502; x=1702989302; 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=WbDQbeYc3MqbJhEQi67twemcgBt5US82mKEOXjqMt3c=; b=LCWjlppoJDWo0gfsxvpcK90lyyPmjphMYVK+VJnrA0buSOwAaiMo5W4wunwDf4ueNF GCKjvxiduvYJl/qEgtujAVjBmGwsjHWGgbXWEVNby1GQZd4A2jTdWtHMFwKKqg05M1yc NuvtBTiF1ELofOOL1SXrDmKMRh6HccDPzaBt5wA0Gn0K2xMXQ+ti0X+Xz/COldVtnMwP QCijq4FmKwq5jWUjragRp+zBAFljcSK06iSojaC4YyE5hCkxRAgPc+uvSoOWBr6rtoRZ gRgg1On5SpHYjbnWokl1k7vWXbMAVW7nqy4Bagc7jIueYQE7s2ayqRSatXCH635O/V3l yKbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702384502; x=1702989302; 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=WbDQbeYc3MqbJhEQi67twemcgBt5US82mKEOXjqMt3c=; b=PZOslIslRVzY1m2hlxlSaUNG49DlQ2i1yQ6dgeQ2Aph99tNmdcrPUiaoHlK+bhi+gC e7qO6nPQBTp3d24QXPIWapw1uMaPPQjogLZy9MV7bUEZXQ9Qe6D5rvaTUzZQPruGgQkt a9EUfJQDyEPKANUQTIEiMuXiBZFTHvWE8+nDmyLEEQ1yUBpYCdsYBZMxnIdZf3Y6CJGB Z2aosdEnX+vKrl05k7w1cGc+951wbCpVuw6oP72FOMe4VDq7pIVEohYSmaPsF8Wjy5Yp 0jLUA4sdczxuOxQmNBbZcCk/vIN9YwOHVp4plxPERTbiTBT/7W/4AP6x5DQjyI2nBeYp ozcg== X-Gm-Message-State: AOJu0YyjdvDSqIAxrCSYo/YYCMkbjpx+6KqaVmvYPqVltakNrtn68xNK 0AUaCRTjj+KdMRqvT/Q9zX6blY/Oh5NaL15o/35WBg== X-Received: by 2002:a05:600c:141:b0:40c:3667:9e89 with SMTP id w1-20020a05600c014100b0040c36679e89mr2486829wmm.85.1702384502203; Tue, 12 Dec 2023 04:35:02 -0800 (PST) Received: from m1x-phil.lan ([176.176.175.193]) by smtp.gmail.com with ESMTPSA id hu19-20020a170907a09300b00a0ad580e1b6sm6140865ejc.48.2023.12.12.04.35.00 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 12 Dec 2023 04:35:01 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Claudio Fontana , qemu-ppc@nongnu.org, qemu-s390x@nongnu.org, Richard Henderson , qemu-riscv@nongnu.org, Brian Cain , Thomas Huth , Paolo Bonzini , qemu-arm@nongnu.org, Manos Pitsidianakis , =?utf-8?q?Alex_Benn=C3=A9e?= , Anton Johansson , Warner Losh , =?utf-8?q?Phil?= =?utf-8?q?ippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v2 08/23] host/load-extract: Include missing 'qemu/atomic.h' and 'qemu/int128.h' Date: Tue, 12 Dec 2023 13:33:44 +0100 Message-ID: <20231212123401.37493-9-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231212123401.37493-1-philmd@linaro.org> References: <20231212123401.37493-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=philmd@linaro.org; helo=mail-wm1-x32a.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, 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 int128_make128(), int128_getlo() and int128_urshift() are declared in "qemu/int128.h". qatomic_read__nocheck() is declared in "qemu/atomic.h". Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Anton Johansson --- host/include/generic/host/load-extract-al16-al8.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/host/include/generic/host/load-extract-al16-al8.h b/host/include/generic/host/load-extract-al16-al8.h index d95556130f..6b47339b57 100644 --- a/host/include/generic/host/load-extract-al16-al8.h +++ b/host/include/generic/host/load-extract-al16-al8.h @@ -8,6 +8,9 @@ #ifndef HOST_LOAD_EXTRACT_AL16_AL8_H #define HOST_LOAD_EXTRACT_AL16_AL8_H +#include "qemu/atomic.h" +#include "qemu/int128.h" + /** * load_atom_extract_al16_or_al8: * @pv: host address