From patchwork Mon Jan 22 03:42:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 125331 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp953398ljf; Sun, 21 Jan 2018 20:18:47 -0800 (PST) X-Google-Smtp-Source: AH8x225udR9+miFUWgJpfvxqO3M/UM+4nqE61+KcyZzpzmUa9kwwuzYJjzBivdUfoBK+Yi68gHJ9 X-Received: by 10.13.201.197 with SMTP id l188mr6289554ywd.132.1516594726957; Sun, 21 Jan 2018 20:18:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516594726; cv=none; d=google.com; s=arc-20160816; b=ACGsnPI67floQb8bqrFpgauFJO9++VBJQHXD0GvyCWQyJefUv0pacPSjYPeh734ZsO 1kNnnZWH+tdAea0rvkpVLbblhxnogSxKUB2Jg4RiDQVGWEGGWIvWwoFjI2Fdox1Tq6uK V8jA4aRsYs5QnGzvUGxu0E4096ELq+pMd4pWwZmKl9FntHgqcWzM4mJiEk0htVrQwVHt DDnzl3dYhmDl1IRZgsg1B8WHBXzVDrhA/EEb2rQLFZNNHaQ0ZdyTotIbxcB1E28EhTOe yh5K6Yw7sW0fp6H5NwRkf2eDbeVeCp3Y62pnIiciGyedphwMaelCBf6ZCMVj3xc2NlsD Q+7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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=d7S8Ce5lJfY62ku+UN5mHsL1FCYRy5z73FBQrD8A3sc=; b=JiR5oMhCY+nRi/C2jqa5QiBhmBJkg3cL+dCu1subssDOD/ryP9GxHr0gmQL1rbuTXi U69pvRMnbeWlCRKSO27IckN7smOZtR9zefbTYTAitIcfKQpu+aPLMJOWVv+FKX1rkX1Y 3i/nZ6rGUOs1uJ2/aHpwPNWtEUgcU5uRmI5lCPt2iJGi0CjWSge1vAr550QGyYP7Tm1G ON6pJcBgL11qpoqpAS/o+r26vbwP7Uj0BWAuXn3nHzwwFYgzQwFNZEfsEj0eLbJTIAGW 7JARxIq4il0JG5/1HZ4+Hhm8jrVcR+vyV/2UdUlIAF8/yZiME0Zo5AAVphuE9h2kL4UR cKLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=W2yoWHiO; 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 i15si3453827ywe.445.2018.01.21.20.18.46 for (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 21 Jan 2018 20:18:46 -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=W2yoWHiO; 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]:42411 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1edTZG-0008Ms-CG for patch@linaro.org; Sun, 21 Jan 2018 23:18:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1edT11-00066V-Rs for qemu-devel@nongnu.org; Sun, 21 Jan 2018 22:43:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1edT0x-0006tP-R4 for qemu-devel@nongnu.org; Sun, 21 Jan 2018 22:43:23 -0500 Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]:33972) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1edT0x-0006sl-LD for qemu-devel@nongnu.org; Sun, 21 Jan 2018 22:43:19 -0500 Received: by mail-pg0-x243.google.com with SMTP id r19so6096579pgn.1 for ; Sun, 21 Jan 2018 19:43:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=d7S8Ce5lJfY62ku+UN5mHsL1FCYRy5z73FBQrD8A3sc=; b=W2yoWHiO8TBfZJUOi3BPLAT7qIkWwjwKgPWzq/MV42VviZ63ARl5927jJ0Rq2uja6I oonLBkKkXm0Lmus9NxP9iKoZs+zlo+b2EPaUTgFbDNOE/Fw2xGMzSU8G/gYH630Q40YN oMxAgmERlYc88cGMEC6c/CJ7n+QzHuhvuJhIA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=d7S8Ce5lJfY62ku+UN5mHsL1FCYRy5z73FBQrD8A3sc=; b=bsShxznisR0RiDx2NmsS65YZhipgZ7vINytKx9kGetumklNM2CFsiyi0XqEc/+rs/d xGdYkNtPXrY1V33pbJkm90ErR+HCotnbyY5Y6DbsB4Kr8edspJ/bpnSCmewUlAa6RFN7 ZKUiM1xjioHu14bqJcRJaFQBuiLWhfewldN5CfbkaQ8gVP5mPCOCBMWklX5fC6MiXID/ dM0jwmJPAkjv8gtCDuLnFNgP005FQHjC8bQxbeYtsfpqkkIxBJV240I6lMnYRsAxFa9B lGSe95bfkxzlMsqs0zMHPNC4mPuFsvwKp8axcDScWlI/xrMR1JMmTtCxnVtmKwSxm7Gr jX+Q== X-Gm-Message-State: AKwxytcexjboND7Z1a87BrxRPg6vRGT1dPPkhigBn8ZdPx54FdqEak4W vctjwyDLuxl80RRgkDRy4LxXaYsH9g0= X-Received: by 2002:a17:902:a985:: with SMTP id bh5-v6mr2699232plb.23.1516592598361; Sun, 21 Jan 2018 19:43:18 -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 z125sm182023pfz.27.2018.01.21.19.43.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 21 Jan 2018 19:43:17 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Sun, 21 Jan 2018 19:42:14 -0800 Message-Id: <20180122034217.19593-41-richard.henderson@linaro.org> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180122034217.19593-1-richard.henderson@linaro.org> References: <20180122034217.19593-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:c05::243 Subject: [Qemu-devel] [PULL 40/43] 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: , Cc: peter.maydell@linaro.org 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 6d8c996c62..420d50a47d 100755 --- a/configure +++ b/configure @@ -6522,6 +6522,7 @@ case "$target_name" in cris) ;; hppa) + mttcg="yes" ;; lm32) ;;