[Intel-wired-lan] [PATCH iwl-next 7/8] ice: breakout common LAG code into helpers

2025-04-10 Thread Dave Ertman
: Dave Ertman --- drivers/net/ethernet/intel/ice/ice_lag.c | 42 +++ drivers/net/ethernet/intel/ice/ice_lag.h | 2 + drivers/net/ethernet/intel/ice/ice_vf_lib.c | 19 ++--- drivers/net/ethernet/intel/ice/ice_virtchnl.c | 23 ++ 4 files changed, 51 insertions

[Intel-wired-lan] [PATCH iwl-next 0/8] ice: implement SRIOV VF Active-Active LAG

2025-04-10 Thread Dave Ertman
Patch 5 Cleanup variable initialization in declaration block Patch 6 Cleanup capability parsing for LAG feature Patch 7 Move duplicatde lag code into helper functions Patch 8 is the implementation of the new functionality Dave Ertman (8): ice: Remove casts on void pointers in LAG code ice: replace

[Intel-wired-lan] [PATCH iwl-next 2/8] ice: replace u8 elements with bool where appropriate

2025-04-10 Thread Dave Ertman
!! operators where possible. Reviewed-by: Przemek Kitszel Signed-off-by: Dave Ertman --- drivers/net/ethernet/intel/ice/ice_common.c | 4 ++-- drivers/net/ethernet/intel/ice/ice_type.h | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/intel/ice

[Intel-wired-lan] [PATCH iwl-next 1/8] ice: Remove casts on void pointers in LAG code

2025-04-08 Thread Dave Ertman
Signed-off-by: Dave Ertman --- drivers/net/ethernet/intel/ice/ice_lag.c | 24 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/drivers/net/ethernet/intel/ice/ice_lag.c b/drivers/net/ethernet/intel/ice/ice_lag.c index 22371011c249..e64615d5d1b7 100644 --- a

[Intel-wired-lan] [PATCH iwl-next 4/8] ice: move LAG function in code to prepare for Active-Active

2025-04-08 Thread Dave Ertman
that only functional changes are needed in the larger patch. Reviewed-by: Przemek Kitszel Signed-off-by: Dave Ertman --- drivers/net/ethernet/intel/ice/ice_lag.c | 103 --- 1 file changed, 52 insertions(+), 51 deletions(-) diff --git a/drivers/net/ethernet/intel/ice/ice_lag

[Intel-wired-lan] [PATCH iwl-next 8/8] ice: Implement support for SRIOV VFs across Active/Active bonds

2025-04-07 Thread Dave Ertman
communication. Reviewed-by: Marcin Szycik Signed-off-by: Dave Ertman --- drivers/net/ethernet/intel/ice/ice.h | 1 + .../net/ethernet/intel/ice/ice_adminq_cmd.h | 5 + drivers/net/ethernet/intel/ice/ice_common.c | 15 +- drivers/net/ethernet/intel/ice/ice_common.h | 2

[Intel-wired-lan] [PATCH iwl-next 5/8] ice: Cleanup variable initialization in LAG code

2025-04-07 Thread Dave Ertman
In preparation for implementing SRIOV Active-Active LAG support, cleanup several unneeded variable initializations in declaration blocks. Also move a couple of variable initializations into declaration block that shouold be there. Reviewed-by: Przemek Kitszel Signed-off-by: Dave Ertman

[Intel-wired-lan] [PATCH iwl-next 3/8] ice: Add driver specific prefix to LAG defines

2025-04-07 Thread Dave Ertman
A define in the LAG code is missing a driver specific prefix. Add a prefix to the define. Also shorten a defines name and move to a more logical place. Reviewed-by: Przemek Kitszel Signed-off-by: Dave Ertman --- drivers/net/ethernet/intel/ice/ice_lag.c | 20 +--- 1 file

[Intel-wired-lan] [PATCH iwl-next 6/8] ice: cleanup capabilities evaluation

2025-04-07 Thread Dave Ertman
implementation it becomes even more confusing. Switch to using the BIT() operator to clarify what is being checked. Reviewed-by: Przemek Kitszel Reviewed-by: Aleksandr Loktionov Reviewed-by: Marcin Szycik Signed-off-by: Dave Ertman --- drivers/net/ethernet/intel/ice/ice_adminq_cmd.h | 4 ++-- 1

[Intel-wired-lan] [PATCH iwl-net] ice: fix VLAN replay after reset

