Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 70A11CCFA1A for ; Tue, 11 Nov 2025 10:30:47 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vIlcf-0008L3-56; Tue, 11 Nov 2025 05:29: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 1vIlcK-0007a0-1c for qemu-arm@nongnu.org; Tue, 11 Nov 2025 05:28:52 -0500 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vIlcH-0000H9-3I for qemu-arm@nongnu.org; Tue, 11 Nov 2025 05:28:51 -0500 Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-64180bd67b7so2932459a12.0 for ; Tue, 11 Nov 2025 02:28:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1762856924; x=1763461724; 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=2d/AzQC6EdahU6w8Pku7xRAbXQexLsJDKD33bKyFb80=; b=jsp5GL4TEoNhx9Yokl1Jx9L2D0ZJcA5TS3QWZp+7ymouWTxlJNZqS0bAwQKY5702xs Gc1XcPtwWpbibAGKjPIVNoJNMyU4YDeIPeQ0gz/kSDrBO53tL4b8KWauP50t0DI8ynZ7 tLyjnIxLh//bFFzUra84IG13OcZUw53r2glDAoDApcWuj71KmdEvka+c9bYl9dIsiLjM ZN/JM7y0RIIX5024y2sQyFVXxexjNs4+jwR/lVM9Ch6amKVwr/GDi2MC7vG6+d8LClPv lEi67fKGJHCEw+wvoRIUYeVmFPfZQuHimqhxWkZoJhAi/QFJ3rBa/ziZQW6ysB0SmrOY zzPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762856924; x=1763461724; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=2d/AzQC6EdahU6w8Pku7xRAbXQexLsJDKD33bKyFb80=; b=tUsbrsUG/As1uDyoQEsqhXl7VCyQ5/QEzPBMFe2qDKjC6bcWXTtk7mwL9pYHjETPp9 V25Qdm/rRmSIR1SG3O2h1ReXBzyTRmlhaay3aUlL+aWJWGUxHTkZ7DnnHg04+wH/e87Z XctVXup5UBsU8iKEwsoOSwi/11StVCFW2DVNIB8V3P2cVZ/Izh6MJZd685pzs2Ug7Zj1 c/BgyjN1R/LCoEz5/5aDE+HV9ZBlf/5yE0zPexmUwmbaIrLM6Hu+gen6I/RC4MhcdM5a SR6/xSHWbH8576PjVLtHAQWhu7C3YvJCjySsuWdJzglMVG6wwbFaWnStvCKPVmy3fK88 vsEg== X-Forwarded-Encrypted: i=1; AJvYcCVhz0EcJHFuypDF8E8ByFGZPDwy35ewpct4TdTXxzwQ/kLQSdH0F+XX1kt2P8i1toSjBsFesiZPhg==@nongnu.org X-Gm-Message-State: AOJu0Ywg/qN+vvSNH21+cI/e27lgJnOZzyRRK+I/WOW6pi+xM9L5crj9 LIkBrfAGHN3dpEVhL5urfJ19+30FWRnflFF/FU8GPylhZr/BZGh5DwfR X-Gm-Gg: ASbGncvf6t1vzSZC4bpS0ckBogqSHwwzDLpyWAepWdjhKqqZ33LYLs9cfPXTIYXs+xx DqWzSGkwpDaPUOkpyZqwgNcyxlSTotR0lo/rpX1Rsm7gEFi+Eg+tJlUxJcFIHp0Qy4Zq8Xrgxps dUioc5jSuxQ+AFxmXE3j1yFxwsky4WFENlPmbrukaM2VZ3gz+eWXK4dAjkAN6dszSVf5Tjltq2j g+n6DkCQT9LRtaG5Ji0/62hok4p428Ld8TPSXOeip7qvvr1R/R8Clfp8M8NslE4ABwpfKF8VHb6 zUT8g8kt5XflU/YiB+AcZTkMcLhttzXlwLwi5/xYAseFZc4cWH/CJjVo0TDfZUmc0+jw6qMFkKr QUQZY9qaBGG9A3jdtL33y8c+nqAJZRn+tBz/u2++BT5iq114Hdekf0CfPspmJxw6nqpG0m9TZcE elzoCrrA4Zwbw0KccRWKy2/Rqrmy0e7D0k X-Google-Smtp-Source: AGHT+IE+wJ+sRgqecwDlXbvjEd4G0KlDZmc8F8DABZcMhofslmCSVluAvzwAh4m7v+HCGpaq4aEnZA== X-Received: by 2002:a17:907:7204:b0:b72:adff:7ea1 with SMTP id a640c23a62f3a-b72e05c1490mr1157054366b.60.1762856924276; Tue, 11 Nov 2025 02:28:44 -0800 (PST) Received: from PC-DA2D10.beckhoff.com ([2001:9e8:dc12:ce00:ae91:a1ff:fe8b:15a7]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b72bdbd1ecfsm1290619366b.10.2025.11.11.02.28.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Nov 2025 02:28:43 -0800 (PST) From: =?UTF-8?q?Corvin=20K=C3=B6hne?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?UTF-8?q?Yannick=20Vo=C3=9Fen?= , qemu-block@nongnu.org, Paolo Bonzini , Hanna Reitz , Alistair Francis , qemu-arm@nongnu.org, =?UTF-8?q?Corvin=20K=C3=B6hne?= , Kevin Wolf , "Edgar E. Iglesias" , YannickV , "Edgar E. Iglesias" Subject: [PATCH v4 07/15] hw/dma/zynq-devcfg: Indicate power-up status of PL Date: Tue, 11 Nov 2025 11:28:28 +0100 Message-ID: <20251111102836.212535-8-corvin.koehne@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251111102836.212535-1-corvin.koehne@gmail.com> References: <20251111102836.212535-1-corvin.koehne@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::52b; envelope-from=corvin.koehne@gmail.com; helo=mail-ed1-x52b.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, FREEMAIL_FROM=0.001, 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-arm@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-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org Sender: qemu-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org From: YannickV It is assumed, that the programmable logic (PL) is always powered during emulation. Therefor the PCFG_POR_B bit in the MCTRL register is set. Signed-off-by: YannickV Reviewed-by: Edgar E. Iglesias --- hw/dma/xlnx-zynq-devcfg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/dma/xlnx-zynq-devcfg.c b/hw/dma/xlnx-zynq-devcfg.c index 53bcf49140..512a33b066 100644 --- a/hw/dma/xlnx-zynq-devcfg.c +++ b/hw/dma/xlnx-zynq-devcfg.c @@ -333,7 +333,8 @@ static const RegisterAccessInfo xlnx_zynq_devcfg_regs_info[] = { /* Silicon 3.0 for version field, the mysterious reserved bit 23 * and QEMU platform identifier. */ - .reset = 0x2 << R_MCTRL_PS_VERSION_SHIFT | 1 << 23 | R_MCTRL_QEMU_MASK, + .reset = 0x2 << R_MCTRL_PS_VERSION_SHIFT | 1 << 23 | + R_MCTRL_PCFG_POR_B_MASK | R_MCTRL_QEMU_MASK, .ro = ~R_MCTRL_INT_PCAP_LPBK_MASK, .rsvd = 0x00f00303, }, -- 2.47.3