[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [edk2] OVMF, Q35 and USB keyboard/mouse
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [edk2] OVMF, Q35 and USB keyboard/mouse |
Date: |
Mon, 22 Sep 2014 18:44:26 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
Il 22/09/2014 00:43, Laszlo Ersek ha scritto:
> // Bus 0, Device 1, Function 0 - PCI to ISA Bridge
> //
> PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x3c), 0x00);
> PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x60), 0x0b); // LNKA routing target
> PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x61), 0x0b); // LNKB routing target
> PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x62), 0x0a); // LNKC routing target
> PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x63), 0x0a); // LNKD routing target
>
> This is not appropriate for q35. See "ICH9 PCI to ISA irq remapping" in
> qemu's "q35-acpi-dsdt.dsl" file, vs. "PIIX PCI to ISA irq remapping" in
> "acpi-dsdt.dsl".
If I understand the DSDT right, the field is still at 0x60, but the
bridge is now at 1f.0. Right? Also, LNKE-LNKH must be set at 0x68.
However, these are only used if OS X runs in PIC mode rather than APIC
mode (see \_PIC). Why should OS X be running in PIC mode? So fixing
the above is right to do, but may not be enough.
Paolo
- Re: [Qemu-devel] OVMF, Q35 and USB keyboard/mouse, (continued)
- Re: [Qemu-devel] OVMF, Q35 and USB keyboard/mouse, Gabriel L. Somlo, 2014/09/15
- Re: [Qemu-devel] OVMF, Q35 and USB keyboard/mouse, Laszlo Ersek, 2014/09/15
- Re: [Qemu-devel] OVMF, Q35 and USB keyboard/mouse, Gabriel L. Somlo, 2014/09/15
- Re: [Qemu-devel] OVMF, Q35 and USB keyboard/mouse, Laszlo Ersek, 2014/09/15
- Re: [Qemu-devel] OVMF, Q35 and USB keyboard/mouse, Gabriel L. Somlo, 2014/09/15
- Re: [Qemu-devel] OVMF, Q35 and USB keyboard/mouse, BALATON Zoltan, 2014/09/15
- Re: [Qemu-devel] OVMF, Q35 and USB keyboard/mouse, Gerd Hoffmann, 2014/09/16
- Re: [Qemu-devel] OVMF, Q35 and USB keyboard/mouse, Gabriel L. Somlo, 2014/09/21
- Re: [Qemu-devel] OVMF, Q35 and USB keyboard/mouse, Gabriel L. Somlo, 2014/09/21
- Re: [Qemu-devel] OVMF, Q35 and USB keyboard/mouse, Laszlo Ersek, 2014/09/21
- Re: [Qemu-devel] [edk2] OVMF, Q35 and USB keyboard/mouse,
Paolo Bonzini <=
- Re: [Qemu-devel] [edk2] OVMF, Q35 and USB keyboard/mouse, Gabriel L. Somlo, 2014/09/22
- Re: [Qemu-devel] [edk2] OVMF, Q35 and USB keyboard/mouse, Laszlo Ersek, 2014/09/22
- Re: [Qemu-devel] [edk2] OVMF, Q35 and USB keyboard/mouse, Gabriel L. Somlo, 2014/09/24