qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: David Kiarie <davidkiarie4@gmail.com>
To: Valentine Sinitsyn <valentine.sinitsyn@gmail.com>
Cc: QEMU Developers <qemu-devel@nongnu.org>,
	"J. Kiszka" <jan.kiszka@siemens.com>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Eduardo Habkost <ehabkost@redhat.com>,
	Peter Maydell <peter.maydell@linaro.org>
Subject: Re: [Qemu-devel] [V1 3/4] hw/acpi: report IOAPIC on IVRS
Date: Fri, 12 Aug 2016 23:23:31 +0300	[thread overview]
Message-ID: <CABdVeABpRLXUD7gkJvU_A1=hvep-o2Ly7stF0L4Ptk6YDxj2bw@mail.gmail.com> (raw)
In-Reply-To: <6f9e0cb7-19c9-84b4-07aa-546d28d2f875@gmail.com>

On Fri, Aug 12, 2016 at 11:14 PM, Valentine Sinitsyn <
valentine.sinitsyn@gmail.com> wrote:

> On 11.08.2016 00:42, David Kiarie wrote:
>
>> Report IOAPIC via IVRS which effectively allows linux AMD-Vi
>> driver to enable interrupt remapping
>>
>> Signed-off-by: David Kiarie <davidkiarie4@gmail.com>
>> ---
>>  hw/i386/acpi-build.c | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
>> index 49bd183..da602c3 100644
>> --- a/hw/i386/acpi-build.c
>> +++ b/hw/i386/acpi-build.c
>> @@ -2615,6 +2615,8 @@ build_amd_iommu(GArray *table_data, BIOSLinker
>> *linker)
>>       *   Refer to Spec - Table 95:IVHD Device Entry Type Codes(4-byte)
>>       */
>>      build_append_int_noprefix(table_data, 0x0000001, 4);
>> +    /* IOAPIC represented as an 8-byte entry. Spec v2.62 Tables 97 */
>> +    build_append_int_noprefix(table_data, 0x0100a000ff000048, 8);
>>
> Nit: bit 3 in DTE Setting is reserved (Table 97 in the spec), while you
> set them all with 0xff.


Noted, thanks!


>
>
>
>>      build_header(linker, table_data, (void *)(table_data->data +
>> iommu_start),
>>                   "IVRS", table_data->len - iommu_start, 1, NULL, NULL);
>>
>>
> Valentine
>
>

  reply	other threads:[~2016-08-12 20:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-10 19:42 [Qemu-devel] [V1 0/4] AMD-Vi Interrupt Remapping David Kiarie
2016-08-10 19:42 ` [Qemu-devel] [V1 1/4] hw/iommu: Prepare for AMD IOMMU interrupt remapping David Kiarie
2016-08-12 19:19   ` Valentine Sinitsyn
2016-08-10 19:42 ` [Qemu-devel] [V1 2/4] hw/iommu: " David Kiarie
2016-08-12 20:08   ` Valentine Sinitsyn
2016-08-12 20:30     ` David Kiarie
2016-08-10 19:42 ` [Qemu-devel] [V1 3/4] hw/acpi: report IOAPIC on IVRS David Kiarie
2016-08-12 20:14   ` Valentine Sinitsyn
2016-08-12 20:23     ` David Kiarie [this message]
2016-08-10 19:42 ` [Qemu-devel] [V1 4/4] hw/iommu: share common between IOMMUs David Kiarie
2016-08-10 19:46 ` [Qemu-devel] [V1 0/4] AMD-Vi Interrupt Remapping David Kiarie
2016-08-11  6:39 ` Valentine Sinitsyn
2016-08-11  8:07   ` David Kiarie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABdVeABpRLXUD7gkJvU_A1=hvep-o2Ly7stF0L4Ptk6YDxj2bw@mail.gmail.com' \
    --to=davidkiarie4@gmail.com \
    --cc=ehabkost@redhat.com \
    --cc=jan.kiszka@siemens.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=valentine.sinitsyn@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).