Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2471030rdh; Wed, 27 Sep 2023 03:51:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEsEzsv7rOTGYcX6474W3ON5i6qY/Qjn9BqmXGSeTbLwRE8dIrR2wzw4bYwDIlgHVhCK1N0 X-Received: by 2002:a05:6a20:7487:b0:15d:641b:57b6 with SMTP id p7-20020a056a20748700b0015d641b57b6mr1616934pzd.5.1695811873544; Wed, 27 Sep 2023 03:51:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695811873; cv=none; d=google.com; s=arc-20160816; b=x5sk7bkbul47y5Kq71GBoksjqn98QxHUld5se5h7yfFfYMLG3ygHZugo5yqfbLaspU lG/btMyPpE1lSKDfenAMVl8W6Vm9c9FOCq1J4iBbRZuUBEszBbDLAcjCbJ/kUgVBMR14 H5FEx0y0chUoXD/sDjYNtfH+8x/wf0EN8plufNX671xRIYGgUaZBPpMOrv4ZQdL+lfrH Ena6LjOfbdcExIlqtboQL0wF51uJLR3+PDGUGzofIghKlZpPaQXj5Wh36/xgQU+mvpL5 Q4/euuhwiG0IYSvWTEOaO6dv/Hbn+LiXDDVHsQ/PscJFgVSYtdM4fdaMmMJN/KrvL6Y6 7KOQ== 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=pf7BkGhF9Z47SYL10JArdweUf9nDI7wovj631PwF/S0=; fh=XsLo9ymaPnFCY0ryZSR+4mu8P5sPVmHVg55NyVjsc+I=; b=cBDQ2PptMmSHQnrWhSMg5nY8r+zrB0rr/rOZno/F/TdnIXCnFOSpz6wfaTPHAxXqvE 3WC/ZiOrfHmpNCV8prHnMFzFu8QOcnPRczZRfkyz6sMUgW+qnO4dhT7SP4htPbo+LC2x +snGnH8RyrdRfCRonRzPFmDAr+CH6E1GrBrGl/rr+IR0T47j9zvYO2ZBMLgGC8y6zDWQ +/2n1JGd+UF+/dvdY49jhgb0ffbkRjll8BLEkA7vuaC3PMSJM6W6POVLn1FGcevmI7nS a62FkPWroXqNy07fVoq/ztiBcBcKlKFYpjec4tMFK3A5OMYxUZVTF4wJoRU3SGy+zA8s sGiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=o5LpZ6Be; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id kv16-20020a17090328d000b001bbb39ffe06si14514853plb.69.2023.09.27.03.51.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 03:51:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=o5LpZ6Be; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id C88BF827E59C; Wed, 27 Sep 2023 00:18:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229930AbjI0HRp (ORCPT + 99 others); Wed, 27 Sep 2023 03:17:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229910AbjI0HRn (ORCPT ); Wed, 27 Sep 2023 03:17:43 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53F6B11D for ; Wed, 27 Sep 2023 00:17:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=pf7BkGhF9Z47SYL10JArdweUf9nDI7wovj631PwF/S0=; b=o5LpZ6Becuj/eQy6E+S2EvdXlI rgTuP7TiqWOIZnt/ZcdHPPX5yQMXXwKz332OCnrwxJHDHmgss3F7kW7+adB8PsCxkfnrJhR1j9CqB hkF3pV/ehM7196wi1m6Vvv4vWkbTfDrV8bNfTNfMSL5189o7CmsDpLy6yttJ/0NPn+sbT25qTxIDe w2qJR2loxrAbL8ZIV8MpulvdtFomoDCpAhVDwKedNhGCudbm/uigjWhYPHsBJZvfnw3Pz3SsTF6wR yq2qH1jiY+2tqdapPCHzL2cU8rgunMPWPN5+/caOMOK5Q4AIqOpuG/Duna6kTuj4YrGR3mI/5gU94 pbzFKSPw==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1qlOmt-00CSRZ-Or; Wed, 27 Sep 2023 07:16:47 +0000 Date: Wed, 27 Sep 2023 08:16:47 +0100 From: Matthew Wilcox To: Yong-Xuan Wang Cc: linux-riscv@lists.infradead.org, kvm-riscv@lists.infradead.org, greentime.hu@sifive.com, vincent.chen@sifive.com, tjytimi@163.com, alex@ghiti.fr, Paul Walmsley , Palmer Dabbelt , Albert Ou , Anup Patel , Guo Ren , Andrew Jones , Conor Dooley , Daniel Henrique Barboza , wchen , Heiko Stuebner , Jisheng Zhang , Andrew Morton , Alexandre Ghiti , Kemeng Shi , Charlie Jenkins , Sergey Matyukevich , David Hildenbrand , Qinglin Pan , Rick Edgecombe , Sunil V L , Evan Green , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/3] RISC-V: Detect and Enable Svadu Extension Support Message-ID: References: <20230922085701.3164-1-yongxuan.wang@sifive.com> <20230922085701.3164-2-yongxuan.wang@sifive.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230922085701.3164-2-yongxuan.wang@sifive.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 27 Sep 2023 00:18:03 -0700 (PDT) On Fri, Sep 22, 2023 at 08:56:47AM +0000, Yong-Xuan Wang wrote: > We detect Svadu extension support from DTB and add arch_has_hw_pte_young() > to enable optimization in MGLRU and __wp_page_copy_user() if Svadu > extension is available. If you're going to cc people outside the RiscV space, you should probably explain what Svadu is. To me, it sounds like a Great Old One, maybe a friend of Cthulhu?