2024-09-18 Thread Dave Ertman
no need to alter it and break following VLAN replay, so don't clear the bit. Fixes: 334cb0626de1 ("ice: Implement VSI replay framework") Reviewed-by: Przemek Kitszel Signed-off-by: Dave Ertman --- drivers/net/ethernet/intel/ice/ice_switch.c | 2 -- 1 file changed, 2 deletions(-

[Intel-wired-lan] [PATCH iwl-net v2] ice: check for unregistering correct number of devlink params

2024-05-23 Thread Dave Ertman
ned-off-by: Dave Ertman --- Changes in v2: break params into two list clean up variable usage --- .../net/ethernet/intel/ice/devlink/devlink.c | 31 +-- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/drivers/net/ethernet/intel/ice/devlink/devlink.c b/drivers/ne

[Intel-wired-lan] [PATCH iwl-net] ice: check for unregistering correct number of devlink params

2024-05-20 Thread Dave Ertman
CC: Lukasz Czapnik Reviewed-by: Przemek Kitszel Signed-off-by: Dave Ertman --- drivers/net/ethernet/intel/ice/devlink/devlink.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/ice/devlink/devlink.c b/drivers/net/ethernet/intel/ice/devlink

[Intel-wired-lan] [PATCH iwl-net] ice: Add check for lport extraction to LAG init

2024-01-19 Thread Dave Ertman
any of the support pieces are missing. Reviewed-by: Przemek Kitszel Fixes: df006dd4b1dc ("ice: Add initial support framework for LAG") Signed-off-by: Dave Ertman --- drivers/net/ethernet/intel/ice/ice_lag.c | 25 ++-- drivers/net/ethernet/intel/ice/ice_lag.h | 3 ++

[Intel-wired-lan] [PATCH iwl-net v2] ice: alter feature support check for SRIOV and LAG

2023-12-11 Thread Dave Ertman
existed before any LAG code was added. Fixes: bb52f42acef6 ("ice: Add driver support for firmware changes for LAG") Reviewed-by: Jesse Brandeburg Signed-off-by: Dave Ertman --- v2: Added Fixes tag --- drivers/net/ethernet/intel/ice/ice_lag.c | 2 ++ 1 file changed, 2 insertions(+) di

[Intel-wired-lan] [PATCH iwl-next] ice: alter feature support check for SRIOV and LAG

2023-12-07 Thread Dave Ertman
existed before any LAG code was added. Reviewed-by: Jesse Brandeburg Signed-off-by: Dave Ertman --- drivers/net/ethernet/intel/ice/ice_lag.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ethernet/intel/ice/ice_lag.c b/drivers/net/ethernet/intel/ice/ice_lag.c index 280994ee5933

[Intel-wired-lan] [PATCH iwl-net v3] ice: Fix VF Reset paths when interface in a failed over aggregate

2023-11-17 Thread Dave Ertman
the same lag_mutex lock. Fixes: 1e0f9881ef79 ("ice: Flesh out implementation of support for SRIOV on bonded interface") Signed-off-by: Dave Ertman --- drivers/net/ethernet/intel/ice/ice_lag.c | 122 +++--- drivers/net/ethernet/intel/ice/ice_lag.h | 1 + d

[Intel-wired-lan] [PATCH iwl-net v2] ice: Fix VF Reset paths when interface in a failed over aggregate

2023-11-16 Thread Dave Ertman
the same lag_mutex lock. Fixes: 1e0f9881ef79 ("ice: Flesh out implementation of support for SRIOV on bonded interface") Signed-off-by: Dave Ertman --- drivers/net/ethernet/intel/ice/ice_lag.c | 122 +++--- drivers/net/ethernet/intel/ice/ice_lag.h | 1 + d

[Intel-wired-lan] [PATCH iwl-net] ice: Fix VF Reset paths when interface in a failed over aggregate

2023-11-07 Thread Dave Ertman
the same lag_mutex lock. Fixes: 1e0f9881ef79 ("ice: Flesh out implementation of support for SRIOV on bonded interface") Signed-off-by: Dave Ertman --- drivers/net/ethernet/intel/ice/ice_lag.c | 42 +++ drivers/net/ethernet/intel/ice/ice_lag.h | 1 + d

[Intel-wired-lan] [PATCH iwl-next] ice: Fix VF Reset when interface in a failed over aggregate

