Re: [kselftests/powerpc] Primitives test build failure with linux-next

2024-02-29 Thread Sachin Sant
> On 01-Mar-2024, at 3:48 AM, Michael Ellerman wrote: > > Sachin Sant writes: >> Powerpc specific selftests (specifically powerpc/primitives) included in >> linux-next >> tree fails to build with following error >> >> gcc -std=gnu99 -O2 -Wall -Wer

[kselftests/powerpc] Primitives test build failure with linux-next

2024-02-29 Thread Sachin Sant
Powerpc specific selftests (specifically powerpc/primitives) included in linux-next tree fails to build with following error gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"next-20240229-0-gf303a3e2bcfb-dirty"' -I/home/sachin/linux-next/tools/testing/selftests/powerpc/include -I/home/sachin/

Re: [PATCH 2/3] selftest/powerpc: Add flags.mk to support pmu buildable

2024-02-29 Thread Sachin Sant
s, CFLAGS and > GIT_VERSION macros are defined in the powerpc/ folder Makefile which > in this case not involved. > > To address the failure incase of executing specific sub-folder test directly, > a new rule file has been addded by the patch called "flags.mk" under &

Re: [RFC PATCH] selftest/powerpc: Add rule file to address sub-folder test fail

2024-02-27 Thread Sachin Sant
> On 25-Feb-2024, at 10:09 PM, Madhavan Srinivasan wrote: > > When running `make -C powerpc/pmu run_tests` from top level selftests > directory, currently this error is being reported > > make: Entering directory > '/home/maddy/linux/tools/testing/selftests/powerpc/pmu' > Makefile:40: warnin