2022-11-27
00:00capta1nt0ad has quit [Quit: Konversation terminated!]
00:01capta1nt0ad has joined #asahi-dev
00:05capta1nt0ad has quit [Remote host closed the connection]
00:08capta1nt0ad has joined #asahi-dev
00:12capta1nt0ad has quit []
00:29capta1nt0ad has joined #asahi-dev
00:30capta1nt0ad has quit [Remote host closed the connection]
00:53gff_ has quit [Read error: Connection reset by peer]
00:54gff_ has joined #asahi-dev
01:01theKH has joined #asahi-dev
01:42theKH has quit [Ping timeout: 480 seconds]
01:43weitcis has joined #asahi-dev
01:51weitcis has quit [Ping timeout: 480 seconds]
01:52theKH has joined #asahi-dev
01:55theKH has quit [Remote host closed the connection]
01:55theKH has joined #asahi-dev
02:08theKH has quit [Ping timeout: 480 seconds]
02:14theKH has joined #asahi-dev
02:17theKH has quit [Remote host closed the connection]
02:17theKH has joined #asahi-dev
02:55theKH has quit [Ping timeout: 480 seconds]
03:24gff_ has quit [Read error: Connection reset by peer]
03:25gff_ has joined #asahi-dev
03:49cynthia has quit [Server closed connection]
03:49cynthia has joined #asahi-dev
03:50fmstrat has quit [Server closed connection]
03:50fmstrat has joined #asahi-dev
03:54_whitelogger has joined #asahi-dev
03:55nirya has quit [Server closed connection]
03:55nirya has joined #asahi-dev
03:57TheLink has quit [Server closed connection]
03:57TheLink has joined #asahi-dev
04:01cy8aer has quit [Server closed connection]
04:02cy8aer has joined #asahi-dev
04:02foxtrot has quit [Server closed connection]
04:03Method_ has quit [Server closed connection]
04:04foxtrot has joined #asahi-dev
04:04Method has joined #asahi-dev
04:05ChaosPrincess has quit [Server closed connection]
04:05ChaosPrincess has joined #asahi-dev
04:06Gaelan has quit [Server closed connection]
04:06Gaelan has joined #asahi-dev
04:09lewurm_ has quit [Server closed connection]
04:09jix__ has quit [Server closed connection]
04:09lewurm_ has joined #asahi-dev
04:10jix__ has joined #asahi-dev
04:10nico_32_ has quit [Server closed connection]
04:11nico_32 has joined #asahi-dev
04:12phire has quit [Server closed connection]
04:12phire has joined #asahi-dev
04:13null has quit [Server closed connection]
04:14chadmed has quit [Server closed connection]
04:14chadmed has joined #asahi-dev
04:14null has joined #asahi-dev
04:14esden has quit [Server closed connection]
04:15esden has joined #asahi-dev
04:15null is now known as Guest29
04:15robher has quit [Server closed connection]
04:15robher has joined #asahi-dev
04:20Tramtrist has quit [Server closed connection]
04:21Tramtrist has joined #asahi-dev
04:21rmk has quit [Server closed connection]
04:21rmk has joined #asahi-dev
04:28flying_sausages_ has quit [Server closed connection]
04:29flying_sausages has joined #asahi-dev
04:35balrog has quit [Server closed connection]
04:36mattgirv has quit [Server closed connection]
04:36mattgirv has joined #asahi-dev
04:38balrog has joined #asahi-dev
04:38winter has quit [Server closed connection]
04:39winter has joined #asahi-dev
04:42khilman has quit [Server closed connection]
04:42khilman has joined #asahi-dev
04:49johey has quit [Server closed connection]
04:50johey has joined #asahi-dev
04:51cylm has joined #asahi-dev
04:53kit_ty_kate has quit [Server closed connection]
04:53jonmasters_ has quit [Server closed connection]
04:53jonmasters_ has joined #asahi-dev
04:53kit_ty_kate has joined #asahi-dev
04:54_alice has quit [Server closed connection]
04:54_alice has joined #asahi-dev
04:54cylm_ has joined #asahi-dev
04:55liszt has quit [Server closed connection]
04:55liszt has joined #asahi-dev
04:55arekm has quit [Server closed connection]
04:55arekm has joined #asahi-dev
04:56jbowen has quit [Server closed connection]
04:56jbowen has joined #asahi-dev
04:57qyousef has quit [Server closed connection]
04:57qyousef has joined #asahi-dev
05:00Puto has quit [Server closed connection]
05:00Puto has joined #asahi-dev
05:01cylm has quit [Ping timeout: 480 seconds]
05:06austriancoder has quit [Server closed connection]
05:06austriancoder has joined #asahi-dev
05:18msteffen has quit [Server closed connection]
05:18msteffen has joined #asahi-dev
05:19XeR has quit [Server closed connection]
05:19XeR has joined #asahi-dev
05:20daniels has quit [Server closed connection]
05:20daniels has joined #asahi-dev
05:36Avaflow has quit [Server closed connection]
05:36Avaflow has joined #asahi-dev
05:37psanford has quit [Server closed connection]
05:37psanford has joined #asahi-dev
05:43n1c has quit [Server closed connection]
05:43n1c has joined #asahi-dev
05:47kevans91 has quit [Server closed connection]
05:48kevans91 has joined #asahi-dev
06:01tired has quit [Server closed connection]
06:01tired has joined #asahi-dev
06:03VinDuv has quit [Server closed connection]
06:03VinDuv has joined #asahi-dev
06:05Swiftloke has quit [Server closed connection]
06:07Swiftloke has joined #asahi-dev
06:09refi64 has quit [Server closed connection]
06:09refi64 has joined #asahi-dev
06:16JTL has quit [Server closed connection]
06:16JTL has joined #asahi-dev
06:28yuyichao has quit [Server closed connection]
06:28yuyichao has joined #asahi-dev
06:32gtk2 has quit [Server closed connection]
06:33gtk2 has joined #asahi-dev
06:33princesszoey has quit [Server closed connection]
06:33steffen[m] has quit [Server closed connection]
06:33steffen[m] has joined #asahi-dev
06:34princesszoey has joined #asahi-dev
06:35nuup has quit [Server closed connection]
06:36nuup has joined #asahi-dev
06:38akemin_dayo has quit [Server closed connection]
06:38akemin_dayo has joined #asahi-dev
06:40vivithecanine has quit [Server closed connection]
06:40vivithecanine has joined #asahi-dev
06:41tumblingweed has quit [Server closed connection]
06:42tumblingweed has joined #asahi-dev
07:00arnd has quit [Server closed connection]
07:00arnd has joined #asahi-dev
07:02gladiac has quit [Quit: k thx bye]
07:13turo has quit [Server closed connection]
07:13turo has joined #asahi-dev
07:13Graypup_ has quit [Server closed connection]
07:13Graypup_ has joined #asahi-dev
07:47Retr0id has quit [Server closed connection]
07:47Retr0id has joined #asahi-dev
07:51leitao has joined #asahi-dev
07:53SSJ_GZ has joined #asahi-dev
07:56djorz has quit [Server closed connection]
07:58jluthra has quit [Server closed connection]
07:58maximbaz has quit [Server closed connection]
07:58maximbaz has joined #asahi-dev
07:58jluthra has joined #asahi-dev
08:00leitao has quit [Ping timeout: 480 seconds]
08:13_jannau_ has quit [Server closed connection]
08:14_jannau_ has joined #asahi-dev
08:20ah- has quit [Server closed connection]
08:20ah- has joined #asahi-dev
08:24tanty has quit [Server closed connection]
08:24tanty has joined #asahi-dev
09:03chadmeds2idle is borked on tas2764. the same four codecs every single time fail on regcache_sync()
09:20jannausigh, backlight brightness nits to dac mapping looks logarithmic but my fitted logarithm has an oscillating error in both directions
10:15chadmed_ has joined #asahi-dev
10:19leitao has joined #asahi-dev
10:27leitao has quit [Ping timeout: 480 seconds]
10:58gladiac has joined #asahi-dev
10:58chadmed_ has quit [Read error: No route to host]
11:03chadmed_ has joined #asahi-dev
11:30chadmed_it looks like the chips just disappear off the bus. the regcache sync fails with -ENXIO, and tas2764->sdz_gpio doesnt exist upon resume...
11:33cylm_ has quit [Quit: WeeChat 3.6]
11:52leitao has joined #asahi-dev
11:52jannaupovik: have you done any fixups for "m1n1.adt: Parse 'segment-ranges' of coprocessor nodes"? it seems to break HV boot due to what appears an adt parse problem for pmgr
12:02leitao has quit [Ping timeout: 480 seconds]
12:23povikchadmed_: that's a known issue due to not properly handling the reset gpio line being shared between codecs
12:24povikso the first codec in probe wins in obtaining the gpio reference, others on the same line fail (but that's ok, since the gpio is optional)
12:25povikthat works out during boot, since the first codec to probe pulls down the reset line for all
12:30povikthere either needs to be a bit of logic that pulls SDZ low after all codecs agree on it (like is done elsewhere in kernel in dealing with shared resets)
12:33chadmed_aiui asoc spawns a tas2764 driver for each codec, so option 1 (the good option) would be quite hard
12:33chadmed_but sw shutdown quiescent current is 10x hw shutdown on two voltage rails so we really should get it working properly
12:35povikthere's been proposals on the list to create a reset controller representation out of such gpios
12:38chadmed_we have the benefit of not officially supporting speakers yet (and probably for a while given we havent even started working on userspace safety) so theres time to work it out
12:38axt_ has joined #asahi-dev
12:42axt_ has quit []
12:43povikthe issue is that SDZ is currently raised in probe of codec as a sound card component, but probably no issue in changing it for consistence
12:44chadmed_so have like a tas2764_hw_{suspend,resume} that deals with the chip and then use the asoc suspend/resume just to save and restore the regs?
13:04lawrence has joined #asahi-dev
13:13chadmed_ has quit [Remote host closed the connection]
13:16chadmed_ has joined #asahi-dev
13:18chadmed_ has quit [Remote host closed the connection]
13:20chadmed_ has joined #asahi-dev
13:38roxfan has quit [Ping timeout: 480 seconds]
13:40chadmed_ has quit [Remote host closed the connection]
13:46compassion has quit [Quit: lounge quit]
13:48compassion has joined #asahi-dev
13:48joske has joined #asahi-dev
13:50___nick___ has joined #asahi-dev
13:50___nick___ has quit []
13:51kujeger has quit [Quit: ZNC 1.8.2 - https://znc.in]
13:52___nick___ has joined #asahi-dev
13:54joske has quit [Quit: Leaving]
13:55leitao has joined #asahi-dev
13:56joske has joined #asahi-dev
14:01compassion has quit [Quit: lounge quit]
14:01compassion has joined #asahi-dev
14:02compassion has quit []
14:03compassion has joined #asahi-dev
14:03leitao has quit [Ping timeout: 480 seconds]
14:16joske has quit [Remote host closed the connection]
14:19joske has joined #asahi-dev
14:31joske has quit [Remote host closed the connection]
14:33joske has joined #asahi-dev
14:40zalyx has quit [Quit: later alligator]
14:40zalyx has joined #asahi-dev
14:45joske has quit [Quit: Leaving]
14:52eiln has joined #asahi-dev
15:31roxfan has joined #asahi-dev
15:40hir0pro has joined #asahi-dev
15:55eiln has quit [Remote host closed the connection]
15:56leitao has joined #asahi-dev
16:04hir0pro has quit [Quit: hir0pro]
16:05leitao has quit [Ping timeout: 480 seconds]
16:08eiln has joined #asahi-dev
16:09eiln has quit []
16:12svenyou can also coerce/train most ML models with 16bit precision and still get decent performance fwiw
17:13hir0pro has joined #asahi-dev
17:51svenduh, I think I just realized how to fix that dwc3 race: just create a local copy of dr_desired_role inside the spinlock at the beginning of __dwc3_set_mode
17:58leitao has joined #asahi-dev
17:59leitao has quit [Read error: No route to host]
18:04hir0pro has quit [Quit: hir0pro]
18:05cylm has joined #asahi-dev
18:26poviknot sure if this should be fixed but i seem to 've hit an infinite loop in apple_dart_setup_resv_locked reserving a region (in DT) which is not a multiple of iommu granule in size
18:30yamii has quit [Quit: WeeChat 3.6]
18:31jannaudon't do that, dart can only handle whole pages for now. how does macos deal with that? does it map with sub-page protection?
18:31yamii has joined #asahi-dev
18:48povikrather than trying to figure out an fdt schema for these to some degree opaque pieces of data i figured we could have m1n1 prepare the final structures sio wants a pointer to
19:52leitao has joined #asahi-dev
20:00leitao has quit [Ping timeout: 480 seconds]
21:07___nick___ has quit [Ping timeout: 480 seconds]
21:08ChaosPrincessim trying to boot up the touchbar via m1n1, and the firmware upload seems to be working, but once it is done, trying to read reports does not work, and it seems to still speak the firmware upload protocol. Anyone have ideas as to what part of the initialization i might be missing? the spi data stream is the same as from macos.
21:15ChaosPrincesstouchbar
21:15ChaosPrincesswell, the digitizer part, it is connected to spi0
21:16ChaosPrincessm1 mbp, j293
21:17ChaosPrincessthat spi naturally comes out of reset with cs auto-enable on
21:17ChaosPrincessand it does send and receive correct data during firmware upload phase
21:20ChaosPrincessgp.PIN[0x8b].val = 0x76a03 # - this line is enabling something that looks like an and gate on chip select, macos pulls it on an off with every packet
21:20ChaosPrincessyou think that might be important?
21:22ChaosPrincessty, ill try handling that one 'correctly' and seeing what will happen
21:44ChaosPrincesspovik: did you know that you are amazing? cause if you didnt - you should know that you are.
21:48ChaosPrincessnow to parse yet-another-apple's-hid-wrapper
22:41jannausven: copying dwc->dr_desired_role under dwc->lock and using the stack copy inside __dwc3_set_mode prevents the race. feel free to add my Tested-by:
22:54fossdd has quit [Server closed connection]
22:54fossdd has joined #asahi-dev
23:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
23:03SSJ_GZ has quit [Ping timeout: 480 seconds]
23:24lewurm has quit [Server closed connection]
23:24lewurm has joined #asahi-dev
23:30dabaum|2er0 has quit [Server closed connection]
23:42mps has quit [Server closed connection]
23:42mps has joined #asahi-dev
23:57Emantor has quit [Server closed connection]
23:57Emantor_ has joined #asahi-dev