2023-10-24 Thread Dave Ertman
reset is complete, move the resources back to the active interface. Signed-off-by: Dave Ertman --- drivers/net/ethernet/intel/ice/ice_lag.c| 2 +- drivers/net/ethernet/intel/ice/ice_lag.h| 1 + drivers/net/ethernet/intel/ice/ice_vf_lib.c | 47 + 3 files changed, 49

[Intel-wired-lan] [PATCH iwl-next v2] ice: Fix SRIOV LAG disable on non-compliant aggreagate

2023-10-10 Thread Dave Ertman
. Only clear the feature bit for the interface that is currently unwinding. Fixes: bf65da2eb279 ("ice: enforce interface eligibility and add messaging for SRIOV LAG") Signed-off-by: Dave Ertman --- drivers/net/ethernet/intel/ice/ice_lag.c | 12 +++- 1 file changed, 3 insert

[Intel-wired-lan] [PATCH iwl-next] ice: Fix SRIOV LAG disable on non-compliant aggreagate

2023-10-06 Thread Dave Ertman
. Only clear the feature bit for the interface that is currently unwinding. Fixes: bf65da2eb279 ("ice: enforce interface eligibility and add messaging for SRIOV LAG") Signed-off-by: Dave Ertman --- drivers/net/ethernet/intel/ice/ice_lag.c | 11 +++ 1 file changed, 3 insert

[PATCH v4 07/10] ASoC: SOF: sof-client: Add client APIs to access probes ops

2020-11-13 Thread Dave Ertman
: Dave Ertman --- sound/soc/sof/sof-client.c | 55 ++ sound/soc/sof/sof-client.h | 25 + 2 files changed, 80 insertions(+) diff --git a/sound/soc/sof/sof-client.c b/sound/soc/sof/sof-client.c index dd75a0ba4c28..838aaa5ea179 100644 --- a/sound/soc

[PATCH v4 07/10] ASoC: SOF: sof-client: Add client APIs to access probes ops

2020-11-13 Thread Dave Ertman
: Dave Ertman --- sound/soc/sof/sof-client.c | 55 ++ sound/soc/sof/sof-client.h | 25 + 2 files changed, 80 insertions(+) diff --git a/sound/soc/sof/sof-client.c b/sound/soc/sof/sof-client.c index dd75a0ba4c28..838aaa5ea179 100644 --- a/sound/soc

[PATCH v4 04/10] ASoC: SOF: ops: Add ops for client registration

2020-11-13 Thread Dave Ertman
From: Ranjani Sridharan Add new ops for registering/unregistering clients based on DSP capabilities and/or DT information. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Ranjani Sridharan Signed-off-by: Dave Ertman --- sound/soc/sof/core.c | 10 ++ sound/soc/sof/ops.h

[PATCH v4 04/10] ASoC: SOF: ops: Add ops for client registration

2020-11-13 Thread Dave Ertman
From: Ranjani Sridharan Add new ops for registering/unregistering clients based on DSP capabilities and/or DT information. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Ranjani Sridharan Signed-off-by: Dave Ertman --- sound/soc/sof/core.c | 10 ++ sound/soc/sof/ops.h

[PATCH v4 01/10] Add auxiliary bus support

2020-11-13 Thread Dave Ertman
Reviewed-by: Pierre-Louis Bossart Reviewed-by: Shiraz Saleem Reviewed-by: Parav Pandit Reviewed-by: Dan Williams Signed-off-by: Dave Ertman --- Documentation/driver-api/auxiliary_bus.rst | 234 ++ Documentation/driver-api/index.rst | 1 + drivers/base/Kconfig

[PATCH v4 01/10] Add auxiliary bus support

2020-11-13 Thread Dave Ertman
Reviewed-by: Pierre-Louis Bossart Reviewed-by: Shiraz Saleem Reviewed-by: Parav Pandit Reviewed-by: Dan Williams Signed-off-by: Dave Ertman --- Documentation/driver-api/auxiliary_bus.rst | 234 ++ Documentation/driver-api/index.rst | 1 + drivers/base/Kconfig

[PATCH v4 06/10] ASoC: SOF: Intel: Remove IPC flood test support in SOF core

2020-11-13 Thread Dave Ertman
From: Ranjani Sridharan Remove the IPC flood test support in the SOF core as it is now added in the IPC flood test client. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Fred Oh Signed-off-by: Ranjani Sridharan Signed-off-by: Dave Ertman --- sound/soc/sof/Kconfig| 8 -- sound/soc

