From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2837F606A32C for ; Mon, 23 Nov 2026 11:59:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=JW7u/MTp; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=E+SC12mi DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:References:To: From:Subject:Cc:Message-Id:Date:Content-Type:Content-Transfer-Encoding: Mime-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Unsubscribe-Post: List-Owner; bh=1jrfyM8AKRsXsQr/mDzcRHfpMeGCqxxnp8QiMrGkGyA=; b=JW7u/MTpW2tN2/ G+PvyLqWylmyx7VYPTh+h+UzAdDcEHoKwPlIxOmZKzzIRJugxoOfcg18nRsNemsOI8LZlLDFPZPa1 db7sFH0+nGs7wLWehaIg0wNTDVBiSf3eczasAVqKgoessIOvt+kZfvAfMU1wtmDEjzT26b5qDDJU+ pr5gFmq61Gy9Mg6SjdvS7p9WUwwOgmQ5jslGJRSDIZpV5CQxJ67pfq/5XVEMqsNnrRfC+yJaeWGK9 t5m5El3oyGx+88r5Rkxozzl7rO1zvDQ9s7y1PUs2z+LTPN3CTpXFvWJZaGo99xrvw4U68Er+Romto 46qXEIg/c1Uju4zFwwlA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xVShe-00000003GCc-0jy3; Mon, 23 Nov 2026 11:59:22 +0000 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xVShb-00000003GBP-2AhI for linux-arm-kernel@lists.infradead.org; Mon, 23 Nov 2026 11:59:20 +0000 Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-c506a231b88so439753266b.3 for ; Mon, 23 Nov 2026 03:59:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795435157; x=1796039957; darn=lists.infradead.org; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-type:content-transfer-encoding:mime-version:from:to:cc :subject:date:message-id:reply-to:content-type; bh=1jrfyM8AKRsXsQr/mDzcRHfpMeGCqxxnp8QiMrGkGyA=; b=E+SC12mifgLLxpWaAho6n9AlQnnzNaOr3eLRAjNi8O/uBGDONqvjreHUIVemII6zt1 IbTHGObqrJ/AcKN0Wd9iLuNPyc4wUMwdkxjC2i65TaVcao1U8hanG7EI0UmPtN80nrRq 5t3ou277FsdXmcg61C543ZN0tkinonoNlIAx33reeKR+MOwrCLux3sSDNxY2QFz+s8B0 dEQvhwPDqi0EN+su+hwn004hjtbKI9KOoMHL0TxhFIx0xx4IIPkw5eZIES47iWgxpKK9 RBf8+mpPiH74e/lahG71gA6m7vYqwztiqESk4ZrOGsMr7YDYVFBZgoajeb1yJD5QU0v8 vRrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795435157; x=1796039957; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-type:content-transfer-encoding:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=1jrfyM8AKRsXsQr/mDzcRHfpMeGCqxxnp8QiM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Iwj0X2ZEqB9zSJQpzTUs6rbvMtI+oAV2VQJ9DSeV6kI+gM9rYLwK7 4Yn6bcVvm7rDrX4k2Rqn0wIiy/MMdVf6L+jo55sxVg6J9UGySWIFfohw6keFgXVS82vmqddRDZG vtO/us3+o5LVBQBOIyxiigTTE399EIJWDtu8NhhM0acD74IThxxhrqPI X-Received: by 2002:a17:907:9306:b0:c3e:e677:5608 with SMTP id a640c23a62f3a-c513a5da8d0mr870341966b.12.1795435157410; Mon, 23 Nov 2026 03:59:17 -0800 (PST) Received: from localhost ([50.7.123.82]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c513ae68a9asm395946466b.30.2026.11.23.03.59.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 23 Nov 2026 03:59:17 -0800 (PST) X-Archived-By: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 23 Nov 2026 14:59:13 +0300 Message-Id: Cc: "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Matthias Brugger" , "AngeloGioacchino Del Regno" , "Sean Wang" , "Greg Kroah-Hartman" , "Jiri Slaby" , "Daniel Lezcano" , "Thomas Gleixner" , "Mattijs Korpershoek" , "Dmitry Torokhov" , "Kees Cook" , "Tony Luck" , "Guilherme G. Piccoli" , , , , , , , , "Krzysztof Kozlowski" , "Conor Dooley" Subject: Re: [PATCH v3 0/7] arm64: mediatek: Add initial MT6895 and Xiaomi Poco X4 GT support From: "Alexander Letuchiy" To: "Roman Vivchar" , "Alexander Letuchiy" X-Mailer: aerc 0.22.0-0-gc2f86b7abde3 References: <20261123-initial-mt6895-v3-0-95c46597e63d@gmail.com> In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261123_035919_573767_C869C366 X-CRM114-Status: GOOD ( 17.97 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-2.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Hi Roman, On Mon Nov 23, 2026 at 2:41 PM MSK, Roman Vivchar wrote: > > Bootloader dependency > > --------------------- > > This was tested with a modified LK bootloader that is not public. >=20 > How are other xaga users supposed to boot the kernel? You might want to > port uniLoader instead, or if you're on an old enough security patch you > can even replace stock LK with U-Boot. U-Boot chainloading is also > possible. Right now I am replacing the stock LK with a modified one that knows how to handle mainline DTs without expecting downstream Android nodes. In an ideal world, I would like to replace LK directly with U-Boot as you suggested, though U-Boot chainloading or uniLoader are also valid options. Luckily, the security patch level isn't really a concern here =E2= =80=94 xaga is already EOL and hasn't received official firmware updates for a while, so LK replacement works across the final stock builds. I definitely plan to look into a proper open bootloader setup for other users in the future. > > Firmware behaviour > > ------------------ > > Two things in the stock TF-A affect what the DT describes, but not the > > DT itself: > >=20 > > - TF-A rejects CPU_SUSPEND for about the first 40 seconds after boot. > > The vendor kernel lifts this earlier with a SiP call, so with this > > series the idle states only start to be used after that time. >=20 > It might be worth porting upstream TF-A too. Agreed, upstreaming TF-A support for MT6895 is also something I plan to look into eventually, which would let us drop the reliance on the stock TF-A quirks altogether. Best regards, Alexander