Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp3223851imd; Mon, 29 Oct 2018 03:54:21 -0700 (PDT) X-Google-Smtp-Source: AJdET5e6yxCXJlZ+JPWsdObuxClTsTTcGwYhPSQUCiEBXhL2ckrgAYGNVy+YLkSw5DEYHr0LwvBq X-Received: by 2002:a17:902:7041:: with SMTP id h1-v6mr14204557plt.306.1540810461886; Mon, 29 Oct 2018 03:54:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540810461; cv=none; d=google.com; s=arc-20160816; b=urkj4NljHbliBCdirJd9FpBltDvdoC/YWE3GNdrlNxM6aMLoR0Jd3xDOd9zhEPSAZ7 KfIViyMK3Q/PNhq5ZBA7rhkoqT1T7UJtOY2WmKF+ciQAjUURhYftUIXaCX0Dzqa/LLeM TkL4BZgz7gjubtUpdDoRRCOzQuK+k+hhp6HHc1zFrQ3Muapsy+5c/8xIpfC2z6InqjBV CQO99PrTk5pAyLu0Hdub1pVOcFIwQS2dlYIw163PwGVGP+DbvQ5anzly24WVEryojCh3 W/hb25DQRLndnF80RKnx4HGp6+ncD+jdIL/lpqvN8ZGLbWDqLC8LWyh7Goe3Z0xDuaUE ZLMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :content-language:mime-version:user-agent:date:organization:subject :from:cc:to; bh=4utc4i4PBLoitThW+xRE0foiC3zSc4tA6S0HkKg84pk=; b=jjZRl0mY8sbdqXBlLZHoDasbjE45FaLzPBdGuzMqs3EQYCM0rF+jfw4+YIrR65Ne6b GFbF3wTYWPiYI8gYh1ALJ/rspXqbwQXdmXa5u5lggpPCdoFhAfeIeTUSAA1TGRqdhIAb bVjwNmuG5rospNWFY7A8LKQi/x7wqVsozRMR+KflRxkw34XFmgOUMrcRQ0CE92KDNa+j CnukFGRigEVBtuaAoI2wIcNDnjNEaQOuDI4Dls2i9KL6NYKDcpFt15T1JbTlSRUjgPWz ZOvwpFZiQDmGK823RDT/Zy+pTPFjHj0HvmQzyHJ9mrC9+pO5KWt5CXVDQwjrs+B0+ijQ QLoA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x3-v6si20156233plb.262.2018.10.29.03.54.05; Mon, 29 Oct 2018 03:54:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729303AbeJ2Tly (ORCPT + 99 others); Mon, 29 Oct 2018 15:41:54 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:38832 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729194AbeJ2Tlx (ORCPT ); Mon, 29 Oct 2018 15:41:53 -0400 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w9TAo7Gq109877 for ; Mon, 29 Oct 2018 06:53:44 -0400 Received: from e06smtp07.uk.ibm.com (e06smtp07.uk.ibm.com [195.75.94.103]) by mx0b-001b2d01.pphosted.com with ESMTP id 2ne0ey0ya5-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 29 Oct 2018 06:53:43 -0400 Received: from localhost by e06smtp07.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 29 Oct 2018 10:53:42 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp07.uk.ibm.com (192.168.101.137) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 29 Oct 2018 10:53:39 -0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w9TArcjw61800566 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 29 Oct 2018 10:53:38 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B076411C04A; Mon, 29 Oct 2018 10:53:38 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7B4DF11C050; Mon, 29 Oct 2018 10:53:38 +0000 (GMT) Received: from oc3784624756.ibm.com (unknown [9.152.212.21]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Mon, 29 Oct 2018 10:53:38 +0000 (GMT) To: Linux Kernel Mailing List Cc: Martin Schwidefsky , Heiko Carstens From: Thomas-Mich Richter Subject: Linux 4.19.0 Build Error when CONFIG_ACPI not set. Organization: IBM Date: Mon, 29 Oct 2018 11:53:38 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 18102910-0028-0000-0000-0000030F2BED X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18102910-0029-0000-0000-000023CB5120 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-10-29_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1810290103 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When I compile the 4.19.0 Linux kernel, I get this build error: [root@f28 linux]# fgrep -r CONFIG_ACPI .config # CONFIG_ACPI is not set [root@f28 linux]# [root@f28 linux]# make CALL scripts/checksyscalls.sh DESCEND objtool CHK include/generated/compile.h CC drivers/cpufreq/intel_pstate.o drivers/cpufreq/intel_pstate.c: In function ‘show_base_frequency’: drivers/cpufreq/intel_pstate.c:726:10: error: implicit declaration of function ‘intel_pstate_get_cppc_guranteed’; did you mean ‘intel_pstate_get_epp’? [-Werror=implicit-function-declaration] ratio = intel_pstate_get_cppc_guranteed(policy->cpu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ intel_pstate_get_epp cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:306: drivers/cpufreq/intel_pstate.o] Error 1 make[1]: *** [scripts/Makefile.build:546: drivers/cpufreq] Error 2 make: *** [Makefile:1052: drivers] Error 2 [root@f28 linux]# I am building on a virtual machine. This was introduced with commit 86d333a8cc7f ("cpufreq: intel_pstate: Add base_frequency attribute") The function intel_pstate_get_cppc_guranteed() is called but the function definition is within #ifdef CONFIG_ACPI/#endif conditional compile. Any ideas how to fix this? Thanks -- Thomas Richter, Dept 3303, IBM s390 Linux Development, Boeblingen, Germany -- Vorsitzende des Aufsichtsrats: Martina Koederitz Geschäftsführung: Dirk Wittkopp Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart, HRB 243294