[PATCH v4 08/10] ASoC: SOF: compress: move and export sof_probe_compr_ops

2020-11-13 Thread Dave Ertman
defining sof_probe_compr_ops again. Reviewed-by: Pierre-Louis Bossart Tested-by: Fred Oh Signed-off-by: Ranjani Sridharan Signed-off-by: Dave Ertman --- sound/soc/sof/compress.c | 9 + sound/soc/sof/compress.h | 1 + sound/soc/sof/intel/hda-dai.c | 12 3 files

[PATCH v4 08/10] ASoC: SOF: compress: move and export sof_probe_compr_ops

2020-11-13 Thread Dave Ertman
defining sof_probe_compr_ops again. Reviewed-by: Pierre-Louis Bossart Tested-by: Fred Oh Signed-off-by: Ranjani Sridharan Signed-off-by: Dave Ertman --- sound/soc/sof/compress.c | 9 + sound/soc/sof/compress.h | 1 + sound/soc/sof/intel/hda-dai.c | 12 3 files

[PATCH v4 06/10] ASoC: SOF: Intel: Remove IPC flood test support in SOF core

2020-11-13 Thread Dave Ertman
From: Ranjani Sridharan Remove the IPC flood test support in the SOF core as it is now added in the IPC flood test client. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Fred Oh Signed-off-by: Ranjani Sridharan Signed-off-by: Dave Ertman --- sound/soc/sof/Kconfig| 8 -- sound/soc

[PATCH v4 10/10] ASoC: SOF: Intel: CNL: register probes client

2020-11-13 Thread Dave Ertman
creation of a separate sound card that can be used for audio data extraction from user specified points in the audio pipeline. Reviewed-by: Pierre-Louis Bossart Tested-by: Fred Oh Signed-off-by: Ranjani Sridharan Signed-off-by: Dave Ertman --- sound/soc/sof/intel/cnl.c | 18 +- 1 file

[PATCH v4 10/10] ASoC: SOF: Intel: CNL: register probes client

2020-11-13 Thread Dave Ertman
creation of a separate sound card that can be used for audio data extraction from user specified points in the audio pipeline. Reviewed-by: Pierre-Louis Bossart Tested-by: Fred Oh Signed-off-by: Ranjani Sridharan Signed-off-by: Dave Ertman --- sound/soc/sof/intel/cnl.c | 18 +- 1 file

[PATCH v4 03/10] ASoC: SOF: Create client driver for IPC test

2020-11-13 Thread Dave Ertman
in the driver is existing code that has been copied from the core. These will be removed from the SOF core making is less monolithic and easier to maintain. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Ranjani Sridharan Co-developed-by: Fred Oh Signed-off-by: Fred Oh Signed-off-by: Dave

[PATCH v4 03/10] ASoC: SOF: Create client driver for IPC test

2020-11-13 Thread Dave Ertman
in the driver is existing code that has been copied from the core. These will be removed from the SOF core making is less monolithic and easier to maintain. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Ranjani Sridharan Co-developed-by: Fred Oh Signed-off-by: Fred Oh Signed-off-by: Dave

[PATCH v4 05/10] ASoC: SOF: Intel: Define ops for client registration

2020-11-13 Thread Dave Ertman
registered. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Ranjani Sridharan Co-developed-by: Fred Oh Signed-off-by: Fred Oh Signed-off-by: Dave Ertman --- sound/soc/sof/intel/Kconfig| 9 +++ sound/soc/sof/intel/Makefile | 3 +++ sound/soc/sof/intel/apl.c | 16

[PATCH v4 09/10] ASoC: SOF: Add new client driver for probes support

2020-11-13 Thread Dave Ertman
easier for the probes functionality to be added for all platforms without having the need to modify the existing(15+) machine drivers. Reviewed-by: Pierre-Louis Bossart Tested-by: Fred Oh Signed-off-by: Ranjani Sridharan Signed-off-by: Dave Ertman --- sound/soc/sof/Kconfig | 18

[PATCH v4 02/10] ASoC: SOF: Introduce descriptors for SOF client

2020-11-13 Thread Dave Ertman
will be used for maintaining the list of clients. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Ranjani Sridharan Co-developed-by: Fred Oh Signed-off-by: Fred Oh Signed-off-by: Dave Ertman --- sound/soc/sof/Kconfig | 19 ++ sound/soc/sof/Makefile | 3 + sound/soc/sof/core.c

[PATCH v4 00/10] Auxiliary bus implementation and SOF multi-client support

