From patchwork Sun Mar 3 15:01:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 13579826 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 99CAFC5475B for ; Sun, 3 Mar 2024 15:01:58 +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=+HeJaNcggBZ7y5YeJ0YeN81C/NNgXR7xKO8kNOUypRY=; b=NOzND+cdFq5Kr9 c+TM9z+xegM3AQr6urHfURNEDTH5BIMjG2iUlODocfzm3QVQ4dYjs1mI4uXNJ+tT0LkGvBbCuSZ0G cxYoHq5M6ddVcTMTD6aWJoYBhtJ31TBVuRik3J8GmY36mUbugagOBTdvn45Gkz8UAfeGlUxMsbvE2 3sZlYTFLLEB7+I+l0pg+mZIvJWfCuFJZmj1H0nOD8NQcS6NsdbGg/CNTsgPbYqy9iLmBFD239KL40 Q4px3UUGId5vxfWO3Ozo50G1zZkwxLIPxhX+e4/NvejtFREb5dfDSoKneNci0HQi6uQUrKRloXrHd dk2/o+UMHNuBQnzsj5dA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rgnLW-000000068Q9-377C; Sun, 03 Mar 2024 15:01:46 +0000 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rgnLM-000000068Ix-12D5 for linux-arm-kernel@lists.infradead.org; Sun, 03 Mar 2024 15:01:37 +0000 Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a4417fa396fso478181066b.1 for ; Sun, 03 Mar 2024 07:01:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1709478095; x=1710082895; 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=4wfEydsGbvddKil/3Z8l6vz+rSpkbDji/d2z7vS115c=; b=Z3ka7Q74XFCsfGa59tQ2tWBQ6xBLx3oJl6QTWDc3YankM9v2x6zoBWTUc9IFDWLolS aJ2CO3vC9qL++ovjWTTazbj3PUdQIEgD9/+/OLpgbzjvgHvHdND2CWUVjTPSCIulJchv wzgXvr/Wi5kQSEYBCHnnEzNXazmeodiyzoR8qUdVdLjySAhwaCMGxDE7EBcd5UF76nUi +9qBQ5LXXZDvIxXTmuaQemmYhuRjHfc7x0biUOpDebeMJiZ3YPbu3UOgnoGX2PuvVyHX Pv29YTj8/DefENa0wfDkvr5Cr9TCOGcktx5kkI1EYY0ioWcDGUYp7W5ZFubydt6HbPsz MGgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709478095; x=1710082895; 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=4wfEydsGbvddKil/3Z8l6vz+rSpkbDji/d2z7vS115c=; b=qdxUTImmXe7G8eJKuvxWFAUkmDQPX9bjEkyn/VOQ5pN1FB2uoRCXFv9vSCICqejduT FvT/BJwFBLA8uRP7juQLwNjZB7JsCIB/vMEGCwkXLc9stdHDllrhwCwmxn1FgkA3Vzz0 lzs1DxvsSiO0OEJqk6khx9fAlKtUPzYhYjOfQeOoCt9tV/xemxY6y/zVo1gEDrIyZPjv wm6tR2YL9MjbGa4uGKhuePRz6bM5z7yCMAID4dZpFQZnnNFvxBg1rnKbPfVRncnEBD8f vJ0H8CX1NSL+htlkqlJe+mHkZkrn+V/MW5oNjo/E7dSIVfttcF15dnHaDmi9Q22U+k4r tKtQ== X-Forwarded-Encrypted: i=1; AJvYcCWuiA6M8TWyjtLUj2f+GVXGSkcFTEXaRx2zpEzZMD/Hu3DzM6oczcOmgAoyKNJUAWeaK2wp9fwuY/SLiCXlWMIDAV0W7Dnp/shzFNjgtBkCfxnRyZo= X-Gm-Message-State: AOJu0YzixW3Kh+V9e53ogwhGn8ZZqOWG9nk0JiogsM89g9f8siP9k2rK PriQsx7JGRhtrF2QM9H6Nx/wxeaLruvKBJWG1nIrq3/yeDGRA9VJNhrhWK/wIQ+syAV1SOrXoVz dHzq5fg== X-Google-Smtp-Source: AGHT+IHaKPYTKkceAREIbdiaxB2ZZXS4LTPdk7piZ4fOASBtCzFFy+kH4Zbu3DN08O6YHZeK1/WFjg== X-Received: by 2002:a17:906:24d4:b0:a3e:d835:5685 with SMTP id f20-20020a17090624d400b00a3ed8355685mr4362651ejb.67.1709478094847; Sun, 03 Mar 2024 07:01:34 -0800 (PST) Received: from brgl-uxlite.. ([77.241.232.10]) by smtp.gmail.com with ESMTPSA id ch14-20020a170906c2ce00b00a42ea946917sm3740293ejb.130.2024.03.03.07.01.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 07:01:34 -0800 (PST) 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 v8 12/12] arm64: defconfig: enable SHM Bridge support for the TZ memory allocator Date: Sun, 3 Mar 2024 16:01:15 +0100 Message-Id: <20240303150115.133633-13-brgl@bgdev.pl> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240303150115.133633-1-brgl@bgdev.pl> References: <20240303150115.133633-1-brgl@bgdev.pl> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240303_070136_429393_FC18CE4A X-CRM114-Status: UNSURE ( 9.88 ) X-CRM114-Notice: Please train this message. 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 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 e70a599046b5..281cdcacc627 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -252,6 +252,7 @@ CONFIG_INTEL_STRATIX10_RSU=m CONFIG_MTK_ADSP_IPC=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