From patchwork Wed Jul 24 15:31:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksii Kurochko X-Patchwork-Id: 13741096 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 5A678C3DA63 for ; Wed, 24 Jul 2024 15:31:59 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.764290.1174717 (Exim 4.92) (envelope-from ) id 1sWdy2-0007in-Dz; Wed, 24 Jul 2024 15:31:50 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 764290.1174717; Wed, 24 Jul 2024 15:31:50 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sWdy2-0007ig-AP; Wed, 24 Jul 2024 15:31:50 +0000 Received: by outflank-mailman (input) for mailman id 764290; Wed, 24 Jul 2024 15:31:48 +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 1sWdy0-0005Oj-Sc for xen-devel@lists.xenproject.org; Wed, 24 Jul 2024 15:31:48 +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 d7640d8e-49d1-11ef-bbfe-fd08da9f4363; Wed, 24 Jul 2024 17:31:48 +0200 (CEST) Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2ef2fbf1d14so10882981fa.1 for ; Wed, 24 Jul 2024 08:31:48 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2ef2b568858sm13237311fa.35.2024.07.24.08.31.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jul 2024 08:31:47 -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: d7640d8e-49d1-11ef-bbfe-fd08da9f4363 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721835108; x=1722439908; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CrU347Bqi/Mu5IIuJa5WjXX+En829gmjRRoMWLS+Csc=; b=ddiHMFdWMSCTVkB6zrwBLO0pHNn4qr00CnXV3VEJKfToXhQr336fQ2ec5PbDrz5pN9 R8W9n0hmHBUcev7oWOeXptDnHOWHlkw1njkG+85wKhmt+u/yyLlzbGuagFV0b0RFlswn RQqszwu/MJxlYXKKjQTufDyFIrvH5k8IQidikbVvINTruESh0i5oSJC7bWU49mSmwNsz s+BBCVvia3jd8TkR9EjrKXXmzZN4H+Z4zammH9ghYMpI5Xh9KJBSELZXNbvYvfXXrUpp Tiu+0EFVn0gjK8gZXL9a0eaUV4dtqOJjQcxl1SSPUQ7xuGFLXaqs3nXl1rqg2xVLgvWL qTWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721835108; x=1722439908; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CrU347Bqi/Mu5IIuJa5WjXX+En829gmjRRoMWLS+Csc=; b=H4oQyWtZ2maJPXu37rZBfgJyRC0Xgf405XGfatThrD+o93XbPUsovz2SfwNmbmUtJT sdamzgpqdMLr6LZ08+GjO1n9LTp3Y9jJs5dUp81zagGybDtm92czZGRpDGElHGBpZyvv ope95HM1uEVdgVXncU7rbPTVSuU5qPxFhUsqVIW6DxXEzSJ6L6LKg0x+RBnRdzG8Auxc ob5XOtYXuBc6iFoi2El1jt9SprSPnEH9RbMwUASlT+vYd6zqj4yvreAsjXnHZn/oLYjR h/iHv3S0qS4gO5r0TyDfWah38JSkNG0P8K+DKmE7tvI6ejdSWBpARB5ULF7pn51Qm2Hx Trmw== X-Gm-Message-State: AOJu0YypdaKcD2+3zAS5XZnXjIYwF41CGDmtNefcABN2caoseIncg2A0 VyBJMWqfT+G4wimWuObu17jScUz88Nx9085uV11ZAcbqerp71XqxGsncV8vn X-Google-Smtp-Source: AGHT+IHmrh5MngxfCF1/++20FMQDwLx/3y8MXaraZVYqWCKJmI7Rg1+nFzCxgcikvq+dniNrPZDDtA== X-Received: by 2002:a2e:9c8c:0:b0:2ef:2b70:5372 with SMTP id 38308e7fff4ca-2f032cd28a9mr6620981fa.12.1721835107655; Wed, 24 Jul 2024 08:31:47 -0700 (PDT) From: Oleksii Kurochko To: xen-devel@lists.xenproject.org Cc: Oleksii Kurochko , Alistair Francis , Bob Eshleman , Connor Davis , Andrew Cooper , Jan Beulich , Julien Grall , Stefano Stabellini Subject: [PATCH v3 3/9] xen/riscv: enable CONFIG_HAS_DEVICE_TREE Date: Wed, 24 Jul 2024 17:31:34 +0200 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: References: MIME-Version: 1.0 Enable build of generic functionality for working with device tree for RISC-V. Also, a collection of functions for parsing memory map and other boot information from a device tree are available now. Signed-off-by: Oleksii Kurochko Acked-by: Jan Beulich --- Changes in V3: - add Acked-by: Jan Beulich - update the commit message --- Changes in V2: - move 'select HAS_DEVICE_TREE' to CONFIG_RISCV. --- Changes in V1: - new patch --- xen/arch/riscv/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/riscv/Kconfig b/xen/arch/riscv/Kconfig index f531e96657..259eea8d3b 100644 --- a/xen/arch/riscv/Kconfig +++ b/xen/arch/riscv/Kconfig @@ -2,6 +2,7 @@ config RISCV def_bool y select FUNCTION_ALIGNMENT_16B select GENERIC_BUG_FRAME + select HAS_DEVICE_TREE config RISCV_64 def_bool y