2020-11-13 Thread Dave Ertman
lood_test() fix a looping error in ancillary_match_id updated error value in sof_client_dev_register() mutex held while traversing client list when unregistering clients updated includes in sof-client.h Dave Ertman (1): Add auxiliary bus support Ranjani Sridharan (9): ASoC: SOF: Introduce de

[PATCH v4 00/10] Auxiliary bus implementation and SOF multi-client support

2020-11-13 Thread Dave Ertman
lood_test() fix a looping error in ancillary_match_id updated error value in sof_client_dev_register() mutex held while traversing client list when unregistering clients updated includes in sof-client.h Dave Ertman (1): Add auxiliary bus support Ranjani Sridharan (9): ASoC: SOF: Introduce de

[PATCH v4 02/10] ASoC: SOF: Introduce descriptors for SOF client

2020-11-13 Thread Dave Ertman
will be used for maintaining the list of clients. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Ranjani Sridharan Co-developed-by: Fred Oh Signed-off-by: Fred Oh Signed-off-by: Dave Ertman --- sound/soc/sof/Kconfig | 19 ++ sound/soc/sof/Makefile | 3 + sound/soc/sof/core.c

[PATCH v4 05/10] ASoC: SOF: Intel: Define ops for client registration

2020-11-13 Thread Dave Ertman
registered. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Ranjani Sridharan Co-developed-by: Fred Oh Signed-off-by: Fred Oh Signed-off-by: Dave Ertman --- sound/soc/sof/intel/Kconfig| 9 +++ sound/soc/sof/intel/Makefile | 3 +++ sound/soc/sof/intel/apl.c | 16

[PATCH v4 09/10] ASoC: SOF: Add new client driver for probes support

2020-11-13 Thread Dave Ertman
easier for the probes functionality to be added for all platforms without having the need to modify the existing(15+) machine drivers. Reviewed-by: Pierre-Louis Bossart Tested-by: Fred Oh Signed-off-by: Ranjani Sridharan Signed-off-by: Dave Ertman --- sound/soc/sof/Kconfig | 18

[PATCH v3 03/10] ASoC: SOF: Create client driver for IPC test

2020-10-22 Thread Dave Ertman
in the driver is existing code that has been copied from the core. These will be removed from the SOF core making is less monolithic and easier to maintain. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Ranjani Sridharan Co-developed-by: Fred Oh Signed-off-by: Fred Oh Signed-off-by: Dave

[PATCH v3 06/10] ASoC: SOF: Intel: Remove IPC flood test support in SOF core

2020-10-22 Thread Dave Ertman
From: Ranjani Sridharan Remove the IPC flood test support in the SOF core as it is now added in the IPC flood test client. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Fred Oh Signed-off-by: Ranjani Sridharan Signed-off-by: Dave Ertman --- sound/soc/sof/Kconfig| 8 -- sound/soc

[PATCH v3 00/10] Auxiliary bus implementation and SOF multi-client support

2020-10-22 Thread Dave Ertman
r() mutex held while traversing client list when unregistering clients updated includes in sof-client.h Dave Ertman (1): Add auxiliary bus support Ranjani Sridharan (9): ASoC: SOF: Introduce descriptors for SOF client ASoC: SOF: Create client driver for IPC test ASoC: SOF: ops: Add ops for

[PATCH v3 07/10] ASoC: SOF: sof-client: Add client APIs to access probes ops

2020-10-22 Thread Dave Ertman
: Dave Ertman --- sound/soc/sof/sof-client.c | 55 ++ sound/soc/sof/sof-client.h | 25 + 2 files changed, 80 insertions(+) diff --git a/sound/soc/sof/sof-client.c b/sound/soc/sof/sof-client.c index dd75a0ba4c28..838aaa5ea179 100644 --- a/sound/soc

[PATCH v3 08/10] ASoC: SOF: compress: move and export sof_probe_compr_ops

2020-10-22 Thread Dave Ertman
defining sof_probe_compr_ops again. Reviewed-by: Pierre-Louis Bossart Tested-by: Fred Oh Signed-off-by: Ranjani Sridharan Signed-off-by: Dave Ertman --- sound/soc/sof/compress.c | 9 + sound/soc/sof/compress.h | 1 + sound/soc/sof/intel/hda-dai.c | 12 3 files

[PATCH v3 10/10] ASoC: SOF: Intel: CNL: register probes client

