Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp507525ybl; Thu, 22 Aug 2019 00:04:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqytGgWhWKDnlQwwDDUJ1amRrDSDRmZZTbargdfnuBQS84eGlUF2wZOq9WjWoaaQe4I/SQjU X-Received: by 2002:a63:394:: with SMTP id 142mr32477221pgd.43.1566457487598; Thu, 22 Aug 2019 00:04:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566457487; cv=none; d=google.com; s=arc-20160816; b=jDohpz89Rm2UUps0MQZsJBP3diCZZTyJ5OGU7CJulqPgUzQcPI8v9H8FWqCyj9Hq/8 TooWvz7b/zSfa6qVydTcg9Eliqs2M4Y5tY98h2GXbWt07UorFutA2+5nFy+clkSlMwhT F+kKCSbYs2LtQDKvgWvLGZN+nSL5dXOEOHIHD2KsGLORmn0yCYwvYQqDi2vsX4XuyCwp 5iaYbFeO6AmnYAEtfS0Nc+jac6h4BB4sXCXSvsxkbDloUwfgZ2XtkTAno66GYVORwvlP szrmBe+YQk/7ceWXwh5DkDN3K52MaBDTjtOSJBZ2/V0jWbLgeK6gZS0rIHRpVfBdZeFl bXuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :date:cc:to:from:subject:message-id; bh=t5s2aSatSDz1PyxbUCqfOd+/JGhBo51SX48ls40Giu4=; b=Excd4eyhPe3qkGB7DOV1g/tlia+umbcJU2HKoRs1Bs0FvTj4OPwnlxOX2zcWR95Dqu fw8uyP7KlIz9CtHeL7frRkG80uE9ytHYiQig2yDRVGfRTgFQ+Y9s24y2my8GDb2QUNex wb3ai9YohfD1BhSVj6PSbGsWGpy5iHgLnLsD2xpKC71DjjKOXLfY1Hm78uwHxbvQzrmp 67lzzTLgoOeOZIch7kQhSQGBCtEvuwVZ+id9QZ/DlfvLsIiy6hcCqHq0pbpmqm3zxxfi KmK5/DadkPeGgI/rHXfbYJ51GbNxHHyJbYbDyJVC+al/KsqpmubCth8WS24GHU8Vap9c +zcw== 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 u2si15755881pgm.242.2019.08.22.00.04.32; Thu, 22 Aug 2019 00:04:47 -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 S1731084AbfHVFrI (ORCPT + 99 others); Thu, 22 Aug 2019 01:47:08 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:56244 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728497AbfHVFrH (ORCPT ); Thu, 22 Aug 2019 01:47:07 -0400 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x7M5kcxD086942; Thu, 22 Aug 2019 01:46:55 -0400 Received: from ppma03dal.us.ibm.com (b.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.11]) by mx0b-001b2d01.pphosted.com with ESMTP id 2uhmhrs6e7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Aug 2019 01:46:55 -0400 Received: from pps.filterd (ppma03dal.us.ibm.com [127.0.0.1]) by ppma03dal.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id x7M5kU6f032463; Thu, 22 Aug 2019 05:46:55 GMT Received: from b03cxnp08025.gho.boulder.ibm.com (b03cxnp08025.gho.boulder.ibm.com [9.17.130.17]) by ppma03dal.us.ibm.com with ESMTP id 2ue977182w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Aug 2019 05:46:55 +0000 Received: from b03ledav003.gho.boulder.ibm.com (b03ledav003.gho.boulder.ibm.com [9.17.130.234]) by b03cxnp08025.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x7M5krml48824728 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 22 Aug 2019 05:46:53 GMT Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D59906A04D; Thu, 22 Aug 2019 05:46:53 +0000 (GMT) Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CFECC6A047; Thu, 22 Aug 2019 05:46:51 +0000 (GMT) Received: from [9.124.31.100] (unknown [9.124.31.100]) by b03ledav003.gho.boulder.ibm.com (Postfix) with ESMTP; Thu, 22 Aug 2019 05:46:51 +0000 (GMT) Message-ID: <1566452811.526.7.camel@abdul.in.ibm.com> Subject: [linux-next][PPC][bisected c7d8b7][gcc 6.4.1] build error at drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:1471 From: Abdul Haleem To: linuxppc-dev Cc: linux-kernel , linux-next , Stephen Rothwell , jgg@mellanox.com.hch, rcampbell@nvidia.com Date: Thu, 22 Aug 2019 11:16:51 +0530 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-08-22_04:,, 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=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=538 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908220061 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Greeting's Today's linux-next kernel 5.3.0-rc5-next-20190820 failed to build on my powerpc machine Build errors: drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c: In function amdgpu_exit: drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:1471:2: error: implicit declaration of function mmu_notifier_synchronize [-Werror=implicit-function-declaration] mmu_notifier_synchronize(); ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[4]: *** [drivers/gpu/drm/amd/amdgpu/amdgpu_drv.o] Error 1 make[3]: *** [drivers/gpu/drm/amd/amdgpu] Error 2 It was introduced with commit c7d8b7 (hmm: use mmu_notifier_get/put for 'struct hmm') Reverting the commit fixes the issue. -- Regard's Abdul Haleem IBM Linux Technology Centre