* [virtio-dev] Re: [char-misc-next 13/13] mei: virtio: virtualization frontend driver
[not found] ` <20200818115147.2567012-14-tomas.winkler@intel.com>
@ 2020-11-25 21:08 ` Michael S. Tsirkin
[not found] ` <7f6181d8e80d4efb9464e9ec436800b7@intel.com>
0 siblings, 1 reply; 4+ messages in thread
From: Michael S. Tsirkin @ 2020-11-25 21:08 UTC (permalink / raw)
To: Tomas Winkler
Cc: Greg Kroah-Hartman, Alexander Usyskin, linux-kernel, Wang Yu,
Liu Shuo, virtio-dev
On Tue, Aug 18, 2020 at 02:51:47PM +0300, Tomas Winkler wrote:
> +#ifndef VIRTIO_ID_MEI
> +#define VIRTIO_ID_MEI 0xFFFE /* virtio mei */
> +#endif
Just noticed now that this driver landed upstream. Can I ask that you
guys please register IDs with the virtio TC and not just pick a number
at random? In particular this is way outside allowed range.
IDs should also be listed in include/uapi/linux/virtio_ids.h
If people just pick random numbers like this collistions are unavoidable.
List of IDs is part of virtio spec, chapter "Device Types".
Please do this change now before this goes out to production!
Thanks!
--
MST
---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* [virtio-dev] Re: [char-misc-next 13/13] mei: virtio: virtualization frontend driver
[not found] ` <7f6181d8e80d4efb9464e9ec436800b7@intel.com>
@ 2020-11-26 9:58 ` Michael S. Tsirkin
2020-12-03 21:51 ` Michael S. Tsirkin
1 sibling, 0 replies; 4+ messages in thread
From: Michael S. Tsirkin @ 2020-11-26 9:58 UTC (permalink / raw)
To: Winkler, Tomas
Cc: Greg Kroah-Hartman, Usyskin, Alexander,
linux-kernel@vger.kernel.org, Wang, Yu1, Liu, Shuo A,
virtio-dev@lists.oasis-open.org
On Wed, Nov 25, 2020 at 09:18:04PM +0000, Winkler, Tomas wrote:
> >
> > On Tue, Aug 18, 2020 at 02:51:47PM +0300, Tomas Winkler wrote:
> > > +#ifndef VIRTIO_ID_MEI
> > > +#define VIRTIO_ID_MEI 0xFFFE /* virtio mei */ #endif
> >
> > Just noticed now that this driver landed upstream. Can I ask that you guys
> > please register IDs with the virtio TC and not just pick a number at random?
> > In particular this is way outside allowed range.
> >
> > IDs should also be listed in include/uapi/linux/virtio_ids.h
> >
> > If people just pick random numbers like this collistions are unavoidable.
> >
> > List of IDs is part of virtio spec, chapter "Device Types".
> >
> > Please do this change now before this goes out to production!
> Okay, this was assigned by ACRN, my impression was it's already registered.
> Will take care of.
> Thanks
> Tomas
Found this:
https://projectacrn.github.io/latest/developer-guides/hld/hld-virtio-devices.html
Supported Virtio Devices
All the BE virtio drivers are implemented using the ACRN virtio APIs, and the FE drivers are reusing the standard Linux FE virtio drivers. For the devices with FE drivers available in the Linux kernel, they should use standard virtio Vendor ID/Device ID and Subsystem Vendor ID/Subsystem Device ID. For other devices within ACRN, their temporary IDs are listed in the following table.
Table 5 Virtio Devices without existing FE drivers in Linux
virtio device Vendor ID Device ID Subvendor ID Subdevice ID
RPMB 0x8086 0x8601 0x8086 0xFFFF
HECI 0x8086 0x8602 0x8086 0xFFFE
audio 0x8086 0x8603 0x8086 0xFFFD
IPU 0x8086 0x8604 0x8086 0xFFFC
TSN/AVB 0x8086 0x8605 0x8086 0xFFFB
hyper_dmabuf 0x8086 0x8606 0x8086 0xFFFA
HDCP 0x8086 0x8607 0x8086 0xFFF9
COREU 0x8086 0x8608 0x8086 0xFFF8
I2C 0x8086 0x860a 0x8086 0xFFF6
GPIO 0x8086 0x8609 0x8086 0xFFF7
so IIUC what you are using is a temporary ID which is fine for
experimentation but not for production.
Note it does take a couple of weeks for a TC to vote on reserving an ID
so pls do not delay this too much.
--
MST
---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* [virtio-dev] Re: [char-misc-next 13/13] mei: virtio: virtualization frontend driver
[not found] ` <7f6181d8e80d4efb9464e9ec436800b7@intel.com>
2020-11-26 9:58 ` Michael S. Tsirkin
@ 2020-12-03 21:51 ` Michael S. Tsirkin
[not found] ` <X8lgSb9vB6UoJbVB@kroah.com>
1 sibling, 1 reply; 4+ messages in thread
From: Michael S. Tsirkin @ 2020-12-03 21:51 UTC (permalink / raw)
To: Winkler, Tomas
Cc: Greg Kroah-Hartman, Usyskin, Alexander,
linux-kernel@vger.kernel.org, Wang, Yu1, Liu, Shuo A,
virtio-dev@lists.oasis-open.org
On Wed, Nov 25, 2020 at 09:18:04PM +0000, Winkler, Tomas wrote:
> >
> > On Tue, Aug 18, 2020 at 02:51:47PM +0300, Tomas Winkler wrote:
> > > +#ifndef VIRTIO_ID_MEI
> > > +#define VIRTIO_ID_MEI 0xFFFE /* virtio mei */ #endif
> >
> > Just noticed now that this driver landed upstream. Can I ask that you guys
> > please register IDs with the virtio TC and not just pick a number at random?
> > In particular this is way outside allowed range.
> >
> > IDs should also be listed in include/uapi/linux/virtio_ids.h
> >
> > If people just pick random numbers like this collistions are unavoidable.
> >
> > List of IDs is part of virtio spec, chapter "Device Types".
> >
> > Please do this change now before this goes out to production!
> Okay, this was assigned by ACRN, my impression was it's already registered.
> Will take care of.
> Thanks
> Tomas
Well nothing happened yet.
I think at this point we really should revert this patch before Linux is
released so in the next version the correct ID can be used instead of a reserved one.
Otherwise Linux will be stuck supporting this forever and will conflict
with hypervisors using this for what this range is for which is
experimental use.
Greg, any opinion on that?
--
MST
---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* [virtio-dev] Re: [char-misc-next 13/13] mei: virtio: virtualization frontend driver
[not found] ` <X8lgSb9vB6UoJbVB@kroah.com>
@ 2020-12-05 19:40 ` Michael S. Tsirkin
0 siblings, 0 replies; 4+ messages in thread
From: Michael S. Tsirkin @ 2020-12-05 19:40 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Winkler, Tomas, Usyskin, Alexander, linux-kernel@vger.kernel.org,
Wang, Yu1, Liu, Shuo A, virtio-dev@lists.oasis-open.org
On Thu, Dec 03, 2020 at 11:01:45PM +0100, Greg Kroah-Hartman wrote:
> On Thu, Dec 03, 2020 at 04:51:10PM -0500, Michael S. Tsirkin wrote:
> > On Wed, Nov 25, 2020 at 09:18:04PM +0000, Winkler, Tomas wrote:
> > > >
> > > > On Tue, Aug 18, 2020 at 02:51:47PM +0300, Tomas Winkler wrote:
> > > > > +#ifndef VIRTIO_ID_MEI
> > > > > +#define VIRTIO_ID_MEI 0xFFFE /* virtio mei */ #endif
> > > >
> > > > Just noticed now that this driver landed upstream. Can I ask that you guys
> > > > please register IDs with the virtio TC and not just pick a number at random?
> > > > In particular this is way outside allowed range.
> > > >
> > > > IDs should also be listed in include/uapi/linux/virtio_ids.h
> > > >
> > > > If people just pick random numbers like this collistions are unavoidable.
> > > >
> > > > List of IDs is part of virtio spec, chapter "Device Types".
> > > >
> > > > Please do this change now before this goes out to production!
> > > Okay, this was assigned by ACRN, my impression was it's already registered.
> > > Will take care of.
> > > Thanks
> > > Tomas
> >
> > Well nothing happened yet.
> >
> > I think at this point we really should revert this patch before Linux is
> > released so in the next version the correct ID can be used instead of a reserved one.
> > Otherwise Linux will be stuck supporting this forever and will conflict
> > with hypervisors using this for what this range is for which is
> > experimental use.
> >
> > Greg, any opinion on that?
>
> I will be glad to revert it, what's the git commit id?
commit d162219c655c8cf8003128a13840d6c1e183fb80
Author: Tomas Winkler <tomas.winkler@intel.com>
Date: Tue Aug 18 14:51:47 2020 +0300
mei: virtio: virtualization frontend driver
I sent a revert on list in case it makes things easier,
but it's just a result of a plain git revert,
build-tested.
> thanks,
>
> greg k-h
---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-12-05 19:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20200818115147.2567012-1-tomas.winkler@intel.com>
[not found] ` <20200818115147.2567012-14-tomas.winkler@intel.com>
2020-11-25 21:08 ` [virtio-dev] Re: [char-misc-next 13/13] mei: virtio: virtualization frontend driver Michael S. Tsirkin
[not found] ` <7f6181d8e80d4efb9464e9ec436800b7@intel.com>
2020-11-26 9:58 ` Michael S. Tsirkin
2020-12-03 21:51 ` Michael S. Tsirkin
[not found] ` <X8lgSb9vB6UoJbVB@kroah.com>
2020-12-05 19:40 ` Michael S. Tsirkin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox