From patchwork Fri Jan 26 22:03:43 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: 766382 Delivered-To: patch@linaro.org Received: by 2002:adf:a314:0:b0:337:62d3:c6d5 with SMTP id c20csp452439wrb; Fri, 26 Jan 2024 14:05:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IG1LPDJZDAj4LpB+n6WhCdLeGxlkolS69D7XrZTsfwKaJ4iAxOEEbLrSyjxI9Oj/2FYGsQu X-Received: by 2002:a05:620a:14b7:b0:783:c08a:5140 with SMTP id x23-20020a05620a14b700b00783c08a5140mr422931qkj.9.1706306712948; Fri, 26 Jan 2024 14:05:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706306712; cv=none; d=google.com; s=arc-20160816; b=FETGqVSfj/7IGnTXESmrwirtb5C4uXKcYHpIMsmRwCn2jfw/Ibhu7KbIWtMHZZoPpv AViEabBTk6rTwq9ArPa3vK+/igw06EVg5eeUI2gnumA4B5nrPNg94F3jWAzxOOEQr11f bVtS2bKZ5zHJ2s5uxnvssmgtoroM+TiDyS9CVengbChx21cEAUGgYfHV2ajGuY+tZmwO 5lmPI/aB8vN910z+hRvZzSUsM6END41OiXCm7s9Q8MOiHAySyThRoBTohhH9nHPaIe4m K/zaT5mOSCMygn3AmF++HI2CHIFJtmH2QvA5Z0DtHtQ79ezdp6KeUm+oEsOwDbPB26mI edAg== 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=fhPW+/fhD522LvSZgboHJx0z0AbZf2+RXOPHpa2tqdM=; fh=DZNW8CE5biXBEUe7c3woe/Xz8ohw2LG7AOoVvRl2WJE=; b=eNQmJQ64ZOxZWAiWMo0khCEaIogxk0yVrfxdeFZX5XXNa12hR0cb95Rmu+V8byV+S9 Y4XkLarLQt4HHS4x5JrRtLkjUVrCj7LA8UjlHYkaE0gYbtJGnuVFOTT040ZeCFJAzkOU UMwhDDtF9uxx/Urdr34WyPeuNGME0lo1XEICQYoT4z9TGbxSeoGZkzYUfAnWfC5H0GZ5 vp1AVR47oIOamQ23Wf8JPXt2WCEdIuRZ9rnAS6lOZOf0t4HVZIB7ziZnxAfYM3KPG32c P0HXzTnH5198+XwsgqeM8gEe+SsQi8V+c6DsbOt+yhbxfVN5oWuIH8wNm84QbcotRGTt aXKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZecPfz1V; 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 vq25-20020a05620a559900b00783adf8c538si2151125qkn.694.2024.01.26.14.05.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Jan 2024 14:05:12 -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=ZecPfz1V; 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 1rTUJF-0006uL-EH; Fri, 26 Jan 2024 17:04:25 -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 1rTUJE-0006sr-9d for qemu-devel@nongnu.org; Fri, 26 Jan 2024 17:04:24 -0500 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rTUJA-0003Kh-7E for qemu-devel@nongnu.org; Fri, 26 Jan 2024 17:04:23 -0500 Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-55c2c90c67dso588865a12.1 for ; Fri, 26 Jan 2024 14:04:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706306656; x=1706911456; 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=fhPW+/fhD522LvSZgboHJx0z0AbZf2+RXOPHpa2tqdM=; b=ZecPfz1VZW8W1c/ZP+25+UeG5ppVZTN18R9j4VrE81fb2ujT//Yaf2BcaFkw/fmMT3 syqAPOCDk6pOx6n6ScwSdjReuTr93/HIvlCXr9m3kPuM7FvqNUXnszRwr7Aa1DASj3BG KxoV6HFBkKuJKm2Mf5ATuCXvhffhOxqBQU3SKIIGfMtLn8gVLW/WFQxRuyNpI1QNI4SO SdyuPRSYESilq4Y+7S9Fo1VHw7Ny6eVsbfSk39kjvEVV7NywlivZTpK7rSH6tnUEHxQT x5+SBg/X2nMYSwUbqiJ+8iL8zEKnvtToONh68FqrgWm0CY38Aau3rrNn21QAcvUTCCa3 /10Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706306656; x=1706911456; 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=fhPW+/fhD522LvSZgboHJx0z0AbZf2+RXOPHpa2tqdM=; b=LFsWK5ZbXRI3ENlSfH8x+bKLiwZmOlYlCJq1UZo6wiPChB5E3u8RLrA2nJBGyKQ59l E0gKOysQ/8W2ARxcgpHnokuZDpxsf0iCvJnzfYtqYgQcgol8f8X6z93CsFBmt1Se3KxC TbHfefKFN7JQQfKPqMigkIdM/Jtpu3MV+pM/JAkPMTYoh6PMHMlXr5PT4E1gZabvWWkM fYNlmawT4eanc3px9ZPzEKRKVVb2l7AMyotOidH7vTKvGOiEqrfJZOYCZpLYiAPW5U0b z8+XvGztScjeaJ1xilFQaARBFIjOContGahqo/5UPB+A7ustwapxjNVNju/GM9MPTZGe 1B8w== X-Gm-Message-State: AOJu0YylZ43wVRrXtCOa1TTYHd+8ycedQ+yJCzGcT9wym1K4kGzUBIKc aYlVXeWBSGrPpHFQ3Pemc/ErDAra+VRJgFgX5UXdXRf1/Un7E2n5pguFYB+42Hcrnwq/H57iY+K 7 X-Received: by 2002:a05:6402:34d4:b0:55d:357f:1837 with SMTP id w20-20020a05640234d400b0055d357f1837mr298106edc.1.1706306656478; Fri, 26 Jan 2024 14:04:16 -0800 (PST) Received: from m1x-phil.lan ([176.176.142.39]) by smtp.gmail.com with ESMTPSA id d26-20020a056402401a00b0055c6048544fsm1007886eda.66.2024.01.26.14.04.14 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 26 Jan 2024 14:04:16 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Thomas Huth , qemu-s390x@nongnu.org, qemu-riscv@nongnu.org, Eduardo Habkost , kvm@vger.kernel.org, qemu-ppc@nongnu.org, Richard Henderson , Vladimir Sementsov-Ogievskiy , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , "Michael S. Tsirkin" , Igor Mammedov , Ani Sinha Subject: [PATCH v2 01/23] hw/acpi/cpu: Use CPUState typedef Date: Fri, 26 Jan 2024 23:03:43 +0100 Message-ID: <20240126220407.95022-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240126220407.95022-1-philmd@linaro.org> References: <20240126220407.95022-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::535; envelope-from=philmd@linaro.org; helo=mail-ed1-x535.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 QEMU coding style recommend using structure typedefs: https://www.qemu.org/docs/master/devel/style.html#typedefs Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Reviewed-by: Zhao Liu --- include/hw/acpi/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hw/acpi/cpu.h b/include/hw/acpi/cpu.h index bc901660fb..209e1773f8 100644 --- a/include/hw/acpi/cpu.h +++ b/include/hw/acpi/cpu.h @@ -19,7 +19,7 @@ #include "hw/hotplug.h" typedef struct AcpiCpuStatus { - struct CPUState *cpu; + CPUState *cpu; uint64_t arch_id; bool is_inserting; bool is_removing;