Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1865389ybv; Fri, 14 Feb 2020 07:20:20 -0800 (PST) X-Google-Smtp-Source: APXvYqxNRlvkMISdH74eDnj3wtAsPkwAuXpZQxXyYYvao9Y8OY5Ym0jNS5TS4UfgI13Fb376M/aC X-Received: by 2002:a9d:7652:: with SMTP id o18mr2803845otl.260.1581693620211; Fri, 14 Feb 2020 07:20:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581693620; cv=none; d=google.com; s=arc-20160816; b=LPu5SPMQ6f/xfwSSqaBL2CYKZisAKZ2dnjUGG5+Uhs9HU1mLhreWMRWUHeZahGKce/ znPUXfZeYkSDUEVeh2x+uxVVrZalu+BwZ26fLqVaYHhPMgTWC0JF799wq00+KSA42OUN xovMPEdmzStwmvvCKZpZ27Z2Yx/FkNbCT2qTsyquswVPZgrD0g+dWWMg5MqTRTKF4fpO m85wM2HlakQud23Y4QBF2LvvWqGEU8i2dd23RclOd8oCoM1f50jR27wBRUGpwpOP5QRV EYKDTDZocMm0ZvjQrvv585Ub5+n3p6YksRRMbLIxiaWgaj6qlloHyPo7DdmQ/WE8Pnlf P9pA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:subject:to:from:date :in-reply-to:content-transfer-encoding; bh=14BTMlrU2VEQGIygtENNIWs0Onq+7Droug+0pv/37pU=; b=xxL06LY5XW9RL8FNndWAv1gJSTKSAU5KdZfkLJMpIxUxciqd8Q7XB2FWgH93F/TLH1 2yPHrCar0njFEVgtgxtNlqcWiG5Up7o64qmoVizjB12THNDuxMxkIj1GWbpojqSYHFzJ 89KuVkAEfmoW8Aap/g1OG5d3IWSMjqLest8oNfh7v6AzQXmDWE9DFxV4WoayFjDbJT6L D1o50UhLQbua4piy34H/O762UJW3tb0pLzmZ3xJm/gwSRWd+Gx/z6SO2jGfE/Kh5RcSm q7xcoh69KAkFFd8JtCWt/BgGerd3BSKi2V5MSZxF/3qK90MXFEzeWT2WAb8e7GSuhNTq PDAQ== 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 a25si3110063otr.39.2020.02.14.07.20.07; Fri, 14 Feb 2020 07:20:20 -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 S1729538AbgBNPSh (ORCPT + 99 others); Fri, 14 Feb 2020 10:18:37 -0500 Received: from mx2.suse.de ([195.135.220.15]:54230 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726191AbgBNPSh (ORCPT ); Fri, 14 Feb 2020 10:18:37 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 3CB97AF57; Fri, 14 Feb 2020 15:18:35 +0000 (UTC) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 In-Reply-To: <8bd7a25a-359d-5b30-4c95-004032d78cb6@samsung.com> Date: Fri, 14 Feb 2020 16:14:23 +0100 From: "Nicolas Saenz Julienne" To: "Marek Szyprowski" , "Stefan Wahren" , , , Subject: Re: [PATCH] ARM: bcm2835_defconfig: add minimal support for Raspberry Pi4 Message-Id: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri Feb 14, 2020 at 1:25 PM, Marek Szyprowski wrote: > Hi Stefan, > > On 13.02.2020 10:59, Stefan Wahren wrote: > > On 13.02.20 08:35, Marek Szyprowski wrote: > >> On 12.02.2020 19:31, Nicolas Saenz Julienne wrote: > >>> On Wed, 2020-02-12 at 11:20 +0100, Marek Szyprowski wrote: > >>>> Add drivers for the minimal set of devices needed to boot Raspberry = Pi4 > >>>> board. > >>>> > >>>> Signed-off-by: Marek Szyprowski > >>> Just so you know, the amount of support on the RPi4 you might be able= to get > >>> updating bcm2835_defconfig's config is very limited. Only 1GB of ram = and no > >>> PCIe (so no USBs). > >> Yes, I know. A lots of core features is missing: SMP, HIGHMEM, LPAE, P= CI > >> and so on, but having a possibility to boot RPi4 with this defconfig > >> increases the test coverage. > > in case you want to increase test coverage, we better enable all > > Raspberry Pi 4 relevant hardware parts (hwrng, thermal, PCI ...). This > > is what we did for older Pi boards. > > Okay, I will add thermal in v2. HWRNG is already selected as module. > Enabling PCI without LPAE makes no sense as the driver won't be able to > initialize properly. Agree on this. > > SMP, HIGHMEM, LPAE are different and shouldn't be enabled in > > bcm2835_defconfig from my PoV. > > Maybe it would make sense to also add bcm2711_defconfig or > bcm2835_lpae_defconfig? IMO bcm2711_defconfig if the last resort solution. I don't think you can do bcm2835_lpae_defconfig as RPi and RPi2 SoCs don't support LPAE. An intemediate solution is being discussed here: https://lkml.org/lkml/2020/1/10/694 Regards, Nicolas