mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nicola Nicodemo <nicola084@gmail.com>
To: opensource@grische.xyz, Amit Kucheria <amitk@kernel.org>,
	Thara Gopinath <thara.gopinath@gmail.com>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	Daniel Lezcano <daniel.lezcano@kernel.org>
Cc: Daniel Lezcano <daniel.lezcano@oss.qualcomm.com>,
	Zhang Rui <rui.zhang@intel.com>,
	Lukasz Luba <lukasz.luba@arm.com>,
	Dmitry Baryshkov <lumag@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	AngeloGioacchino Del Regno
	<angelogioacchino.delregno@collabora.com>,
	linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/2] thermal/drivers/qcom/tsens: Drop __init from the ->init callbacks
Date: Wed, 25 Nov 2026 09:46:11 +0100	[thread overview]
Message-ID: <20261125084611.11437-1-nicola084@gmail.com> (raw)
In-Reply-To: <20261104145740.2623473-1-opensource@grische.xyz>

On this boot path, 7.3 with CONFIG_QCOM_TSENS=m and qcom_tsens in the
initramfs, Samsung Galaxy Book4 Edge 14" (X1E80100, NP940XMA):

Without the series, the probe is deferred and the retry from
deferred_probe_work_func jumps into the module's freed .init.text,
on every boot:

  Unable to handle kernel execute from non-executable memory at virtual address ffffc2f2779b4150
  pc : 0xffffc2f2779b4150
  lr : tsens_probe+0x170/0x670 [qcom_tsens]
  Workqueue: events_unbound deferred_probe_work_func

With the series applied (same kernel config, same initramfs), it boots;
all four controllers probe and every thermal zone reads normally. The
compatible is qcom,x1e80100-tsens / qcom,tsens-v2, so this exercises
init_common() via ops_generic_v2, i.e. patch 1; patch 2's callbacks are
not used on this SoC.

Tested-by: Nicola Nicodemo <nicola084@gmail.com> # X1E80100, CONFIG_QCOM_TSENS=m

      parent reply	other threads:[~2026-11-25  8:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-04 14:57 Christian Schmidbauer
2026-11-04 14:57 ` [PATCH 1/2] thermal/drivers/qcom/tsens: Drop __init from init_common() Christian Schmidbauer
2026-11-04 14:57 ` [PATCH 2/2] thermal/drivers/qcom/tsens: Drop __init from the per-SoC ->init callbacks Christian Schmidbauer
2026-11-04 15:33 ` [PATCH 0/2] thermal/drivers/qcom/tsens: Drop __init from the " Daniel Lezcano
2026-11-25  8:46 ` Nicola Nicodemo [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=20261125084611.11437-1-nicola084@gmail.com \
    --to=nicola084@gmail.com \
    --cc=amitk@kernel.org \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=daniel.lezcano@kernel.org \
    --cc=daniel.lezcano@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=lukasz.luba@arm.com \
    --cc=lumag@kernel.org \
    --cc=opensource@grische.xyz \
    --cc=rafael@kernel.org \
    --cc=rui.zhang@intel.com \
    --cc=thara.gopinath@gmail.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®