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=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no 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 7145CC433EF for ; Fri, 3 Sep 2021 10:27:03 +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 D866760F42 for ; Fri, 3 Sep 2021 10:27:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D866760F42 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]:57882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mM6PV-0000sZ-Mg for qemu-devel@archiver.kernel.org; Fri, 03 Sep 2021 06:27:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mM6OW-00085I-9r for qemu-devel@nongnu.org; Fri, 03 Sep 2021 06:26:00 -0400 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:38825) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mM6OT-0008Nk-6v for qemu-devel@nongnu.org; Fri, 03 Sep 2021 06:26:00 -0400 Received: by mail-wr1-x42d.google.com with SMTP id u16so7508562wrn.5 for ; Fri, 03 Sep 2021 03:25:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=c2F/8FjIh1byNcF/pA5a4AhRnqo/wZO+extLkysUXMw=; b=MWEWq0h+fW7GbyAX7xyghe9vFJ40WLsAPdUgWQzbC5lonUxl65bhmnQx5ANRLHBYYK vJyim9Wz+gBdLIrWrB1Tar72G9Yg/kEo+w+jiXycJh5fF1b9n/vehG9BsO0cvDt1sj6X kY6810J8c+NRGbSi3AF1g6bxXgomHubRjzx1FSbANxAIIqP57HCdCz47Cvurv+8Nybuu ovlk6TSmG+F1bel4Ug415yt3mq5KFXv6gomWfeCNANk7ArU37BYsUQFzlq0kck0ZfY4R NCfSBDPIbfJRxbXE5BjznVoDrQ0pFLTpOTyWgK8hbBqJmfuB+XQJKybjs7LO66S6bFFl D4TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=c2F/8FjIh1byNcF/pA5a4AhRnqo/wZO+extLkysUXMw=; b=UwOFXe7xnr8sqmTJuZcUgrPWFInlSz0xZUtGvT/mNBn/7Nzi2HUE6VmNP4fI1YVnhE quO61pdHYgzlwY1mPjKKW4DV/uH8+BjnpkE1Um9KSLUs6Vp6MoG+DGUiBgw4Iof2qGeW zwwCIZccBuSLeG0KD4FxX/h3qoQe5ovem7Nb4T6wrEt/x9PjMuZ5i6elyKOeyydR4lpD 4I6W5/VIkwll2qyWwcHmS5wDN60QcPn05NoTutU4rG2oQM1ee+U69OzT+dmKQAwBRQWK JxJ8Tq1DDtWN7Kl/D15EHNj3X2IjAqSohyx8/e3Rr1tWLMs5dElIUOEfA1zwwHvFMyXn 6zyw== X-Gm-Message-State: AOAM530iiKj8NoAN/fkGdcitwPa39YhX+b21dV1Iu2G+9covfTvwy0BS htlvFwnu2KdNbWVMB+2UGWQk3qt5FePJP6L11DNi9A== X-Google-Smtp-Source: ABdhPJxPURUi3PQPWAfvYqRCNmmqeB49yiTnklZ407IHb9l+b+LeZ5iyZ/qKQpuO10VvX6ZtX50GbYmKmETIVnwNHXs= X-Received: by 2002:a5d:4647:: with SMTP id j7mr3243687wrs.149.1630664753674; Fri, 03 Sep 2021 03:25:53 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Peter Maydell Date: Fri, 3 Sep 2021 11:25:05 +0100 Message-ID: Subject: =?UTF-8?Q?Re=3A_How_does_qemu_detect_the_completion_of_interrupt?= =?UTF-8?Q?_execution=EF=BC=9F?= To: Duo jia Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x42d.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 autolearn=ham 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: QEMU Developers Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Fri, 3 Sept 2021 at 09:33, Duo jia wrote: > > I understand the hardware=EF=BC=8Cbut How to achieve this function with q= emu=EF=BC=9F=EF=BC=8C > > For example, this interrupt is not allowed to be nested. When the new int= errupt comes, how can I detect that the interrupt is executing? That depends on the hardware. I can't answer unless you tell me what the hardware is and give me a URL for its specification or reference manual... -- PMM