From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYBBa-00057T-80 for qemu-devel@nongnu.org; Thu, 20 Jul 2017 09:08:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYBBX-0001yp-Ji for qemu-devel@nongnu.org; Thu, 20 Jul 2017 09:08:10 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:5329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYBBX-0001ya-D1 for qemu-devel@nongnu.org; Thu, 20 Jul 2017 09:08:07 -0400 References: From: Yongbok Kim Message-ID: Date: Thu, 20 Jul 2017 14:08:05 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 12/14] target/mips: Implement segmentation control List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: James Hogan Cc: qemu-devel@nongnu.org, Aurelien Jarno On 18/07/2017 12:55, James Hogan wrote: > Implement the optional segmentation control feature in the virtual to > physical address translation code. > > The fixed legacy segment and xkphys handling is replaced with a dynamic > layout based on the segmentation control registers (which should be set > up even when the feature is not exposed to the guest). > > Signed-off-by: James Hogan > Cc: Yongbok Kim > Cc: Aurelien Jarno > --- > Changes in v2: > - Use hwaddr instead of target_ulong for physical addresses in > get_seg[ctl]_physical_address() (Yongbok). > - Fix xkphys privilege control based on access mode (am) (Yongbok). > - Fix xkphys TLB faults to use XTLB. > --- > target/mips/helper.c | 177 +++++++++++++++++++++++++++++++++++--------- > 1 file changed, 142 insertions(+), 35 deletions(-) > Reviewed-by: Yongbok Kim Regards, Yongbok