Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796445036; b=IzvxsQCZC8KtS0bIklkiDNlG+qe9Jd6T8J0wbY3sw30YNMh+TxHsJ4c/7YHXi+Vq9tvk K0FoOVO7d9idnkbK2lmz3DhozbCzE7Em5erlGxPdXYziU3dw/EmFyGv+mMQmrMX/j41gI Qr264WbzUaCaSjEHKqgPoYrwTgA//qf8gL7IpQSK2amcNFEOMGw2qF6L1n/KwVQ3eUQI/ 9QPUASMg9VC8VbW1y97ycz8eGb9HdStByRBX2aunGAWwyNd+i5n1DZDR7Qypa0tTPxBrV C31ML5ubPMesWj9fqL6ue0FCbjO5f9t5rtJNNWJp7xvnvHR+HdPwK0HiyEerlTYPkCw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796445036; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=Dbgo8TeQgX34gW2G9Em7hFAm0itOeIx2AFOoGPErAJU=; b=kPflfru2dKl0VSBXIPq01ZUE+OXIPjoZ3sADLQm7Lfs9Lg0DMtuOWEck+HPE8gIzBoIp S2qpJxd/5X1J5B/lmjvaq0OK45mj+0P3UmNl0iv9/s+v3C1kG9tr6UhCG4dxp3aniEZ4B BAKsHHUNdEGsV6p4PMfujX3EL91AW5b8gsCmn3xJ5AvKvq6EJhJP5RcGGziaQku/fC2gQ wK9O52SNMfx4UGhshNXdaeaYbVd6MU+mS/M4h326vad35qcijhELJ+ifIE5r17TqMw8YQ oK9855SnITIO+HF8H6BI0UMBnWUaRr0IS7PvfKgLO9wtBE+rlT/dr8smJ7g63rOUtpA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=E6131GyM; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5F210606A32D; Sat, 5 Dec 2026 04:30:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=E6131GyM Received: by smtp.kernel.org (Postfix) with ESMTPSA id DC6751F0092B; Sat, 5 Dec 2026 04:30:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796445036; bh=Dbgo8TeQgX34gW2G9Em7hFAm0itOeIx2AFOoGPErAJU=; h=From:Subject:Reply-To:To:In-Reply-To:References:Date; b=E6131GyMlxLPHIvSU6hCdccP3c6mUnbOqK9rq+RBoi38FGg1DOE43CEWaQUEf7A3X GFDPKB+t8Mpw78FuBTwiIU0knzODVwdPGVy12Pth54WPeShsSTTI5zWVmgq6mXue7a 98ywqyXRFzvYv59aE/Blc7MCCBhSkcNkqqlKC5mhGYm5JXhrP2KFzdV/oIsvlW9EGY nuga97m3R2Mm3TB8MjfLQRMRVZ7FSzDB+Arl9HNiWEsISbdDQSjGIsu0ULtK8BoBB4 EnU75obp5KD/dB5XmTHXgEXkRLmlFHD4r2Zc/YzYAWtsSr3cWcd+0+QGQ7a54B4VoE 1FtGTitIi1oIQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v18 07/19] cxl: Share HDM decoder register unpacking Reply-To: sashiko-reviews@lists.linux.dev To: "Srirangan Madhavan" , linux-cxl@vger.kernel.org, linux-pci@vger.kernel.org In-Reply-To: <20261205041453.3946529-8-smadhavan@nvidia.com> References: <20261205041453.3946529-1-smadhavan@nvidia.com> <20261205041453.3946529-8-smadhavan@nvidia.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sat, 05 Dec 2026 04:30:35 +0000 X-Mailing-List: linux-cxl@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 2 potential issues to consider: - [Low] cxl: commit message describes untouched target list and DPA skip reads - [Low] cxl: unused cxl_core export of cxl_hdm_unpack_decoder() -- commit 198782984626bdb9622fed167b6f217bc24d7c42 Author: Srirangan Madhavan cxl: Share HDM decoder register unpacking This commit factors HDM decoder register parsing and base/size reads into cxl_hdm_unpack_decoder() and cxl_hdm_read_decoder() in hdm_regs.c, and updates init_hdm_decoder() to use them. > Read switch target lists and endpoint DPA skip in their respective > branches of init_hdm_decoder(). [Severity: Low] Is this paragraph accurate? Both the switch target list reads and the endpoint DPA skip reads were already in those branches of init_hdm_decoder() and are untouched by this patch. If the intent is to note what cxl_hdm_read_decoder() leaves out, saying those reads remain in init_hdm_decoder() would be clearer. [ ... ] > diff --git a/drivers/cxl/core/hdm_regs.c b/drivers/cxl/core/hdm_regs.c > index 53d2f236e49c2..cc5d77c4abf50 100644 > --- a/drivers/cxl/core/hdm_regs.c > +++ b/drivers/cxl/core/hdm_regs.c [ ... ] > + return 0; > +} > +EXPORT_SYMBOL_FOR_MODULES(cxl_hdm_unpack_decoder, "cxl_core"); [Severity: Low] Does cxl_hdm_unpack_decoder() need to be exported to cxl_core? cxl_core only calls cxl_hdm_read_decoder(), and the only caller of cxl_hdm_unpack_decoder() here is cxl_hdm_read_decoder() in the same file. Even after commit "cxl: Add KUnit checks for HDM decoder unpacking" adds cxl_hdm_unpack_kunit to the export list, cxl_core remains unused and the symbol stays exported when KUnit is disabled. Dropping the export here and exporting it only for KUnit in that later patch would avoid the dead export. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261205041453.3946= 529-1-smadhavan@nvidia.com?part=3D7