Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp934127rdb; Wed, 6 Dec 2023 04:23:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IGragDmjytGJFHEKnWH03LK8H/Pa2mCxO6qqi0dLwMmXG7mXBKF8w7DV5np6lMwUUYl3lOu X-Received: by 2002:a17:902:ef82:b0:1d0:6ffe:1ea6 with SMTP id iz2-20020a170902ef8200b001d06ffe1ea6mr461481plb.137.1701865423740; Wed, 06 Dec 2023 04:23:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701865423; cv=none; d=google.com; s=arc-20160816; b=dwilARGxwQTrbkZg4USUpJ2g+8kwJz2k73tLSdKSgFWLoQiovD/2oDi9kntXPqeZoB SiMh55qOk5bIv2Pxgaosdcyc6+y4AssV+9p8AxeYY4bQ8EeIeASVGOVNNoLOmxi3RCbI 1sxYnqEUoVj+v5w+hubdj25iHF+IU3PlVuE6sK+871/uHekIm5XsZXuEDBI4LbErVJyh H+so9RrtRD5w9UOxdBdiIKuI4ouUBInW+W1uSpMvIqbZdqydbfw7lbtm402Ws5Psawuw 4BiQgzNYqQAGLkdOGh68jc3KRh9KhU2+g/V0lYilVrbrNxymWmq5BkM/f0BLZ6PnIC07 YSEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=/DzoPfWTSCdQs7IBgaNCNhvytcrfnmBWz8SmUAIpH50=; fh=UNMpqDIBMu3Gf5sbqu4dI59r4tSrMO3AWH67kLtkUqE=; b=QFDsQPpEepa1ZM5XWfWeR6oY/ZQWHowCgCxUWUCavaZst1pg30Kx9Z/4noycdRGJJt 5j5F3k1doRCk58FtsXLjszZxNHcA7P2YL2N1xKOdWICeBi5EiJYamBSXsrsVwRC31wxw mOcmHmKJGxPMY+yhjMCmfaQxv3J++st1oM6zfDi0+J/1BpRRiYiXDfWNop6OAxkQb4j3 L4s/5J4ztS+H74AhFpATEpuu1lHR7sfzmRhe+1nfmOeBb9jOFrB+PfCo/3b/VRsptczk YHfKKDablTDUtg+toIYwazzL8xqNqnot2+PATWqmHqT5B0L2RNAxEM1U3w6MC3Qhf9f+ tNpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ggWffWZZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id l10-20020a170903244a00b001d0d312bc2bsi1821631pls.377.2023.12.06.04.23.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 04:23:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ggWffWZZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 3B007808A374; Wed, 6 Dec 2023 04:23:40 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377993AbjLFMXY (ORCPT + 99 others); Wed, 6 Dec 2023 07:23:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377925AbjLFMXX (ORCPT ); Wed, 6 Dec 2023 07:23:23 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FA87D3 for ; Wed, 6 Dec 2023 04:23:27 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-50bfd7be487so3609822e87.0 for ; Wed, 06 Dec 2023 04:23:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701865405; x=1702470205; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=/DzoPfWTSCdQs7IBgaNCNhvytcrfnmBWz8SmUAIpH50=; b=ggWffWZZE8syarCQnPoiLlt+LrdjL73MRmMimlOv0gfzxcfnHaPNTGVUqWTKlLhqkl VTOirlZ3uf8vDkiMiIBoe9QHCs1WrBH+8653noE6NHcmoPdQExaMHp2i2ohn6UkhFxCu pG+tIqmhkwU3FU7PNBMG3OC2bwwfLlEjE3SY76OgrRreYZYnmvAbaXuJC+jjWDMp5wV9 NLVhl4p1ZDRN9GskyKCVjBV+4iZPq3hU8C5ZNY8YJv+A4PkNeQaAJzj9gS+0KCOUAQei 1NXTvYDmpcmdOumS4oVz6TepYoFpYdEIAlY53Bfct36VzurKVYqKwxC4AOjcqBJ+DFPW fsfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701865405; x=1702470205; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/DzoPfWTSCdQs7IBgaNCNhvytcrfnmBWz8SmUAIpH50=; b=WXoX4tzzG5CwJroI1urnvuJ6G+Wps0ITzzlzr2mqmkybBNnazfq7TNXpO8XFv6PnJo EuprCsXQeSWVstApogG0pgSwY/VbHwHwtVNc4DIGpMQPArDOoCKeqA1XkbwVahSLyhI8 WlwFds8HU3lZRlbw+/XaM28mKciZ7ntUIEmuI6nSeRSeJlEaqcvf6o2rS6dqlXJUb0wy hUj/Q8taolPLE3RZ3ds+834muQHoXvxqFEiOXXRRHMIN4kCJMvx0QXJ7+Caquo2XoCeU emn/QtKONMhmIkQ+tDzn964UoEiN6Y3Mgac55EaS7cEH4BNOyIJ1BTtpVbxkgJULvt69 yHXg== X-Gm-Message-State: AOJu0YxVBZoPCJ/0iknhDGi2i38n0e3bcBAdEMbQ0VpLfuQWtu6pJHIX OD9xI42UOxaFAlOI6Dg85KGYWGGGYsMYIYxwPbFIUA== X-Received: by 2002:a05:6512:3986:b0:50c:bbb:e3ce with SMTP id j6-20020a056512398600b0050c0bbbe3cemr614570lfu.112.1701865405360; Wed, 06 Dec 2023 04:23:25 -0800 (PST) Received: from [172.30.205.186] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id z19-20020a056512309300b0050bfc6dbb8asm755053lfd.302.2023.12.06.04.23.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Dec 2023 04:23:25 -0800 (PST) Message-ID: Date: Wed, 6 Dec 2023 13:23:23 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] soc: qcom: stats: Express AOSS QMP module dependency Content-Language: en-US To: Bjorn Andersson , Andy Gross , Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, kernel test robot References: <20231205-qcom_stats-aoss_qmp-dependency-v1-1-8dabe1b5c32a@quicinc.com> From: Konrad Dybcio In-Reply-To: <20231205-qcom_stats-aoss_qmp-dependency-v1-1-8dabe1b5c32a@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 06 Dec 2023 04:23:40 -0800 (PST) On 12/6/23 05:38, Bjorn Andersson wrote: > In the case that the Qualcomm Sleep stats driver is builtin and the AOSS > QMP driver is built as a module, neither the implementation nor the stub > functions are available during linking, resulting in the following > errors: > > qcom_stats.c:(.text+0x33c): undefined reference to `qmp_send' > qcom_stats.c:(.text+0x8a0): undefined reference to `qmp_get' > > Resolve this by expressing the dependency between the two modules. > > Fixes: e84e61bdb97c ("soc: qcom: stats: Add DDR sleep stats") > Reported-by: kernel test robot > Closes: https://lore.kernel.org/linux-arm-msm/202312061258.nAVYPFq2-lkp@intel.com/ > Signed-off-by: Bjorn Andersson > --- Reviewed-by: Konrad Dybcio Konrad