From patchwork Mon Feb 19 14:14:09 2024 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: 774090 Delivered-To: patch@linaro.org Received: by 2002:a5d:4943:0:b0:33b:4db1:f5b3 with SMTP id r3csp1181359wrs; Mon, 19 Feb 2024 06:15:48 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUNbcj5AlcwriGoekSqpUeGrX4V9NjrCtmjhgzgn0yJChVwbolCDBmSRwQIE/eDqrMCDbzmLoXvhUtnFtNdgGsQ X-Google-Smtp-Source: AGHT+IEgjLuu2AxFbUUXW+C2o78rZyTZr+pDorTsbNVA8SptivEe3xZPYF3amIK90mPtPOxvY372 X-Received: by 2002:a05:6871:3a0e:b0:21e:8025:4aa7 with SMTP id pu14-20020a0568713a0e00b0021e80254aa7mr9336240oac.14.1708352147885; Mon, 19 Feb 2024 06:15:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1708352147; cv=none; d=google.com; s=arc-20160816; b=y+7z/7PAtwJqs3ijm6aNnXjFxSw04B54l+r/HAQQ0idHDXLUX9XHBX6mFslsCZ1/o4 ttKQblpTNOcat1bmm5GKs2S3Co4CEK2hxjOgUg4xpLYsq0j6waQruiIS5bpiiRLD7dMC nml6VxwwmPNf9UPNXUVwn1wPveLcTZzJ77s07HZ+/Y1rrs5WHTkBpYJ5LkCc9awPNCpO qPUuWjcBFDOH1i+oXhmZdsAVJCcWHr3rqH6l/x0pNY4k9JtqPzR/ocgcMBDrOcVeIruk c93KLQmYWVdQ8e/VjWid6jaII9xp4OM5Ki7dgLHqTJS6A4ponYfN+y8EtPSRPuUyw1zk lEKQ== 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=9J7bsYDfP840rvlPB/SKF671rHZmvSXNYnENubFOAY4=; fh=samD0lp4jLKeDhkTkeB861D9LItYSgbb2UVql1zSm0s=; b=gRuLRCwH7T9gK90pqzgmJhwFQ/p63fHRnED3Qd8yjk1p+2AO/eC9Hf3gQRtF0ilFO2 swbmPxVMnDHDZinU0NVyOWHd3XaWDdHLDKQ7SsuhmvNfSZ1QYotXtMRQxCACuy9lmZYm waimvOpA9Fv+QWNlQJEDFNjMYzEsLTAgj0+wZB3Pxw/6WnTIUT//cCJVfdejczGUcZ1e 4umS7IpglDO28wT/wc1fbCls2UEGStIumvK4qJvSzUH0UCAT92Q68u+jaKCBttjDx5PG P4sa9yexgQ7OvJMm/UaJPEpN70eFOeilwih9ctPgdfnDkJuGuPdPdXR4o6xbccIi6YQi Sd4A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fRlQMj6i; 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 fa1-20020a0561302f8100b007d660015e2fsi192228uab.33.2024.02.19.06.15.47 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Feb 2024 06:15:47 -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=fRlQMj6i; 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 1rc4Pm-0003XM-Kw; Mon, 19 Feb 2024 09:14:38 -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 1rc4Pl-0003WP-5e for qemu-devel@nongnu.org; Mon, 19 Feb 2024 09:14:37 -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 1rc4Pj-0008Rl-He for qemu-devel@nongnu.org; Mon, 19 Feb 2024 09:14:36 -0500 Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-563e6131140so3715311a12.2 for ; Mon, 19 Feb 2024 06:14:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708352073; x=1708956873; 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=9J7bsYDfP840rvlPB/SKF671rHZmvSXNYnENubFOAY4=; b=fRlQMj6i5Xc5IPuTDGuslNsMhS1juNA1ayD4DuAhNmZUqHqo8TXKz+EKfnfGFD1d+I cQAYvFHDVUPcjmYPxv+1rApUA+TUZvkjdUpRquSR4d5oPqnhuDtTkk+Tc6AuKcje7+Yj 8OWw0xeGZ2rWW1WKav6/6zLhkfiWHvNI+3dnCFeJ8HR0z4nYgpUmvyQJjjiQ1KOTl0iY FD2iRTt1MvPVCM4AzTJ/lugkZ0iTVYJHkmB76XQf8sy5pDPPvzwtoyQ03CzhRLuXKnW3 UwRVUTS5BxpPwd9PhkPd7BIqF6g4MO2z6AGbHAH+MLl1XWI4Ho+iYdx1uUpIQV+Dl1tL 1V8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708352073; x=1708956873; 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=9J7bsYDfP840rvlPB/SKF671rHZmvSXNYnENubFOAY4=; b=DPlVvCFsVR072V4WkZ5iqj7cIAL4N/dXUdLHKfsbTEMF7iKB9WAUBuB8geFWifCg+S fFD31h1cCI3l2XmevrHHPaQp/XXiUZ45vNi+Oz0joe8u5T58RmbwxvqrIiYeC9G2QI/2 Uode7I37CrReMyMou//2G+LDjBXybMybdIN0s+no3kNGUy6aiMlh6BP/HwxrqkzG1kwV v0ysEYmT3cfV5+fktwIRxn80HdATxpMZ/Q6DS8Ot4Vta9I72wz1YBw5bTm1kB7iNIWsh MQsPQG7LY3BBpjfn2a2fEbaF3Hwq6KgLH2ZbobKUsGEiSBlrPt1QQSj0UnC65c8ttZ5V LyRA== X-Gm-Message-State: AOJu0YzvjeLhbx24qENMMPd2G6WgxfvZIeooEKPbi/tPOi/WXEo3fhSf I8r+6KI6VNv4Uyg9d5teoBx7DQkjMs+1DWD6Z6vZk4TadUia1WVrrudhRuRdKcqsBBtKTvQl64H p X-Received: by 2002:a05:6402:1801:b0:564:7007:e14c with SMTP id g1-20020a056402180100b005647007e14cmr2272437edy.22.1708352073683; Mon, 19 Feb 2024 06:14:33 -0800 (PST) Received: from m1x-phil.lan ([176.176.181.220]) by smtp.gmail.com with ESMTPSA id fg11-20020a056402548b00b00564168e6674sm2569850edb.51.2024.02.19.06.14.32 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 19 Feb 2024 06:14:33 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Richard Henderson , Marcel Apfelbaum , Igor Mammedov , "Michael S. Tsirkin" , Ani Sinha , Bernhard Beschow , Eduardo Habkost , qemu-trivial@nongnu.org, =?utf-8?q?P?= =?utf-8?q?hilippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 3/5] hw/acpi/ich9: Include missing headers Date: Mon, 19 Feb 2024 15:14:09 +0100 Message-ID: <20240219141412.71418-4-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240219141412.71418-1-philmd@linaro.org> References: <20240219141412.71418-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, 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 The ICH9LPCPMRegs structure has MemoryRegion and Notifier fields, so requires the "qemu/notify.h" and "exec/memory.h" headers. However nothing from "hw/acpi/acpi_dev_interface.h" is required, so reduce its inclusion to hw/acpi/ich9.c source file where it is used. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/acpi/ich9.h | 3 ++- hw/acpi/ich9.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/hw/acpi/ich9.h b/include/hw/acpi/ich9.h index 2faf7f0cae..215de3c91f 100644 --- a/include/hw/acpi/ich9.h +++ b/include/hw/acpi/ich9.h @@ -21,12 +21,13 @@ #ifndef HW_ACPI_ICH9_H #define HW_ACPI_ICH9_H +#include "qemu/notify.h" +#include "exec/memory.h" #include "hw/acpi/acpi.h" #include "hw/acpi/cpu_hotplug.h" #include "hw/acpi/cpu.h" #include "hw/acpi/pcihp.h" #include "hw/acpi/memory_hotplug.h" -#include "hw/acpi/acpi_dev_interface.h" #include "hw/acpi/ich9_tco.h" #define ACPI_PCIHP_ADDR_ICH9 0x0cc0 diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c index 573d032e8e..be375a8b9d 100644 --- a/hw/acpi/ich9.c +++ b/hw/acpi/ich9.c @@ -35,7 +35,7 @@ #include "sysemu/runstate.h" #include "hw/acpi/acpi.h" #include "hw/acpi/ich9_tco.h" - +#include "hw/acpi/acpi_dev_interface.h" #include "hw/southbridge/ich9.h" #include "hw/mem/pc-dimm.h" #include "hw/mem/nvdimm.h"