User Details
- User Since
- May 18 2014, 2:32 AM (472 w, 2 d)
Apr 14 2023
Mar 29 2023
Mar 24 2023
You will likely need to introduce a wrapper for xen_intr_assign_cpu() in order to keep the second parameter as an apic_id.
Mar 14 2023
Mar 9 2023
Feb 8 2023
Sorry, I'm on parental leave and so far didn't have time to look into this. I will be back on the 8th of March, is there any rush to get this in now? If there's a rush I would be fine with this going in as long as someone can give a look and test it.
Dec 13 2022
Dec 12 2022
LGTM. Thanks for doing this.
Nov 29 2022
Nov 3 2022
IMO would be better to do this probing inside of an Arm specific early init routine, but if the current approach works and it's the prefered way for Arm people that's fine with me.
Oct 27 2022
Oct 20 2022
Could you do this in the same patch where MAXCPU is increased? I think it would be clearer that there's a dependency between MAXCPU and MAX_APIC_ID and that both need to be increased in lockstep.
No, MAX_APIC_ID is also relevant for amd64, as it's used by madt_parse_cpu(), it needs to be bumped to twice the value of MAXCPU I think.
But you need to also bump MAX_APIC_ID, or else the MADT parse code will start dropping CPUs that have IDs > 512. Note that APIC IDs don't need to be continuous, so it's possible to have a system only with even APIC IDs (ie: 0, 2, 4..) at which point in order to support 512 CPUs you might need to be able to parse APIC IDs up to 1024 or more.
Sep 23 2022
LGTM, the commit/revision title needs updating AFAICT.
LGTM, just one nit. Fell free to commit when that's done, no need for another round of review.
Aug 20 2022
FWIW xen_time.c might be slightly better, because it contains the code for the event timer, but also the time counter and the system clock.
I was expecting this would happen sooner or later, TBH I was waiting for a real clash to happen before doing the renaming. I assume you now need to use parts of this file on Arm?
Aug 18 2022
LGTM. I would use unsigned int as array index, but that's a question of taste.
Aug 14 2022
I think I would prefer setting it to PVH in both cases, we have other ways to expose the underlying hypervisor, and the boot entry point is the same for Xen or KVM PVH.
Jul 14 2022
I wonder whether we might want to move part of the x86/xen/pv.c contents (IOW: those used by firecracker also) into a more generic file? Maybe sys/x86/x86/pvh.c?
Jun 30 2022
Jun 29 2022
- Use MAX() instead of max().
- Remove extra newline.
Nah, I guess there's no need to move it, so I will keep as-is to avoid code churn. Sorry for the alias mess :).
Jun 28 2022
Jun 27 2022
Jun 23 2022
Jun 22 2022
Jun 7 2022
May 6 2022
Apr 23 2022
Thanks!
Apr 22 2022
Apr 21 2022
Hm, isn't this more fragile, as we need to keep the string in driver_t in sync with the call to devclass_find()?