From mboxrd@z Thu Jan 1 00:00:00 1970 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 63323C433EF for ; Fri, 4 Mar 2022 16:27:34 +0000 (UTC) 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 648E51B33; Fri, 4 Mar 2022 17:26:42 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 648E51B33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1646411252; bh=WDo6Pg/+B0rxmuevopGEoJ5ODA8RryFv4OgtIE+rDcI=; h=Subject:From:To:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=KtR4gGIQTAQCx7jv51iwBI8rVL8hxgKBCVe/ulx1EQ+CQ9/iXhb5tDG0iHGlMVJlX zMUmz9mWLNW3VV78GmIvTD+lbhkai6zjaTHNq6sbfy68uJ947eiM/4vEydgsd5IUPB u5hiaQBkRgUqV9jiN5fVGwuMzVewt55UBbMbkqms= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 1266BF800FA; Fri, 4 Mar 2022 17:26:42 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 30F22F800F0; Fri, 4 Mar 2022 17:26:40 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id A7C71F800F0 for ; Fri, 4 Mar 2022 17:26:31 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz A7C71F800F0 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Qnj8ZXXA" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646411194; x=1677947194; h=message-id:subject:from:to:cc:date:in-reply-to: references:mime-version:content-transfer-encoding; bh=WDo6Pg/+B0rxmuevopGEoJ5ODA8RryFv4OgtIE+rDcI=; b=Qnj8ZXXAGEWUsKDfojZsyYUSb5RCae1dcZaek5QdIKrT3QkW81LMcG5+ hsP+6LHr73O9ZIbSevW/tGctb0J3vNnx+9o64qRhKSuMc9OU+vmY/T2/p cpnQ3phBjaCsbPkspA+jSqbuzW+RDHddGtu4jPoYj70xhxGxxCFWH4AnI AycWFRPvTXLzByY7EH8M3SzO31rGU68QqZc5K2uDr6JvQLuzu1m1fohnf 12pHXLTPltseQInPQ9g0lT8DHRbUYKY3OMzBJdH4JEtznB76XNoJeJEKu a5wCZovHUcjE8+iNDMKbqrh11odHoaD2Y0MdTgVI1FUVpUE242Bpwx3cN g==; X-IronPort-AV: E=McAfee;i="6200,9189,10276"; a="340438959" X-IronPort-AV: E=Sophos;i="5.90,155,1643702400"; d="scan'208";a="340438959" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Mar 2022 08:26:29 -0800 X-IronPort-AV: E=Sophos;i="5.90,155,1643702400"; d="scan'208";a="686915782" Received: from srstocke-mobl.amr.corp.intel.com ([10.251.130.3]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Mar 2022 08:26:29 -0800 Message-ID: <9e9f98514cc1c2106659126ff77ed385ebe2157f.camel@linux.intel.com> Subject: Re: [PATCH v3 09/17] ASoC: Intel: avs: Add ROM requests From: Ranjani Sridharan To: Cezary Rojewski , alsa-devel@alsa-project.org Date: Fri, 04 Mar 2022 08:26:29 -0800 In-Reply-To: <20220304145755.2844173-10-cezary.rojewski@intel.com> References: <20220304145755.2844173-1-cezary.rojewski@intel.com> <20220304145755.2844173-10-cezary.rojewski@intel.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.3-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: upstream@semihalf.com, harshapriya.n@intel.com, rad@semihalf.com, tiwai@suse.com, pierre-louis.bossart@linux.intel.com, hdegoede@redhat.com, broonie@kernel.org, amadeuszx.slawinski@linux.intel.com, cujomalainey@chromium.org, lma@semihalf.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" On Fri, 2022-03-04 at 15:57 +0100, Cezary Rojewski wrote: > ROM requests are messages initiated by Host to alter firmware early > boot > process. They specify whether the next boot should be a fresh start > or if > IMR can be used to speed things up. > > Signed-off-by: Amadeusz Sławiński < > amadeuszx.slawinski@linux.intel.com> > Signed-off-by: Cezary Rojewski > --- > sound/soc/intel/avs/messages.c | 18 ++++++++++++++++++ > sound/soc/intel/avs/messages.h | 14 ++++++++++++++ > 2 files changed, 32 insertions(+) > > diff --git a/sound/soc/intel/avs/messages.c > b/sound/soc/intel/avs/messages.c > index e8f441b28d71..f7d00e541323 100644 > --- a/sound/soc/intel/avs/messages.c > +++ b/sound/soc/intel/avs/messages.c > @@ -12,6 +12,24 @@ > > #define AVS_CL_TIMEOUT_MS 5000 > > +int avs_ipc_set_boot_config(struct avs_dev *adev, u32 dma_id, u32 > purge) Does purge set to true indicate a fresh boot and a false indicate IMR restore? A description would help. Thanks,Ranjani