OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

virtio-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [virtio-dev] Re: [virtio-comment] [PATCH v2] virtio-gpio: add formal specification


On 30-06-21, 17:55, Enrico Weigelt, metux IT consult wrote:
> On 30.06.21 17:22, Viresh Kumar wrote:
> > + All the people from previous version (Please cc them yourself while sending a
> > new version, these are the people interested in this stuff).

Adding them again, not sure why they got dropped after your email.

> Phuh, it's hard to track them all. I'm assuming everybody interested in
> this is already on the list or can easily subscribe :p

Not necessarily.

I don't expect others, specially the GPIO maintainers or Arnd, to have
subscribed to these lists (and many times people try to subscribe to
lists with no-email option, so their reply can reach to everyone,
while don't want unnecessary emails).

If you are using git to send emails, then an easy way out is to create
an alias for GPIO and have all the interested folks in cc.

It is important to keep few of the people in cc list here.

> > What happened to all the detailed discussions that we went through ? Why did we
> > spend so much time discussing all that when you didn't had to take suggestions
> > from the reviews provided on the list?
> 
> Which ones are missing, besides those that we talked about doing as
> optional feature (like irq controller, etc). Please let's do that in
> separate rounds - the minimal base spec first, and then add optional
> features.

You must have closed the discussion first in the previous version
itself in that case.

> > I don't see the improvements suggested for the config structure, nothing about
> > features, no interrupt support. You just reformatted the stuff and that's all.
> 
> Don't worry, I haven't forgotten that. But that's something I'd *really*
> like to have as optional features (so not all hardware is mandated to
> implement that all) and i'd like to get the mandatory base finished,
> before specifying the optional features like interrupt controller.
> 
> Let's discuss the optional features separately, feel free to share your
> thoughts here.

What about the changes to the config structure to make it efficient,
easily extendable, etc Or the Free Msg, etc? These views are already
shared in details for the earlier version and I shouldn't be expected
to explain them again.

Over that, if you don't want to implement interrupts in your version
(I can surely send a patch for that), then you need to drop the
half-hearted interrupt support, i.e.  VIRTIO_GPIO_MSG_DEVICE_LEVEL, as
that is not the right way of implementing interrupts. This will make
the specification as well as Linux or backend code messy, as we would
be required to support interrupts in two ways in this case based on
irq-feature. If you want to support interrupts, then you need to do
them properly, else don't add them at all.

Please reply to the issues raised in the previous version itself now
and close them there. And please don't proceed with a new version
unless there is a clear consensus in favor or otherwise. It just ends
up wasting a lot of time for everyone.

I asked for a new version today as I expected you to have made all the
changes based on suggestions, where you haven't had a last say.

-- 
viresh


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]