From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753072AbcKIKSg (ORCPT ); Wed, 9 Nov 2016 05:18:36 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:57384 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751591AbcKIKST (ORCPT ); Wed, 9 Nov 2016 05:18:19 -0500 Date: Wed, 9 Nov 2016 11:15:20 +0100 (CET) From: Thomas Gleixner To: Matt Redfearn cc: Ralf Baechle , Bjorn Andersson , Ohad Ben-Cohen , linux-mips@linux-mips.org, linux-remoteproc@vger.kernel.org, Lisa Parratt , LKML , Qais Yousef , Masahiro Yamada , Lisa Parratt , Paul Gortmaker , Jason Cooper , James Hogan , Marc Zyngier , Paul Burton , Peter Zijlstra Subject: Re: [PATCH v4 0/4] MIPS: Remote processor driver In-Reply-To: <1478103063-17653-1-git-send-email-matt.redfearn@imgtec.com> Message-ID: References: <1478103063-17653-1-git-send-email-matt.redfearn@imgtec.com> 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 Wed, 2 Nov 2016, Matt Redfearn wrote: > The MIPS remote processor driver allows non-Linux firmware to take > control of and execute on one of the systems VPEs. The CPU must be > offlined from Linux first. A sysfs interface is created which allows > firmware to be loaded and changed at runtime. A full description is > available at [1]. An example firmware that can be used with this driver > is available at [2]. > > This is useful to allow running bare metal code, or an RTOS, on one or > more CPUs while allowing Linux to continue running on those remaining. And how is actually guaranteed that these two things are properly seperated (memory, devices, interrupts etc.) ? We have rejected attempts to do exactly the same thing on x86 in the past. There is virtualization and NOHZ_FULL to do it proper and not just with a horrible hackery. Thanks, tglx