[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 3/3] xen/ppc: Implement initial Radix MMU support


  • To: Shawn Anastasio <sanastasio@xxxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 5 Sep 2023 12:01:11 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=8Ct+2GTJx/tV4RjCTobD8cm1WfBCadZ7+XWHPybvZ2Y=; b=X8HsluVbZGp/eNvG6Eupu88CXby6ws+C8NfVutpGOzNzA1VcvV74dxdvPznK/4E0LuOqBtn48ngiRNiJa3dH2BoVAaLK+jhQgAiqC3Qom5uDkm97zUipNd6H1VvleceSllMRrp7OECWe/ddoY/CFvFHVmUJdiqmn/umbxWPDGWoagx/V4EWjgI3LCyO+0LhPO4uJRFayO/swbH5EZs6wUy3MrFnl7jH28/ne0qcLZjGLjmEzGVVw00sDlnZxIpZLHdfuXByw2XOHDTxWREHlGACacuybr/5iZ9VV6uLcr4ugfRGOkBuXImSomkaOdWNywUNtkQpLQ+xjcoMtuDD3jw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IIrQF8pN6xH4lkk3KUSCtH1dGkV9JgMil3CUXhez3CON+BVH0weARSthx0uaNwCCavwbr9upy+Y/MZFkKOfP85WYAiuxHSPKTqcCOqRyciHpq0tn8+DuVGuG/zYl7ut9GHPN+2qmZhh8+2sKwRgJiMZsr9Rlhw+He7Y/cMbPUviazE/0/tDR7++J9ALQvTRA5HM0hTqh8ZDYhGbOqHL0jPmT8vNSeHhhDIuBb7uc9EzyS4bm9nVe7qA0Oa7UvCzUAhy15xY+/yU3P5m3aTm24rFjmN1iRCxSNamCkCi2U8+MHL99LGTqKSnb2W/ZDAxKbV9uk2Jt97wmbdIWjdkzLQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Timothy Pearson <tpearson@xxxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 05 Sep 2023 10:01:21 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 23.08.2023 01:03, Shawn Anastasio wrote:
> Add code to construct early identity-mapped page tables as well as the
> required process and partition tables to enable the MMU.
> 
> Signed-off-by: Shawn Anastasio <sanastasio@xxxxxxxxxxxxxxxxxxxxx>

Having committed this, something broke in CI. As per the artifacts of
https://gitlab.com/xen-project/xen/-/jobs/5017915681 ...

> +void __init setup_initial_pagetables(void)
> +{
> +    struct lvl1_pd *root = lvl1_pd_pool_alloc();
> +    unsigned long lpcr;
> +
> +    setup_initial_mapping(root, (vaddr_t)_start, (vaddr_t)_end, 
> __pa(_start));
> +
> +    /* Enable Radix mode in LPCR */
> +    lpcr = mfspr(SPRN_LPCR);
> +    mtspr(SPRN_LPCR, lpcr | LPCR_UPRT | LPCR_HR);
> +    early_printk("Enabled radix in LPCR\n");

... this is the first message missing; setup_initial_mapping() appears
to be completing fine.

Jan



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.