Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp706308pxb; Sat, 10 Apr 2021 16:59:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwnFHoLT4lvN5qiyZUCtv/PyyfGYochWYIW/gpSdCwxYmDGeGaNIpwaeE0ztO0h9oOm5f8B X-Received: by 2002:a05:6402:212:: with SMTP id t18mr23429500edv.165.1618099165944; Sat, 10 Apr 2021 16:59:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618099165; cv=none; d=google.com; s=arc-20160816; b=NUYGsUHzWUz5WjDzL6XRZ3vRc4VWrumixBZMIEU5jV3rtjB5Bd+Vs3sekRww1Nj0JV GfxTg8U2s8HIVtDnfuvpGGEGzTMS4dwxmWepaeR+hQlUyJffgQwCjTqcS5og4EbvM5gV KKqQetwnxVbuS/d5fSJtJT8btmz53k2iFuvFpXce6JgaQt+grhcREBGlILRRSYEBuq+G uB3fti1tXgVK+kPh1FIWetPjNRw7NNqcNj0bJCdkcdiJ30Z1hHSGTe0j1cliYRmJawXo nIHkpybnXmsuWZP2uIaHTSBxQvwZ8jYguTNZFEr/vybnXf9wR9BU5kBHlsj5iyaR0QJl N64A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=ImmH4my3bHskVbDwy22MNIevC3JZsdugYTzI/EryWkY=; b=o7nFg5CkJMoeq6DXH87vPAoynEQm4kdVpwCWCjfGu0jID3uprXrDbMDq+eB2XGcQ/C 53tfluIIexxqLWdHCdZvTWN6Nf5xOl+1TdgUSbqOMsARZUuXXca3DLa8IeTvcYn5XUjQ bV/F3LuG9gCZqnsR3kdOqRBT03s6KiMCPg7NZ2nPJ7rY5v58kFmn9JyQxBM++I2z3rw5 2MwOHVccOOvuf0vU/r3w2CJeEN59s7Q4TJsoFlvstggxqNyuyvs7okO/Nh6jrTn09CF2 AF6LZ6MVNTSUdbEEtJe+nrFxxaJneXnKmlJMeMkHxRxMb2tXl3Sc6ZUJ7czhOlDk650h 28iA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=aR70jOyc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nc2si4887693ejc.653.2021.04.10.16.59.01; Sat, 10 Apr 2021 16:59:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=aR70jOyc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235177AbhDJXvH (ORCPT + 99 others); Sat, 10 Apr 2021 19:51:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234975AbhDJXvG (ORCPT ); Sat, 10 Apr 2021 19:51:06 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36E66C06138B; Sat, 10 Apr 2021 16:50:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=ImmH4my3bHskVbDwy22MNIevC3JZsdugYTzI/EryWkY=; b=aR70jOycvNYFuV3tcZOk7DKHNV wwdlXd86iX0i7Dv4V81aWvKYteZk/MeMjLynkhLvjrXt3BTKk0BhyYN7PXzX0l6NX/NHwqtCx+EGe 2pObU6rHjWf+xepnPo8orlZIISsbSszsp9wIGauULGChfa8owXWceYyprrwIvGHwAc0rpnG9svFon G44UhroOekVI4z3OzypDxyS5zW1To35PbppALbOEP/ThoGonzb9Z1BdRVYsoHRCAHAfzzjtZDsyZk jEfWFLWOPIV9fhM0L6UIAVf0FlSh4wczWKL3QXA+Byp4+r9HLg1Ylptj89O40GaFOMr5jyeEjjO5U bm1fQlPA==; Received: from [2601:1c0:6280:3f0::e0e1] by casper.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lVNMu-002HrR-Cl; Sat, 10 Apr 2021 23:50:36 +0000 Subject: Re: linux-next: Tree for Apr 9 (drivers/iommu/intel/pasid.c) To: Stephen Rothwell , Linux Next Mailing List Cc: Linux Kernel Mailing List , Lu Baolu , David Woodhouse , Jacob Pan , Joerg Roedel , Will Deacon , iommu@lists.linux-foundation.org References: <20210409215103.03999588@canb.auug.org.au> From: Randy Dunlap Message-ID: <7fbf0e6e-bd63-d370-7d22-eafc2ed81ad2@infradead.org> Date: Sat, 10 Apr 2021 16:50:18 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <20210409215103.03999588@canb.auug.org.au> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/9/21 4:51 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20210408: > > New trees: iio, iio-fixes > on ia64: (not X86) (from a 01.org kernel config file) ../drivers/iommu/intel/pasid.c: In function 'pasid_enable_wpe': ../drivers/iommu/intel/pasid.c:554:22: error: implicit declaration of function 'read_cr0' [-Werror=implicit-function-declaration] 554 | unsigned long cr0 = read_cr0(); | ^~~~~~~~ In file included from ../include/linux/build_bug.h:5, from ../include/linux/bits.h:22, from ../include/linux/bitops.h:6, from ../drivers/iommu/intel/pasid.c:12: ../drivers/iommu/intel/pasid.c:557:23: error: 'X86_CR0_WP' undeclared (first use in this function) 557 | if (unlikely(!(cr0 & X86_CR0_WP))) { | ^~~~~~~~~~ ../include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ ../drivers/iommu/intel/pasid.c:557:23: note: each undeclared identifier is reported only once for each function it appears in 557 | if (unlikely(!(cr0 & X86_CR0_WP))) { | ^~~~~~~~~~ ../include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ -- ~Randy Reported-by: Randy Dunlap