Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9B790C433FE for ; Wed, 15 Sep 2021 13:02:26 +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 142606113E for ; Wed, 15 Sep 2021 13:02:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 142606113E 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 DCFD217DE; Wed, 15 Sep 2021 15:01:32 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz DCFD217DE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1631710943; bh=PgDil3PrTalF6yA+yZogCpSrTsKqXjtMoVFDkSYgyHM=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=bt9bXX2SbhfuudxBMpfgAiCnHZD3n0gfBAR2k9wU/UT9MJ8BucVYQRc8f5C0Q4K/S cArCbRaCIdssx5vBK6U5kYeIvgnmzg7psQbUTEUx3VLbpcIZOJj56B6f1m2vJpMSl0 xDi20LpO/BUBdqrV5VqYMp3knxMFZhEdWQKY5O6c= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 5EE3EF80227; Wed, 15 Sep 2021 15:01:32 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 3CE74F8027C; Wed, 15 Sep 2021 15:01:31 +0200 (CEST) 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 9B915F80117 for ; Wed, 15 Sep 2021 15:01:26 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 9B915F80117 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pOdpoAoA" Received: by mail.kernel.org (Postfix) with ESMTPSA id 81C3E61359; Wed, 15 Sep 2021 13:01:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631710882; bh=PgDil3PrTalF6yA+yZogCpSrTsKqXjtMoVFDkSYgyHM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pOdpoAoAedQgwV7/v3uMXRDTnAmBaH2GP4FlWC6XEs2/aimgrYyThPf+yhrHYhXby YB0eHN4DYhOg3gRJdl4D9AlfjShmO+XQBuvvXC9DoNQ0zo8T3/1kTTRopjLkG9KMxB rlXrH1U5KkffDF1k2o3ZN0y2+LyNRw5leU/Pc1WNCRyTXU+uwmVAoxFzwMuLzdUyft 3Jq/GLC6fzvsMPJ7qUh2K6qaauVPz5ZFo+Kebq0FmPEwURf98UVvCCnuLHYAWVfvuk 23fsnmDFx07PfzdHGfHc6JZ8qh0CtHvKjWeeiPQYHuOhcNCo61VJJ6BlK8ftOOPZOs 1lkutHeK6kYDA== Date: Wed, 15 Sep 2021 14:00:42 +0100 From: Mark Brown To: Peter Ujfalusi Subject: Re: [PATCH 04/12] ASoC: SOF: imx: imx8: Bar index is only valid for IRAM and SRAM types Message-ID: <20210915130041.GG5389@sirena.org.uk> References: <20210915122116.18317-1-peter.ujfalusi@linux.intel.com> <20210915122116.18317-5-peter.ujfalusi@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RDS4xtyBfx+7DiaI" Content-Disposition: inline In-Reply-To: <20210915122116.18317-5-peter.ujfalusi@linux.intel.com> X-Cookie: Absence makes the heart grow frantic. User-Agent: Mutt/1.10.1 (2018-07-13) Cc: guennadi.liakhovetski@linux.intel.com, alsa-devel@alsa-project.org, kai.vehmanen@linux.intel.com, ranjani.sridharan@linux.intel.com, lgirdwood@gmail.com, daniel.baluta@gmail.com, pierre-louis.bossart@linux.intel.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" --RDS4xtyBfx+7DiaI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 15, 2021 at 03:21:08PM +0300, Peter Ujfalusi wrote: > i.MX8 only uses SOF_FW_BLK_TYPE_IRAM (1) and SOF_FW_BLK_TYPE_SRAM (3) > bars, everything else is left as 0 in sdev->bar[] array. >=20 > If a broken or purposefully crafted firmware image is loaded with other > types of FW_BLK_TYPE then a kernel crash can be triggered. This is a fix which should have been at the start of the series. --RDS4xtyBfx+7DiaI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmFB7nkACgkQJNaLcl1U h9Aw+wf+NNYDOdcxqk2Cp1jY8eBn6CRJ8XpZGNl10iAZkqJkt6CJ+uZhXVEJxk59 dDFBPlX4cnS7b4vi/CvcjHsrk+Z9Edw8gSRwqm1cIZ3aonLxHFd4C3h4/nMeVHO2 YpKyXl/cijgskP3e20sLleZ+lV0/2fwvdRVRTMNniSQAc+Sqzqdim3dRX72LxMai A0DKMdMTYjR4kpotjvO3Pmgmz43Yq+pM6Pj1nAuP16zY44VLetd785YDXrQ9WNaa UVyfUuVybbdW5d5rqDg50stvKCVmzVO82Mz1ovyGwHJ0M1gXE47srPqDTfs6Ql5T OgFZf3ngH3fRMvc6FOzqbqsMCy8SoA== =Gyob -----END PGP SIGNATURE----- --RDS4xtyBfx+7DiaI--