2020-10-22 Thread Dave Ertman
creation of a separate sound card that can be used for audio data extraction from user specified points in the audio pipeline. Reviewed-by: Pierre-Louis Bossart Tested-by: Fred Oh Signed-off-by: Ranjani Sridharan Signed-off-by: Dave Ertman --- sound/soc/sof/intel/cnl.c | 18 +- 1 file

[PATCH v3 08/10] ASoC: SOF: compress: move and export sof_probe_compr_ops

2020-10-22 Thread Dave Ertman
defining sof_probe_compr_ops again. Reviewed-by: Pierre-Louis Bossart Tested-by: Fred Oh Signed-off-by: Ranjani Sridharan Signed-off-by: Dave Ertman --- sound/soc/sof/compress.c | 9 + sound/soc/sof/compress.h | 1 + sound/soc/sof/intel/hda-dai.c | 12 3 files

[PATCH v3 02/10] ASoC: SOF: Introduce descriptors for SOF client

2020-10-22 Thread Dave Ertman
will be used for maintaining the list of clients. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Ranjani Sridharan Co-developed-by: Fred Oh Signed-off-by: Fred Oh Signed-off-by: Dave Ertman --- sound/soc/sof/Kconfig | 19 ++ sound/soc/sof/Makefile | 3 + sound/soc/sof/core.c

[PATCH v3 09/10] ASoC: SOF: Add new client driver for probes support

2020-10-22 Thread Dave Ertman
easier for the probes functionality to be added for all platforms without having the need to modify the existing(15+) machine drivers. Reviewed-by: Pierre-Louis Bossart Tested-by: Fred Oh Signed-off-by: Ranjani Sridharan Signed-off-by: Dave Ertman --- sound/soc/sof/Kconfig | 18

[PATCH v3 06/10] ASoC: SOF: Intel: Remove IPC flood test support in SOF core

2020-10-22 Thread Dave Ertman
From: Ranjani Sridharan Remove the IPC flood test support in the SOF core as it is now added in the IPC flood test client. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Fred Oh Signed-off-by: Ranjani Sridharan Signed-off-by: Dave Ertman --- sound/soc/sof/Kconfig| 8 -- sound/soc

[PATCH v3 02/10] ASoC: SOF: Introduce descriptors for SOF client

2020-10-22 Thread Dave Ertman
will be used for maintaining the list of clients. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Ranjani Sridharan Co-developed-by: Fred Oh Signed-off-by: Fred Oh Signed-off-by: Dave Ertman --- sound/soc/sof/Kconfig | 19 ++ sound/soc/sof/Makefile | 3 + sound/soc/sof/core.c

[PATCH v3 03/10] ASoC: SOF: Create client driver for IPC test

2020-10-22 Thread Dave Ertman
in the driver is existing code that has been copied from the core. These will be removed from the SOF core making is less monolithic and easier to maintain. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Ranjani Sridharan Co-developed-by: Fred Oh Signed-off-by: Fred Oh Signed-off-by: Dave

[PATCH v3 09/10] ASoC: SOF: Add new client driver for probes support

2020-10-22 Thread Dave Ertman
easier for the probes functionality to be added for all platforms without having the need to modify the existing(15+) machine drivers. Reviewed-by: Pierre-Louis Bossart Tested-by: Fred Oh Signed-off-by: Ranjani Sridharan Signed-off-by: Dave Ertman --- sound/soc/sof/Kconfig | 18

[PATCH v3 07/10] ASoC: SOF: sof-client: Add client APIs to access probes ops

2020-10-22 Thread Dave Ertman
: Dave Ertman --- sound/soc/sof/sof-client.c | 55 ++ sound/soc/sof/sof-client.h | 25 + 2 files changed, 80 insertions(+) diff --git a/sound/soc/sof/sof-client.c b/sound/soc/sof/sof-client.c index dd75a0ba4c28..838aaa5ea179 100644 --- a/sound/soc

[PATCH v3 10/10] ASoC: SOF: Intel: CNL: register probes client

2020-10-22 Thread Dave Ertman
creation of a separate sound card that can be used for audio data extraction from user specified points in the audio pipeline. Reviewed-by: Pierre-Louis Bossart Tested-by: Fred Oh Signed-off-by: Ranjani Sridharan Signed-off-by: Dave Ertman --- sound/soc/sof/intel/cnl.c | 18 +- 1 file

[PATCH v3 05/10] ASoC: SOF: Intel: Define ops for client registration

