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 1F77BC54EBC for ; Wed, 11 Jan 2023 02:18:58 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3EC68856B0; Wed, 11 Jan 2023 03:17:34 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="nNHf6dEP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 74B5F85546; Wed, 11 Jan 2023 03:17:32 +0100 (CET) Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2A91B856D2 for ; Wed, 11 Jan 2023 03:17:29 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x833.google.com with SMTP id v14so12698420qtq.3 for ; Tue, 10 Jan 2023 18:17:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=1H12eTZSe4/pmsrPKNBvA5dqzF9cPkJA3VU5WeKn9rQ=; b=nNHf6dEPUA/2HbyyYnsvdSoR4JqaQh7l0LsjSh+pnG+MmuTahySCK+L4OK/D5b4td1 Ub7KrNR7xHbUIULRhWiC3Y5RAyJiTcFwVqzchBNOOJwRxHs3xVCAl0mfhhEY3BIpUQ8M hcHLi1DFNlEI94QRtp8rF9fjDnx++AGmEF5tk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=1H12eTZSe4/pmsrPKNBvA5dqzF9cPkJA3VU5WeKn9rQ=; b=PilqacGLTrOoO07nhVcbrHN7GvMt8uqIdNgaCQb94O01Hg60keYXkL6+8/RV/8REFT vKaJsTZd2nYArdNHftUIYB1ZQzjZqopTi3oIfX/JcUds9gMPhtnJ2bYR7RvXK9SUGPks VH8Db0Tcp/IP/ZQA78tuIykKuuEMi1AM8L9Ye+5FpaoiuOJ6PdofD/HUn5qr579ijlly myQkALvLgpEdAKjin90kdnghQLzhf2m92xD3eVabQA5Gbq3mS/ol2tuM2a4BmKTYxXEE A4hgghirFxD1KvZQiSFfcmBgDSM8C/vI6z9/5Rt9OuEkBz/CdeIPD9b9eJABLv0ostT9 jDEw== X-Gm-Message-State: AFqh2kpoIf4YkL+ko8frpTYA174mK1IfE1qzB5hoyghx+Iua7dBzL+Y4 egKWKHyM5uJlR/yO1UrQ3dNAxQ== X-Google-Smtp-Source: AMrXdXsAMWvqvWU+b1l+56put5CYgrXM7q7ersDOfzFrBNgpnHwTMhgl3usE5pktPEKOm2fDLDmc8Q== X-Received: by 2002:ac8:6ec4:0:b0:3a8:1fde:a394 with SMTP id f4-20020ac86ec4000000b003a81fdea394mr95612793qtv.59.1673403448787; Tue, 10 Jan 2023 18:17:28 -0800 (PST) Received: from bill-the-cat (2603-6081-7b00-6400-2c2f-ce0f-8dee-7136.res6.spectrum.com. [2603:6081:7b00:6400:2c2f:ce0f:8dee:7136]) by smtp.gmail.com with ESMTPSA id w6-20020a05620a424600b00705be892191sm3796266qko.56.2023.01.10.18.17.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Jan 2023 18:17:28 -0800 (PST) Date: Tue, 10 Jan 2023 21:17:26 -0500 From: Tom Rini To: Dzmitry Sankouski Cc: u-boot@lists.denx.de, Ramon Fried Subject: Re: [PATCH] SoC: sdm845: find and save KASLR to env variables Message-ID: <20230111021726.GG3787616@bill-the-cat> References: <20221227194709.152634-1-dsankouski@gmail.com> <20221227194709.152634-2-dsankouski@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nfhZ6HyQ0y6ikmts" Content-Disposition: inline In-Reply-To: <20221227194709.152634-2-dsankouski@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett 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.6 at phobos.denx.de X-Virus-Status: Clean --nfhZ6HyQ0y6ikmts Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 27, 2022 at 10:47:09PM +0300, Dzmitry Sankouski wrote: > KASLR address is needed to boot fully functional Android. > KASLR is set by primary bootloader, and since u-boot is used > as a secondary bootloader(replacing kernel) on sdm845 platform, > KASLR may be found by comparing memory chunks at relocaddr over > supposed KASLR range. >=20 > Signed-off-by: Dzmitry Sankouski > Reviewed-by: Ramon Fried Applied to u-boot/master, thanks! --=20 Tom --nfhZ6HyQ0y6ikmts Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmO+HDYACgkQFHw5/5Y0 tyxwWwv+LckaGURbGfv8QuZSudAGLUvSFW+3L9rUBC1/CRsscwta/einIrmbA8A/ qr/THkmxk0IfV77F2baTewEPr9pZ098ioI0Lo3cusBSxlXV9rL/SZRwbJw0SlZdC abQb79H2d1Bt1nZx6/AEp7/BRI6s8yUPVjPuXNKE3vSJyv47d6wLruzNeQfHRAIk 5Og453genYc71Y4SgHq4ByUCf0YWhzDxAFIfWb0SyHl7mzSUt8CujOD4JihqyLkb U0ZCqxvP164otaOaeO+PcRvH7CLZo5QW8QSTX0TizjqgzCGxxvp5UeTUmPW4lvrC h7YYFLFi4sKqFpCrfVVicwF5/VOGG+QD0U4YVtxHsLLrInwmQy797AedfESUKGXS RNuTbB5/A2Auz/GBTcsHP9+gOPShRUCrVGe3u+PRnRLKYoD8m1RtGe8Glg9MnkVJ H5EPcAk9jQuVUwmj7LLxENvOTdysl2RGQ3z4ztDNG482EXNyfznkbm8rZ+2I6+z7 i3dQ/Hwp =0aAc -----END PGP SIGNATURE----- --nfhZ6HyQ0y6ikmts--