Return-path: Received: from mx2.suse.de ([195.135.220.15]) by Galois.linutronix.de with esmtps (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1fIHj7-0001eM-8f for speck@linutronix.de; Mon, 14 May 2018 19:57:38 +0200 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 4B598ACDB for ; Mon, 14 May 2018 17:57:31 +0000 (UTC) Date: Mon, 14 May 2018 19:57:15 +0200 From: Borislav Petkov Subject: [MODERATED] Settings question Message-ID: <20180514175715.GL18407@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable To: speck@linutronix.de List-ID: Hi folks, so we just had this question: Imagine you boot the *host* with spec_store_bypass_disable=3Don which means, you enable the mitigation system-wide. Now someone boots a guest with spec_store_bypass_disable=3Doff because someone wants performance in the guest and doesn't care about leaking sensitive info through the side channel. Right now the guest can't override the setting because the host has disabled it system-wide. And both use cases have their merits - host-enforced mitigation on vs guests are allowed to disable the mitigation so as not to pay the perf penalty. What do we allow? Thx. --=20 Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imend=C3=B6rffer, Jane Smithard, Graham Norton, HR= B 21284 (AG N=C3=BCrnberg) --=20