Message ID | 20171005143601.21584-3-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp669664qgn; Thu, 5 Oct 2017 07:42:14 -0700 (PDT) X-Received: by 10.237.45.199 with SMTP id i65mr32925651qtd.188.1507214534125; Thu, 05 Oct 2017 07:42:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507214534; cv=none; d=google.com; s=arc-20160816; b=WuwQtymGrHQ3G4mZwUgsBzM0BICqRQfYAZMh/5DuLBh2Oq3GNIS4Zzw16wN+Mqo31/ GJZpdEwIt+8ZWhC08EcafRs2Z+Ibyk9EQ2/y8P+L5Ev5/JbIQiWLfkZyZ5GOi160WQG/ Phn/rQwiH7B15kvWmGsbwOJeeiuDxAj/+hza7DhDq0488gMUZMyeTqBvifF0FZ2Cllf0 WqOBN6WO4ISrmUy3hL9XnpFLvpkEmKZp/okBfWXNgmt+XwbV3dOXYEJ75chjHw4pHoC+ k7VmR/KoOC/25HAgsimAJZYNbjQXltc8NOJvuub9j6FCXTnLxizEDju1vZuuYXB4YoKz 9HkA== 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 :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=IlVJtg7jsV6bcBya3yYGZw68nCz70QiaFT1rPAbZNd4=; b=GKh4rbbw4XYG++oXy7y7W1Y2HPUF1zLY+/iv1K5+HlA/eLag7rKnNWnxMG8uvd8gvO 8AXq0Q05RecEcLd4++GP9S+UgQ74hqdrd2yfXAjMOQwbgNcTs1egKtBpjvux79L+35is MGsTTFCjELA7EteE7oz77Be3M/Z0U4+CnKFGqAHEw0uKU5hzKrzM+uThnJxGQfidttmU N2PrRN1KaJZxM2KIqEJEZf8uX9ELg3goDQM938rYXuhgQr82mQyZEwTTc9ee0vvY0uzB n1Bi6hQ+XflIixFJcySjAvmWpmk7IohYdM/RsoGddN+9rM/rRsHTCWZzcSaa/d5Q+3eE V+Bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=ZnIDtrm1; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id b18si606273qkg.64.2017.10.05.07.42.14 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 05 Oct 2017 07:42:14 -0700 (PDT) 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=ZnIDtrm1; 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]:40216 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1e07Lp-0006yr-Mz for patch@linaro.org; Thu, 05 Oct 2017 10:42:13 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1e07Fy-0002Fx-L8 for qemu-devel@nongnu.org; Thu, 05 Oct 2017 10:36:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1e07Fx-0001v6-Nj for qemu-devel@nongnu.org; Thu, 05 Oct 2017 10:36:10 -0400 Received: from mail-qt0-x22c.google.com ([2607:f8b0:400d:c0d::22c]:49147) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1e07Fx-0001uQ-J5 for qemu-devel@nongnu.org; Thu, 05 Oct 2017 10:36:09 -0400 Received: by mail-qt0-x22c.google.com with SMTP id d13so25048010qta.5 for <qemu-devel@nongnu.org>; Thu, 05 Oct 2017 07:36:09 -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=IlVJtg7jsV6bcBya3yYGZw68nCz70QiaFT1rPAbZNd4=; b=ZnIDtrm1myVKLWbRmdbYNqnvJCku+75vtiKCZp8xT0OC878JRmc5lhBdQ46Il4yJ1+ bmTP+nsonYDrB5cM7OZ64aAo37/zDRnRLBapjWBKvIOStbdPrEg3aVRco++hNLlB2Fdo h4pmgSiqV2Tly6sLF0SEYDEszaRUShNNVjVrc= 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=IlVJtg7jsV6bcBya3yYGZw68nCz70QiaFT1rPAbZNd4=; b=Fn2VzsGw0Qb1c+eJfY58rt3FiUkT0nfTifCuOXzN0Ask95YPKcgrq0B/PMYLGj7N5h A7AposUDXmaQwn0FUeT70Awg4eDeHM+1biFi4YYSm6vyvAof1wDqiwr7VzdgTJsX9e8D UbHJivKo6Hs8fSzpvQI2bGUNzikKIPTTPf5uLrtECaHEjjRIAnezvZwyvXseFXdEvz/g 3aUKukFKps7bQojDmfUzGYKV70DGQWoFi+TWwUFujeRwJ4p+BF77mQA+WvEnZPu3+A2A wxUEpNqSwePVMcI/3nSiTtIVy84Cp8vbXnnQdW5wUjCEYQ+QfwcKWc3dmkZavLbroeSf +OQg== X-Gm-Message-State: AHPjjUjp6LUFxeuJUjMFAFQ9jhSCfm5Hx2rG6cNP8Er5mpQ5kMcL39a0 Wos07VUd3vNjZL736AYPL9dDu5wYpTs= X-Google-Smtp-Source: AOwi7QDTae0+LD7WbN5d6jOx2PAcZp+TVh/3l2sF0eKgug881cvhKT9KJ/3zA2BE1fW1K/XSL1Fgvw== X-Received: by 10.129.121.4 with SMTP id u4mr19889241ywc.71.1507214168693; Thu, 05 Oct 2017 07:36:08 -0700 (PDT) Received: from bigtime.twiddle.net.com ([2606:a000:7a4a:b100::1b]) by smtp.gmail.com with ESMTPSA id c13sm8277148ywm.101.2017.10.05.07.36.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Oct 2017 07:36:07 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Date: Thu, 5 Oct 2017 10:35:59 -0400 Message-Id: <20171005143601.21584-3-richard.henderson@linaro.org> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171005143601.21584-1-richard.henderson@linaro.org> References: <20171005143601.21584-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: 2607:f8b0:400d:c0d::22c Subject: [Qemu-devel] [PATCH v2 2/4] tcg: Fix off-by-one in assert in page_set_flags X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 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: <http://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, riku.voipio@iki.fi, Richard Henderson <rth@twiddle.net> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
linux-user fixes for va mapping
|
expand
|
diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c index 2d1ed06065..ebfc2e7024 100644 --- a/accel/tcg/translate-all.c +++ b/accel/tcg/translate-all.c @@ -2090,7 +2090,7 @@ void page_set_flags(target_ulong start, target_ulong end, int flags) guest address space. If this assert fires, it probably indicates a missing call to h2g_valid. */ #if TARGET_ABI_BITS > L1_MAP_ADDR_SPACE_BITS - assert(end < ((target_ulong)1 << L1_MAP_ADDR_SPACE_BITS)); + assert(end <= ((target_ulong)1 << L1_MAP_ADDR_SPACE_BITS)); #endif assert(start < end); assert_memory_lock();