From: Emfox Zhou <emfox@debian.org>
To: "Xu, Even" <even.xu@intel.com>
Cc: "Sun, Xinpeng" <xinpeng.sun@intel.com>,
Jiri Kosina <jikos@kernel.org>,
Benjamin Tissoires <bentiss@kernel.org>,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v10 4/6] HID: intel-thc-hid: intel-ipts: add the HID device
Date: Wed, 02 Dec 2026 23:39:47 +0800 [thread overview]
Message-ID: <4d428958d78432a03d661900cfe99961@debian.org> (raw)
In-Reply-To: <SJ0PR11MB770417E1C700F1ABB58A57ECF44C2@SJ0PR11MB7704.namprd11.prod.outlook.com>
On Wed, 2 Dec 2026, Xu, Even wrote:
> Why all buffers are need to be resized?
The sizes come from the configuration block, which is only readable after
the controller is out of reset in thc_ipts_port_start(), so probe cannot
know them and the buffers are allocated on the first start.
thc_ipts_resize() only grows, so a normal start is a few comparisons and
no allocation; it runs again on every start because a resume may report
larger limits. All four follow max_rx/max_tx: desc and feature hold
replies that arrive through the receive engine, so they are bounded by
max_rx as well.
Your other comments on this series are addressed in the v11 I am about to
post.
Thanks,
Emfox
next prev parent reply other threads:[~2026-12-02 15:42 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 15:51 [PATCH v10 0/6] HID: intel-thc-hid: intel-ipts: support THC IPTS ports Emfox Zhou
2026-11-27 15:51 ` [PATCH v10 1/6] HID: intel-thc-hid: intel-thc: expose the operations an IPTS port needs Emfox Zhou
2026-11-27 16:01 ` sashiko-bot
2026-12-02 6:21 ` Xu, Even
2026-11-27 15:51 ` [PATCH v10 2/6] HID: intel-thc-hid: intel-ipts: bring up the port Emfox Zhou
2026-11-27 16:11 ` sashiko-bot
2026-12-02 6:56 ` Xu, Even
2026-11-27 15:51 ` [PATCH v10 3/6] HID: intel-thc-hid: intel-ipts: receive reports Emfox Zhou
2026-11-27 16:18 ` sashiko-bot
2026-12-02 8:22 ` Xu, Even
2026-11-27 15:51 ` [PATCH v10 4/6] HID: intel-thc-hid: intel-ipts: add the HID device Emfox Zhou
2026-11-27 16:06 ` sashiko-bot
2026-12-02 8:43 ` Xu, Even
2026-12-02 15:39 ` Emfox Zhou [this message]
2026-11-27 15:51 ` [PATCH v10 5/6] HID: intel-thc-hid: intel-ipts: handle system sleep Emfox Zhou
2026-11-27 15:51 ` [PATCH v10 6/6] HID: intel-thc-hid: intel-ipts: document the IPTS mode Emfox Zhou
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=4d428958d78432a03d661900cfe99961@debian.org \
--to=emfox@debian.org \
--cc=bentiss@kernel.org \
--cc=even.xu@intel.com \
--cc=jikos@kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=xinpeng.sun@intel.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