2023-05-30
00:31brolin has quit [Ping timeout: 480 seconds]
00:44nsklaus has quit [Ping timeout: 480 seconds]
00:52dylanchapell has joined #asahi-dev
00:54dylanchapell has quit [Remote host closed the connection]
00:56brolin has joined #asahi-dev
01:08brolin has quit [Ping timeout: 480 seconds]
01:41baozich has quit [Quit: baozich]
01:42baozich has joined #asahi-dev
02:00gabuscus has quit []
02:17gabuscus has joined #asahi-dev
04:17stipa is now known as Guest1720
04:17stipa has joined #asahi-dev
04:17Guest1720 has quit [Read error: Connection reset by peer]
06:11bps has joined #asahi-dev
07:09bps has quit [Ping timeout: 480 seconds]
07:23roxfan has quit [Ping timeout: 480 seconds]
07:38bisko has joined #asahi-dev
07:52roxfan has joined #asahi-dev
08:19bps has joined #asahi-dev
09:28bps has quit [Ping timeout: 480 seconds]
09:40nsklaus has joined #asahi-dev
09:51f2se has joined #asahi-dev
09:53bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
09:57f2se has quit [Quit: Leaving]
10:00bps has joined #asahi-dev
10:21Tomdownsouth has joined #asahi-dev
10:38baozich has quit [Ping timeout: 480 seconds]
11:15baozich has joined #asahi-dev
11:23baozich has quit [Ping timeout: 480 seconds]
11:37gordonfreeman has joined #asahi-dev
11:39gordonfreemanis there any way to know which EL0 process caused EL1 to generate an exception?
11:40gordonfreemanI've printed TPIDR_EL0 and TPIDR_EL1 values during the exception but seemingly TPIDR_EL0 is set to cpu id of the process and changes
11:41gordonfreemanSo I cannot correlate them with the process
11:45jannaumarcan: might be nice to include https://lore.kernel.org/linux-arm-kernel/20230528080205.288446-1-maz@kernel.org/
11:50jannaumps: if booted through u-boot fixed by aa9c96857753 "watchdog: apple: Support suspend and resume"
11:52Tomdownsouth has quit [Ping timeout: 480 seconds]
12:32j`eymarcan: so the start threshold is configurable, but the SMC calculates the end threshold from what you write to it?
12:35marcanthe UAPI spec says the driver "may round the value to a supported value" so I'm considering this an extreme case of rounding :p
12:39marcanit's a dependency problem with SMC (because the way we do this we can't defer at that point)
12:39gordonfreeman has quit [Remote host closed the connection]
12:39marcanI moved the GPIOs to the parent OF node which I think will make the of fwnode stuff defer the probe for us
12:59baozich has joined #asahi-dev
12:59bisko has joined #asahi-dev
13:03bisko has quit [Read error: Connection reset by peer]
13:05kettenismarcan: I'd say using the stop value would be more intuitive since the idea is to limit the charging to a certain value
13:06marcankettenis: I only chose the start value because the Linux UAPI only says the driver is allowed to round the stop value :D
13:08MajorBiscuit has joined #asahi-dev
13:08kettenisI suspect changing the start value was a later addition and whoever documented it didn't repeat the statement about the rounding?
13:12brolin has joined #asahi-dev
13:12kettenisI think some of the "consumer" laptops from lenovo have a similar mechanism to what apple does (as opposed to the mechanism on the thinkpads)
13:12j`eylooks like that wording was adding specifically, so I guess you could add similar wording to the start_threshold, https://github.com/torvalds/linux/commit/18ef1bb093ab1e0a74d146cbf4a9d132d01374d8
13:18marcanah yeah, so then we want the same thing and that driver didn't even bother to implement start_threshold
13:26marcankettenis: ah yeah, that actually behaves better with KDE, because it clamps the start threshold to stop - 1
13:33jannaubroken pcie xhci on the studio (PCIe link doesn't come up), aquantia lan and everything else seems to work
13:41marcanI think I'll look at this one tomorrow or something (along with the firmware extraction since it kind of goes with it)
14:35Tomdownsouth has joined #asahi-dev
14:57bps has quit [Ping timeout: 480 seconds]
15:15brolin has quit [Ping timeout: 480 seconds]
15:18brolin has joined #asahi-dev
15:46notapplicable has joined #asahi-dev
15:46thelounge60 has quit [Quit: Ping timeout (120 seconds)]
15:47thelounge60 has joined #asahi-dev
15:56baozich has quit [Ping timeout: 480 seconds]
16:05baozich has joined #asahi-dev
16:07notapplicable has quit [Remote host closed the connection]
16:13baozich has quit [Ping timeout: 480 seconds]
16:16cylm has joined #asahi-dev
16:29Tomdownsouth has quit [Ping timeout: 480 seconds]
16:29Major_Biscuit has joined #asahi-dev
16:31MajorBiscuit has quit [Ping timeout: 480 seconds]
17:21Major_Biscuit has quit [Ping timeout: 480 seconds]
17:29brolin has quit [Ping timeout: 480 seconds]
17:31quarkyalice has joined #asahi-dev
17:52brolin has joined #asahi-dev
18:10brolin has quit [Ping timeout: 480 seconds]
18:22SalimTer- has joined #asahi-dev
18:27salimterryli has quit [Ping timeout: 480 seconds]
18:41pthariensflame has joined #asahi-dev
18:45brolin has joined #asahi-dev
18:55maria has quit [Quit: The Lounge - https://thelounge.chat]
18:59brolin has quit [Ping timeout: 480 seconds]
19:07ellyq has quit [Quit: Machine shutdown requested]
19:11pthariensflame has quit [Quit: Textual IRC Client: www.textualapp.com]
19:44brolin has joined #asahi-dev
20:05compassion1 has joined #asahi-dev
20:08kettenis has quit [Ping timeout: 480 seconds]
20:08compassion has quit [Ping timeout: 480 seconds]
20:08compassion1 is now known as compassion
20:16kettenis has joined #asahi-dev
20:24kettenis_ has joined #asahi-dev
20:25kettenis has quit [Ping timeout: 480 seconds]
20:35brolin has quit [Ping timeout: 480 seconds]
20:43kaazoo has joined #asahi-dev
20:52brolin has joined #asahi-dev
21:15kaazoo has left #asahi-dev [#asahi-dev]
21:18eloy_ has quit [Ping timeout: 480 seconds]
21:23eloy_ has joined #asahi-dev
21:36wCPO has quit [Quit: The Lounge - https://thelounge.chat]
21:36wCPO has joined #asahi-dev
21:45brolin has quit [Ping timeout: 480 seconds]
22:11compassion has quit [Quit: lounge quit]
22:18kaazoo has joined #asahi-dev
22:19compassion1 has joined #asahi-dev
22:33kettenis_ has quit [Remote host closed the connection]
22:33kettenis has joined #asahi-dev
22:51zzywysm has joined #asahi-dev
23:04thelounge60 has quit [Ping timeout: 480 seconds]
23:13thelounge60 has joined #asahi-dev