mbox series

[00/12] i3c: mipi-i3c-hci: Enabling fixes

Message ID 20230921055704.1087277-1-jarkko.nikula@linux.intel.com (mailing list archive)
Headers show
Series i3c: mipi-i3c-hci: Enabling fixes | expand

Message

Jarkko Nikula Sept. 21, 2023, 5:56 a.m. UTC
Hi

I've been hacking with an early MIPI I3C HCI version compatible
controller on our development HW. Basically a glue code registering the
"mipi-i3c-hci" platform device with some additional code for logic on top
of MIPI I3C HCI.

This early MIPI I3C HCI version won't be productized and the glue code
won't be released in near future but I believe these patches might
benefit others who may be also enabling the MIPI I3C HCI on their HW.

Patches are on top of v6.6-rc1.

Jarkko Nikula (12):
  i3c: master: Inherit DMA masks and parameters from parent device
  i3c: mipi-i3c-hci: Add MODULE_ALIAS
  i3c: mipi-i3c-hci: Fix DAT/DCT entry sizes
  i3c: mipi-i3c-hci: Fix out of bounds access in hci_dma_irq_handler
  i3c: mipi-i3c-hci: Remove BUG() when Ring Abort request times out
  i3c: mipi-i3c-hci: Set ring start request together with enable
  i3c: mipi-i3c-hci: Fix race between bus cleanup and interrupt
  i3c: mipi-i3c-hci: Set number of SW enabled Ring Bundles earlier
  i3c: mipi-i3c-hci: Do not unmap region not mapped for transfer
  i3c: mipi-i3c-hci: Fix missing xfer->completion in hci_cmd_v1_daa()
  i3c: mipi-i3c-hci: Resume controller explicitly
  i3c: mipi-i3c-hci: Resume controller after aborted transfer

 drivers/i3c/master.c                     |  4 ++++
 drivers/i3c/master/mipi-i3c-hci/cmd_v1.c |  1 +
 drivers/i3c/master/mipi-i3c-hci/core.c   | 14 ++++++++------
 drivers/i3c/master/mipi-i3c-hci/dma.c    | 19 ++++++++++++-------
 4 files changed, 25 insertions(+), 13 deletions(-)

Comments

Alexandre Belloni Sept. 25, 2023, 9:36 p.m. UTC | #1
On Thu, 21 Sep 2023 08:56:52 +0300, Jarkko Nikula wrote:
> I've been hacking with an early MIPI I3C HCI version compatible
> controller on our development HW. Basically a glue code registering the
> "mipi-i3c-hci" platform device with some additional code for logic on top
> of MIPI I3C HCI.
> 
> This early MIPI I3C HCI version won't be productized and the glue code
> won't be released in near future but I believe these patches might
> benefit others who may be also enabling the MIPI I3C HCI on their HW.
> 
> [...]

Applied, thanks!

[01/12] i3c: master: Inherit DMA masks and parameters from parent device
        commit: 0c35691551387e060e6ae7a6652b4101270c73cf
[02/12] i3c: mipi-i3c-hci: Add MODULE_ALIAS
        commit: f656f6bd22d7cd08b55c6495fcfaa391c2eb933f
[03/12] i3c: mipi-i3c-hci: Fix DAT/DCT entry sizes
        commit: 0676bfebf5766f0a60549f74ba597115028fa39c
[04/12] i3c: mipi-i3c-hci: Fix out of bounds access in hci_dma_irq_handler
        commit: 45a832f989e520095429589d5b01b0c65da9b574
[05/12] i3c: mipi-i3c-hci: Remove BUG() when Ring Abort request times out
        commit: 361acacaf7c706223968c8186f0d3b6e214e7403
[06/12] i3c: mipi-i3c-hci: Set ring start request together with enable
        commit: e141db842766b1d9af32030a842ceb5eaf389bbb
[07/12] i3c: mipi-i3c-hci: Fix race between bus cleanup and interrupt
        commit: 4e40642cdb621c669507d7ef098c93ff98e8747c
[08/12] i3c: mipi-i3c-hci: Set number of SW enabled Ring Bundles earlier
        commit: 7ccd40edc1f5c43e3f1c7d209336d3981943ab63
[09/12] i3c: mipi-i3c-hci: Do not unmap region not mapped for transfer
        commit: b8806e0c939f168237593af0056c309bf31022b0
[10/12] i3c: mipi-i3c-hci: Fix missing xfer->completion in hci_cmd_v1_daa()
        commit: 4c36f656b7d1fc00643730c5845c19b3e15be856
[11/12] i3c: mipi-i3c-hci: Resume controller explicitly
        commit: 3521fa63c1ee7414e6ba0fdf98b82b07939147d9
[12/12] i3c: mipi-i3c-hci: Resume controller after aborted transfer
        commit: fc9176e794d74baccb1e4ef41894ac141f524992

Best regards,