From patchwork Fri Apr 22 16:08:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: sergey.fedorov@linaro.org X-Patchwork-Id: 8913851 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1A4329F1D3 for ; Fri, 22 Apr 2016 16:16:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7BE85201B9 for ; Fri, 22 Apr 2016 16:16:28 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D95FC20160 for ; Fri, 22 Apr 2016 16:16:27 +0000 (UTC) Received: from localhost ([::1]:35616 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atdkp-00053z-74 for patchwork-qemu-devel@patchwork.kernel.org; Fri, 22 Apr 2016 12:16:27 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atde1-0008HY-0b for qemu-devel@nongnu.org; Fri, 22 Apr 2016 12:09:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1atde0-0008I1-6Q for qemu-devel@nongnu.org; Fri, 22 Apr 2016 12:09:24 -0400 Received: from mail-lb0-x235.google.com ([2a00:1450:4010:c04::235]:32986) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atddz-0008Hs-NK for qemu-devel@nongnu.org; Fri, 22 Apr 2016 12:09:24 -0400 Received: by mail-lb0-x235.google.com with SMTP id jj5so90338lbc.0 for ; Fri, 22 Apr 2016 09:09:23 -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=J0xIjNoktu9mUHH+7a8szAbjgAprR0jEYr2L+fAMv3c=; b=fkrWa5Fq5bYq0E0nrQX4CsO6TYWcCMY3uoOlg2TQ7l/3B4Nm1xIpqZgSNtyqaB9vTe prRc/qHep76i2ww356MumgToSyiaj7MGnW7006IfWEi9AnWK68KvV1Uetp7MSSni0Sb7 11R73bbFouiOBkuYfwB03uXYrf6u2uyzVybcQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=J0xIjNoktu9mUHH+7a8szAbjgAprR0jEYr2L+fAMv3c=; b=Z3lZ0XyoqJaHuUDOW66nV2nbNK+LdMfQMplSXBp3mcbsHHAvFfa2NjIM9FhtNJb5nj sjy7lyDD9brpHH66EVUcgHZC3OVwbjJxFEdIhCDF0T6na4CxGHWFtHCtK5r5Zww+wg+i ITj44Cs90Eyx5m+d/m6fmdz/+ojurekz1GjKu+SAil5feDzQ67V2hBsbMjQespDNfddx bg8Cuq5YuFOM/AJcdIy8L/V/vGO8MXGRQsFVquUrcdttJb/Aa7SJ4ARtLwUZ4j69l+Sz 6rlrjE7+TsaYu1SVspArXQ2wrbBKw2D+XlAO7k/LvYDBiT4jBlJqio17UNMmMU+3/AiV 2gAQ== X-Gm-Message-State: AOPr4FVHiTYcGS1w2Qyq2FvRPkFxe7tP1OxgXfwX2CV1CngaK1cufVofv54lQcybXQbOqkuQ X-Received: by 10.112.2.104 with SMTP id 8mr8993403lbt.50.1461341362687; Fri, 22 Apr 2016 09:09:22 -0700 (PDT) Received: from sergey-laptop.Dlink (broadband-46-188-121-115.2com.net. [46.188.121.115]) by smtp.gmail.com with ESMTPSA id hw7sm1645709lbb.40.2016.04.22.09.09.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 22 Apr 2016 09:09:21 -0700 (PDT) From: Sergey Fedorov To: qemu-devel@nongnu.org Date: Fri, 22 Apr 2016 19:08:53 +0300 Message-Id: <1461341333-19646-12-git-send-email-sergey.fedorov@linaro.org> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1461341333-19646-1-git-send-email-sergey.fedorov@linaro.org> References: <1461341333-19646-1-git-send-email-sergey.fedorov@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c04::235 Subject: [Qemu-devel] [PATCH v2 11/11] tcg: Note requirement on atomic direct jump patching 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: Sergey Fedorov , Peter Crosthwaite , Paolo Bonzini , Sergey Fedorov , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Richard Henderson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Sergey Fedorov Signed-off-by: Sergey Fedorov Signed-off-by: Sergey Fedorov Reviewed-by: Alex Bennée --- Changes in v2: * Minor rewording include/exec/exec-all.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h index 6a054ee720a8..67adcf137f8b 100644 --- a/include/exec/exec-all.h +++ b/include/exec/exec-all.h @@ -229,6 +229,7 @@ static inline void tlb_flush_by_mmuidx(CPUState *cpu, ...) || defined(__sparc__) || defined(__aarch64__) \ || defined(__s390x__) || defined(__mips__) \ || defined(CONFIG_TCG_INTERPRETER) +/* NOTE: Direct jump patching must be atomic to be thread-safe. */ #define USE_DIRECT_JUMP #endif