From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9C74DC54EAA for ; Mon, 30 Jan 2023 23:52:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EBC0110E0F3; Mon, 30 Jan 2023 23:52:04 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id CE0DD10E13C for ; Mon, 30 Jan 2023 23:52:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675122721; 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=PAdTklmEDyAgRNbObsy/Ygo6Kv9vgqHE1ov2RCXdrFg=; b=XzD3+pXtOuUm7LFGNDuV9pO+NVEusnfG73SEnPM84oeLJRi/IOl8FfuJZ0iUSscWHvJkH+ FXspl4bk8GqY4uSWHVqLsQoIECXCbgC7Es35WHjmjuJI8quTDtgMYyVyvuMW6c5LKh7djo C6yJZeEe8DAyABw2VPMuv2NpKOobjWw= Received: from mail-io1-f70.google.com (mail-io1-f70.google.com [209.85.166.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-8-OdTF6ewXNuOW1w29ZPDnMw-1; Mon, 30 Jan 2023 18:52:00 -0500 X-MC-Unique: OdTF6ewXNuOW1w29ZPDnMw-1 Received: by mail-io1-f70.google.com with SMTP id u1-20020a5d8181000000b006ee29a8c421so7583259ion.19 for ; Mon, 30 Jan 2023 15:52:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PAdTklmEDyAgRNbObsy/Ygo6Kv9vgqHE1ov2RCXdrFg=; b=XvZgRJnYuCmw/RB7knPRv0Mn/NuDd6O6Zgjs/VgjI8MUjldHjSNanF/RnJIpg0FLTp kzmCDni7j82Uqj+KrZSGHT/K6QVGW9Il3OyxEKCQZNq49HQ4sRuSxyNOkUGgVAL2TeEI t0jrqoHkn832Goga0Z0dbaTISwIxxdWO0DlmTxgA++q3G5QupD6ohzA724oxWpGRjM3m UGQrUubB5YvytNTJnZ/CZWHBTQefT87WGu3J5cfAymyVU9MmRH+8lyj5l2mdfa1930n8 Z3LImyvnM5uI8IkIa5cXok3X+aIesea/ahlmICaZFHBMd2KwjkgjKApLrNcswwPlefYn mn4Q== X-Gm-Message-State: AO0yUKVbmuwknx7n2sX0ra2smLWxewPx5QdG6N/VEB8IM4zUWRV1LT2r M3L38sXslAtYCFgdJoY4pLvv7pBhy87JqF/i4s7qCdqr1H6zyFn/CQKYpFwvPzq2f3McbmypMuJ yYlX452jePumDazvKe2dgE/FeExaE X-Received: by 2002:a05:6e02:190f:b0:310:eb55:3856 with SMTP id w15-20020a056e02190f00b00310eb553856mr6886973ilu.9.1675122720177; Mon, 30 Jan 2023 15:52:00 -0800 (PST) X-Google-Smtp-Source: AK7set+Tjuh/QLV5ACoKjB78BPy3FHiMPojdoqjURp7yFxxmHnP5uajB9G0cNMY2hpBpgzJz6u+eCQ== X-Received: by 2002:a05:6e02:190f:b0:310:eb55:3856 with SMTP id w15-20020a056e02190f00b00310eb553856mr6886951ilu.9.1675122719932; Mon, 30 Jan 2023 15:51:59 -0800 (PST) Received: from redhat.com ([38.15.36.239]) by smtp.gmail.com with ESMTPSA id w65-20020a025d44000000b0039deb26853csm5227538jaa.10.2023.01.30.15.51.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 15:51:59 -0800 (PST) Date: Mon, 30 Jan 2023 16:51:58 -0700 From: Alex Williamson To: Arnd Bergmann Subject: Re: [PATCH] [v2] vfio-mdev: add back CONFIG_VFIO dependency Message-ID: <20230130165158.6993fc28.alex.williamson@redhat.com> In-Reply-To: <20230126211211.1762319-1-arnd@kernel.org> References: <20230126211211.1762319-1-arnd@kernel.org> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.35; x86_64-redhat-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tony Krowiak , Tvrtko Ursulin , Arnd Bergmann , Vasily Gorbik , linux-s390@vger.kernel.org, intel-gfx@lists.freedesktop.org, Masami Hiramatsu , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jason Gunthorpe , Tomas Winkler , "Steven Rostedt \(Google\)" , Rodrigo Vivi , Miguel Ojeda , Alexander Gordeev , Christian Borntraeger , Heiko Carstens , Sven Schnelle Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Thu, 26 Jan 2023 22:08:31 +0100 Arnd Bergmann wrote: > From: Arnd Bergmann > > CONFIG_VFIO_MDEV cannot be selected when VFIO itself is > disabled, otherwise we get a link failure: > > WARNING: unmet direct dependencies detected for VFIO_MDEV > Depends on [n]: VFIO [=n] > Selected by [y]: > - SAMPLE_VFIO_MDEV_MTTY [=y] && SAMPLES [=y] > - SAMPLE_VFIO_MDEV_MDPY [=y] && SAMPLES [=y] > - SAMPLE_VFIO_MDEV_MBOCHS [=y] && SAMPLES [=y] > /home/arnd/cross/arm64/gcc-13.0.1-nolibc/x86_64-linux/bin/x86_64-linux-ld: samples/vfio-mdev/mdpy.o: in function `mdpy_remove': > mdpy.c:(.text+0x1e1): undefined reference to `vfio_unregister_group_dev' > /home/arnd/cross/arm64/gcc-13.0.1-nolibc/x86_64-linux/bin/x86_64-linux-ld: samples/vfio-mdev/mdpy.o: in function `mdpy_probe': > mdpy.c:(.text+0x149e): undefined reference to `_vfio_alloc_device' > > Fixes: 8bf8c5ee1f38 ("vfio-mdev: turn VFIO_MDEV into a selectable symbol") > Signed-off-by: Arnd Bergmann > --- > v2: fix the s390 and drm drivers as well, in addition to the > sample code. > --- > arch/s390/Kconfig | 4 +++- > drivers/gpu/drm/i915/Kconfig | 1 + > samples/Kconfig | 3 +++ > 3 files changed, 7 insertions(+), 1 deletion(-) Applied to vfio next branch for v6.3. Thanks, Alex From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 22EB0C61DA4 for ; Mon, 30 Jan 2023 23:52:09 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 29B6510E31E; Mon, 30 Jan 2023 23:52:08 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id DC9B910E2F4 for ; Mon, 30 Jan 2023 23:52:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675122724; 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=PAdTklmEDyAgRNbObsy/Ygo6Kv9vgqHE1ov2RCXdrFg=; b=PO8Z4LNWuzHC87RiYru9OO29PjD8AwbUjphe0HrhAnFQPyvNTv7gpPhGAtEeETFfY+WmRi D+QbAEcZdY9c9o6S6sogRkP2Tox7SayO89L5ahkcQYmiqXd+4VfFNWueZa8jBpY5Ze8e3H x+S4JN9XCA4l9C4KnPB/XRKliILiOoQ= Received: from mail-io1-f71.google.com (mail-io1-f71.google.com [209.85.166.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-267-F7FtFoNFNiC99LPAoK9PEA-1; Mon, 30 Jan 2023 18:52:00 -0500 X-MC-Unique: F7FtFoNFNiC99LPAoK9PEA-1 Received: by mail-io1-f71.google.com with SMTP id z25-20020a6be019000000b00716eaf80c1dso3866605iog.3 for ; Mon, 30 Jan 2023 15:52:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PAdTklmEDyAgRNbObsy/Ygo6Kv9vgqHE1ov2RCXdrFg=; b=oeIZEcvsk5WTHtSVZ+WHZz0UjsboVYit5XKArsF+1aSbXIKrjO5J41+bAtGt2Z6Pc2 yC1a29pVPSfx1q3BizRGFc7H8M9nEbCWDh5LxJpqoI9bzyeGbuZxNWI2fjm5KtwppOve Ho1G0Wocw02OOMV88cOW5YToK90bo2qeBXf2fJVz+B2xzgNFMPne5DbsWb5/13V1nWjB trZ0u76joc0P3NcfjE9VDzoxgK6pv0m8YmrkGlkAEm+67TFKMdID7kzMlZxuJk30fgQg a6Y+ebuPRmu3zpliovk4e2c6lDeNeWsAgEygk08gwcFQd+wkRIQFQ/2IrWaS1KKoa1RF o7FA== X-Gm-Message-State: AO0yUKW7yQ7xrHaAV9uANEFEq9GPM4x5O/tCsEZZDav+ykuc42LJQ2UB czBeF992U1KFAGhAbu5gr5VTYnt3cMHhd4lk8uFZE1gHc4TzdeDsgigbT2LD5i89qEN4FTIJfye MYQ4Mu+83p6W8efFUDhrNtmYJ4rQe X-Received: by 2002:a05:6e02:190f:b0:310:eb55:3856 with SMTP id w15-20020a056e02190f00b00310eb553856mr6886979ilu.9.1675122720180; Mon, 30 Jan 2023 15:52:00 -0800 (PST) X-Google-Smtp-Source: AK7set+Tjuh/QLV5ACoKjB78BPy3FHiMPojdoqjURp7yFxxmHnP5uajB9G0cNMY2hpBpgzJz6u+eCQ== X-Received: by 2002:a05:6e02:190f:b0:310:eb55:3856 with SMTP id w15-20020a056e02190f00b00310eb553856mr6886951ilu.9.1675122719932; Mon, 30 Jan 2023 15:51:59 -0800 (PST) Received: from redhat.com ([38.15.36.239]) by smtp.gmail.com with ESMTPSA id w65-20020a025d44000000b0039deb26853csm5227538jaa.10.2023.01.30.15.51.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 15:51:59 -0800 (PST) Date: Mon, 30 Jan 2023 16:51:58 -0700 From: Alex Williamson To: Arnd Bergmann Message-ID: <20230130165158.6993fc28.alex.williamson@redhat.com> In-Reply-To: <20230126211211.1762319-1-arnd@kernel.org> References: <20230126211211.1762319-1-arnd@kernel.org> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.35; x86_64-redhat-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Intel-gfx] [PATCH] [v2] vfio-mdev: add back CONFIG_VFIO dependency X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tony Krowiak , Arnd Bergmann , Vasily Gorbik , linux-s390@vger.kernel.org, intel-gfx@lists.freedesktop.org, Masami Hiramatsu , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jason Gunthorpe , Tomas Winkler , "Steven Rostedt \(Google\)" , Rodrigo Vivi , Miguel Ojeda , Alexander Gordeev , Christian Borntraeger , Heiko Carstens , Sven Schnelle Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Thu, 26 Jan 2023 22:08:31 +0100 Arnd Bergmann wrote: > From: Arnd Bergmann > > CONFIG_VFIO_MDEV cannot be selected when VFIO itself is > disabled, otherwise we get a link failure: > > WARNING: unmet direct dependencies detected for VFIO_MDEV > Depends on [n]: VFIO [=n] > Selected by [y]: > - SAMPLE_VFIO_MDEV_MTTY [=y] && SAMPLES [=y] > - SAMPLE_VFIO_MDEV_MDPY [=y] && SAMPLES [=y] > - SAMPLE_VFIO_MDEV_MBOCHS [=y] && SAMPLES [=y] > /home/arnd/cross/arm64/gcc-13.0.1-nolibc/x86_64-linux/bin/x86_64-linux-ld: samples/vfio-mdev/mdpy.o: in function `mdpy_remove': > mdpy.c:(.text+0x1e1): undefined reference to `vfio_unregister_group_dev' > /home/arnd/cross/arm64/gcc-13.0.1-nolibc/x86_64-linux/bin/x86_64-linux-ld: samples/vfio-mdev/mdpy.o: in function `mdpy_probe': > mdpy.c:(.text+0x149e): undefined reference to `_vfio_alloc_device' > > Fixes: 8bf8c5ee1f38 ("vfio-mdev: turn VFIO_MDEV into a selectable symbol") > Signed-off-by: Arnd Bergmann > --- > v2: fix the s390 and drm drivers as well, in addition to the > sample code. > --- > arch/s390/Kconfig | 4 +++- > drivers/gpu/drm/i915/Kconfig | 1 + > samples/Kconfig | 3 +++ > 3 files changed, 7 insertions(+), 1 deletion(-) Applied to vfio next branch for v6.3. Thanks, Alex From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC251C54EAA for ; Mon, 30 Jan 2023 23:52:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231145AbjA3Xwr (ORCPT ); Mon, 30 Jan 2023 18:52:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230513AbjA3Xwp (ORCPT ); Mon, 30 Jan 2023 18:52:45 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2DFF2DE61 for ; Mon, 30 Jan 2023 15:52:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675122722; 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=PAdTklmEDyAgRNbObsy/Ygo6Kv9vgqHE1ov2RCXdrFg=; b=cooegUOTAGO7rvWFTc16Uakzm1X1He/Fo5jchbeFU4XcMuxZvOA3iR4BIVOQR9h7+Ojjx2 5jr2Bqb5N3dbsSsoGH1wn3cu7w4E0NUlS/+vn2lXQ1TBr13bo7X6lwVZM/qf+eLpw74p5P rVD/mtgnoszOKOjcL4Fy/tUSZIpmI0A= Received: from mail-io1-f71.google.com (mail-io1-f71.google.com [209.85.166.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-204-4aUFJjgFMxyzHn8l97Y27A-1; Mon, 30 Jan 2023 18:52:00 -0500 X-MC-Unique: 4aUFJjgFMxyzHn8l97Y27A-1 Received: by mail-io1-f71.google.com with SMTP id x12-20020a5d990c000000b00707d2f838acso7590218iol.21 for ; Mon, 30 Jan 2023 15:52:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PAdTklmEDyAgRNbObsy/Ygo6Kv9vgqHE1ov2RCXdrFg=; b=jLymSfLjg9lskfhY3ycoWu/9U7gKwkAtR9lI1KCiBR6CJHg7ILnqGjHAjwJDoN61ru qQCxU+zCMZ5VVCCdplvCLoH4AzCB+yhKaI1HUt5Gh2a6JaTu5YZ4pgrUpPfrDWC+T2XQ f7X6jKGjUYYs9UwA/v8FwhNXqogl4LYBbIHU9qp+L7m/41Tzyt255w4a4tgMs/ongfmk ez3KxVqgSmbgAuKOUraxqzNx0nQf7brmGTdog7xaY6S6izOGEloz92+i73KgD+hVKZKR lxwbZwL9OcFlH5MzedCHtlPGQHthPEsw/1/R/zG+43o89KLW0R0AJMIXyOLzia0sSirw HZaQ== X-Gm-Message-State: AO0yUKWONvjXvNfqi4ovV19bemlLgmlq7SBZDUepnZD3SrJO2R3GLwUK 26L3fZSKothNX0PoB2eadntsHdRuxGVBh8TLm329wTSgTPchlszDknWaRJ6Lw1hCSErZuUKTMlS 00KlwO3vcIlBroQ21nwhb+NEQ X-Received: by 2002:a05:6e02:190f:b0:310:eb55:3856 with SMTP id w15-20020a056e02190f00b00310eb553856mr6886965ilu.9.1675122720173; Mon, 30 Jan 2023 15:52:00 -0800 (PST) X-Google-Smtp-Source: AK7set+Tjuh/QLV5ACoKjB78BPy3FHiMPojdoqjURp7yFxxmHnP5uajB9G0cNMY2hpBpgzJz6u+eCQ== X-Received: by 2002:a05:6e02:190f:b0:310:eb55:3856 with SMTP id w15-20020a056e02190f00b00310eb553856mr6886951ilu.9.1675122719932; Mon, 30 Jan 2023 15:51:59 -0800 (PST) Received: from redhat.com ([38.15.36.239]) by smtp.gmail.com with ESMTPSA id w65-20020a025d44000000b0039deb26853csm5227538jaa.10.2023.01.30.15.51.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 15:51:59 -0800 (PST) Date: Mon, 30 Jan 2023 16:51:58 -0700 From: Alex Williamson To: Arnd Bergmann Cc: Jason Gunthorpe , Tony Krowiak , dri-devel@lists.freedesktop.org, Tvrtko Ursulin , Arnd Bergmann , Vasily Gorbik , linux-s390@vger.kernel.org, intel-gfx@lists.freedesktop.org, Heiko Carstens , linux-kernel@vger.kernel.org, "Steven Rostedt \(Google\)" , Sven Schnelle , Rodrigo Vivi , Miguel Ojeda , Alexander Gordeev , Christian Borntraeger , Tomas Winkler , Masami Hiramatsu Subject: Re: [PATCH] [v2] vfio-mdev: add back CONFIG_VFIO dependency Message-ID: <20230130165158.6993fc28.alex.williamson@redhat.com> In-Reply-To: <20230126211211.1762319-1-arnd@kernel.org> References: <20230126211211.1762319-1-arnd@kernel.org> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.35; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 26 Jan 2023 22:08:31 +0100 Arnd Bergmann wrote: > From: Arnd Bergmann > > CONFIG_VFIO_MDEV cannot be selected when VFIO itself is > disabled, otherwise we get a link failure: > > WARNING: unmet direct dependencies detected for VFIO_MDEV > Depends on [n]: VFIO [=n] > Selected by [y]: > - SAMPLE_VFIO_MDEV_MTTY [=y] && SAMPLES [=y] > - SAMPLE_VFIO_MDEV_MDPY [=y] && SAMPLES [=y] > - SAMPLE_VFIO_MDEV_MBOCHS [=y] && SAMPLES [=y] > /home/arnd/cross/arm64/gcc-13.0.1-nolibc/x86_64-linux/bin/x86_64-linux-ld: samples/vfio-mdev/mdpy.o: in function `mdpy_remove': > mdpy.c:(.text+0x1e1): undefined reference to `vfio_unregister_group_dev' > /home/arnd/cross/arm64/gcc-13.0.1-nolibc/x86_64-linux/bin/x86_64-linux-ld: samples/vfio-mdev/mdpy.o: in function `mdpy_probe': > mdpy.c:(.text+0x149e): undefined reference to `_vfio_alloc_device' > > Fixes: 8bf8c5ee1f38 ("vfio-mdev: turn VFIO_MDEV into a selectable symbol") > Signed-off-by: Arnd Bergmann > --- > v2: fix the s390 and drm drivers as well, in addition to the > sample code. > --- > arch/s390/Kconfig | 4 +++- > drivers/gpu/drm/i915/Kconfig | 1 + > samples/Kconfig | 3 +++ > 3 files changed, 7 insertions(+), 1 deletion(-) Applied to vfio next branch for v6.3. Thanks, Alex