[kvm-unit-tests PATCH 0/6] arm: enable MMU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This first patch of this series fixes a bug caused by attempting
to use spinlocks without enabling the MMU. The next three do some
prep for the fifth, and also fix arm's PAGE_ALIGN. The fifth is
prep for the sixth, which finally turns the MMU on for arm unit
tests.

Andrew Jones (6):
  arm: fix crash on cubietruck
  lib: add ALIGN() macro
  lib: steal const.h from kernel
  arm: apply ALIGN() and const.h to arm files
  arm: import some Linux page table API
  arm: turn on the MMU

 arm/cstart.S                | 33 +++++++++++++++++++++++
 config/config-arm.mak       |  3 ++-
 lib/alloc.c                 |  4 +--
 lib/arm/asm/mmu.h           | 43 ++++++++++++++++++++++++++++++
 lib/arm/asm/page.h          | 43 +++++++++++++++++++++++-------
 lib/arm/asm/pgtable-hwdef.h | 65 +++++++++++++++++++++++++++++++++++++++++++++
 lib/arm/mmu.c               | 53 ++++++++++++++++++++++++++++++++++++
 lib/arm/processor.c         | 11 ++++++++
 lib/arm/setup.c             |  3 +++
 lib/arm/spinlock.c          |  7 +++++
 lib/asm-generic/page.h      | 17 ++++++------
 lib/const.h                 | 11 ++++++++
 lib/libcflat.h              |  4 +++
 13 files changed, 275 insertions(+), 22 deletions(-)
 create mode 100644 lib/arm/asm/mmu.h
 create mode 100644 lib/arm/asm/pgtable-hwdef.h
 create mode 100644 lib/arm/mmu.c
 create mode 100644 lib/const.h

-- 
1.9.3

_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm




[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux