Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6A101C83F11 for ; Mon, 28 Aug 2023 18:37:57 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qah7b-0002vO-Us; Mon, 28 Aug 2023 14:37:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qah7B-0002UZ-S9 for qemu-riscv@nongnu.org; Mon, 28 Aug 2023 14:37:30 -0400 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qah77-0007Ep-UT for qemu-riscv@nongnu.org; Mon, 28 Aug 2023 14:37:29 -0400 Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1bdc19b782aso21495685ad.0 for ; Mon, 28 Aug 2023 11:37:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693247844; x=1693852644; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=W7pZrvp9fbXrVNM1HtEc7pE/SbfGUo9CUnGlwN+3xqc=; b=hm0QGH4+0gMsfcT/HaYb4hW04S9fIVU4cMWHARJB3Q+fqPkXrv1cZ0MH4tXePdh16s Ssmsu/5ShTvRD+U88PFV/7FmB5P7KCZd5/Ap2WiG6n3EJI+1mX0h7s0sxsAwVM6fpyGV NuorElxl3OdZ2fQqWs5YdYcYPM10f4aeC7ZJCgKUlAa1AQH1zIrlZVoPOqFOj3fyUQrd gadlaSyxGRjqAY5BNMSY+istnoHdcjH/DpA0N+XmI/ZZmZjzx/vX79+Hpbm//G+CHyai ei5J16YBauXa2LAvzrlWe8vYsQ8pMd4Wj453YJV2+vTs7HG6PPQDZn0muLtoOLqyqOIL RvVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693247844; x=1693852644; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=W7pZrvp9fbXrVNM1HtEc7pE/SbfGUo9CUnGlwN+3xqc=; b=eN2yAKDPWL6nDrl8OTmhS2HUzxW9jktLbg2wJotHsDuf2BTf+CU41GMhBVsdZ1rtzO yVuSpudecqf56hN0ItH/jwYw43Z23wB/RyqMSys0ChyFFVTKQmbBV2SiL0h2ieAqSnri myLcWKTxZ76xVFduUPik+YRrEnJmdSyUmCAYbDzj+5b+9fEWkniWVjUVXv8UJf7vdeSA 28QFxmVTC3yIFgn5WYobWRfidWuDcXK6xnyHBX1/MX07BLpspQtHg5B89omh+AgUqwK3 LGLfJCkQrcTo4hoI6ktvuKn3o6reFQIkWI6Bcza+JpW0VjJdiT+s4ueSXuR5EXf/tF/l MDFQ== X-Gm-Message-State: AOJu0YwasBVgW3AbmMujpnm35rUW158spjFji1OVT1Lvv4JY14t9UFm3 k2H4X8OMZ+fo8DsGx0aTtL+20SvI0MUwKRE305Q= X-Google-Smtp-Source: AGHT+IGu1iPOG9NRmkDCToyO6yOHk7Q9tcUX1x3hY7ZusRyW6rLbTg76+hNeXrk8IWIcQrzKAuGy8g== X-Received: by 2002:a17:903:244d:b0:1bc:10cf:50d8 with SMTP id l13-20020a170903244d00b001bc10cf50d8mr29434965pls.23.1693247844503; Mon, 28 Aug 2023 11:37:24 -0700 (PDT) Received: from [192.168.0.4] ([71.212.131.115]) by smtp.gmail.com with ESMTPSA id y11-20020a1709027c8b00b001b80d399730sm7699024pll.242.2023.08.28.11.37.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Aug 2023 11:37:24 -0700 (PDT) Message-ID: Date: Mon, 28 Aug 2023 11:37:22 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH 5/8] target/translate: Restrict 'exec/cpu_ldst.h' to user emulation Content-Language: en-US To: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, qemu-riscv@nongnu.org References: <20230828145545.81165-1-philmd@linaro.org> <20230828145545.81165-6-philmd@linaro.org> From: Richard Henderson In-Reply-To: <20230828145545.81165-6-philmd@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::629; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x629.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, NICE_REPLY_A=-2.169, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, SUSPICIOUS_RECIPS=2.51 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-riscv@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-riscv-bounces+qemu-riscv=archiver.kernel.org@nongnu.org Sender: qemu-riscv-bounces+qemu-riscv=archiver.kernel.org@nongnu.org On 8/28/23 07:55, Philippe Mathieu-Daudé wrote: > Only handle_sigsegv_accerr_write(), declared with user > emulation, requires "exec/cpu_ldst.h" (for the abi_ptr > typedef). > > Signed-off-by: Philippe Mathieu-Daudé > --- > include/exec/exec-all.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Richard Henderson r~