mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dawid Wrobel <me@dawidwrobel.com>
To: Haozhen Li <dezige131@foxmail.com>
Cc: Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Abel Vesa <abelvesa@kernel.org>, Sam Day <me@samcday.com>,
	linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH 0/2] firmware: qcom: scm: QSEECOM app loading and listener support
Date: Mon, 02 Nov 2026 18:21:26 +0000	[thread overview]
Message-ID: <cbc71671-3254-4096-a2c4-e441fa445582@dawidwrobel.com> (raw)
In-Reply-To: <tencent_9E79DCEBAC253B8EB7DE779D4180A77F7D0A@qq.com>

On 2.11.2026 17:27, Haozhen Li wrote:
> Hi Dawid,
> 
> I owe you a sincere apology.

Hi Haozhen. None are needed, but appreciated. I may have come on too
strong but still expected this to turn out to be a mere misunderstanding.


> I would be honored to contribute back to your tree, entirely at your
> discretion:
> 
>  - A PR adding defensive checks for image and listener shared buffers
>    above the 4 GiB physical mark, using the overflow-safe comparison
>    Konrad suggested [2]. For what it is worth, I probed this on
>    sc8280xp by OR-ing bit 32 into an otherwise valid image address:
>    the firmware rejected the APP_START call with an explicit error
>    rather than silently truncating the address, so this is strictly
>    defensive hardening, not a fix for a universal firmware defect.

Absolutely. I did apply a hopefully more idiomatic approach, which
considers the QSEE version, as suggested by Konrad, and sets a
dma_set_coherent_mask(scm->dev, DMA_BIT_MASK(32)) on QSEE older than
TZ.BF.4.0, following what downstream Android qseecom driver does.

>  - Testing on different silicon: I have exercised this transport on
>    sc8280xp with a FocalTech fingerprint TA through repeated
>    load/shutdown cycles and enroll/verify transactions, and would
>    gladly run your tree on this hardware before you file your RFC and
>    provide a Tested-by.

Absolutely and testing on more silicon is what I hoped for before filing
an RFC here, so this is still very much welcome and appreciated.

> On the userspace side, I also maintain an independent D-Bus daemon
> implementing net.reactivated.Fprint directly, without patching fprintd
> or libfprint. Happy to compare notes if that is ever a useful data
> point for the wider fingerprint ecosystem.

Absolutely, let's take it of the ML to reduce the noise and switch to my
repo.

> Thank you for your candid feedback, for CC-ing Sam, and above all for
> the groundwork that made my device bring-up possible in the first
> place.

Appreciate it.

-- 
With Kind Regards,
Dawid Wrobel



      reply	other threads:[~2026-11-02 18:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-01 16:01 Haozhen Li
2026-11-02 13:54 ` Dawid Wrobel
2026-11-02 16:27   ` Haozhen Li
2026-11-02 18:21     ` Dawid Wrobel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cbc71671-3254-4096-a2c4-e441fa445582@dawidwrobel.com \
    --to=me@dawidwrobel.com \
    --cc=abelvesa@kernel.org \
    --cc=andersson@kernel.org \
    --cc=dezige131@foxmail.com \
    --cc=konradybcio@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=me@samcday.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®