Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp225774imd; Wed, 31 Oct 2018 17:56:38 -0700 (PDT) X-Google-Smtp-Source: AJdET5faup79G/kAESrKqhtGJBQfb82Z8Mjz4zpM/PmF4WrAZeuBY+ZchCRMB+SCFzxCHRnEpiP1 X-Received: by 2002:a62:30c7:: with SMTP id w190-v6mr5455668pfw.188.1541033798069; Wed, 31 Oct 2018 17:56:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541033798; cv=none; d=google.com; s=arc-20160816; b=G30GYo0c0/e7OA/n2GkL/TKqNBlFlN/wzlnaiAsxnweoMwtrag/C2n/D4c3jpcPjyt 6cZ6jcRmpwKvI6RFWBQmjdjmiE89qNzbdpp4Dr1RClm0VAw9pVLTBil/ExS0ok6FHCtI +fhlMBltZveYVvoducspfjbd/R5xnmCz6BxST0GRykU3NByQumx2hLga04HXfapl6Cur 92YQfBjei0vZzp4iH1Gc+Yk7BkmW8EuGrZjafo1GS6T/WYIc/Hcp53yLaNunVMpqVyN2 mWriaKatDGyOkuFtOMy3CqYgYj6dGFhsDBzA1FUdzcw6YRPSM2CH1cG1tQIYp+7uqcnB Ko3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=erfA1kh0qx0HGSm5oKG73YyQFGuI2xDRpsfxRFalQ2E=; b=DZY9fNTNqDLsj2G5tI7LjwiwqIG7tq1bRwknzYZugPlXZFgsyrImnooHF0Nkm5LcBP VpGcHogAaShjUp6jfkgc+1e7b3N01R84aoNv3bVgvwY6GNHBfOnKZgiTHYrtYJGFSoJo PdH0Qn0xmzBCtxuLu59f3n4xc2wVbs26fpNQ51eKDUqV3ez3egeJpL7wP4aPlZ6iGRbZ k+dRdqvPsUZStTm8SCsx9OBPd+oE5BURpZKKHKJpoOnI1wcFKIF2Wq7kxcQIfNwQXmG0 jexVSevJhZk71ZBceUUmWI/2krA2e0TMs6nWJk+SeVhVtF9m2hnS1VLsnRcXFfyApllj 60pA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u23-v6si28611078pgg.410.2018.10.31.17.56.22; Wed, 31 Oct 2018 17:56:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727115AbeKAJ4a (ORCPT + 99 others); Thu, 1 Nov 2018 05:56:30 -0400 Received: from 59-120-53-16.HINET-IP.hinet.net ([59.120.53.16]:47787 "EHLO ATCSQR.andestech.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725823AbeKAJ4a (ORCPT ); Thu, 1 Nov 2018 05:56:30 -0400 Received: from mail.andestech.com (atcpcs16.andestech.com [10.0.1.222]) by ATCSQR.andestech.com with ESMTP id wA10uZUK012526; Thu, 1 Nov 2018 08:56:35 +0800 (GMT-8) (envelope-from alankao@andestech.com) Received: from andestech.com (10.0.15.65) by ATCPCS16.andestech.com (10.0.1.222) with Microsoft SMTP Server id 14.3.123.3; Thu, 1 Nov 2018 08:55:41 +0800 Date: Thu, 1 Nov 2018 08:55:42 +0800 From: Alan Kao To: Christoph Hellwig CC: Anup Patel , Zong Li , Albert Ou , Arnd Bergmann , , Palmer Dabbelt , "linux-kernel@vger.kernel.org List" , , , Subject: Re: [RFC 0/2] RISC-V: A proposal to add vendor-specific code Message-ID: <20181101005541.GA25604@andestech.com> References: <1540982130-28248-1-git-send-email-vincentc@andestech.com> <20181031141745.GA5183@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20181031141745.GA5183@infradead.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [10.0.15.65] X-DNSRBL: X-MAIL: ATCSQR.andestech.com wA10uZUK012526 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 31, 2018 at 07:17:45AM -0700, Christoph Hellwig wrote: > On Wed, Oct 31, 2018 at 04:46:10PM +0530, Anup Patel wrote: > > I agree that we need a place for vendor-specific ISA extensions and > > having vendor-specific directories is also good. > > The only sensible answer is that we should not allow vendor specific > extensions in the kernel at all. ... How can this even be possible if a extension includes an extra register set as some domain-specific context? In such a case, kernel should at least process the context during any context switch, just like how it deals with the FP context. > ... We need to standardize cache flushing > and we need to do it soon and not introduce horrible bandaids because > the foundation did not do its work. > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv