Return-Path: Received: from mail.linutronix.de (146.0.238.70:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 06 Jul 2018 15:11:48 -0000 Received: from mx3-rdu2.redhat.com ([66.187.233.73] helo=mx1.redhat.com) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fbSOg-0006ut-S9 for speck@linutronix.de; Fri, 06 Jul 2018 17:11:47 +0200 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E9855406C7A6 for ; Fri, 6 Jul 2018 15:11:40 +0000 (UTC) Received: from washington.bos.jonmasters.org (ovpn-124-78.rdu2.redhat.com [10.10.124.78]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B7E187C2E for ; Fri, 6 Jul 2018 15:11:40 +0000 (UTC) Subject: [MODERATED] Re: [patch v5 11/10] Linux+KVM magic # 1 References: <20180702154426.910579106@linutronix.de> <20180705235653.b4jkfjhcc45a7xrr@treble> From: Jon Masters Message-ID: Date: Fri, 6 Jul 2018 11:11:39 -0400 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="5W9Kxvlv2UA1h98F2hbpEuMdgg7pb1qxw"; protected-headers="v1" To: speck@linutronix.de List-ID: This is an OpenPGP/MIME encrypted message (RFC 4880 and 3156) --5W9Kxvlv2UA1h98F2hbpEuMdgg7pb1qxw Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 07/06/2018 07:54 AM, speck for Jiri Kosina wrote: > On Thu, 5 Jul 2018, speck for Josh Poimboeuf wrote: >=20 >> AFAICT, this patch breaks the use case Andi was talking about, where=20 >> some users will want to do the L1 flushing with SMT enabled, and inste= ad=20 >> play cpuset tricks. >> >> I think that could be solved by just passing false to cpu_smt_disable(= ) >> instead of true. That way the user can re-enable SMT if they need to.= >=20 > Good point, I'll change that. >=20 >> Also I think "l1tf=3Doff" is misleading, since it's basically the same= as >> l1tf=3Dnovirt, except with no warnings. Maybe it should be >> "l1tf=3Dnovirt,nowarn" >> >> [ Well, there *is* one other difference between "novirt" and "off": >> "off" overrides 'kvm-intel.nosmt'. But a) I disagree with that >> approach; I think the kvm option should rule; and b) I think >> 'kvm-intel.nosmt' should just be removed anyway. There's nothing >> kvm-specific about it. If it's useful, let's integrate it into this >> interface instead. ] >=20 > Agreed, having this semantically controlled at two places independently= is=20 > just confusing. So I'll just include removal of kvm-intel.nosmt in the = > next respin of the patch (Konrad, if you feel strongly about this, plea= se=20 > speak up). All sounds good :) > The only thing where we disagree is the config option, but I don't have= =20 > mental energy to give this high enough priority and keep arguing over i= t=20 > :), so I'll just remove it in the next version (which I expect to be=20 > sending our later tonight). Thanks. It makes sense to keep discussing, but I would also like to advocate for having a common default that we can all get behind. It will help with the hysteria and panic if everyone has a common approach out of the gate (and this can always be changed later to add a config). Jon. --=20 Computer Architect | Sent from my Fedora powered laptop --5W9Kxvlv2UA1h98F2hbpEuMdgg7pb1qxw--