From patchwork Mon May 27 12:55:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 13675190 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 F2FB5161916 for ; Mon, 27 May 2024 12:56:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716814621; cv=none; b=BH7dr93AxxNECN0pdZwYK9OrCFcszab7xQuolb/1fIFVGXCnBqFNZv/ljb8obLiPYZ7nVJBjAkbpwP1mrhKsR97rJSFj5WcTdKBScswYVxUGHmCFGVpOmc79GTgVK8qcxgoWUxpbQzKnlHy6qnpW4wBVluM1JTNUVOoJBLhNBA8= 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.49 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 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: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-42101a2ac2cso33837755e9.0 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=QVezcofIKyIhKlJ9uAooW1KbThYks5KYPk5WBMXBglZB7qItWYuxYw9CzV3KpTRmpp K8zUXzG4W+qiiQuK5f9eSjjzT/a47mqTwXKBUYJ7NS/lrfxmNwcKfQ9fWX9zPvOaVa6W D8kxTHCVT8VjPM5I72QsS2Xra/fAa9a2HIce+qh/gj/opwheKT3/zp2gqgY/ELpqfyOA EBWuAwhPG09mCzQC3ZMjkNHv2sn6o8VE0CDcwW2zbQRcZKqhmO3tl2q/TX8NMNXEi6ER QEhQToXQ5NYHYoZT91q639kX3S2ecTYyXv0dTFuc1LSwVlEQDBRL8ONl1lBouPZRuxUa gm9w== X-Gm-Message-State: AOJu0YxVIuzIgt7Q9hnvLBItf+NGNfekApbdjwuv7xQWQmy1iNqUQg6A PyxpBPl6IQRrWXV+KoTuvIzpEwtphD0nQDFTaVp5HJFrxJ0xo8+mmzBuem96pxc= X-Google-Smtp-Source: AGHT+IGJB5ZsSLC2u1Z4q1HAsl72ckalfloa+xFlguKroTcNmO1dLgG5OexQdjx1VxTq9j2GcMXX5w== 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-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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