Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp577456rwn; Thu, 8 Sep 2022 06:07:12 -0700 (PDT) X-Google-Smtp-Source: AA6agR5GCviV8di7qu8dgipLzyKT5QBGfJSLUnzFkj8LuMbweKhq8MxZrNHcZ0eti692jsYEy/Gq X-Received: by 2002:a05:6a02:281:b0:42b:748e:5d90 with SMTP id bk1-20020a056a02028100b0042b748e5d90mr7654033pgb.422.1662642431941; Thu, 08 Sep 2022 06:07:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662642431; cv=none; d=google.com; s=arc-20160816; b=YkBIizbqLrO03hgxcW7WnGbLdLYtkPK7Uq6lzFM2u6zya8iiHm66fWWrcWjSruFTXF mvt4OkbFJgjKDgp8f2CmdwJg4acirz4HLmbrkEKiUWzGzhFpKuCGvJD0s69mfGJJPlAO 90TiKiUX/Xp1dnVAUrkrSGkwkhzKh/Q2nu4iOezb8/iRZntnFn6vlKO04mGuRz960YtX Jkxv4pxHMUjzOq6roqyk7NqQ9euCWrY4mPNfv97RHckW4AacPl+oRYDCPUqaAuAdsu1q 5pRvvcBLIYK3YaxsgR0lfFfBVkd9obCU6mm4fZeXPgrkmQlZy07+Dp/FFaJEE4AuWd2e cUJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=SAM3mkegdCeaGVQgcXVVpthAb6ElEKSQcT12XxK/rDg=; b=oTmKkd3A5q/HE432R1XX6IVz2nRY40JmLxjyoDGiP/BazX03c4t0/0jQDEVrQ57Js+ CnSa8CWBTa3ji3D5iIK2Vo9OdxuqnSAvzCr5LG6E+F68rHTqCgeLdr0GCahniYaraaVB 9wxeQOShq3nPLQe73FEX4wgdTzpM0GtT41s/ddrUEfGICm7qZPqGTWJsxsPb2Csx5PIU vo/LSseI+EZ0lkdesufxltKPi110KlkiIU1VMo1FonzztYd2JyHUhkYVUUMdZeYsPwiu wEF9eN547SXPwRBhRpuEVtIFej17Je8tkUIPZqDMNTUZAiftcl3eZreLsIhbfendQSIy 1vIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UYY6e5y5; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j10-20020a17090a840a00b001fd83507579si931879pjn.74.2022.09.08.06.06.50; Thu, 08 Sep 2022 06:07:11 -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=@gmail.com header.s=20210112 header.b=UYY6e5y5; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230124AbiIHMOA (ORCPT + 99 others); Thu, 8 Sep 2022 08:14:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229576AbiIHMNz (ORCPT ); Thu, 8 Sep 2022 08:13:55 -0400 Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0633DE55B7; Thu, 8 Sep 2022 05:13:55 -0700 (PDT) Received: by mail-yb1-xb2b.google.com with SMTP id g5so26051394ybg.11; Thu, 08 Sep 2022 05:13:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=SAM3mkegdCeaGVQgcXVVpthAb6ElEKSQcT12XxK/rDg=; b=UYY6e5y5Giua61QzsVGiSq6DQZmkmftZ5Wb4Q3NhvE1cm4x9K/cpS0diwQNlJYBYOM MVqzw7cWdy2dJ3NeACQF5z23xfaE7WFpktSAzkfjgLTVY63bPZt0cQNjugQMveKVF13r uxGJTiQKmgPL39oAuTkrmi1TJFAdA7yZaQLIYVSvi54x6VSj98lW0HPjlFER2DfiauNU lnA10QQoeF7QMS8e+f29qG33KPzOfvgObyjZ9uXJuSvrg6QKANfFrvE7LCmRgkYtLtFd ycaHI7Dt7tw1tSrFu880GPKa1Rz5PeYCelMR7JAo001c6e3TwrifFoHBrw/+khYPdwSi kxaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=SAM3mkegdCeaGVQgcXVVpthAb6ElEKSQcT12XxK/rDg=; b=5jxWJAqBbsTYR8p9d4EpKGG2wqw8onzWJtuM/dSSgfzzyDEYLAeb86kGDTmPoEH1sy fkqr6JYjjOBbc3HSq6FEg5F0dQOthXbU05P9pE9QWk/DQKaEZ1q2Da/6SSFfryUwsxb2 zQ1e38FDtbcFjYq12OYxhj7QvtLAXBa8jJVLo3dHL1iJY8ATx0DiRvrZFZbiOIG0npa/ 8rpnAFqUGcg9nmmTnPGEREdP/kSI4dmJDLHPakgOtcUrUmbkyvxvZCXbixXHAiU0mJ/6 Xho4qXhsCU5GuXWZzyRvHiluDgG4SfvSH3/0GSK3BpHeIZ6jRIkXf+JaL0zEfbYfwqv/ Awlg== X-Gm-Message-State: ACgBeo0n8IDEsGP8gq3YZBiH4oFrI0GWY85HZa/RLge2xf1xBve/dfzB 6uoZPiFdVQ4cfFR5BtCda4WuVUNri+i8a3/+xHY= X-Received: by 2002:a25:99c5:0:b0:6a9:6c30:a67d with SMTP id q5-20020a2599c5000000b006a96c30a67dmr6851545ybo.117.1662639234282; Thu, 08 Sep 2022 05:13:54 -0700 (PDT) MIME-Version: 1.0 References: <20220906102154.32526-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20220906102154.32526-2-prabhakar.mahadev-lad.rj@bp.renesas.com> <8ecb62b7-53c4-1c43-65b3-567d8c12e131@microchip.com> In-Reply-To: From: "Lad, Prabhakar" Date: Thu, 8 Sep 2022 13:13:27 +0100 Message-ID: Subject: Re: [RFC PATCH 1/2] riscv: vendors: andes: Add support to configure the PMA regions To: Conor Dooley Cc: guoren@linux.alibaba.com, atishp@atishpatra.org, "Lad, Prabhakar" , Paul Walmsley , Biju Das , Palmer Dabbelt , Albert Ou , atishp@rivosinc.com, apatel@ventanamicro.com, Geert Uytterhoeven , linux-riscv , Linux-Renesas , LKML Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Thu, Sep 8, 2022 at 1:00 PM wrote: > > On 08/09/2022 12:50, Lad, Prabhakar wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > > > Hi Guo, > > > >>> -----Original Message----- > >>> From: Conor.Dooley@microchip.com > >>> Sent: 08 September 2022 00:38 > >>> To: atishp@atishpatra.org > >>> Cc: Prabhakar Mahadev Lad ; > >>> paul.walmsley@sifive.com; palmer@dabbelt.com; aou@eecs.berkeley.edu; > >>> atishp@rivosinc.com; apatel@ventanamicro.com; geert+renesas@glider.be; > >>> linux-riscv@lists.infradead.org; linux-renesas-soc@vger.kernel.org; > >>> linux-kernel@vger.kernel.org; prabhakar.csengg@gmail.com; Biju Das > >>> > >>> Subject: Re: [RFC PATCH 1/2] riscv: vendors: andes: Add support to > >>> configure the PMA regions > >>> > >>> On 07/09/2022 22:52, Atish Patra wrote: > >>>> EXTERNAL EMAIL: Do not click links or open attachments unless you know > >>>> the content is safe > >>>> > >>>> > >>>> On Tue, Sep 6, 2022 at 3:40 AM >>>> > wrote: > >>>> > >>>> On 06/09/2022 11:21, Lad Prabhakar wrote: > >>>> > >>>>> diff --git a/arch/riscv/include/asm/sbi.h > >>>>> b/arch/riscv/include/asm/sbi.h index 2a0ef738695e..10a7c855d125 > >>>>> 100644 --- a/arch/riscv/include/asm/sbi.h +++ > >>>>> b/arch/riscv/include/asm/sbi.h @@ -37,6 +37,7 @@ enum sbi_ext_id { > >>>>> > >>>>> /* Vendor extensions must lie within this range */ > >>>>> SBI_EXT_VENDOR_START = 0x09000000, + SBI_EXT_ANDES = > >>>>> 0x0900031E, SBI_EXT_VENDOR_END = 0x09FFFFFF, }; > >>>> > > I am interested to know what is the status of your patch series [0]. > > > > [0] https://lore.kernel.org/lkml/20210606143848.GA5983@lst.de/T/#m7f4c4cdfb92d6c8672bbfabebda729ce4700e177 > > Heh, take a look at: > git grep "ERRATA_THEAD*" > > This is all can-of-worms territory that we are heading to here, as > the Zicbo* extensions is what is meant to be doing these sorts of > things.. > Aha thanks for the pointer. Cheers, Prabhakar