Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B3854C433EF for ; Tue, 16 Nov 2021 18:09:15 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 85D6461357 for ; Tue, 16 Nov 2021 18:09:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 85D6461357 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 493661794; Tue, 16 Nov 2021 19:08:22 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 493661794 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1637086152; bh=etpQTX48bmygiaYmk7wlzJSH1DuYnmgCAYBcwBzK3c0=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=CmcF/X5QmgC9T13OXTyVp3xhR5sGlEW+1b0vx4lvxjbI3lii67VjwA4Wg2YSpb93O qfs7qVixGCF0k3hSfiZC5BI/UiKQ3ysdVFcTOhaujm8a4Rqvg5iPUGFnrz/WRyKqFp sfcwuslfNOSDStJhlYYDeXPy66yYODM45K1QRQT4= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id BFF4BF800FA; Tue, 16 Nov 2021 19:08:21 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 8253DF80272; Tue, 16 Nov 2021 19:08:18 +0100 (CET) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id DAFBCF800FA for ; Tue, 16 Nov 2021 19:08:10 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz DAFBCF800FA Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="S/WB0iFx" Received: by mail.kernel.org (Postfix) with ESMTPSA id 48B1B61546; Tue, 16 Nov 2021 18:08:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1637086086; bh=etpQTX48bmygiaYmk7wlzJSH1DuYnmgCAYBcwBzK3c0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=S/WB0iFx6wMFITIedZY7XmCqWv4zYMLPXAi0GzzbejfXSMpH6pIC96gzCWdyQIcuO dmBu57jYyI14lNe2ltfFxgTr4WvghUaIoBBJ0sQGCI0rr5Qrc9niQ9ja/8J6uFWy/2 OrqecN0c6qrHWUvb3icM2LhfQughwLSwKQHioR9qbnaRJSXaQ1QYtPXaq1kYAfss/t M1E7nkqlahyZ1rTt6/bahazd/jia5W/QDXKIvGzVHPHIiWlN1QVpxsrkjdVcA8a4+H MopZdaCdxCgGlsjL/Aj2O5lBQENON5vlU8eAmSuQ1N9qwiq4QW/+HQF4/NBIntF2Va 16BLJ6XABEQrw== Date: Tue, 16 Nov 2021 18:08:02 +0000 From: Mark Brown To: Charles Keepax Subject: Re: [PATCH 03/10] firmware: cs_dsp: Add version checks on coefficient loading Message-ID: References: <20211116161609.12223-1-ckeepax@opensource.cirrus.com> <20211116161609.12223-3-ckeepax@opensource.cirrus.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="I4mzyHE60lWXyD8F" Content-Disposition: inline In-Reply-To: <20211116161609.12223-3-ckeepax@opensource.cirrus.com> X-Cookie: UNIX enhancements aren't. Cc: patches@opensource.cirrus.com, alsa-devel@alsa-project.org, lgirdwood@gmail.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" --I4mzyHE60lWXyD8F Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 16, 2021 at 04:16:02PM +0000, Charles Keepax wrote: > The firmware coefficient files contain version information that is > currently ignored by the cs_dsp code. This information specifies which > version of the firmware the coefficient were generated for. Add a check > into the code which prints a warning in the case the coefficient and > firmware differ in version, in many cases this will be ok but it is not > always, so best to let the user know there is a potential issue. >=20 > Signed-off-by: Charles Keepax > Signed-off-by: Simon Trimmer > --- This has Simon's signoff after yours but no other indication of his involvement? --I4mzyHE60lWXyD8F Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmGT84EACgkQJNaLcl1U h9Dybgf+IQYXZUqbI2ElORUCW7vtwWeAMjfyoMVXpkwx4ZKYe/OxxiTJXlzNqd/i Pw2GgRO2ZNO7acdNElAEl/qjqlcmZuHupmP3opa+2WGyQa/foiCstHZS3tayeLi0 K1Zqz6my8Sc5TxpLeXgDk4wbwigfwOrd7ZZXXHBG4OgSI0pWEAy++IIa5DDGKOD6 OHUsTsg+x8QQrGHx2nRelyQLAceSbsrbxCS0O9WFhUBFyXNVu33Phgwt6gX+88Su 2CDweffxP4V5modqn7hDc8Lh53PeRbci4A7mcn8aU99+vpntZ9Xiy2YsSSGZ7A3M 59N2hCxir7UUshZhguVYYidRADJMPw== =lr6Y -----END PGP SIGNATURE----- --I4mzyHE60lWXyD8F--