Skip to content

Conversation

@ujfalusi
Copy link
Collaborator

Hi,

rename the IPC type defines to be more generic and intuitive:
SOF_IPC -> SOF_IPC_TYPE_3
SOF_INTEL_IPC4 -> SOF_IPC_TYPE_4

No functional change, just renaming all around.

paulstelian97
paulstelian97 previously approved these changes Apr 13, 2023
Copy link

@paulstelian97 paulstelian97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Barring some typos in commit descriptions here and there (e.g. in the "Drop unused IPC type defines" one you added an unintentional space as in "...t he generic names...") this is a welcome change.

@ujfalusi
Copy link
Collaborator Author

Barring some typos in commit descriptions here and there (e.g. in the "Drop unused IPC type defines" one you added an unintentional space as in "...t he generic names...") this is a welcome change.

@paulstelian97, thanks, I will fix the typos in v2!

RanderWang
RanderWang previously approved these changes Apr 13, 2023
dbaluta
dbaluta previously approved these changes Apr 13, 2023
@ujfalusi ujfalusi force-pushed the peter/sof/pr/generic_ipc_type_naming_01 branch from 7ae4318 to 017c1d1 Compare April 13, 2023 13:28
@ujfalusi
Copy link
Collaborator Author

Changes since v1:

  • typos and commit messages fixed when they where they were wrong

paulstelian97
paulstelian97 previously approved these changes Apr 13, 2023
@ujfalusi ujfalusi force-pushed the peter/sof/pr/generic_ipc_type_naming_01 branch from 017c1d1 to d5bc31b Compare April 13, 2023 14:38
@ujfalusi
Copy link
Collaborator Author

Thanks you all for the approvals!

I would wait a bit with merging this until other, mor important PRs are merged where the naming change can cause dependency for upstreaming.

I will also have a followup PR to rework the firmware, topology path and firmware name presentation, I will create a draft with the current implementation, which is likely not going to be the right way, but I need to test how it is stretching.

RanderWang
RanderWang previously approved these changes Apr 18, 2023
Change the enum names for the IPC types to be more descriptive and drop
tying the IPC4 to Intel SoCs.

Add defines to avoid build breakage while the related code is
modified to use the new enum names.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Clarify the description of the ipc_type module parameter and drop the Intel
CAVS in favor of IPC4.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Drop the Intel from the IPC type Kconfig option

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Use the new SOF_IPC_TYPE_3, SOF_IPC_TYPE_4 in core code.

No functional changes, just renaming.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
@ujfalusi ujfalusi force-pushed the peter/sof/pr/generic_ipc_type_naming_01 branch from d5bc31b to 6ea5832 Compare August 9, 2023 10:44
@ujfalusi
Copy link
Collaborator Author

ujfalusi commented Aug 9, 2023

Changes since v3:

  • rebased and updated on latest topic/sof-dev

Use the new SOF_IPC_TYPE_3 in core code.

No functional changes, just renaming.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Use the new SOF_IPC_TYPE_3 in core code.

No functional changes, just renaming.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Use the new SOF_IPC_TYPE_3, SOF_IPC_TYPE_4 in core code.

No functional changes, just renaming.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Use the new SOF_IPC_TYPE_4 in core code.

No functional changes, just renaming.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Use the new SOF_IPC_TYPE_3 in core code.

No functional changes, just renaming.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
The SOF stack now uses the generic names for the IPC type, the defines can
be dropped.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
@ujfalusi ujfalusi force-pushed the peter/sof/pr/generic_ipc_type_naming_01 branch from 6ea5832 to 3c2915e Compare August 9, 2023 11:12
@ujfalusi
Copy link
Collaborator Author

ujfalusi commented Aug 9, 2023

Changes since v4:

  • update for missed AMD vangogh

Copy link

@RanderWang RanderWang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

@vijendarmukunda vijendarmukunda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@plbossart plbossart merged commit 42f31bf into thesofproject:topic/sof-dev Aug 10, 2023
@ujfalusi ujfalusi deleted the peter/sof/pr/generic_ipc_type_naming_01 branch November 30, 2023 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants