Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2758041lqp; Mon, 25 Mar 2024 08:26:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW9pIoccEBcI6TfXFuErxIagQIRyLOS6O7TgnJIrY3LxE6DEewu9gEDV+hVHNW8Mzjg7gQJQWIQ8v43S17BFPDeN8L9l3M9Vl1ifeXGqw== X-Google-Smtp-Source: AGHT+IFadKgLcetahAx0+NapO9rMoVWV1VHD74Y9WxBcbSIWsdJjn+H6dklw3CTiJgQe83sZb5M4 X-Received: by 2002:a17:903:18a:b0:1e0:b5ee:e806 with SMTP id z10-20020a170903018a00b001e0b5eee806mr6156037plg.10.1711380369905; Mon, 25 Mar 2024 08:26:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711380369; cv=pass; d=google.com; s=arc-20160816; b=mn2+aYaHVJ+Cisbj4MRUHLFuja/QSm9kfKC7X9EI+GNr9dbVxZBrBNIAArordy1C7g T32TKvioPPEA+renAiFTmwYxB6H+gtLBtDr5aAmFdVcOQll8K5qYKWSTG3v6iBQpcuyb 6HRYbe35eSqRxHr68pmoNtjwWKYlSAOaOE4S7LQ6PvedeV49OAJ+Zoj4LvTmm7lm17E3 0urUdFvCd0xU6HYDNSvjKt/gs2Nj8IhW9mJ4nxroDm9NQ68RDN5ib2YKsAWWA+CFGStg SYgu8NFXOzGzOUHP1evc4RvJKKzm+186YVMz2IIGDJZNH+DtrBgCpuEZKbm8ywjwLTYS 7VkQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=WaZeoNiyzTwiMheeiYsNuMRt9KraQvAJ66Q4WnMYg4o=; fh=/+dK42B+q7DOxMmCI5Bb2VFG6vf7nN40H3GlwymjF8M=; b=UdELjPr/+AEkhDm3g56z25JKzn8ebjxASzuDidn2pEJApZ7G5G+jPQRnJLV5YEjFSH Zx59PSPI7pS7I4OQUxzj53fYlU55hTkgfdsZCIJ7sN8d0jQJYqBP1nt29fagtPfmC5gu 1CHgloaOe+PYCwu83PopH55PCEsaiV4+AU6JCPsqhi6uvnjaHT8Divf8PjPfLMYeF9yu lWGFhd5HpyLB/jvgfpAsFWlBl0q5hyrHbVVSYX/jsXTJPz21NqJruvs3ziJSaWdpkJ/B WJF8HT+le38xCv24pSaMLlktVj9LJtkCD1vKG5YIRtT2WYu1lDWEjDEOJT5cv4q8kDKY fbBg==; 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=OONMxdDp; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-116791-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116791-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id e4-20020a17090301c400b001e00f3fd38fsi5519289plh.285.2024.03.25.08.26.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 08:26:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-116791-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=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=OONMxdDp; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-116791-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116791-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 6A5C8B3A73E for ; Mon, 25 Mar 2024 14:16:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EC0941836E6; Mon, 25 Mar 2024 10:47:28 +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="OONMxdDp" Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.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 12B0A1966A9 for ; Mon, 25 Mar 2024 10:04:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711361065; cv=none; b=LxFxmjulqzT8jwvdjDxQSyrX7PXRYvuoZeo5UPZLZPyTv5jwt951tnCDlDuQRrGeeqUZwpepQHXqzBYS3pizcmrE/F1YBP9wyoioPW7otOzgihR/veBK7cWyVxP6YEnLF8ANm6Cdda5oRIvYeE4UA2gBkDJ3Wq0uQLpedkAeGlE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711361065; c=relaxed/simple; bh=6xEiiGScK7JJxdpF/lD70fvnsCf+NygXdoWJFOV3UZk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=kDiPeyfbCBrRc5MXmJ+m4dhjmfkmTd6vt5gjKngv3cjZn8FyQJ6EedPxKnpemGoj+26reY16PxBx/BFs08u91CWx59BbssBVU/DQMkq6DhGAWoEgUyamH8o5UtW1s848Qv09hagIAer9m3xNAyr9Q4k5ptwPrDY2fPo0Jemu5zk= 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=OONMxdDp; arc=none smtp.client-ip=209.85.221.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-wr1-f50.google.com with SMTP id ffacd0b85a97d-341b01dbebbso2948169f8f.0 for ; Mon, 25 Mar 2024 03:04:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1711361060; x=1711965860; darn=vger.kernel.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=WaZeoNiyzTwiMheeiYsNuMRt9KraQvAJ66Q4WnMYg4o=; b=OONMxdDpfNMhCCIftkO33kqBib4Z4lJT6Ch9RFTT+bUsfbXkjj9WNDPn2UJyJ8ig++ ruiGSsytPHv7fzyZZ2YVw7FrJ4/NgAW+AjN7EUkbN2JhfZpJ7sp9L6KvzYtkLGqViUra wEKkwnwQSEgzKckD4X5CoHS6q25s06Bs7cc11Odt7YOOGuHepPc0SzKAqbyWC0XmQv6N XPhCkIVs4eT5kUpGF2BUnhxKx4f8kHyy7jY7Y35E2KpmcPd6TIPqPG1N08ip+5s7ItGk 9Dp7kVTiElIXk1fUeGFq7KwLT14zlVBBjEAE/hMUsPLsEByHuxIDwv4uQLwINcSOwO4C PL/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711361060; x=1711965860; 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=WaZeoNiyzTwiMheeiYsNuMRt9KraQvAJ66Q4WnMYg4o=; b=w2HF5F1AU9Q16TxVxmxzImBoqpYyy0A8sINCOYImrFtBfpUvqaUR5dty3RpSGHrCI4 td+LP+OOJ8tSJXnIOe2VYetD3h2jgCAaspUZDk472OQtXmzqbumbXj6XhVHZ4ReuHlTT l/e7konenVQ6zzqkqQE5+nJ3PBRiRe+6Uh56F73bk594s9TN4ScXdPEuF8tpfStmcceg CThg+yWgoDjnYxG6e8e2mUVdme90ArMWhepGaYEDsT38E9WTaSMbH58KfL/ZFNRq0j5z vYw3Zo2lCpSdLSg4sguLC2ndCpgwWvLSOW3FuEuEQwG4oXBhyWOcHccJVyEXQVyGNm7N ZQrw== X-Forwarded-Encrypted: i=1; AJvYcCVHcf0p0BCz9DUdoirPIWXk+3vebdAlLKYMk0cXQ9bIlt3bdluRmzHBigjNryEQ/FEmHNm5+ffip7eto1eHiIhgG5421zfYORj0/hRg X-Gm-Message-State: AOJu0YznIBu8tjzeTu/hLvSYo8Q/Za9htpSEh/1tFaqR0XjKzS24S9NR iP4ED5d7AzeWkP/PSAzOQywmCB0kEHJpM5vpHRHcvsN91eBBfFA7UX6bv/a+vx4= X-Received: by 2002:adf:ed06:0:b0:33d:3566:b5c8 with SMTP id a6-20020adfed06000000b0033d3566b5c8mr5472793wro.13.1711361060775; Mon, 25 Mar 2024 03:04:20 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:75a:e000:861d:8b72:a859:4ce9]) by smtp.gmail.com with ESMTPSA id dv13-20020a0560000d8d00b0033e25c39ac3sm9086874wrb.80.2024.03.25.03.04.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 03:04:20 -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 , Arnd Bergmann Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@quicinc.com, Bartosz Golaszewski , Deepti Jaggi Subject: [PATCH v9 13/13] arm64: defconfig: enable SHM Bridge support for the TZ memory allocator Date: Mon, 25 Mar 2024 11:03:59 +0100 Message-Id: <20240325100359.17001-14-brgl@bgdev.pl> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240325100359.17001-1-brgl@bgdev.pl> References: <20240325100359.17001-1-brgl@bgdev.pl> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 6c45a465a071..37280815dc6f 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -255,6 +255,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.40.1