Received: by 2002:a5d:51d0:0:0:0:0:0 with SMTP id n16csp977749wrv; Wed, 17 Jul 2019 07:55:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqwOT7IUcoWbdKlDyI+8FRv07kE8CFb8HMmjrxLeSx+E+sYwchAmwQYDf4fwLB/u/nWfX5xP X-Received: by 2002:a17:907:110b:: with SMTP id qu11mr31785306ejb.18.1563375312589; Wed, 17 Jul 2019 07:55:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563375312; cv=none; d=google.com; s=arc-20160816; b=GYYGX61kFOxi9oDdbsDAPcD5RHmpwFHqAn3HkbncnY5z+D85tyiKaMlOY2pwZYeQuH fiRNRdHqOaa/jUZlH516lQeCY3iSRuvTAxM8XYEzTNm9sX1S2FsZql3LqGiAw8vvJKYp AqmFDSGmCk2Er3zKtd2Jhd3o5gxyvelxnErftdZMBdL6xPqRQOSq/FFKQDOWwkY/az9c baJJyyKWcXfSU6ay8faRWE1Tpl1VsW9eyMpiE7NuuFNw8QDW9EUhUVPVweLCebRbWK3M t1Qs9JQBgp7z/XWtrmHVIX3z97bsdKvU0LHyhcOqvUhKXkSBk5m4xvanwIeA6WJI4tZd Y6nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to; bh=WADpoW40uzGy25tw3mEmXIEBth98h4AlI6ziyvbNrHA=; b=bdICdKpV+8KwRZ+tJC2fTjGqAcPqd/1ldqbnq+y93EuB1CCvwHnEeusC+CHPJJUyCU mUdyhw+HxhybLKIae82uDBajVUMGICr5UZrtNxSu4c0/LMulGKn9UFT22DdcwwuUQ3Db XX94B/IYTvB9rinzkG3YiJ40exZf1FxUFSfGTHRHU1/4hTFHJCjT2z7ozQx3Nn+rW39b Zv6VSZ/As2KkntMqtVqyEKdd5T2BlQvViZhrxkGft5OAnCs8tCKdmTd4FLi/8mqctYxM AHdnzq1PkxefRDwN1mgJGiWb0R+4GtD4OPY84vYjem6c5k4z7M8BwI/oHsKQBINJ6F0u QMXA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 90si13819189edq.146.2019.07.17.07.55.12 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Jul 2019 07:55:12 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: from localhost ([::1]:58090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnlKp-0002lG-Cd for alex.bennee@linaro.org; Wed, 17 Jul 2019 10:55:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47947) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnlKk-0002co-IP for qemu-arm@nongnu.org; Wed, 17 Jul 2019 10:55:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hnlKj-0000WK-KQ for qemu-arm@nongnu.org; Wed, 17 Jul 2019 10:55:06 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:42910) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hnlKj-0000VO-6l; Wed, 17 Jul 2019 10:55:05 -0400 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x6HEsGSY054452; Wed, 17 Jul 2019 10:54:34 -0400 Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 2tt5p08jqp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 17 Jul 2019 10:54:34 -0400 Received: from m0098399.ppops.net (m0098399.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.27/8.16.0.27) with SMTP id x6HEsX65055510; Wed, 17 Jul 2019 10:54:33 -0400 Received: from ppma03dal.us.ibm.com (b.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.11]) by mx0a-001b2d01.pphosted.com with ESMTP id 2tt5p08jq0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 17 Jul 2019 10:54:33 -0400 Received: from pps.filterd (ppma03dal.us.ibm.com [127.0.0.1]) by ppma03dal.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id x6HEodJb018144; Wed, 17 Jul 2019 14:54:32 GMT Received: from b03cxnp08026.gho.boulder.ibm.com (b03cxnp08026.gho.boulder.ibm.com [9.17.130.18]) by ppma03dal.us.ibm.com with ESMTP id 2tq6x7ga8b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 17 Jul 2019 14:54:32 +0000 Received: from b03ledav003.gho.boulder.ibm.com (b03ledav003.gho.boulder.ibm.com [9.17.130.234]) by b03cxnp08026.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x6HEsVDx57016782 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 17 Jul 2019 14:54:31 GMT Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4A4966A04D; Wed, 17 Jul 2019 14:54:31 +0000 (GMT) Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id ED2CB6A057; Wed, 17 Jul 2019 14:54:29 +0000 (GMT) Received: from [9.60.89.78] (unknown [9.60.89.78]) by b03ledav003.gho.boulder.ibm.com (Postfix) with ESMTP; Wed, 17 Jul 2019 14:54:29 +0000 (GMT) To: Paolo Bonzini , Thomas Huth , Markus Armbruster References: <20190715095545.28545-1-philmd@redhat.com> <20190715095545.28545-2-philmd@redhat.com> <6d69e8ad-d720-ce04-20f2-a03193903078@redhat.com> <20190715125653.6e65d575.cohuck@redhat.com> <20190715130955.4a117388.cohuck@redhat.com> <13fce62f-234c-1b13-595f-5910c066bc4f@redhat.com> <6c39a198-e951-c0bd-1ddc-5d227afe72ff@redhat.com> <87a7dfth4i.fsf@dusky.pond.sub.org> <20190715181206.3cb1db93.cohuck@redhat.com> <799aa0f5-8850-5caa-5103-e1cf3cdb018f@redhat.com> <87h87m2knh.fsf@dusky.pond.sub.org> <50befb09-d381-4362-9cd1-6fb11c96a719@linux.ibm.com> <633cc3f7-eb20-1bfe-03d2-e481be188eb1@redhat.com> From: Collin Walling Message-ID: <87f07cd0-ebbc-3569-9070-5700e47d4af8@linux.ibm.com> Date: Wed, 17 Jul 2019 10:54:29 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <633cc3f7-eb20-1bfe-03d2-e481be188eb1@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-07-17_07:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907170174 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 148.163.156.1 Subject: Re: [Qemu-arm] [Qemu-devel] [qemu-s390x] [RFC PATCH 1/3] hw/Kconfig: PCI bus implies PCI_DEVICES X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Cornelia Huck , "open list:RISC-V" , Eduardo Habkost , Sagar Karandikar , "Michael S. Tsirkin" , Helge Deller , Palmer Dabbelt , Mark Cave-Ayland , QEMU Developers , Artyom Tarasenko , "open list:S390" , qemu-arm , Alistair Francis , Gerd Hoffmann , qemu-ppc , David Gibson , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , Aurelien Jarno , Richard Henderson Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: EteTGvqi/eyL On 7/17/19 9:52 AM, Paolo Bonzini wrote: > On 17/07/19 14:59, Collin Walling wrote: >> On 7/16/19 11:04 AM, Thomas Huth wrote: >>> On 16/07/2019 15.06, Markus Armbruster wrote: >>>> Paolo Bonzini writes: >>>> >>>>> On 15/07/19 18:12, Cornelia Huck wrote: >>>>>>> Is it INTx vs. MSI vs. MSI-X? >>>>>> >>>>>> I think for s390x we need (INTx || MSI) vs MSI-X... >>>>> >>>>> I think MSI vs MSI-X is just how it's configured, not the actual >>>>> behavior, so it should be irrelevant. >>>> >>>> My best guesses from confusing information, please correct >>>> misunderstandings: >>>> >>>> 1. PCI devices need to support MSI or MSI-X to work with s390x. >>> >>> I think Cornelia mentioned that we might even require MSI-X there ... >>> Collin (being listed as "S390 PCI" maintainer), can you confirm? >> >> MSI-X is mandatory for PCI devices in the s390 architecture. > > How are MSI and MSI-X distinguished? > > Paolo > PCI host plugging will check for the MSI-X capability on the PCI device. If the MSI-X cap is missing, we fail device plugging. We do not check for MSI. Only MSI-X. Specifically, the capability is represented by PCI_CAP_ID_MSIX in pci_regs.h