Repository navigation
ASpace should allow spaces with size 1 - #1020
Conversation
There was a test that explicitly rejected this, but because ASpace is exclusive it's actually fine for `start == end`. Adjust the test to use such a one-wide address space instead; it worked fine the whole time.
|
I've rebuilt a |
It would only touch this register if it was using legacy fixed interrupts as opposed to MSI-X. |
and it turns out that an ipxe iso as one might grab from https://ipxe.org/download does this! with the patch it boots (and in my case, fails to load anything from the network), but with it reverted |
|
Oophf. I thought I tested legacy fixed; clearly I missed this! @iximeow yes, I think the analysis is sound. I wonder if this was because initially the upper bound was half-open, but it was changed to be inclusive later. I recall when I wrote the initial GPT code in preparation for the dirty bit tracker, I made page ranges inclusive, in order to handle pages at the very top of the address space, but Patrick had been doing things in terms of clopen ranges elsewhere, and we chatted about it a bit. I don't recall further details, though. |
There was a test that explicitly rejected this, but because ASpace is inclusive it's actually fine for
start == end. Adjust the test to use such a one-wide address space instead; it worked fine the whole time.This (should?) fix #1019.
@dancrossnyc theoretically from my analysis in #1019 I believe any access to a VirtIO ISR should have immediately panic'd propolis, but I know we've both seen NICs work before and after landing #998. Do the two observations of "typically working Propolis" and "lazy-static initializer const-eval' to panic()" make sense to you? In particular, does it seem possible that a guest wouldn't touch this register except in some odd circumstance? The alternative to me seems like a guest OS/driver that we missed in testing which does touch this register when others don't?