Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp6285023rwn; Tue, 13 Sep 2022 01:41:01 -0700 (PDT) X-Google-Smtp-Source: AA6agR7Tebyd2sIpFds7zhrGT4dvbUpZnuJKBrT0QilAT4u/4xniC/z6oxbUxUfvYuErAwjBiUy5 X-Received: by 2002:a17:907:25c1:b0:77b:9966:ccf1 with SMTP id ae1-20020a17090725c100b0077b9966ccf1mr9757669ejc.763.1663058460746; Tue, 13 Sep 2022 01:41:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663058460; cv=none; d=google.com; s=arc-20160816; b=QA1RwkokbhxFdS7Eg42jIongjwUFWoXAvUX1lQvwQrXnnwtaTtASlAjjHMbwidS2bx 2BTlVCENsrY/bZm66V5d0vjnyAmP9MdkHcJ0SlkzXKXDYVGNzCCtwZAq7vfzZAHI6f2B 1jukqugQIpP498RHWzhX+ijB9Df33Eg05cQME9rUDQH8GGxVUfcT2+qKis2xjpedxCkY SGCSvJqPYQPKATvvuve0fXynU96Aal9ASNNvY23Iqc8Pe0sjA8DjvhUJtqrHBUctM+aL 0BjufW43CYLMBuzTbQEhgqtVgOIHWzkCDlriFvGZvYD1qGVswlBJHhB8AZ1qBftQqCsA KdFg== 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=TU6BQUuqCvOJ10JNmm8vLsxkhWtaa3UDrD+q5dYDSa4=; b=CDZ/vKJ4oFjSeV2Bu8sOs/+sjjrm9bm4KuRG5yr1UAK62fYUgzm2koFG73Qd8ditCb j829bcQQxcmTDmQV7hieIMTgKEHJ7mxYoqArBpcjVQFOvl1UH2s44wqmtfImXawSiuEN gVJOra1ZMuiWYRh+1dKhcoHgkmbKK19JYYSi/M+82T+0tpF9qzmrK0EI+SCjnQuIRCtg zNGZMuLiJ8C/Kakshdv00Cr1MnYjcgM0r7xwtT7lDta4EYCKQtn4oSWaQnSwH89mzikv YLPh0P1einBz2t+zDdjlsbKvpfvSFu/UwxIU1cZos/AoYtlqzjzdNKshJX6+o9vNoFhx DDfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=b4kJoTc7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hv13-20020a17090760cd00b0077a0529e045si8051809ejc.218.2022.09.13.01.40.35; Tue, 13 Sep 2022 01:41:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=b4kJoTc7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231393AbiIMIb1 (ORCPT + 99 others); Tue, 13 Sep 2022 04:31:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231437AbiIMIbX (ORCPT ); Tue, 13 Sep 2022 04:31:23 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65FF132AA6; Tue, 13 Sep 2022 01:31:21 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28D80ns0023483; Tue, 13 Sep 2022 08:31:15 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=TU6BQUuqCvOJ10JNmm8vLsxkhWtaa3UDrD+q5dYDSa4=; b=b4kJoTc7gVSLoAzBrFCsG+rDv78LbxIsXJNMilQ+7YtkptqyFJVtMHTiyc1Z6IZBfTie hAFtQhB1Oj69AEdy5iokMt+dATGatcKhJS9XgamBYw30+B55qR/o/pgcRnLwnWytjFLg XL5Ml/nlVP5BHkCRnnVNqZrCahOCpfIAw/gGjiQyBYYvV8Bnxto5JlS6n8O1YEHxc2NS lEI/Jwm82x38+mjPOcmyhBZw8soo31p+PfmZvWufMINqb3P2iTdDH8VF3hdhw0pMg5Kr rcsMl0bn2wmNm8f4HRiAzKy2No++6mlIxcAYE1/QpKoSIq//ufsqcox1ugrZBbom2crl 9Q== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3jgk636qn2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Sep 2022 08:31:15 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 28D8VEBf001673 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Sep 2022 08:31:14 GMT Received: from [10.239.132.50] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Tue, 13 Sep 2022 01:31:11 -0700 Message-ID: Date: Tue, 13 Sep 2022 16:30:50 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: [PATCH] interconnect: qcom: Add the missing MODULE_LICENSE Content-Language: en-US To: Leo Yan CC: , , , , , , , References: <20220913062721.5986-1-quic_hyiwei@quicinc.com> From: Huang Yiwei In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: kZ0qYjRfOzWM_JtfJj3mPj59HAaMiCKR X-Proofpoint-ORIG-GUID: kZ0qYjRfOzWM_JtfJj3mPj59HAaMiCKR X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-13_03,2022-09-12_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 priorityscore=1501 impostorscore=0 suspectscore=0 bulkscore=0 clxscore=1015 adultscore=0 phishscore=0 spamscore=0 mlxscore=0 mlxlogscore=836 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2209130038 X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Leo, On 9/13/2022 Tue 15:08, Leo Yan wrote: > Hi Yiwei, > > On Tue, Sep 13, 2022 at 02:27:21PM +0800, Huang Yiwei wrote: >> Since icc-common.c can be compiled as module, add the missing >> MODULE_LICENSE to avoid compile errors. > > Just curious how you can enable config INTERCONNECT_QCOM as "m" > (module)? > > I checked the config INTERCONNECT_QCOM which is dependent on > INTERCONNECT, and INTERCONNECT has below dependency: > > - DRM_TEGRA [=n] && HAS_IOMEM [=y] && (ARCH_TEGRA [=y] || ARM && COMPILE_TEST [=n]) && COMMON_CLK [=y] && DRM [=m] && OF [=y] > - TEGRA_MC [=n] && MEMORY [=y] && (ARCH_TEGRA [=y] || COMPILE_TEST [=n] && COMMON_CLK [=y]) > > Seems to me, it's impossible to enable INTERCONNECT as "m" because the > dependency ARCH_TEGRA/OF/COMMON_CLK cannot be configured as "m". > > Thanks, > Leo > Found the problem, INTERCONNECT_QCOM is modified to tristate internally so we can compile it as a module, and the new added icc-common.c uses INTERCONNECT_QCOM config to compile, then cause the problem. So shall we change INTERCONNECT_QCOM config to tristate? Thanks, Yiwei