2020-10-22 Thread Dave Ertman
registered. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Ranjani Sridharan Co-developed-by: Fred Oh Signed-off-by: Fred Oh Signed-off-by: Dave Ertman --- sound/soc/sof/intel/Kconfig| 9 +++ sound/soc/sof/intel/Makefile | 3 +++ sound/soc/sof/intel/apl.c | 16

[PATCH v3 04/10] ASoC: SOF: ops: Add ops for client registration

2020-10-22 Thread Dave Ertman
From: Ranjani Sridharan Add new ops for registering/unregistering clients based on DSP capabilities and/or DT information. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Ranjani Sridharan Signed-off-by: Dave Ertman --- sound/soc/sof/core.c | 10 ++ sound/soc/sof/ops.h

[PATCH v3 05/10] ASoC: SOF: Intel: Define ops for client registration

2020-10-22 Thread Dave Ertman
registered. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Ranjani Sridharan Co-developed-by: Fred Oh Signed-off-by: Fred Oh Signed-off-by: Dave Ertman --- sound/soc/sof/intel/Kconfig| 9 +++ sound/soc/sof/intel/Makefile | 3 +++ sound/soc/sof/intel/apl.c | 16

[PATCH v3 01/10] Add auxiliary bus support

2020-10-22 Thread Dave Ertman
Reviewed-by: Pierre-Louis Bossart Reviewed-by: Shiraz Saleem Reviewed-by: Parav Pandit Reviewed-by: Dan Williams Signed-off-by: Dave Ertman --- Documentation/driver-api/auxiliary_bus.rst | 228 ++ Documentation/driver-api/index.rst | 1 + drivers/base/Kconfig

[PATCH v3 01/10] Add auxiliary bus support

2020-10-22 Thread Dave Ertman
Reviewed-by: Pierre-Louis Bossart Reviewed-by: Shiraz Saleem Reviewed-by: Parav Pandit Reviewed-by: Dan Williams Signed-off-by: Dave Ertman --- Documentation/driver-api/auxiliary_bus.rst | 228 ++ Documentation/driver-api/index.rst | 1 + drivers/base/Kconfig

[PATCH v3 04/10] ASoC: SOF: ops: Add ops for client registration

2020-10-22 Thread Dave Ertman
From: Ranjani Sridharan Add new ops for registering/unregistering clients based on DSP capabilities and/or DT information. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Ranjani Sridharan Signed-off-by: Dave Ertman --- sound/soc/sof/core.c | 10 ++ sound/soc/sof/ops.h

[PATCH v3 00/10] Auxiliary bus implementation and SOF multi-client support

2020-10-22 Thread Dave Ertman
r() mutex held while traversing client list when unregistering clients updated includes in sof-client.h Dave Ertman (1): Add auxiliary bus support Ranjani Sridharan (9): ASoC: SOF: Introduce descriptors for SOF client ASoC: SOF: Create client driver for IPC test ASoC: SOF: ops: Add ops for

[PATCH v2 1/6] Add ancillary bus support

2020-10-05 Thread Dave Ertman
Reviewed-by: Parav Pandit Reviewed-by: Dan Williams Signed-off-by: Dave Ertman --- Documentation/driver-api/ancillary_bus.rst | 229 + Documentation/driver-api/index.rst | 1 + drivers/bus/Kconfig| 3 + drivers/bus/Makefile

[PATCH v2 2/6] ASoC: SOF: Introduce descriptors for SOF client

2020-10-05 Thread Dave Ertman
will be used for maintaining the list of clients. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Ranjani Sridharan Co-developed-by: Fred Oh Signed-off-by: Fred Oh Signed-off-by: Dave Ertman --- sound/soc/sof/Kconfig | 19 ++ sound/soc/sof/Makefile | 3 + sound/soc/sof/core.c

[PATCH v2 3/6] ASoC: SOF: Create client driver for IPC test

2020-10-05 Thread Dave Ertman
Bossart Signed-off-by: Ranjani Sridharan Co-developed-by: Fred Oh Signed-off-by: Fred Oh Signed-off-by: Dave Ertman --- sound/soc/sof/Kconfig | 10 + sound/soc/sof/Makefile | 4 + sound/soc/sof/sof-ipc-test-client.c | 332 3 files

[PATCH v2 0/6] Ancillary bus implementation and SOF multi-client support

