Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2173868pxb; Fri, 5 Mar 2021 08:54:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJye0bG8Bqwr3UmB2veMlVwkcBkD5q9Zg8rUEUTqwUO73VTkDwnnOktIzgbRaN8yaVCv+yzt X-Received: by 2002:a17:906:3c50:: with SMTP id i16mr3071602ejg.175.1614963273418; Fri, 05 Mar 2021 08:54:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614963273; cv=none; d=google.com; s=arc-20160816; b=QjWV1xIeMkxPbu25EVZaj1EK9OqWmiufIMYoYv9e1g3vPOgF6H49Py3c09bVpZ87ry vHHEa7+lSqJVOGc4sY87EdqH5wdEhOhaJSrmL1uu5CJjzOyo0LpCnb9uc76nsiAcZM4n 0U1WpwJfu5wrkkZ+CBtqfWti5zKDB8MAFqsR6zjcrhMz9ogDP79wt7L+s+A9o0nEN0KU nVCgNj4dAYMSXCk1bwa+7wu9ntIIRb+HG/BgxuddFGSdhjnLBps66W/Pd+shLdhi52wJ NTS0G+kCUUqQvdTeoIncqegSUhdmwzRSTnVw4J9PgCtsrBiJHBQsNNLvIqZRRUx8YX5I oUFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=WgX+Gbq4Czo9MuIZHRmYljpmKLolEYoRqnaRJyHKes0=; b=Sg2GszzGLIABtmkcfdVor1WhrnSjRT+RPbPKcszPbpxEsAS67hvVSM/LUoWU7PCKiS wdQRRWKlpGc7msLzrrSYooIhJiWRt/igXIozkmQtrADIIpp2uhbYYY+iUVYCY4iZiLiM 0G9uz46/L3SnbXBANOAsKYvdDJwVJwJj4W9UvuMzuwOB8TAByZybwYeun196+oDFPlJc k4OpppYowJ5M8y4FrVtU9yrQHBya8gAHq6rXySZOUV5s2cQAEOA3iMo2/sVa/ydQbJxk s9274vq4w4uWtNWNHD6VA8efBxTRDLUD4NW4bgER0o7LF0qv+f9rVb4rOH02+ERaj4dI QL0w== 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=QUARANTINE dis=NONE) header.from=marcan.st Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b22si1751239ejc.15.2021.03.05.08.54.10; Fri, 05 Mar 2021 08:54:33 -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=QUARANTINE dis=NONE) header.from=marcan.st Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231272AbhCEQvE (ORCPT + 99 others); Fri, 5 Mar 2021 11:51:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230387AbhCEQuc (ORCPT ); Fri, 5 Mar 2021 11:50:32 -0500 Received: from mail.marcansoft.com (marcansoft.com [IPv6:2a01:298:fe:f::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63224C061574; Fri, 5 Mar 2021 08:50:30 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: marcan@marcan.st) by mail.marcansoft.com (Postfix) with ESMTPSA id 5A63A42037; Fri, 5 Mar 2021 16:50:22 +0000 (UTC) Subject: Re: [RFT PATCH v3 27/27] arm64: apple: Add initial Apple Mac mini (M1, 2020) devicetree To: Mark Kettenis Cc: krzysztof.kozlowski@canonical.com, linux-arm-kernel@lists.infradead.org, maz@kernel.org, robh@kernel.org, arnd@kernel.org, olof@lixom.net, tony@atomide.com, mohamed.mediouni@caramail.com, stan@corellium.com, graf@amazon.com, will@kernel.org, linus.walleij@linaro.org, mark.rutland@arm.com, andy.shevchenko@gmail.com, gregkh@linuxfoundation.org, corbet@lwn.net, catalin.marinas@arm.com, hch@infradead.org, davem@davemloft.net, devicetree@vger.kernel.org, linux-serial@vger.kernel.org, linux-doc@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210304213902.83903-1-marcan@marcan.st> <20210304213902.83903-28-marcan@marcan.st> <2a4c461a-51d1-60b7-b698-edb3c0bfb243@marcan.st> From: Hector Martin Message-ID: Date: Sat, 6 Mar 2021 01:50:20 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: es-ES Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/03/2021 00.59, Mark Kettenis wrote: > It may be better to handle the memory reserved by the firmware using a > "/reserved-memory" node. I think the benefit of that could be that it > communicates the entire range of physical memory to the kernel, which > means it could use large mappings in the page tables. Unless the > "/reserved-memory" node defines a region that has the "no-map" > property of course. We actually need no-map, because otherwise the CPU could speculate its way into these carveouts (it's not just firmware, there's stuff in here the CPU really can't be allowed to touch, e.g. the SEP carveout). It also breaks simplefb mapping the framebuffer. I thought of the reserved-memory approach, but then figured it wouldn't buy us anything for this reason. -- Hector Martin (marcan@marcan.st) Public Key: https://mrcn.st/pub