2022-06-06
00:10yrlf has joined #asahi-dev
00:12lrea^ has joined #asahi-dev
00:27nicolas17 has joined #asahi-dev
01:20RevHelix has quit [Quit: I am going to make my own channel, with blackjack and hookers!]
01:21bps2 has joined #asahi-dev
01:21RevHelix has joined #asahi-dev
01:28bps has quit [Ping timeout: 480 seconds]
01:30bps2 has quit [Ping timeout: 480 seconds]
01:39chadmed has quit [Remote host closed the connection]
01:39chadmed has joined #asahi-dev
01:50phire has quit [Ping timeout: 480 seconds]
01:52phire has joined #asahi-dev
01:55lrea^ has quit [Ping timeout: 480 seconds]
02:11phire_ has joined #asahi-dev
02:11phire is now known as Guest1290
02:11phire_ is now known as phire
02:14Guest1290 has quit [Ping timeout: 480 seconds]
02:29lrea^ has joined #asahi-dev
02:46PhilippvK has joined #asahi-dev
02:49phiologe has quit [Ping timeout: 480 seconds]
02:56edfu[m] has joined #asahi-dev
03:02lrea^ has quit [Ping timeout: 480 seconds]
03:26chadmed has quit [Remote host closed the connection]
03:27chadmed has joined #asahi-dev
03:32pyropeter3 has joined #asahi-dev
03:34pyropeter2 has quit [Ping timeout: 480 seconds]
03:47kov has quit [Quit: Coyote finally caught me]
04:08AoV has joined #asahi-dev
04:17solv[m]1 has joined #asahi-dev
05:10jluthra has quit [Remote host closed the connection]
05:11jluthra has joined #asahi-dev
05:11the_lanetly_052__ has joined #asahi-dev
05:20nicolas17 has quit [Quit: Konversation terminated!]
06:45mipi[m]@marcan: I did further tests with your rust fix (https://github.com/AsahiLinux/alarm-PKGBUILDs/commit/c2459a0ae6fc04b7fe98bb04f10795248eca949b). On M1 and "standard" aarch64 it's working fine (I used rust 1.61.0) 😀, but on armv7h it is not building (rustc-middle cannot be built 😒)
07:12bisko has joined #asahi-dev
07:20bisko has quit [Ping timeout: 480 seconds]
07:28bisko has joined #asahi-dev
07:37lrea^ has joined #asahi-dev
07:51bisko has quit [Ping timeout: 480 seconds]
08:02lrea^ has quit [Ping timeout: 480 seconds]
08:16bisko has joined #asahi-dev
08:35bisko has quit [Ping timeout: 480 seconds]
09:06bisko has joined #asahi-dev
09:12bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:32bps2 has joined #asahi-dev
09:37bisko has joined #asahi-dev
09:41bisko has quit []
09:41bisko has joined #asahi-dev
09:56Nspace has quit []
09:56Nspace has joined #asahi-dev
10:06bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:09bisko has joined #asahi-dev
10:23c10l7 has quit []
10:24c10l7 has joined #asahi-dev
10:28c10l7 has quit []
10:29c10l7 has joined #asahi-dev
10:29c10l7 is now known as c10l
11:02lrea^ has joined #asahi-dev
11:05bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:27lrea^ has quit [Ping timeout: 480 seconds]
11:46bisko has joined #asahi-dev
12:09amarioguysven: i did some preliminary digging into what I needed to do for the i2c chip, the main instance of polling i saw seems to be in the waitready func
12:10amarioguyunless i missed something it should be relatively simple to request the irq, add a wait queue, then replace the polling with a sleep until the irq is handled i assume (the Apple specific driver didn't have any polling from what I can tell)
12:14kov has joined #asahi-dev
12:20svenand maybe even have the driver support both irq and pilled mode since it’s unclear if the old pasemi boards have a working irq
12:22svenyou’ll also have to configure the irq mask, see https://github.com/AsahiLinux/m1n1/blob/main/proxyclient/m1n1/hw/i2c.py#L124
13:07millenialhacker has joined #asahi-dev
13:08millenialhacker_ has joined #asahi-dev
13:11millenialhacker_Coming back after a couple of days off, not sure why my main nickname is taken, but will resume ISP work soon. I have a clear idea in how apple handles communication over all channels but need to update the tracer in my branch.
13:12millenialhacker_But first, I need to `emerge @world ` to keep my lovely Gentoo updated :D
13:15lrea^ has joined #asahi-dev
13:15jannauamarioguy: you have to use the one specified in the ADT/FDT, not sure if we have transferred it to the device tree
13:16millenialhacker has quit [Ping timeout: 480 seconds]
13:17povikso all you need to do is something to the effect of platform_get_irq(pdev, 0) and it will pick up the right IRQ behind the scenes
13:17millenialhacker_ is now known as millenialhacker
13:18povik^-- at least that will work for the platform variant of the driver, don't know about the pci
13:18amarioguysince this is a fairly small change i should have the git patch ready sometime this week assuming life doesn't complicate things lol
14:01sventhe common code probably only needs a use_irq flag and export a irq handler while the apple specific code requests the irq and then sets use_irq to true
14:20the_lanetly_052__ has quit [Ping timeout: 480 seconds]
14:25lrea^ has quit [Remote host closed the connection]
14:47povikhm, i was pretty certain to find that "ASoC: tas2764: Add workaround for spurious shutdowns on SN012776" was merely a workaround for unreliable i2c
14:48povikthat would even explain why it affected only of the chips, being the chip that was in a bad spot during init ordering
15:24povikmarcan: indeed it looks like macos always does the SHUTDOWN->ACTIVE->MUTE dance you wrote into the workaround
15:25nicolas17 has joined #asahi-dev
16:18jakebot6 has quit [Quit: The Lounge - https://thelounge.chat]
16:18jakebot6 has joined #asahi-dev
16:38___nick___ has joined #asahi-dev
16:40___nick___ has quit []
16:41___nick___ has joined #asahi-dev
19:00amarioguy has quit [Quit: Leaving]
19:05Gaspare has joined #asahi-dev
19:09marcanthe kind of weirdness I saw without that didn't match what I'd expect with unreliable i2c, so...
19:21amarioguy has joined #asahi-dev
19:22amarioguy has quit []
19:22amarioguy has joined #asahi-dev
19:28poviktook me long enough, hope the maintainer won't throw me off on a long quest this time again
19:30Gaspare has quit [Quit: Gaspare]
19:31Gaspare has joined #asahi-dev
19:48Gaspare has quit [Quit: Gaspare]
19:52Deewiant has joined #asahi-dev
20:07___nick___ has quit [Ping timeout: 480 seconds]
20:21derzahl has joined #asahi-dev
20:25derzahl has quit []
20:27chadmed has quit [Ping timeout: 480 seconds]
20:28chadmed has joined #asahi-dev
20:31derzahl has joined #asahi-dev
20:55derzahl has quit [Remote host closed the connection]
21:03derzahl has joined #asahi-dev
21:11derzahl has quit [Remote host closed the connection]
21:13bps2 has quit [Ping timeout: 480 seconds]
21:25NathanielTan[m] is now known as ntan[m]
21:30Gaspare has joined #asahi-dev
21:32Gaspare has quit []
21:33Gaspare has joined #asahi-dev
22:05user982492 has joined #asahi-dev
22:22ajxu2 has joined #asahi-dev
23:04Gaspare has quit [Quit: Gaspare]
23:24nicolas17 has quit [Quit: Konversation terminated!]