Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2885022pxj; Mon, 14 Jun 2021 09:18:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwm8adTQ8ZOFEso6fLE512tV7fmRSutW/BBaVzn5MOQpRjd5gXi1SwHvoDaO3Tf5lvgfqFa X-Received: by 2002:a17:906:6bd8:: with SMTP id t24mr16481782ejs.501.1623687504296; Mon, 14 Jun 2021 09:18:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623687504; cv=none; d=google.com; s=arc-20160816; b=uh/cyhPOtoDQ9AKLaCCGYu7B9LSnBCLvHzhS95pKL401/EWnd5D7/9wVacxNU/iXT9 QefyST71MhLzlIvTWxAMKeTEremomlZNtc2TXg+iQeflPnoCASOTe+XIWRpbxbOogHMq TKoJeyWV2T7hYHuHXgjRzL4yfCiKwLoLye5G1gZL3rMzoXSUFQQpNnzejxycHHKGmMAi BqXx8wvfpmHjLXkZIHZOIRXC5234q14mmm/1krbhmT18hiW5uPYGf3M68Ss1lxw2fQIg a5S/b3SZSnlcl3D0RblBJQXCPCdEPS8gsXOFX3Wi1NmR+bcRrTh/l3rGowxchQZ8OHza tnNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=w4/fXV/7ZWtmXpJiEafoV3RSdiWGaxBYyWUwujF80FQ=; b=pQf50JwDrlfpBYw+xb7sZjVQngZKOZPMVpSc2xvNMyXogVD49CSceg6JmE/AxQIObx 95nG5sRk8moGG+DeCxUE0MgwRz4886JEP30IWDKyEENLW0ZdFEBeVqB7qIDE1mLAK7aR /4mMEbhstGJ+xPh8WAO41N2EKVJpJfeWDAJfvJ+juNhESoh6Y4ha0deHx3m1tLemGg++ dhkCw5ov1xn1HYn2O7oqvkm61TZ56KxixGGPeMweTj1S+evLvtWJZOH+5KmVNONiVMZx iFX4GoKHooBqztqVO22KxPI313Kier/fVFHuyv9nsm0AJr4Rs0iZ10uY709+DCc7Dy0a H01Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=gHi8pGff; 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 g26si11293099edm.102.2021.06.14.09.18.00; Mon, 14 Jun 2021 09:18:24 -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=gHi8pGff; 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 S234649AbhFNQSO (ORCPT + 99 others); Mon, 14 Jun 2021 12:18:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234511AbhFNQSN (ORCPT ); Mon, 14 Jun 2021 12:18:13 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A44BC061574; Mon, 14 Jun 2021 09:16:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=w4/fXV/7ZWtmXpJiEafoV3RSdiWGaxBYyWUwujF80FQ=; b=gHi8pGffZ5uB2Ud2rXdAcU57gY fS2GXglFMhDX1jOSbAYecFYd7MXfjpSh4YvD6bYNilTb13zsxStuO1Q0ivRUhJVm6w3P3WsMZGXUL QAbkq9MN758wKOc7dpcshqXYf7QlsKpXijOydPevQZldZrAdElXL3wyYlXW4FSmJpcKY2WWifCdZE nPKJlZGHeW2DpW6zZtLI7s8XOoTl2GESbmZFXSDJPfGqqzTzFX3ozVFg2OyF7GS37AjpYpPD67pZM MLaut06zjgMgPt6kFbHddDQ2tbYsePJ15UpQza0PHwxSfiHT0H1azT/bPNQuQdxn+kpGxlQAczIwr p82MTxaw==; Received: from hch by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lspFC-005bdD-8X; Mon, 14 Jun 2021 16:15:34 +0000 Date: Mon, 14 Jun 2021 17:15:22 +0100 From: Christoph Hellwig To: Jason Gunthorpe Cc: Christoph Hellwig , Max Gurtovoy , Alex Williamson , cohuck@redhat.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, aviadye@nvidia.com, oren@nvidia.com, shahafs@nvidia.com, parav@nvidia.com, artemp@nvidia.com, kwankhede@nvidia.com, ACurrid@nvidia.com, cjia@nvidia.com, yishaih@nvidia.com, kevin.tian@intel.com, targupta@nvidia.com, shameerali.kolothum.thodi@huawei.com, liulongfang@huawei.com, yan.y.zhao@intel.com Subject: Re: [PATCH 09/11] PCI: add matching checks for driver_override binding Message-ID: References: <20210603160809.15845-1-mgurtovoy@nvidia.com> <20210603160809.15845-10-mgurtovoy@nvidia.com> <20210608152643.2d3400c1.alex.williamson@redhat.com> <20210608224517.GQ1002214@nvidia.com> <20210608192711.4956cda2.alex.williamson@redhat.com> <117a5e68-d16e-c146-6d37-fcbfe49cb4f8@nvidia.com> <1f7ad5bc-5297-6ddd-9539-a2439f3314fa@nvidia.com> <20210614160125.GK1002214@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210614160125.GK1002214@nvidia.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 14, 2021 at 01:01:25PM -0300, Jason Gunthorpe wrote: > > Isn't struct pci_device_id a userspace ABI due to MODULE_DEVICE_TABLE()? > > Not that I can find, it isn't under include/uapi and the way to find > this information is by looking for symbols starting with "__mod_" > > Debian Code Search says the only place with '"__mod_"' is in > file2alias.c at least > > Do you know of something? If yes this file should be moved Seems lke file2alias.c is indeed the only consumer. So it is a userspace ABI, but ony to a file included in the kernel tree.