From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.9 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B2F4BC433EF for ; Fri, 3 Sep 2021 20:57:54 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 73256610FB for ; Fri, 3 Sep 2021 20:57:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 73256610FB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:40484 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMGG1-0004Re-Mf for qemu-devel@archiver.kernel.org; Fri, 03 Sep 2021 16:57:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55644) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMG9F-0007wB-9L for qemu-devel@nongnu.org; Fri, 03 Sep 2021 16:50:55 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:44566) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mMG9A-0000IN-Ue for qemu-devel@nongnu.org; Fri, 03 Sep 2021 16:50:51 -0400 Received: by mail-wm1-x331.google.com with SMTP id l7-20020a1c2507000000b002e6be5d86b3so332102wml.3 for ; Fri, 03 Sep 2021 13:50:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=yepslUEHvjRRjLKdVvdi3rkpY9efahI4a2fz/vTn6zo=; b=Euo9+It8JqFOxFty8/PcgMF4vbgKDEBzjI2LOrYoIo1CoPGfa9a2XW/KXN8NqvsAHA xqWAiiLxgyG0IZgUKTdzVkguHhVEMcQyUaNWs+ptkc0AsareiOvNg7D5INFRIKWbvlfZ tnYHddqsaN8wN8NpVOdBg266nkRzRMG45OjXdKHrQPeW8+AWpuQ3VO5w6qu5DGWiR1Qt eukwl6p6WyeIQ1nEkt9Ne+q5S5MZ8G9vHTf6Jfs5SpFE8ngbYQbO09IXBc3nLsWeMDwt AM8g62JZLX3Ozrsgiukn3E1pRg64H4TPhK3aW81r+LCVHgWlL9vAhdksUm5k2iomh/HA 8fcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=yepslUEHvjRRjLKdVvdi3rkpY9efahI4a2fz/vTn6zo=; b=rFuE37sjcyRkevlskPq+8uZgDyn4uICFFhUjbiMRUa4k0f8X4wbOh3xyZlID296PNR cvjYVuk9X+QAz0aW3NYfacZfMZOUf+AhHwJVvCOvSbVwvCdglosl3vl85mE2SMysFe0u YUl7mh6SydDGpR0mfpPKyxUIJapDUZnUVszpwYTfqf2oepWKzlhhFOdHsPvcaIUNjp2i JrZanTlGAtTdjRbs86bzMU0qQYNxBshV7+g6OHwHWnTNCe3X9McwsgB/uuVfk91brVzr 1AgG5o+adYx7RaTZVcsr7k6NlYDUPdjIK8rnjp4M3rLVtRdD9b2ncza4740hMoFuWKTP 6DCQ== X-Gm-Message-State: AOAM532DH5M3ZC8Cp+bvk2VDDB08oCLF4WNTWbzEAWcIuTu4Y6b8WI/o LQNZeJqkNggWbLKGfoNpmVA88w== X-Google-Smtp-Source: ABdhPJzmfIc5AxFo7ZoehIQ3L6a3OS/2e3HXK5dNoY+eEKwy0JdySAUNP/uPGEvzYqNqOm9N9fLVuA== X-Received: by 2002:a1c:3542:: with SMTP id c63mr516907wma.68.1630702247474; Fri, 03 Sep 2021 13:50:47 -0700 (PDT) Received: from [192.168.8.107] (190.red-2-142-216.dynamicip.rima-tde.net. [2.142.216.190]) by smtp.gmail.com with ESMTPSA id o7sm319872wmc.46.2021.09.03.13.50.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 03 Sep 2021 13:50:47 -0700 (PDT) Subject: Re: [PATCH 08/24] target/avr: Restrict cpu_exec_interrupt() handler to sysemu To: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , qemu-devel@nongnu.org, Thomas Huth , Paolo Bonzini References: <20210902151715.383678-1-f4bug@amsat.org> <20210902151715.383678-9-f4bug@amsat.org> From: Richard Henderson Message-ID: Date: Fri, 3 Sep 2021 22:50:42 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=richard.henderson@linaro.org; helo=mail-wm1-x331.google.com X-Spam_score_int: -29 X-Spam_score: -3.0 X-Spam_bar: --- X-Spam_report: (-3.0 / 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=-0.888, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Bin Meng , Mark Cave-Ayland , Max Filippov , Alistair Francis , Warner Losh , Marek Vasut , Yoshinori Sato , Palmer Dabbelt , Artyom Tarasenko , Aleksandar Rikalo , Eduardo Habkost , Kyle Evans , Greg Kurz , qemu-arm@nongnu.org, Michael Rolnik , Stafford Horne , David Gibson , qemu-riscv@nongnu.org, Chris Wulff , Laurent Vivier , qemu-ppc@nongnu.org, Aurelien Jarno Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 9/3/21 10:47 PM, Philippe Mathieu-Daudé wrote: > On 9/3/21 9:12 PM, Richard Henderson wrote: >> On 9/2/21 5:16 PM, Philippe Mathieu-Daudé wrote: >>> Restrict cpu_exec_interrupt() and its callees to sysemu. >>> >>> Signed-off-by: Philippe Mathieu-Daudé >>> --- >>>   target/avr/cpu.h    | 2 ++ >>>   target/avr/cpu.c    | 2 +- >>>   target/avr/helper.c | 2 ++ >>>   3 files changed, 5 insertions(+), 1 deletion(-) >> >> Well, avr doesn't support user-only. So... probably any instance of >> CONFIG_USER_ONLY is already a mistake. > > Maybe we can rename the disassemblers[] array in meson.build as > arch_definitions[], and somehow (?) poison CONFIG_USER_ONLY on > targets where only sysemu is supported...? Seems like too much work for too little gain -- there aren't that many targets that only support sysemu. r~