Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp4691210rwb; Tue, 8 Aug 2023 12:11:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF4QKorTwFXi7wCCtWAD6PpEPaU4bFhx1/KSsi8R1nxcl6pu5tGPeh5fZaGt2CPiEEmOYH4 X-Received: by 2002:a17:906:cc4d:b0:974:771e:6bf0 with SMTP id mm13-20020a170906cc4d00b00974771e6bf0mr404841ejb.56.1691521863756; Tue, 08 Aug 2023 12:11:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691521863; cv=none; d=google.com; s=arc-20160816; b=BmWjBxCpu6S9eDoNPzWXKhVA+2pFADETpK6RuvkaLxLRmg3axMnfwOLilGQvy/w5pl EGFEqtPwR/SITZALirqhcGRDLsiWODbYWpD1vbyJXeA52DQnBBLq+DanZfS7p81z24wL 3eYKZnUyb/w8vK3aTaDMpXUfpA1a2EF7VffniuZs33nv3WblaXER/fr29FyjHklLui1l sA3Ut3JaTDX+KFONyerDNej8vuv1vlg7YV+e5IfiB819YHGVFABTtq8bhysS8n5K1WGB enEyLPZMsIF3WphuR21HEjcqqJ6N3Y7n0506hsBmUQHgkUEgoIYQ+yQ3v+S/Qw+75Zaj VdMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=xHxwSu0pvX9LYV8B7jqhg0GJksbLRJ1hVOvJ2jAd07s=; fh=7wTnf0O6ZZLUShCUiUS5Sz3vwwrFJqPyWRIZqAhQFrs=; b=vxFj0xoKaMbLxchzS3YltnG+8okJ5nXtjTn8ApF5yI3R+6pQDMzb7Q61rNY2AHJLXQ MEMlEyjT982pOLOLAmJOE0SKhLUiJB7pFBak/kKjQuBTxJZX4xoGd/O/hJ/V9Bmd22Y7 tbKqojCO+Lyzasyo50/qleApbcnbCcTVtT/0L9Ue9K6EruCA6G73QKSEHYMmVRYTm+gb eDv9laka5dcOuHuq3Kcn15wDEpChFyG4uE35RFqBCA74cSQOx0vHjhYh5RNmVko/AySB KOadCfxDyBXKMxp6RBxU0uCHs2b9Q72v/9KUQS0o2Eby9nbPJBlef55HBzI566z7Z1IC Qsmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Xrd/rkrw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g16-20020a170906395000b009936735feccsi977403eje.210.2023.08.08.12.10.37; Tue, 08 Aug 2023 12:11:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Xrd/rkrw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233498AbjHHSqj (ORCPT + 99 others); Tue, 8 Aug 2023 14:46:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233411AbjHHSqU (ORCPT ); Tue, 8 Aug 2023 14:46:20 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 171774AA8B; Tue, 8 Aug 2023 09:50:15 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B7AF76254F; Tue, 8 Aug 2023 13:13:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A05FC433C7; Tue, 8 Aug 2023 13:13:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691500412; bh=CD0ufiG3nAoVG6VwJg+1gXVvFXW3WqH9W+OfEUubutU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Xrd/rkrwZzOaPiJToz5IEiSANDWww27dyd63pY8Y3Xh3Y6r2ob4CEye9hp0bCkW3u jxcEA1dGIZsW3JuwDjxhNeFT/yT8j0XwECU3HuMP1sQxFzjh+2lEgm28zQA/0yXeC8 +wkXDPOIUV2CJbvyz97qwyyOImcr5PiOLEdyZ3Ka0i7IVwTy92Ch3BlnB+t+hy8zME l2Cb94VOWnB/Dkw4Ejc5SBgLIPlNCgSdBn2L2CuDpcl2Tc7Go8mCaw9JgKcThkGZEb YG69lnEW+2OVCMZ2xYwA60ZmxkUVAtuXxVJn+9xqYKRt5SJa9mCISl7cZA0RiQ2ZKs rQ5lgd45MyLbA== Date: Tue, 8 Aug 2023 14:13:27 +0100 From: Conor Dooley To: JeeHeng Sia Cc: Conor Dooley , "palmer@dabbelt.com" , Paul Walmsley , Atish Patra , Anup Patel , Alexandre Ghiti , =?iso-8859-1?Q?Bj=F6rn_T=F6pel?= , Song Shuai , Petr Tesarik , "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" Subject: Re: [RFT 1/2] RISC-V: handle missing "no-map" properties for OpenSBI's PMP protected regions Message-ID: <20230808-humility-rut-e1e46cf75708@spud> References: <20230802-purse-hydrant-6f44f77364b0@wendy> <20230802-detention-second-82ab2b53e07a@wendy> <3e066032031e4552b4b7903755deb669@EXMBX066.cuchost.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qg9u4gSpdwUq1o1/" Content-Disposition: inline In-Reply-To: <3e066032031e4552b4b7903755deb669@EXMBX066.cuchost.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --qg9u4gSpdwUq1o1/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Aug 07, 2023 at 12:44:07AM +0000, JeeHeng Sia wrote: > > +/* SBI implementation IDs */ > > +#define SBI_IMP_OPENSBI 1 > I would suggest to create an enum struct for the SBI Imp ID in > the sbi.h file. What do you think? I'm not really sure what the advantage of doing so is. --qg9u4gSpdwUq1o1/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZNI/dwAKCRB4tDGHoIJi 0g9OAP9rXh4mheB9oj7xanTMiA+0dCjIXkz4ZFQ5YWlhs+GuLQD+NdUYNiTilS/Q A/GvpEnisAu6ETAprP5ROKjO+STbjQ8= =ag5L -----END PGP SIGNATURE----- --qg9u4gSpdwUq1o1/--