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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 064EEC433F5 for ; Tue, 3 May 2022 14:05:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3ED8410EA5A; Tue, 3 May 2022 14:05:05 +0000 (UTC) Received: from mail-oi1-x22b.google.com (mail-oi1-x22b.google.com [IPv6:2607:f8b0:4864:20::22b]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0FAAC10EA5A for ; Tue, 3 May 2022 14:05:04 +0000 (UTC) Received: by mail-oi1-x22b.google.com with SMTP id y63so18269178oia.7 for ; Tue, 03 May 2022 07:05:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=b5zcWYUFPO27QgFEnMVs+54HuZPkQ0FL3sPCUBagWEs=; b=nmtAO8elN+lD21aNW4PeFwV5qviuq6Y4sVLZWcQC9zZn6UqsLXYF5ciWRgl0+lA1Wo Q3rLe4Fskzg95B7RE9bBDzCWYoXQcNXwViucb5QcW8FGpQqDvUf5YZDsdBhza6rYepvt JfGvKjbu2S1tIWfgmVuDBkIJnidthNgLCkvix0KKZ/uKOs1c5s5gsxh2uVagQLRY6nw/ ziKH7/MVdkOxup3VPlggEPris50qLUCDUg9E33r7OhDbS5bq0RNLc5yT2Ouqb/LH4LOT N/oRmt4dIHZssgokdRevfTbu/juuu2xeyRBaFEeQbqQW6cVYD7R5t3xz7Vo6hhn100CX OKdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :subject:content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=b5zcWYUFPO27QgFEnMVs+54HuZPkQ0FL3sPCUBagWEs=; b=rb+sNYcclKvSACo+rVgoL+3+TL6Zo+0CwFmndsDm/6pPZhOpsYATD/FMF3NHW+gx+r m14Dkhzhvl3xI7TYhG96njIj90jp5G88DEZPs8zkGiuLt8tOUpbQPb7uCNod39qhMPMv X4VWwjjue0J/8z2PIJ9EUfP9iPCwrs65vPgz/XjlG6ntOMs2X86djOsxuVtU91ysgOgT z5Gp/kq4afQvkGMv/b0OgeKo4S94tiO8/KXUIZ3H7vTScRixUkPmV4TF6S4t0sd5xikO rozwDM7aFmRZjC4kFaEWFeNKt4tsH8XYVQfz17Gd4O4IUXwFQ6KIjmnF+NV2/Uk0a4f3 ho4A== X-Gm-Message-State: AOAM5312bbCsATatJUvvu4qWhcVBFTizplO4qtpgHjm19lhMLFqKHLgW dIZZkm/58o6OpG3p9qdK0q0= X-Google-Smtp-Source: ABdhPJzzGJEdAdih1u7jF2kiLOrOxmCv3lvE9XNEtKe9LYoSPKte95Aq4ECL/l2Oq3F4Q7XGCpzu3g== X-Received: by 2002:a05:6808:2007:b0:325:7c10:475e with SMTP id q7-20020a056808200700b003257c10475emr1861677oiw.250.1651586703247; Tue, 03 May 2022 07:05:03 -0700 (PDT) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id k6-20020a056830168600b0060603221249sm4013581otr.25.2022.05.03.07.04.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 May 2022 07:05:00 -0700 (PDT) Message-ID: Date: Tue, 3 May 2022 07:04:56 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH v2 00/48] ARM: PXA multiplatform support Content-Language: en-US To: Arnd Bergmann References: <20220419163810.2118169-1-arnd@kernel.org> <6f1b27fa-96d1-4be7-ac6a-762610314f2a@roeck-us.net> <8d6d453a-e6fc-439b-2f34-e60c22fc9e98@roeck-us.net> <149509dd-f43d-1b27-4395-81eab4ff3455@roeck-us.net> <4dcdbfe2-9edf-320b-d123-3b62c8b5e28e@roeck-us.net> <04840b4f-5b9d-b29a-62f7-e5148d415313@roeck-us.net> From: Guenter Roeck In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ulf Hansson , USB list , "Rafael J. Wysocki" , Viresh Kumar , Linux Fbdev development list , Dominik Brodowski , "open list:BROADCOM NVRAM DRIVER" , IDE-ML , linux-mtd , Robert Jarzmik , linux-clk , linux-leds@vger.kernel.org, linux-rtc@vger.kernel.org, Helge Deller , Marek Vasut , Paul Parsons , Sergey Lapin , ALSA Development Mailing List , Linux PM list , "open list:HID CORE LAYER" , Haojian Zhuang , Lubomir Rintel , Mark Brown , dri-devel , Linux ARM , Thomas Bogendoerfer , Stephen Boyd , patches@opensource.cirrus.com, Dmitry Torokhov , linux-mmc , Linux Kernel Mailing List , Michael Turquette , Daniel Mack Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 5/3/22 00:17, Arnd Bergmann wrote: > On Tue, May 3, 2022 at 4:55 AM Guenter Roeck wrote: >> On 5/2/22 14:03, Arnd Bergmann wrote: >>> On Mon, May 2, 2022 at 10:35 PM Guenter Roeck wrote: >>>> On 5/2/22 12:21, Arnd Bergmann wrote: >> >> qemu puts initrd in the middle of available memory. With the image size >> being ~1MB larger than with v5.18-rc, this is too much, and the kernel >> overwrites part of initrd. This causes it to be corrupted. >> >> It looks like that would have happened eventually, your patch series just >> made it happen now. The kernel is just getting too large to run on such small >> systems. I worked around the problem in my version of qemu by loading initrd >> at the end of the (small) RAM. With that, I no longer see the boot failure. > > Ok, thanks for confirming. If it's just the image size that changed, > then I think > we can live with it. Having the kernel image grow by 1MB seems excessive > though, I'd like to understand better where that increase comes from. > > Starting out from pxa_defconfig, I see a 40KB increase from the final patch > that moves to multiplatform support, which I think is fine. > > If you have a z2 specific config, that would probably not enable CONFIG_OF, > which is always turned on for multiplatform, but again that only adds around > 250KB in my builds (using gcc-11). This is more than I'd like it to be, but > still much less than 1MB. > Maybe it is a bit less; I only compared the size of "Image". Either case, it is enough to cause the problem. I am not sure if it is worth the time trying to track this down further. Guenter