Message ID | 20250112221726.30206-3-philmd@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:525c:0:b0:385:e875:8a9e with SMTP id k28csp1178236wrc; Sun, 12 Jan 2025 14:18:21 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVclTXIa/2JLkWQ7myCHK6ZSZHfwmUAeokEb2dPZd11t/vQbWCrsBXaG3dyamXVA4Tl5r9I0Q==@linaro.org X-Google-Smtp-Source: AGHT+IEl3JVXjsJAIr+YRye3vSGJsAUMzkt2xZy/eAYIQHCff2Wt+qPWY0dEav2h11cINaFTZQRe X-Received: by 2002:ad4:5d64:0:b0:6d8:9838:d3a9 with SMTP id 6a1803df08f44-6df9b22d71cmr212950076d6.26.1736720301209; Sun, 12 Jan 2025 14:18:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1736720301; cv=none; d=google.com; s=arc-20240605; b=Qc2sfAdm2FgePY+0ycBygjXCAtbPoA+h70ECbBjDFfx8yGNrecJJGkVFDBub43mpWV S/r6mKwbgj1xqQ+ldQAgQz3xFyvdgShLXnZrrL2xvjGYSkndzRCytJKDYXqlXAyL/7rh QAi8Xqko4De+qgd99HaYCzj2wxIM6OmEn4Yn1uiL1UZnW3caE3eQIKCVNNfDUg13f29U fauBJzFxr7wuvkfHw1y/LCYbKxD27L7M3LCIQwqelbQrjrcg8kymrkaoRsvePguMTPRU wyjpuSowFEO8s97l4+mYmysphfnenC/Ee+UHEfIg9kHoqnjln+OxvqrcMgSuVNz0pY1p wwdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=o/QB0eCOWglzRhv0POd1a0450MrEr7ITHH+s9iR/zMg=; fh=50e5w3+W6SHHNE+06M/ShWWkYgFcpUwndl6hLiFb1X0=; b=PfiVzp/+Npf2RSPxKamO1AtXGtkgzv+wnL5gZSpNGeIvstH2YphvfYtXNThSOFtv+K 3BXFSOh7BgaB1/u0Vl3TCxhRfOBW0JW5pFX8IT24MG+6nmzK9VonoGq0avVNSpJLZszm Z0S+Z1JbbfSFipcDeyQx9y/ekunaSYCPTh65qxMuf9XaSxeYebOU38vxOM+QoeVD9QGn NcUtt0w4c5rK967fzolqwaetsk5R0FeJI4hCol/uSKGWp+BLs9Cr7X8uzO6nJoqIfZNl Y9CtIGEI2+j48mmWSq962PVI4jXRMUgeHsv3SepuKGNL5Bke4S71NMwrVvYOEZ1WITPe PxMw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WzcRFFuk; 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; dara=neutral header.i=@linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6dfade982b5si76788596d6.231.2025.01.12.14.18.21 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 12 Jan 2025 14:18:21 -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=WzcRFFuk; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1tX6HX-0007Ty-77; Sun, 12 Jan 2025 17:18:07 -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 <philmd@linaro.org>) id 1tX6H8-0007SX-7Q for qemu-devel@nongnu.org; Sun, 12 Jan 2025 17:17:42 -0500 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1tX6H5-0006O5-Pg for qemu-devel@nongnu.org; Sun, 12 Jan 2025 17:17:41 -0500 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-4363dc916ceso28855785e9.0 for <qemu-devel@nongnu.org>; Sun, 12 Jan 2025 14:17:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1736720257; x=1737325057; 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=o/QB0eCOWglzRhv0POd1a0450MrEr7ITHH+s9iR/zMg=; b=WzcRFFukQ/Yek1m5hnh0Gzid8WquR2GLR97HU4biR3b934lhc0v74JJYjqeB9LA9Hg sKwQRkpbS3+oSPR09KU0nnCS81qGoIZmp1g2/yVJ2JYWLDpd5uZMNQHCzegevIqkglhZ KC4WbHIABgKaXWYRHw4GFNQYgjYX5bEyPBxU2GjbMAHYJp4PEm/Rg7qp+Fc09bUAAUzV u2yt2qgm+CN0ddUc3pW7CHKcP187ZWo4NpWm3uFSL5+FubbwT7ptkbGCe4cLWPSHtjX0 G3Q4uj5zKP80S6VaGAOgb7lZD6Z8Sg/u4hHys7diHoADXwj2PyWHEeHhdAFNW4ErynoF RBHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736720257; x=1737325057; 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=o/QB0eCOWglzRhv0POd1a0450MrEr7ITHH+s9iR/zMg=; b=buEZHg+XHbJhmnSIn2eymRZsaiL+ICe7X0ghLx67yxi6kh4T+TpdS44FM1IG7IBzUd /Se/Q1dkst8vEqIu7XMbQdIxnVTbApYQf9YQjZNo+DlJND3cdWgQz1K6DPHVcg8hRCgV vRvlMhoTKr7FM9SN1gZcHHPJaW/NCV8dleFMdXRvETtkmJCeScc5nZqjmPsp1uVQzcZR sqreX/Fo0c99RePnog2a0Cf89MbUWjbTcqCs2zrnFXZo2mX1H5g5EyDVFyUaxCLv+bKg +UDFX8P4wajrdToNQevFNcExsyJm0JsdRlu48GyY8o1P/N+fmtti3G9E0rWqpdUERyOT QFKw== X-Gm-Message-State: AOJu0YwfaaGFnLN3M22NyYUXn2piRrkOSMGdgmN7RagPLbB5zgYWNsqQ aKA/auvQbP7k8szZliXW0qWMubCDc2Ix1M3551h+2DeQz1dUzKB36s3WpuxkL1ywCqh6qcD325c wHp8= X-Gm-Gg: ASbGncv6GawSDM66PYnKZyrV3yrbk6EstN3WRRWENnA/+z6Xtc1i3i2YDPmeHM+DBP4 yc+vH3ONdAzheuW0lAyqYu6HJ/4a7nRevAh7Ur2vpKM5LjPoncDoHqjg8N9EnzHYCP7+UIzDC07 tumRaDB2zf7ZN6PMZy87+thGWe0NpEvrPnLZlcv/8NrzcqdfdeUb+yjf+Xj/JS20KtzaSmRhqGY 2xXP7XK9LJpEH1Q8t8J4TgcGqtQJNXehqIEg2SWWrEGOb9ee1cM76sNrSnF0rXuxkFTfpfpG94g dKQp6WiYyGEjTm7D22VKxbug+q5pGoE= X-Received: by 2002:a05:6000:1f89:b0:38a:9ffb:ff02 with SMTP id ffacd0b85a97d-38a9ffc0264mr5293576f8f.12.1736720257354; Sun, 12 Jan 2025 14:17:37 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a8e38c6dbsm10787823f8f.55.2025.01.12.14.17.36 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sun, 12 Jan 2025 14:17:36 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>, Zhao Liu <zhao1.liu@intel.com> Subject: [PULL 02/49] target: Replace DEVICE(object_new) -> qdev_new() Date: Sun, 12 Jan 2025 23:16:38 +0100 Message-ID: <20250112221726.30206-3-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250112221726.30206-1-philmd@linaro.org> References: <20250112221726.30206-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::332; envelope-from=philmd@linaro.org; helo=mail-wm1-x332.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
[PULL,01/49] pc-bios/meson.build: Silent unuseful DTC warnings
|
expand
|
diff --git a/target/mips/cpu.c b/target/mips/cpu.c index e3af02a4e6d..47cd7cfdcef 100644 --- a/target/mips/cpu.c +++ b/target/mips/cpu.c @@ -644,7 +644,7 @@ MIPSCPU *mips_cpu_create_with_clock(const char *cpu_type, Clock *cpu_refclk, { DeviceState *cpu; - cpu = DEVICE(object_new(cpu_type)); + cpu = qdev_new(cpu_type); qdev_connect_clock_in(cpu, "clk-in", cpu_refclk); object_property_set_bool(OBJECT(cpu), "big-endian", is_big_endian, &error_abort); diff --git a/target/xtensa/cpu.c b/target/xtensa/cpu.c index 0910a3d2904..4eb699d1f45 100644 --- a/target/xtensa/cpu.c +++ b/target/xtensa/cpu.c @@ -208,7 +208,7 @@ XtensaCPU *xtensa_cpu_create_with_clock(const char *cpu_type, Clock *cpu_refclk) { DeviceState *cpu; - cpu = DEVICE(object_new(cpu_type)); + cpu = qdev_new(cpu_type); qdev_connect_clock_in(cpu, "clk-in", cpu_refclk); qdev_realize(cpu, NULL, &error_abort);