From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=82.195.75.108 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796226144; b=FXUQQbC8CFDMqF6r/Ri1SimH7UboszrxL2sqF7M+/k7HVta24HWEAp9HhrNY0ogwDNFh 1kLNntV7rOw9/5ZlfASe5xHcIhLRme3cYej1CvYzrPwLFRscJhhHI388OXBXDtEm+/MgP HwWjsiSADXDU7xYsI/4w/pyMEAJ+MI663pRa6dnpGeazZC8ikPbNxNrtsDTJ2aJ2p5rli rcvN8CTB82B8l5KpQ29Tt42Bm1iLyER/MYZ+Hu818Of7ICfy2M3Qm8pSvdLQONvHNNK5p dIqs5SJmZvsXys9tncRUZOPpf0m38VQQdIfVMrv7Wi0Bcoa5B486Qdgnkvj1ezRWsig== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796226144; h=DMARC-Filter:DKIM-Signature:Received:Message-ID:Date:From:To:Cc: Subject:In-Reply-To:References:MIME-Version:Content-Type: Content-Transfer-Encoding:X-Debian-User; bh=dF1USrvRNpMrmnTS8rvmlKy3r2fu7miEd/8d5xow+hY=; b=Xizm1XzH1Q3VT6vBIDdR3vJmXHVK4TORaDxsNl+tJ5Naoq4zbSV4jUhH5nl+GffTiw0y cOBID010If1YTPJ4YM+N87ipYmFCNPNGrcfRnPKEiC/lWmPV/h56s2s5F9/Dbo38d1gOG DGvwdlod0s0xdfKXPD2rE2WDXUXc9aBjoDLV4Fia8sDZj+im8UmxxipPZEqwGxpq0JDA2 x2pU/8I4enGtFisPU4EInkJqs3xQ/JKL6zWfImgFsCS42YojuTnHUAS+5UobDhOrD3FrA L8lYvVjOXMRNqyBx/tQElMyoiw8EQ2RLk8U4qj3/anJ9icqbt0Y8F5rpwo/Oe6xmL0w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=debian.org; spf=pass smtp.mailfrom=debian.org; dkim=pass header.d=debian.org header.i=@debian.org header.a=rsa-sha256 header.s=smtpauto.stravinsky header.b=f7bpHhXo; arc=none smtp.remote-ip=82.195.75.108 Received: from stravinsky.debian.org (stravinsky.debian.org [82.195.75.108]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5DE2D606A31A; Wed, 2 Dec 2026 15:42:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5DE2D606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=debian.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=debian.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=debian.org header.i=@debian.org header.a=rsa-sha256 header.s=smtpauto.stravinsky header.b=f7bpHhXo DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; s=smtpauto.stravinsky; h=X-Debian-User:Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Subject:Cc:To:From:Date:Message-ID: Reply-To:Content-ID:Content-Description; bh=dF1USrvRNpMrmnTS8rvmlKy3r2fu7miEd/8d5xow+hY=; b=f7bpHhXoig/CT69QV429TYCrdD AySzqzu5bO3wJXhKqY3x3nZ2drUMgQvcbNXHFbq9Fzr/WcDF/w6lVtUHUVEQXyIAf4M9hcrhkPVs1 OSFF5BvTXBlYIC675t4tzfSgUWqmzPvDn1xyb1iCvdOO+kGSEaKlzURd4I5a50UPIJSlbHF75dO7K T4Lsf+zfyoOkj2LMEbOud6q53A+Apd2SWjkrHlzOAz0FySPn3zvfhMFMhgrKeYThuegXkT1q4sdNn IXySHUoxr4u5iF+aOFxtPbHXcb7gxk5xLvKSq05kTd8KG/GAEMoJ58YCj96+saOx3vygnpjLaEkFi jN5vEOYw==; Received: from authenticated-user by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1xYmTB-001cK8-1x; Wed, 02 Dec 2026 15:42:10 +0000 Message-ID: <4d428958d78432a03d661900cfe99961@debian.org> Date: Wed, 02 Dec 2026 23:39:47 +0800 From: Emfox Zhou To: "Xu, Even" Cc: "Sun, Xinpeng" , Jiri Kosina , Benjamin Tissoires , 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 In-Reply-To: References: X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Debian-User: emfox 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