Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1843744ybl; Sat, 1 Feb 2020 07:32:25 -0800 (PST) X-Google-Smtp-Source: APXvYqyMRbZ4QBWBdwArpi7YVQ2ZX6eMYceflowFru/Hql/Eo5tJ3EB+HYLWVKjeHjSUqYgwgHXP X-Received: by 2002:a54:4006:: with SMTP id x6mr5782085oie.145.1580571145501; Sat, 01 Feb 2020 07:32:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580571145; cv=none; d=google.com; s=arc-20160816; b=qPq7t8rVthS+wBouZ+9XNmB6qMtG5L7LMt/d45nEln3I2HuGJXQ9V34tL8qy5XaxsW Pt77TTCnjFH2jtlp5ZJoINiv6OxZQJtfrHeAhBRBEVC+/u38pEgAkpld2F2F5J4ZsmQg Uo9ms5CGhBqkgpgBCRiZ9O1BIB1Q/zZprCGmwBt7obO+ReL1SDK33XdK0Ev071v/vcfM Y1kKXWyOiTdCP4cMSWTPH1IQrk2fI8+qn/FCbRjxZd/Fd+vVQLDK/MowWartoqs29vJs MsjPPSHpWVUVEUC+suZMMOODykamrCaBtwcFHpsATuqU59uvqqOfxJNcQ/NNuUKsopPG axWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:organization :references:in-reply-to:date:cc:to:from:subject:message-id; bh=n32P5oHblb1RMePoo2vYdnQZrW4JwyWTkvLjTr4x7pA=; b=Sfl4RWcwz9MpBuGFQoBowv1wN3a4OVWnEJHyrKpKzucvbwAILjgkAAJsoNVWvl5wTC Pb/v+2KC0B396+T2cI1T1u3RKkrlasWQBjzFf4669q5/4jCYh2+Q0pwerU1MH/PfwGr+ FPiI2c+4qLqOwRaxqyjJi60e0bVWzxKPvBmukeKkw3P98JY+YTj/jTsHT0F8/118u1Ot pNLHCwDxbD9AYlbhTKR2xIy7zqn7dK4Cizhw8PwsI6/SXvd9cb90P+MDb9EtjHZEbaSp tBQz00joR9DM9+IsUULm6U+Ngup/N7qraAvF+4DrisREQvYlBUgH9dV5QxZNEzHXwiRB AaNA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g5si6453447otn.232.2020.02.01.07.32.13; Sat, 01 Feb 2020 07:32:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726909AbgBAPbR (ORCPT + 99 others); Sat, 1 Feb 2020 10:31:17 -0500 Received: from mx2.suse.de ([195.135.220.15]:40766 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726593AbgBAPbR (ORCPT ); Sat, 1 Feb 2020 10:31:17 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 0A254AD48; Sat, 1 Feb 2020 15:31:13 +0000 (UTC) Message-ID: <4027e959e17ce8a6aeef34fc6ae4725ad875a740.camel@suse.com> Subject: Re: [RFC PATCH v4 00/19] Core scheduling v4 From: Dario Faggioli To: Vineeth Remanan Pillai Cc: Tim Chen , Nishanth Aravamudan , Julien Desfossez , Peter Zijlstra , Ingo Molnar , Thomas Gleixner , Paul Turner , Linus Torvalds , Linux List Kernel Mailing , =?ISO-8859-1?Q?Fr=E9d=E9ric?= Weisbecker , Kees Cook , Greg Kerr , Phil Auld , Aaron Lu , Aubrey Li , Valentin Schneider , Mel Gorman , Pawan Gupta , Paolo Bonzini Date: Sat, 01 Feb 2020 16:31:09 +0100 In-Reply-To: References: <5e3cea14-28d1-bf1e-cabe-fb5b48fdeadc@linux.intel.com> <3c3c56c1-b8dc-652c-535e-74f6dcf45560@linux.intel.com> <09b279683e1b5ba1759ac3e9f644d290564902d3.camel@suse.com> Organization: SUSE Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-rHsQwCrJavAjq91LmpU1" User-Agent: Evolution 3.34.3 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-rHsQwCrJavAjq91LmpU1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2020-01-31 at 09:44 -0500, Vineeth Remanan Pillai wrote: > > Basically, core-scheduling would prevent VM-to-VM attacks while ASI > > would mitigate VM-to-hypervisor attacks. > >=20 > > Of course, such a solution would need to be fully implemented and > > evaluated too... I just wanted to toss it around, mostly to know > > what > > you think about it and whether or not it is already on your radar. >=20 > We had this discussion during LPC.=20 > I know. I wanted to be there, but couldn't. But I watched the recordings of the miniconf. :-) > Its something on the radar, but we > haven't yet spend any dedicated time looking into it. > Theoretically it is very promising. While looking into practical > aspects, > the main difficulty is to determine what is safe/unsafe to expose in > the kernel when the sibling is running in userland/VM. Coming up with > a > minimal pagetable for the kernel when sibling is running untrusted > code > would be non-trivial. >=20 It is. And this is exactly my point. :-) I mean, what you're describing is pretty much what the memory isolation efforts are mostly (all?) about, at least AFAIUI. Therefore, I think we should see about "joining forces". FWIW, there's a talk about ASI going on right now at FOSDEM2020: https://fosdem.org/2020/schedule/event/kernel_address_space_isolation/ (this is also video recorded, so it will be possible for everyone to watch it, in a few days time). > Its definitely worth spending some time and effort on this idea. >=20 Cool! Happy to hear this. :-) Regards --=20 Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ ------------------------------------------------------------------- <> (Raistlin Majere) --=-rHsQwCrJavAjq91LmpU1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEES5ssOj3Vhr0WPnOLFkJ4iaW4c+4FAl41mb4ACgkQFkJ4iaW4 c+7SRRAA1Fze8EfcTiwcSGqlwIo0Uer8IucvgpPP3x2TSYj9Kc9gqY8yFBSByRuL knfH81MFPGZfMBMsOctdaAfRZOwNps+TzipTRthGQh86UMqeU8TgRpY18ZdqJtHq AD4EgUGgW/RjLtac+81gEZ1apTjcPyEf5vlN/xZXKkzh4kZcW8SQKuTzkTZfYKWL DCsxEVw/zj8XAoW6IJilK+oyubvbvn4qejDjKz/XsS7JNntTUmoGSktwBsw3OG1+ xOYpl+RYUe95dfsHR4AQYSY9eGt8jMSgGh1wTtdBtwbhaG7TbNovkHMaSkAIRiCk 960Xk/E5tP9Ah4LxKzDaL5k4vxQqSeg7UG/87SqKzYQZl9Gl82Bu5EDO7uUMKNQ5 z642DloOmLb4M5PiYn1gEnkxAB+h/7utDQaYwptVHNR1C4k8Fsk67UE9OaesuCkj 4W/s0V80a0bP277/7BxkgDVlLMrRJY3t66sbsyTgHcCL3oYInDCtwCMffPMvwNxT sa4//FfyA124O697WbJXe7UpWMHY3F3tXqMAPEDevFlObonNCc9uGxmPg4Uw6fGw plfXLh4kH9ImJbdVm2cLQwJii4pbanSnwkfUpwN4W/x/9FdLwdHnbBtNHJRLtHZa aRwXeX754EorOMhWxjztKT1PyKp8Zt5NVuWKI4HefhuQIKDGYxM= =5dus -----END PGP SIGNATURE----- --=-rHsQwCrJavAjq91LmpU1--