Received: by 10.223.185.116 with SMTP id b49csp5197592wrg; Tue, 27 Feb 2018 09:16:27 -0800 (PST) X-Google-Smtp-Source: AG47ELve1B8OhkC9SKYIa24venCWdFp6UPh0ilzzlh+XQE35+WPuMJtUqkjVwcb+7q9r2Pa37Zmf X-Received: by 2002:a17:902:4581:: with SMTP id n1-v6mr13310257pld.135.1519751787188; Tue, 27 Feb 2018 09:16:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519751787; cv=none; d=google.com; s=arc-20160816; b=PxAaVrOYlW78EbDm7NfFxAXqI0o2VFcJ1pNjk3k0PvoJFHQh9VMHSx5NudBltJbLRy Fxv+PWIjurf1BzzLh0AwYXutLRUgku3X3w/LqM0B+8ZCZ9Z5kR7M3sS+xmJCY6myLulO dV/88eBEczlO3blNiPQNF26I0XQrpGVbORsi3UVXaJnal8kKPLnUU/KL004Yf8DhpN1D ZipXvvWjs94Ulx5KY/LtuzFLtDQItR6TIIkjGFwSlD3dc+N9sYQBffK4UE64RCpvlUnA yuify61V4YILYxbjgSTOIXbf7wAQizQhI5ILcUjKTNYwgVZKFo0Hy1HOvUziZbOiDlLT gFoA== 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:arc-authentication-results; bh=uauiOP89cDCVR4c4mW5lzkGASIN5XJXDOZ462LWDtBs=; b=DI1Mc6sG+u+JTym2XZEEcbjiY5Vp1J1xhM7I0kr/GaeZqGi0UNxbz+WdScUwZ7LyPO ldY3XV7w1BPMhbZnTfldOkornbuC6T2TqfLvdoLX0xWq+LS92GFE4WISy5TfNL9IPrej iOzIcPYtGFqVYNF/e0OPERrGcX4Vki2uVIRa5SlyNUPFh4SHIVqcSu+mH3kIiIFBgjhZ TKmzMV+ZMspYyQjDD07G6g4o0VXJaYewS1PnyWvemk7Sb0ZB3xIGrtKtoraTW74Tla1R qfMMN+m5o7VSNYetfPJQ8XVEPCgc94qBShK7UfIywW27UfguKEZn9GPwnpwqs+uOOPzJ Y8TQ== 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 w10si7195106pgr.136.2018.02.27.09.16.12; Tue, 27 Feb 2018 09:16:27 -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; 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 S1752077AbeB0ROZ (ORCPT + 99 others); Tue, 27 Feb 2018 12:14:25 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:38904 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751004AbeB0ROY (ORCPT ); Tue, 27 Feb 2018 12:14:24 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id BFDFD1435; Tue, 27 Feb 2018 09:14:23 -0800 (PST) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2244F3F487; Tue, 27 Feb 2018 09:14:21 -0800 (PST) Date: Tue, 27 Feb 2018 17:14:19 +0000 From: Mark Rutland To: Benjamin Gaignard Cc: gregkh@linuxfoundation.org, robh+dt@kernel.org, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Benjamin Gaignard Subject: Re: [PATCH 3/3] ARM: mach-stm32: Add Extended TrustZone Protection driver Message-ID: <20180227171419.3nlz23qzptvew2as@lakrids.cambridge.arm.com> References: <20180227140926.22996-1-benjamin.gaignard@st.com> <20180227140926.22996-4-benjamin.gaignard@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180227140926.22996-4-benjamin.gaignard@st.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 27, 2018 at 03:09:26PM +0100, Benjamin Gaignard wrote: + > +static const u32 stm32mp1_ip_addr[] = { > + 0x5c008000, /* 00 stgenc */ > + 0x54000000, /* 01 bkpsram */ > + 0x5c003000, /* 02 iwdg1 */ > + 0x5c000000, /* 03 usart1 */ > + 0x5c001000, /* 04 spi6 */ > + 0x5c002000, /* 05 i2c4 */ ... This duplicates information that is in the DT, which is unfortunate. Why can these not be marked disabled inthe DT instead? If it's dynamic form boot-to-boot, then the FW can probe this prior to entering Linux, and patch the DT appropriately. Thanks, Mark.