From patchwork Mon Feb 5 18:28:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 13546027 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 501EBC48297 for ; Mon, 5 Feb 2024 18:29:00 +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=2khbFtzzl07rFHOZy/NaiOPy2ujYm+dQYNoQSHDvp/8=; b=Dwrc0bOWqFOTvG ErPb5m7wVg6wUAWvt25b7OViZH/hQZPMLjvAiy6tAAtwnWFXa6mxsYCHqtuHm87SwMrI07dMSBmUJ nPhGPTjK+XvBIoN8fXNOcusRYnftatdOycqFWcCQYCESc3lajCkUPENhLnyY8E8xRXTvxSO2PKMMP 28VFReuHI5eIvnBzfxu91q4n259iHr82Ptxw6pHhlAC6t+okxtkarQeSx9AM++oXn6jzJ0evyEAff b8SU4o3egzQAFlybkPmSvgogThZu17Lp5g7ATctPt+k6SWzKayj6y39rBYkJHDX4F0Kgs5zTt/mWG b6yXe8jhEFAaSIU4Ns5Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rX3i5-00000004N8M-1XQB; Mon, 05 Feb 2024 18:28:49 +0000 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rX3hr-00000004Mw0-0Vij for linux-arm-kernel@lists.infradead.org; Mon, 05 Feb 2024 18:28:36 +0000 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-337cc8e72f5so3535681f8f.1 for ; Mon, 05 Feb 2024 10:28:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1707157713; x=1707762513; 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=RxZtfpTVf0bCO7EHLm2jgbKpvylHq5U4dLxNmrei5Xc=; b=ywEGFnsBCcW3e/bH27eswMbZSP8ly00XV49u98CSt/6Gtcek1zxb1FacDKgVIhPo1B lwTwyib6bUhNPugY0IZaconFlvkWmcItn7/HmW9vC3dTAJlMwzIDkSTy3s1PQ2cdbX1A +tFStRtw+tIugn4H+zK+Yb4fhf+R7WFxaNQTJIknbsIWv0qPNprc31uE3Hy9pRttLPNZ gfqQ5ap2k+TqS8uCmkih/PmmvN0VBmw4djxwZ/Evw2B0HYkNSxQGpyKPdHyHtQYW3/KG b1ROSOzylLDXekwUOvwuBZIBYu8xcbA7XrTrFbr6OPltAyWDWAX49/72AaeV0bAxAGPL tRxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707157713; x=1707762513; 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=RxZtfpTVf0bCO7EHLm2jgbKpvylHq5U4dLxNmrei5Xc=; b=aCk5Ia/JEb/dX5+PPWHAO9SePm0QEUq3BZCObnXWJ7Ffc0wUXtnT63+/egvXvuigW8 3Y+FzpgyP9DTV9OZUxyBoMEWRVI6aNTX9gABWwuoY2ce9mzYaeKYIBELnW50YpvWF3L0 oxEsdsSivabof6gfXTnQA4tlYfgfeYUVJgly1/kHsC0uSEbnY/u4+kA5+2cGpdaXAMlW otVExkIlHvOkMGbNGzCOPAg1viK9yT3PyPPa18Yay7pBfTW/bpY8ZwRyemUB9rxLPa8F dIPXSAKPvl1YQri5hoJWPXlLYBTtHD2UZPJRpeAFwuYVSYAL//sOrDQzxlIvBjRf8DwS VetQ== X-Gm-Message-State: AOJu0Ywyni1zXHdihR9eYrc6ZkvEfpJ7cZXPCLDTNPM4P7k48zRsT7lw cz9TX0UEuxnDUgk/e8TaYaIwD1ff6ha4zPB7GOAEwDS9e7GGzKinU0HFczC7oac= X-Google-Smtp-Source: AGHT+IFpmEq2moHMRC6KEcwqwdWJnF72beZnSyfAR3Lk3OBN++riqvciA4tBGfw4SSutLs3EC5Mtvw== X-Received: by 2002:a5d:5046:0:b0:33a:fdb6:b1df with SMTP id h6-20020a5d5046000000b0033afdb6b1dfmr221612wrt.19.1707157713337; Mon, 05 Feb 2024 10:28:33 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCX7L90gPRH+fHuzHbeWfH8QHoz87Z1cIzaDeTGyJLMvXregJGx7AldZkKxPdE76W2NmUy+OmNcRQPP+hhdXNHLgRrBNTtcGEPULvIQy9U8HOU7cpvnqVAz7AFiLwr6jsymAeFVKBRZ4bd1BajyXebwk56WRoaYKlje4/UKds5NONGlKTtlBrVroRq0AdK3w/8RVt5yHjkU8jMIKA0vRAgV0zxk2yk+XZ4Bv/k33b2oueE/xa0Ev46IFwfCbnQfTZ8RmTK6ZD45rQ9oUbbvmdv4IhWcwLIcocfxA5uEPhSlpBnukJyD57qK/6Jl5J2VSRhsjeu1PauXdeN2/9eZ7kZvZFnp4zHVKwNoezsgP/5m6zATsefIVtnR2V2eZB8FTd2PNFwf+N684UXz1o1p3SfrnFYZW0mdrl7obk9ZZ0cGkWRl6ZD3pSzC/hJiXahkaeJqrd8ZAFd85j3VFAXG5NZxtMyfx9A/ga2PPxmzSrJ7NF2+NZw23awiS7x2ObjVl0e2atYBBfUpiF6M3UEiRcM4XhPCmjKE1KgVjy6AsZQ7n7jVnm4Azili+HRtGGT51nJ8= Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:d929:10db:5b5c:b49d]) by smtp.gmail.com with ESMTPSA id v15-20020a5d678f000000b0033b17e18df8sm203229wru.12.2024.02.05.10.28.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 10:28:32 -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 v7 12/12] arm64: defconfig: enable SHM Bridge support for the TZ memory allocator Date: Mon, 5 Feb 2024 19:28:10 +0100 Message-Id: <20240205182810.58382-13-brgl@bgdev.pl> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240205182810.58382-1-brgl@bgdev.pl> References: <20240205182810.58382-1-brgl@bgdev.pl> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240205_102835_281665_5BDE57E4 X-CRM114-Status: GOOD ( 10.40 ) 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 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 cfa3e00def09..f17bd3ea4a7f 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -253,6 +253,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