From patchwork Wed Jan 24 23:26:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 125737 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp737572ljf; Wed, 24 Jan 2018 15:42:34 -0800 (PST) X-Google-Smtp-Source: AH8x227jJmlebksc4cUuzBtYbjxJ/VlC4eZtoI0J8M5DHhDtwiMAmBTnp9GDJWeKfAiQxz6gg4FU X-Received: by 10.129.76.68 with SMTP id z65mr7014018ywa.513.1516837354538; Wed, 24 Jan 2018 15:42:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516837354; cv=none; d=google.com; s=arc-20160816; b=Zd8jFqX4vMwSK2tH0sdOfAYN+o3x0hgyn2N2qLZgtevwrFAD5F3aFhtn56Yp7whD8d U4oKGHU1dxJkjsUyijKuIC3BsakR8uejZdM/GQ1TQJCXh4ZqYenAjAyiz8MAYC8vJFB8 pAouZOSrndtvhdX70UPjtVb9tTocXNj0kncpPENBeX8fDKdspaUfhKklCD+cwHsMsCdd YzvRZvuf3TFX+vkhOTKBkJZwvPjlXyDSqZajhDiDkZjw7A66aNgehler6cikNCmVSxhb jZpwlpwNThUGjDlr+dm6U41ji0+TVLcjmEAr2cJfHEbnO1z2d8gR1+Nj92AV52zdOc50 FGMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=quBtnarmfehsLQSA0SyAoxzs5iPyto2pNccU5OZX0IY=; b=RF3tup1c/greXrepIFyAn4ZXpAB2lztXa8qW55fT9byHWd0cNwxAzHWqhPMeJL6V8j qBB8mpx0aq0hHujf8LU6kcINZd5s8boIQBY4gXdt0KwLuhT7IqslgViSw557O3oNDG3e 2Fh+C+qJCNwxIgMhk7JKW+YrrbcjYckwOH9m8g6tVowiocrMa52La2yLweKe9dbeiRIO GWqzL3LByBrLZToh5dupd+uRPzCJEtEKGTmcQF2zJHKWLlNVVn1zKXw9WZ2wHO6XEOJY Rf8QaqbnbRmmtG89qWIkSos1PZYGcyvR7Nul9d2kd2rYPFDPNndIGbxjOLDYQo04Wh2J GNZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=RqkWvK6q; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id u6si2588992ybu.303.2018.01.24.15.42.34 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 24 Jan 2018 15:42:34 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=RqkWvK6q; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:54554 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eeUgc-0000DB-0D for patch@linaro.org; Wed, 24 Jan 2018 18:42:34 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eeUS1-00059q-Rp for qemu-devel@nongnu.org; Wed, 24 Jan 2018 18:27:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eeUS0-0002Fi-VP for qemu-devel@nongnu.org; Wed, 24 Jan 2018 18:27:29 -0500 Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]:41938) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eeUS0-0002Es-Pt for qemu-devel@nongnu.org; Wed, 24 Jan 2018 18:27:28 -0500 Received: by mail-pf0-x241.google.com with SMTP id c6so4360608pfi.8 for ; Wed, 24 Jan 2018 15:27:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references; bh=quBtnarmfehsLQSA0SyAoxzs5iPyto2pNccU5OZX0IY=; b=RqkWvK6qR79zSncUHo6udiYXWdInOdlgKDUPc9hypmnEPBq8U3kXtXaP54mt/8XFv/ dDwn2yxiZhBG9Iv4YGVz7+TKhzwqtQRpnAkjOON0hMeIFO1nRbw9omiNFaQWrAFTJwyM PEJpwqGvCuSin3H02ZaXJp4TdEyOF+JtaTENE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=quBtnarmfehsLQSA0SyAoxzs5iPyto2pNccU5OZX0IY=; b=Oqggdi2R1+eHmivgLVGHjRHpiS5i36IiNqa6IozJZucZ+u2JVHly0L4SHEK2nqmzus BFAJYIo83iR9JlW9blG5mrzNpH//YlgXZHTN1fbhuIZupq+9VPIkCk3LByuigoVZ17Fl Grkk07hnbnQhEA8Czy9AswXvl2Ydq0DEVrs/Fx4uRwc2sezpRZ9qCv2nUhYZ64RyMAfo Yh3nyZfkzvcYXkyIsnq/akx3eRF23WHjMTHI4EUOShLyJbORzYcldvgWWMGYwzXK5akQ ojJ+i3rRy2h0sylhFp9EthBmLgApVWrmJKDU7VDYUv7FQb90F4XRX7OWqL5hvtWwx1VI xWVQ== X-Gm-Message-State: AKwxytcpg5kT/BCNPNvH+z6p9hdK8FDEBoJdcUKRqGJXnyN4IScCPu+U VIM+vlNENj99nJXfDt7ff5z32ZqOxKA= X-Received: by 2002:a17:902:3124:: with SMTP id w33-v6mr9315436plb.356.1516836447535; Wed, 24 Jan 2018 15:27:27 -0800 (PST) Received: from cloudburst.twiddle.net (174-21-6-47.tukw.qwest.net. [174.21.6.47]) by smtp.gmail.com with ESMTPSA id z19sm9760028pfh.185.2018.01.24.15.27.26 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Jan 2018 15:27:26 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Wed, 24 Jan 2018 15:26:20 -0800 Message-Id: <20180124232625.30105-41-richard.henderson@linaro.org> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180124232625.30105-1-richard.henderson@linaro.org> References: <20180124232625.30105-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::241 Subject: [Qemu-devel] [PATCH v3 40/45] target/hppa: Enable MTTCG 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: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Richard Henderson --- target/hppa/cpu.h | 6 ++++++ configure | 1 + 2 files changed, 7 insertions(+) -- 2.14.3 diff --git a/target/hppa/cpu.h b/target/hppa/cpu.h index 79763b254c..3df3ebd19d 100644 --- a/target/hppa/cpu.h +++ b/target/hppa/cpu.h @@ -42,6 +42,12 @@ #define TARGET_PHYS_ADDR_SPACE_BITS 32 #endif +/* PA-RISC 1.x processors have a strong memory model. */ +/* ??? While we do not yet implement PA-RISC 2.0, those processors have + a weak memory model, but with TLB bits that force ordering on a per-page + basis. It's probably easier to fall back to a strong memory model. */ +#define TCG_GUEST_DEFAULT_MO TCG_MO_ALL + #define CPUArchState struct CPUHPPAState #include "exec/cpu-defs.h" diff --git a/configure b/configure index 044c6fafe2..0046135db6 100755 --- a/configure +++ b/configure @@ -6549,6 +6549,7 @@ case "$target_name" in cris) ;; hppa) + mttcg="yes" ;; lm32) ;;