Re: [PATCH] bsps/raspberrypi: Add SEV instruction to Pi SMP

2021-08-06 Thread Joel Sherrill
On Fri, Aug 6, 2021 at 1:19 PM Pranav Dangi wrote: > > The Pi firmware added a wfe(wait for event) so now, the cores 1-3 wait > for the start address being written to the mailbox register, followed > by a SEV that acts as a poke to the mailbox, or in other words, a wfe > wake-up event. I've added

Re: [PATCH] bsps/raspberrypi: Add SEV instruction to Pi SMP

2021-08-06 Thread Pranav Dangi
The Pi firmware added a wfe(wait for event) so now, the cores 1-3 wait for the start address being written to the mailbox register, followed by a SEV that acts as a poke to the mailbox, or in other words, a wfe wake-up event. I've added the SEV correspondingly here. So, would 'Add SEV instruction'

Re: [PATCH] bsps/raspberrypi: Add SEV instruction to Pi SMP

2021-08-06 Thread Joel Sherrill
On Fri, Aug 6, 2021 at 5:11 AM pranav wrote: > > Add Send Event instruction to get the SMP working on the Pi. Patch > doesn't work for SMP on Pi 2 v1.1 > --- > bsps/arm/raspberrypi/include/bsp/irq.h | 1 + > bsps/arm/raspberrypi/start/bspsmp.c| 1 + > 2 files changed, 2 insertions(+) > > diff

[PATCH] bsps/raspberrypi: Add SEV instruction to Pi SMP

2021-08-06 Thread pranav
Add Send Event instruction to get the SMP working on the Pi. Patch doesn't work for SMP on Pi 2 v1.1 --- bsps/arm/raspberrypi/include/bsp/irq.h | 1 + bsps/arm/raspberrypi/start/bspsmp.c| 1 + 2 files changed, 2 insertions(+) diff --git a/bsps/arm/raspberrypi/include/bsp/irq.h b/bsps/arm/ras