~canonical-hwe-team/hwe-next/+git/sof:cml-005-drop-stable

Last commit made on 2019-07-27
Get this branch:
git clone -b cml-005-drop-stable https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

Name:
cml-005-drop-stable
Repository:
lp:~canonical-hwe-team/hwe-next/+git/sof

Recent commits

98da4ee... by Marcin Rajwa <email address hidden> on 2019-07-27

selector: remove debugging logs

This patch removes left debugging logs.

Signed-off-by: Marcin Rajwa <email address hidden>

8894422... by Marcin Rajwa <email address hidden> on 2019-07-27

kpb: remove unnecessary one byte padding for history buffer

This patch removed not needed space of one byte after
this history buffer. We added this to avoid situation
in which one buffer starts when other ends but this is
not an issue.

Signed-off-by: Marcin Rajwa <email address hidden>

f65d594... by Marcin Rajwa <email address hidden> on 2019-07-27

kpb: forbid draining requests bigger than history_buffer

This patch adds a check if history depth request is
bigger than history buffer size. If so refuse to drain.

Signed-off-by: Marcin Rajwa <email address hidden>

5bca2d2... by Marcin Rajwa <email address hidden> on 2019-07-27

kpb: improve reset procedure in regards to timeouts

This patch takes care to update source buffer
before we leave timeout error handler. Also, we properly
reset state from buffering to whatever state was set before we enterd
buffering task.

Signed-off-by: Marcin Rajwa <email address hidden>

4f590d4... by Marcin Rajwa <email address hidden> on 2019-07-24

kpb: fine tune states and reset sequence

This patch improves reset handling and state switches.

Signed-off-by: Marcin Rajwa <email address hidden>

66d42c9... by Marcin Rajwa <email address hidden> on 2019-07-24

kpb: enable secure reset at draining time

This patch checks if there is pending RESET request while
KPB is draining data to host. If there is, KPB gracefully
stops draining, logs how much was drained and issues
reset finish.

Signed-off-by: Marcin Rajwa <email address hidden>

a444e59... by Marcin Rajwa <email address hidden> on 2019-07-24

kpb: enable secure reset at buffering time

This patch checks if there is pending RESET request while
KPB is in buffering state.

Signed-off-by: Marcin Rajwa <email address hidden>

4c44b5a... by Marcin Rajwa <email address hidden> on 2019-07-24

kpb: add buffering timeout

This patch adds maximum time of one millisecond for buffering.
If that time passed and we are still buffering it will
auto terminate and reset KPB.

Signed-off-by: Marcin Rajwa <email address hidden>

2416eb2... by Marcin Rajwa <email address hidden> on 2019-07-24

kpb: check if KPB is in state permitted for copy

This change adds a check before we start kpb_copy()
in order to verify if:
1. KPB is in allowed state,
2. RESET has not been requested. If so, we skip copy
and finish reset procedure.

Signed-off-by: Marcin Rajwa <email address hidden>

d983ef1... by Marcin Rajwa <email address hidden> on 2019-07-24

kpb: make reset more secure and extend KPB states

This patch takes care of ongoing KPB jobs like buffering
or draining which needs to be terminated with care.

Signed-off-by: Marcin Rajwa <email address hidden>