Message ID | 20220819032615.884847-7-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp1065869mae; Thu, 18 Aug 2022 20:34:12 -0700 (PDT) X-Google-Smtp-Source: AA6agR5wRiMmXk6eqJQdyakh/7IZflWZech6a0BxvtmIU6TXa5iIFWjwOzQvqAKUtYjMXzUKpDxT X-Received: by 2002:a37:952:0:b0:6ba:37c6:12ec with SMTP id 79-20020a370952000000b006ba37c612ecmr4356379qkj.331.1660880052087; Thu, 18 Aug 2022 20:34:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660880052; cv=none; d=google.com; s=arc-20160816; b=BV/cS1avrFPFpdJo+C5+3hczkZTmL7Nf1BlKWXn1+ynms2hPNvPfBThDliAuAvjUqZ xS5EeFgBHDGk0dgTB2h0g7ljMIma8+uHGp7OxzCHliRWCV2jIZXeTAHqGyHiYiBzOaAo r0m3NGT1jERb3wmEw+Ns0qn6Ru3z8l002oxWBcJdOsIct1K7aS3CW1ixG9/k56cN3qSk OO4X7U+FHSFamEkp3UuMnV2vE35k8fx+OcAoSB6Lqino7mg4GuZ1WwOYxaTlDD96pvbv AYC3ZsHGgZdMHlh+ZegAzFOgHxd4N8RQ289YBiBWS+PcQPEDmbztbTdPBgqhWeGcMn52 ccwQ== 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:cc:to :from:dkim-signature; bh=BW7Q1ag8Lfnxwk0WaGeudEHBVGgEoEo4+8WybCWhWKA=; b=mQQelVGFgJGhCWUd0p8/LdBrd7U0ZLd8SQxMWzUa4pcR90JZCEZoJ+E41BY0CaQvOn uNeN4xGvYCLMmhixoqh+6aAywr4MBxp2RTySFaCHUPwBCaXJx1cp3R7DXT+noJ5HbqA1 XlxcK+Hy1EbDUxsRPRwGDfIhtJ1nJY7WanYxXE1mVOMjWdAuUwKCAHnsqDJEshy3YUcc cj63FcezDIFCWqfGTzUa/ejTx0eZqt6lPW3GY4SiD8A0F5OoZcQewXFJAO3ocNILh6Ax 7/LBH5vl/xzNMaD22TkQfwCHA2laZDm+sUtgHnixCox4Foi1/XEAp822lasmRFocbLqf 9ZBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Qz0AvaMI; 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 t189-20020a375fc6000000b006bbdcb7b334si76218qkb.721.2022.08.18.20.34.11 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Aug 2022 20:34:12 -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=Qz0AvaMI; 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]:54428 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 1oOslv-0004TT-FQ for patch@linaro.org; Thu, 18 Aug 2022 23:34:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1oOseQ-0001aU-FR for qemu-devel@nongnu.org; Thu, 18 Aug 2022 23:26:26 -0400 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]:39505) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1oOseO-0002k1-US for qemu-devel@nongnu.org; Thu, 18 Aug 2022 23:26:26 -0400 Received: by mail-pg1-x52c.google.com with SMTP id q9so1838982pgq.6 for <qemu-devel@nongnu.org>; Thu, 18 Aug 2022 20:26:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=BW7Q1ag8Lfnxwk0WaGeudEHBVGgEoEo4+8WybCWhWKA=; b=Qz0AvaMII2u1VwUrmDmaFnnuSeIfmPOsw0NaPD1JcPnc52hEYGNminBioRgz6ykiBW YjSxxsOnCfsyjDcBoOJlMF1roNlBs+DP4OhHyoa4jsPfOsiRw+ZPhgw8fsHwkjgZfAus C1r29aIlSBBrtJvlA76psUsNE1ua2yLvyXrgGWQqjDUKT7EvaggpC0ubuGlkrHV32G7U A2lLeYSNeav2AtVDySn+ZJj0fF5YVTS96jr3BJvFJNFfs9xxTFwXZbeJwfVUkmSAbWNb GFeGvDUtNBRYCNMPa/w8Ueg0NjWpMWtVDm/2mc6vaRNpUhwZBoBhjDdroZ+JvZjJd0+l sEag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=BW7Q1ag8Lfnxwk0WaGeudEHBVGgEoEo4+8WybCWhWKA=; b=8A89G0HVZIZ6rTaoVRY+kxjytnls7PLx9e2aLYwn+QQglF9GDZcTmO82JaROtj5rHc KM4QC0FC8PSMBK3okzt+8GgIeqAYfzRVcY8ZfTUBuuDadISt+lrqTiLpHKVHzPZ97VjR DrhnOzXyUEb1TXxG9Z5Ij3b+A5Gkg6ThKpjs+phT+kyyVOB7ux92RrUkzO6qw2B9jRnr 1mX/ufosqi4b/K9ylVcVDl9IN1weu/vrdXtj+nXMqM0R02IRFW+EO1jlLRcKjGNzSWbQ hUrH/6Ihf7UAZvgBiOGGqIbWMia9HrIaReZotaRQCE7ED0hzQVKVfGTmg88DK19B1QTt usWA== X-Gm-Message-State: ACgBeo16IHRAVkxgH+gKw11wRRtZ56bBRK/h98PpnfguFshfrsJH867L yojweo73dhVzOEOr2HiwO1fHU9LXcvumnQ== X-Received: by 2002:aa7:838a:0:b0:536:101a:9ccf with SMTP id u10-20020aa7838a000000b00536101a9ccfmr902314pfm.18.1660879583639; Thu, 18 Aug 2022 20:26:23 -0700 (PDT) Received: from stoup.. ([2602:47:d49d:ec01:bbf3:9914:aa9c:3b4e]) by smtp.gmail.com with ESMTPSA id g184-20020a6252c1000000b00535d19c46d7sm2199904pfb.203.2022.08.18.20.26.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Aug 2022 20:26:23 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: laurent@vivier.eu, iii@linux.ibm.com, dramforever@live.com, alistair.francis@wdc.com, alex.bennee@linaro.org Subject: [PATCH v6 06/21] tests/tcg/i386: Move smc_code2 to an executable section Date: Thu, 18 Aug 2022 20:26:00 -0700 Message-Id: <20220819032615.884847-7-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220819032615.884847-1-richard.henderson@linaro.org> References: <20220819032615.884847-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::52c; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x52c.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 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 |
linux-user: Fix siginfo_t contents when jumping to non-readable pages
|
expand
|
diff --git a/tests/tcg/i386/test-i386.c b/tests/tcg/i386/test-i386.c index ac8d5a3c1f..e6b308a2c0 100644 --- a/tests/tcg/i386/test-i386.c +++ b/tests/tcg/i386/test-i386.c @@ -1998,7 +1998,7 @@ uint8_t code[] = { 0xc3, /* ret */ }; -asm(".section \".data\"\n" +asm(".section \".data_x\",\"awx\"\n" "smc_code2:\n" "movl 4(%esp), %eax\n" "movl %eax, smc_patch_addr2 + 1\n"
We're about to start validating PAGE_EXEC, which means that we've got to put this code into a section that is both writable and executable. Note that this test did not run on hardware beforehand either. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- tests/tcg/i386/test-i386.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)