From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from userp2130.oracle.com (userp2130.oracle.com [156.151.31.86]) by mx.groups.io with SMTP id smtpd.web10.15256.1585152583160891497 for ; Wed, 25 Mar 2020 09:09:43 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@oracle.com header.s=corp-2020-01-29 header.b=dIL6+XN/; spf=pass (domain: oracle.com, ip: 156.151.31.86, mailfrom: liran.alon@oracle.com) Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 02PG9gjS146669; Wed, 25 Mar 2020 16:09:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : mime-version : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=sMUEcgI9GnXavbWQSsdjazCYNXa4AlROWFkrnUblSGQ=; b=dIL6+XN/x7srjtgZaxUFB3WxxEByaXYscZVZhyKghkYSXZScxgVvYCmNT8jxUFcLWqNN hKjAwkHDjIWyA4MXwKI62ebgEGZfZN9ZOBg5XzzLuCQnkbVjQgF3jfbB2D6llyRMmhhm C3X0IXSn79+P43u9diNSx0oKOqleIv/j0qSxEVqlMblQqF+Nybkd3RhWKg1P1dLkxN6U wB/h+jHiqbVA9GdlwDWvM6dH3vlrzioPdGxoYUgEQqH/vrVcMMheYQMPCEfqfH+d2GlG Co2moh6gC4CxNLGrW9Lq3TaqH39A8Nd7BDadrmIAww+2doXz7UhqK3LtoV4fL0qC502i 5w== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2130.oracle.com with ESMTP id 2ywabranx7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 25 Mar 2020 16:09:42 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 02PG7fxR182267; Wed, 25 Mar 2020 16:07:42 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userp3020.oracle.com with ESMTP id 3003gj0rns-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 25 Mar 2020 16:07:41 +0000 Received: from abhmp0020.oracle.com (abhmp0020.oracle.com [141.146.116.26]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 02PG7ZGM031501; Wed, 25 Mar 2020 16:07:35 GMT Received: from spark.ravello.local (/213.57.127.2) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 25 Mar 2020 09:07:34 -0700 From: "Liran Alon" To: devel@edk2.groups.io, lersek@redhat.com Cc: nikita.leshchenko@oracle.com, aaron.young@oracle.com, jordan.l.justen@intel.com, ard.biesheuvel@linaro.org Subject: [PATCH v2 00/17] OvmfPkg: Support booting from VMware PVSCSI controller Date: Wed, 25 Mar 2020 18:09:48 +0200 Message-Id: <20200325161005.16743-1-liran.alon@oracle.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9571 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 mlxlogscore=999 bulkscore=0 phishscore=0 adultscore=0 spamscore=0 malwarescore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2003250129 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9571 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 lowpriorityscore=0 malwarescore=0 phishscore=0 priorityscore=1501 clxscore=1015 adultscore=0 mlxscore=0 mlxlogscore=999 bulkscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2003250129 X-MIME-Autoconverted: from 8bit to quoted-printable by userp2130.oracle.com id 02PG9gjS146669 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, This series adds driver support for VMware PVSCSI controller. This controller is supported by VMware and QEMU. This work is part of the more general agenda of enhancing OVMF boot device support to have feature parity with SeaBIOS (Which supports booting from VMware PVSCSI). I pushed a copy of these (v2) patches to https://github.com/nikital/edk2/= tree/pvscsi5 The v1 patches can be found at https://github.com/nikital/edk2/tree/pvscs= i4 Regards, -Liran v1->v2: * Removed Nikita=E2=80=99s Reviewed-By tags. [Laszlo] * Renamed PvScsi.inf to PvScsiDxe.inf and fixed references from all DSC f= iles. [Laszlo] * Changed =E2=80=9C!ifdef $(PVSCSI_ENABLE)=E2=80=9D in DSC files to =E2=80= =9C!if $(PVSCSI_ENABLE) =3D=3D TRUE=E2=80=9D. [Laszlo] * Fix Identation in various places. [Laszlo] * Added =E2=80=9C#include =E2=80=9D for EFI_SYSTEM_TABLE= . [Laszlo] * Fix various typos. [Laszlo] * Made =E2=80=9CSTATIC=E2=80=9D on same line of object delcerations. [Las= zlo] * Added Laszlo=E2=80=99s Reviewed-by tags on some patches. [Laszlo] * Added missing spaces before =E2=80=9C(=E2=80=9C on various function cal= ls. [Laszlo] * Added PvScsi.h header file to INF [Sources] section. [Laszlo] * Changed [Protocols] section in INF file to be lexicographically sorted.= [Laszlo] * Changed [PCDs] section in INF file to be lexigraphically sorted. [Laszl= o] * Fixed function comments blocks to be =E2=80=9C/** **/=E2=80=9D instead = of =E2=80=9C//=E2=80=9D style. [Laszlo] * Changed PvScsiGetTargetLun() to ZeroMem() all target bytes except first= one. [Laszlo] * Replaced =E2=80=9CIOSpace=E2=80=9D with =E2=80=9CMMIO-Space=E2=80=9D in= comments. [Laszlo] * Changed enums to match EDK2 coding convention. [Laszlo] * Use PCI_BAR_IDX0 instead of hard-coded 0. [Laszlo] * Use EFI_PAGES_TO_SIZE() instead of manually multiplying with EFI_PAGE_S= IZE. [Laszlo] * Use RShiftU64() to shift UINT64 vars. [Laszlo] * Changed ReqNumEntries var to UINT32 and shift to use =E2=80=9C1U <<=E2=80= =9D instead of =E2=80=9C1 <<=E2=80=9D. [Laszlo] * Changed condition on flag (In PvScsiWaitForRequestCompletion()) to be a= boolean expression. [Laszlo] * Replaced =E2=80=9CFakeHostAdapterError=E2=80=9D label with a utility fu= nction. [Laszlo] * Added debug message to PvScsiExitBoot() to assist debugging. [Laszlo] * Fixed resource management to make each function either completely succe= ed or completely fail and free all resources. [Laszlo] * Changed PvScsiWriteCmdDesc() to use EfiPciIoWidthFifoUint32. [Laszlo] * Changed PvScsiWriteCmdDesc() prototype to make clear it descriptor must= be an array of words. [Laszlo]