Re: [PATCH v4 00/17] ALSA: hda: cirrus: Add initial DSP support and firmware loading

From: Jaroslav Kysela
Date: Mon May 30 2022 - 07:41:06 EST


On 30. 05. 22 13:07, Takashi Iwai wrote:

And yet moreover, we'll need to consider some way for protecting
against DoS-like behavior by frequent kctl changes.

I agree, but only the driver knows details about the kctl operation time and resource constraints. So the driver should implement a rate or i/o limit for those controls. We may offer helper functions in the ALSA core for this job (if required).

Jaroslav

--
Jaroslav Kysela <perex@xxxxxxxx>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.