From patchwork Thu Jan 2 10:58:18 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: 854646 Delivered-To: patch@linaro.org Received: by 2002:a5d:4888:0:b0:385:e875:8a9e with SMTP id g8csp7715637wrq; Thu, 2 Jan 2025 02:59:36 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVCGQW36bBDx8HSdu3g0KV+ndBERHkLzApVn/Pd0rtscRsAQEvVSP16Nz8KH3AG8QTqS+EcTA==@linaro.org X-Google-Smtp-Source: AGHT+IH7xtC1gDNtuNeyLk2Tm0LOvHag6Fpj1iypV3r42mhtHCkKqbcAKRbgjxayo3z9LMWMlFR2 X-Received: by 2002:a05:6214:268f:b0:6d8:a5da:3aba with SMTP id 6a1803df08f44-6dd2334646amr753484756d6.20.1735815576514; Thu, 02 Jan 2025 02:59:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1735815576; cv=none; d=google.com; s=arc-20240605; b=CFiTl24mh8PJ6ENnLJ/66SaBW0rRmHqKiH52Rc5GfCXA7mqfs4J9BN5nfmyQSyzP3i xYjBw3nqo7fantbi4DTcm9qOvKCsGXaTEQtoc4ROX/Pxm1bkA+d0oYA/Zwz0fpBVn/bJ /UHwNcZeJt4VU/1xzxGKFiDcwYKnXUYmsTZKvuXmtjyb0StJ77Her4I5HMStbdZ4jG4z nYSa7AGsBfvFEibtAR5sLRubfOzPo+swAIbCTnJB55eHwd82g+Mrp8V+CbjNDSNjizYb PWYZHd7WpTA7GxjFIdBEpVdM1zAQqCYQw6m4lUmveaKD1vpOn7mhRRyQzbUHLM3UuXBt xwOA== 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=L/j8G5JVfC/edLaXM5aXpQItqqKBeIwBiIxQO8tVbYE=; fh=6u5IHTDZ/iti019H2iRBSitBodweBjprxFJ3kMKpc7U=; b=DTlHCVO1CifRiADR2X5OiCbL9egdosotUwSiX7ZPFS9Kh/AANZ4vvgNSLhH8yOpWz4 FBQuXziH4Gmokgj/qU7II8LJ3ZS+snKBMcC/ffpA2umr+QFV/llLNd81dm9BPVZCDTlN UFfYdtv8yP32YTQ2heBIFBqHQaPM0lDAgawJADvaHNW118XtptQjMdRAzi3z/pkz6xS9 QlHOLL9LxZw+TvKuOKuqk34GLmAiWE7iLTWev3yKCeMutCemZPFFpmB9yzrVEXRXjRKY lj3UrdI5OxJlR+Ht9HG63JWfZTn0/grqCTMEFycm4ymK5fHrlZzpEZWKpjwnG4oQSw59 v2CA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HZFWrWqy; 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 6a1803df08f44-6dd18234167si357284766d6.216.2025.01.02.02.59.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 02 Jan 2025 02:59:36 -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=HZFWrWqy; 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 1tTIuR-0005DK-MO; Thu, 02 Jan 2025 05:58:35 -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 1tTIuO-0005Cf-Vf for qemu-devel@nongnu.org; Thu, 02 Jan 2025 05:58:32 -0500 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tTIuN-0000MG-Be for qemu-devel@nongnu.org; Thu, 02 Jan 2025 05:58:32 -0500 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-43622267b2eso118886515e9.0 for ; Thu, 02 Jan 2025 02:58:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1735815506; x=1736420306; 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=L/j8G5JVfC/edLaXM5aXpQItqqKBeIwBiIxQO8tVbYE=; b=HZFWrWqywyTLvb8Qv1ioBLt4M087H+psCHryadeSYe0WuuHQ9Y49OJ9PQaHtNzavWN nj+Mnsq9OBwsB8D07Jk+GO5h+eOqsI7u8zhoIJNz4vE4oPgvjZjHQmXmKgBmgCRadQI5 H9lC2/5U4EViNhx901keX6Oy3gG9l28MPCDLNmTHDVk7EiePlIaNt+SsYz7aw+6P2U2y sQdrbQXnwUnxkAySkC6WS7qWNVKLwzB1J5JKp968CekYNTmvsYQixETyZhieTpd2VV5l +JsE/w9V7NWbi/nKKnaV1Gl78AkxLt2cbBB9tSyLyrXzCukY7IGTOgfYVf5gzAfSIvAt oABg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735815506; x=1736420306; 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=L/j8G5JVfC/edLaXM5aXpQItqqKBeIwBiIxQO8tVbYE=; b=B6n2cGESKCeP+RDPl1GSu9E9h41q2ftlQ3JQHMv5C3jsIrihz0kgCUts9pkzjv7dRj 2eDrK5iHTYPC1Ki5bqCtW/rRvhAykLUIQ4jSduQT7rMwKGko+NFPtoPTNiORBG17rnjl vEFvSkn8POZm0JffygH3KLiKnk/N+HHfVBFgPNImDn9UY7WXotH8+rjpt5jMONKH6+Ws oStWR1W6DG/PCb0xcZA9Jhhz42KbZWCQuo/atp4YWH1AKepga1ZgQ1KRxEXGFHkk3/fP ujXH01FJlnqHm5u1W67gBHSTYny59Rt23+1IB4En8ruQqcsFn2b+FEEJ3JC4mxIgf0wi Pbqw== X-Gm-Message-State: AOJu0Yw7nfiG/lzLJZg7qgkEkKourZBPOKMSy9M0nKRO/VEC34yH1mI+ HsR3bc1vj51Fl1QIBiduEnChdCetrzVeeGs59AQFWOyqhSEO67KQohFKVRwB8HPGQNzhdFdhvnc PrvS9ww== X-Gm-Gg: ASbGncue9nsjFYvHhp87uMAUlLHeEcf/HrR2dT6NDZV4rFne261koBfXGjg1SIDJPu0 iSQ6tEWq55pZoYgIFog7jeAnRZZlUfEHWl6lVydzYyeth9HNkVUOxXd5TpfTZPU3r7v8Ku10q2O RcvCOWaMhY7YZcDGSlwE8ie2m17hXROHl/JYvqjNjpQFc1oenGoRXQFk0LXeTSD48feU4rjtjVK 0nktJIIgG46W7/4n6u5R5Q8oCRCYj7Yk1xinZfIx3NxHQcL0mPU18WLuAzaniKCeK5ZXZjxd4E5 NaGyIMthwmA6MJDQzKapJE6l7Vlqa7+Ddfy/HQhNKPZFZQ== X-Received: by 2002:a5d:47ab:0:b0:385:e16d:51c0 with SMTP id ffacd0b85a97d-38a221eaca5mr38013414f8f.18.1735815506135; Thu, 02 Jan 2025 02:58:26 -0800 (PST) Received: from localhost.localdomain (161.red-88-29-191.dynamicip.rima-tde.net. [88.29.191.161]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43656af6aeesm485138145e9.6.2025.01.02.02.58.24 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 02 Jan 2025 02:58:25 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Fabiano Rosas , =?utf-8?q?Alex_Benn=C3=A9e?= , Paolo Bonzini , Laurent Vivier , Peter Maydell , qemu-arm@nongnu.org, =?utf-8?q?Ph?= =?utf-8?q?ilippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v6 0/4] tests/qtest: Update tests using PL011 UART Date: Thu, 2 Jan 2025 11:58:18 +0100 Message-ID: <20250102105822.43532-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::335; envelope-from=philmd@linaro.org; helo=mail-wm1-x335.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: 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 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/ Supersedes: <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(-) Reviewed-by: Richard Henderson