From nobody Tue Feb 10 03:56:05 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.221.45 as permitted sender) client-ip=209.85.221.45; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-f45.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.45 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1632695329; cv=none; d=zohomail.com; s=zohoarc; b=CrFdBCmkSE8t17ID0k3MERL+mbZrzzIJ06vWGxyITcVp3Yup+ksnZ7WGZA6RbRomxkzEhnKYgyJdNo7LxQrCgPhYPmcyNZLKoJ2ts6kBtvl26UZAzkGtK2ubbqeDIuzBGXAXseplIo/MqRHAXwpFwg4S5rxGmx7+qq8jaTMt50g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632695329; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=esdj4T8w87yQQx5q0gedYQmjf/1Q5yjrjrc7iKp6hio=; b=NufCGaW6qjal9zmY2rSfGBC8jaQsF19DQAg/mjOij7V2E9weHc9dRrThxXmjQ0FS2uhELjoCgw2SKe+asSpLgtKMvwqWF1Mzs7AJgHdwpz2uF33RnWfIFM00A6xuxCWhyjRiOYpEwHXzRLsDd6+Kq9gO+Ezjs8UTiAhjMLGYHOE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.45 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by mx.zohomail.com with SMTPS id 1632695329210552.3746727620509; Sun, 26 Sep 2021 15:28:49 -0700 (PDT) Received: by mail-wr1-f45.google.com with SMTP id r23so21138972wra.6 for ; Sun, 26 Sep 2021 15:28:48 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.. (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id s13sm1662078wmj.9.2021.09.26.15.28.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Sep 2021 15:28:47 -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=esdj4T8w87yQQx5q0gedYQmjf/1Q5yjrjrc7iKp6hio=; b=gecrH13smwausK6V/DRNlOKZbmEp+oD/ny+JaRb9x6yq/TnzLzeaZHdtY72VbzjON8 lQ/INtdnMpvrsgMt1OvO08AtW/m+FKdl2spCtUHhx7a9lxF4yEk2MgAqfJ74t7YzFj1S W5ej/+xsozSbzIUz9dMc7bE1RqhP1c3wdwtHB/qySit0KnNHupwHWo5P8L4OfC9Bx5K7 At0MO5lrzGWfHNIjK+22GR3ctTcwj6yVgClZ7MrNzJWPTxufoGp/iXlMHXH8uTr/Em+y ztDUidKAngVjtyHeLoyV8OoijnQINTlPqKgR495B1eJB7pTQnHiFPjlynSHnhFckKVKc +Mcg== 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=esdj4T8w87yQQx5q0gedYQmjf/1Q5yjrjrc7iKp6hio=; b=mmLIy/JH/grP/jT5JtvKZD+ghGa+NL/fwT/bngCbbT0/Z7T8OVUW3+fW1YTp2vv+5e mHE4gm6R3yLnIEKwU6gyYY1Y4EAZR5ogG5ie88urtXcXZhJQxgi5UjvpN05Su8rKLYQp 5bgWO8mUXAXkxotpmwvPbeD+nV2IFt2B+BB5d1u4iH861PqSepk4ljroad0VR06XCLHw zaKdqLgm5S17YcqYuLJz7c4/wVBcTF2O7Ow5C2iQA5+EyrzGv4BDUhX5YO5UA173qGUK 7wPzqZhRidhsw/Wx9XXSLDhijXulcVqUQG1GY9laYFjc8iUe6gNW9HJTcDFAbza6N0S2 uq7w== X-Gm-Message-State: AOAM530JLnBDqSf1tSWIsLUnZtUFUMH+bCafJLQaKTi1IUxQYzVu/UaI gLLN4McT4klKxdypQPyTEuM= X-Google-Smtp-Source: ABdhPJyaGp3Sv9/X7ahP5iTmqxA+OFRT3tiHR6pN+PNuyKHrUXPyeGrkWvyeWu05KZAKHqKPVWObig== X-Received: by 2002:adf:e983:: with SMTP id h3mr24750995wrm.231.1632695327463; Sun, 26 Sep 2021 15:28:47 -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: Richard Henderson , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v8 19/40] target/avr: Restrict has_work() handler to sysemu Date: Mon, 27 Sep 2021 00:26:55 +0200 Message-Id: <20210926222716.1732932-20-f4bug@amsat.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210926222716.1732932-1-f4bug@amsat.org> References: <20210926222716.1732932-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: 1632695330729100001 Restrict has_work() to sysemu. Reviewed-by: Richard Henderson Reviewed-by: Michael Rolnik 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