Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp185269lqz; Fri, 29 Mar 2024 12:47:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVP5oRvG0le5ZrqEqkA6lU22fRSMi6yx9qtJP7+wHnFbmbfB5LMdjlhuQmM8k6MzTu3malUupAM3QJwZh6wri5mBIfHww8p4btHbTQB8w== X-Google-Smtp-Source: AGHT+IE4pEc6MNNRbkGFG2O83gxW+u8oJunJHvoo0jVjpBcdFI7YbsUYjl9TN1HeRCoiLUNfyCSE X-Received: by 2002:a05:620a:1d9e:b0:78a:790:9fb with SMTP id pj30-20020a05620a1d9e00b0078a079009fbmr2930850qkn.55.1711741637173; Fri, 29 Mar 2024 12:47:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711741637; cv=pass; d=google.com; s=arc-20160816; b=JdLTbq7qsNwk/w4uveLD+t+zinXkeCtlnaGZbb7v2zs5yWqM3YKEkdPgDq6dHxzbom EvLmXFiBwT6lkRtKzGU/r79IMOOYqfO7WCsSj0vHPYCV4+dB+Kpz+u1mPYqWgKaQkJwR ND4WwkzMR0G4d3a8FOvUf6Uc/Za0QgXQxKSM4nw2Y2dBbB9lCch8tX1j8xllv+6sM0hD 022RNc8tdvucg3elpYOwzyoydAtZgpbeBXxJGUuSkvly+HoSzifUkX7E9FBLZl2quX+s UtRB+ojPR0VcnP9wZpvCaZCeUF0hD3v0xeZyb2gQ2jAmi0ewSvmrCnHd8wGPvuz/l+fM 8bYA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=s8LTLkiOqhoQx9nKUjUGrsIhCVuP+jNs3wYFq5ptfmU=; fh=3ESBPILyVwPfz1fV8E8FrSILcJhcbnaLEwoz32O/Mtk=; b=cNp/vMfYdM6mFrJ4ZxfOnG9cfDju20ddAfw6nSXaL9ZBSl5r5mDTXc69aMCWOWvVV2 U5Zee51fGswBWJH65gMq88UyTmgPXCu1qldKMooTQZdVkKq9Q4mOxjv/ZH1yqYN4MVk5 DGUQ+krEBkw94bCvxQyvx/gldJToJiLifi7my7HTP+beV1QkXJiTdkhc8Gu7GqPjUdbg m4SomXH03Bp500AG1MdxMJ/J0t+jiFVBXLiFyuzZMlvrqZ2cxLxTOe8kZF6QKIzawZVB Gfg0HRYQHHIlqcJbNGf6d41/2cdxyUvSVynIyZdnYAxKqrARNI1XljMyy74xZPegQhAe c1cA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A25Bg9vF; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-125352-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125352-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id wh3-20020a05620a56c300b0078a6cf831a1si4324345qkn.650.2024.03.29.12.47.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 12:47:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125352-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A25Bg9vF; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-125352-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125352-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E05D71C20DDE for ; Fri, 29 Mar 2024 19:47:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 44ED513AD06; Fri, 29 Mar 2024 19:47:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="A25Bg9vF" Received: from mail-yb1-f169.google.com (mail-yb1-f169.google.com [209.85.219.169]) (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 DBBCB13AD18 for ; Fri, 29 Mar 2024 19:46:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711741621; cv=none; b=bOqdvBoidHgj1Q7h21Qlzyf5Li7xSoczNN4d2oEO/KHc52bQX/sl+N0wzh05P1WBJw8dWBp6tANB80Cd7NkhvHYxitJ488bxzdp2RnWNMwF5L/X/0hvPTZHNjPiQvFFUiwVcCF9Uo0ociNdZfepi35vcdkDrAqiGeXQlMmQQLSU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711741621; c=relaxed/simple; bh=s8LTLkiOqhoQx9nKUjUGrsIhCVuP+jNs3wYFq5ptfmU=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=OAXEnP3doX9nki9YfB4UViqpK61/Ov8ZIX+3nXN/KtUCueaBeNVJpZA86OHD1S5DZ8guE8HNJ1Itzlz59boibXujZdjBgyY2EKu4Z8T/FgDcNLIycGGSEDlYLxotAB4u7DcFIR8C/doVCcVP30zTKBOnyJDMO6WHqyo3BDOmge0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=A25Bg9vF; arc=none smtp.client-ip=209.85.219.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yb1-f169.google.com with SMTP id 3f1490d57ef6-dccb1421bdeso2160666276.1 for ; Fri, 29 Mar 2024 12:46:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711741619; x=1712346419; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=s8LTLkiOqhoQx9nKUjUGrsIhCVuP+jNs3wYFq5ptfmU=; b=A25Bg9vFL/yvir9byw0wqM3rgGjI1MWzywXMbs3+SZCD2qnvVeudt/pE0SI1z1pkFL Np9Th7I8F2+68bRiihCQ5Bg0yhl92yUg3p7MLwNw4ygGBr8SdtdPhTcr4w3xWgzslhym GZCNAQ2Xa///EPo6WK+ZeE0aqIqanGg76S/T+Oj0EWBdsS9oWe3g28CJCUygJeiZDvIu 0MnB5iEvrlaBusZWRoRyxtXc0ZXDOaoDB0PVp6XgD8+SDuBd8EVrkUWobkMdERBuRDfk oRuMkobp+g+9slssqTTmcNWw4rueVFN8wKn+6JsV4LnmSsZ0EyAFsJCPTLJxMZDhuksu ubmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711741619; x=1712346419; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=s8LTLkiOqhoQx9nKUjUGrsIhCVuP+jNs3wYFq5ptfmU=; b=ao+eWjmoiLsIuAhQEYSh7bwZva4bIc0Vsxrx5vVCkIx6wOmQSJgeHuPsAH2sD8Ebt6 k7/yEZDcvDrDqV+1mqd6f47pepqHDL3eqM4oYKPCKzcGbG/KKlIqmtJ+JSi0ABn9Zbe3 zwTctpWcjn8NzQxhg9QFR7Lye48p/YZW6bweroNEih/cztchekrPINLqcXPZv7tXgew6 aHK32ggOSE0TlKcBZ2OXx9rSDMYrqelNlHmyZ7lrnfPamTfvHNKxsB5T8aIBxDLsii0M iCRv5eU09X8G2dJeTAXsfXsNB2mcoqAn+dWyX0vipEF/wIwOSxvjW+zibIgoyLZYWVUH V7uQ== X-Forwarded-Encrypted: i=1; AJvYcCXFxdJMXeFYbbB7tqvWY5WUi2+hf+Y1lVkgsWNyyev17aiDakUPWCS/WmskSXSBkCogcD13fkxwKWcC7h5t5HjkJTaf2mjJpS0P4tjb X-Gm-Message-State: AOJu0YxHsk17frtQoqmMoD+P1P7fSx+52TyYBobysCZoFC+wEDwANVsD xx9Vr5KOwIOysqFi24/P/roKhROSFUTllrf7+5MWL5+kxYK5b05v5lX9MkjyCJwjs5CaMoFfEj/ WXti/m2HAdNGck1Bh4ju4gtbielbzmSSfSBBwRg== X-Received: by 2002:a25:b10:0:b0:dcd:1b8f:e6d3 with SMTP id 16-20020a250b10000000b00dcd1b8fe6d3mr2059070ybl.48.1711741618942; Fri, 29 Mar 2024 12:46:58 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240325100359.17001-1-brgl@bgdev.pl> <56e1c63a-4c09-4d92-9ef2-aad5390879cc@gmail.com> <82f94b54-82d1-49b9-badf-63d948b347fc@gmail.com> <97e1f121-9e84-4e63-9c9c-57e2de0b29d7@gmail.com> <2b1dc031-d645-494c-9103-a2bb422ea60b@gmail.com> <9b1e5ea0-bb32-4c42-b2e9-204bde31b905@gmail.com> In-Reply-To: <9b1e5ea0-bb32-4c42-b2e9-204bde31b905@gmail.com> From: Bartosz Golaszewski Date: Fri, 29 Mar 2024 20:46:48 +0100 Message-ID: Subject: Re: [PATCH v9 00/13] firmware: qcom: qseecom: convert to using the TZ allocator To: Maximilian Luz Cc: Bartosz Golaszewski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Elliot Berman , Krzysztof Kozlowski , Guru Das Srinagesh , Andrew Halaney , Alex Elder , Srini Kandagatla , Arnd Bergmann , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@quicinc.com Content-Type: text/plain; charset="UTF-8" On Fri, 29 Mar 2024 at 20:39, Maximilian Luz wrote: > > On 3/29/24 8:26 PM, Bartosz Golaszewski wrote: > > On Fri, 29 Mar 2024 at 20:22, Maximilian Luz wrote: > >> > >> On 3/29/24 8:07 PM, Bartosz Golaszewski wrote: > >>> > >>> Both with and without SHM bridge? > >> > >> With CONFIG_QCOM_TZMEM_MODE_GENERIC=y (and the upcoming fix) everything > >> works. With CONFIG_QCOM_TZMEM_MODE_SHMBRIDGE=y things unfortunately > >> still get stuck at boot (regardless of the fix). I think that's > >> happening even before anything efivar related should come up. > >> > > > > This is on X13s? I will get one in 3 weeks. Can you get the bootlog > > somehow? Does the laptop have any serial console? > > Surface Pro X (sc8180x), but it should be similar enough to the X13s in > that regard. At least from what people with access to the X13s told me, > the qseecom stuff seems to behave the same. > > Unfortunately I don't have a direct serial console. Best I have is > USB-serial, but it's not even getting there. I'll have to try and see if > I can get some more info on the screen. > I have access to a sc8180x-primus board, does it make sense to test with this one? If so, could you give me instructions on how to do it? Bart