Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1000319rdb; Fri, 2 Feb 2024 10:11:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IEJhFJh48qruxV9VrTw4uha1qQtQgNAAEFN+46lbtGDxWMJ64ha9jT+SbYAyI4TaZS7x5Wv X-Received: by 2002:a17:906:b7c4:b0:a36:49f6:ffd2 with SMTP id fy4-20020a170906b7c400b00a3649f6ffd2mr2616242ejb.29.1706897464762; Fri, 02 Feb 2024 10:11:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706897464; cv=pass; d=google.com; s=arc-20160816; b=WUP3JGpcNue6E5ePN300Z3vpUTPMEs5awntMCZJZF0Qxm7Z1oeJ85dOTGOPLlaK2F5 Il+CTZ3h9Hno2K5zlCldSUzTX4iTyb9EqbH9fIHgWIrLnC6Y5Rf0efztlgMvC5m5zbO9 S/u4TpyhxFBScMgWcg5geJLLULhmIKtAX64YISYlrgetrmHLioG0wBl0JurZZ9r86BqS YoeIUUqR01dMBMUAODyLiXZOtXsRwSGONH0Nji3R46ECIsqrExdsljAhEFS8PsdTyrpu qRDPVJSbBR6yKQljt5fXEUT+wtvMOFhmKy//EOHTAIOECpARa6J+Wcq6WaITsclWP2bt sBbA== 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=T9UGts6nGQS3RkEfXeXcR2v8wnlBQKwVVYdgj9qNjJg=; fh=6Tgf5WtDFocZgXirF+2Au3fvpzkcYY650/kYp0Hto0E=; b=WDMqbsyFxbRyjla4P3QKs7G5w3y7HKVJpXalj/AXcY1+DU5X7HTGwayHwW/7q48IPy taO3270H++/u/tpcvVyUvUKQLpv+VGRb7cxj/kQTyy0rT7GOt51s4qMsDeWLhvfu0FvP 1YSwwmMTwFIpDEA2zZcCVLRR71m+reZnLJNO7GNTesfI/B3BGsyB3+csVGFNvAo1Ytx5 J+iSz0v4Zi6MCG25cxrtPo7EkgnPMPVFtGLqX2s2mczjGmC871nCtTKnQlFfvxuK8zHV 2P9U29TfsNzBMIbKhLyAyTk1k8sjYL3H/U3vWA/ElwQVlrMplhrRn0hZEY/EoQu7aMKD RG4g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fqPonD6F; 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-50299-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50299-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCViynsGS/ZWVRaUVsSdWZWipDXU2uY/yOTEU3wAyeeO1+WC6nTqb1a+Y2b5xbRu6Pov6CWVtl2qoWNc98eNKtm6upYkr1B+sGPw8A/whw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id jw2-20020a170906e94200b00a2d0d311720si1030022ejb.530.2024.02.02.10.11.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 10:11:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-50299-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fqPonD6F; 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-50299-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50299-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 82BA21F26276 for ; Fri, 2 Feb 2024 18:11:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C528E14C5BB; Fri, 2 Feb 2024 18:10:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="fqPonD6F" Received: from mail-yw1-f181.google.com (mail-yw1-f181.google.com [209.85.128.181]) (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 26DDF14AD35 for ; Fri, 2 Feb 2024 18:10:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706897453; cv=none; b=HUxl2xyOqDICybSde5mPqaSdirKzHEhjJb+f7cFCqHfFOE3DrvPU/4Y+Uo/VQCxTMTojs0GwNW7IjWlc2dNqc9EbmGIarWQbfyEh1GCc7qxxFoH9/J9T/9cZ8IvZvK8B6rAICt3N2GR3iHMQYN2RlAkZ41kAv3mKWWPNfBnbkDU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706897453; c=relaxed/simple; bh=Bz5RLrDSI2lz3eGrZ1BaBArmjYUlb+b6xEsdTMAn6jo=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=DmLMloo3WUQGp6xMbuQ8eMwpCeZQKVglVeKTbzwL2F50oiwPd0retBA/PizqpEKmzkVG1lYyYCQm9xBwZXWlViLtv7p4D/vWWtRw6sF9p+bcfhs5szmMTAIOFqWUgUjgmK4cmJy7GTjKFzmBXOVpmRtDJgQ9fxdH+bbdn+lhjOw= 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=fqPonD6F; arc=none smtp.client-ip=209.85.128.181 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-yw1-f181.google.com with SMTP id 00721157ae682-6041c6333cdso20540087b3.2 for ; Fri, 02 Feb 2024 10:10:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706897451; x=1707502251; 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=T9UGts6nGQS3RkEfXeXcR2v8wnlBQKwVVYdgj9qNjJg=; b=fqPonD6FmllUQ7g232VwCt3C9y8aURPBGfnJN51oHqJceQvbdcQZdGGerEDS/nynta Rl/xb0eWQ/eMXKctZdSZGJrk0gahVdehSsBfcoiiqIZ9GOclOs/gzQbCHtht7f/SFGPQ d0BCY8Cwv4Rto3+FOuYMGS/MIiiHUsv+VaZ6TWFLqRgi6ZyZyrI45nb/dmsfQxsHfXGn w142I4nvqxDrHSJ5l5q4yBCRfe+fXxnXZhUn532xnPwVU3NeDDLm0DnCz4NqjF763iqi 9Dq3EIbw0Ry81YjMtnKQxFYlpQ/yWRQ8P0KDTs3Sjj6rbWu7UQdW3z8zqXwGI9G4krAe mY6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706897451; x=1707502251; 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=T9UGts6nGQS3RkEfXeXcR2v8wnlBQKwVVYdgj9qNjJg=; b=CqWmbxuWfT97E2AUNgvJucfi/NgHMw6ZIkQJaGaOYM9vwKx5tu+2H6p1qmOpcFZ57L Hn9o1Ds/mCj6x8NvGj5kUbWENfVJMYLNCbHyL269a7+XQjx1TtZaEB/++KGTbuIaiD8z XctrDy3qZvcbABo5Qr4pFjyrelqcLw39i8ZMedU+GHgnWaK/ztRqU7erfXwROtW8eUZ7 tVNXyLTomsIb5TOwm2OiOJgMwU1dCr5nL80VLOQaCQLkADuKiyfHQA8jdVwuaDVLahq1 raqWu+c2Rt3Q/OGK9SjNPOEQ6AtUZerFRHUbUrdf8osBWiMDKVHKeJwVR0+GEQOGNeSp A9Nw== X-Gm-Message-State: AOJu0YwO3ttOf0sLbGiU++hihcJXqL2L+CnJFDBVwyJOAQNE6t3x0kMd S1+atMzU9acnkb+HpG05TA+Wc877IxdcOD3ytvOmR/q0RqNbUw38CHYO4olj2D7NZqJ01YexJvH EMSTjAGQZpTnw65hj9qStkBpZ7brcnWgZh5wUvA== X-Received: by 2002:a81:b613:0:b0:604:ea3:6525 with SMTP id u19-20020a81b613000000b006040ea36525mr6745858ywh.0.1706897449670; Fri, 02 Feb 2024 10:10:49 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240122102157.22761-3-brgl@bgdev.pl> <202402030101.nxmgLcAB-lkp@intel.com> In-Reply-To: <202402030101.nxmgLcAB-lkp@intel.com> From: Bartosz Golaszewski Date: Fri, 2 Feb 2024 19:10:38 +0100 Message-ID: Subject: Re: [RESEND PATCH v6 02/12] firmware: qcom: scm: enable the TZ mem allocator To: kernel test robot Cc: Bartosz Golaszewski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Elliot Berman , Krzysztof Kozlowski , Guru Das Srinagesh , Andrew Halaney , Maximilian Luz , Alex Elder , Srini Kandagatla , Catalin Marinas , Will Deacon , Arnd Bergmann , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@quicinc.com, Deepti Jaggi Content-Type: text/plain; charset="UTF-8" On Fri, 2 Feb 2024 at 19:02, kernel test robot wrote: > > Hi Bartosz, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on linus/master] > [also build test ERROR on krzk-dt/for-next v6.8-rc2 next-20240202] > [cannot apply to arm64/for-next/core] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch#_base_tree_information] > > url: https://github.com/intel-lab-lkp/linux/commits/Bartosz-Golaszewski/firmware-qcom-add-a-dedicated-TrustZone-buffer-allocator/20240122-182633 > base: linus/master > patch link: https://lore.kernel.org/r/20240122102157.22761-3-brgl%40bgdev.pl > patch subject: [RESEND PATCH v6 02/12] firmware: qcom: scm: enable the TZ mem allocator > config: i386-buildonly-randconfig-004-20240202 (https://download.01.org/0day-ci/archive/20240203/202402030101.nxmgLcAB-lkp@intel.com/config) > compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18) > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240203/202402030101.nxmgLcAB-lkp@intel.com/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202402030101.nxmgLcAB-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > >> ld.lld: error: undefined symbol: gen_pool_create > >>> referenced by qcom_tzmem.c > >>> drivers/firmware/qcom/qcom_tzmem.o:(qcom_tzmem_pool_new) in archive vmlinux.a > -- > >> ld.lld: error: undefined symbol: gen_pool_best_fit > >>> referenced by qcom_tzmem.c > >>> drivers/firmware/qcom/qcom_tzmem.o:(qcom_tzmem_pool_new) in archive vmlinux.a > -- > >> ld.lld: error: undefined symbol: gen_pool_set_algo > >>> referenced by qcom_tzmem.c > >>> drivers/firmware/qcom/qcom_tzmem.o:(qcom_tzmem_pool_new) in archive vmlinux.a > -- > >> ld.lld: error: undefined symbol: gen_pool_add_owner > >>> referenced by qcom_tzmem.c > >>> drivers/firmware/qcom/qcom_tzmem.o:(qcom_tzmem_pool_new) in archive vmlinux.a > -- > >> ld.lld: error: undefined symbol: gen_pool_destroy > >>> referenced by qcom_tzmem.c > >>> drivers/firmware/qcom/qcom_tzmem.o:(qcom_tzmem_pool_new) in archive vmlinux.a > >>> referenced by qcom_tzmem.c > >>> drivers/firmware/qcom/qcom_tzmem.o:(qcom_tzmem_pool_free) in archive vmlinux.a > -- > >> ld.lld: error: undefined symbol: gen_pool_alloc_algo_owner > >>> referenced by qcom_tzmem.c > >>> drivers/firmware/qcom/qcom_tzmem.o:(qcom_tzmem_alloc) in archive vmlinux.a > -- > >> ld.lld: error: undefined symbol: gen_pool_virt_to_phys > >>> referenced by qcom_tzmem.c > >>> drivers/firmware/qcom/qcom_tzmem.o:(qcom_tzmem_alloc) in archive vmlinux.a > -- > >> ld.lld: error: undefined symbol: gen_pool_free_owner > >>> referenced by qcom_tzmem.c > >>> drivers/firmware/qcom/qcom_tzmem.o:(qcom_tzmem_alloc) in archive vmlinux.a > >>> referenced by qcom_tzmem.c > >>> drivers/firmware/qcom/qcom_tzmem.o:(qcom_tzmem_free) in archive vmlinux.a > > -- > 0-DAY CI Kernel Test Service > https://github.com/intel/lkp-tests/wiki Huh, strange that it took so long to report it. Seems like QCOM_TZMEM needs to select GENERIC_ALLOCATOR in Kconfig. Bart