Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1197565ybl; Tue, 13 Aug 2019 08:50:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqyYufnV/A0WW0jbvuPa1Ubb5SFxJu0FcE+G1KdQ0APdiicanWfZJMohNp/ux3OkmJq7FMAq X-Received: by 2002:aa7:8f2e:: with SMTP id y14mr12375684pfr.113.1565711424117; Tue, 13 Aug 2019 08:50:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565711424; cv=none; d=google.com; s=arc-20160816; b=vwzXWEQ/Avjz5aAiecc1ti9aewzby5pfW6M+k47mpk96mpwksqjuWiAmyUsqMytAng XX61l1muY8HchdZWLifXLuu2h/3BZ/3Gn9t6d+dCPR1RbGA5oxVdXtYg8oWSb8ZTBCtJ NHUxme/FwFS1Dp82O4h24XGcBJXDBjsL+XzGQubhewA4yAF6bgHBaER5hygNCzQpHKiz bM7IMRn6SO3Jw3BSYNVf10Nku3EVeTyFUAdb4TagLQ6HjSEImWaGzFsMom+N2HmSB539 iINOT7T5LHgx4CEdwCxOaVAEm9ntkMCkmOd+7GPw/UL0cEexY5pir9k4wCrcE+qXtoGT q14A== 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=1AdCSNk5E8tw2DxvKABjYCK0+N5hz5kI2uCU2Qjh6wo=; b=Nxxa4KzYpehvr7nKuQ4QaJOx1fHcLz1o7Lxqf1EhVWylUzpGDZCWZp53Diwyjl2bFe WTUA5+AdA7hXRgGuFa9atFkx2rzbI3RHiID2M8eTYnS2SMP0NGH6IRgmPDbyqDTi+xoL Aibh0YeEDJnD9PbT9HpMG12KG5CyzzL6yUxlw3vt8FJHkqksSIvgIirSinkWarfn0xSB ZUW67q/cPQqj+h858bgFsMjmtscXR63qDFvOkud/6wQVeKCE2O8qUKYKIDAY4oIMjPag 9dFQmp+JbFS7Qe6N+0xEX9YMTT2OuzymWFev5K8fksOzqnMRv/t5J+MLi+k0k8Xjbdka 3T5g== 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 o61si65537089pld.392.2019.08.13.08.50.07; Tue, 13 Aug 2019 08:50:24 -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 S1729341AbfHMPhL (ORCPT + 99 others); Tue, 13 Aug 2019 11:37:11 -0400 Received: from verein.lst.de ([213.95.11.211]:58149 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729193AbfHMPhK (ORCPT ); Tue, 13 Aug 2019 11:37:10 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 6FB1368B02; Tue, 13 Aug 2019 17:37:07 +0200 (CEST) Date: Tue, 13 Aug 2019 17:37:07 +0200 From: "hch@lst.de" To: Atish Patra Cc: "hch@lst.de" , "paul.walmsley@sifive.com" , "palmer@sifive.com" , "linux-mm@kvack.org" , Damien Le Moal , "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 16/17] riscv: clear the instruction cache and all registers when booting Message-ID: <20190813153707.GA8686@lst.de> References: <20190624054311.30256-1-hch@lst.de> <20190624054311.30256-17-hch@lst.de> <78919862d11f6d56446f8fffd8a1a8c601ea5c32.camel@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <78919862d11f6d56446f8fffd8a1a8c601ea5c32.camel@wdc.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 01, 2019 at 09:26:18PM +0000, Atish Patra wrote: > That means it should be done for S-mode as well. Right ? For S-mode the bootloader/sbi should take care of it.