Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp170113imu; Thu, 8 Nov 2018 06:41:46 -0800 (PST) X-Google-Smtp-Source: AJdET5cFux+FAodC75KYZATLAKVIMdR8Wog/TALx8BtGzpc6cv89ckPJi/8uUEr0Dk/D5Bk2Kquz X-Received: by 2002:a62:b9b:: with SMTP id 27-v6mr1559364pfl.235.1541688106557; Thu, 08 Nov 2018 06:41:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541688106; cv=none; d=google.com; s=arc-20160816; b=FC6u6KZfeDgKR26kcVccG+zHz7osI8t4Y7mihtEXAL22ODOPtU1mqpJegXXYO03GBY DFa3SnjasHTlUnwbEy8P4om2ack2dS3MPljMCmLmyUN1HihqEucV4WY6hsISXkIsi7Kl QGyLK8GukaGdFGtrycAe5Phqt1fVCVO3pM8KhXXRbnAbAhlULpjgq9ayRuQtC2s0F3PA LjCJoJJKb7BywCPVm8SlPBWTGBjmmVd/Rk/8RIteS5+J5s3Q+724DIdxM62t1SnX+9XU eiQjilYU0+z1ycDiJIaxIXLEqKEFzTpnejMbohUwzOZ+qXReNFK9+nUnnrVdIkMU10GR MBXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:autocrypt:openpgp:from:references:cc:to :subject:dkim-signature; bh=ycK0/gqwzRHuh1KJHsQav8DrJ0lGfrCCAzBrI0zeo/I=; b=t7k4HFmxVwNpk7gn8iIz6I2Qsa4bG6+7LxWlFDnldcFXE3dR97CS9MnIEA8EdlquWN Xx1TLTZT2wXmZo2Bl/Ye4k/TCGWYQz8ISBbZNaCrQ0L1O6emZ5CNBsbQuk2G8Zevl/1d w996H8K7waLczh4LnnALKu8TDEpnDVxYBQixai6+m37Lsyf5r8Klsw/+NaNkvks6RvbK cm+SIFdbCmAwQHtLQ53ei/V0vYzHHpv7uKRZ5IW56NS41DTA9b2NVuhJC2MctSvxVZvU G3FOKaMy9/NwJvwX0RVRqA7jQa52Jw6g5fs7LmVA4XV1CSLtDc8V7gOLEjcsWrcUkwyH ufZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=12zfqPar; 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 l68-v6si4821076pfl.56.2018.11.08.06.41.31; Thu, 08 Nov 2018 06:41:46 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=12zfqPar; 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 S1726963AbeKIAQh (ORCPT + 99 others); Thu, 8 Nov 2018 19:16:37 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:42518 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726509AbeKIAQh (ORCPT ); Thu, 8 Nov 2018 19:16:37 -0500 Received: by mail-wr1-f67.google.com with SMTP id y15-v6so21501530wru.9 for ; Thu, 08 Nov 2018 06:40:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:openpgp:autocrypt:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=ycK0/gqwzRHuh1KJHsQav8DrJ0lGfrCCAzBrI0zeo/I=; b=12zfqParlw7APEiOLF3Kw1X4EC68sG4Wo170PzAs32b7j12g4TolHtSXxtpfUx3nvP iBYQE5AzD/sUB7hpYQL3eDiM4vt9opk5cGCv9RIzfAlHWpZCOgI5X1dUORO2v8U7nirB 3wPuwnt+XfKDoEFZZUCaz4MLk+86QoYn6H+O80OS31rkRUP4FyMzd8A/MPEa2x98uPi6 2RRbM/ftcTVZGEUmI5LLmZboYr5mabmY+DIljHbhxqnG2eKIWFnoPJkSlj36VaUa48CZ DMVXPnCjad/uSNxzVd3EbB5Fyfyz048vHHrrep0PAZUwIDiSJuAOu9VvDya7cIuj3Gke aYkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :organization:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=ycK0/gqwzRHuh1KJHsQav8DrJ0lGfrCCAzBrI0zeo/I=; b=coaN7nYguzyl8GTNCEY6rIG3Zz9rD7KKX+zYkHpzZWx2Om1pH01YT3+3skkCl7EyWp DgTMr0y1jpADuSTuWbmUy8tzLh1BrxqqassKsSFbFUzTFhkED2YznEI4mw8dhrRAz1fn DHhnPX1KDGwnHXqNrXkKy5S0Kzvwltjq6W3iY1jUVrNmPS4zEEIyqph8nJpwWFuvOLEB HHmcguGlv90CHP3r76wpC9X/NDpAEH9Nlw6RESsIU+gQnek0zm4jRaTjCaojNBdZz/vG dLfW8ZTWbs4Cem+9jeVMzRXW687REfCuyOtEn2zg2RKC7YA76SlelJnfpjzcDjz8yVeu ZchQ== X-Gm-Message-State: AGRZ1gJyFUXinU2jy4ONWZ0PkV7KufoPUige7NP0KdYyDiFwh9dSrmgC 9SZw/wtqivksV7Utrk7qGX7pr1rllqA= X-Received: by 2002:a5d:6a0e:: with SMTP id m14-v6mr4519078wru.76.1541688047525; Thu, 08 Nov 2018 06:40:47 -0800 (PST) Received: from [10.1.2.12] ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id l4-v6sm3567114wrb.92.2018.11.08.06.40.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Nov 2018 06:40:46 -0800 (PST) Subject: Re: [PATCH] arm64: dts: meson-axg: add secure monitor To: Jerome Brunet , Kevin Hilman , Carlo Caione Cc: devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org References: <20181108130744.32323-1-jbrunet@baylibre.com> From: Neil Armstrong Openpgp: preference=signencrypt Autocrypt: addr=narmstrong@baylibre.com; prefer-encrypt=mutual; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKE5laWwgQXJtc3Ryb25nIDxuYXJtc3Ryb25nQGJheWxpYnJlLmNvbT7CwHsEEwEKACUC GyMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheABQJXDO2CAhkBAAoJEBaat7Gkz/iubGIH/iyk RqvgB62oKOFlgOTYCMkYpm2aAOZZLf6VKHKc7DoVwuUkjHfIRXdslbrxi4pk5VKU6ZP9AKsN NtMZntB8WrBTtkAZfZbTF7850uwd3eU5cN/7N1Q6g0JQihE7w4GlIkEpQ8vwSg5W7hkx3yQ6 2YzrUZh/b7QThXbNZ7xOeSEms014QXazx8+txR7jrGF3dYxBsCkotO/8DNtZ1R+aUvRfpKg5 ZgABTC0LmAQnuUUf2PHcKFAHZo5KrdO+tyfL+LgTUXIXkK+tenkLsAJ0cagz1EZ5gntuheLD YJuzS4zN+1Asmb9kVKxhjSQOcIh6g2tw7vaYJgL/OzJtZi6JlIXOwE0ETVkGzwEIALyKDN/O GURaHBVzwjgYq+ZtifvekdrSNl8TIDH8g1xicBYpQTbPn6bbSZbdvfeQPNCcD4/EhXZuhQXM coJsQQQnO4vwVULmPGgtGf8PVc7dxKOeta+qUh6+SRh3vIcAUFHDT3f/Zdspz+e2E0hPV2hi SvICLk11qO6cyJE13zeNFoeY3ggrKY+IzbFomIZY4yG6xI99NIPEVE9lNBXBKIlewIyVlkOa YvJWSV+p5gdJXOvScNN1epm5YHmf9aE2ZjnqZGoMMtsyw18YoX9BqMFInxqYQQ3j/HpVgTSv mo5ea5qQDDUaCsaTf8UeDcwYOtgI8iL4oHcsGtUXoUk33HEAEQEAAcLAXwQYAQIACQUCTVkG zwIbDAAKCRAWmrexpM/4rrXiB/sGbkQ6itMrAIfnM7IbRuiSZS1unlySUVYu3SD6YBYnNi3G 5EpbwfBNuT3H8//rVvtOFK4OD8cRYkxXRQmTvqa33eDIHu/zr1HMKErm+2SD6PO9umRef8V8 2o2oaCLvf4WeIssFjwB0b6a12opuRP7yo3E3gTCSKmbUuLv1CtxKQF+fUV1cVaTPMyT25Od+ RC1K+iOR0F54oUJvJeq7fUzbn/KdlhA8XPGzwGRy4zcsPWvwnXgfe5tk680fEKZVwOZKIEuJ C3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTTQbM0WUIBIcGmq38+OgUsMYu4NzLu7uZF Acmp6h8g Organization: Baylibre Message-ID: Date: Thu, 8 Nov 2018 15:40:46 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181108130744.32323-1-jbrunet@baylibre.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/11/2018 14:07, Jerome Brunet wrote: > Add the secure monitor device to the axg platform. > With this, we can read the SoC serial number. > > Signed-off-by: Jerome Brunet > --- > arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > index e0139f174726..3cc0044d3468 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > @@ -110,6 +110,10 @@ > }; > }; > > + sm: secure-monitor { > + compatible = "amlogic,meson-gxbb-sm"; > + }; > + > psci { > compatible = "arm,psci-1.0"; > method = "smc"; > Reviewed-by: Neil Armstrong