Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3605453pxu; Tue, 15 Dec 2020 10:48:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJyoqUCEwmSFo1rqkqCcdPZACOS5URYJpjDcYGQuhoaTPReXgEFCB0hhtkTUln9iVmJ5aqqN X-Received: by 2002:a05:6402:308b:: with SMTP id de11mr30289036edb.205.1608058137128; Tue, 15 Dec 2020 10:48:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608058137; cv=none; d=google.com; s=arc-20160816; b=crWTQlhrCSDl13/neE4uNmgVY8ttlqOY2ZH1vlWwfHiUuWMTOPugvK/tsJ+BG/yQy2 EMZqyWpYFIY4h1zdVwX65HWccwhSApEHpEMA/inP2OW3cQEE4Iu6FAUAdhvhlwkRWCsM tnTvePrVL4gDXqiUhWaJ0sqkAL2nCva8G0xrgGxMG0CBCiIxcJRsN5zAMec/cy2vRQlF 9yeB44shfOuPCxgYx3Z2OuMA7BR7djkPeDb52cdCNXZIgJfn8AiyK/Pr3EAn3ExIWChe zzb7hswW8yTOPPmLDdFf8laDkXLfEDLasUE5B6OO7TURAwHbyb0LtjGlTGfcS2jNeZqR DA6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=4t1mwftAiGXPSq+vIR5uk0q6tHJT6gh6oRrdxOFLZN4=; b=OdaYBd6mkl4JodeNfasEEbFClV7O4U6ahTWEbpFiV/V+wm9qFbQhlkKMJmB3ehnAE5 4tJDAsMBFHkA6v35xokP84MpAnvq5ktSLzpEsjXDtNOATDqAdYUCOp3HQB727plAodsr RxjJYy01kQfsDp+b7PJY7e/cP9nDAu4xJkjnFz9+71gog821zZe6eeKt+JtoghmcQJm/ scGjCLMk3YIQzE7/i8wKPmxR+u5J2NYrenffqZ7i/ULZ2C+uj+7uHD5qdOJhlzHmsNwf V3xZ2PaenbTz5D//jWHGWIg1MNRoF91dLVJKvn5g8+Xnd8agpnlQrNDu8G+Qt4Qt0foJ Cnmw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e14si1374081ejr.169.2020.12.15.10.48.33; Tue, 15 Dec 2020 10:48:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731613AbgLOSpY (ORCPT + 99 others); Tue, 15 Dec 2020 13:45:24 -0500 Received: from mail.kernel.org ([198.145.29.99]:49192 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731267AbgLOSo5 (ORCPT ); Tue, 15 Dec 2020 13:44:57 -0500 Date: Tue, 15 Dec 2020 18:44:07 +0000 From: Catalin Marinas To: Nicolas Saenz Julienne Cc: srinivas.kandagatla@linaro.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux@armlinux.org.uk, will@kernel.org, robh+dt@kernel.org, tim.gover@raspberrypi.com, phil@raspberrypi.com Subject: Re: [PATCH 0/6] Expose RPi4'd bootloader configuration Message-ID: <20201215184407.GA44849@C02TF0J2HF1T.local> References: <20201215155627.2513-1-nsaenzjulienne@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201215155627.2513-1-nsaenzjulienne@suse.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 15, 2020 at 04:56:20PM +0100, Nicolas Saenz Julienne wrote: > Soon to be released versions of RPi4's firmware will take of care > passing their bootloader's configuration to the OS by copying it into > memory and creating a reserved memory node in the board's DT. In order > to make use of this information, this series introduces a new generic > nvmem driver that maps reserved-memory nodes into nvmem devices. > > An alternative approach, less nice IMO, would be to create a > platform-specific 'soc' driver. What kind of information is this and how would the kernel use it? -- Catalin