#
✕ nick:_jannau_
#asahi · 2021-11-24 15:22
_jannau_https://github.com/jannau/linux/tree/apple_m1/dt-for-5.17_v4
#asahi · 2021-11-24 15:22
_jannau_it is the branch for this kernel patch series: https://lore.kernel.org/all/20211123224926.7722-1-j@jannau.net/ nothing new just a few dts changes
#asahi · 2021-11-24 15:18
_jannau_pushed
#asahi · 2021-11-24 15:15
_jannau_jmr2: I forgot to push. thanks for notifying me
#asahi · 2021-11-23 16:58
_jannau_the 70% were on a single CPU core? we're drifting into off-topic though. SW decoding works but can use quite a lot of CPU. that's the reason why there are accelerators for video decoding
#asahi · 2021-11-23 16:51
_jannau_70% seems high for 1080@60 but without details CPU, video codec and bitrate it's impossible to say anything
#asahi · 2021-11-23 16:49
_jannau_I however don't think HW support is yet far enough to be used normal notebook
#asahi · 2021-11-23 16:47
_jannau_the M1 Pro/Max can decode higher bitrate 4k AV1 video with ~300fps
#asahi · 2021-11-23 16:46
_jannau_what do you mean with mad? a running fan? software decoding is for x86 CPU also not a problem
#asahi · 2021-11-23 16:44
_jannau_software decoding/encoding should not be problem
#asahi · 2021-11-22 17:19
_jannau_forget that. if it were a missing power-domain issue spi woudn't work at all
#asahi · 2021-11-22 17:16
_jannau_possible a missing power-domain although strange that just the trackpad does not work. without the pmgr driver the commits from j_ey were working on a 14" macbook pro
#asahi · 2021-11-22 09:44
_jannau_reboot was working on the macbook pro, I didn't test the mac mini
#asahi · 2021-11-19 13:10
_jannau_I have no idea
#asahi · 2021-11-19 13:04
_jannau_mps: it will boot but you can only interact with it over the uart. for usb-c you need a dts with nodes for it. All the "dwc3*" nodes from this commit for example: https://github.com/mu-one/linux/commit/30e20cad12734ebccc9ce7804167b07aff8621c2 (starting at line 499 of t8103.dtsi)
#asahi · 2021-11-19 12:48
_jannau_not with the dtb from 5.16-rc1 or m1n1. hotplug doesn't work
#asahi · 2021-11-19 12:44
_jannau_mps: for which device? 5.16-rc1 is only on the mac mini in a somewhat useable state. framebuffer, USB-A ports and gigabit ethernet works
#asahi · 2021-11-19 09:47
_jannau_firefox317_: I would expect more things to work out of the box with simpledrm, see problems on stream with X11
#asahi · 2021-11-19 09:32
_jannau_j_ey: doesn't unknown-block means the kernel hasn't enumerated the block device
#asahi · 2021-11-19 09:25
_jannau_it requires CONFIG_PCIE_APPLE
#asahi · 2021-11-19 08:58
_jannau_yes, they work with linux 5.16-rc1
#asahi · 2021-11-18 16:27
_jannau_that's what I ment. it is currently not useable under linux even ignoring the non-existing driver
#asahi · 2021-11-18 16:14
_jannau_the second ane doesn't exists. I doubt anyone has drivers or uses a M1 pro/max in way that the differences would be noticeable
#asahi · 2021-11-17 16:05
_jannau_chadmed: no, 12.0.1 was the official monterey realease everything except 2021 macbook pros. i.e. it caused the problem for me
#asahi · 2021-11-17 15:56
_jannau_the initial recovery screen is a boot picker
#asahi · 2021-11-17 15:46
_jannau_it works with usb2 speeds if you have dwc3 bindings (mainline for M1 has none). hotplug at the hub should work too
#asahi · 2021-11-17 14:43
_jannau_if they could do that mapping it wouldn't make sense to list ane1 in the adt at all
#asahi · 2021-11-16 15:00
_jannau_usb-reset to add dwc3 + i2c + cd321x officially
#asahi · 2021-11-16 13:13
_jannau_mps: first patches were merged at the end of october https://source.denx.de/u-boot/u-boot/-/commit/91ce6bf20bdffe3f67dfa2637d14a74e2244f3c5
#asahi · 2021-11-16 13:09
_jannau_yes, that works already since a long time via m1n1 payload mode but nobody has spent time so far preparing an image
#asahi · 2021-11-16 13:04
_jannau_I wouldn't spend much on this as this would be only a temporay solution. the expected boot path is m1n1+u-boot payload with efi provided by u-boot
#asahi · 2021-11-16 11:33
_jannau_no, we don't
#asahi · 2021-11-16 11:32
_jannau_don't we skip usb init if hpm init fails?
#asahi · 2021-11-16 11:22
_jannau_could have been chainloading + work on usb init related
#asahi · 2021-11-16 11:20
_jannau_I've seen occasionally i2c warnings/errors on the m1 max without noticeable broken functionality
#asahi · 2021-11-09 15:49
_jannau_ah, comment still holds except that the code is already in Linus' master branch and working PCI (usb-a and ethernet on the mac mini)
#asahi · 2021-11-09 15:45
_jannau_should work on all hardware, tested so for only on 14" M1 Pro and Max
#asahi · 2021-11-09 15:45
_jannau_with t6000/bringup and the right dtb framebuffer, smp, and pinctrl/usb-pd/usb2 works
#asahi · 2021-11-08 10:08
_jannau_bgb: no, the third port of macbook pro 2021 is not setup up in m1n1 to work as device
#asahi · 2021-11-05 09:53
_jannau_instruments has "INST_ALL" and "Instructions (fixed)"
#asahi · 2021-11-05 09:53
_jannau_sven: the first two pmc registers are fixed cycle and instruction event counters
#asahi · 2021-11-05 09:04
_jannau_as expected no raw event numbers instruments
#asahi · 2021-11-05 08:45
_jannau_yes, we disable the pmu while we are in the hv to avoid dealing with pmu irqs in the hv
#asahi · 2021-11-05 08:43
_jannau_I'm only aware of the Instruments GUI and I would be surprised if it listed raw event numbers. my plan was to use a single event and observe PMC register writes
#asahi · 2021-11-05 08:39
_jannau_I guess I have to boot macos in the hypervisor and see what kind of events it supports
#asahi · 2021-11-05 08:31
_jannau_I guess from the source code that apple has two PMU types. the non-early design was added before apple removed a32/t32 support. the event id are still there for supporting the old CPUs. I would expect them to simply count nothing on M1
#asahi · 2021-11-05 08:18
_jannau_maz: I'm still confused that the defined events from the xnu source code do not work. There is even a filter so I doubt mac os user space uses different event id
#asahi · 2021-10-29 07:30
_jannau_I don't think it will be a problem on the laptops though. I doubt apple will ship a regression in the initialisation of the built-in displays
#asahi · 2021-10-29 07:28
_jannau_define broken. I would expect booting to work. it would just not display anything
#asahi · 2021-10-29 07:16
_jannau_done

plus ›