00:00:01 (it would also mean if we can delay exiting boot services you could use it to read things from a dataset during boot... though it'd also mean that everything is still unity mapped (va == pa) until we exit boot services 00:00:27 you don't want to stay identity mapped that long, I don't think 00:01:30 or at least, the (in this design) formerly early allocator would want to be much smarter 00:02:12 (this brings me back to my earlier question for toomas about MISC_VA) 00:02:29 since that slice is where the VA for those early allocations comes from 00:07:35 I guess wire up the hat so that it keeps identity mapping until you tell it to stop 00:08:02 and... panic? if you get a `hat_memload` that contradicts? 00:29:22 using boot services for bop* seems reasonable, I mean, that's what bop* is meant to be, but the sparc prom 00:29:35 what the fake in fakebop is faking 00:31:27 yeah 00:32:18 though I haven't looked at what assumptions are there about the env -- which i'm guessing probably inherits from sparc (just don't know what those are) 00:36:32 on x86 the assumption is what I was asking toomas about, I'm pretty sure what they used to be, but I can't find the mechanism it works through now 00:37:05 (that we allocate between valloc_base:valloc_sz to support the VM system, and MISC_VA_BASE:MISC_VA_SIZE to support the system until the hat is running) 00:37:45 those, at least, are the regions we then walk and import our knowledge of into the VM 00:38:55 (valloc* is actually backed by memory, misc_va is just virtual address space) 00:47:43 i do need to dig into that stuff more -- tangentially related, it would be _very_ helpful to be able to be able to use runtime services for a few things... 00:50:02 I think tsoome has mentioned it, but the big thing is that when loader gets the memory map from boot services, the pages marked as runtime pages (there's code and data types) need virtual address mappings (doesn't matter where) after we exit boot services and have to pass the pa<->va mappings for those pages back before we can make other calls 00:51:36 and obviously need to not be otherwise touched by the OS (I'm guessing we exclude those PAs already) 00:52:46 I _think_ we already meet the other requirements for making runtime calls 01:02:52 Whenever someone does rig that up, please reach out so we can make sure to get all the proper spectre mitigations around that. 04:08:19 i'm very tempted.. though I guess the question is what VA address range we'd want to stick the runtime pages.. 09:02:47 the runtime pages are mapped to SMAP_TYPE_RESERVED - we do not use efi memory map directly, and do rely on smap table. 12:15:16 does anyone have any experience running illumos (/smartos) on HP DL325 G11 or similar genoa/DDR5 boxes? 15:46:07 wikky: While I can't speak for hp specifically, we run a lot of AMD on DDR5 / Turin. 16:25:46 rmustacc: with success, I presume :) 16:41:45 I know at least some HP G11s (though can't remember the specific model) should be fine -- though the biggest issue is both Dell and HP seem to love to use Broadcom NICs on their motherboards for some reason.. 16:42:35 the dual socket G12s however is a bit of a different story... there's some work needed there (unfortuantely I only had access to those for a short period of time, though I'm hoping to get some longer term access maybe later this year) 16:43:40 tsoome: are we just excluding those physical addresses from use, or are we actually giving them virtual addesses in the kernel? 16:44:37 we are excluding those. We do pass efi memory map to kernel, so the information is all there. 16:46:25 I did that bit over 10 years ago and my knowledge about kernel memory management is still rather weak - its not a place you end up too often:D 16:48:46 wikky: Yeah, at least on the AMD side it's no problem. The company I work for (Oxide) is all AMD. 16:49:31 jbk: The 2P G12 was Intel though and not AMD, IIRC. 16:50:32 But if there are issues particularly with AMD stuff we should be in a reasonable place to help debug and make it work. 16:52:07 yeah, the G12s were a 2 socket Intel... not sure offhand what HPs AMD options are (or if they put them all on the same names) 17:02:45 dell's AMD systems though also have some issues.. though I'm hoping are simpler ones.. 17:07:15 we have a fix for the USB system that doesn't appear to have been upstreamed (so I'm hoping to maybe do that next week) to deal with quirks with some BMC's virtual USB behavior (I'm hoping that's maybe the issue) 17:10:38 FWIW I just did a Genoa build: 9354P, AsRock GENOAD8X-2T. Two problems I've hit: 1) my U.2 drives do not show up over MCIO (not an illumos issue, they don't show up in BIOS either), 2) AsRock has no BIOS update for getting the latest Genoa PI, so that means I'm stuck with older microcode due to the fallout from CVE-2024-36347. 18:38:07 jbk: yeah we are getting the intels 18:40:02 rmustacc: of course you are :) older docs suggest better support for intel but oxide picking amd and putting in the serious work convinced us to go with amd (and of course the price) 18:40:49 rzezeski: good to know, this confirms my findings that if there are going to be issues, it's unlikely they're due to cpu or ddr5 support 18:41:43 the kit arrives in a few days, I'll report back 18:44:35 initially we ordered a g10 but our provider upgraded it to a g11 for free, nice of them but finding out days before delivery ... 18:49:11 we're also getting a bunch of DL385 G10