From mboxrd@z Thu Jan 1 00:00:00 1970 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=1796280897; b=Jg3JjOkHRENQhkCbWnCdTKqaFUrsot/XZrIG2eQEYizybKrVapdLr8HrePCucwBp6w9E y09+a/S25b2tutlEcnMnLDbFk2OiIGC8quVVCKnoVl7nOzYb/BGrCiknE+83K7Exad7DG t2t/9JidoRMwHAdLgkQGCjf73uqhb3a3FguocXbMxzLAisX/XMojKHocLjxDLbcc+maLK 6w9s26eH+cjZ/81RhnSGqse5pnpyUNgza67BpvN+gQ1kfLlAzzrIKI9Bx6fliV1lhJeZC 2PjjNg+sV++BS6e+udwK0CLP5Q1vrcDbW9PXvd7wmqeO17VYKHIVKTyGu5B9tgqle/g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796280897; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=CLjZZpYQ8Bf7Pnum+UBojuGYgr2ZNbS7q2xDetZnSxQ=; b=Pc0N3OIwxsiM2T/4ASQSofRUNhLeH7TttsKOBtcQC6QY0opQBMa3qIj0Q7xXIHwMeucs ckcUZF8ZoQFFy9lZGnA1nYwr26fieGYNfEMb65RYGl2R/JTKb+ZNjEnYcc0bA1dtf1FPZ PGeTLaCS1BOQSGx2mrgBlk/vGP1wrWCq4fTS1jUi3GkXbUdW5HBJpui1CO0+aZdsaW+Am 7uxh26lu+664/DOViWBH8nzrillzIk/LI5IhGjpjCEJ8Ccwm8HTQ1k4GAXkBO5xzi2RYm kM/qEcGGI4oLzo/CM35+hsq5cZcZJ3r4fvlijDrxM/hxfilpUSdEqDBDhryyI4oftRw== 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=Xls98Kq+; 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)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AF0B4606A32C for ; Thu, 3 Dec 2026 06:54:57 +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=Xls98Kq+ Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7711E1F000C1; Thu, 3 Dec 2026 06:54:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796280897; bh=CLjZZpYQ8Bf7Pnum+UBojuGYgr2ZNbS7q2xDetZnSxQ=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=Xls98Kq+oiZ2rmVoGeYNigkDCYVY4Pr1+K87qq4LPLI1/NVblnhDU/TTnhsE5AuWf W5V3lOffZTOP8k2UMNG9+JzgoXCmjdmAts49o5z0u7xkxLiIQCOK9mWXYddk7tgh6f QaETIA18vGDVhp0Bdc9qYsubPD3vddU6ttWBe1m4FT6tyikv0Ko9V/V+ETHgVr5lVB 1tli4ycApJSmQiIjyPh56tJEkmW/KhSsyLRUSDzGCvivIdLoBY1RmbnBBPwQZTToeY ObnrY+6NZ8qsoBbkaYs9LE19e263A50LCGw55pGL/C/ifPaMyrMld9mKVkOqQYfyuz PrE9ws6szTpIw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH rdma-next v3] RDMA/mana_ib: Enable RDMA devices on the CDX bus Reply-To: sashiko-reviews@lists.linux.dev To: "Zhiyue Qiu" Cc: =?utf-8?b?bGludXgtcmRtYUB2Z2VyLmtlcm5lbC5vcmc=?= In-Reply-To: References: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 06:54:57 +0000 X-Mailing-List: linux-rdma@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list > Enable MANA RDMA on CDX by depending on the shared GDMA core and matching > the CDX auxiliary devices. >=20 > On arm64, ioremap() maps the CDX doorbell pages in BAR0 as Device-nGnRE, > but pgprot_writecombine() maps them as Normal-NC in userspace. Using > pgprot_device() to match the kernel mapping fixes the observed CDX > lockup. PCI write-combining is unchanged. >=20 > mana_ib_query_device() reads the vendor ID through to_pci_dev(), but the > GDMA device on CDX is not a pci_dev. Both MANA transport ID tables match > only Microsoft's vendor ID (0x1414). Report PCI_VENDOR_ID_MICROSOFT > directly so userspace gets the same ID on either bus without a PCI cast. >=20 > Allocate missing DMA parameters before GDMA setup using managed memory. > Register a cleanup action to clear the device pointer before the memory > is freed. Set the 32-bit DMA mask and segment limits in CDX probe before > GDMA sets up interrupts or queues. These are device-wide constraints, > not properties of the HWC IRQs. >=20 > Signed-off-by: Zhiyue Qiu > Co-developed-by: Konstantin Taranov > Signed-off-by: Konstantin Taranov Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/PH0PR21MB5918CB654F= DD560F4CDD96EFBE4B2@PH0PR21MB5918.namprd21.prod.outlook.com?part=3D1