Re: [PATCH v2] m68k: Fix WARNING splat in pmac_zilog driver

2020-11-22 Thread Geert Uytterhoeven
On Sun, Nov 22, 2020 at 12:40 AM Finn Thain wrote: > Don't add platform resources that won't be used. This avoids a > recently-added warning from the driver core, that can show up on a > multi-platform kernel when !MACH_IS_MAC. > > [ cut here ] > WARNING: CPU: 0 PID: 0 at

linux-next: build failure in Linus' tree

2020-11-22 Thread Stephen Rothwell
Hi all, After merging most of the trees, today's linux-next build (powerpc64 allnoconfig) failed like this: In file included from arch/powerpc/include/asm/kup.h:18, from arch/powerpc/include/asm/uaccess.h:9, from include/linux/uaccess.h:11, from

Re: [PATCH v3 3/3] powerpc/64s: feature: Work around inline asm issues

2020-11-22 Thread Segher Boessenkool
On Mon, Nov 23, 2020 at 04:44:56PM +1100, Michael Ellerman wrote: > If I hard code: > > .org . - (1); > > It fails as expected. > > But if I hard code: > > .org . - (1 > 0); > > It builds? "true" (as a result of a comparison) in as is -1, not 1. Segher

Re: [PATCH v3 3/3] powerpc/64s: feature: Work around inline asm issues

2020-11-22 Thread Michael Ellerman
Hi Bill, Bill Wendling writes: > The clang toolchain treats inline assembly a bit differently than > straight assembly code. In particular, inline assembly doesn't have the > complete context available to resolve expressions. This is intentional > to avoid divergence in the resulting assembly

Re: Fwd: Petitboot for PS3

2020-11-22 Thread Geoff Levand
Hi Carlos, On 11/19/20 1:07 PM, Carlos Eduardo de Paula wrote: > I was able in the petitboot shell to set the timeout for booting an image by > using ps3-bl-options (that uses ps3-flash-util itself) but if I use these > utilities in my booted linux, I get "magic_num failed" error and can't do