Re: [Qemu-devel] [PATCH 1/8] bcm2835_sbm: add BCM2835 mailboxes

2015-12-23 Thread Andrew Baumann
> From: Peter Crosthwaite [mailto:crosthwaitepe...@gmail.com] > Sent: Wednesday, 23 December 2015 15:59 > >>> Notice that this file comes from Linux. I know it's not pretty, but > > Where in Linux exactly? I am actually having trouble finding the > original source. Grepping around linux-next, ther

Re: [Qemu-devel] [PATCH 1/8] bcm2835_sbm: add BCM2835 mailboxes

2015-12-23 Thread Peter Crosthwaite
On Wed, Dec 23, 2015 at 12:32 PM, Paolo Bonzini wrote: > > > On 22/12/2015 00:33, Peter Crosthwaite wrote: >> >> case 0x80..0x8c >>> > >>> > Woah! Is that standard C? >>> > >> Yes, its probably one of the more recent language standards though. >> QEMU does use to more modern features lib

Re: [Qemu-devel] [PATCH 1/8] bcm2835_sbm: add BCM2835 mailboxes

2015-12-23 Thread Paolo Bonzini
On 22/12/2015 00:33, Peter Crosthwaite wrote: >>> >> >>> >> case 0x80..0x8c >> > >> > Woah! Is that standard C? >> > > Yes, its probably one of the more recent language standards though. > QEMU does use to more modern features liberally. It's actually "case 0x80 ... 0x8c:". >> Notice that this

Re: [Qemu-devel] [PATCH 1/8] bcm2835_sbm: add BCM2835 mailboxes

2015-12-22 Thread Grégory ESTRADE
Hi, The "sbm" is a typo. It was meant to be "smb": Semaphore MailBoxes... Sorry about that. Regards, Gregory On Tue, Dec 22, 2015 at 12:15 AM, Andrew Baumann < andrew.baum...@microsoft.com> wrote: > Hi Peter, > > Thanks for the review! > > > From: Peter Crosthwaite [mailto:crosthwaitepe...@gmail

Re: [Qemu-devel] [PATCH 1/8] bcm2835_sbm: add BCM2835 mailboxes

2015-12-22 Thread Grégory ESTRADE
Indeed, this header is generated from the Broadcom's Linux drivers headers, with a Perl script. On Tue, Dec 22, 2015 at 12:33 AM, Peter Crosthwaite < crosthwaitepe...@gmail.com> wrote: > On Mon, Dec 21, 2015 at 3:15 PM, Andrew Baumann > wrote: > > Hi Peter, > > > > Thanks for the review! > > > >

Re: [Qemu-devel] [PATCH 1/8] bcm2835_sbm: add BCM2835 mailboxes

2015-12-21 Thread Andrew Baumann
> From: Peter Crosthwaite [mailto:crosthwaitepe...@gmail.com] > Sent: Monday, 21 December 2015 15:33 > On Mon, Dec 21, 2015 at 3:15 PM, Andrew Baumann > wrote: > >> From: Peter Crosthwaite [mailto:crosthwaitepe...@gmail.com] > >> Sent: Monday, 21 December 2015 14:49 > >> On Thu, Dec 3, 2015 at 10:

Re: [Qemu-devel] [PATCH 1/8] bcm2835_sbm: add BCM2835 mailboxes

2015-12-21 Thread Peter Crosthwaite
On Mon, Dec 21, 2015 at 3:15 PM, Andrew Baumann wrote: > Hi Peter, > > Thanks for the review! > >> From: Peter Crosthwaite [mailto:crosthwaitepe...@gmail.com] >> Sent: Monday, 21 December 2015 14:49 >> On Thu, Dec 3, 2015 at 10:01 PM, Andrew Baumann >> wrote: >> > This adds the system mailboxes w

Re: [Qemu-devel] [PATCH 1/8] bcm2835_sbm: add BCM2835 mailboxes

2015-12-21 Thread Andrew Baumann
Hi Peter, Thanks for the review! > From: Peter Crosthwaite [mailto:crosthwaitepe...@gmail.com] > Sent: Monday, 21 December 2015 14:49 > On Thu, Dec 3, 2015 at 10:01 PM, Andrew Baumann > wrote: > > This adds the system mailboxes which are used to communicate with a > > number of GPU peripherals o

Re: [Qemu-devel] [PATCH 1/8] bcm2835_sbm: add BCM2835 mailboxes

2015-12-21 Thread Peter Crosthwaite
On Thu, Dec 3, 2015 at 10:01 PM, Andrew Baumann wrote: > This adds the system mailboxes which are used to communicate with a > number of GPU peripherals on Pi/Pi2. > > Signed-off-by: Andrew Baumann > --- > default-configs/arm-softmmu.mak | 1 + > hw/misc/Makefile.objs| 1

Re: [Qemu-devel] [PATCH 1/8] bcm2835_sbm: add BCM2835 mailboxes

2015-12-07 Thread Andrew Baumann
> From: Peter Crosthwaite [mailto:crosthwaitepe...@gmail.com] > Sent: Sunday, 6 December 2015 22:37 > On Thu, Dec 3, 2015 at 10:01 PM, Andrew Baumann > wrote: > > This adds the system mailboxes which are used to communicate with a > > number of GPU peripherals on Pi/Pi2. > > > > Are there any pub

Re: [Qemu-devel] [PATCH 1/8] bcm2835_sbm: add BCM2835 mailboxes

2015-12-06 Thread Peter Crosthwaite
On Thu, Dec 3, 2015 at 10:01 PM, Andrew Baumann wrote: > This adds the system mailboxes which are used to communicate with a > number of GPU peripherals on Pi/Pi2. > Are there any publically available specs for this? I found the peripheral manual which documents the interrupts controller but I co

[Qemu-devel] [PATCH 1/8] bcm2835_sbm: add BCM2835 mailboxes

2015-12-03 Thread Andrew Baumann
This adds the system mailboxes which are used to communicate with a number of GPU peripherals on Pi/Pi2. Signed-off-by: Andrew Baumann --- default-configs/arm-softmmu.mak | 1 + hw/misc/Makefile.objs| 1 + hw/misc/bcm2835_sbm.c| 280