Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2863193ybc; Wed, 13 Nov 2019 23:42:24 -0800 (PST) X-Google-Smtp-Source: APXvYqwHdjfEQRikRWbgHXy42+3bLRtL+LZuA7hIw1nFDFqiR/uluzcO7JMbZCt9Z6xABiV99LQT X-Received: by 2002:a17:906:7e41:: with SMTP id z1mr6174687ejr.63.1573717344287; Wed, 13 Nov 2019 23:42:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573717344; cv=none; d=google.com; s=arc-20160816; b=Bcsn63QKD/XsanqC+eM1shMHyabUR4s50OMylY3lwySO6ecAKO2+voQDgwcysWQn1E ga5vQqtsZAqd55+Ja0Cv6R0q05SbWSpYJJv0DDXf9+293ZQ1NQLdvmYtWgljl6S+dTI2 1Cm5BnPEmKBbuUTDhcJqgnfdchiI6ubkLDU9K1Tz2JrdwTG6qutcR1MvXG/Obbr5wXHT vneSxzmcAtbroUo/FbUeicPeP1jYlUbxVXGhPMcLjSJAp3MZ6QiKqDuMMh+ddgJ2w9o8 vkxupEmVTU2esYa0JjlKLHJiJ8/2ufR21ozIsedV9o4P6h9dwTIZAaEfGQBaBeS7PTCR dpJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=YMn33D1fvbsOQjVLRYkAXXQ5Mr3LhRnG3fNN+0bZFqc=; b=Cy8D6bQd6ezKhk0aPAqa3qwbFnSOJAHoQiRudQpaPf9fQokeGJAZhTY3EbXa7buM4Q U11D9crcPrPIdH3KAs7wQs/mVlGgQgdazgENYatZiInzu/p+pI5t+gxibUMjJ1Bmku9Z 2OULGtw1Sd49hw7dEgfCJr/BO+0rwEUAZyZRjx4D2zkdNcpafbJmuA1Qspj4B9tdr+tO lQqC60PENHNat8h9SxzSnWRGXJ2Ngev5xh/5d7fpsfXDhakYMbUzcTlEb2tktN/9Z1Yc 3pSuJjdM+mwZU6n8DecSULWZgZdUsjsYi4lw0tLVP16X8WIG5PC7SWkS1hbc6eIRGqVR Hdlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=V5dSsQTs; 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 gs14si2923259ejb.347.2019.11.13.23.42.00; Wed, 13 Nov 2019 23:42:24 -0800 (PST) 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; dkim=pass header.i=@sifive.com header.s=google header.b=V5dSsQTs; 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 S1726533AbfKNHkF (ORCPT + 99 others); Thu, 14 Nov 2019 02:40:05 -0500 Received: from mail-oi1-f175.google.com ([209.85.167.175]:41967 "EHLO mail-oi1-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725852AbfKNHkF (ORCPT ); Thu, 14 Nov 2019 02:40:05 -0500 Received: by mail-oi1-f175.google.com with SMTP id e9so4404646oif.8 for ; Wed, 13 Nov 2019 23:40:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=YMn33D1fvbsOQjVLRYkAXXQ5Mr3LhRnG3fNN+0bZFqc=; b=V5dSsQTsDt8RrkZGi2u+8jj4+O7/AdchvYLEDWZDIOo1jiwBEUk2EHUk6GJPamFBX/ tWExz2iSLQmnLRTubNgcib2g+uFBMXKV1hEHa6B1IfSZOLE/78A6OqjnSQ29HNCCnZe2 tW8TTwxPNcHaAT88BCFrfQjGvlaTOlX8aOdtnIgUssLBZGT8jNu5wFyDkEILEjpHaFXz 3pnf0wpm0xbiKozJpO3b0XhQQi/CdRLoWJXu4EZ7RkpFejjgDD6Hm1Yru2qwY7RsBOfd fPzpuVIEuehujelxjW6Cg7zZ+Y3uhKVikM6ijBx0d0hyWqRQam1VgA8FnsyR9FwvIBr5 22WA== 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:in-reply-to:message-id :references:user-agent:mime-version; bh=YMn33D1fvbsOQjVLRYkAXXQ5Mr3LhRnG3fNN+0bZFqc=; b=jFikoyKXW9wu+z2u1GdhCs3AosLpVBRtxCkct+bur5ApxOiNqxuLVphsbC2aEi2/Pm eKbPSFmZwWvxYf4PnyKkCDcVRbRmtaDGws1+HDcckG39KufwIufXUgl84bFLYNLXxDXX lw5D7iqOTcyty+wjzw/+xJkxRIeiPUjMqtG3k5uDGXIYiax5Vm2jJmy4Wg/Euz+ttfk9 qquxypgCxbOmTK8RYxiYSk/N0eMbyMiY4tdZFVPRjhfBjDEZ21BnenGruGc7NqjOjqI0 8yCLumVUvjofXr/xhyG9EsH0PU280S7utBT4iwOO+0558QS8l1rMU2UluRXgMAzkjAlI aFGQ== X-Gm-Message-State: APjAAAVQIri/D+bgrrwl5VqY4wnjUVlsHru+wD56cQy9qrwDzRA6Ykre EeSSzmiN7BdGvvOIZzHUwrsIWKT2Dpk= X-Received: by 2002:aca:6c1:: with SMTP id 184mr2296358oig.84.1573717202583; Wed, 13 Nov 2019 23:40:02 -0800 (PST) Received: from localhost (wsip-98-172-187-222.no.no.cox.net. [98.172.187.222]) by smtp.gmail.com with ESMTPSA id e19sm1564350otj.51.2019.11.13.23.40.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Nov 2019 23:40:02 -0800 (PST) Date: Wed, 13 Nov 2019 23:40:01 -0800 (PST) From: Paul Walmsley X-X-Sender: paulw@viisi.sifive.com To: Christoph Hellwig cc: Palmer Dabbelt , Damien Le Moal , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Damien Le Moal , Atish Patra Subject: Re: [PATCH 10/15] riscv: read the hart ID from mhartid on boot In-Reply-To: <20191017173743.5430-11-hch@lst.de> Message-ID: References: <20191017173743.5430-1-hch@lst.de> <20191017173743.5430-11-hch@lst.de> User-Agent: Alpine 2.21.9999 (DEB 301 2018-08-15) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 17 Oct 2019, Christoph Hellwig wrote: > From: Damien Le Moal > > When in M-Mode, we can use the mhartid CSR to get the ID of the running > HART. Doing so, direct M-Mode boot without firmware is possible. > > Signed-off-by: Damien Le Moal > Signed-off-by: Christoph Hellwig > Reviewed-by: Atish Patra Thanks, queued for v5.5-rc1. - Paul