10:20karolherbst: is there a great way to check for the existence of a C++ member function with meson?
10:23karolherbst: guess I have to use compiles, because has_function doesn't seem to work for C++ member functions
10:24mceier: maybe has_member works also for C++
10:24karolherbst: mhhhh...
10:24karolherbst: worth a try
10:25karolherbst: error: invalid use of non-static member function :')
10:25mceier: ok
10:26karolherbst: one hack with has_function would be to do a `using namespace::class:member_function;` thing, but I think that's illegal
10:33mceier: how did you try has_member? meson tries to compile `void bar() { {typename} foo; foo.{member}; };` so you should use `function_name(args)` as a member instead of `function_name`
10:33karolherbst: mhhhhhh
10:34karolherbst: I guess?
10:34karolherbst: let's see...
10:35karolherbst: mceier: that seems to work
10:35mceier: cool :)
10:35karolherbst: I wonder what meson devs think of that :D
11:52karolherbst: I have a SPIR-V question. If you have a three component vector variable in the Input storage class, what's the expected behavior on out of bound reads?
11:52karolherbst: UB?
11:52karolherbst: defined as per environment spec?
12:37zmike: env spec yes
14:22sima: jfalempe, for the fancy qr code, maybe a text hint which qr reader will work would be good on the panic screen?
14:23sima: high-res qr code with full dmesg is great, but we need to make sure people can read it :-)
14:23karolherbst: put in a second QR code to download the qr code reader :P
14:23sima: qr codes all the way down
14:24sima: should make the ascii art tux a qr code too with a link to full res one :-P
14:24karolherbst: anyway, free qr code reader is such a big bikeshed, because try to find one which you can generally advise to use, which isn't a huge piracy violation like most of them :P
14:25karolherbst: *privacy
14:25sima: I thought the bigger issue was that default QR codes only encode like 200 bytes or so
14:26sima: and the high-res ones we need to put a good chunk of dmesg in it are a bit unusual
14:27emersion: we don't upload the dmesg to a pastebin yet?
14:27emersion: smh
14:28sima: if you can do that reliably from nmi context, I'll retire
14:29karolherbst: if network is down, just use the sound card to transmit data wireless, and if that doesn't work, there is probably also a CPU noise based exploit in the wild somewhere
14:29karolherbst: just needs an app to recieve the data
14:30sima: the problem with panic context is you get either lockless (as in try lockless, no retrying allowed) or raw_spin_trylock to synchronize with anything else
14:31sima: stuff like lockless list walks with the nmi safe rcu variant for updates
14:31sima: everything else is somewhere between undefined and "probably on fire"
14:32karolherbst: the proper solution to all those issues is of course, that we just compress the data with xz and then have our "DRM blue screen QR reader" app on the stores (1.4/5 stars best rated comment: "DRM is cancer")
14:33sima: I see the headline already
14:33sima: xz embedded payload to exploit the kernel through the drm panic handler
14:34karolherbst: owning an android device through a malicious drm panic handler QR code would indeed be impressive
14:36karolherbst: looks like the scanner app I have can read those version 40 QR codes
14:36karolherbst: soooo
14:36karolherbst: I think we are fine
14:37sima: oh I more meant a repeat of xz-utils vs openssh, except this time the kernel
14:37karolherbst: heh
14:42sima: agd5f, no -fixes pull this week or just not yet?
14:42karolherbst: anyway, the one I'm using is this one: https://gitlab.com/Atharok/BarcodeScanner
14:43sima: mripard, drm-misc-next isn't in linux-next, which is a bit bad at -rc6 :-/
14:43sima: also I guess explains why alice couldn't find the baseline for the drm-panic series from jfalempe
15:01karolherbst: do we have anything ready for formatless image store lowering?
15:03alyssa: karolherbst: don't think so since each hardware has different special cases they can do.. I think
15:04karolherbst: yeah.... I'm just mostly curious why every other driver I wired up rusticl, doesn't have the issue and v3d is the first one...
15:05alyssa: because adult hardware just fetches the format from the descriptor and does the hardware
15:05karolherbst: anyway, v3d seems like it needs the data properly packed, which is pretty annoying
15:05alyssa: ^does the fmt conversion in hw
15:05karolherbst: yeah...
15:05karolherbst: though nvidia didn't for a long time
15:09karolherbst: though looks like intel has some impressive lowering there
15:16mripard: sima: what?! we fixed it weeks ago
20:57sima: mripard, apparently it rebroke
20:57sima: maybe we should add a check to dim that rejects force-pushes for the linux-next branches?
20:57sima: or asks, with a hint that unless you're a maintainer you probably misplaced a patch
20:57sima: maybe this would catch this stuff ...