From owner-freebsd-arm@freebsd.org Mon Mar 16 02:03:26 2020 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 35CDE27EA1D for ; Mon, 16 Mar 2020 02:03:26 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48gfjB0Shhz4N4m; Mon, 16 Mar 2020 02:03:26 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id EE763E630; Mon, 16 Mar 2020 02:03:25 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qt1-f173.google.com with SMTP id t13so12858183qtn.13; Sun, 15 Mar 2020 19:03:25 -0700 (PDT) X-Gm-Message-State: ANhLgQ2B2BS72Xe8hMnUrsxWSww0rG8yUEvbbC9a8Vt7cZBg7YSnNHFO yT9GPHCLsjQVMb1shczFwf2Wc1hac37KhpP1CAU= X-Google-Smtp-Source: ADFU+vtERgd2/Jhl8Cwte6r4I3DId7DhUFhuYvD1pDoF18I+NvXbgRxVDCUZGmfvmUb6tGRHXJ27iBWzYo0JPk2VOUo= X-Received: by 2002:ac8:12c8:: with SMTP id b8mr22746352qtj.60.1584324205572; Sun, 15 Mar 2020 19:03:25 -0700 (PDT) MIME-Version: 1.0 References: <20200315041203.GA55605@www.zefox.net> <90DE70B3-F3A5-4EFE-832C-7C412744D974@yahoo.com> In-Reply-To: <90DE70B3-F3A5-4EFE-832C-7C412744D974@yahoo.com> From: Kyle Evans Date: Sun, 15 Mar 2020 21:03:14 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Panic on Rpi3 at r358976 To: Mark Millard Cc: Kyle Evans , bob prohaska , "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2020 02:03:26 -0000 On Sun, Mar 15, 2020 at 8:54 PM Mark Millard wrote: >> On 2020-Mar-15, at 17:33, Kyle Evans wrote: > > > On Sat, Mar 14, 2020 at 11:12 PM bob prohaska wrote: > >> > >> Tried to boot a kernel built from r358976 on a Pi3 and got a panic: > >> > >> [... snip ...] > > > > Hi, > > > > I've got a patch against sysutils/u-boot-rpi{3,4} based on what I've > > submitted upstream that I'm test-building again and will soon be > > submitting to Phabricator; please give it a shot and confirm if it > > makes life happier or not: > > https://people.freebsd.org/~kevans/rpi-psci.diff > > I grep'd in the area that holds where I did the > investigative patch that enabled the RPi4 to boot > and such without the armstub8-gic.bin memory being > slamed. (I've not done any clean-out of the materials > in that area.) > > The result is not suggestive of CONFIG_RPI_EFI_NR_SPIN_PAGES > making a difference: > > [... snip ...] Indeed; note these lines in my patch: PATCHFILES+= 1245351/raw 1245352/raw These pull in the patches I submitted upstream that introduces CONFIG_RPI_EFI_NR_SPIN_PAGES so that they don't have to accept an arbitrary bump of the reserved page count, since it's just our PSCI stub that's larger. Thanks, Kyle Evans