2024-09-30
00:05zumi_ has joined #asahi-dev
00:05mab_ has joined #asahi-dev
00:05zumi has quit [Remote host closed the connection]
00:10zumi_ is now known as zumi
00:17mab_ has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
00:27pb17 has joined #asahi-dev
00:35tobhe has quit [Ping timeout: 480 seconds]
00:42mab has joined #asahi-dev
00:43mab is now known as Guest4943
00:45Guest4943 has quit []
01:00KxCORP5894000345 has quit [Quit: Bye!]
01:00KxCORP5894000345 has joined #asahi-dev
01:02kujeger- has joined #asahi-dev
01:07kujeger has quit [Ping timeout: 480 seconds]
01:54nullroute has joined #asahi-dev
02:00gabuscus has quit []
02:14pb17 has quit [Ping timeout: 480 seconds]
02:22nickchansome additional context: 1. ADP3,2 can be get up and running using only publicly release copyright material 2. these hardware comes from chinese scrapyard selling supposedly destroyed boards as scrap
02:28nickchanpersonally id say it is fair game this is just equivalent of picking trash from the bin
02:35pb17 has joined #asahi-dev
03:06chadmed_nickchan: IANAL but id be very careful about using "fell off the back of a truck" chinese scrapyard parts
03:15gabuscus has joined #asahi-dev
03:20nora has joined #asahi-dev
03:22nora_ has quit [Ping timeout: 480 seconds]
03:29nickchanim quite sure that they are sent to china to get destoryed, and then after they are destoryed they got sold as scrap, but the catch it some isn't destoryed properly
03:31chadmed_tbf its probably also very illegal to take money to destroy something, then not destroy it, then sell it to reverse engineers
03:31chadmed_if some document destroyal mob were taking my money to shred my paperwork and i found out they were just selling it all to data brokers or something id be quite miffed
03:36nickchanthe thing to do here would have been drill right through the soc but some of them just got a small piece of the board where there doesn't seem to be much ripped off
03:38nickchanand the damage is all different so with some luck if is possible to cannibalize parts for fully working units
03:47nickchanmaybe I should resend the watchdog patch? it's been two weeks but then again the past two weeks is the merge window
03:52rootbeerdan has joined #asahi-dev
04:16rootbeerdan has quit [Quit: rootbeerdan]
04:36pb17 has quit [Ping timeout: 480 seconds]
05:03pb17 has joined #asahi-dev
06:06zumi_ has joined #asahi-dev
06:06zumi has quit [Remote host closed the connection]
06:11chadmed has quit [Quit: Konversation terminated!]
06:11zumi_ is now known as zumi
06:11chadmed has joined #asahi-dev
06:38pb17 has quit [Ping timeout: 480 seconds]
06:42pb17 has joined #asahi-dev
06:51chrisl has joined #asahi-dev
06:59chrisl has quit [Ping timeout: 480 seconds]
07:15chaos_princessIs adp3.2 the arm dtk?
07:35chrisl has joined #asahi-dev
07:43chrisl has quit [Ping timeout: 480 seconds]
07:48sand4rt has joined #asahi-dev
07:53pb17 has quit [Ping timeout: 480 seconds]
08:10chrisl has joined #asahi-dev
08:18chrisl has quit [Ping timeout: 480 seconds]
08:32pb17 has joined #asahi-dev
09:06chrisl has joined #asahi-dev
09:14chrisl has quit [Ping timeout: 480 seconds]
09:58flokli has joined #asahi-dev
10:02ddxtanx_ has joined #asahi-dev
10:03tobhe has joined #asahi-dev
10:06chrisl has joined #asahi-dev
10:08ddxtanx has quit [Ping timeout: 480 seconds]
10:13pb17 has quit [Ping timeout: 480 seconds]
10:15chrisl has quit [Ping timeout: 480 seconds]
10:20tobhe_ has joined #asahi-dev
10:22tobhe has quit [Ping timeout: 480 seconds]
10:27nickchanhttps://lore.kernel.org/linux-watchdog/6775f288-9278-412e-957b-b341b1a75ae8@app.fastmail.com/
10:28nickchansven: I am not super familiar with the watchdog but from my understanding of it, to immediately reset the machine all that needs to happen is setting bit 2 in control reg, then set 0 in bite time reg
10:30nickchanit really doesn't matter what the current time is it is basically always going to be larger than 0
10:30nickchanand if it happens to be 0 right now it will become non-zero like immediately after anyways
10:45pb17 has joined #asahi-dev
10:58chrisl has joined #asahi-dev
11:06chrisl has quit [Ping timeout: 480 seconds]
11:09johey has joined #asahi-dev
11:18mab has joined #asahi-dev
11:19mab is now known as Guest4993
11:22tamar-away is now known as tamar
11:26nickchan1. set APPLE_WDT_WD1_BITE_TIME to 0, 2. set APPLE_WDT_WD1_CTRL to 4 (bit 2), 3. set APPLE_WDT_WD1_CUR_TIME to 0
12:00chrisl has joined #asahi-dev
12:02Guest4993 has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
12:04zumi_ has joined #asahi-dev
12:04zumi has quit [Remote host closed the connection]
12:04mab_ has joined #asahi-dev
12:06mab_ has quit []
12:08chrisl has quit [Ping timeout: 480 seconds]
12:09zumi_ is now known as zumi
12:09nickchanokay whatever I think the best course of action is to remove the readl_relaxed() from the wdt driver
12:17mab_ has joined #asahi-dev
12:41mab_ has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
12:42sand4rt has quit [Ping timeout: 480 seconds]
12:42sand4rt has joined #asahi-dev
12:43pb17 has quit [Ping timeout: 480 seconds]
12:48sand4rt2 has joined #asahi-dev
12:50sand4rt has quit [Ping timeout: 480 seconds]
13:00chrisl has joined #asahi-dev
13:02nimprod3l has joined #asahi-dev
13:11chrisl has quit [Ping timeout: 480 seconds]
13:17sand4rt2 has quit [Ping timeout: 480 seconds]
13:18sand4rt has joined #asahi-dev
13:19pb17 has joined #asahi-dev
13:22mab has joined #asahi-dev
13:22chrisl has joined #asahi-dev
13:22mab is now known as Guest5001
13:30chrisl has quit [Ping timeout: 480 seconds]
13:42Guest5001 has quit [Ping timeout: 480 seconds]
13:47chrisl has joined #asahi-dev
14:09opticron_ is now known as opticron
14:10___nick___ has joined #asahi-dev
14:11___nick___ has quit []
14:13___nick___ has joined #asahi-dev
14:31sand4rt has quit [Ping timeout: 480 seconds]
14:31sand4rt has joined #asahi-dev
14:36pb17 has quit [Ping timeout: 480 seconds]
14:58john-cabaj has joined #asahi-dev
15:13manawyrm has joined #asahi-dev
15:21mariogrip4 has joined #asahi-dev
15:22pb17 has joined #asahi-dev
15:24mariogrip has quit [Ping timeout: 480 seconds]
15:24mariogrip4 is now known as mariogrip
15:28Zollerboy1 has joined #asahi-dev
15:41pr0vctr has joined #asahi-dev
15:52Zollerboy1Hey everyone! During my journey to learn how to write kernel modules in Rust, I noticed that the Asahi fork has quite a bit more Rust APIs than what's in the main kernel rn. Is all that extra Rust API supposed to be merged into the main kernel eventually and just held back due to the current Rust for Linux issues? Suppose I wanted to contribute to the Rust wrappers, would it be better to contribute to the Asahi fork or the
15:54Zollerboy1Also, is there anyone who I could contact if I have specific questions about the Rust APIs?
16:02Zollerboy1 has quit [Remote host closed the connection]
16:02Zollerboy1 has joined #asahi-dev
16:31pb17 has quit [Ping timeout: 480 seconds]
16:43nimprod3l has quit [Quit: Leaving]
16:56___nick___ has quit [Ping timeout: 480 seconds]
17:09pr0vctr has quit [Quit: Textual IRC Client: www.textualapp.com]
17:17opticronZollerboy1, your message cut off after "contribute to the Asahi fork or the" though we did get the next message about specific questions
17:30pb17 has joined #asahi-dev
17:36Zollerboy1opticron: huh? that's strange. the rest of the message was "main kernel? Thanks!" :)
18:05zumi_ has joined #asahi-dev
18:05zumi has quit [Remote host closed the connection]
18:10zumi_ is now known as zumi
18:20sand4rt has quit [Ping timeout: 480 seconds]
18:39sand4rt has joined #asahi-dev
18:51pb17 has quit [Ping timeout: 480 seconds]
19:22sand4rt has quit [Ping timeout: 480 seconds]
19:27VinDuv has joined #asahi-dev
19:28pb17 has joined #asahi-dev
19:37sand4rt has joined #asahi-dev
19:45linuxgemini has quit [Quit: getting (hopefully fresh) air o/]
19:50phire_ has joined #asahi-dev
19:50phire is now known as Guest5036
19:50phire_ is now known as phire
19:53Guest5036 has quit [Ping timeout: 480 seconds]
20:06linuxgemini has joined #asahi-dev
20:30mrosorensen has joined #asahi-dev
21:00pb17 has quit [Ping timeout: 480 seconds]
21:23pb17 has joined #asahi-dev
21:30linuxgemini has quit [Quit: getting (hopefully fresh) air o/]
21:34linuxgemini has joined #asahi-dev
21:49sand4rt has quit [Ping timeout: 480 seconds]
22:25jannauI don't think so. the problem is several layers before drm. I don't expect problems with drm specifically
22:28jannauZollerboy1: I think the best approach would be looking at upstream / rust4linux / zulip / rust-next. Before starting something new check if it already exists and if it does see into upstreaming that
22:33Zollerboy1jannau: Yeah, I was just writing an abstraction for character device drivers in Rust (which afaics doesn't exist anywhere – but please prove me wrong^^) and was wondering if and how this could *eventually* get upstreamed. I have never submitted a patch to the linux kernel before, so I'm not quite sure on the process and also thought that in the current situation starting with a Rust patch specifically could be not such a
22:35jannauthere is currently a misc device patch on the mailing list https://lore.kernel.org/rust-for-linux/2024092708-rust-wrath-306d@gregkh/T/#t
22:37jannauand in https://rust-for-linux.zulipchat.com two people were asking for rust chardev implementions recently
22:46Zollerboy1jannau: thanks for the link. I'm still learning to navigate the jungle that is linux kernel patches :)
22:57fl0_idZollerboy1 OTOH, maybe the current situation is exactly the right thing to start with a rust patch ;)
22:59chadmed_alternatively if you want to contribute to asahi specifically ill take hwmon bindings ;)
22:59chadmed_there are a couple of things in macsmc-hwmon that could probably be made a bit less rubbish by riir
23:05pb17 has quit [Ping timeout: 480 seconds]
23:09Zollerboy1chadmed_: I would love to contribute to asahi specifically, but I don't think that I can really be that useful, because I don't actually own an M1 mac ;)
23:11Zollerboy1I just chose the asahi kernel as the baseline for my rust explorations, because it's still quite close to the t2-linux kernel that I need for my Intel mac and because it has a few more Rust bindings than the rust4linux kernel.
23:18Isacucho has joined #asahi-dev
23:19Isacucho has left #asahi-dev [#asahi-dev]
23:42pb17 has joined #asahi-dev