From nobody Tue Feb 10 14:33:07 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.128.43 as permitted sender) client-ip=209.85.128.43; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-f43.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.43 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1631467704; cv=none; d=zohomail.com; s=zohoarc; b=bzdI8bplzuSktq247sudAffmvoDb8+UYlCmsbQIMOc1WbDKkr42YlEli85GHVYnR1wCqLQd7pkoVbq4gZKUBrVI18Y0QuJuZdIzpVs3QIMbrgxZna8teXvQt0MTvyAtUl6j62Jw9Ble4maIq1+tux718B9Et8N7pUm+lzQzQLs4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1631467704; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=GnKfjoq+otyiJmny5QHC7t7xnub0O32xM8y+f0O0Xns=; b=hFU9a0jbH/8Ighuieu+SAUHOci+Bd8g4N5VNTdMtGIE2bZZYwlV8qxz3Nd+413YLMlT5QPogoFJnLUd34iN/upZZE6N2YId9EH6UKe0mhub2Ot+mZGe74raIC+ZtAY2IiE+blZMNFdQjyTvAwboC+Sfw6imJ+q2Pn1S1SF/A6bE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.43 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by mx.zohomail.com with SMTPS id 1631467704119998.9312917989173; Sun, 12 Sep 2021 10:28:24 -0700 (PDT) Received: by mail-wm1-f43.google.com with SMTP id r128-20020a1c4486000000b003065f0bc631so583234wma.0 for ; Sun, 12 Sep 2021 10:28:23 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.. (21.red-83-52-55.dynamicip.rima-tde.net. [83.52.55.21]) by smtp.gmail.com with ESMTPSA id 129sm4622080wmz.26.2021.09.12.10.28.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Sep 2021 10:28:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GnKfjoq+otyiJmny5QHC7t7xnub0O32xM8y+f0O0Xns=; b=fvZ1raDWHNYEPHPuFsOUWYcKnAir3fmbXOYiWoV2B3kcccQ1ox2jIVUVV3yfMyvWyD E9e4T4+vMLesi+nZbYRKofmo+gYAaTGSVrIhAyLwK8VgV7ei1+bMLaf0dbjLgNr7lhAF cFYjyHSbWvKuYlXwE8pDUyxFK5G8qrXIMDxRkFq60AeU1+fnU4IdsDUs9wAWnCH5Rn1E xO7mnCApQun4+ZspwcoMd9Ugf7J7tF1+hsed/qkKx2YK1inl/p7L8pnG38RYt1iuLSo0 cN6Wst7UW0wzxyFfcX0jU0S9Afmz7yiSrtxI+yD4gk5qK95EKvjkTfxEeoZtvtsx+LNB RNFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=GnKfjoq+otyiJmny5QHC7t7xnub0O32xM8y+f0O0Xns=; b=IPg4FBjM0lbfzuSBZgFxVhdesncFTrc5sGsW0/zB5vxn4CtJuqK8XAxygZdhZOu9xQ dIMW6fB+5zD6P4Df9yONhsfEpyBaU+JFSncixcpTwHNWIHBI/agNyXd97fVZznbUGxhP FD2PFGEVhH2byCPieg6jEfTQDbcbbArxFt9ACDOMb1dgC2UNzjGt2PqVIIWblFjPJaq+ JHiHCtn8J2fVI39b54S9QbRj1ak9s0r1J4fmvsagG0N6KbZdsXuZoTtYsN/5fhToIw2+ jIQEoQ3sQFBJbm08zRqs/zrE58BzTjpnksTmn0dEPXlXiX+zSpDtLvzoIy3afsZIk7V6 rJNQ== X-Gm-Message-State: AOAM5309xL2vpX0Dho+3pD43og3aqaBdB/kwsTsMoVq/NQcRlccgLV0L hmyKp7mhM0V/2M0XKGALl3s= X-Google-Smtp-Source: ABdhPJxd2m/tBYqLU2IjQq7F1eibLzJWFITygbKLB1jlNJC7iRUjxN22RSZQkDwxFsda6+Yrtccszw== X-Received: by 2002:a1c:c913:: with SMTP id f19mr7478643wmb.86.1631467702370; Sun, 12 Sep 2021 10:28:22 -0700 (PDT) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: David Gibson , Richard Henderson , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v4 10/30] target/avr: Restrict has_work() handler to sysemu Date: Sun, 12 Sep 2021 19:27:11 +0200 Message-Id: <20210912172731.789788-11-f4bug@amsat.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210912172731.789788-1-f4bug@amsat.org> References: <20210912172731.789788-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1631467705633100001 Restrict has_work() to sysemu. Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- target/avr/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/avr/cpu.c b/target/avr/cpu.c index 5d70e34dd54..6d51f91ca2c 100644 --- a/target/avr/cpu.c +++ b/target/avr/cpu.c @@ -195,6 +195,7 @@ static const struct SysemuCPUOps avr_sysemu_ops =3D { static const struct TCGCPUOps avr_tcg_ops =3D { .initialize =3D avr_cpu_tcg_init, .synchronize_from_tb =3D avr_cpu_synchronize_from_tb, + .has_work =3D avr_cpu_has_work, .cpu_exec_interrupt =3D avr_cpu_exec_interrupt, .tlb_fill =3D avr_cpu_tlb_fill, .do_interrupt =3D avr_cpu_do_interrupt, @@ -211,7 +212,6 @@ static void avr_cpu_class_init(ObjectClass *oc, void *d= ata) =20 cc->class_by_name =3D avr_cpu_class_by_name; =20 - cc->has_work =3D avr_cpu_has_work; cc->dump_state =3D avr_cpu_dump_state; cc->set_pc =3D avr_cpu_set_pc; cc->memory_rw_debug =3D avr_cpu_memory_rw_debug; --=20 2.31.1