Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1722523pxj; Wed, 19 May 2021 12:20:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDDi4U0vDfP7VZRbpAOfoD0lSN/FGwywVFybPnJ9dnCnyrB5UNn5qX2KThlSwNeisqGRuW X-Received: by 2002:aa7:c7d3:: with SMTP id o19mr647855eds.142.1621452014431; Wed, 19 May 2021 12:20:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621452014; cv=none; d=google.com; s=arc-20160816; b=RAsqY2jJSm3wQw9vu4Yons/8sAINfkRwVv0pEeTWoO1kcuB1WFXiHbLHfOI8obvDWl un0LsIpVrxt4d0VpAp8vAs54pefitd04AIJ2/bRaER+l3ypBU+qR11Dsr2aYqHEtm1OC 8fuQrl3+9ENLdZ5QW6l67ocxP1IEN1VdUNXU/2Ht8raLSEmVqkPxd4u6TIMmLXosyLUG yNYJ/kPBOMQEWdjpftjpvGSeGvhMN4pVV7eFMc9Bk75MkNgQEqAvBi8X10YgpV9tKsT2 MvWlp+NaW2mtmqubySji46KwXAwHgBTBw8/X82W7LuVwbxmkMcVLAR2ReS7U3BmjcGG8 Po5A== 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=2ScD741o+QURZZPw733RWWmwYXPFhfmlwQ+Cj/Nypb0=; b=ujdr26pjrl+Wdms60lg1lZkh+7RgZ9xRYvKYDva6H0K1sKlP4n65GwOKY219Ulh6S0 E1dOQ3OnW+rpU3hqApE07jP1/cVH19hWJdtqfszgeQ218ETFbx3+rpNQcEh1efJCUTVa yMeRTJHnw6W6snQmXwO3DbPUSSmL8lpkX4N4fFnkMHgZh8GYLnY6TlmMQbHfeBim36E/ RzITzXZcdaPJwaBoaCzY8rJnyyk/e+cZEs+TzoJ/UHIy2GJ0WuaBCc/gWYKVyNkpnvsM jhnDbIHh6ZyEuLvLr8bAykSOphbOEEf/7ktEvQvUrP95B9q7viO1/MrtL6MCq+llcbSx iAKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@beagleboard-org.20150623.gappssmtp.com header.s=20150623 header.b=cX7NlRVx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b26si90901edy.283.2021.05.19.12.19.49; Wed, 19 May 2021 12:20:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@beagleboard-org.20150623.gappssmtp.com header.s=20150623 header.b=cX7NlRVx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234805AbhESGzy (ORCPT + 99 others); Wed, 19 May 2021 02:55:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231760AbhESGzx (ORCPT ); Wed, 19 May 2021 02:55:53 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86017C06175F for ; Tue, 18 May 2021 23:54:34 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id v12so6459197plo.10 for ; Tue, 18 May 2021 23:54:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beagleboard-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=2ScD741o+QURZZPw733RWWmwYXPFhfmlwQ+Cj/Nypb0=; b=cX7NlRVxOwOKhhSA4/69Ayqnip1ZqdQVgVcbl0bX/edQVkh3QLIKaii0yMSLrECxj+ Dbvotak+LCZxfuQOc3f08xucZP8jQokPJjyMHYeBXHENqK/U3qXyjtgWmJHXc7f91PK6 KTMoO0H4H0HWHbBk/0OR2tXgoAB93ZoPznOd/ACvhTFzSUwvaWppBpmZVbDyVNhneDmk KZVYGuEQOSKMWnh0kaRc34BqlJZoGw4bfVbgsHdbSK1UviGHP3zRK1BgqUC1A9dVSviH /KOgvBznGPu7GY8wGtR9tBiTF2fmLca+yccav0EOn60Oy/SUssiHLMUDAiJ4PBEenpbV 4lXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=2ScD741o+QURZZPw733RWWmwYXPFhfmlwQ+Cj/Nypb0=; b=cWkysbf22KQrY1Fw/6g2ysqBnoFGM9WvUnssqdfYEP+PKDI7q55aEcBLTqwMY5UhKW mYD8YX4BDT16JoILdS2DsA+5iIiqKQYMD6kEqb9i6S459QVXrCnY8DYdJqlAKI26Vun3 4zk9COQ/nF7+tP4wIP+bXloSB5Yt6A7YfUPey4q8isH26wiw+1yvFhHwmYMaGgWICMUn 9+HbsDcbMXLf/K1okqSD1igb6BekvO0M8W3TAuQanC2pqUjVLZMkABwc/5ZZMixhyjTe IZWNCRtqMo8gS0iBGtfgoCTqutChEeAXzNEfKXsY5qkMI707eeZZr5fh4G0zeE6t0LeU birw== X-Gm-Message-State: AOAM531bh2zm9N6pg+UkbtevPOV7dhvlst778Vznb6la7hur3CH7RAPH OI6maF0U68PN1qgIHoMgi2+eJw== X-Received: by 2002:a17:90a:560b:: with SMTP id r11mr10039603pjf.224.1621407273992; Tue, 18 May 2021 23:54:33 -0700 (PDT) Received: from x1 ([2601:1c0:4701:ae70:9384:8c4b:dc2b:c4d0]) by smtp.gmail.com with ESMTPSA id k14sm5063003pfu.80.2021.05.18.23.54.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 May 2021 23:54:33 -0700 (PDT) Date: Tue, 18 May 2021 23:54:31 -0700 From: Drew Fustini To: Christoph Hellwig Cc: Guo Ren , Anup Patel , Palmer Dabbelt , wefu@redhat.com, lazyparser@gmail.com, linux-riscv , Linux Kernel Mailing List , linux-arch , linux-sunxi@lists.linux.dev, Guo Ren , paul.walmsley@sifive.com Subject: Re: [PATCH RFC 0/3] riscv: Add DMA_COHERENT support Message-ID: <20210519065431.GB3076809@x1> References: <1621400656-25678-1-git-send-email-guoren@kernel.org> <20210519052048.GA24853@lst.de> <20210519060617.GA28397@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210519060617.GA28397@lst.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 19, 2021 at 08:06:17AM +0200, Christoph Hellwig wrote: > On Wed, May 19, 2021 at 02:05:00PM +0800, Guo Ren wrote: > > Since the existing RISC-V ISA cannot solve this problem, it is better > > to provide some configuration for the SOC vendor to customize. > > We've been talking about this problem for close to five years. So no, > if you don't manage to get the feature into the ISA it can't be > supported. Isn't it a good goal for Linux to support the capabilities present in the SoC that a currently being fab'd? I believe the CMO group only started last year [1] so the RV64GC SoCs that are going into mass production this year would not have had the opporuntiy of utilizing any RISC-V ISA extension for handling cache management. Thanks, Drew [1] https://github.com/riscv/riscv-CMOs