All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Zhiyue Qiu" <zhiyueqiu@microsoft.com>
Cc: "linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>
Subject: Re: [PATCH rdma-next v3] RDMA/mana_ib: Enable RDMA devices on the CDX bus
Date: Thu, 03 Dec 2026 06:54:57 +0000	[thread overview]
Message-ID: <sashiko-outbox-247256@kernel.org> (raw)
In-Reply-To: <PH0PR21MB5918CB654FDD560F4CDD96EFBE4B2@PH0PR21MB5918.namprd21.prod.outlook.com>

> Enable MANA RDMA on CDX by depending on the shared GDMA core and matching
> the CDX auxiliary devices.
> 
> 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.
> 
> 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.
> 
> 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.
> 
> Signed-off-by: Zhiyue Qiu <zhiyueqiu@microsoft.com>
> Co-developed-by: Konstantin Taranov <kotaranov@microsoft.com>
> Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/PH0PR21MB5918CB654FDD560F4CDD96EFBE4B2@PH0PR21MB5918.namprd21.prod.outlook.com?part=1

  reply	other threads:[~2026-12-03  6:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03  6:34 [PATCH rdma-next v3] RDMA/mana_ib: Enable RDMA devices on the CDX bus Zhiyue Qiu
2026-12-03  6:54 ` sashiko-bot [this message]
2026-12-03 19:43 ` Leon Romanovsky

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=sashiko-outbox-247256@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=zhiyueqiu@microsoft.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.