Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp610341rwn; Thu, 8 Sep 2022 06:31:03 -0700 (PDT) X-Google-Smtp-Source: AA6agR7tuckrHe66Bc21iqih1yGMc5E4/yC1IAzJc59XPa0Bjt/+PI7GRNYQOCXU6upgEbjG+jGx X-Received: by 2002:a17:907:2c6a:b0:76f:ce8b:b8c4 with SMTP id ib10-20020a1709072c6a00b0076fce8bb8c4mr6062966ejc.553.1662643863376; Thu, 08 Sep 2022 06:31:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662643863; cv=none; d=google.com; s=arc-20160816; b=GTH9MKhGNZ7xOjgnH2MlWGY1Ta/rbWZOlKYtAFrRjUfJClwoe1X/22/9DBsCf9Tp5v Th9Nadyh3toetfBq2FiCGuWP9g9IVV5smRzzyqHSMZxdOX4L50NCQbG42Nlyfe7smhPS 7ZOeU3VE2JFGx0Lm8yjThM7lDvPLHAHgB6lnc5z5g7KwWmZjDOiOvr7//CsISRrUH/T+ 8JDzs1ZiS/NMtPHwRAmnlsB0kpXlAMw8hhsZ0ZcIvEcik8GMt2shRGDiHIk/68n4GSC6 MpeXiUZipOVO8GOP+raz9nnwcUpGkO6Bw/m8ahvZvjDjeNLWBhushUdW7OaooJeOFSu+ dsFA== 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; bh=nH7L3KimhWKQ6v9V2FWln1JYYf97pWD4ktksM0pFeVE=; b=UEx+fKyoWcEq9oiwg0SeaxBS2Z9UsCuVEeNtOuEScROfRTS29TxPLWmehwGjZQMov9 i5yRdBsulaNByYjaXpP2ss2/qVbv/Ng3eW1jgZ1uEmOF7+YmwDOax0YZxJREY9YwQYs2 0nXiSNyfx9vnC9XUPsdeA/mx1E6sgj7wkZuQU9ZaUjJprr0a08oWEKPM5KU9XQY4rqGo kyGso1oeR/J7739cU5PExK/9GiI4qfgDoEAGPmn6fo20o3sJlg+gjD4hqY4nBR017A7B F++ugtRmbeyAMTOotKTFzfC3LN3G13Cvzb4C9SBn1Tc2RZbSHAoBOwtQOfb1PDvfFelj zVOw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e7-20020a056402190700b0044f01473b5bsi5063474edz.205.2022.09.08.06.30.36; Thu, 08 Sep 2022 06:31: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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232390AbiIHNUy (ORCPT + 99 others); Thu, 8 Sep 2022 09:20:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232430AbiIHNUf (ORCPT ); Thu, 8 Sep 2022 09:20:35 -0400 Received: from mail-qk1-f169.google.com (mail-qk1-f169.google.com [209.85.222.169]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FA93B4416; Thu, 8 Sep 2022 06:20:28 -0700 (PDT) Received: by mail-qk1-f169.google.com with SMTP id k12so133031qkj.8; Thu, 08 Sep 2022 06:20:28 -0700 (PDT) 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=nH7L3KimhWKQ6v9V2FWln1JYYf97pWD4ktksM0pFeVE=; b=XuH/Uq2uN91BjVNXsFPkJO9d+aQonnSf/fIJxoRJCr0x0wNU+SYYMx7NzkzhNeJSb2 iWLQZx4CIj7bDRCFQhB9W3/LEcXg1t4DUT480iz2D+QxdSu3H+bYglgn6SmTE+FndoB5 Gfg6X23BjznHlrQf5NOfKxYW/saUfDe4cTdAwzS2ufJrXkz5qtso9OzFUOkzm5UeQnSv /wT+iDcHEBkCogjnG2rRZDsix7A+IF4BJvb6d6dwkERkDoGlF8dgxIq7fO4E41/mrW59 iDzt7z7E0/iyliQlNgJmecWRZDH2PMB9431XyPmyUIYKO7D7LJnH4VekDi5tRHztCf+Y h/OA== X-Gm-Message-State: ACgBeo0isBkmMU1yBIfQwe2Els2pX7JsMhLJnHq5NJA5LVYFufjtvxzy Rny0bswKFlXWpLvA47hAiEkPyx865UdOvQ== X-Received: by 2002:a05:620a:f10:b0:6aa:318e:55a9 with SMTP id v16-20020a05620a0f1000b006aa318e55a9mr6320154qkl.559.1662643226375; Thu, 08 Sep 2022 06:20:26 -0700 (PDT) Received: from mail-yb1-f174.google.com (mail-yb1-f174.google.com. [209.85.219.174]) by smtp.gmail.com with ESMTPSA id x24-20020ac87a98000000b003431446588fsm14268488qtr.5.2022.09.08.06.20.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 08 Sep 2022 06:20:25 -0700 (PDT) Received: by mail-yb1-f174.google.com with SMTP id 11so26448221ybu.0; Thu, 08 Sep 2022 06:20:25 -0700 (PDT) X-Received: by 2002:a25:8247:0:b0:6a9:443a:cc0b with SMTP id d7-20020a258247000000b006a9443acc0bmr7305634ybn.89.1662643225008; Thu, 08 Sep 2022 06:20:25 -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> <5e894d87-8abb-540d-fbd6-8a1d6f9d0e91@microchip.com> In-Reply-To: From: Geert Uytterhoeven Date: Thu, 8 Sep 2022 15:20:11 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH 1/2] riscv: vendors: andes: Add support to configure the PMA regions To: Biju Das Cc: "Conor.Dooley@microchip.com" , "atishp@atishpatra.org" , "palmer@dabbelt.com" , "guoheyi@linux.alibaba.com" , "guoren@linux.alibaba.com" , Prabhakar Mahadev Lad , "paul.walmsley@sifive.com" , "aou@eecs.berkeley.edu" , "atishp@rivosinc.com" , "apatel@ventanamicro.com" , "linux-riscv@lists.infradead.org" , "linux-renesas-soc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "prabhakar.csengg@gmail.com" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 Hi Biju, On Thu, Sep 8, 2022 at 3:01 PM Biju Das wrote: > > Subject: Re: [RFC PATCH 1/2] riscv: vendors: andes: Add support to > > configure the PMA regions > > > > On 08/09/2022 09:39, Biju Das wrote: > > > EXTERNAL EMAIL: Do not click links or open attachments unless you know > > > the content is safe > > > > > > Hi Conor, Atish, > > > > > > What RISC-V devices you have? > > > > A bunch ;) > > > > A __couple__ PolarFire SoC boards, HiFive Unleashed, D1 Nezha, Canaan > > k210 MAIX something & the VisionFive. > > If standard DMA api works without any issue means, on these platforms > IO Coherence port is enabled in the hardware. So all peripherals > involving DMA work as expected. > > > > Ours is RISC-V uniprocessor without IO Coherence Port. > > > > What does "IO Coherence Port" mean? Zicbo*? > > The HW will provide coherency between CPU and peripheral. > > If Zibco* is uniprocessor, then highly it may not have IO coherence > Port enabled in their design. Zicbo* is a set of extensions for the instructions. These cannot be retrofitted to existing silicon, but perhaps they can be trapped and emulated? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds