From patchwork Fri Jan 3 17:22:35 2025 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: 854873 Delivered-To: patch@linaro.org Received: by 2002:a5d:4888:0:b0:385:e875:8a9e with SMTP id g8csp8359194wrq; Fri, 3 Jan 2025 09:23:51 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVr1irfHEANRpN6ZtP9Ft7NpKrX7TxLYjeX0+HoVzFk4GeA/QrAZl7VXGMi1g7JgeuZ2oo1AA==@linaro.org X-Google-Smtp-Source: AGHT+IFXXOtYR5ekPnr8jmBACOrcGGWu3s7gzv3zyeBGf+AMMSd0odfMgaY8G2wDUbRi57QlwxNT X-Received: by 2002:a05:6102:3f0f:b0:4af:df15:7d6d with SMTP id ada2fe7eead31-4b2cc45f0bcmr37495871137.21.1735925031225; Fri, 03 Jan 2025 09:23:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1735925031; cv=none; d=google.com; s=arc-20240605; b=CLdWcYB5mlITmVpQsaiV7Q13jPlhTNM789AvyInQHQ1TSbMreoK5h1F1qMXBdC7aCO N17m9LrABZE5u86mevlyUjH3FyisJDpnmAGRB06pTbYXo0fcljEzBaZzs9YuuvAQO9Th Q31mFjDw0xDPlsgjjlmIXh5tTZbvTQlrRlUedQQ4EUhf13EvElZ2Q/RUmQWcw5dwSifM PqObhM3RWEX1xKLYpH1GQov/vs1xXFtwJXAkd7lz7RORtUTVV4fYd9QkbuEy+N00ya4X mbIG4D3ube3PFq6oM2srzUgR6HjSyaXaOy/kaxlwOCglMIOileu2ihFMqciu0wDCujyg IgDA== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=dNWNLD3TOQ90+HAs9bzy2nivedS6mvux2NVJyj5jEvk=; fh=VYVTokkxi90E9CFSUnDi3tRFS5HQjOSzivGA0Gm1Tx4=; b=i5oFvYqKlKQG4nfLrIdDE5rkpv+KmxXdpdM3+KpcsT/7G4jBxMWiHUuzxjyuq2rdCa 5etR/yiV1/1FrnjaaiCn/n0HEKjm7lMGRt4hY/2YqWOo/LMAXoGyfJ98XohajibIPJQg xjnd4rEV83f9JGf4TrUZx4LLUeM2tw017c2D22EFpA/dSMKwMkKCfHh3ADy8BhnH/5Lb nnha0FDY8CKTes5Zp7HA50N/ZpiaoiVGq9PxWBukPluyt66Dp6f2HiP3BmHpu0mjBa5j xL2Jf7PNStOgjoh4ImYicPQAC73la//McWRQJ9fa8KrIyHB89o4ytuI88V0Qqx7vV6hK t60Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Lal+8eKP; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ada2fe7eead31-4b2bfb1ded0si8944413137.324.2025.01.03.09.23.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 03 Jan 2025 09:23:51 -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=Lal+8eKP; 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 ) id 1tTlNq-0005wn-0j; Fri, 03 Jan 2025 12:22:50 -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 1tTlNn-0005v3-00 for qemu-devel@nongnu.org; Fri, 03 Jan 2025 12:22:47 -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 ) id 1tTlNl-0001Mw-3d for qemu-devel@nongnu.org; Fri, 03 Jan 2025 12:22:46 -0500 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-4362bae4d7dso89729305e9.1 for ; Fri, 03 Jan 2025 09:22:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1735924961; x=1736529761; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=dNWNLD3TOQ90+HAs9bzy2nivedS6mvux2NVJyj5jEvk=; b=Lal+8eKPLC5pvUG3w6EWh5YmvI0B40TE1cAv7IWHIlnP20/AIW44AgBY9z6Zg9nSLV IgzFOm6cuOTlV8bms6zbNQYboT8/O2lSmlJqdfqlSTR7+581nbsdVUg5QqdVRXDbkw0S digCwE6QjkCdvx4zFMpFjNbD9BFFSJdq5kkXpYqJRBprM9SC3qLp/0Zi2+XizKPhWTvC mWU1d4RHSzGpohxztHw1q5MHt0L5d+FhGgS8TPvsS51Dl/beAc3gM6ixPCf87dnlbkzd MM3OcoSMVuOIRwjdqD4YVX714lFLreYT1wbpx/9GH6vma2wIod+dITfIyoA8THWEejIp 7e8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735924961; x=1736529761; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dNWNLD3TOQ90+HAs9bzy2nivedS6mvux2NVJyj5jEvk=; b=MJgHFsZc29tMra0WeIkI2c1r6j6PN9xS/1W2QZyo1Vx6hSk/65zOuiQ0DrGhOp6vyp 8WZM2PQgctArBrToDQjEzVXkjZZQJ3o7UFpZmfcox+oLkHhx2rLSmLymXGeLbVbT5AjO xtM/+ryzW/ny31QActBezOMmdXjPlZCukQIfLfzbaA/KTny+s6DMM9DiFV+EQW3j01j0 D/PiqwbT93J8b90gCSZUN470aYDHsa+AwPjWMU82YmcTW/nBTV6IeBgMARyqTNOBKy1F QlGLjNoOYu/QJreuCO1J2uz12BgT6s+9EiqZWx+OIlkAQlna0HfH9/+d0XIyTa6WZY10 ri+g== X-Gm-Message-State: AOJu0YzzrCD89XSHwMdWRdgJQEs/7hCuuXxpx0/uCrtbf0esveQMoAgq SXAT9YNLvLKtUO7CyymW51m43MGpEz+hy9pQk1hyD8S7bItXvwd9LS2GrDZ9s/hWMFNANtUD18b 26Uw= X-Gm-Gg: ASbGncsACUgQXebi+4rV+FtLQaQIz5y+aYF05iRfwllhJ1KDj3iQRl9MhI9BUOiuRLS pENfxZAOnVrtL4oZdfbEd9myxtKCZEhL8ZjJx8bhxt6lMdxPCjZxrmGlG/qYujrsQRz6HELqsGB bllHaKdyPbI8hcosHPEZP5qDBsQbT7b2G7ml/EIQeXbQl3j7RNRScFRNCG/7mm4HEZcuvZibrUS IjzRoaniP0qIOIn0TTdjXHcA5EsduRAP50jXRHVwa56Yarx7gbktZwG5kTVgYHNc2gryG/IgXvU Ez0nSV3Ga893pYanpKqIAnfeSsSmifY= X-Received: by 2002:a05:600c:350b:b0:434:f8e5:1bb with SMTP id 5b1f17b1804b1-436686430a2mr451498585e9.12.1735924961214; Fri, 03 Jan 2025 09:22:41 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436612008b1sm484965375e9.15.2025.01.03.09.22.40 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 03 Jan 2025 09:22:40 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , Peter Maydell , Fabiano Rosas , Laurent Vivier , qemu-arm@nongnu.org, Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v7 0/4] tests/qtest: Update tests using PL011 UART Date: Fri, 3 Jan 2025 18:22:35 +0100 Message-ID: <20250103172239.18562-1-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 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=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 (Series fully reviewed) Since v6: - Corrected ASM comment (Fabiano) This series split a patch [*] which was previously posted too compact in multiple trivial steps. The last patch initializes the PL011 Control register, enabling the UART and its transmit channel, before using it to send the 'T' character in the boot-serial-test. [*] https://lore.kernel.org/qemu-devel/20240719181041.49545-10-philmd@linaro.org/ Philippe Mathieu-Daudé (4): tests/qtest/boot-serial-test: Improve ASM comments of PL011 tests tests/qtest/boot-serial-test: Reduce for() loop in PL011 tests tests/qtest/boot-serial-test: Reorder pair of instructions in PL011 test tests/qtest/boot-serial-test: Initialize PL011 Control register tests/qtest/boot-serial-test.c | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-)