From patchwork Tue Jun 7 20:45:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 579400 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:5806:0:0:0:0 with SMTP id j6csp5554432max; Tue, 7 Jun 2022 15:09:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKluO329cr8ZiZHWIHC/4VQyC7LCykyB16Q0cIqSQEsICVYEz6PC5IvsfS6gtKUmkG0H6V X-Received: by 2002:a05:622a:1207:b0:305:1a:ffa8 with SMTP id y7-20020a05622a120700b00305001affa8mr1115509qtx.654.1654639751891; Tue, 07 Jun 2022 15:09:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654639751; cv=none; d=google.com; s=arc-20160816; b=iz3yMl1mTv4alRY5mksrgRaLZXtJh7kllEplCbE861uUb/xexifSBEyEkniAI5l62u 4ZUpwPk+DxUQeypd1df+rav/0H9PLS4LT43LyuHrixA+5+0vbSnFBz+hBQgJBWbNz+nE p84slOWc+BefMzDl6WoT0qPbsUMAvNnVzEtS26KfjEkDE1WjYVle2gvhTAlltFvfMxxy n7wONxqhQekW2JrH9MGCMyFVW0o49XU73pplg+vSZ38SUZDdnqIpBboWsDHADqUBxY3T FlK1EeeYC91PqTGbgl/IM2g/OIRpm1rNbboT8cz79+NMnH/QAxQW6FY9jlviaGgubMIi RjtA== 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=cs+FpLBc0ayQh/IFdv2ROEUbtJo92UQIPCLnKIxQZ6k=; b=P83FSQY3hR0ndFnUDUKFx1R8OqfxD2F++4qUHRXepDeyH7raIB2qwdTofOLtmPubjh hruvtd2Am8S92wj/lH84bVjcB4e68fqxKJyML6qE7i240plBcC0jACu74jiURlSOK3ao KmRjphhtLgIFWbhmi/+Bku/P54kHYeOVO7OapIkO0ocZaW0Wk62fI9oqX9peMmwnOa0o H01Nsm9wYWU0VxqDDXdfHwzbYuXTzcLm6XzzAduo5ZhJnqnO2Z/ZUnbiw4ELhyYtOIh/ bQXcGV0sr8NBH6HYzt3wd0LHU4HH88ync3ubMQn0QqK6eOKsCPDmuKDlgd5U9Pqg+cGr 2z1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ntEBiMT7; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id bm34-20020a05620a19a200b006a6b54c0c8bsi4845160qkb.614.2022.06.07.15.09.11 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 Jun 2022 15:09:11 -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=ntEBiMT7; 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]:41594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyhNv-0003rC-G9 for patch@linaro.org; Tue, 07 Jun 2022 18:09:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyg5Z-00077L-LF for qemu-devel@nongnu.org; Tue, 07 Jun 2022 16:46:09 -0400 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]:40890) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nyg5U-0001JY-Qa for qemu-devel@nongnu.org; Tue, 07 Jun 2022 16:46:09 -0400 Received: by mail-pg1-x52c.google.com with SMTP id f65so6779229pgc.7 for ; Tue, 07 Jun 2022 13:46:04 -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=cs+FpLBc0ayQh/IFdv2ROEUbtJo92UQIPCLnKIxQZ6k=; b=ntEBiMT71L5CDVs0otSt3lsAjjuU8P/2cIbA99lmygx/p9nPzC4vd16KjHy+Vv0uv6 UZoLZ3NQxrwoD+eaxAqIjZd0nx2Dr0Z7T2OPCnWXJrAuU+GE37LCAzKn6+kFNO9dEuoa ff16gPLbjWWP71WIMf4ujr2A5/VxBZCkWab1SKoDEIMxdKTickTpehDCfXN98Q2SO3vW M44h+I4JzMtPDByyScWhiV85LD28CZJYHIjLFAv8nSHz+ymQTFWrAlL1pwvcRWDOKwzK hHkPR9Zz4amDioWWNcEjJVUif4V6s+cGsGLdIueN6ihOt0rTRB9P93SsOEO5Yz+lEC+R J6BA== 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=cs+FpLBc0ayQh/IFdv2ROEUbtJo92UQIPCLnKIxQZ6k=; b=z/WCzFvM2N79frEG29v/yj1x0sgFtXoW/5cZetUis45IiGhc/H5n+ANUckvRu6vVe1 rZkw8X1nWdnw7dqTHso1L16wnLAA0RmGZlpSPFw855UFNWxV3dXLaWGqyHj4tll3VzAF zyU7mHXJe8luvtl2/qQYHCEOlUSnnBTN3cyn4vNloxdZW9hj6HXIeM/7Ki4aRLT+eR8b 8Ac94LE4kLRTisOmVPwO0KMw5NdxqB8RshcD+ZMGm4GQNTXgIgBXwl7J9ZZuN80c8SbF x4vXhTNsF0MsfJVNQC1vNnT+i4+B6ksDKH/U4CdDUp3VGXiJbmLQ4zpJQA6Zwl4zB+FH R9JQ== X-Gm-Message-State: AOAM532ifUJQsUP05amPQ4uuTWdgN+zphd8Tvr9S0Ev6DHYbdpxNOvyp 3veQw4ariFipEh8x18WCr691TXpI4CKcBQ== X-Received: by 2002:a65:4c41:0:b0:3f5:cf9f:283b with SMTP id l1-20020a654c41000000b003f5cf9f283bmr27229206pgr.301.1654634763515; Tue, 07 Jun 2022 13:46:03 -0700 (PDT) Received: from stoup.. ([2602:ae:1547:e101:3cf2:c634:5b19:25f6]) by smtp.gmail.com with ESMTPSA id r6-20020a170902be0600b00162037fbacdsm12971279pls.187.2022.06.07.13.46.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 13:46:03 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v4 05/53] accel/stubs: Add tcg stub for probe_access_flags Date: Tue, 7 Jun 2022 13:45:09 -0700 Message-Id: <20220607204557.658541-6-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220607204557.658541-1-richard.henderson@linaro.org> References: <20220607204557.658541-1-richard.henderson@linaro.org> MIME-Version: 1.0 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Richard Henderson Reviewed-by: Luc Michel --- accel/stubs/tcg-stub.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/accel/stubs/tcg-stub.c b/accel/stubs/tcg-stub.c index ea4a0dd2fb..6ce8a34228 100644 --- a/accel/stubs/tcg-stub.c +++ b/accel/stubs/tcg-stub.c @@ -21,6 +21,13 @@ void tlb_set_dirty(CPUState *cpu, target_ulong vaddr) { } +int probe_access_flags(CPUArchState *env, target_ulong addr, + MMUAccessType access_type, int mmu_idx, + bool nonfault, void **phost, uintptr_t retaddr) +{ + g_assert_not_reached(); +} + void *probe_access(CPUArchState *env, target_ulong addr, int size, MMUAccessType access_type, int mmu_idx, uintptr_t retaddr) {