From patchwork Thu Jan 18 20:06:35 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: 763648 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a08:0:b0:337:62d3:c6d5 with SMTP id m8csp109485wrq; Thu, 18 Jan 2024 12:09:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IEcHeKkb5i1lZ/KHJKufv0tGxC0Ty8WwvjGd/ocxiJAs+LU5wILut3GKzyT1F3J4sYZ1ELf X-Received: by 2002:a05:6808:11c6:b0:3bd:2dcf:7539 with SMTP id p6-20020a05680811c600b003bd2dcf7539mr1532391oiv.94.1705608574781; Thu, 18 Jan 2024 12:09:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705608574; cv=none; d=google.com; s=arc-20160816; b=ZDXR/Lo5KGM4V85rVE/HggSY0xgOfKL9BP9FIWes/JNJly5Pw5cj/xhGu9AG1JeJOP U7y3uTKJ2HWeDF6tU/12LA9lnKHWkN53cCGAXuk1yEoIDmB/QLKWVU+6g7aUaLtcEMfa 6g+y98HjR979uzAycmi6eKKLjuPO/Y57i28OmSJPqzTKYPZHzewLo+w5o3BrzK97VWVu mpjq+VZKGnsbBCs4P1Mhrdq7Ek6230L1yswuIhBED00rKfAwrjKXdygj2IKV2fKyWzq4 zTdUVfkNhgxfdkKVwvcu33qxYstNGwmnO2L1Rm1f71iFdk0TxMm2WLgzn/cvnFDL1nAO rNGg== 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=FzWbQBIfEs6OJQ0hzr//F/cyUEfiuvwBN1uqJ0c1PMQ=; fh=cUgEM3TMHOIH70RmHTmTZxZmItZJnKfBWHSaci49aLY=; b=qjreR/uYreEBbT2hEwuAIhTXokdiHkf7ZAns3EQ5GilquoEC+XbcZ+pIvUju+seGuW bFaTB5963iJYo0AcdVfPERjaQtUY4idCJNLIySMcl27ZP/bgty/ge7MGKwvfYfSig2wJ 69r+9q+9yLlgeTZWRHfkVLng3kAZ3/7bFb/wobSBQ+NEajWuB7y1uFs4QfB0QbsoOHDj c+dEgpsbSg69YuyTjlIVJJwlrDmVEss9HAGdwbuzpDTYIZinRXRcMWUVdlBDF0XZiT9K HGfo3OaiU0JX/7WgpASMO3EsjL3d9+8h2mTqDHEBQ5GAnXj1b+MBm700gF8e4qahyICD RcGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kcGqJv1q; 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 v17-20020ac85791000000b0042a1e4defacsi1317739qta.585.2024.01.18.12.09.34 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Jan 2024 12:09:34 -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=kcGqJv1q; 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 1rQYgO-0005W0-Ed; Thu, 18 Jan 2024 15:08:13 -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 1rQYgL-0005RP-G5 for qemu-devel@nongnu.org; Thu, 18 Jan 2024 15:08:09 -0500 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rQYgJ-00073q-N1 for qemu-devel@nongnu.org; Thu, 18 Jan 2024 15:08:09 -0500 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-40e884ac5c8so251255e9.2 for ; Thu, 18 Jan 2024 12:08:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705608486; x=1706213286; 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=FzWbQBIfEs6OJQ0hzr//F/cyUEfiuvwBN1uqJ0c1PMQ=; b=kcGqJv1qb4JoInmpl5pkwOfF0hMfqUv7tyBh1GGXuCPQ3GTrdhCpgGXdmhBP3tB0zi j6G+aGUJ61T4l/+ck0RYTsUaY4Yz1Xetnc3OgiIqzHxAK5qSY7ElDb6hxyHWAFeOu7gV 2QQOy0L2Uw9YLlx/T9OkhgzgKWTQi9rT2aqOoHDmjFYG91J4ssESL4CteThKliQwKRo6 CHN0e/Qh2MGXJ+vjHI8+em67XnUerT+sOIT6y45MQ+ehlWUTOZ4rNzVCVvGbFBe2Y6MB o41Ukte5u7GDe8eu2zyrjI2FQY2FDoXrhG9Kb3BJ2jqDYyXNA3I4+rw6gjgJbY0ayvjP Isbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705608486; x=1706213286; 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=FzWbQBIfEs6OJQ0hzr//F/cyUEfiuvwBN1uqJ0c1PMQ=; b=AuUU2PVcNNSlIYeCPZxHC/ebmRxHKFVcVZgJvLbMxkomDb1u6QanEnzWND2FmhvI6K AVPmD87mGu5X9t2O4QFa0i2rpsk6Um7p5W0Ya5PJDX2dPHhJCRM7fscE/aVQgVH4Bmk6 1rxvP5geaYgEO6GGkGW67vJCORpuzURDA+Z7k52CbfHMCVJpDMaMqZD3BG/R6Lr1ldDT xVvSbwA8Zt2E04To5TCrHq6MlwWOPprmFOR4xkCdzotTdpqWEX5U4xn0vZ9YW2X9mD6L 36+zJLT2g+s388seLubw25RL+bLApOPsm/sOC83LwlyGHBI5DuPvfDsxns5VLfVZM3j5 UcPQ== X-Gm-Message-State: AOJu0YxNra36cTSi0NWe0DvB6Iq146qHdHJKLxGGngo8QdR6kulmrP/+ YsDilWg1k2k7yB0D+dpI6Dam2172hyLMKry9Cz5xCfrXxtMqW78FQQIyKZQtp2B2UdBVsvBgf0x wNub3EBT0 X-Received: by 2002:a05:600c:2047:b0:40e:53a0:c140 with SMTP id p7-20020a05600c204700b0040e53a0c140mr471729wmg.229.1705608486072; Thu, 18 Jan 2024 12:08:06 -0800 (PST) Received: from localhost.localdomain ([78.196.4.158]) by smtp.gmail.com with ESMTPSA id z10-20020a05600c0a0a00b0040e4bcfd826sm27279780wmp.47.2024.01.18.12.08.04 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 18 Jan 2024 12:08:05 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Igor Mitsyanko , qemu-arm@nongnu.org, Strahinja Jankovic , "Edgar E. Iglesias" , Igor Mammedov , =?utf-8?q?C=C3=A9dric_Le_Goater?= , Eric Auger , Niek Linnenbank , "Michael S. Tsirkin" , Jan Kiszka , Marcin Juszkiewicz , Alistair Francis , Radoslaw Biernacki , Andrew Jeffery , Andrey Smirnov , Rob Herring , Shannon Zhao , Tyrone Ting , Beniamino Galvani , Alexander Graf , Leif Lindholm , Ani Sinha , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Peter Maydell , Paolo Bonzini , Jean-Christophe Dubois , Joel Stanley , Hao Wu , kvm@vger.kernel.org Subject: [PATCH 14/20] hw/misc/xlnx-versal-crl: Build it only once Date: Thu, 18 Jan 2024 21:06:35 +0100 Message-ID: <20240118200643.29037-15-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240118200643.29037-1-philmd@linaro.org> References: <20240118200643.29037-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=philmd@linaro.org; helo=mail-wm1-x32b.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=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: 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 hw/misc/xlnx-versal-crl.c doesn't require "cpu.h" anymore. By removing it, the unit become target agnostic: we can build it once. Update meson. Signed-off-by: Philippe Mathieu-Daudé --- hw/misc/xlnx-versal-crl.c | 1 - hw/misc/meson.build | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/hw/misc/xlnx-versal-crl.c b/hw/misc/xlnx-versal-crl.c index 1a596f1cf5..1f1762ef16 100644 --- a/hw/misc/xlnx-versal-crl.c +++ b/hw/misc/xlnx-versal-crl.c @@ -18,7 +18,6 @@ #include "hw/register.h" #include "hw/resettable.h" -#include "target/arm/cpu.h" #include "target/arm/arm-powerctl.h" #include "target/arm/multiprocessing.h" #include "hw/misc/xlnx-versal-crl.h" diff --git a/hw/misc/meson.build b/hw/misc/meson.build index 36c20d5637..66820acac3 100644 --- a/hw/misc/meson.build +++ b/hw/misc/meson.build @@ -96,8 +96,8 @@ system_ss.add(when: 'CONFIG_SLAVIO', if_true: files('slavio_misc.c')) system_ss.add(when: 'CONFIG_ZYNQ', if_true: files('zynq_slcr.c')) system_ss.add(when: 'CONFIG_XLNX_ZYNQMP_ARM', if_true: files('xlnx-zynqmp-crf.c')) system_ss.add(when: 'CONFIG_XLNX_ZYNQMP_ARM', if_true: files('xlnx-zynqmp-apu-ctrl.c')) -specific_ss.add(when: 'CONFIG_XLNX_VERSAL', if_true: files('xlnx-versal-crl.c')) system_ss.add(when: 'CONFIG_XLNX_VERSAL', if_true: files( + 'xlnx-versal-crl.c', 'xlnx-versal-xramc.c', 'xlnx-versal-pmc-iou-slcr.c', 'xlnx-versal-cfu.c',