From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 684ABC6FD19 for ; Mon, 13 Mar 2023 14:31:55 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 357B385B75; Mon, 13 Mar 2023 15:31:41 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=xs4all.nl Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; secure) header.d=xs4all.nl header.i=@xs4all.nl header.b="QGjH0406"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1ED9B80AE6; Mon, 13 Mar 2023 15:31:36 +0100 (CET) Received: from ewsoutbound.kpnmail.nl (ewsoutbound.kpnmail.nl [195.121.94.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 69139851C7 for ; Mon, 13 Mar 2023 15:31:33 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=xs4all.nl Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=mark.kettenis@xs4all.nl X-KPN-MessageId: bb2e4018-c1ab-11ed-b08d-005056992ed3 Received: from smtp.kpnmail.nl (unknown [10.31.155.8]) by ewsoutbound.so.kpn.org (Halon) with ESMTPS id bb2e4018-c1ab-11ed-b08d-005056992ed3; Mon, 13 Mar 2023 15:31:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=xs4all01; h=subject:to:from:message-id:date; bh=qEHUnvFLJHJyXN6gkhjiFBDwBDIeAAAExHvNVV7U8dw=; b=QGjH0406yTLuzBLD15u/zT2pDCzLcL+jrYseY0akMiSI2qbVT3o8uEinlGkUlqPxTdjVQZ1N3afwJ hfL9Y8vpLdMDjjRUF+DZFwrSK35TMIoPVMax7Eif0knGHmSvPcpiZDnh205vJdLEbWv1wfm/dumr9j aerfPcGllsG9ONxLLG/LGgAU9nCgwlbnQ/UnoLPfiuBvbPIUqp5KjdTEIaJz73HuoOyV9sjaZB8IZI Jh92AVy9/0Fh1zEkJLtQTowpGR3+8u1jZREMrqnb7Jl0zJ7zdHBdpSZOzTdiMWYG/oiQRoy5lcpf1N XS6lvWprgEmYhJ6isy8afBuLORF3jeA== X-KPN-MID: 33|MgTz8U5HGWN35gNn8xcUvlVtfuACbXcUa4/6pbZoc3sjJn/YfGeL9fBPCtFOY6w DfEqYGjQmWMthpvs29JJ1ATv++QEEZV9MgLwqFIE6IKY= X-KPN-VerifiedSender: Yes X-CMASSUN: 33|G+TFmxbmVF1C7tJ5BqoFA9oqhO97d9EJYl9EOj6liFycdDntp9xm55diZ7J9GCz oTLWz8TOzYHc1ypuk4HjTtQ== X-Originating-IP: 80.61.163.207 Received: from bloch.sibelius.xs4all.nl (80-61-163-207.fixed.kpn.net [80.61.163.207]) by smtp.xs4all.nl (Halon) with ESMTPSA id bfdd618b-c1ab-11ed-9d31-00505699d6e5; Mon, 13 Mar 2023 15:31:32 +0100 (CET) Date: Mon, 13 Mar 2023 15:31:32 +0100 Message-Id: <87v8j4bu4b.fsf@bloch.sibelius.xs4all.nl> From: Mark Kettenis To: Janne Grunau Cc: u-boot@lists.denx.de, j@jannau.net In-Reply-To: <20230313-apple_m1_defconfig_lmb_max_regions-v1-1-d2eac7bcfd20@jannau.net> (message from Janne Grunau on Mon, 13 Mar 2023 14:54:32 +0100) Subject: Re: [PATCH] apple_m1_defconfig: Bump CONFIG_LMB_MAX_REGIONS to 64 References: <20230313-apple_m1_defconfig_lmb_max_regions-v1-1-d2eac7bcfd20@jannau.net> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean > From: Janne Grunau > Date: Mon, 13 Mar 2023 14:54:32 +0100 > > Apple silicon SoCs have numerous embedded co-processors with pre-loaded > firmware. The co-processors text and data sections need to be mapped via > DART iommus controlled by the main processor. Those sections are > exported as reserved-memory. Bump CONFIG_LMB_MAX_REGIONS from 8 to 64 to > deal with the large amount of reserved-memory regions. We recently bumped the default for CONFIG_LMB_MAX_REGIONS from 8 to 16, but 64 would be a safer value for this platform as there are more co-processor drivers in the pipeline that may add reserved-memory regions. These machines have plenty of memory. > Signed-off-by: Janne Grunau Reviewed-by: Mark Kettenis > --- > configs/apple_m1_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configs/apple_m1_defconfig b/configs/apple_m1_defconfig > index b4ecf73cbc78..755560971e57 100644 > --- a/configs/apple_m1_defconfig > +++ b/configs/apple_m1_defconfig > @@ -21,3 +21,4 @@ CONFIG_SYS_WHITE_ON_BLACK=y > CONFIG_NO_FB_CLEAR=y > CONFIG_VIDEO_SIMPLE=y > # CONFIG_GENERATE_SMBIOS_TABLE is not set > +CONFIG_LMB_MAX_REGIONS=64 > > --- > base-commit: 6c1cdf158c4f3ccc8c5f9552f049a3386899dcd2 > change-id: 20230313-apple_m1_defconfig_lmb_max_regions-a18f5612d3c3 > > Best regards, > -- > Janne Grunau > >