[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3c7e0bb9-f698-066b-8f6d-93c45438ff32@linux.ibm.com>
Date: Mon, 20 Dec 2021 18:26:17 +0100
From: Pierre Morel <pmorel@...ux.ibm.com>
To: Matthew Rosato <mjrosato@...ux.ibm.com>, linux-s390@...r.kernel.org
Cc: alex.williamson@...hat.com, cohuck@...hat.com,
schnelle@...ux.ibm.com, farman@...ux.ibm.com,
borntraeger@...ux.ibm.com, hca@...ux.ibm.com, gor@...ux.ibm.com,
gerald.schaefer@...ux.ibm.com, agordeev@...ux.ibm.com,
frankja@...ux.ibm.com, david@...hat.com, imbrenda@...ux.ibm.com,
vneethv@...ux.ibm.com, oberpar@...ux.ibm.com, freude@...ux.ibm.com,
thuth@...hat.com, pasic@...ux.ibm.com, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 13/32] KVM: s390: pci: add basic kvm_zdev structure
On 12/17/21 21:26, Matthew Rosato wrote:
> On 12/7/21 3:57 PM, Matthew Rosato wrote:
>> This structure will be used to carry kvm passthrough information
>> related to
>> zPCI devices.
>>
>> Signed-off-by: Matthew Rosato <mjrosato@...ux.ibm.com>
>> ---
> ...
>> static inline bool zdev_enabled(struct zpci_dev *zdev)
>> diff --git a/arch/s390/kvm/Makefile b/arch/s390/kvm/Makefile
>> index b3aaadc60ead..95ea865e5d29 100644
>> --- a/arch/s390/kvm/Makefile
>> +++ b/arch/s390/kvm/Makefile
>> @@ -10,6 +10,6 @@ common-objs = $(KVM)/kvm_main.o $(KVM)/eventfd.o
>> $(KVM)/async_pf.o \
>> ccflags-y := -Ivirt/kvm -Iarch/s390/kvm
>> kvm-objs := $(common-objs) kvm-s390.o intercept.o interrupt.o priv.o
>> sigp.o
>> -kvm-objs += diag.o gaccess.o guestdbg.o vsie.o pv.o
>> +kvm-objs += diag.o gaccess.o guestdbg.o vsie.o pv.o pci.o
>
> This should instead be
>
> kvm-objs-$(CONFIG_PCI) += pci.o
>
> I think this makes sense as we aren't about to do PCI passthrough
> support anyway if the host kernel doesn't support PCI (no vfio-pci,
> etc). This will quiet the kernel test robot complaints about
> CONFIG_PCI_NR_FUNCTIONS seen on the next patch in this series.
hum, then you will need more than this to put all pci references in
priv.c and kvm-s390.c away.
>
>> obj-$(CONFIG_KVM) += kvm.o
--
Pierre Morel
IBM Lab Boeblingen
Powered by blists - more mailing lists