From: Greg Kurz Date: Thu, 23 May 2019 12:44:19 +0000 Subject: Re: [PATCH 0/3] KVM: PPC: Book3S HV: XIVE: assorted fixes on vCPU and RAM limits Message-Id: <20190523144419.4dfddcd5@bahia.lan> MIME-Version: 1 Content-Type: multipart/mixed; boundary="Sig_/D_opXZ085nm8qQAhT4NnT+H" List-Id: References: <20190520071514.9308-1-clg@kaod.org> <20190522233043.GO30423@umbus.fritz.box> <20190523080123.6e700a1e@bahia.lan> <20190523062715.GR30423@umbus.fritz.box> In-Reply-To: <20190523062715.GR30423@umbus.fritz.box> To: David Gibson Cc: =?UTF-8?B?Q8OpZHJpYw==?= Le Goater , kvm-ppc@vger.kernel.org, Paul Mackerras , kvm@vger.kernel.org --Sig_/D_opXZ085nm8qQAhT4NnT+H Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 23 May 2019 16:27:15 +1000 David Gibson wrote: > On Thu, May 23, 2019 at 08:01:23AM +0200, Greg Kurz wrote: > > On Thu, 23 May 2019 09:30:43 +1000 > > David Gibson wrote: > > =20 > > > On Mon, May 20, 2019 at 09:15:11AM +0200, C=C3=A9dric Le Goater wrote= : =20 > > > > Hello, > > > >=20 > > > > Here are a couple of fixes for issues in the XIVE KVM device when > > > > testing the limits : RAM size and number of vCPUS. =20 > > >=20 > > > How serious are the problems these patches fix? I'm wondering if I > > > need to make a backport for RHEL8.1. > > > =20 > >=20 > > Patch 2/3 fixes a QEMU error when hot-unplugging a vCPU: > >=20 > > qemu-system-ppc64: KVM_SET_DEVICE_ATTR failed: Group 4 attr 0x000000000= 0000046: Invalid argument > >=20 > >=20 > > Patch 3/3 fixes an issue where the guest freezes at some point when doi= ng > > vCPU hot-plug/unplug in a loop. =20 >=20 > Oh.. weird. It's not clear to me how it would do that. >=20 Cedric provided a better description in some other mail: guest with 1024 vCPUs. > > Both issues have a BZ at IBM. They can be mirrored to RH if needed. =20 >=20 > That would be helpful, thanks. >=20 Ok, I'll take care of that. >=20 >=20 >=20 > > =20 > > > >=20 > > > > Based on 5.2-rc1. > > > >=20 > > > > Available on GitHub: > > > >=20 > > > > https://github.com/legoater/linux/commits/xive-5.2 > > > >=20 > > > > Thanks, > > > >=20 > > > > C.=20 > > > >=20 > > > > C=C3=A9dric Le Goater (3): > > > > KVM: PPC: Book3S HV: XIVE: clear file mapping when device is rele= ased > > > > KVM: PPC: Book3S HV: XIVE: do not test the EQ flag validity when > > > > reseting > > > > KVM: PPC: Book3S HV: XIVE: fix the enforced limit on the vCPU > > > > identifier > > > >=20 > > > > arch/powerpc/kvm/book3s_xive_native.c | 46 ++++++++++++++++-------= ---- > > > > 1 file changed, 27 insertions(+), 19 deletions(-) > > > > =20 > > > =20 > > =20 >=20 >=20 >=20 --Sig_/D_opXZ085nm8qQAhT4NnT+H Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEtIKLr5QxQM7yo0kQcdTV5YIvc9YFAlzmlaMACgkQcdTV5YIv c9a9+w//c1q0mjRXWkXMCNkSnRSkMhwGGeelqnnnn7yjzwbgzg4A2Bnhd1BClQeb sdV/AipzZFQWLrdJVApWh4t3xVIw+FweGn/JgDZisN6sThYA+ZGIwaVE2FrCVREF P+QgxwjsBKPp+hFcY3Funn5oqbkY0TlrKlQ/855OigSSPa/1DAYuyN8RNeNkBnQo y2fry50dy4duVQnr6/Kltfli8tYua95djvuDqls4jMHV4vd12+3fTERNifmCqruN U85YpjlYw8qNY1DRBO8jH70gDx2gX6POunrZs+yrngDDgcJJ/98s6Toxn3RljGwL vogK5/W09FjSEFWx20Fhb8ZvljRqq4EeJjTvW4gWHIANeGw4LK5EgCx/9iResdJK LXSmQkRBhaqG2V4IeTpkGZ3eAdkH04YWCh0OIT6s4CLXJ/5R92xq7yQCAO9fu4sP iQ0s1OHEwElaefzOvCNVBSbzF2DQ69LdNemISgH5FxzW7VPWaiDxMpanuCNjwCwl p3XuCXTYCZArpAWKXlnoPlgdzVeDUu/dcKK6E/e6O/54R/k11ONp3Kg8OQ2xl7TP LkXat/F2G7PyM3ZaCL4IOwzCtdfBy0eSlkV/nslK0+MsCnne11WW6uHPK3s/bd3S k+TLtT7cSye9b7DvHXa/VpmpVonEFIcLhwpQlZWJym5ITZYAWPU= =jacf -----END PGP SIGNATURE----- --Sig_/D_opXZ085nm8qQAhT4NnT+H--