Re: [PATCH] HID: intel-thc-hid: intel-quicki2c: size the input buffer for the DMA

From: HyeongJun An

Date: Wed Aug 26 2026 - 08:05:07 EST


On Wed, Aug 26, 2026 at 10:10 AM Xu, Even <even.xu@xxxxxxxxx> wrote:
> so it's not a problem, that's why you never reproduce the issue.

Thanks for the explanation, that clears up the SWDMA side.

I had read the RxDMA2 side as a separate case, and it looks like I have
that wrong too. input_buf is max(max_input_len, SZ_4K) at
pci-quicki2c.c:607 while THC_RXDMA2 is sized ALIGN(max_input_len,
SZ_4K), and LNL leaves qcdev->ddata NULL so the max frame size feature
is never enabled. I had assumed that gap was reachable, but you would
know whether it can be.

Either way, please drop the patch. Thanks for taking a look at it.