On 18/06/25 1:49 PM, David Hildenbrand wrote:
+ case 'p':
+ if (fmt[1] == 't' && fmt[2] == 'e') {
+ pte_t *pte = (pte_t *)ptr;
+
+ spec.field_width = 10;
+ spec.precision = 8;
+ spec.base = 16;
+ spec.flags = SPECIAL | SMALL | ZEROPAD;
+ if (sizeof(pte_t) == sizeof(u64)) {
+ u64 val = pte_val(*pte);
+
+ return number(buf, end, val, spec);
+ }
+ WARN_ONCE(1, "Non standard pte_t\n");
What about 32bit with 32bit pte_t?
Ahh, missed that. Just wondering which all platforms might
care about the 32 bit pte representation.