Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp3096739lqt; Tue, 23 Apr 2024 10:09:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXffL60y5MVMcWeYiHLRFNGNOP0lp+oGUKkKeMOFNBB1DSwzsHPyTk49GVbsm5uT1s3xOu9rQbbdkQICXO6moq0EOEL69T8FNnFya/aXg== X-Google-Smtp-Source: AGHT+IE4AVFlLdIMXKV5zgqvFEDFMBuNdSjzy/Ef7H4RPL6JO1Qps443BNpQcn6YsJh43an4A14U X-Received: by 2002:a05:6870:230d:b0:22e:b3c6:96cf with SMTP id w13-20020a056870230d00b0022eb3c696cfmr17366523oao.49.1713892151434; Tue, 23 Apr 2024 10:09:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713892151; cv=pass; d=google.com; s=arc-20160816; b=qVegIuPv8rdqKLVQNquoc7viLid+zm1tM0y6vYxaFMMbdyuEYsPnX5n9PDD1PupTp2 ss06pMGvUHb9XxPknO8TRvDK15i20BiauKL4kNpKM1ERRmriry96ksU7lgV9a2cPt7Ub nDkAcLvbdy+f3CMMHkXd/mG5qeX2YRQCXO/M7ljG0rs8W2BYbsMg7KoItYhKhD2r+eQY Mh9kOgK2JlUZCXA0zm6oHSSa7Fb8o7Bznms3PwalCO4Erhcu4HV2WlgmJUOjp06aiTAN sN9otV5geKzFDBy9s/36YNmpHm8j5kqtExtF4mJZqu4HqRcqOJSs30kGG+mB7XGvrUhS ofKA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Ao7OtFR6Y/gnMao2EDCJiWEcU30WgANyFzpo/uxrtFM=; fh=BsWtVNPTOMarJP0cxyWpcyGce1AIOuO5V70t1G65bxc=; b=vjshF0pGXbxF+/jjaP3qK9mv/aW+2djT4Ob/+b1HKHJn5n15pht1b6glLlj0KU1931 RXTBOHobmndjcK25Jh5cuxxkMLOtIMpV/e3AK5esSwDaILrHHDPL2PqoloSEQdp2VOQC EtmnfrZMgd0R6w2jTmQ4KqnzevNMwf8TwNraEinEmWVcSWt1xXYyG7B1boCNz/Qt++/y +mRaZ5QNgcyEADmQpOu5gEKOwUTw6xZ1OjiI2y+IRyLOV5YzOSMhY0Fw1nuopzPjEfKB Vr1pW335CzSR0kVR7N/lpLR53yVwBs1VBfZXZEhzXuGG/Bl3WIRgblJj2CAN7J5rREFt qfZA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HTvvMcLM; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-155508-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155508-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id o25-20020a634e59000000b005f0a5269689si10082762pgl.659.2024.04.23.10.09.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 10:09:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-155508-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HTvvMcLM; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-155508-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155508-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 36481B2325A for ; Tue, 23 Apr 2024 15:57:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 42BAA13CA83; Tue, 23 Apr 2024 15:57:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="HTvvMcLM" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0B43913CA82; Tue, 23 Apr 2024 15:57:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713887825; cv=none; b=ovDgBoHHI0u1xcib87u0oVtpZaKc7du6D1VjG6orAfAF9fUvuEEdzLlmyPxEwcyLg+JnJhaJ059MybusoihooDwFYinOKQSFkiI8SVbHglYwLs0fRYTTMioPqD7qeFI+O8M4tKvgcncTowc6c9ARyVY4TOrDC3Inb2af/9qJQKQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713887825; c=relaxed/simple; bh=Ao7OtFR6Y/gnMao2EDCJiWEcU30WgANyFzpo/uxrtFM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=coiHfoBgCrd36QBESezXw7WF+Pm9uwiYnzd8ZX4wWnsLhntiehoXoDGdx0XL6mdT3nftXMB+D1gptqn28hq9YIUCCVfRzOKjehkJ2WfPwFJLu+iz+7tUauENiX6X4Do1xRRsTG/v8m/+BNnE5zSH2EbM/U4Aw3io4oSBjmCRhvA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=HTvvMcLM; arc=none smtp.client-ip=192.198.163.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713887824; x=1745423824; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=Ao7OtFR6Y/gnMao2EDCJiWEcU30WgANyFzpo/uxrtFM=; b=HTvvMcLMVuSg6mpKJlEsThpGUuovfAZ9kWbOLHF4WTv3ecgBOinKz8X4 Jgl9n3jPGgqmUzw5kC+qmrPsw7aK2cMEIbcwBAZN0IB6EQ8AcrNOKWYPB +wzeWbObw5MEceBITnkkzc0m7i9ziJjpl2MZ9L5MgrXgksVn+P5Q3Mety Df3vY0Il6VWOyBvYd8u9LNYj6gRe1ligOdcKdoahLXW2UJW+Dy6NJB+CF ZMoh66b3plPDgbTjis5WQLjgUQYYD9Ez3LYKHrm2qWdqez9WWn3dqnxUU rtn1uBLqBWUYDeiQWt9c7IM8FVJ5H0UAH+Hap3u9z2LVZkZB6P9zoY+rw A==; X-CSE-ConnectionGUID: E3M+VWHfT8SLsFy2odAaPg== X-CSE-MsgGUID: JNvgenu4Rqm6xITzb/MmHQ== X-IronPort-AV: E=McAfee;i="6600,9927,11053"; a="12415285" X-IronPort-AV: E=Sophos;i="6.07,222,1708416000"; d="scan'208";a="12415285" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2024 08:57:03 -0700 X-CSE-ConnectionGUID: vO5xSsY6RmKdl51eWK21mg== X-CSE-MsgGUID: en4GCTrdSViTMNvF3cDOIQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,222,1708416000"; d="scan'208";a="28865302" Received: from alexkiru-mobl.amr.corp.intel.com (HELO [10.212.38.129]) ([10.212.38.129]) by fmviesa005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2024 08:57:03 -0700 Message-ID: <735d6dbc-86e4-4747-9bd9-2574ead7d039@linux.intel.com> Date: Tue, 23 Apr 2024 10:57:01 -0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 00/14] ASoC: Constify local snd_sof_dsp_ops To: Krzysztof Kozlowski , Liam Girdwood , Peter Ujfalusi , Bard Liao , Ranjani Sridharan , Daniel Baluta , Kai Vehmanen , Mark Brown , Jaroslav Kysela , Takashi Iwai , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Matthias Brugger , AngeloGioacchino Del Regno Cc: sound-open-firmware@alsa-project.org, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org References: <20240414-n-const-ops-var-v1-0-8f53ee5d981c@kernel.org> <89f8f0be-2534-46c8-9058-cabea4f68568@linux.intel.com> <9d1eda85-32a0-4e53-86ca-ce3137439bd7@kernel.org> <138ac465-1576-4e86-a05d-63f8acc6fb70@kernel.org> <3acfbe3c-8b83-4c40-83c2-437f963fd25a@linux.intel.com> <7490bce3-3bd6-4beb-b8be-d47a6b0a30f0@kernel.org> Content-Language: en-US From: Pierre-Louis Bossart In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit > Are we talking about basic C now? Of course it does not mean that and I > already explained what is the goal of this - the static or global memory > in the driver can be moved to rodata. the dsp_ops used by the Intel drivers cannot be moved to rodata in all cases. the baseline is constant, all extensions for TGL+ are dynamically allocated and modified.