From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757653AbdAIJD0 (ORCPT ); Mon, 9 Jan 2017 04:03:26 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:50179 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757540AbdAIJC5 (ORCPT ); Mon, 9 Jan 2017 04:02:57 -0500 Date: Mon, 9 Jan 2017 09:59:42 +0100 (CET) From: Thomas Gleixner To: Pavel Machek cc: Grzegorz Andrejczuk , mingo@redhat.com, hpa@zytor.com, x86@kernel.org, linux-kernel@vger.kernel.org, Piotr.Luc@intel.com, dave.hansen@linux.intel.com Subject: Re: [PATCH v11 0/5] Enabling Ring 3 MONITOR/MWAIT feature for Knights Landing In-Reply-To: <20170103220935.GB22548@amd> Message-ID: References: <1482241726-27310-1-git-send-email-grzegorz.andrejczuk@intel.com> <20170103220935.GB22548@amd> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 3 Jan 2017, Pavel Machek wrote: > On Tue 2016-12-20 14:48:41, Grzegorz Andrejczuk wrote: > > Following patches enable the use of the feature that allows > > the Intel Xeon Phi x200 devices to use MONITOR/MWAIT instructions > > outside ring 0. It allows userspace applications to use > > more efficient synchronization operations, which improves performance > > and energy efficiency. > > What kind of security holes does it bring us? > > rdseed can be used for two processes to communicate when they should > not (serious problem for android). Can this be used for something similar? No. The monitor address must be in the virtual address space of the caller, so it's like any other 'read' operation. Thanks, tglx