From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 10 May 2016 17:40:06 +0200 (CEST) Received: from localhost.localdomain ([127.0.0.1]:56202 "EHLO linux-mips.org" rhost-flags-OK-OK-OK-FAIL) by eddie.linux-mips.org with ESMTP id S27028415AbcEJPkDsZRuj (ORCPT ); Tue, 10 May 2016 17:40:03 +0200 Received: from scotty.linux-mips.net (localhost.localdomain [127.0.0.1]) by scotty.linux-mips.net (8.15.2/8.14.8) with ESMTP id u4AFe2DM027179; Tue, 10 May 2016 17:40:02 +0200 Received: (from ralf@localhost) by scotty.linux-mips.net (8.15.2/8.15.2/Submit) id u4AFe2el027178; Tue, 10 May 2016 17:40:02 +0200 Date: Tue, 10 May 2016 17:40:02 +0200 From: Ralf Baechle To: James Hogan Cc: linux-mips@linux-mips.org, Matt Redfearn Subject: Re: [PATCH 2/5] MIPS: Add defs & probing of 64-bit CP0_EBase Message-ID: <20160510154002.GH16402@linux-mips.org> References: <1461937563-13199-1-git-send-email-james.hogan@imgtec.com> <1461937563-13199-3-git-send-email-james.hogan@imgtec.com> <20160510100209.GB12554@jhogan-linux.le.imgtec.org> <20160510102406.GF16402@linux-mips.org> <20160510153435.GJ23699@jhogan-linux.le.imgtec.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160510153435.GJ23699@jhogan-linux.le.imgtec.org> User-Agent: Mutt/1.6.0 (2016-04-01) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 53346 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: ralf@linux-mips.org Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips On Tue, May 10, 2016 at 04:34:35PM +0100, James Hogan wrote: > On Tue, May 10, 2016 at 12:24:06PM +0200, Ralf Baechle wrote: > > On Tue, May 10, 2016 at 11:02:09AM +0100, James Hogan wrote: > > > > > On Fri, Apr 29, 2016 at 02:46:00PM +0100, James Hogan wrote: > > > > MIPS64r2 and later cores may optionally have a 64-bit CP0_EBase > > > > register, with a write gate (WG) bit to allow the upper half to be > > > > written. The presence of this feature will need to be known about for VZ > > > > support in order to correctly save and restore the guest CP0_EBase > > > > register, so add CPU feature definitions and probing for this > > > > capability. > > > > > > Okay, so it turns out EBase.WG can be present on MIPS32 too, to allow > > > writing of bits 31:30 (thanks Matt!), so this needs a little more > > > thought. > > > > So drop the series for now or do you want to patch it up later? > > Yes, please drop it. I'll submit a v2 which probes for WG instead (i.e. > detects it on MIPS32 too). Done. Ralf