Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp396822ybv; Thu, 13 Feb 2020 02:32:38 -0800 (PST) X-Google-Smtp-Source: APXvYqzy0fujDkCUD7qVPuNnE6PtQy/+doizRNrlHSQTkUryeXLt5uEGfyAjZELW0u3737LBowva X-Received: by 2002:a05:6808:b18:: with SMTP id s24mr2332566oij.31.1581589958033; Thu, 13 Feb 2020 02:32:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581589958; cv=none; d=google.com; s=arc-20160816; b=Q9g04WMzjTpn6FGxH7dGJMK3hb8kAt5sU2AGewvxkWm2K4IFWAC3oR2JHx8J+8Pj2C XmcWN873hRdo6qzAkG0dQeR8VKBHgrfRX/2B7MDVBHwkB3pp8vbxDA7J9WSQov7MyN4W XQHB3WiIeyx8psQnOe3kGdTetMTYtqd5lnIiQGjuysiv1F0VpDqyRch405caXg5OSYlt sUtpbn2axHAU1xpgIIJyI13xaazQl7LwN6Wlcu8PgcZYUP8rNIDyqKC/L8BHJga7K6zd 2n/XbpfvGqVmVn7azhBrbiwaMDACtAU/Tt3nESjEOOwMtADH82JQ6LaIF2u8YhxjwTZH Dyig== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=I5wiOppB9p7o2+LrhfLKInqKamtbwe/Y8IWjhwi9gEA=; b=ST1+GEKCBt6ePLq40jZbO7NQfYD4ggjX3/kQhxeJAuJvN9Wp6UpwggiGtWIYtJ/NN7 uA5FRn0Y6XKCAdHfBQLthqK39U3ag3u+d2GdcKkLF4KKfD/gEBJd1uVY1jKxAFuBwnj7 UE1ba1hN1vrDf9+jnHMKkjDkCOBqJf9mbx5EgaGPnoznfCJ4sB+AgYk8556qD8w5HV4z lDOjoIvauhSI/coxMG630TiPSl7uAFpQ5k8tLmTI7PwVG4M9E0kOkOzmhYJw7QRGyVMT C7fTY+PLy0UwfT2dypo0yhNkKPNObVT1ou5IQoBCqqqtfhmM7TMwYnJ196vCC9I65hkH 1J4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VKK+lJZh; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w18si940533otl.54.2020.02.13.02.32.24; Thu, 13 Feb 2020 02:32:38 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VKK+lJZh; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729728AbgBMKbv (ORCPT + 99 others); Thu, 13 Feb 2020 05:31:51 -0500 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:45069 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729544AbgBMKbu (ORCPT ); Thu, 13 Feb 2020 05:31:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581589909; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I5wiOppB9p7o2+LrhfLKInqKamtbwe/Y8IWjhwi9gEA=; b=VKK+lJZh0D7qDk5HvbJ0OIMd8mRBwiWCh7+N9t6RqUeX+xEzDhuVKkuajb+jhPefrxh2IJ BLa8BrcZ/dxryuae26BJPrV6VbpK41SuT3L0ymP84OQ4TofT4WsOWyhPlPaRz3ucL2Zkj+ /PlKuxrobHCxPUtsvuBRhZ/WPeAYU8Y= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-83-QR_Qi3wCMVG9zfE8EGDsGw-1; Thu, 13 Feb 2020 05:31:43 -0500 X-MC-Unique: QR_Qi3wCMVG9zfE8EGDsGw-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4395E1005512; Thu, 13 Feb 2020 10:31:41 +0000 (UTC) Received: from gondolin (ovpn-117-87.ams2.redhat.com [10.36.117.87]) by smtp.corp.redhat.com (Postfix) with ESMTP id D18875C102; Thu, 13 Feb 2020 10:31:36 +0000 (UTC) Date: Thu, 13 Feb 2020 11:31:33 +0100 From: Cornelia Huck To: Alex Williamson Cc: kvm@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, dev@dpdk.org, mtosatti@redhat.com, thomas@monjalon.net, bluca@debian.org, jerinjacobk@gmail.com, bruce.richardson@intel.com Subject: Re: [PATCH 1/7] vfio: Include optional device match in vfio_device_ops callbacks Message-ID: <20200213113133.4f562caf.cohuck@redhat.com> In-Reply-To: <158146232551.16827.14170770732904274160.stgit@gimli.home> References: <158145472604.16827.15751375540102298130.stgit@gimli.home> <158146232551.16827.14170770732904274160.stgit@gimli.home> Organization: Red Hat GmbH MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 11 Feb 2020 16:05:25 -0700 Alex Williamson wrote: > Allow bus drivers to provide their own callback to match a device to > the user provided string. > > Signed-off-by: Alex Williamson > --- > drivers/vfio/vfio.c | 20 ++++++++++++++++---- > include/linux/vfio.h | 4 ++++ > 2 files changed, 20 insertions(+), 4 deletions(-) Reviewed-by: Cornelia Huck