2020-10-05 Thread Dave Ertman
remove changed the signature of sof_debug_ipc_flood_test() fix a looping error in ancillary_match_id updated error value in sof_client_dev_register() mutex held while traversing client list when unregistering clients updated includes in sof-client.h Dave Ertman (1): Add ancillary bus support Fre

[PATCH v2 5/6] ASoC: SOF: Intel: Define ops for client registration

2020-10-05 Thread Dave Ertman
registered. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Ranjani Sridharan Co-developed-by: Fred Oh Signed-off-by: Fred Oh Signed-off-by: Dave Ertman --- sound/soc/sof/intel/Kconfig| 9 + sound/soc/sof/intel/Makefile | 3 ++ sound/soc/sof/intel/apl.c | 18

[PATCH v2 4/6] ASoC: SOF: ops: Add ops for client registration

2020-10-05 Thread Dave Ertman
From: Ranjani Sridharan Add new ops for registering/unregistering clients based on DSP capabilities and/or DT information. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Ranjani Sridharan Signed-off-by: Dave Ertman --- sound/soc/sof/core.c | 10 ++ sound/soc/sof/ops.h

[PATCH v2 6/6] ASoC: SOF: debug: Remove IPC flood test support in SOF core

2020-10-05 Thread Dave Ertman
From: Fred Oh Remove the IPC flood test support in the SOF core as it is now added in the IPC flood test client. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Fred Oh Signed-off-by: Ranjani Sridharan Signed-off-by: Dave Ertman --- sound/soc/sof/Kconfig| 8 -- sound/soc/sof/debug.c

[PATCH 3/6] ASoC: SOF: Create client driver for IPC test

2020-09-30 Thread Dave Ertman
Bossart Signed-off-by: Ranjani Sridharan Co-developed-by: Fred Oh Signed-off-by: Fred Oh Signed-off-by: Dave Ertman --- sound/soc/sof/Kconfig | 10 + sound/soc/sof/Makefile | 4 + sound/soc/sof/sof-ipc-test-client.c | 314 3 files

[PATCH 0/6] Ancillary bus implementation and SOF multi-client support

2020-09-30 Thread Dave Ertman
ces (mic/speakers etc), HDMI, sensing, probes, debug etc. In this series, we demonstrate the usage of the ancillary bus with the help of the IPC test client which is used for testing the serialization of IPCs when multiple clients talk to the DSP at the same time. Dave Ertman (1): Add ancillary bus

[PATCH 6/6] ASoC: SOF: debug: Remove IPC flood test support in SOF core

2020-09-30 Thread Dave Ertman
From: Fred Oh Remove the IPC flood test support in the SOF core as it is now added in the IPC flood test client. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Fred Oh Signed-off-by: Ranjani Sridharan Signed-off-by: Dave Ertman --- sound/soc/sof/Kconfig| 8 -- sound/soc/sof/debug.c

[PATCH 1/6] Add ancillary bus support

2020-09-30 Thread Dave Ertman
Reviewed-by: Parav Pandit Reviewed-by: Dan Williams Signed-off-by: Dave Ertman --- Documentation/driver-api/ancillary_bus.rst | 230 + Documentation/driver-api/index.rst | 1 + drivers/bus/Kconfig| 3 + drivers/bus/Makefile

[PATCH 2/6] ASoC: SOF: Introduce descriptors for SOF client

2020-09-30 Thread Dave Ertman
will be used for maintaining the list of clients. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Ranjani Sridharan Co-developed-by: Fred Oh Signed-off-by: Fred Oh Signed-off-by: Dave Ertman --- sound/soc/sof/Kconfig | 19 ++ sound/soc/sof/Makefile | 3 + sound/soc/sof/core.c

[PATCH 4/6] ASoC: SOF: ops: Add ops for client registration

2020-09-30 Thread Dave Ertman
From: Ranjani Sridharan Add new ops for registering/unregistering clients based on DSP capabilities and/or DT information. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Ranjani Sridharan Signed-off-by: Dave Ertman --- sound/soc/sof/core.c | 10 ++ sound/soc/sof/ops.h

[PATCH 5/6] ASoC: SOF: Intel: Define ops for client registration

2020-09-30 Thread Dave Ertman
registered. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Ranjani Sridharan Co-developed-by: Fred Oh Signed-off-by: Fred Oh Signed-off-by: Dave Ertman --- sound/soc/sof/intel/Kconfig| 9 ++ sound/soc/sof/intel/Makefile | 3 ++ sound/soc/sof/intel/apl.c | 18