ChanServ changed the topic of #armlinux to: ARM kernel talk [Upstream kernel, find your vendor forums for questions about their kernels] | https://libera.irclog.whitequark.org/armlinux
jwerner has joined #armlinux
apritzel_ has quit [Ping timeout: 255 seconds]
lain6141 has quit [Read error: Connection reset by peer]
lain6141 has joined #armlinux
jclsn has quit [Ping timeout: 255 seconds]
jclsn has joined #armlinux
DubPirate562 has joined #armlinux
amitk has joined #armlinux
DubPirate562 has quit [Quit: Leaving]
hanetzer has quit [Ping timeout: 264 seconds]
hanetzer has joined #armlinux
heat has quit [Ping timeout: 268 seconds]
cbeznea has joined #armlinux
System_Error has quit [Remote host closed the connection]
System_Error has joined #armlinux
CrashTestDummy3 has joined #armlinux
CrashTestDummy has quit [Ping timeout: 246 seconds]
CrashTestDummy2 has joined #armlinux
CrashTestDummy3 has quit [Ping timeout: 255 seconds]
apritzel_ has joined #armlinux
CrashTestDummy3 has joined #armlinux
CrashTestDummy has joined #armlinux
CrashTestDummy2 has quit [Ping timeout: 272 seconds]
CrashTestDummy3 has quit [Ping timeout: 252 seconds]
CrashTestDummy2 has joined #armlinux
lain6141 has quit [Read error: Connection reset by peer]
apritzel_ has quit [Ping timeout: 272 seconds]
CrashTestDummy has quit [Ping timeout: 252 seconds]
CrashTestDummy3 has joined #armlinux
lain6141 has joined #armlinux
CrashTestDummy has joined #armlinux
CrashTestDummy2 has quit [Ping timeout: 272 seconds]
CrashTestDummy3 has quit [Ping timeout: 272 seconds]
CrashTestDummy2 has joined #armlinux
CrashTestDummy3 has joined #armlinux
CrashTestDummy has quit [Ping timeout: 246 seconds]
CrashTestDummy has joined #armlinux
CrashTestDummy2 has quit [Ping timeout: 246 seconds]
CrashTestDummy3 has quit [Ping timeout: 272 seconds]
CrashTestDummy has quit [Ping timeout: 246 seconds]
gclement has joined #armlinux
gclement has quit [Client Quit]
frieder has joined #armlinux
iivanov has joined #armlinux
gclement has joined #armlinux
Livio has joined #armlinux
atorgue__ has joined #armlinux
atorgue1 has quit [Read error: Connection reset by peer]
atorgue has quit [Read error: Connection reset by peer]
atorgue has joined #armlinux
atorgue1 has joined #armlinux
atorgue__ has quit [Read error: Connection reset by peer]
sszy has joined #armlinux
snuggeypart431 has joined #armlinux
snuggeypart431 has left #armlinux [#armlinux]
snuggeypart431 has joined #armlinux
<snuggeypart431> hello
hanetzer has quit [Ping timeout: 252 seconds]
snuggeypart431 has left #armlinux [#armlinux]
hanetzer has joined #armlinux
headless has joined #armlinux
iivanov has quit [Remote host closed the connection]
iivanov has joined #armlinux
prabhakalad has quit [Quit: Konversation terminated!]
prabhakalad has joined #armlinux
nsaenz has joined #armlinux
rvalue- has joined #armlinux
rvalue has quit [Ping timeout: 264 seconds]
rvalue- is now known as rvalue
Livio has quit [Ping timeout: 256 seconds]
Livio has joined #armlinux
nsaenz_ has joined #armlinux
nsaenz has quit [Ping timeout: 264 seconds]
headless has quit [Quit: Konversation terminated!]
CrashTestDummy has joined #armlinux
CrashTestDummy2 has joined #armlinux
CrashTestDummy has quit [Ping timeout: 256 seconds]
CrashTestDummy3 has joined #armlinux
apritzel has joined #armlinux
CrashTestDummy2 has quit [Ping timeout: 264 seconds]
CrashTestDummy3 has quit [Ping timeout: 256 seconds]
CrashTestDummy has joined #armlinux
CrashTestDummy has quit [Ping timeout: 252 seconds]
nsaenz_ has quit [Ping timeout: 256 seconds]
nsaenz has joined #armlinux
kwizart has joined #armlinux
luispm has quit [Ping timeout: 264 seconds]
<kwizart> Hello armlinux. I need some advice about older armhfp board for a mesa bug (with llvmpipe). Basically newer llvm has reversed the cpu feature logic so this need to be re-sorted
<kwizart> basically as soon as the CPU lacks neon, there are also others features that cannot be assumed. Best would be to have theses feature properly conditionalized
<kwizart> this is the mesa upstream ticket: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20766
<kwizart> thanks for any advices
Livio has quit [Ping timeout: 268 seconds]
Livio has joined #armlinux
dliviu has quit [Quit: Going away]
dliviu has joined #armlinux
<militantorc> hi
<robmur01> kwizart: Seems like that's an issue between Mesa and LLVM? If you're already able to detect the HWCAPS for the features that *are* present, then it's just a case of explicitly configuring the compiler to use those and only those
<robmur01> if you want to be portable, don't make any assumptions about how the distro/user/whoever may have configured a particular compiler's defaults
<militantorc> how do you do portable then? explicitly set all flags of gcc?
<militantorc> *whatever compile
<militantorc> *whatever compiler
<robmur01> all the ones relevant to the ISA and instruction/register selection, yes
<robmur01> you don't know if, say, "arm-none-eabi-gcc" alone is going to generate code for ARM926 or Cortex-A72
<kwizart> robmur01, thanks. right I'm currently trying to see if all features can be detected... so this would give something like this (no compile test/ desc update yet): https://paste.centos.org/view/4a125f10
<kwizart> I'm assuming -crypto is an aarch64 thing, so not relevant in #if DETECT_ARCH_ARM case
<robmur01> no, crypto exists in v8 AArch32 as well
<robmur01> (to an extent, at least)
<kwizart> Okay, so it means it works for me because my host triplet doesn't assumes crypto ?
<kwizart> (i'm doing native compilation on fedora, but I should meant target triplet)
dmart has joined #armlinux
<robmur01> well, it should really depend on NEON anyway. Plus I doubt llvmpipe does much that could use AES or SHA instructions in the first place :)
<kwizart> right
<kwizart> robmur01, there is already such mention for x86 like "buggy setup" qemu that would only expose crypto but not neon altough real arm CPU would never have such case.
<kwizart> not sure if there is a need to handle such case
<arnd> kwizart: I think it's reasonable to assume that the kernel correctly identifies the available features. If this is broken in qemu, it should be fixed in qemu, not in gallium
<robmur01> I mean in the compiler as well - if you tell it not to use NEON then logically it cannot use crypto instructions which operate on NEON registers either
<arnd> From what I see on the other architectures, you should have a line per feature like "MAttrs.push_back(util_get_cpu_caps()->has_neon ? "+neon" : "-neon");" to enable or disable it based on the CPU alone, with no check for preprocessor macros
<kwizart> arnd, sure. llvm/mesa "used not to" do much runtime detection beyound neon. Others features are likely to be assumed at build time (given the -march=armv7-a)
<kwizart> I think my bug was just that, fedora build with -march=armv7-a -fpu=vfp3-d16 but llvm would assumes vfp32 at runtime.
<arnd> kwizart: you have a corner case where mesa is built for ARMv5 softfloat, but you are running on an ARMv8/aarch32 with NEON, so you want llvmpipe to use the NEON instructions
<robmur01> Looks like Mesa's check_os_arm_support() could stand to be fleshed out for HWCAP_VFPD32 etc. as well
<arnd> same as how i386 binaries running on modern x86-64 hardware enable avx2
<kwizart> OK, so instead of pre-processors checks, the best way forward is runtime checks, even for arm
<arnd> yes
<arnd> the various options for FPU features make this is little complex, but it's still nor as bad as x86
psydroid2 has joined #armlinux
luispm has joined #armlinux
psydroid2 has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
<marc|gonzalez> hello arnd & robmur01 :)
<militantorc> is anyone good with android here
psydroid2 has joined #armlinux
<marc|gonzalez> militantorc: what SoC are you on? You might be better off in the SoC-specific channel
<militantorc> this is more a software based question than hardware
<militantorc> some qualcomm aarch64
<marc|gonzalez> OK. If no one answers here, you might try #linux-msm ?
<militantorc> what is msm
<marc|gonzalez> msm is the qcom arch
dliviu has quit [Quit: Going away]
dliviu has joined #armlinux
psydroid has quit [Ping timeout: 252 seconds]
psydroid has joined #armlinux
atorgue has quit [Quit: Leaving]
pivi has quit [Ping timeout: 252 seconds]
pivi has joined #armlinux
heat has joined #armlinux
psydroid2 has left #armlinux [No boundaries on the net!]
<militantorc> marc|gonzalez, thanks
frieder has quit [Ping timeout: 246 seconds]
MWelchUK has joined #armlinux
frieder has joined #armlinux
psydroid2 has joined #armlinux
vingu has quit [Quit: Leaving.]
vingu has joined #armlinux
vingu has quit [Client Quit]
vingu has joined #armlinux
iivanov has quit [Remote host closed the connection]
xdarklight has quit [Ping timeout: 264 seconds]
xdarklight has joined #armlinux
iivanov has joined #armlinux
gclement has quit [Ping timeout: 268 seconds]
iivanov has quit [Ping timeout: 246 seconds]
headless has joined #armlinux
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
gclement has joined #armlinux
lain6141 has quit [Read error: Connection reset by peer]
lain6141 has joined #armlinux
macromorgan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
iivanov has joined #armlinux
macromorgan has joined #armlinux
iivanov has quit [Ping timeout: 264 seconds]
iivanov has joined #armlinux
iivanov has quit [Ping timeout: 268 seconds]
macromorgan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
macromorgan has joined #armlinux
macromorgan has quit [Client Quit]
macromorgan has joined #armlinux
dmart has quit [Quit: leaving]
iivanov has joined #armlinux
luispm has quit [Quit: Leaving]
iivanov has quit [Ping timeout: 272 seconds]
gclement has quit [Ping timeout: 268 seconds]
gclement has joined #armlinux
iivanov has joined #armlinux
apritzel has quit [Ping timeout: 256 seconds]
iivanov has quit [Ping timeout: 255 seconds]
iivanov has joined #armlinux
alpernebbi has quit []
alpernebbi has joined #armlinux
iivanov has quit [Remote host closed the connection]
Livio has quit [Ping timeout: 268 seconds]
Livio has joined #armlinux
gclement has quit [Quit: Leaving.]
mkorpershoek has quit [Ping timeout: 260 seconds]
nathanchance has quit [Ping timeout: 260 seconds]
nathanchance has joined #armlinux
mkorpershoek has joined #armlinux
apritzel_ has joined #armlinux
iivanov has joined #armlinux
Livio has quit [Ping timeout: 264 seconds]
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
iivanov has quit []
nsaenz has quit [Ping timeout: 255 seconds]
prabhakalad has quit [Quit: Konversation terminated!]
psydroid2 has quit [Remote host closed the connection]
cbeznea has quit [Ping timeout: 264 seconds]
hanetzer has quit [Ping timeout: 264 seconds]
hanetzer has joined #armlinux
headless has quit [Quit: Konversation terminated!]
m5zs7k has quit [Ping timeout: 268 seconds]
m5zs7k has joined #armlinux
System_Error has quit [Remote host closed the connection]
System_Error has joined #armlinux
System_Error has quit [Remote host closed the connection]
System_Error has joined #armlinux