From patchwork Thu Jan 11 18:34:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 13517710 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.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 91244C4725D for ; Thu, 11 Jan 2024 18:34:34 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.666496.1037173 (Exim 4.92) (envelope-from ) id 1rNzsj-0002kB-5e; Thu, 11 Jan 2024 18:34:21 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 666496.1037173; Thu, 11 Jan 2024 18:34:21 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rNzsj-0002k4-2I; Thu, 11 Jan 2024 18:34:21 +0000 Received: by outflank-mailman (input) for mailman id 666496; Thu, 11 Jan 2024 18:34:19 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rNzsh-0002js-7C for xen-devel@lists.xenproject.org; Thu, 11 Jan 2024 18:34:19 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rNzsg-00047j-M9; Thu, 11 Jan 2024 18:34:18 +0000 Received: from 54-240-197-232.amazon.com ([54.240.197.232] helo=dev-dsk-jgrall-1b-035652ec.eu-west-1.amazon.com) by xenbits.xenproject.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1rNzsg-0000gW-CY; Thu, 11 Jan 2024 18:34:18 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xen.org; s=20200302mail; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date: Subject:Cc:To:From; bh=lLOyYGzOYxxR73FZKk/wCA+g8xZSoSsPsH50swOfQiM=; b=WlUJzQ hF+fLBLvMadIIPoSvP8v6c5f9qI1uzSAVgGks/gDgiN7imyFJesrpgcIhN9+unzWYifFgrO2Tvlkm RvrRnciiJc3SDdBLSVZeYoWDYQjdnQCKrbGNFcN8zL7aCOgak+RVVewpgNGoimdO7BjyBR9kcpwai JcG8yvAmYz4=; From: Julien Grall To: xen-devel@lists.xenproject.org Cc: julien@xen.org, Julien Grall , Stefano Stabellini , Bertrand Marquis , Michal Orzel , Volodymyr Babchuk Subject: [PATCH v2 0/2] xen/arm32: Improve logging during early boot Date: Thu, 11 Jan 2024 18:34:08 +0000 Message-Id: <20240111183410.45566-1-julien@xen.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 From: Julien Grall Hi all, This small series is based on some debugging I added while investigating f5a49eb7f8b3 ("xen/arm32: head: Add mising isb in switch_to_runtime_mapping()"). This will make easier to narrow down where the CPU is stuck while enabling the MMU. Cheers, Julien Grall (2): xen/arm32: head: Rework how the fixmap and early UART mapping are prepared xen/arm32: head: Improve logging in head.S xen/arch/arm/arm32/head.S | 9 --- xen/arch/arm/arm32/mmu/head.S | 100 +++++++++++++----------- xen/arch/arm/include/asm/arm32/macros.h | 33 +++++--- xen/arch/arm/include/asm/asm_defns.h | 6 +- xen/arch/arm/include/asm/early_printk.h | 3 + xen/arch/arm/include/asm/mmu/layout.h | 4 + xen/arch/arm/mmu/setup.c | 3 + xen/arch/arm/xen.lds.S | 1 + 8 files changed, 92 insertions(+), 67 deletions(-)