Message ID | 20210920141947.5537-9-peter.maydell@linaro.org |
---|---|
State | Accepted |
Commit | 5b3e7517246cbfdd7ea1f1b2a4637e308f1fdb83 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c816:0:0:0:0:0 with SMTP id p22csp2112338jao; Mon, 20 Sep 2021 07:31:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVwK6V4EWYm+RmDvkjLxgAyDeRMWofksh/vko0vAHeGLNm2F2jIijgvXAGsIkhsPYHhIiM X-Received: by 2002:a37:b44:: with SMTP id 65mr17196708qkl.472.1632148275726; Mon, 20 Sep 2021 07:31:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632148275; cv=none; d=google.com; s=arc-20160816; b=mDgfMffRGnJ3q4WIKdgwDBhg6/B5lQLQmQws3YMamlIFWKVzsHrvCElCtTN+ZrO59v 9URa90pBUlJwdrJTk8lgxzBM7vNEk9nJA50pfx/LDsIYTIUSXDZGaY+ZszFAFNQEvIoM wUL0AF8xX+pno1UCj+RHuQxurC/t6qeO4aFUDQ3Psuu31kxt8dPE4KrCdLd1i6QaP5ub 36ghFYsGTFCEobHoYRlacTJzBBVM0JJ4tXsJsEc1rACcB5fBsHnu65A1nw/r6eI5iKtR HK5qa5rRk8dMxrbjgc8WZYLVd82ksPyGdVMt4gP76sPeHVT4szJ2FVIKJON/mjSycx+k dYdg== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=c0SXbXziBile1wgQHLBqPegTCinRFtAwKimdChj13Yo=; b=McjhogR+dRDhu3SiAlNgpXsfzBI6KhwZkqw9/RODYEKKQHnJjCtoMF3S1ivATdiioM sZul+4Ebfy7Q+/T0m2OSLQHdnDInfn8jd8nhkxz9SMHjR1ixSRrZYkKZuKxYm6QkDTuC ZtHaHJt3vM50HmwrhmRQa8t5M/HguvLyRrcZJIWkTUYF5qUOuqYskBrRIa0WqkEepVeb IgU1rOu1clXptDK+uUEh++GvYeUx2oVzGkH6Ab5C0+KG7YGcDN/74oM+is5/Pt09epAX Base1467XDlv4W2NP0ChUcc2WHZBgWRXCo81uxhlq1lvEkq3Pk2NoiXrJ7DFATh5dwyS HfHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gn5nMGun; 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 e19si8762777qtm.248.2021.09.20.07.31.15 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 Sep 2021 07:31:15 -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=gn5nMGun; 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]:36050 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 1mSKKA-0007Ej-Vx for patch@linaro.org; Mon, 20 Sep 2021 10:31:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>) id 1mSK9b-0002lx-VL for qemu-devel@nongnu.org; Mon, 20 Sep 2021 10:20:20 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:42987) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>) id 1mSK9E-0000nc-DS for qemu-devel@nongnu.org; Mon, 20 Sep 2021 10:20:18 -0400 Received: by mail-wr1-x42f.google.com with SMTP id q11so30193771wrr.9 for <qemu-devel@nongnu.org>; Mon, 20 Sep 2021 07:19:56 -0700 (PDT) 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:mime-version :content-transfer-encoding; bh=c0SXbXziBile1wgQHLBqPegTCinRFtAwKimdChj13Yo=; b=gn5nMGunONNKaxeCZA7gE+eZOfsaUo/5ku54qxMspd5ulEDij6yTf2XxMVCPIAGqVl nIVB2B5jtTFmCTvdtm/M7/Wy+HnKkXbrC54/HG0IQSfkbK3koKCUoq9bh9yVxmT3wjwG t0J4RQ9dsZJUwBXFzjKq28yKIcKottxxM1h9EWcxPppVdttxlRT6w5GEp/xgdCgqDgxd PAZWltnpVVKn8clFhk1f5rymWlSsXRLMsGpteribpDuHkb+nLYn8w6pfWzDuGV8zbxP8 9TQbBIM3HYYP4p/6aLabxotW796NaqDGN5ODBto3iDm8MOgVnJ/g3JSotGjxHra8/qSV iCRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=c0SXbXziBile1wgQHLBqPegTCinRFtAwKimdChj13Yo=; b=kDYj8HUyFEIptOIUEuZHkUKQfU4++Y4jeoYkLEZy7aDg2l8KZy2yTzHEL5LTc7Nhiu ZJafilBU6RIZsJf2nvWKCRN45gQ1tkkO9meQyUWOPIPUGf+zVPwciVEbYxw+ATS8gMCV e8fe4AqnZVXD/22r1UE5IpQHV5kf81CgSJkVDbwCn3RfC0vCUAEqABqnwptlHeNr/xhm 31w8hjXjl+u7ry+RBu1GnDEB0SNP4yeji2pjB1Co09rX6EG72ccugfPEpUpJ0NyipGyA THm0//hTFkD8nGv3EuOTkKLb8wPzKc5psmuKbixXciwgmcv7COvL0bIROUz8V7Jgadyb C9XQ== X-Gm-Message-State: AOAM53250t/6BY58u2yjN7LeZvynDUrd/DzKdehdK7iQ56ZB1YqyS8/d egTa6rewnvKaiBsDeXoZTjGvtBIHAvnYNg== X-Received: by 2002:a05:6000:11d1:: with SMTP id i17mr29086777wrx.424.1632147595094; Mon, 20 Sep 2021 07:19:55 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id n17sm16229693wrp.17.2021.09.20.07.19.54 for <qemu-devel@nongnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Sep 2021 07:19:54 -0700 (PDT) From: Peter Maydell <peter.maydell@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 08/27] hvf: Add execute to dirty log permission bitmap Date: Mon, 20 Sep 2021 15:19:28 +0100 Message-Id: <20210920141947.5537-9-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210920141947.5537-1-peter.maydell@linaro.org> References: <20210920141947.5537-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x42f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
target-arm queue
|
expand
|
diff --git a/accel/hvf/hvf-accel-ops.c b/accel/hvf/hvf-accel-ops.c index d1691be9896..71cc2fa70fa 100644 --- a/accel/hvf/hvf-accel-ops.c +++ b/accel/hvf/hvf-accel-ops.c @@ -239,12 +239,12 @@ static void hvf_set_dirty_tracking(MemoryRegionSection *section, bool on) if (on) { slot->flags |= HVF_SLOT_LOG; hv_vm_protect((uintptr_t)slot->start, (size_t)slot->size, - HV_MEMORY_READ); + HV_MEMORY_READ | HV_MEMORY_EXEC); /* stop tracking region*/ } else { slot->flags &= ~HVF_SLOT_LOG; hv_vm_protect((uintptr_t)slot->start, (size_t)slot->size, - HV_MEMORY_READ | HV_MEMORY_WRITE); + HV_MEMORY_READ | HV_MEMORY_WRITE | HV_MEMORY_EXEC); } }