Message ID | 20191028145937.10914-8-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:ac9:3c86:0:0:0:0:0 with SMTP id w6csp3183114ocf; Mon, 28 Oct 2019 08:10:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqxNJj29kE1Pq60GLkq2VIroZY5dFaDALEbtVE1eecyKOx6G46W4uMrhHOrAt6SPRtNHHILr X-Received: by 2002:ac8:5214:: with SMTP id r20mr18181041qtn.140.1572275457327; Mon, 28 Oct 2019 08:10:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572275457; cv=none; d=google.com; s=arc-20160816; b=KWoAvZRDaDtEG8GuAWHGE9ojeEVHCA0urOvtu8Y+hfAzHLZ2az3xRykh7Bad2OoI2a 6nQH64632KgiRWg70im+dfZwViNEgHiwT5qA73crejQp/Zbwt+y6fwoPKaxRaARvo2eE c40r13YIr/jx08KudjsdI7bWQjUWr26T7iPHY5bqOhUbPQkEaVoJN5TL1S3QRJe4+w+I cwGn/dXnj8XV6MuhvOsJeweub9NV4PSh4aFeb+mH9BNGoYGbvC5lrc3zonWlQcvuS4cK MZ8IexZV1vnqYa3juJPL/+uMTLWLLzSb+saL4No0N4mFZ9pwCGFutdc4LdSg5ei4ZqHx XVUA== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=f6wua0jwz8W5xKyTZRCAqxHy+Li/vZosjNJ04IUp3Ds=; b=b1tsBHz8Y/K289OLVaA9lVdBCAkjkf4W6f2Fjn8bkIMEYjWEJiuof/+ndkQpzZ/pfy p4ZdYlgwJmaQBxfDJ1qgs5YSxDHYKRMbotTxcbKwhe2l4hJM3TWJzz10ywJB4Ffwj1TQ XdBDTPATeSHYKCwVV1Vs9YK0hjuqGBZKa5pXwE5xGgmFg3hjZiHr66bgi2x+4+xSqxCq vNNhBZlcZHmnCNiltmhQlnalRjPx1nLHNRC1OCm623yq4NhyixHflTfkrJN60e8urGjX K9H8hiq1WOabM9HpjLgEuW2TleTinABaTCIPfrwIEJlNjoac5DoOva5I7hsT1IPAXo82 FIBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x32Z0Oap; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id v16si9729668qtj.133.2019.10.28.08.10.56 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Oct 2019 08:10:57 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x32Z0Oap; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:44894 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1iP6fX-0004ak-Qa for patch@linaro.org; Mon, 28 Oct 2019 11:10:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44617) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1iP6Uq-0007YS-Pp for qemu-devel@nongnu.org; Mon, 28 Oct 2019 10:59:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1iP6Uo-000450-09 for qemu-devel@nongnu.org; Mon, 28 Oct 2019 10:59:51 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:40232) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1iP6Ul-000440-3C for qemu-devel@nongnu.org; Mon, 28 Oct 2019 10:59:48 -0400 Received: by mail-wr1-x42a.google.com with SMTP id o28so10234317wro.7 for <qemu-devel@nongnu.org>; Mon, 28 Oct 2019 07:59:46 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=f6wua0jwz8W5xKyTZRCAqxHy+Li/vZosjNJ04IUp3Ds=; b=x32Z0OapRr7CzGlJrB1N4NVivMQD2LWZSsu2K5ZKBjnxBH8M6+1n9JJNOiAwLnZ947 NbisNdJb8cCIN1acp2U1f9JG4FgsqkipSnbp5+xpfDKSRjCR16NU8XKaqLQRY9MPOPTJ 1ARNKiZTOqqP3fHyCyyUeKvoh65sIaAJ+0C5wt+alcZHsew+maxkEd+NBSVXYCtVps1O +K6yFo/IH6r0Iwbpz3bNAf/qt/msWlCqCrUjrbBuYrAbqHkOVvb0lWTEaNRql65bUK4u rWABMU1Yc1oqJ+KreLmOZ6yyIwbVMO/7LyB+3k6ogXyvENcTHHsHY+Lk3g5grslAWiIz sNGA== 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:mime-version:content-transfer-encoding; bh=f6wua0jwz8W5xKyTZRCAqxHy+Li/vZosjNJ04IUp3Ds=; b=kshAT8+zd3mO9pCIDDL8/CWTMYM3CzOk9eiwC2gbNEbObed+Pb56jbiWCjtoOAWbD3 +5kM9ySn+qWsrUgvEyr0kHwGkSWxwVi6LtqAOrREFtwRsUApF+aIQO7VaNBKdS5yVI8b No1Iv+lOo29RO7iNMdZARp5OwM/YaCTWIu0R/S5wIHrJTTAfPVLnlrfEVsqoWxGJZeF1 gO/o7SSMvp0XmaUpSigZYtJCnbR6dZ8hvysadmy4OMR861n9KNXLtJtA+7JYHiBevqex za+B9krLMlZfHBTTOaGosm8IYMPMzW8JNvDf1c1lUTY5H/VCKVHOyEyUw2KzV9sJaqE/ jinQ== X-Gm-Message-State: APjAAAUBrSkG7sXqOX7HVgJy4FOSkkhXVgPa+l8GnpQLE+xtyYc5A6hl pXlAwi55jCw1G9viQDf4l2k+FZWfoQSEGQ== X-Received: by 2002:a5d:4142:: with SMTP id c2mr14702098wrq.208.1572274785663; Mon, 28 Oct 2019 07:59:45 -0700 (PDT) Received: from localhost.localdomain (230.106.138.88.rev.sfr.net. [88.138.106.230]) by smtp.gmail.com with ESMTPSA id 143sm14842876wmb.33.2019.10.28.07.59.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Oct 2019 07:59:44 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL v2 07/12] exec: Restrict TARGET_PAGE_BITS_VARY assert to CONFIG_DEBUG_TCG Date: Mon, 28 Oct 2019 15:59:32 +0100 Message-Id: <20191028145937.10914-8-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191028145937.10914-1-richard.henderson@linaro.org> References: <20191028145937.10914-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42a X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
tcg patch queue
|
expand
|
diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h index 0b449b98ba..525059970c 100644 --- a/include/exec/cpu-all.h +++ b/include/exec/cpu-all.h @@ -219,8 +219,12 @@ extern const TargetPageBits target_page; #else extern TargetPageBits target_page; #endif +#ifdef CONFIG_DEBUG_TCG #define TARGET_PAGE_BITS ({ assert(target_page.decided); target_page.bits; }) #else +#define TARGET_PAGE_BITS target_page.bits +#endif +#else #define TARGET_PAGE_BITS_MIN TARGET_PAGE_BITS #endif