From patchwork Sat Oct 1 10:05:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Artyom Tarasenko X-Patchwork-Id: 9359121 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 79B726075E for ; Sat, 1 Oct 2016 10:12:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6ADDC295F4 for ; Sat, 1 Oct 2016 10:12:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5F6C429652; Sat, 1 Oct 2016 10:12:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 17E68295F4 for ; Sat, 1 Oct 2016 10:12:31 +0000 (UTC) Received: from localhost ([::1]:54946 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqHHS-0001gC-4l for patchwork-qemu-devel@patchwork.kernel.org; Sat, 01 Oct 2016 06:12:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43981) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqHCI-0005wz-N4 for qemu-devel@nongnu.org; Sat, 01 Oct 2016 06:07:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqHCG-0007X2-RE for qemu-devel@nongnu.org; Sat, 01 Oct 2016 06:07:09 -0400 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:34402) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqHCG-0007Wc-K5 for qemu-devel@nongnu.org; Sat, 01 Oct 2016 06:07:08 -0400 Received: by mail-wm0-x243.google.com with SMTP id b201so1581027wmb.1 for ; Sat, 01 Oct 2016 03:07:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=HxQOZSuXU9Wo81Jw7RCoPAXNvlo7dZ8p6ib1wSwi5So=; b=reVsmWmsPVTkUTyXYXst8cVfcY5EI5sZ7MM5r8w4yepqImn882qZvKfHukMfrI5icn aJfrgWyKqBS+tvxDETCemQtSQO7qw0lS0BzXrc6nAyMRm83a6JSyLugt4b12ezczmJ7y dZOHTJCWtHZBZ34L0Rc1rBp9NI1F9b6mq6ccuvfnA6Cstu+/wruui3vYn5yuYzsN74JC LkMif4bBfk/psR9O+ANYoutFpjX3zCqFXmIszo2ZWIufo9BRWtIutm+B1xKzqx26XbzS SxlBVbrdTrzgn4hSy9bSHqEZerx/k+lA4pNR2Rf9paoelOqRBE3j4ZksyciST9rrx+zZ 9nCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=HxQOZSuXU9Wo81Jw7RCoPAXNvlo7dZ8p6ib1wSwi5So=; b=KzrxloFIRgThnb6bCP4IpaTsc4wgifOdPjk0TaVycdgnuuymfoqg7Egc4QZLptyO9F nglI81sM/iknEZLt/K0D1OIzmytVNq+fjxacmNa8O0E+m3OdYcA74Uh5K2T1KEYxy8kJ FHLeelavn73ANDQArYCWcSI/VUbeXSetsicX0ViVZObmAgh+naCeVpHJYA0F9KL8PuBe SH7pjhdDJIWzOw66jUroVAjuU1FviI3yv9sciEl5TCWbsdLWfRlg+WqKNhEHOLQ76p/6 8C+evzEFrRyIVcircL1yqOhiDjXEwcVU2bgszlkIY+A8SYpU3YH75q72TAL7tGp+JLJk 04DQ== X-Gm-Message-State: AA6/9Rl9T3nZ3EN8/+9Z+5A/VjAgJjmdUOfp7NFl3aNrvqQB1EBEvKwq4lBDUr1h+t/7Fg== X-Received: by 10.194.89.169 with SMTP id bp9mr11459104wjb.58.1475316427995; Sat, 01 Oct 2016 03:07:07 -0700 (PDT) Received: from localhost (x55b4da19.dyn.telefonica.de. [85.180.218.25]) by smtp.gmail.com with ESMTPSA id lp1sm15565918wjb.15.2016.10.01.03.07.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 01 Oct 2016 03:07:06 -0700 (PDT) From: Artyom Tarasenko To: qemu-devel@nongnu.org Date: Sat, 1 Oct 2016 12:05:08 +0200 Message-Id: <1475316333-9776-5-git-send-email-atar4qemu@gmail.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1475316333-9776-1-git-send-email-atar4qemu@gmail.com> References: <1475316333-9776-1-git-send-email-atar4qemu@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::243 Subject: [Qemu-devel] [PATCH 04/29] target-sparc: add UltraSPARC T1 TLB #defines X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Cave-Ayland , Artyom Tarasenko , Richard Henderson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Artyom Tarasenko --- target-sparc/cpu.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target-sparc/cpu.h b/target-sparc/cpu.h index 2c169e1..bafa8d9 100644 --- a/target-sparc/cpu.h +++ b/target-sparc/cpu.h @@ -328,6 +328,10 @@ enum { #define TTE_PGSIZE_UA2005(tte) ((tte) & 7ULL) #define TTE_PA(tte) ((tte) & 0x1ffffffe000ULL) +/* UltraSPARC T1 specific */ +#define TLB_UST1_IS_REAL_BIT (1ULL << 9) /* Real translation entry */ +#define TLB_UST1_IS_SUN4V_BIT (1ULL << 10) /* sun4u/sun4v TTE format switch */ + #define SFSR_NF_BIT (1ULL << 24) /* JPS1 NoFault */ #define SFSR_TM_BIT (1ULL << 15) /* JPS1 TLB Miss */ #define SFSR_FT_VA_IMMU_BIT (1ULL << 13) /* USIIi VA out of range (IMMU) */