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 916F4606A327 for ; Mon, 23 Nov 2026 11:59:23 +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=vOsBGsAq; 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=vOsBGsAqbvil8c zaD4WNJNzEgOhCFuO1jGM/jwLtCWwPnaU1Y9ZLAm/MCiCZGxehR8AVgPjCit78iTPYVuTEXnYeeD2 jCXJ9FyUNoGEnwv4aZkcBU1SotHznqWyUOZ0jyK8V6aKPN6rFzcHXvZHxhkpVxsY7TvArlllFlJ7/ hg0kfo9p1zwG5mmUqjU/MmtclqOLF28c6cQDMp8p1lRVSgRx+91cCHM11qQAcKXoylFIwHdbeAb0z c2spllllS6ijjfa2o9/fmeABxDMESbyo9RpBzkpuiFYQjNr+YCXkqVdH4Ziickhltynm2EGAHA6Dm FND+4IjYHsb3ZyXz5hUQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xVShf-00000003GCr-19fD; Mon, 23 Nov 2026 11:59:23 +0000 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xVShb-00000003GBO-2Ar0 for linux-mediatek@lists.infradead.org; Mon, 23 Nov 2026 11:59:21 +0000 Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-6b876afbb86so3936582a12.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/mDzcRHfpMeGCqxxnp8Qi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/myZBaCP09jnhWpfEa7q0HYuCeu0rM911X2gumFhrVUkiqCCxMfKGxGAR o71z89ed8kXJb7t/BhYljLVunJgj4tKYGh0eRJ/6czsjr1VANZS5HnXs5R697MkoRTKlPQ3Q2Tg ZQT8RUR+Ju6wQIo8CK/uosJYv9OHyCtJWtGsqV8hDdWGiEzPc8IGIzOU 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_573805_4CC531B8 X-CRM114-Status: GOOD ( 16.69 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" 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