#
✕ nick:marcan
#asahi · 2021-07-26 13:42
marcanmy guess for ASC was Apple System Coprocessor
#asahi · 2021-07-26 13:08
marcanit has nothing to do with what the real installer will be like
#asahi · 2021-07-26 13:07
marcanhendry: that's for developers
#asahi · 2021-07-26 08:51
marcanso not useful then :p
#asahi · 2021-07-26 08:51
marcansven: ah, in C, I'm doing it in python
#asahi · 2021-07-26 08:46
marcansven: sure, might help
#asahi · 2021-07-26 08:28
marcanthat is... not the way to go any more :p
#asahi · 2021-07-26 08:28
marcanalyssa: I assume sven ran off of my old minimal .config, which was intended to keep kernel sizes down for loading over uart, and supported ~nothing :p
#asahi · 2021-07-25 16:12
marcanimplementing SART internally
#asahi · 2021-07-25 16:12
marcanand then the (very simple) ANS driver knows about SART and sets that prior to calling init on the ASC device
#asahi · 2021-07-25 16:12
marcanactually one way to do it would be to have the ASC driver just have a callback to set some kind of extra map_ops
#asahi · 2021-07-25 16:11
marcannot worth it
#asahi · 2021-07-25 16:11
marcannah
#asahi · 2021-07-25 16:10
marcanyeah
#asahi · 2021-07-25 16:10
marcaner, from ASC
#asahi · 2021-07-25 16:10
marcanit can be a separate tiny driver referenced from ANS if we want, to make it less ugly
#asahi · 2021-07-25 16:10
marcanmeh, special case in ANS it is then
#asahi · 2021-07-25 16:09
marcanI'm not sure we want to go there just for SART
#asahi · 2021-07-25 16:09
marcanso a bus driver
#asahi · 2021-07-25 16:09
marcanlike it needs a bus type
#asahi · 2021-07-25 16:09
marcanthere's definitely other cases, but it's rare
#asahi · 2021-07-25 16:09
marcan/home/marcan/asahi/git/linux/drivers/iommu/arm/arm-smmu/arm-smmu.c: err = bus_set_iommu(&fsl_mc_bus_type, ops);
#asahi · 2021-07-25 16:08
marcanso it's not even per bus instance, it's per bus type?!
#asahi · 2021-07-25 16:08
marcanargh
#asahi · 2021-07-25 16:05
marcanwait, are those singlets?
#asahi · 2021-07-25 16:04
marcandummy devtree buses are free
#asahi · 2021-07-25 16:04
marcanwe could just throw ans in a sub-bus though
#asahi · 2021-07-25 16:03
marcanoh well, this can be an ugly special case in the ans driver then
#asahi · 2021-07-25 16:03
marcanheh
#asahi · 2021-07-25 16:02
marcanwhy
#asahi · 2021-07-25 16:02
marcanwait what
#asahi · 2021-07-25 16:02
marcanlike for the whole arm soc bus?
#asahi · 2021-07-25 16:01
marcanper bus?
#asahi · 2021-07-25 16:01
marcando you think SART can be implemented as a really dumb passthrough only iommu?
#asahi · 2021-07-25 16:01
marcanyeah, it probably makes sense to just have a special nvme subdriver that mostly does nothing
#asahi · 2021-07-25 15:59
marcanansf.t8103.release.im4p in the restore ipsw
#asahi · 2021-07-25 15:57
marcanor at least I swear I saw it
#asahi · 2021-07-25 15:56
marcanwe do
#asahi · 2021-07-25 15:55
marcanany idea what they do?
#asahi · 2021-07-25 15:54
marcandoes ANS have any endpoints other than the system stuff?
#asahi · 2021-07-25 15:54
marcanor that
#asahi · 2021-07-25 15:54
marcanreally an ans driver
#asahi · 2021-07-25 15:54
marcanyeah, this would just be a driver for the ASC instantiation for ANS
#asahi · 2021-07-25 15:53
marcanand then that instantiates or links with the actual nvme device
#asahi · 2021-07-25 15:53
marcanI was thinking we might as well have an apple nvme ASC driver that would also take care of that
#asahi · 2021-07-25 15:52
marcanwhat was the SART anyway? just some filters?
#asahi · 2021-07-25 15:52
marcanyeah
#asahi · 2021-07-25 15:51
marcanthat would also bring up nvme
#asahi · 2021-07-25 15:51
marcannow might be a good time to start writing an ASC driver
#asahi · 2021-07-25 15:46
marcanit should be doable, but annoying

plus ›