- User Since
- Apr 24 2016, 4:47 PM (164 w, 1 d)
Sat, Jun 15
Wed, Jun 12
Tue, Jun 11
Fri, May 31
Forgot to write to out if no other pages were found.
qsort the efi map
If out is supplied, search for the last page with the same attributes as the requested out and write the address in out.
Thu, May 30
Wed, May 29
return (0) -> return (false)
Use bsearch and address kib's comments.
Tue, May 28
LGTM, I'll try to find to time to test today on armv7 and armv6.
Mon, May 27
So with a pctrie (I can post the code somewhere if you want) I have 14 non-leaf node
db> show pctrienode efi_map_trie_zone
node 0xffff000000ad3f90, owner fffffd0010d0b540, children count 19408, level 4305:
slot: 0, val: 0xffff000001568060, value: 0, clev: 4305
slot: 1, val: 0xbfffd3ff18, value: 0, clev: 4305
slot: 2, val: 0xbfffd3fb18, value: 0, clev: 4305
slot: 3, val: 0xfffffdbf7fd30018, value: 0, clev: 4305
slot: 5, val: 0xffff000000760795, value: 0xffff000000760794, clev: 4305
slot: 6, val: 0x1030000, value: 0, clev: 4305
slot: 7, val: 0xfffffdbf6a38b200, value: 0, clev: 4305
slot: 9, val: 0xfffffd00101a2c40, value: 0, clev: 4305
slot: 10, val: 0xfffffd0010b9e400, value: 0, clev: 4305
slot: 12, val: 0x1dcd6500, value: 0, clev: 4305
slot: 13, val: 0xfffffd0010b9e380, value: 0, clev: 4305
slot: 14, val: 0xfffffd0010b9d200, value: 0, clev: 4305
Address kib comments.
Note that based on some comment on D20348 I might change this revision so efi_memory_attribute won't use the efi map directly.
Thu, May 23
remove a blank line removal.
Default to DEVICE and while here check is XP atttribute is set and set UXN/PXN if it is.
Correct the mapping in pmap_kenter based on the requested one and the one in the efi map
good for me, please just commit with the baudrate 0 comment preserved, I'm sure this will help someone in the future.
Wed, May 22
Add helper function that get the memory map from efi.
Remove some debugs printf that weren't supposed to be there.
May 17 2019
May 16 2019
May 15 2019
May 13 2019
May 12 2019
May 11 2019
May 10 2019
May 9 2019
May 8 2019
Tinh Nguyen from Ampere tested and it doesn't seems to make usb working (xhci controller is discovered but nothing more), I've tried on my overdrive in FDT mode and it works.
In acpi mode this doesn't but it doesn't without this patch too, looks like the acpi table is missing info about interrupts, I'll do one more test on the macchiatobin and then commit this.
May 7 2019
May 6 2019
May 4 2019
It missed the phy, so currently this works because u-boot already setup it for us.
May 2 2019
Commited as r481798