Skip to content

Commit 8c05229

Browse files
ahunter6alexandrebelloni
authored andcommitted
i3c: mipi-i3c-hci-pci: Set 64-bit DMA mask for Intel controllers
All Intel controllers support 64-bit DMA. Set the DMA mask accordingly. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20251128064038.55158-2-adrian.hunter@intel.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent ddb37d5 commit 8c05229

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/i3c/master/mipi-i3c-hci/mipi-i3c-hci-pci.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ static int mipi_i3c_hci_pci_intel_init(struct pci_dev *pci)
3636
if (!priv)
3737
return -ENOMEM;
3838

39+
dma_set_mask_and_coherent(&pci->dev, DMA_BIT_MASK(64));
40+
3941
/* Assert reset, wait for completion and release reset */
4042
writel(0, priv + INTEL_PRIV_RESETS);
4143
timeout = jiffies + msecs_to_jiffies(10);

0 commit comments

Comments
 (0)