From patchwork Mon Oct 9 15:34:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 13413941 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 57B10E95A9E for ; Mon, 9 Oct 2023 15:35:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zt+EM1rwdwQ32uCDm7W0n+jKPyP94XKVFkWq/H6Z+eQ=; b=uYQ8pRvl1lsUli HTSB4+a/dbNG9qJJ+N18CtyFrWO3E0HG4PgQ34NYT+Js8T2d+2QYhFDl2FhYfYw1go2PKn+FYIGVU KW5IdZLxMHe0LUOWp0Hc1Fkpc7xJ1MXiVZwExtO3SScIP15fXHx4O5Ro/U9uFWcfiE2M2GzrUEhr+ s7H44m4npKedR9NT6KIeb1DG4ZUC+6MXcI5IxwFB9xr2HO92lP4tp33sM9/73O82bja41f/1JSe/+ GGFWIQsaR/XQGa2jqrxDZ8Xjhhv5YLUaLReP3khkpvWH9+XJnHKUGrIhXmwxPU9bat+bpkyuGeKoA W6VQsXDql7GTUeZhVJgQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qpsHx-00B4LI-2x; Mon, 09 Oct 2023 15:35:21 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qpsHc-00B44e-0n for linux-arm-kernel@lists.infradead.org; Mon, 09 Oct 2023 15:35:01 +0000 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-32320381a07so4642324f8f.0 for ; Mon, 09 Oct 2023 08:34:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1696865698; x=1697470498; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ICq8xSC80Kt4obE0o4+sSt1jGbe7ldZCyofAgnJ+E2Q=; b=r3Tjl/jJvyb+4ISeUvXoxUe8LHMMBsgsjZY9MTsNzeeteqF+JYSV9Uq9V/G+hcwWjo lQ7AF+dQNh5stM6ehzRpg2nabi/roDV7mJr4yNeEjdKKMlbfevIEzqkQJpYtEjZOOPEb +hRWQZXqUmcUdWx3DRNyDR5JO6SKXmBSfHq970P6QonYgWZubgv2Xdy7vH0fMf6LeKeT etNRtguXZGyea5RdyKw55akNhWzDkdDMiC9g/NUNQXKiOOPLE6mhOeGb4gFlE9hEAyaU TXl42WyMHuIIqvV5tvFyVkg0F1iwmZy60gWcaGz3knbBE4u/QMC2clBVmtz59Vu/j+5j ODCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696865698; x=1697470498; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ICq8xSC80Kt4obE0o4+sSt1jGbe7ldZCyofAgnJ+E2Q=; b=J8hvJ5wS7ohEWAdU+NGS5JOM4QkltAGLfCIYZ6H6685uTw9EC0OBtYI1hCZCiE+Kzj /L3CJuKXnfVbi530p/o2wa4tgxIBVx2vhy3yFbZ+weoB9SRc6OuZENV9B8fiUTwerxVq xHojsv6aeAvDtm6+hgmFWvnj81lH1Dty0ZysnNHnq6DK5o+FKRbnHe5OBKOGIyZ/kX5B h59mJ3dajqEUJECA+jFkr6lbhiP+bVIkN56PaobwRK9T4Ac/iTd/HL3Vv75Kyw+FRtt+ HHIWnEyClRTwChM8lwq1jVF8iqAkBL6yXYG7qUd84As9DZkviILeWs9JnzjIiiWF7IFz UQsQ== X-Gm-Message-State: AOJu0Yx65bXjMRvwcvbOP1XQLKmUcW6x+LbudSxw8tqFmw/xXnh6Axrz kuIOVbTf7CSsZJ9OC3O6QE9tpg== X-Google-Smtp-Source: AGHT+IGSVNNDH76sRB3Lqa5m+uNOKv1cgVjk/f2Eil+mLsb6i7DQTO49NsVCo55KWQXwRnMHeDJ5SQ== X-Received: by 2002:adf:f08f:0:b0:318:f7a:e3c8 with SMTP id n15-20020adff08f000000b003180f7ae3c8mr15642287wro.57.1696865698736; Mon, 09 Oct 2023 08:34:58 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:f20d:2959:7545:e99f]) by smtp.gmail.com with ESMTPSA id b3-20020adff243000000b0031431fb40fasm10016521wrp.89.2023.10.09.08.34.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 08:34:58 -0700 (PDT) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Elliot Berman , Krzysztof Kozlowski , Guru Das Srinagesh , Andrew Halaney , Maximilian Luz , Alex Elder , Srini Kandagatla Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@quicinc.com, Bartosz Golaszewski , Catalin Marinas , Will Deacon , Arnd Bergmann Subject: [PATCH v3 15/15] arm64: defconfig: enable SHM Bridge support for the TZ memory allocator Date: Mon, 9 Oct 2023 17:34:27 +0200 Message-Id: <20231009153427.20951-16-brgl@bgdev.pl> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231009153427.20951-1-brgl@bgdev.pl> References: <20231009153427.20951-1-brgl@bgdev.pl> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231009_083500_285065_5D353530 X-CRM114-Status: GOOD ( 11.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 default behavior. Signed-off-by: Bartosz Golaszewski --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 07011114eef8..ebe97fec6e33 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -255,6 +255,7 @@ CONFIG_INTEL_STRATIX10_RSU=m CONFIG_EFI_CAPSULE_LOADER=y CONFIG_IMX_SCU=y CONFIG_IMX_SCU_PD=y +CONFIG_QCOM_TZMEM_MODE_SHMBRIDGE=y CONFIG_GNSS=m CONFIG_GNSS_MTK_SERIAL=m CONFIG_MTD=y