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 45C81CF6491 for ; Mon, 30 Sep 2024 08:24:28 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.807111.1218362 (Exim 4.92) (envelope-from ) id 1svBhc-0002ZV-Ox; Mon, 30 Sep 2024 08:24:20 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 807111.1218362; Mon, 30 Sep 2024 08:24:20 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1svBhc-0002ZO-MR; Mon, 30 Sep 2024 08:24:20 +0000 Received: by outflank-mailman (input) for mailman id 807111; Mon, 30 Sep 2024 08:24:20 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1svBhc-0002ZI-84 for xen-devel@lists.xenproject.org; Mon, 30 Sep 2024 08:24:20 +0000 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [2a00:1450:4864:20::230]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 638d00e7-7f05-11ef-a0ba-8be0dac302b0; Mon, 30 Sep 2024 10:24:19 +0200 (CEST) Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2fac49b17ebso8670801fa.0 for ; Mon, 30 Sep 2024 01:24:19 -0700 (PDT) Received: from [192.168.219.191] ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2f9d45c8e94sm12750431fa.27.2024.09.30.01.24.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Sep 2024 01:24:18 -0700 (PDT) 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" X-Inumbo-ID: 638d00e7-7f05-11ef-a0ba-8be0dac302b0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727684659; x=1728289459; darn=lists.xenproject.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=KxOjaIHWysqJusFwolwNKWLcrrveKF5zQCCsd4MDupc=; b=itGX4XxizaUs1K6Dg28feZnMjwfF2XUZNwwWRAgu0KItmrzgsY4mxVGZB8EkSWqfCF kwzbMH4s7DJRQc+vTaqNl17SS2YSOCbsB93JBYuG9l3jsqItpqbIOTLu/Lo2HAUZh3Km z5JSX2L9CDbLj7c9TtAa5s5mdQ6xSRlLaJ19cygzV/265rKa4iJBHCBrHYkMaJDL0CFB hLxRsKs1l92aJ0m+gW97hZQ+TYpDDZQnSNojx4Q+AoFmgvxpluJYWv0S7bKDfJ5hHvHe 4gvCvYWU2Lew/N896Ns1OCQPzYX/O5ELUmnWXh83DN2zjh7NYUMlblOSRBfIwreEfvNv jQRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727684659; x=1728289459; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=KxOjaIHWysqJusFwolwNKWLcrrveKF5zQCCsd4MDupc=; b=JG2YlH5JXl8cOEmV3v9t+IHD+81bulUvRzVDeem+RWworJ30iijGtCVFqoCbuT05Qv bQe81TJl8mVqCXn+6KqK0azlkfrupGgBRhD3mWuziWrVa1wAH6SlUQ8vUdfoFs8MxLos GoIQEeIZ9vMdgw5Bgi8bO+4aNhYSM6z+AiiEVRT/+fFXBqgvMmE66Ss26RW7K7HhrCKO fIgjrb0udsVw9Rd053yZiBXuYFWoRiG8BRw6Aq4mVEl7rL70Oj1qTDfti53t2l8ba+M7 1nDN3jJMVRYycTSoy+PtU48CRi1aZosNU9bJrFn8l+DWKrn4UtKhJVqbdH/z2EKV4qPb 9onw== X-Forwarded-Encrypted: i=1; AJvYcCWtU+VIxAHoPeXeaJkVt8CGUFvXncc56XARFdAcDOyWojvP7ZY8M5DcUZeNGxIHjBgPfqrQuLNX3y8=@lists.xenproject.org X-Gm-Message-State: AOJu0YxjZl5MBjIybGpMaez1zTjanv3HZ4aP9ddWcI8Ebc9SuCIBMjVv hSI3il3iCfxZYOjDRm3x9JSpN9Y/Oza+Rv9hTTrXIql8WrqeN2xM X-Google-Smtp-Source: AGHT+IGKL5/uE9L0waQl+0ZOqAETFQG7dxVSmU5/9m9NBG/GbOrs9fqBRavOILTAufCswDTtUjK56Q== X-Received: by 2002:a2e:a99d:0:b0:2fa:c60a:ce6f with SMTP id 38308e7fff4ca-2fac60ad031mr20245241fa.16.1727684658434; Mon, 30 Sep 2024 01:24:18 -0700 (PDT) Message-ID: Subject: Re: [PATCH v8 0/7] device tree mapping From: oleksii.kurochko@gmail.com To: Jan Beulich Cc: Alistair Francis , Bob Eshleman , Connor Davis , Andrew Cooper , Julien Grall , Stefano Stabellini , xen-devel@lists.xenproject.org Date: Mon, 30 Sep 2024 10:24:17 +0200 In-Reply-To: <863cdc98-a811-485d-8c21-fbde9dedd070@suse.com> References: <863cdc98-a811-485d-8c21-fbde9dedd070@suse.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.4 (3.52.4-1.fc40app2) MIME-Version: 1.0 On Mon, 2024-09-30 at 10:17 +0200, Jan Beulich wrote: > On 27.09.2024 18:33, Oleksii Kurochko wrote: > > Current patch series introduces device tree mapping for RISC-V > > and necessary things for that such as: > > - Fixmap mapping > > - pmap > > - Xen page table processing >=20 > While nothing is being said here towards a dependency, ... >=20 > > --- > > Changes in v8: > > =C2=A0- The following patch was merged to staging: > > =C2=A0=C2=A0=C2=A0=C2=A0 [PATCH v5 1/7] xen/riscv: use {read,write}{b,w= ,l,q}_cpu() to > > define {read,write}_atomic() > > =C2=A0- All other changes are patch specific so please look at the > > patch. > > --- > > Changes in v7: > > =C2=A0- Drop the patch "xen/riscv: prevent recursion when ASSERT(), > > BUG*(), or panic() are called" > > =C2=A0- All other changes are patch specific so please look at the > > patch. > > --- > > Changes in v6: > > =C2=A0- Add patch to fix recursion when ASSERT(), BUG*(), panic() are > > called. > > =C2=A0- Add patch to allow write_atomic() to work with=C2=A0 non-scalar= types > > for consistence > > =C2=A0=C2=A0 with read_atomic(). > > =C2=A0- All other changes are patch specific so please look at the > > patch.=20 > > --- > > Changes in v5: > > =C2=A0- The following patch was merged to staging: > > =C2=A0=C2=A0=C2=A0=C2=A0 [PATCH v3 3/9] xen/riscv: enable CONFIG_HAS_DE= VICE_TREE > > =C2=A0- Drop depedency from "RISCV basic exception handling > > implementation" as > > =C2=A0=C2=A0 it was meged to staging branch. > > =C2=A0- All other changes are patch specific so please look at the > > patch. > > --- > > Changes in v4: > > =C2=A0- Drop depedency from common devicre tree patch series as it was > > merged to > > =C2=A0=C2=A0 staging. > > =C2=A0- Update the cover letter message. > > =C2=A0- All other changes are patch specific so please look at the > > patch. > > --- > > Changes in v3: > > =C2=A0- Introduce SBI RFENCE extension support. > > =C2=A0- Introduce and initialize pcpu_info[] and __cpuid_to_hartid_map[= ] > > and functionality > > =C2=A0=C2=A0 to work with this arrays. > > =C2=A0- Make page table handling arch specific instead of trying to mak= e > > it generic. > > =C2=A0- All other changes are patch specific so please look at the > > patch. > > --- > > Changes in v2: > > =C2=A0- Update the cover letter message > > =C2=A0- introduce fixmap mapping > > =C2=A0- introduce pmap > > =C2=A0- introduce CONFIG_GENREIC_PT > > =C2=A0- update use early_fdt_map() after MMU is enabled. > > --- > >=20 > > Oleksii Kurochko (7): > > =C2=A0 xen/riscv: allow write_atomic() to work with non-scalar types > > =C2=A0 xen/riscv: set up fixmap mappings > > =C2=A0 xen/riscv: introduce asm/pmap.h header > > =C2=A0 xen/riscv: introduce functionality to work with CPU info > > =C2=A0 xen/riscv: introduce and initialize SBI RFENCE extension > > =C2=A0 xen/riscv: page table handling > > =C2=A0 xen/riscv: introduce early_fdt_map() > >=20 > > =C2=A0xen/arch/riscv/Kconfig=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 |=C2=A0=C2=A0 1 + > > =C2=A0xen/arch/riscv/Makefile=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 |=C2=A0=C2=A0 2 + > > =C2=A0xen/arch/riscv/include/asm/atomic.h=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 |=C2=A0 11 +- > > =C2=A0xen/arch/riscv/include/asm/config.h=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 |=C2=A0 16 +- > > =C2=A0xen/arch/riscv/include/asm/current.h=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 |=C2=A0 27 +- > > =C2=A0xen/arch/riscv/include/asm/fixmap.h=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 |=C2=A0 46 +++ > > =C2=A0xen/arch/riscv/include/asm/flushtlb.h=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 |=C2=A0 15 + > > =C2=A0xen/arch/riscv/include/asm/mm.h=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0 6 + > > =C2=A0xen/arch/riscv/include/asm/page.h=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 99 +++++ > > =C2=A0xen/arch/riscv/include/asm/pmap.h=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 36 ++ > > =C2=A0xen/arch/riscv/include/asm/processor.h=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 |=C2=A0=C2=A0 3 - > > =C2=A0xen/arch/riscv/include/asm/riscv_encoding.h |=C2=A0=C2=A0 2 + > > =C2=A0xen/arch/riscv/include/asm/sbi.h=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 62 +++ > > =C2=A0xen/arch/riscv/include/asm/smp.h=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 18 + > > =C2=A0xen/arch/riscv/mm.c=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 | 101 ++++- > > =C2=A0xen/arch/riscv/pt.c=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 | 421 > > ++++++++++++++++++++ > > =C2=A0xen/arch/riscv/riscv64/asm-offsets.c=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 |=C2=A0=C2=A0 3 + > > =C2=A0xen/arch/riscv/riscv64/head.S=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 14 + > > =C2=A0xen/arch/riscv/sbi.c=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 | 273 ++++++++++++- > > =C2=A0xen/arch/riscv/setup.c=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 |=C2=A0 17 + >=20 > ... I had to fiddle with three of the patches touching this file, to > accommodate for an apparent debugging patch you have in your tree. > Please can you make sure to submit patches against plain staging, or > to clearly state dependencies? I am always trying not to forget to rebase on top of staging for this patch series: 65c49e7aa2 (HEAD -> riscv-dt-support-v8, origin/riscv-dt-support-v8) xen/riscv: introduce early_fdt_map() ead52f68ce xen/riscv: page table handling c3aba0520f xen/riscv: introduce and initialize SBI RFENCE extension 3ffb3ffd38 xen/riscv: introduce functionality to work with CPU info 4bfd2bfdb2 xen/riscv: introduce asm/pmap.h header 87bc91db10 xen/riscv: set up fixmap mappings 09b925f973 xen/riscv: allow write_atomic() to work with non-scalar types 625ee7650c xen/README: add compiler and binutils versions for RISC-V64 5379a23ad7 xen/riscv: test basic exception handling stuff 2b6fb9f3c4 (origin/staging, origin/HEAD, staging) blkif: Fix a couple of typos 6e73a16230 blkif: Fix alignment description for discard request 0111c86bfa x86/boot: Refactor BIOS/PVH start Only some patches have been merged today to staging on top of "blkif: Fix a couple of typos". It shouldn't be any issue with applying patches from these patch series. ~ Oleksii