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 X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E59A6C433F5 for ; Tue, 7 Sep 2021 15:09:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C709E61100 for ; Tue, 7 Sep 2021 15:09:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344926AbhIGPLF (ORCPT ); Tue, 7 Sep 2021 11:11:05 -0400 Received: from mail-vs1-f46.google.com ([209.85.217.46]:46055 "EHLO mail-vs1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231362AbhIGPLD (ORCPT ); Tue, 7 Sep 2021 11:11:03 -0400 Received: by mail-vs1-f46.google.com with SMTP id a21so8570155vsp.12 for ; Tue, 07 Sep 2021 08:09:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=d8l0cUSrwFCbO6kHbGt2o6pLB11QVwahthUcMbDbq4I=; b=RkKQ1PyiiNUc+5z6+XnLsd+YVPVb0wIVmUEf1BcdRXNi05NQJH3+XPVJxlfsn0cyNs twaH/OgbDzm+/M9wNqt8X8TQelWx5c/gxc3dfo8ruYFMJrJrnV1HaI+Q7IKbCWcpocZT 67oOU+PGhHN1xQIFjrSnPgqUwxPDxJz1aY5ePAT3Df0uaAOJbc8jdr6NFYQ1lG3p/+9d VzOncBrR/s93jaaWYaxbwG3FmNvwB0/DySfcmZJGOlVHaRTIu+Afx9Nu3KF/6mEGjIUl aHxAqvspu8s1KjT92EWKO/vijlxO3gcrWXstqSyPj0W2O1UTGVnIZPwlfP4ckg7IQ0Qh CRdA== X-Gm-Message-State: AOAM531tnmXlrmAFucXRtLPzrkB52K5vvWQGI79d1JAukngURGOFDtNj ImbV+CHoDpPHhRuqdq6QoyZk+THNv2s6vi+jG2lEpnlV X-Google-Smtp-Source: ABdhPJxvEzqt8kM3rANpKJzkjwv6wnV92niqg5dnrdpXihwyC38Sp859mU3XV3hIOfcoL/HA7jerEoZML3s7+lWv4Sk= X-Received: by 2002:a67:cb0a:: with SMTP id b10mr9715503vsl.9.1631027397108; Tue, 07 Sep 2021 08:09:57 -0700 (PDT) MIME-Version: 1.0 References: <20210907145652.63362-1-bert@biot.com> In-Reply-To: <20210907145652.63362-1-bert@biot.com> From: Geert Uytterhoeven Date: Tue, 7 Sep 2021 17:09:46 +0200 Message-ID: Subject: Re: [PATCH v2] ARM: decompress: Use /memreserve/ DTS nodes when validating memory To: Bert Vermeulen Cc: Russell King , Nicolas Pitre , Ard Biesheuvel , Linux ARM , Linux Kernel Mailing List , John Crispin Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 7, 2021 at 4:57 PM Bert Vermeulen wrote: > If the bootloader needs the start of memory to be preserved, for example > because it dropped the Trusted Firmware blob there, this chunk of memory > shouldn't be used by the kernel. > > To avoid adding yet another SoC-specific text offset to arch/arm/Makefile, > this patch allows for a /memreserve/ entry in the DTS to mark off the > memory chunk instead. > > Signed-off-by: Bert Vermeulen Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds