linux-riscv.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* /proc/cpuinfo shows mmu:sv48, but kernel only support sv39
@ 2018-11-12  7:01 David Abdurachmanov
  2018-11-12  7:01 ` David Abdurachmanov
  0 siblings, 1 reply; 2+ messages in thread
From: David Abdurachmanov @ 2018-11-12  7:01 UTC (permalink / raw)
  To: linux-riscv

Hi,

I noticed that my Fedora 29 with 4.20-rc1 & latest BBL
show mmu being sv48 in /proc/cpuinfo. The kernel only
implement sv39 for 64-bit systems. QEMU 3.0.0 also
supports only sv39. 3.1.0-rc0 version bumps that to sv48.
I would expect /proc/cpuinfo to show sv39 as that's what
we are running.

[..]
 43 /* SATP flags */
 44 #if __riscv_xlen == 32
 45 #define SATP_PPN     _AC(0x003FFFFF, UL)
 46 #define SATP_MODE_32 _AC(0x80000000, UL)
 47 #define SATP_MODE    SATP_MODE_32
 48 #else
 49 #define SATP_PPN     _AC(0x00000FFFFFFFFFFF, UL)
 50 #define SATP_MODE_39 _AC(0x8000000000000000, UL)
 51 #define SATP_MODE    SATP_MODE_39
 52 #endif
[..]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-12  7:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-12  7:01 /proc/cpuinfo shows mmu:sv48, but kernel only support sv39 David Abdurachmanov
2018-11-12  7:01 ` David Abdurachmanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).