Am 15.12.2011 00:58, schrieb Benjamin Herrenschmidt:
> We rename the mach64 hack to "simple" since that's also applicable
> to anything using VGA-style DAC IO ports (set to 8-bit DAC) and we
> use it for qemu vga.
>
> Note that this is keyed on a device-tree "compatible" property that
> is current
On 15/12/11 12:37, Alexander Graf wrote:
>
> On 15.12.2011, at 02:27, Matt Evans wrote:
>
>> Heya Alex,
>>
>> On 13/12/11 19:23, Alexander Graf wrote:
>>>
>>> On 13.12.2011, at 08:00, Matt Evans wrote:
>>>
This patch adds a new arch directory, powerpc, basic file structure,
register
>
On 15.12.2011, at 02:27, Matt Evans wrote:
> Heya Alex,
>
> On 13/12/11 19:23, Alexander Graf wrote:
>>
>> On 13.12.2011, at 08:00, Matt Evans wrote:
>>
>>> This patch adds a new arch directory, powerpc, basic file structure,
>>> register
>>> setup and where necessary stubs out arch-specific
Heya Alex,
On 13/12/11 19:23, Alexander Graf wrote:
>
> On 13.12.2011, at 08:00, Matt Evans wrote:
>
>> This patch adds a new arch directory, powerpc, basic file structure, register
>> setup and where necessary stubs out arch-specific functions (e.g. interrupts,
>> runloop exits) that later pat
On 12/14/2011 06:00 PM, Benjamin Herrenschmidt wrote:
On Wed, 2011-12-14 at 15:48 -0600, Anthony Liguori wrote:
/* USB */
if (usb_enabled) {
usb_ohci_init_pci(QLIST_FIRST(&spapr->phbs)->host_state.bus, -1);
+ if (spapr_has_graphics) {
+ usbdevice_create("keyboard");
On Wed, 2011-12-14 at 15:48 -0600, Anthony Liguori wrote:
> > /* USB */
> > if (usb_enabled) {
> >
> usb_ohci_init_pci(QLIST_FIRST(&spapr->phbs)->host_state.bus, -1);
> > + if (spapr_has_graphics) {
> > + usbdevice_create("keyboard");
> > + usbdevice_create("mouse");
We rename the mach64 hack to "simple" since that's also applicable
to anything using VGA-style DAC IO ports (set to 8-bit DAC) and we
use it for qemu vga.
Note that this is keyed on a device-tree "compatible" property that
is currently only set by an upcoming version of SLOF when using the
qemu "p
>From 448820776363da565f221c020f4ccb3c610faec3 Mon Sep 17 00:00:00 2001
From: Benjamin Herrenschmidt
Date: Wed, 14 Dec 2011 16:52:02 +1100
Subject:
We used to try to request 8 times more vram than needed, which would
fail if the card has a too small BAR (observed with qemu).
Signed-off-by: Benj
On 12/14/2011 03:22 AM, Benjamin Herrenschmidt wrote:
The -vga option is a handy "high level" option for instanciating things
automatically. This adds support for it to the spapr (aka pseries)
machine.
Also instanciate the USB keyboard and mouse when that option is used
(you can still use -devic
On Wed, 2011-12-14 at 16:30 +0100, Paolo Bonzini wrote:
> On 12/14/2011 10:22 AM, Benjamin Herrenschmidt wrote:
> > of course you can use -device
> > to manually instanciate individual devices.
>
> That's true, however...
>
> > @@ -563,7 +568,9 @@ static void spapr_finalize_fdt(sPAPREnvironment *
On 12/14/2011 10:22 AM, Benjamin Herrenschmidt wrote:
of course you can use -device
to manually instanciate individual devices.
That's true, however...
@@ -563,7 +568,9 @@ static void spapr_finalize_fdt(sPAPREnvironment *spapr,
}
}
-spapr_populate_chosen_stdout(fdt, spapr
On Wed, 2011-12-14 at 23:01 +0800, bo kong wrote:
> It is lucky my machine boot normally, but I just do not know what is
> the vnc port of my machine, so I can't login my machine use vnc.
It should be printing the port information on one of the first lines
after starting the tool:
lappy kvm #
On 12/14/2011 06:50 PM, Alexander Graf wrote:
>
> On 14.12.2011, at 11:41, Benjamin Herrenschmidt wrote:
>
>> On Wed, 2011-12-14 at 12:30 +0200, Pekka Enberg wrote:
>>> Sure, I actually already applied this patch earlier today. I'd still
>>> be interested in pointers to relevant documentation bec
On Wed, 14 Dec 2011, Alexander Graf wrote:
The MMU isn't that hard to grasp. I would've said take a look at my
presentation from 2010:
http://www.linux-kvm.org/page/KVM_Forum_2010
but the video seems to have been removed since :(
Damn. Who could we ping to get them back up?
On Wed, 2011-12-14 at 12:30 +0200, Pekka Enberg wrote:
> Sure, I actually already applied this patch earlier today. I'd still
> be interested in pointers to relevant documentation because I'd love
> to have some understanding of the PPC architecture code.
The architecture documents are on power.o
On Wed, Dec 14, 2011 at 11:38 AM, Benjamin Herrenschmidt
wrote:
>> This looks nice and clean - but I don't really know PPC! Would you be
>> able to point me to some relevant documentation? Are there other PPC
>> folks out there that would be interested in taking a look at these
>> patches?
>
> I c
> This looks nice and clean - but I don't really know PPC! Would you be
> able to point me to some relevant documentation? Are there other PPC
> folks out there that would be interested in taking a look at these
> patches?
I can try to spend time having a look but I'd rather just trust Matt :-)
A
On Wed, 2011-12-14 at 08:35 +0200, Sasha Levin wrote:
>
> In that case, KVM_CAP_IOEVENTFD is simply not set, so we're better off
> checking the cap dynamically instead of having it defined statically
> in the makefile.
>
> I'll send a short patch that does that.
Indeed, and in general, even if i
The -vga option is a handy "high level" option for instanciating things
automatically. This adds support for it to the spapr (aka pseries)
machine.
Also instanciate the USB keyboard and mouse when that option is used
(you can still use -device to create individual devices without all
the defaults)
Signed-off-by: Benjamin Herrenschmidt
---
board-qemu/slof/Makefile|3 +-
board-qemu/slof/OF.fs | 47 +
board-qemu/slof/pci-device_1234_.fs | 288 +++
board-qemu/slof/tree.fs | 17 +--
4 files changed, 3
20 matches
Mail list logo