From nobody Tue Feb 10 13:36:20 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1660682267; cv=none; d=zohomail.com; s=zohoarc; b=gnYVZcVjiyPrIPrUEnrjg3Hmu9Ufgt3ojAmG6wiT0qxlqekMe0VRO1v+ykoxzSUfRJpajDYiz1i8LwgjQMqtFEjg3LATMCO9ThragbRMmX6eEcbAMW7lI3M424Sasro9hRX+TiedWMhJHNc4GyrlXrsgXkKQltvSADtuSVFv9lE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1660682267; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=BW7Q1ag8Lfnxwk0WaGeudEHBVGgEoEo4+8WybCWhWKA=; b=OMCadmsAwIuKBM+1pwRr6wtsSM/r5ILZZp/7rQw236HRTkeUa6zJ2cG5OqvYFqGsKMe5WDxOO+Tu3d9wKDnhk1p+/HlfwXK4poXv9xVgTPfbhQcrtl9F0+IxiDZzEO4Y5/dhyIE0E3y5cOQWeDBCLZ1TM/UhcMYfFLj8Jp4IG0o= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1660682267027834.0232427608714; Tue, 16 Aug 2022 13:37:47 -0700 (PDT) Received: from localhost ([::1]:60554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oO3Jo-0001bT-7z for importer@patchew.org; Tue, 16 Aug 2022 16:37:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oO3GW-0004iu-37 for qemu-devel@nongnu.org; Tue, 16 Aug 2022 16:34:21 -0400 Received: from mail-oa1-x2b.google.com ([2001:4860:4864:20::2b]:41592) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oO3GT-0004Uw-4L for qemu-devel@nongnu.org; Tue, 16 Aug 2022 16:34:19 -0400 Received: by mail-oa1-x2b.google.com with SMTP id 586e51a60fabf-11c21c69347so2112055fac.8 for ; Tue, 16 Aug 2022 13:34:16 -0700 (PDT) Received: from stoup.. ([2605:ef80:80f6:61fa:9bc2:5095:d612:5e22]) by smtp.gmail.com with ESMTPSA id y23-20020a056870b01700b0010ef8ccde67sm2285220oae.13.2022.08.16.13.34.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Aug 2022 13:34:15 -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=yKRYZfBF0l+lEmmYN5DIrDNWA9i7sub3taSvN/YUNdpHv7/vKzQ/HVvpRtH6itAhT6 GvImupfKf5Lxljl8tgVYL5wO4M5YN/QULYN9sOt08YmhPFqqdQe/n0aYnrPGccd01of6 hr34Zs7BZF3T0WCstrPZ/tQp+O9yCV2wN4YU0Zp0Wx1l+kv8LDc8mxW6OrFK+JHpeLSw mwtbA+QuQ7G6wPaanuk6knW/iD6yC4Ko21OzeTTtocEy2Sqn7l56Q+tMOc46s0IDSAM0 FVU2h7y6IGZ/0/SBR7sPXpWQ7XU0Xqx6xe8qWAGiCWtHSPjDr/2Wbu5X0dZ+SldVEUwg qirA== 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=Ftz3e7MFLDyKbASP0oPA7Odb6HMgKZninv8MQSiBjP02s6GWzemsv4HDwbejVbO811 wtGOMU1GuqNXk0I6FuBeAlaPykDlykH+VaUFnRPObxciMQOaRjX7bFGvvWaA9xOVLSqi CtolJWQwcPQIyGStnLPxAVaKajR5aPX6wqNrYCYQDYGCTgb5y9y3/c1lh2k48sm1tVCW BkNgDd2o0nRHhnmfQ0tppjFsUyI8p6dDTBO6yG2taywxYh9d/KHopHfutZucvK3ZqgUc RDvzdcXXgQ0dGd7u9lKEAIqJVLZHPOiHBqBDkmbkmmgBUbee911GgXJUutApnNTNhxsk nSXQ== X-Gm-Message-State: ACgBeo3GrTZRq9EUij5BEZpfgbfxeeQwLgsTKB+g1XqT3xH0m1BRAG/V JFfHi9pIo2PuNBZd5AF/QKejEAfjdCc1pw== X-Google-Smtp-Source: AA6agR791SFeiRG+lA2t2AelaxQt16u+R+sCuX/sEHDTjaxHuDUkj42fj2Z4/HxvBut4cHMp1KIsTA== X-Received: by 2002:a05:6870:8904:b0:113:a785:b09f with SMTP id i4-20020a056870890400b00113a785b09fmr159385oao.216.1660682055793; Tue, 16 Aug 2022 13:34:15 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, alex.bennee@linaro.org, iii@linux.ibm.com Subject: [PATCH v2 05/33] tests/tcg/i386: Move smc_code2 to an executable section Date: Tue, 16 Aug 2022 15:33:32 -0500 Message-Id: <20220816203400.161187-6-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220816203400.161187-1-richard.henderson@linaro.org> References: <20220816203400.161187-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2001:4860:4864:20::2b; envelope-from=richard.henderson@linaro.org; helo=mail-oa1-x2b.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=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1660682268970100001 Content-Type: text/plain; charset="utf-8" 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 --- tests/tcg/i386/test-i386.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[] =3D { 0xc3, /* ret */ }; =20 -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" --=20 2.34.1