Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3344259imu; Mon, 7 Jan 2019 01:24:53 -0800 (PST) X-Google-Smtp-Source: ALg8bN7HDOukIAOpCIoYUKUGpl5RwxsT3LkJUPnbdrv5EbQa7SKy+znNk4GBslbvcbp5DKjhImi7 X-Received: by 2002:a63:2bc4:: with SMTP id r187mr10223146pgr.306.1546853093263; Mon, 07 Jan 2019 01:24:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546853093; cv=none; d=google.com; s=arc-20160816; b=f259UYEl2S9cqrd9tAHz8rBGnaalcnzCvE2d8LqcfDM9uMiqbccPj77RsF+jNz6SOS eZ5DGo18bARRV+eEGLIN+P/2k9x8PLqqFkVS+LRFKu9c//uqQ/uzLxbR5T0x4K8Rb7Lg k6NcUcefEM61nPbwtISvu7yVNX8yf1NlJMezeELLyRyZEPKQ+NBFvkaF8Ucb45bJpiCw akswMVT4gP/fTAmdJth4EuXFcCVAL/u8ku3v7qI/jcLA3EftPTGjAw8WvC+8XK5DqhBx LrNRiZJOX75rgvF2o4XN6LtrGE+1stC0sz5loMrB2gXriymEN2t63F2lfchdDq/nSUbY ivxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=uFXx9H72c9t/1ovMAS0/X9mSnVPIeLDRmvtp2NZFgM4=; b=QbiC48jaHD9b8T5MKFQ1Q47bJR61pn9FaSkl94GwHdw9+P9c/AQ639OSX2ZmNmQAv9 xqDTeIis/W2/HlutsRzJlPKFjlTRqC34l8Gn7ASEr5CyqXT2cCpUAHMh/4+6BJEKmrTC 4vFD+BlVU/eh18HfqtsnqMQdQ33w4esiyi2dNC69vnPZqjEw+KZZXN1g3DO/dB8rGVfT 9j/p9zOW3jzksUG/V5fVVhQcbt1f+C1zBEAbp5Da+B/mKncXkFxCe2TjGIeMNeoRs3KM bGxaoYZyMXNGsRHRNZFHzN4JXmXezb0W8LzqqHATXbom8Cl1arFL95rkV1JaqGJUxvPh kegQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 35si5773350pgn.278.2019.01.07.01.24.37; Mon, 07 Jan 2019 01:24:53 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726714AbfAGI6J (ORCPT + 99 others); Mon, 7 Jan 2019 03:58:09 -0500 Received: from ozlabs.org ([203.11.71.1]:50873 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726622AbfAGI6I (ORCPT ); Mon, 7 Jan 2019 03:58:08 -0500 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 43Y8Ry2rHbz9sDP; Mon, 7 Jan 2019 19:58:06 +1100 (AEDT) From: Michael Ellerman To: Laura Abbott , Alexey Kardashevskiy , Alex Williamson Cc: Laura Abbott , kvm@vger.kernel.org, Linux Kernel Mailing List Subject: Re: [PATCH] vfio_pci: Add local source directory as include In-Reply-To: <20190104195714.30045-1-labbott@redhat.com> References: <20190104195714.30045-1-labbott@redhat.com> Date: Mon, 07 Jan 2019 19:58:02 +1100 Message-ID: <874lakc09x.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Laura Abbott writes: > Commit 7f92891778df ("vfio_pci: Add NVIDIA GV100GL [Tesla V100 SXM2] > subdriver") introduced a trace.h file in the local directory but > missed adding the local include path, resulting in compilation > failures with tracepoints: > > In file included from drivers/vfio/pci/trace.h:102, > from drivers/vfio/pci/vfio_pci_nvlink2.c:29: > ./include/trace/define_trace.h:89:42: fatal error: ./trace.h: No such file or directory > #include TRACE_INCLUDE(TRACE_INCLUDE_FILE) > > Fix this by adjusting the include path. > > Fixes: 7f92891778df ("vfio_pci: Add NVIDIA GV100GL [Tesla V100 SXM2] subdriver") > Signed-off-by: Laura Abbott > --- > I'd still like to echo my sentiment that this should not be a def_bool. > We hit this error on our internal testing and we couldn't even turn > off the driver until we fixed this. I assume there's some reason you can't commit a patch to your tree to change it to bool, or turn it off entirely? That would change the SHA which is perhaps reason enough. In general we have far too many options and most of them never get turned off (or on), so it just creates testing/bug surface for not much benefit. This is one that will probably be turned on in all distro kernels for example. But I have no real objection to making it user configurable. Alex I assume you'll merge this fix via the vfio tree? cheers > diff --git a/drivers/vfio/pci/Makefile b/drivers/vfio/pci/Makefile > index 9662c063a6b1..08d4676a8495 100644 > --- a/drivers/vfio/pci/Makefile > +++ b/drivers/vfio/pci/Makefile > @@ -1,3 +1,4 @@ > +ccflags-y += -I$(src) > > vfio-pci-y := vfio_pci.o vfio_pci_intrs.o vfio_pci_rdwr.o vfio_pci_config.o > vfio-pci-$(CONFIG_VFIO_PCI_IGD) += vfio_pci_igd.o > -- > 2.20.1