mbox series

[v2,00/11] firmware/soc: ti_sci, ringacc/inta: Preparation for AM64 DMA support

Message ID 20201008115224.1591-1-peter.ujfalusi@ti.com (mailing list archive)
Headers show
Series firmware/soc: ti_sci, ringacc/inta: Preparation for AM64 DMA support | expand

Message

Peter Ujfalusi Oct. 8, 2020, 11:52 a.m. UTC
Hi,

Changes since v1:
- Use AM64X as family name in patch 11
- Added Reviewed-by tag from Grygorii for patch 6-10

The series prepares the ti_sci, ringacc, inta to support the new DMAs introduced
with AM64.

Separate series has been sent for the inta irqchip driver (v2):
https://lore.kernel.org/lkml/20200930074559.18028-1-peter.ujfalusi@ti.com/

Patches for the DMA support will be based on this series due to build and
feature dependencies.

To support the new DMSS we need to change the ti_sci ring config API in order to
be able to support the new parameters needed in the future.

We also need to add support for the second range in RM as along with the AM64
support, the resource allocation is going to change for existing SoC which used
only the first range for resource allocation.

The tx_tdtype support has been also missing from ti_sci for a long time and
the AM64 specific extended_ch_type depends on the existence of it in the message
struct.

Santosh: if you plan to take this series for 5.11, then can you create an
immutable branch which I can refer to Vinod for the DMA patches I'm going to
send soon.

Regards,
Peter
---
Peter Ujfalusi (11):
  firmware: ti_sci: rm: Add support for tx_tdtype parameter for tx
    channel
  firmware: ti_sci: Use struct ti_sci_resource_desc in get_range ops
  firmware: ti_sci: rm: Add support for second resource range
  soc: ti: ti_sci_inta_msi: Add support for second range in resource
    ranges
  firmware: ti_sci: rm: Add support for extended_ch_type for tx channel
  firmware: ti_sci: rm: Remove ring_get_config support
  firmware: ti_sci: rm: Add new ops for ring configuration
  soc: ti: k3-ringacc: Use the ti_sci set_cfg callback for ring
    configuration
  firmware: ti_sci: rm: Remove unused config() from
    ti_sci_rm_ringacc_ops
  soc: ti: k3-ringacc: Use correct device for allocation in RING mode
  soc: ti: k3-socinfo: Add entry for AM64X SoC family

 drivers/firmware/ti_sci.c              | 213 ++++++++-----------------
 drivers/firmware/ti_sci.h              |  72 +++------
 drivers/soc/ti/k3-ringacc.c            |  93 +++++------
 drivers/soc/ti/k3-socinfo.c            |   1 +
 drivers/soc/ti/ti_sci_inta_msi.c       |  12 ++
 include/linux/soc/ti/k3-ringacc.h      |   5 +
 include/linux/soc/ti/ti_sci_protocol.h |  85 ++++++----
 7 files changed, 212 insertions(+), 269 deletions(-)

Comments

Santosh Shilimkar Oct. 9, 2020, 12:54 a.m. UTC | #1
On 10/8/20 4:52 AM, Peter Ujfalusi wrote:
> Santosh: if you plan to take this series for 5.11, then can you create an
> immutable branch which I can refer to Vinod for the DMA patches I'm going to
> send soon.

I will set it up right after the 5.10-rc1 is tagged.

regards,
Santosh
Santosh Shilimkar Oct. 9, 2020, 12:56 a.m. UTC | #2
On 10/8/20 4:52 AM, Peter Ujfalusi wrote:
> Santosh: if you plan to take this series for 5.11, then can you create an
> immutable branch which I can refer to Vinod for the DMA patches I'm going to
> send soon.

I will set it up right after the 5.10-rc1 is tagged.

regards,
Santosh
Peter Ujfalusi Oct. 9, 2020, 8:08 a.m. UTC | #3
On 09/10/2020 3.56, santosh.shilimkar@oracle.com wrote:
> On 10/8/20 4:52 AM, Peter Ujfalusi wrote:
>> Santosh: if you plan to take this series for 5.11, then can you create an
>> immutable branch which I can refer to Vinod for the DMA patches I'm
>> going to
>> send soon.
> 
> I will set it up right after the 5.10-rc1 is tagged.

Thank you!

> 
> regards,
> Santosh

- Péter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
Santosh Shilimkar Nov. 2, 2020, 3:44 a.m. UTC | #4
Hi Peter,

On 10/8/20 5:56 PM, santosh.shilimkar@oracle.com wrote:
> On 10/8/20 4:52 AM, Peter Ujfalusi wrote:
>> Santosh: if you plan to take this series for 5.11, then can you create an
>> immutable branch which I can refer to Vinod for the DMA patches I'm 
>> going to
>> send soon.
> 
> I will set it up right after the 5.10-rc1 is tagged.
> 
Series is pushed to soc branch.

git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone.git 
for_5.11/drivers-soc
Regards,
Santosh