From mboxrd@z Thu Jan 1 00:00:00 1970
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58771)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from
) id 1ZmKYe-0000ss-8d
for qemu-devel@nongnu.org; Wed, 14 Oct 2015 07:49:25 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1ZmKYa-0008Qu-Hv
for qemu-devel@nongnu.org; Wed, 14 Oct 2015 07:49:24 -0400
Received: from mailout3.w1.samsung.com ([210.118.77.13]:63767)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1ZmKYa-0008Pa-5q
for qemu-devel@nongnu.org; Wed, 14 Oct 2015 07:49:20 -0400
Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244])
by mailout3.w1.samsung.com
(Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5
2014)) with ESMTP id <0NW700KE2KU3XJB0@mailout3.w1.samsung.com> for
qemu-devel@nongnu.org; Wed, 14 Oct 2015 12:49:15 +0100 (BST)
From: Pavel Fedin
References:
<20151014112515-mutt-send-email-mst@redhat.com>
<00d201d1065c$c1f1eb30$45d5c190$@samsung.com>
<20151014133313-mutt-send-email-mst@redhat.com>
In-reply-to: <20151014133313-mutt-send-email-mst@redhat.com>
Date: Wed, 14 Oct 2015 14:49:14 +0300
Message-id: <013d01d10676$59b7cb60$0d276220$@samsung.com>
MIME-version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Content-language: ru
Subject: Re: [Qemu-devel] [PATCH v2 0/3] Make KVM/MSI code device-ID-aware
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
To: "'Michael S. Tsirkin'"
Cc: 'Peter Maydell' , qemu-devel@nongnu.org, 'Paolo Bonzini'
Hello!
> OK, so we could rename stream id to requester id. That at least would
> make sense at the pci level, and would make it unique per hierarchy.
Yes, we can, i'm fine with the rename. Additionally, "requester ID" is the official term used in GICv3 architecture manual. When i
implemented it i didn't have arch manual, therefore had to invent the name.
> But I suspect all these optimizations break later when we need to support
> multiple root complex devices.
Not necessarily. IIRC we have three bits used for other purposes in MemTxAttrs. So, we could extend our RID up to 24 bits and still
be fine. Even if we use 32 bits, our MemTxAttrs would still fit into register on 64-bit platforms, and into two registers on 32-bit
platforms. The same as MSIMessage (don't remember exact name).
Should i post v3, including the rename, or will you just rename stream_id to requester_id yourself?
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia