Re: [PATCH 2/2] drm/tiny: Add ofdrm for Open Firmware framebuffers

2022-05-18 Thread Mark Cave-Ayland
On 18/05/2022 19:30, Thomas Zimmermann wrote: Open Firmware provides basic display output via the 'display' node. DT platform code already provides a device that represents the node's framebuffer. Add a DRM driver for the device. The display mode and color format is pre-initialized by the

Shift overflow warnings in arch/powerpc/boot/addnote.c on 32-bit builds

2019-03-19 Thread Mark Cave-Ayland
Hi all, Whilst building the latest git master on my G4 I noticed the following shift overflow warnings in the build log for arch/powerpc/boot/addnote.c: arch/powerpc/boot/addnote.c: In function ‘main’: arch/powerpc/boot/addnote.c:75:47: warning: right shift count >= width of type

Re: Mac Mini G4 hang on boot with git master

2019-03-17 Thread Mark Cave-Ayland
On 17/03/2019 16:25, christophe leroy wrote: >> This was a weird one: bisecting directly from git master gave a nonsense >> result, >> however by manually rebasing Michael's PR onto my last known good commit >> from master >> I was able to finally pin it down to this commit: >> >> >>

Re: Mac Mini G4 hang on boot with git master

2019-03-17 Thread Mark Cave-Ayland
On 15/03/2019 13:37, Mark Cave-Ayland wrote: > Hi all, > > I've just done a git pull and rebuilt master on my Mac Mini G4 in order to > test > Michael's merge of my KVM PR fix, and unfortunately my kernel now hangs on > boot :( > > My last working git checkout was som

Mac Mini G4 hang on boot with git master

2019-03-15 Thread Mark Cave-Ayland
Hi all, I've just done a git pull and rebuilt master on my Mac Mini G4 in order to test Michael's merge of my KVM PR fix, and unfortunately my kernel now hangs on boot :( My last working git checkout was somewhere around the 5.0-rc stage, so I suspect it's something that's been merged for 5.1.

Re: [PATCH] powerpc: fix 32-bit KVM-PR lockup and panic with MacOS guest

2019-02-19 Thread Mark Cave-Ayland
On 19/02/2019 04:55, Michael Ellerman wrote: > Mark Cave-Ayland writes: >> On 11/02/2019 00:30, Benjamin Herrenschmidt wrote: >> >>> On Fri, 2019-02-08 at 14:51 +, Mark Cave-Ayland wrote: >>>> >>>> Indeed, but there are still some questions to

Re: [PATCH] powerpc: fix 32-bit KVM-PR lockup and panic with MacOS guest

2019-02-18 Thread Mark Cave-Ayland
On 19/02/2019 04:20, Michael Ellerman wrote: Hi Michael, > Mark Cave-Ayland writes: >> On 08/02/2019 14:45, Christophe Leroy wrote: >> >>> Le 08/02/2019 à 15:33, Mark Cave-Ayland a écrit : >>>> Commit 8792468da5e1 "powerpc: Add the abili

Re: [PATCH] powerpc: fix 32-bit KVM-PR lockup and panic with MacOS guest

2019-02-11 Thread Mark Cave-Ayland
On 11/02/2019 00:30, Benjamin Herrenschmidt wrote: > On Fri, 2019-02-08 at 14:51 +0000, Mark Cave-Ayland wrote: >> >> Indeed, but there are still some questions to be asked here: >> >> 1) Why were these bits removed from the original bitmask in the first place >&g

Re: [PATCH] powerpc: fix 32-bit KVM-PR lockup and panic with MacOS guest

2019-02-08 Thread Mark Cave-Ayland
On 08/02/2019 14:45, Christophe Leroy wrote: > Le 08/02/2019 à 15:33, Mark Cave-Ayland a écrit : >> Commit 8792468da5e1 "powerpc: Add the ability to save FPU without giving it >> up" > > Expected format for the above is: > > Commit 123456789abc ("text

[PATCH] powerpc: fix 32-bit KVM-PR lockup and panic with MacOS guest

2019-02-08 Thread Mark Cave-Ayland
these bits to the MSR bitmask to enable MacOS guests to run under 32-bit KVM-PR once again without issue. Signed-off-by: Mark Cave-Ayland --- arch/powerpc/kernel/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/proce

MSR_FE mask change broke KVM PR MacOS guest

2019-01-25 Thread Mark Cave-Ayland
Hi all, Referencing my bug report over on the kvm-ppc list at https://www.spinics.net/lists/kvm-ppc/msg14971.html, I've been experiencing a hard lockup and panic on a G4 Mac Mini when trying run MacOS X under KVM PR which I've bisected down to the following commit: $ git bisect bad