Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp1033440lqs; Wed, 6 Mar 2024 04:35:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWN3UKJAUNbsAm5mOArRYarHApMdoOGEknUIk+OLXbAXMCr9+yFy4YfxZj0udw2pa1uXgG+/l+69avofGsin0IXRf91PKpZVZAi06Mb1A== X-Google-Smtp-Source: AGHT+IHc7cn/S3EGBeccAyHRRmh4f2Zs51riBZkZo3z5MXEO+DNvpvCltT62mIiSOjptaggct86U X-Received: by 2002:a05:6808:bc4:b0:3c2:10cc:72fb with SMTP id o4-20020a0568080bc400b003c210cc72fbmr5153166oik.48.1709728549769; Wed, 06 Mar 2024 04:35:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709728549; cv=pass; d=google.com; s=arc-20160816; b=Z2FqG0Dk6Pd8iVKE3x9wPsCRiqvn30qCHdrDIcJuqSByYzvEfEqFRv6CSo21EO+VEf F/i5i6XnctWwwQ7M3IebSdQpL7QH2dnJAahGD2PyixJpOXG9iLd8Jw+v+K/uemmM+8KL rP29eJpE4sZ+9Ad39IULkGS4g+g9bszJOHRl8pJnW/iMQ/mQQQgZXLrKnX+6s2ecyjL5 x6vt7Z/wJWjutDiXsSeMyldkEJ0v2eKvtUfhh4DxqjUwUDQH1C7i8+4EUF+JnnOnQ6jE 8UJF3M/0aNAKdex6kgzMeDgenAAerhjzIXhsP2TEBICot32h9aLgDSdC9P6imizb/zuF C1KA== 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:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=3P65RJ0ScisBLyG1I2ooEc4j5/yHla4aIpipvPFtxpw=; fh=dPCTSp5Li6+gCYZj4PBNNT/QwqJEn50Eb7Q1OElQ6vA=; b=aANTAR9m6UuhVmvGygHtY8MfJYxtDJgvP1Geh86a3UYAQWuZ/e0QfG4Vxlo+NvhnhO 3OVo1y2wjpXFPLI/Af8hlwxuCeVDHZrpRntftyTue/LotLKvkE/gA7A/4XL0j9n6w6Z6 Q/0PD+IumTSUvgqr6WhcTB6FvYtfSHQb7ohgHMFVLVW3JHEEO4Ulq4MV/axRFKJN6/lT z9KxJqWGwTRJvgLvAxXn7DhaNTYty6fHju+N8lgjxNBePgAC7+fMQiSj66FXQZ+nYXFO +9K+VHVnpJ8FLWzUUH4fDQ/Q9PdV0bcjXc1UBUnbkK90qlrcFdnR9JZ2BmxFGy4qg/L+ nXwg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b3msKupl; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-93900-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93900-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q123-20020a632a81000000b005dc98dad591si11714064pgq.707.2024.03.06.04.35.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 04:35:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-93900-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b3msKupl; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-93900-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93900-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6D98F28978E for ; Wed, 6 Mar 2024 12:33:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 066DA86633; Wed, 6 Mar 2024 12:33:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="b3msKupl" Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 86318130E2F for ; Wed, 6 Mar 2024 12:32:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709728379; cv=none; b=oJWeQaF6rj8U/XCtE/Y/PiYj4gpBcdLaBDiduS0S9I680yJiUq9oCo2C9uk5qthOTKZ9uXM39SoRfmJ58CXywSqVp2LqYpJBoPVmPVadeZn5AUk/pOoagwdvtMl5X8Da0eOF1c6UKVKicyEF2LWH0LHaa/e/xHhSBU/ZhI4bUx8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709728379; c=relaxed/simple; bh=8wvd3gt3M/oXf0kj888CTRPdhQLqnel9BUfji3e//qY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=O5s24ZxVRDkWXiEubAdW0GgToeSfECRxa5jmatwE8f27rLxgk76ePBQXBZesqcjns97NYyG+8gjF4ALEYiyRcQ/+MpfO2WHl1cmZTbJDeHeKADs7UOcAVmppnoIHB/VzCW0WIcgo5HoO5P6b1j05E276n1ZuHFULunWXPHuI8WA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=b3msKupl; arc=none smtp.client-ip=209.85.128.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-412f0655d81so9594085e9.2 for ; Wed, 06 Mar 2024 04:32:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709728376; x=1710333176; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=3P65RJ0ScisBLyG1I2ooEc4j5/yHla4aIpipvPFtxpw=; b=b3msKuplfiimQt57VzIso0Zet0BT3pj79PPsftWyS2E7vejPkWIA8kRH1hHxu0AZkW 1yJ75Gj/R5bCgxlVbXzIfEBaML4+I86LpNwx9rCPXEKHOkj8rgh2ZSso8P8EuXbfUUnR i5lmGZFxjJfXj69nHZe0URn/vqebocBeHBj2HXJskcDS6wbBlwdlSwpkrhXZDxMJF20p HrN76eOtfo7JkkgErLOUvMHGVpkg1Rh/ReY8ohnNKMoM25NKUfX05TE7XqaV7MWdenup Rt+yBfN5+D1kictUecbDAoIqA3MQpaVKiOMcjq+tKFHRFKsRE+oEoaFzQXk/yc6MloYB crDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709728376; x=1710333176; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3P65RJ0ScisBLyG1I2ooEc4j5/yHla4aIpipvPFtxpw=; b=wFE7pwx5ewMUo5vc399Q3U+Ca2h5IB3uwhXOu4ZSnVAIg19e5YGLcVzQP9R+idH7SO XHmUAQF36oz/hVMZF6CMdEFsWX+NWovVRIxFNSnB13MhhF+WR3tIfTRKufaQ2UW9JOgf 63BcnGcznQAVhoeB4U1KEc51bQ7PBlVXZh3vHCWfjMN8dvokMQwGJud93lGWHusVndXx 6+reaXFnDVHIeNq7ADJ9syZXCbfy5C3apI0Ww9OgJSE+B0fw3bN6JlLYocT4DKjpR/th Zd5zttR2odHn17gcSNGFAxcRpW1Pj2bBcuT6Bx+qJ65/ZGfeNfpZ/c8PGi5yaVmPfbp2 brcQ== X-Forwarded-Encrypted: i=1; AJvYcCUy6lHwH7gR2qoFCodfq53w3usF7mLWbb4lfzqTkw7g7QV7FE5e5erHm9CBzK0jeHmunmQqQHDz1Ep8DsC9dLm5QeTXp5v2UHXJigPZ X-Gm-Message-State: AOJu0Yx6wImp5l9z84DMTDbMYO5nlm89VSYOupT2ljYDOoyyKobec88a muEmlGzEsWzK59q/qLvYsQW7rlH2a3SGS2wg/d/PLuLHWGBSEnCxgb1TF6md5p6lAIF4FYyBj3E Y X-Received: by 2002:a05:600c:4f4d:b0:412:eb6e:1fdb with SMTP id m13-20020a05600c4f4d00b00412eb6e1fdbmr3309269wmq.40.1709728375902; Wed, 06 Mar 2024 04:32:55 -0800 (PST) Received: from [192.168.0.102] ([176.61.106.68]) by smtp.gmail.com with ESMTPSA id t14-20020a05600c198e00b00412f02bff2csm3466711wmq.37.2024.03.06.04.32.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Mar 2024 04:32:55 -0800 (PST) Message-ID: Date: Wed, 6 Mar 2024 12:32:54 +0000 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 v2 10/20] media: venus: core: Drop cache properties in resource struct Content-Language: en-US To: Konrad Dybcio , Stanimir Varbanov , Vikash Garodia , Bryan O'Donoghue , Andy Gross , Bjorn Andersson , Mauro Carvalho Chehab , Dikshita Agarwal , Philipp Zabel Cc: Marijn Suijten , Stanimir Varbanov , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230911-topic-mars-v2-0-3dac84b88c4b@linaro.org> <20230911-topic-mars-v2-10-3dac84b88c4b@linaro.org> From: Bryan O'Donoghue In-Reply-To: <20230911-topic-mars-v2-10-3dac84b88c4b@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 09/02/2024 21:09, Konrad Dybcio wrote: > Currently VMEM/OCMEM/LLCC is disabled on all platforms. > > Make it unconditional to save on space. > > These caches will not be enabled until the Venus driver can reference > them as chunks of SRAM (they're modelled as separate devices) to avoid > hardcoding magic addresses and rougely accessing the hardware, > bypassing the normal accessors. > > Signed-off-by: Konrad Dybcio Agreed, this is dead code. Reviewed-by: Bryan O'Donoghue