[virtio-dev] [PATCH v5] Add virtio rpmb device specification

2019-09-23 Thread Huang Yang
It is a virtio based RPMB (Replay Protected Memory Block) device. Signed-off-by: Yang Huang Reviewed-by: Bing Zhu Reviewed-by: Tomas Winkler v4 -> v5: 1. Add description on the mapping between block_count and virtio buffers. 2. Update "Driver Requirements: Device Operation". v3 -> v4: 1.

[virtio-dev] [PATCH v5] Add virtio rpmb device specification

2019-09-23 Thread Huang Yang
It is a virtio based RPMB (Replay Protected Memory Block) device. Signed-off-by: Yang Huang Reviewed-by: Bing Zhu Reviewed-by: Tomas Winkler v4 -> v5: 1. Add description on the mapping between block_count and virtio buffers. 2. Update "Driver Requirements: Device Operation". v3 -> v4: 1.

[virtio-dev] Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread Alexander Duyck
On Mon, Sep 23, 2019 at 8:46 AM David Hildenbrand wrote: > > On 23.09.19 17:37, Michael S. Tsirkin wrote: > > On Mon, Sep 23, 2019 at 08:28:00AM -0700, Alexander Duyck wrote: > >> On Mon, Sep 23, 2019 at 8:00 AM Michael S. Tsirkin wrote: > >>> > >>> On Mon, Sep 23, 2019 at 07:50:15AM -0700,

[virtio-dev] Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread David Hildenbrand
On 23.09.19 17:50, Michael S. Tsirkin wrote: > On Mon, Sep 23, 2019 at 05:47:24PM +0200, David Hildenbrand wrote: >> On 23.09.19 17:45, David Hildenbrand wrote: >>> On 23.09.19 17:37, Michael S. Tsirkin wrote: On Mon, Sep 23, 2019 at 08:28:00AM -0700, Alexander Duyck wrote: > On Mon, Sep

[virtio-dev] Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread Michael S. Tsirkin
On Mon, Sep 23, 2019 at 05:47:24PM +0200, David Hildenbrand wrote: > On 23.09.19 17:45, David Hildenbrand wrote: > > On 23.09.19 17:37, Michael S. Tsirkin wrote: > >> On Mon, Sep 23, 2019 at 08:28:00AM -0700, Alexander Duyck wrote: > >>> On Mon, Sep 23, 2019 at 8:00 AM Michael S. Tsirkin > >>>

[virtio-dev] Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread Michael S. Tsirkin
On Mon, Sep 23, 2019 at 05:45:29PM +0200, David Hildenbrand wrote: > On 23.09.19 17:37, Michael S. Tsirkin wrote: > > On Mon, Sep 23, 2019 at 08:28:00AM -0700, Alexander Duyck wrote: > >> On Mon, Sep 23, 2019 at 8:00 AM Michael S. Tsirkin wrote: > >>> > >>> On Mon, Sep 23, 2019 at 07:50:15AM

[virtio-dev] Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread David Hildenbrand
On 23.09.19 17:45, David Hildenbrand wrote: > On 23.09.19 17:37, Michael S. Tsirkin wrote: >> On Mon, Sep 23, 2019 at 08:28:00AM -0700, Alexander Duyck wrote: >>> On Mon, Sep 23, 2019 at 8:00 AM Michael S. Tsirkin wrote: On Mon, Sep 23, 2019 at 07:50:15AM -0700, Alexander Duyck wrote:

[virtio-dev] Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread David Hildenbrand
On 23.09.19 17:37, Michael S. Tsirkin wrote: > On Mon, Sep 23, 2019 at 08:28:00AM -0700, Alexander Duyck wrote: >> On Mon, Sep 23, 2019 at 8:00 AM Michael S. Tsirkin wrote: >>> >>> On Mon, Sep 23, 2019 at 07:50:15AM -0700, Alexander Duyck wrote: >> +static inline void >>

[virtio-dev] Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread Michael S. Tsirkin
On Mon, Sep 23, 2019 at 08:28:00AM -0700, Alexander Duyck wrote: > On Mon, Sep 23, 2019 at 8:00 AM Michael S. Tsirkin wrote: > > > > On Mon, Sep 23, 2019 at 07:50:15AM -0700, Alexander Duyck wrote: > > > > > +static inline void > > > > > +page_reporting_reset_boundary(struct zone *zone, unsigned

[virtio-dev] Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread Alexander Duyck
On Mon, Sep 23, 2019 at 8:00 AM Michael S. Tsirkin wrote: > > On Mon, Sep 23, 2019 at 07:50:15AM -0700, Alexander Duyck wrote: > > > > +static inline void > > > > +page_reporting_reset_boundary(struct zone *zone, unsigned int order, > > > > int mt) > > > > +{ > > > > + int index; > > > > + >

[virtio-dev] Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread Michael S. Tsirkin
On Mon, Sep 23, 2019 at 07:50:15AM -0700, Alexander Duyck wrote: > > > +static inline void > > > +page_reporting_reset_boundary(struct zone *zone, unsigned int order, int > > > mt) > > > +{ > > > + int index; > > > + > > > + if (order < PAGE_REPORTING_MIN_ORDER) > > > +

[virtio-dev] Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread Alexander Duyck
On Mon, Sep 23, 2019 at 1:16 AM Michael S. Tsirkin wrote: > > On Wed, Sep 18, 2019 at 10:52:49AM -0700, Alexander Duyck wrote: > > From: Alexander Duyck > > > > In order to pave the way for free page reporting in virtualized > > environments we will need a way to get pages out of the free lists

Re: [virtio-dev] [PATCH] [RFC RESEND] vdec: Add virtio video decode device specification

2019-09-23 Thread Gerd Hoffmann
Hi, > Our prototype implementation uses [4], which allows the virtio-vdec > device to use buffers allocated by virtio-gpu device. > [4] https://lkml.org/lkml/2019/9/12/157 Well. I think before even discussing the protocol details we need a reasonable plan for buffer handling. I think using

RE: [virtio-dev] RE: [PATCH v3] It is a virtio based RPMB (Replay Protected Memory Block) device.

2019-09-23 Thread Huang, Yang
> > > > + \newline\url{https://www.nvmexpress.org/wp-content/uploads/NVM_E > > > > + xpre > > > > + ss_Revision_1.3.pdf}\\ > > > > > > > > \end{longtable} > > > > > > > > > > At this stage I suggest we avoid nvme. Mix of LE and BE in the frame > > > is just too nasty. And ATM Linux only

[virtio-dev] Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread Michael S. Tsirkin
On Wed, Sep 18, 2019 at 10:52:49AM -0700, Alexander Duyck wrote: > From: Alexander Duyck > > In order to pave the way for free page reporting in virtualized > environments we will need a way to get pages out of the free lists and > identify those pages after they have been returned. To