From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z052W-0006Ss-Gg for qemu-devel@nongnu.org; Wed, 03 Jun 2015 05:32:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z052T-0007ly-A7 for qemu-devel@nongnu.org; Wed, 03 Jun 2015 05:32:48 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:44690) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z052T-0007lp-48 for qemu-devel@nongnu.org; Wed, 03 Jun 2015 05:32:45 -0400 From: Leon Alrae Date: Wed, 3 Jun 2015 10:32:29 +0100 Message-ID: <1433323956-7867-1-git-send-email-leon.alrae@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH v2 0/7] target-mips: add support for large physical addresses List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: james.hogan@imgtec.com, aurelien@aurel32.net Hi, This patchset adds large physical address support in MIPS, specifically: * eXtended Physical Addressing (XPA) * Large Physical Addressing (LPA) XPA and LPA are enabled in MIPS32R5-generic and MIPS64R6-generic cores respectively. The series applies on top of the Config5.FRE patches. Regards, Leon v2: * fix mask used in helper_{d}mtc0_entrylo{0,1} (James) * remove superfluous brackets (James) * add missing sign extension in mfhc0 on MIPS64 (this also fixes the issue with missing ri/xi masking off) * take into account CP0_LLAddr_shift (James) * improve commit message for removing the comments in patch #6 (James) Leon Alrae (7): target-mips: extend selected CP0 registers to 64-bits in MIPS32 target-mips: support Page Frame Number Extension field target-mips: add CP0.PageGrain.ELPA support target-mips: add MTHC0 and MFHC0 instructions target-mips: correct MFC0 for CP0.EntryLo in MIPS64 target-mips: remove misleading comments in translate_init.c target-mips: enable XPA and LPA features disas/mips.c | 2 + target-mips/cpu.h | 42 ++++++-- target-mips/machine.c | 21 ++-- target-mips/mips-defs.h | 4 +- target-mips/op_helper.c | 55 +++++++--- target-mips/translate.c | 247 +++++++++++++++++++++++++++++++++++++++++-- target-mips/translate_init.c | 24 ++--- 7 files changed, 336 insertions(+), 59 deletions(-)