From patchwork Mon Mar 25 10:03:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 13601741 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 CA39BCD11DF for ; Mon, 25 Mar 2024 10:05:54 +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=dBbvScrtps6OSozkYa+ML5DF6tVepqWCgA3q3wxJsGk=; b=og3llM18KbpOXr 7vD1pqApx8GyNtMKUbizYyyxmSavy+7SxQcZ3v6TbZk/6ax7Jk1qFImGPFNJakKR5lSExoQRX3MnZ P37f2gwC9nyES4dcNdgWlwNhtR9sknI+yFIUh2LrrpCF5yUghJkGZY3QOAhCeYoZ7ZG9wpJwLYy8U Q3kd6xBJPm1eT5igaMOHaNxR4YivZ8QyTeY7eL+sNdhEGwY0qCO+IfE1AumJ9Rhaboqk7LKjpGvYq jyTsH/T0bSsMTo/QD2AoP1o7ptaDyV+NVrDdrz4dk2kNzxBQKGYFnAa6u75mUl4z4Q3YvpRVOpxLh 8BPy1vEk3WpdIxOEaBqQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rohD1-0000000GdIL-1WTY; Mon, 25 Mar 2024 10:05:39 +0000 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rohBo-0000000GcX5-2YCp for linux-arm-kernel@lists.infradead.org; Mon, 25 Mar 2024 10:04:27 +0000 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-341cce3e5f0so795852f8f.1 for ; Mon, 25 Mar 2024 03:04:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1711361061; x=1711965861; 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=WaZeoNiyzTwiMheeiYsNuMRt9KraQvAJ66Q4WnMYg4o=; b=b/AwFLVnGk30JrZN58383myRc8lxJMCcoSboH407QtTbD5CT2Jwvxur9YLTEopBN3d teqf+6yqpBJVarrGDwAh8JUTohVs7+BwK0Yn0glK7x8/ytLl8v/7do0Nz2+e1g5zlWSm nMbZ0xtfSkadJqrneaJ1PlWs5lP0b48ug/VxSqb8JJFh4MgvpC2idO8qEfEA5NgQXhNQ nZMsUSV36AidV+iBj/UDQIAxGmt7LZFnmYbyBjX+2fRP5ZxhvrqbTNdgZy+5BcTPknAD eSx+drJ8d97UdUzzQPtdXWGOINgTVrnMaeEORiRmj1qYSbJumtigvJZslTUCF5+HMqB3 XhAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711361061; x=1711965861; 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=ofOA5KDzlugdN9pav/ooI1wGWH+EXg0JxUbIc1r5bczyFf/5hHL5SpPvvKmY07SobT wrVBWKWoi/uik8+T6BlS4DodSflqN6RkrWNn/MPBe1ryYI/V6XrLvqdNm6H1qMVJvOyN K2kNtIktaE0coXhG5HtoQ88TjrizRrhZytXTk39LPelGOLR1m9JV3WF2YN4zK0MN868U iPU7wcln40QPOpUP2oZlTZB8HOxGJeynoy1f8EyrUjMsrS9qeV5+sD+yjSwAxBt39pn5 INTR/8HlyWn68X/79au4/qE8mcs/X8E7ley2r/hhjvd1usFWqUmaF7d9+I9iPI3c7j0D 7yyw== X-Forwarded-Encrypted: i=1; AJvYcCUE7gVhW0dntt5y26gToSrTE9FkCdkCQkmHZhOOcVaDRycqsSG0CGGXcx6j7mauJymncWv+6Sf7wxtm62QGq/Zn+7VHsfJJ5aD398rRDc2KspiK0I0= X-Gm-Message-State: AOJu0YxhFIAhmeZJXWQprXUkLc+rs4KaK/8Ic00hwwaXK+EVxDsyXMqf SW+JUp+x9ncVBxr/Ty8dRC//XbXQFU0or8As7PF+AC6UfDceB0RZzwDrYV0AOcY= X-Google-Smtp-Source: AGHT+IHujk/ZzEH2RHwabsHqfC9LHoEHea4fncmGvBpbM34nOuQQYGhnlfRPNRlbV05z0T5eyAWzgQ== 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240325_030425_127836_59D9306E X-CRM114-Status: GOOD ( 10.36 ) 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 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