#asahi-dev · 2022-05-04 14:23
marcanstill, very tempted to burn mailbox in flames after today#asahi-dev · 2022-05-04 14:19
marcanwell, that was a waste of several hours today then...#asahi-dev · 2022-05-04 14:17
marcanoh, the bus_lock/bus_sync_unlock thing?#asahi-dev · 2022-05-04 14:10
marcanis that a thing and how does it work?#asahi-dev · 2022-05-04 14:06
marcanand apparently you aren't even allowed to allocate GFP_ATOMIC inside such a spinlock#asahi-dev · 2022-05-04 14:05
marcan... because I need IRQ support for SMC GPIOs, which means I'm implementing a *remote irqchip* running on another CPU, communicating via mailbox messages, over a shared serialized message transport shared with a pile of other drivers.#asahi-dev · 2022-05-04 14:03
marcanwhich means everything involved in handling that resource can only use raw_spinlocks#asahi-dev · 2022-05-04 14:03
marcanif those ops rely on a shared resource that has to be serialized, that means that shared resource must be protected by a raw_spinlock#asahi-dev · 2022-05-04 14:03
marcanif I'm implementing an irqchip, its ops will be called inside a raw_spinlock#asahi-dev · 2022-05-04 14:02
marcanmaz: please correct me if I'm wrong re my conclusion from today's stream of pain#asahi-dev · 2022-05-03 13:27
marcanat least I got the audio stuff set up properly though, it's on a separate machine now so no more dropouts when compiling, which had been an issue in the past#asahi-dev · 2022-05-03 13:26
marcanhm, nah, I think I'd better leave it until tomorrow, I'm feeling a bit off and we all know it'd end up with me going to sleep at 5AM if I start now#asahi-dev · 2022-05-03 12:38
marcanlet me grab a bite since it's definitely dinnertime#asahi-dev · 2022-05-03 12:38
marcanfair enough :)#asahi-dev · 2022-05-03 12:25
marcando I do a short one in the time that's left? or leave it for tomorrow? :p#asahi-dev · 2022-05-03 12:25
marcanwhere did all my time go today... heh#asahi-dev · 2022-05-03 03:32
marcanhm, might just do a stream today on PCI power management, see if I can get the SD card stuff doing d3cold power management and maybe look at wifi if I have time? kinda in the mood for that.#asahi-dev · 2022-05-02 16:48
marcanyeah#asahi-dev · 2022-05-02 16:36
marcanI'm going to sleep :)#asahi-dev · 2022-05-02 16:36
marcanI think bits/130-cpufreq is submittable, if anyone wants to take a look#asahi-dev · 2022-05-02 16:36
marcanok, merged and pushed everything again#asahi-dev · 2022-05-02 16:02
marcanI usually edit them to put something at the top, but I dunno#asahi-dev · 2022-05-02 15:52
marcankettenis: if rob does want the gpio under the device, I can just have it in both places in our devicetrees for the time being, to make it less painful for you?#asahi-dev · 2022-05-02 15:48
marcanany objections to requesting a list there?#asahi-dev · 2022-05-02 15:48
marcanapparently this is a thing now: https://subspace.kernel.org/lists.linux.dev.html#asahi-dev · 2022-05-02 15:46
marcanand yeah, I really should get a ML setup#asahi-dev · 2022-05-02 15:46
marcankettenis: that's true, but it's also true that future devices could have multiple gpios for power sequencing or similar nonsense :(#asahi-dev · 2022-05-02 15:32
marcan*pwren#asahi-dev · 2022-05-02 15:32
marcanso much for the "easy" pwner gpio series. now we get to make deep changes to how the PCI subsystem probes devices.#asahi-dev · 2022-05-02 11:12
marcan(which also fixed the cc and an actual code problem which I just forgot to amend)#asahi-dev · 2022-05-02 11:12
marcanj`ey: fixed in v2 already#asahi-dev · 2022-05-02 11:09
marcan(since CDC is the default config)#asahi-dev · 2022-05-02 11:09
marcanthen this vendor specific driver indiscriminately binds to both CDC interfaces, and tries to drive them as two vendor specific devices#asahi-dev · 2022-05-02 11:08
marcanCDC uses two interfaces per config#asahi-dev · 2022-05-02 11:08
marcanit exposes multiple configurations, two of which are standard CDC-Ethernet#asahi-dev · 2022-05-02 11:08
marcan(and also fixed them to work on every other machine, but that's just a nice side effect)#asahi-dev · 2022-05-02 11:07
marcanwhat do you mean non-asahi related stuff? I fixed anker USB-Ethernet adapters to work on M1 Macs!#asahi-dev · 2022-05-02 11:05
marcanreally not my day today eh#asahi-dev · 2022-05-02 11:05
marcanactually sigh, I messed that up#asahi-dev · 2022-05-02 11:03
marcanthis one brought to you by me trying to use a shiny USB-C ethernet adapter I got a while ago and getting a pretty fireworks show#asahi-dev · 2022-05-02 11:03
marcanI think git send-email will curse me to the end#asahi-dev · 2022-05-02 11:03
marcanalso sigh, typoed the CC: to lkml#asahi-dev · 2022-05-02 11:03
marcanj`ey: bet you weren't expecting that one#asahi-dev · 2022-05-02 10:25
marcanfound the PLL coefficients too, and a last change timestamp. I'll throw them in the driver for doc purposes.#asahi-dev · 2022-05-02 09:51
marcanfound it, offset 0x50 has [actual][requested] in the low 4+4 bits#asahi-dev · 2022-05-02 09:46
marcanactually, let me figure out if I can find the "current pstate" field real quick#asahi-dev · 2022-05-02 09:42
marcanI'll send cpufreq too, because why not. Needs a binding though, let me do that.#asahi-dev · 2022-05-02 09:26
marcannext the pci stuff#asahi-dev · 2022-05-02 09:25
marcanokay, sent out a bunch of my misc fixes#asahi-dev · 2022-05-02 09:04
marcanthey must have some serious churn over there