All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Cc: qemu-devel@nongnu.org
Subject: Re: [PATCH for-8.0 0/2] hw/input/ps2: Convert to 3-phase reset
Date: Thu, 10 Nov 2022 11:22:07 +0000	[thread overview]
Message-ID: <CAFEAcA9RQzPMZkde=8Kfh09uxV9RC1rsb-UtEWPhcjj1Kf4e_A@mail.gmail.com> (raw)
In-Reply-To: <cfbb4196-90e2-bb1a-eb2f-c49465b58f04@ilande.co.uk>

On Thu, 10 Nov 2022 at 10:36, Mark Cave-Ayland
<mark.cave-ayland@ilande.co.uk> wrote:
> I haven't used the new ResettableClass myself previously, however it seems to match
> the excellent documentation at https://qemu.readthedocs.io/en/latest/devel/reset.html
> so feel free to add my Acked-by tag.
>
> One part that did stand out to me in the docs is the part that reads "For now
> migration of a device or bus in reset is not supported. Care must be taken not to
> delay resettable_release_reset() after its resettable_assert_reset() counterpart". Is
> this still a valid concern and something we need to think about? I'm thinking about
> if a guest triggers a SCSI bus or PCI bus reset for example.

That only matters if there's a way for the guest to hold the device
in reset, as opposed to resetting it as a point event. This is
theoretically possible to do with the new API, and was simply
impossible with the old API because with the old one reset was
always a one-shot point event.

thanks
-- PMM


  reply	other threads:[~2022-11-10 11:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-09 17:00 [PATCH for-8.0 0/2] hw/input/ps2: Convert to 3-phase reset Peter Maydell
2022-11-09 17:00 ` [PATCH for-8.0 1/2] hw/input/ps2: Convert TYPE_PS2_DEVICE " Peter Maydell
2022-11-09 22:34   ` Philippe Mathieu-Daudé
2022-11-10  5:36   ` Richard Henderson
2022-11-09 17:00 ` [PATCH for-8.0 2/2] hw/input/ps2.c: Convert TYPE_PS2_{KBD, MOUSE}_DEVICE " Peter Maydell
2022-11-10  5:38   ` Richard Henderson
2022-11-30 10:04   ` Philippe Mathieu-Daudé
2022-11-10 10:36 ` [PATCH for-8.0 0/2] hw/input/ps2: Convert " Mark Cave-Ayland
2022-11-10 11:22   ` Peter Maydell [this message]
2022-11-10 11:57     ` Mark Cave-Ayland
2022-12-16 16:03 ` Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFEAcA9RQzPMZkde=8Kfh09uxV9RC1rsb-UtEWPhcjj1Kf4e_A@mail.gmail.com' \
    --to=peter.maydell@linaro.org \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.