2021-10-11
00:07jelly has quit [Ping timeout: 480 seconds]
00:53boardwalk1 has joined #asahi
00:59boardwalk has quit [Ping timeout: 480 seconds]
00:59boardwalk1 is now known as boardwalk
01:23jabashque_ has joined #asahi
01:24guan has quit [Ping timeout: 480 seconds]
01:24enomem has quit [Ping timeout: 480 seconds]
01:24nkaretnikov_ has joined #asahi
01:24eric_engestrom__ has joined #asahi
01:25jabashque is now known as Guest2461
01:25jabashque_ is now known as jabashque
01:25nkaretnikov has quit [Ping timeout: 480 seconds]
01:25nkaretnikov_ is now known as nkaretnikov
01:25cptcobalt has quit [Ping timeout: 480 seconds]
01:26Guest2461 has quit [Ping timeout: 480 seconds]
01:26eric_engestrom_ has quit [Ping timeout: 480 seconds]
01:27Vaughn has quit [Ping timeout: 480 seconds]
01:27steev has quit [Ping timeout: 480 seconds]
01:30steev has joined #asahi
01:36nkaretnikov has quit [Remote host closed the connection]
01:36eric_engestrom__ has quit [Read error: Connection reset by peer]
01:36steev has quit [Remote host closed the connection]
01:37jkkm has quit [Read error: Connection reset by peer]
01:37eichin has quit [Read error: Connection reset by peer]
01:38enomem has joined #asahi
01:38jelly has joined #asahi
01:38guan has joined #asahi
01:44cptcobalt has joined #asahi
01:44jkkm has joined #asahi
01:45nkaretnikov has joined #asahi
01:45eric_engestrom__ has joined #asahi
01:45steev has joined #asahi
01:45eichin has joined #asahi
01:50Vaughn has joined #asahi
02:26phiologe has joined #asahi
02:29PhilippvK has quit [Ping timeout: 480 seconds]
02:59bgb_ has joined #asahi
03:10darkapex2 has quit [Remote host closed the connection]
03:11darkapex has joined #asahi
03:24kov has quit [Quit: Coyote finally caught me]
03:24kov has joined #asahi
03:29marvin24 has joined #asahi
03:33marvin24_ has quit [Ping timeout: 480 seconds]
03:51doggkruse has joined #asahi
04:31doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:46bgb has joined #asahi
04:48doggkruse has joined #asahi
04:52bgb_ has quit [Ping timeout: 480 seconds]
04:56doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:04doggkruse has joined #asahi
05:09Glanzmann has quit [Quit: leaving]
05:37doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:15chadmed has quit [Quit: Konversation terminated!]
07:33bgb_ has joined #asahi
07:34bgb has quit [Ping timeout: 480 seconds]
08:18aleasto has joined #asahi
08:20aleasto has quit [Remote host closed the connection]
08:23aleasto has joined #asahi
08:23aleasto has quit [Remote host closed the connection]
08:26aleasto has joined #asahi
08:35bgb_ has left #asahi [WeeChat 3.0.1]
08:36bgb has joined #asahi
08:41darkapex1 has joined #asahi
08:43bgbI tried boot linux according to SW:Linux, but ended with brk exception. the log: http://paste.debian.net/1215023
08:46darkapex has quit [Ping timeout: 480 seconds]
09:01povik has joined #asahi
09:02povikmarcan: that disappearing sound devices seem to related with assigning multiple power-domains to them in DT
09:02povikbe it the dma controller, or pcm device, if i assign multiple power domains, it's like they are ignored
09:03marcanI would recommend using a single power domain for the audio devices, and instead representing extra dependencies in the power-controller nodes
09:04povikbut i am surprised that the nodes in DT are then outright ignored, it's not just that the power domains don't get turned on
09:04aleasto has quit [Ping timeout: 480 seconds]
09:05marcanI think for most devices there would be one domain that is the device per se, and any other deps can be chained off of that
09:05aleasto has joined #asahi
09:05marcan(note that we don't have to have the same tree as the ADT, we know theirs is BS sometimes anyway)
09:05povikyeah if we deviate from the ADT power domain tree, then maybe there's no need for the virtual domains
09:08j_eydt bindings check is saying that my vendor property has to be a boolean? but i need it to be a number!
09:14marcankettenis: scalar types usually use maxItems 1 AIUI, though maybe it's not necessary for things with a type ref already?
09:18linearcannon has quit [Read error: No route to host]
09:18linearcannon has joined #asahi
09:19j_ey"description: The number of pins", feels like one of those comments: /* set x to 1 */ x = 1;
09:24kettenisj_ey: probably still useful if someone actually implements a tool to pretty-print the bindings for use by humans
09:26j_eykettenis: I also realised that keyboard support is needed in u-boot, since that's how grub will get keyboard support via EFI protocols
09:27j_eyyeah, I just thought that the built-in would be a 'nice to have at some point', but it's more necessary than I thought
09:34j_eykettenis: https://paste.gg/p/anonymous/34055aa25f1146cb810142e94b4b2ed1 anything else I should add?
09:35marcanhttps://github.com/asahilinux/linux/tree/cpufreq/v1 if anyone wants to poke around before I send out an RFC
09:40marcana lot of deep research into memory controller performance might uncover what they mean, but... I don't think we should block on that.
09:40marcanin the future, if we have a better understanding, we can improve the binding and then just maintain backwards compat with the old style
09:42marcanj_ey: yeah I dunno, the whole required-opps thing is kind of dodgy in the context of cpu OPP tables
09:43marcanI'm going to grab some dinner, I'll collect any feedback once I'm back and fire off the series :)
09:46j_eymarcan: no return after dev_err https://github.com/AsahiLinux/linux/commit/066c6528578bc37fd37b9c5a92f1977389b17f16#diff-675193d2b674c266e559d051f3c78a50751fe74dd15042c632c6ecf30a65f558R85 not sure if intentional
09:48j_eydev_info(dev, "MCC performance driver initialized\n");, could say 'Apple MCC..' so minor that I feel like typing this out is silly
09:52aleasto has quit [Quit: Konversation terminated!]
09:52aleasto has joined #asahi
09:52j_eymarcan: https://github.com/AsahiLinux/linux/commit/213a4fc3d47086becf8cd3845eacb0f59251640c#diff-0b3f3383652e927ada6df030f477fbb9488bd97be19983daa4a16686764d65e6R55 can you use readq_poll_timeout ?
09:53aleasto has quit [Remote host closed the connection]
09:53aleasto has joined #asahi
09:53aleasto has quit []
09:58j_eymarcan: also in the same commit message with the 714/700 you have "CoreMark benchmark [1]", I guess the [1] was meant to have a link later at the bottom
10:03aleasto has joined #asahi
10:22povik has quit [Quit: Page closed]
10:51j_eybgb: ok yeah: https://github.com/AsahiLinux/linux/commit/2c7c41c85b5481663ad5b694660928e9f7b57bbf#diff-00d0a5cf29d5ccd9562d80d68d7ef4872141cd00163b7ee021d46ba76e8ecaa6R2304 this line is wrong
11:10bgb has quit [Remote host closed the connection]
11:10bgb has joined #asahi
11:18gabuscus_ has joined #asahi
11:19Nspace has joined #asahi
11:22gabuscus has quit [Ping timeout: 480 seconds]
11:30Nspace has quit [Quit: Nspace]
11:37Nspace has joined #asahi
12:09gabuscus has joined #asahi
12:13gabuscus_ has quit [Ping timeout: 480 seconds]
12:18chadmed has joined #asahi
13:48yuyichao_ has quit [Ping timeout: 480 seconds]
13:59arahael1 has joined #asahi
14:02jbowen has joined #asahi
14:04Arahael has quit [Ping timeout: 480 seconds]
14:15povik has joined #asahi
14:15Nspace has quit [Quit: Nspace]
14:20yuyichao_ has joined #asahi
14:29Nspace has joined #asahi
14:32Nspace has quit []
14:35Nspace has joined #asahi
14:43yuyichao has joined #asahi
14:47yuyichao_ has quit [Ping timeout: 480 seconds]
14:56svenremember how i was looking for a smaller hammer to fix this usb hotplugging issues? looks like i ended up with a bigger hammer instead to fix the "usb port breaks completely" problem that even macOS suffers from: there's a bit in the PHY registers which apple calls DRD_SW_VCC_RESET
14:57sveni noticed that i can also fix the port in macos when it goes to sleep. and it looks like macos sets that bit just before it disables power to dwc3
14:59Nspace has quit [Quit: Nspace]
15:08svenso i guess if you disconnect the cable at just the wrong time when two M1s are connected and one of them is in device mode the dwc3 controller on one of them just trips over and stops working
15:08Nspace has joined #asahi
15:16svenyuup. this seems to work. now only sometimes the port on my macbook air breaks when it decides to be a device again once linux is up :D
15:16svenand then i put it to sleep, wait a few seconds, wake it up again and it also works there again :D
15:19svenso i guess atc-phy will also be a reset-controller now and dwc3 gets a "fun" quirk to reset_control_assert and then reset_control_deassert whenever a device is disconnected
15:35Nspace has quit [Quit: Nspace]
15:44svendidn't the rasparry pi one even require some horrible hack that had to be run like >9000 times per second?
16:31j_eyhmm, cant seem to boot macOS with SMP anymore: panic(cpu 0 caller 0xfffffe00124e04cc): "CPU4 has failed to respond to cross-call after 6000000000 nanos
17:15_andy_t_ has joined #asahi
17:27j_eymarcan: bisected again, now it pointed at a16731e8b33fa492c000ed5d5b43bcfbb4a26a5c "hv_exc: Avoid delivering spurious HV-triggered IPIs to the guest"
17:30marcanmight want to add a break to those loops when it finds the mpidr, and a check for not found
17:34marcanthough I think the spinlock should guarantee that is not needed if we wrote it properly, but...
17:42doggkruse has joined #asahi
17:50kenjigashu has joined #asahi
17:58kenjigashu has quit []
18:00kenjigashu has joined #asahi
18:16yuyichao_ has joined #asahi
18:20yuyichao has quit [Ping timeout: 480 seconds]
18:27rross101 has joined #asahi
18:29rross101 has quit [Remote host closed the connection]
18:35kenjigashu has quit []
18:37joske has joined #asahi
18:39rross101 has joined #asahi
18:40rross101 has quit [Remote host closed the connection]
18:41Nspace has joined #asahi
18:43rross101 has joined #asahi
18:44rross101 has quit [Remote host closed the connection]
18:54Nspace has quit [Quit: Nspace]
18:55Nspace has joined #asahi
18:55joske has quit [Remote host closed the connection]
19:16Nspace has quit [Quit: Nspace]
19:21kenjigashu has joined #asahi
19:22kenjigashu has quit [Remote host closed the connection]
19:25jacoxon has joined #asahi
19:26rross101 has joined #asahi
19:29rross101 has quit [Remote host closed the connection]
19:47yuyichao has joined #asahi
19:50yuyichao_ has quit [Ping timeout: 480 seconds]
20:06jbowen has quit [Read error: Connection reset by peer]
20:07jbowen has joined #asahi
20:26Nspace has joined #asahi
20:36doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:42jacoxon has quit []
20:42j_eykettenis: Im a bit confused by the mention of m1n1 at the end, it sounded like some offline tooling.. but the m1n1 mention made it sound like something else?
20:42jacoxon has joined #asahi
20:50jacoxon has quit []
20:52kettenis(U-Boot will have a copy too that needs to be kept in synch, but that isn't really that important for us)
20:52eric_engestrom__ has quit []
20:52eric_engestrom has joined #asahi
20:56kettenisBut we don't really want to wait for the next Linux kernel merge window to open to be able to do that
20:57kettenisNow if we wrote the DT schemas correctly, it should just be a matter of verifying the device tree using the new schema
21:13jacoxon has joined #asahi
21:16jacoxon has quit []
21:16jbowen has quit [Quit: leaving]
21:17jacoxon has joined #asahi
21:22jacoxon has quit []
21:37Nspace has quit [Quit: Nspace]
22:26povik has quit [Quit: Page closed]
22:29yuyichao_ has joined #asahi
22:31aleasto has quit [Quit: Konversation terminated!]
22:33yuyichao has quit [Ping timeout: 480 seconds]
22:35doggkruse has joined #asahi
23:07yuyichao has joined #asahi
23:10yuyichao_ has quit [Ping timeout: 480 seconds]
23:10hspak has quit [Quit: The Lounge - https://thelounge.chat]
23:12hspak has joined #asahi
23:24Nspace has joined #asahi
23:49yuyichao has quit [Ping timeout: 480 seconds]
23:50Nspace has quit [Quit: Nspace]