Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2169768lqb; Mon, 27 May 2024 09:59:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVH8JjHVdjG1/1IKME4UQOtHnsWtJEvzUip5WtqRVYwtyIQLIiMeEKZGw/vIbj+s6yPt0kC0Pc+asSIIUVrrz96+8oxKxICrHlaEJEkLg== X-Google-Smtp-Source: AGHT+IF4TijPCr64Ywa0PsiX8WrqoNGed0MIfFU0X+dL1vrZ3Sz+ztnzw3kmrEgrW+aNBRF1nreM X-Received: by 2002:a05:6358:491:b0:192:2e43:927d with SMTP id e5c5f4694b2df-197e50f2742mr1398615955d.10.1716829194612; Mon, 27 May 2024 09:59:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716829194; cv=pass; d=google.com; s=arc-20160816; b=qVoP6P2a1Fi82FrohoiwpbdDzM7/Eqw9bQ+MK+3GKTDGkrtKNgRPkj9CLytPBWbcV4 tYUQjqFs/Jz7O3n3gztILvVk1F7b38aHCs/6muop0D6WYSBfORrO87caW09eW1VuwUZL MgFsGcubuXeCsrciLYlhsMKcpInxOC/J28Ku9MJPFFDQrhEFNyzGZdvd3RizundQanyC n0yEXBCXus5uT+fpy7Hizu2gMbg9QyCrefT1Ekvcmz9S6gGG19j/aJ+wNoBKFbvy35XJ DuDWph90O/Z8z//Sz2Bz/UqD+BVy8h4h7cmPusu07yO5DuzH4/pNGD5gBvv++Na79KGU 7+2Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=QuUzMPXK2TvIeksirOClV3y0gwUsumvq4ceT4dAhqug=; fh=n4oS/L37+QewbRnqryM6QYbJ7kmClu6VmzrYGuQAGUk=; b=ETsmZ4daQ/wtm8tTBC28y/FE0OHRRJ+ttsr+POW6sLGphSpKZyrQk/6o8OsG6IYI7A 91lsuWz+nNkix79S47n9ZhoZ2BO9jdw2WTJha4YoQ/bUgWqfbdHBcYaVqYCMDPDjtwdo kvWlQynDMKGiNAgAVOsl3hG5JCEtdbNZRShlxiQmYkm4Bh/wrHr7SVVjfgVViA78jRd5 5RQ2n+flbzfSEgAoH/amitTQp1UlzymA9FjekWQq2GXAe9QBErdA47y1rcyXkDU3Fe/e BtOrn4nCLJQI8DsQqGzTajgkZD8sVHhYQw5ZgmU+XOj1ZQdq+p0IYKV8NJwwYs4r4+Ud JWNw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=NCGdLl2U; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-190639-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190639-linux.lists.archive=gmail.com@vger.kernel.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 41be03b00d2f7-6822779b944si6762451a12.415.2024.05.27.09.59.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 09:59:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190639-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=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=NCGdLl2U; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-190639-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190639-linux.lists.archive=gmail.com@vger.kernel.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 2283E2876C6 for ; Mon, 27 May 2024 13:01:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E7E4616C450; Mon, 27 May 2024 12:57:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="NCGdLl2U" Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (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 1919816192C for ; Mon, 27 May 2024 12:56:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716814621; cv=none; b=IsaWB7yssL/hiUA/6mz6cW4Tm/gA69M51pS6bok9JJAVN8jEz8fdS5zQcWo+sW+r2Zj8CB0I/w/bj4T0ncWL6RTdiMD8VbUw6dGgR6Q3u0HyVyNXkKoST2r7DSt9c6C3bmzc+qg0zHNwJikgpW3zn+iPfIt0scMrGgaJtNx3p3Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716814621; c=relaxed/simple; bh=5HRN0uySTbXzAR0E0YuiCY7MSCjAshlJdQKIwXJNbPw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=LWob72r+8f1cxMwfTkspxC7JuzKQUAtuRVt0dBf4HxrnuKmM7JcuHbhNvQbYUPd22Y5LLr3WukFVoM4xwu7kJoN4bkx7skMKLy+vboEa0lhheateqZDWCzFYsXNe5uJgJ0VPSkiADgG1W2ri/8iLS+K/HyrdcwrwFNBq0MsnS/E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl; spf=none smtp.mailfrom=bgdev.pl; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b=NCGdLl2U; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bgdev.pl Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-4202ca70289so79105645e9.1 for ; Mon, 27 May 2024 05:56:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1716814618; x=1717419418; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=QuUzMPXK2TvIeksirOClV3y0gwUsumvq4ceT4dAhqug=; b=NCGdLl2UJoMHYOaG/1TMXvvPwgiQjz/4MdexC2uT2Rc7MA4KHy5Afw31jMlVDC2iPv ImET8iM186Waaej+zSlfqCSpzljz1fxHUPjzpv04TNdu/k0fcuTXg7KCbDL1tZyfzxCj GULMTYrjLC9BrGVwIPR0yYGhtp9gwzHndsMULz3elEyII1MdPWXynnWbphQfiG0b8Pgu v3Zj70xgB/oufuGbGtmaG2w9MqFwvVSZwGfwtjnRH0nLJakdDc1igAUujNi1zl+9D0tl C96jHzQgR7ucr9RPGZ0kLoH/mWr/iL1coGfVyCR2dWrgZMwWrcA9hLx8hY5N9lFYj4EW PZ4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716814618; x=1717419418; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QuUzMPXK2TvIeksirOClV3y0gwUsumvq4ceT4dAhqug=; b=j8ju/TZyIF18C3jdEV/t9x7LAJPAC2uM5/aVbQii+Sc726AZFRc3v0xLpFTlE4oGOR K83OiEwPXG1dHd8s7aDl0iGDJj9JuKrjx4uVY0cfCza4klf/jl0HLvSPT58B/b06EENg hTx3CwVzCHwsJAVi6QTZHCIxzsCkbWdiUeruzGZPeYZ9QX/puUkIQ7VVLXREgaXFVGgo 7SDDCZLaBYWiMkRdfp+CLeVOFtHQ8L6c4VAAoa5pORciHGpiABonghUG5CWePbIMzK8f rO5ZkDsFkBbQHlyUpIpbwR7x8IC97ZcjYgRx3fsB1obiDmqznH+ak2wENYOv5n5AiSCT bsvA== X-Forwarded-Encrypted: i=1; AJvYcCWnC17zV6A1EHcOv+eo+DQlaKSPhzHg4uMcT0ZTZARDnwLBxzk1pwq9+oi5zxP8+Q5nq/uUHNpsmVyQP7TN4QlARfmDf+NgqzaX3zHN X-Gm-Message-State: AOJu0YzXcsEo+xmcLRtTXLJ2jVze/cunYGXr61pTaWzBJLeKh9Tdv5zs AYVkin5zFNLZp9kpIDz4BQY0yOqk5VVS0JeJ3SGFhpETKmtg2bDmrea3tMVpgRw= X-Received: by 2002:a7b:c40e:0:b0:41f:f447:e874 with SMTP id 5b1f17b1804b1-421089dd42dmr74918735e9.24.1716814618422; Mon, 27 May 2024 05:56:58 -0700 (PDT) Received: from [127.0.1.1] ([2a01:cb1d:75a:e000:c322:131e:ff9d:ef41]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42100f64f98sm138753635e9.24.2024.05.27.05.56.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 05:56:58 -0700 (PDT) From: Bartosz Golaszewski Date: Mon, 27 May 2024 14:55:04 +0200 Subject: [PATCH v10 14/15] arm64: defconfig: enable SHM Bridge support for the TZ memory allocator Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240527-shm-bridge-v10-14-ce7afaa58d3a@linaro.org> References: <20240527-shm-bridge-v10-0-ce7afaa58d3a@linaro.org> In-Reply-To: <20240527-shm-bridge-v10-0-ce7afaa58d3a@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Robert Marko , Das Srinagesh , Bartosz Golaszewski , Maximilian Luz , Catalin Marinas , Will Deacon , Srini Kandagatla , Arnd Bergmann , Elliot Berman , Alex Elder Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@quicinc.com, Andrew Halaney , Deepti Jaggi X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=965; i=bartosz.golaszewski@linaro.org; h=from:subject:message-id; bh=pRRbSAz9HRVSjdsCtG4IzYxw4K0oD5yM6sEMVlvvnmA=; b=owEBbQKS/ZANAwAKARGnLqAUcddyAcsmYgBmVIMLuwyNGQ6RYhhHrvJ6X9iSxcmQCOdCr4LAp I1j4givqlmJAjMEAAEKAB0WIQQWnetsC8PEYBPSx58Rpy6gFHHXcgUCZlSDCwAKCRARpy6gFHHX cnbbD/0bd46zJvVShSTrtDYMSL9yNZgkFVgUuXfwRQss5ouoEtSYGkygROaw6Tdmkrcs63Fmt78 sWAgIBODmGUdvwOEP+GIGXgmvD0qCN8dTTh508keQ8h3ittw5ZCcUenR2uL+Ke6Ckiq4Sfki/5J LnJNGOKZRlPNwnq8k8A6MprtU8Sp9uw/hg/O2LogGL5EpLRjOnjhPt1NUKrxL9XNrXeOhEnC2MO 2KG3e+Bi6+2n9bNLbwxRWyeSStIzvneLDqvHiBn4kZU9+3BLt3LpaLMbCcNENZEXVr/GRgNC6xk Ch+/ASpi5OVYtzFBORjGyQkrByfJfjJBe/B0VDZdj6sgwWzGMqySARHZc1B8ANHCMDd4XWUDVlQ KQ/FgDzCLpWQo/lM+tRIuBELgjEQgfIC5JrIcIkKVyprJwHAm//YE761bcHauSI8reJDYuVt3U9 BZ4MoC0pMaOW2I5yKoCb9nUMg0XX+59V0fmhaaVaJRs1O+hmEqqsPIUtK/GOT7hhT+zoIoVRMWl Q2z/U8JZWbQBXFtfgYsQcnk8L1AxwnAJn4PduNhFNHno/J4c3SxoG2cZTIN/POFJWmDB3HwEAq5 Mou7KKbGYZKN+tV0AVGXG7ORxzaPwbMs2cR33l+WoyRrbmzKSE45JREbCo9gNVt0KeA3cd6PTy7 cMcAWUu1Gz6EgQQ== X-Developer-Key: i=bartosz.golaszewski@linaro.org; a=openpgp; fpr=169DEB6C0BC3C46013D2C79F11A72EA01471D772 From: Bartosz Golaszewski Enable SHM Bridge support in the Qualcomm TrustZone allocator by default as even on architectures that don't support it, we automatically fall back to the generic allocator. Signed-off-by: Bartosz Golaszewski Tested-by: Andrew Halaney # sc8280xp-lenovo-thinkpad-x13s Tested-by: Deepti Jaggi #sa8775p-ride Reviewed-by: Elliot Berman --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 57a9abe78ee4..8ce4beef2ac4 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -256,6 +256,7 @@ CONFIG_GOOGLE_CBMEM=m CONFIG_GOOGLE_COREBOOT_TABLE=m CONFIG_EFI_CAPSULE_LOADER=y CONFIG_IMX_SCU=y +CONFIG_QCOM_TZMEM_MODE_SHMBRIDGE=y CONFIG_QCOM_QSEECOM=y CONFIG_QCOM_QSEECOM_UEFISECAPP=y CONFIG_GNSS=m -- 2.43.0