From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgCGD-0006wp-3k for qemu-devel@nongnu.org; Thu, 09 Apr 2015 09:12:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YgCG8-0008BP-5M for qemu-devel@nongnu.org; Thu, 09 Apr 2015 09:12:45 -0400 Received: from mail-ie0-f177.google.com ([209.85.223.177]:36509) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgCG7-0008As-UG for qemu-devel@nongnu.org; Thu, 09 Apr 2015 09:12:40 -0400 Received: by iebrs15 with SMTP id rs15so99996943ieb.3 for ; Thu, 09 Apr 2015 06:12:38 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <5526795F.1020802@redhat.com> References: <1428582043-19080-1-git-send-email-pbonzini@redhat.com> <5526795F.1020802@redhat.com> From: Peter Maydell Date: Thu, 9 Apr 2015 14:12:18 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [RFC PATCH 0/3] pflash_cfi01: allow reading/writing it only in secure mode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: "Edgar E. Iglesias" , Peter Crosthwaite , Laszlo Ersek , QEMU Developers , Gerd Hoffmann On 9 April 2015 at 14:06, Paolo Bonzini wrote: > On 09/04/2015 14:47, Peter Maydell wrote: >> Are real flash devices ever wired up like this? > > On x86 machines it is almost exactly like this. I'm implementing x86 > system management mode, and I'm reusing MEMTXATTRS_SECURE for it. Cool -- useful to have a non-ARM use of some of this, helps to keep the design of the common-code parts honest. -- PMM