From patchwork Mon Aug 28 14:55: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: 717730 Delivered-To: patch@linaro.org Received: by 2002:a5d:688a:0:b0:317:ecd7:513f with SMTP id h10csp1231088wru; Mon, 28 Aug 2023 07:56:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG7lDw84CQ7VyazDZ4ayc8O5JjcC8WrpH/yFjZdJbYRtnEqxJXDOuH01a+6FgIhFItvb9la X-Received: by 2002:a0c:f5c7:0:b0:63d:16b3:1fec with SMTP id q7-20020a0cf5c7000000b0063d16b31fecmr14736946qvm.51.1693234612127; Mon, 28 Aug 2023 07:56:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693234612; cv=none; d=google.com; s=arc-20160816; b=F8p/r0eghakTWtk/64OKJjRMsX9KZ3hqeR5f+NyUz0uAmRbmCzjgXOMC7wDLtudZYV L37P7xX3EhhgKH+L4w9yxgaTbI18cOutFo5rPQG0bJFmTG0ZKalPudoZJe9+0akTLMSB 2hU9CNSSjcxItl8YAPe9OCGJxiDV6xqWJ1UsOA7g3zTA4OS5JVw8KEnXj0lDPvbuWIKc V3O85matN5lYO4wUyoB6za0S6afS+v/r3TWYyHVBC2J39jVo5UTeK9jVviD8NoUxOp/R B1ENb2nd+reUfBAcS5wyi8WNgcWg6SxFyHxffEgOOO7I7apkGRlwV88u3kdH+9IOLQhj TqGg== 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=CDnk9YSeaoJdQRRB9TTsPC8B6FMZ/ZKTWzxCgLttq3Q=; fh=FxYtB1slzL/yn78+bieLaailXu9MIAo7Kb5vkjusizk=; b=lECTaaT3visJV5zztIiPOkk3YWLsrQnODGElYo9jsRnXXjpYIDN3tK3GvKk/K7xKP4 p3YTUS35P5hEywdVttz+okAROogiK7iWIkH0Fup227JnfjQTHedS7iNIooFt/nLFsX+E dyIJpbV+Sei6s/UGFaAJUqGIWXg65I7W86P5jG327c52YRcDW1LiTlBcr3A0BDl9chsT orQfepBb02YVvaRzbwAlaXIZ+i+h5IPGAi2iTxYWojnIRJZZ/2kZ6OdGJ+xVnlbuGFcZ evGinuJdnPtkqWaZL/+v7jlcbLYcWKsClACuDucfAtg4NZS2ir29ssUYrcsFBSjYRh7q Ac3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RX0Ofg5K; 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 u3-20020a0cdd03000000b0063cd7637668si4612068qvk.233.2023.08.28.07.56.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Aug 2023 07:56:52 -0700 (PDT) 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=RX0Ofg5K; 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 1qadet-0003GM-Lo; Mon, 28 Aug 2023 10:56:03 -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 1qadeq-0003EK-6u for qemu-devel@nongnu.org; Mon, 28 Aug 2023 10:56:00 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qadem-0000cc-7f for qemu-devel@nongnu.org; Mon, 28 Aug 2023 10:55:59 -0400 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-401c90ed2ecso11427195e9.0 for ; Mon, 28 Aug 2023 07:55:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693234554; x=1693839354; 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=CDnk9YSeaoJdQRRB9TTsPC8B6FMZ/ZKTWzxCgLttq3Q=; b=RX0Ofg5KAXxE9CDOWpykX8qYJeHS2VRbi9dmFytIAybRaja/e+N1aawJ3Ja7qiw78j uz/xTipwL1cXatc3MLu2VtGxp3fBWQmLGV0EYsWsOpmMVPBL17/wXaMAwTV+4tKvVcO8 J2jeyC1jmzJIhk4XCV817THqBF6btaKqOHUSkl4yoYLfl4GiFjYWXHWBjKW6QDvSvThJ Ub6qbwgv+uygkpb+BlSuY3p2UODY94HNZUiLhCeQ/A4valJmrYNhCGBQvRyifhTdbn0K ZPbra76QKYS8rUU6Ki73MUK7dNR9K0P18fZwvRbej4luWpCnOPMaClw7ioMnOj2XW3To b+nA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693234554; x=1693839354; 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=CDnk9YSeaoJdQRRB9TTsPC8B6FMZ/ZKTWzxCgLttq3Q=; b=KQplfe2xVPmRs75iAr+tQIoQ6+QPYYM7DDURhIVTd1GCy60QsmUjJcjZXiziAp0qX9 IaZW5l5w8OjhdqLGVbXxuJr1wJy0ORzrsPiQ/WDjhHfIdE8Qb/sRq+3w07J5y875ZWN6 nHEhpsk8gLXVbr6lo1M7rnLHVXGNDtOT46sLFPtb8Fp4zrXpQ4BVGIQT9wnfaD6XhhTI 1Nk5O0gtTMZp8q+lzssbkPjIDTR1JnsWitqS/RS7TiiSqpaVu2fXfTCELLDcm4KbkZMg +rJwQfPu4WrhvTe4QeeiSnS9u88LBlO5hg8sIJxzjwtxOsxt3jPktYGJFi+Nk64xNWwh jguw== X-Gm-Message-State: AOJu0Ywt618qzLGreXT2ltjQoQqiS+WSIDvBjxyZOr+3BlI0E6kjGmIh jR1Yr99WosKoB9RUBFzIq9KshyuKTCUT53uaxp4= X-Received: by 2002:a5d:688c:0:b0:31a:dc2e:2db2 with SMTP id h12-20020a5d688c000000b0031adc2e2db2mr18174702wru.49.1693234554675; Mon, 28 Aug 2023 07:55:54 -0700 (PDT) Received: from m1x-phil.lan ([176.164.201.64]) by smtp.gmail.com with ESMTPSA id z19-20020a05600c221300b003fee9cdf55esm10908709wml.14.2023.08.28.07.55.53 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 28 Aug 2023 07:55:54 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, qemu-riscv@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 1/8] target/ppc/pmu: Include missing 'qemu/timer.h' header Date: Mon, 28 Aug 2023 16:55:38 +0200 Message-ID: <20230828145545.81165-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230828145545.81165-1-philmd@linaro.org> References: <20230828145545.81165-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=philmd@linaro.org; helo=mail-wm1-x334.google.com X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 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, SUSPICIOUS_RECIPS=2.51 autolearn=no 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 Since commit c2eff582a3 ("target/ppc: PMU basic cycle count for pseries TCG") pmu_update_cycles() uses QEMU_CLOCK_VIRTUAL and calls qemu_clock_get_ns(), both defined in "qemu/timer.h". Signed-off-by: Philippe Mathieu-Daudé --- target/ppc/power8-pmu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target/ppc/power8-pmu.c b/target/ppc/power8-pmu.c index 7bb4bf81f7..2537cded83 100644 --- a/target/ppc/power8-pmu.c +++ b/target/ppc/power8-pmu.c @@ -16,6 +16,7 @@ #include "exec/exec-all.h" #include "exec/helper-proto.h" #include "qemu/error-report.h" +#include "qemu/timer.h" #include "qemu/main-loop.h" #include "hw/ppc/ppc.h" #include "power8-pmu.h"