[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [EXTERNAL] Re: [PATCH] hw/arm/sbsa-ref.c : Add a fake embedded contr
From: |
Peter Maydell |
Subject: |
Re: [EXTERNAL] Re: [PATCH] hw/arm/sbsa-ref.c : Add a fake embedded controller |
Date: |
Tue, 25 Aug 2020 11:33:38 +0100 |
On Tue, 25 Aug 2020 at 11:08, Graeme Gregory <graeme@nuviainc.com> wrote:
>
> On Mon, Aug 24, 2020 at 03:59:38PM +0100, Peter Maydell wrote:
> > > +enum sbsa_secure_ec_powerstates {
> > > + SBSA_SECURE_EC_CMD_NULL,
> > > + SBSA_SECURE_EC_CMD_POWEROFF,
> > > + SBSA_SECURE_EC_CMD_REBOOT,
> >
> > The last two are clear enough, but what's a null power state for?
> >
> My personal dislike of sending 0 to hardware as its harder to spot
> when using scopes/logic analyzers. I can remove it if you wish and
> explicitly number the states.
Yeah, just number the states 1 and 2 rather than having an
unused 0 named state, I think.
PS: when you respin make sure you're on top-of-git -- we just
landed the meson build system conversion, so the way you add
new source files is different (no more Makefile.objs, it goes
in the meson.build file in the relevant directory instead).
thanks
-- PMM
- [PATCH] hw/arm/sbsa-ref.c : Add a fake embedded controller, Graeme Gregory, 2020/08/20
- Re: [PATCH] hw/arm/sbsa-ref.c : Add a fake embedded controller, Graeme Gregory, 2020/08/20
- Re: [PATCH] hw/arm/sbsa-ref.c : Add a fake embedded controller, no-reply, 2020/08/20
- Re: [PATCH] hw/arm/sbsa-ref.c : Add a fake embedded controller, no-reply, 2020/08/20
- Re: hw/arm/sbsa-ref.c : Add a fake embedded controller, Leif Lindholm, 2020/08/21
- Re: [PATCH] hw/arm/sbsa-ref.c : Add a fake embedded controller, Philippe Mathieu-Daudé, 2020/08/21
- Re: [PATCH] hw/arm/sbsa-ref.c : Add a fake embedded controller, Peter Maydell, 2020/08/24