Skip to content

Commits

Permalink
beagleboard-2.…
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Dec 8, 2010

  1. Copy the full SHA
    7800c0d View commit details
    Browse the repository at this point in the history
  2. KVM: (arm) Remove FSR related comment

    Simply remove a small comment in handle_abort().
    chazy committed Dec 8, 2010
    Copy the full SHA
    4e04c1a View commit details
    Browse the repository at this point in the history
  3. arm: added VFS2 driver for mounting host FS

    This is a rather old out-of-tree driver used with the RealView
    Development Suite and the FAST models, which has been slightly adapted
    to fit the 2.6.33 version of the kernel.
    chazy committed Dec 8, 2010
    Copy the full SHA
    b7404a7 View commit details
    Browse the repository at this point in the history
  4. KVM: (arm) Set the virtual IFAR register on prefetch aborts

    When injecting prefetch aborts into the guest the ARMv7 architecture now
    specifies that the IFAR register should be set with the address causing
    the prefetch abort.
    chazy committed Dec 8, 2010
    Copy the full SHA
    89abcc7 View commit details
    Browse the repository at this point in the history
  5. KVM: (arm) Remove unused variable in __map_gva_to_gfn

    Removed the modify_domain boolean variable.
    chazy committed Dec 8, 2010
    Copy the full SHA
    cf7ec7a View commit details
    Browse the repository at this point in the history
  6. KVM: (arm) Long standing bug in MSR emulation

    An incorrect bitmask was used to check if an invalid bit set of the MSR
    instruction was set, but this didn't manifest itself before ARMv7 at
    least with the currently used guest kernels. In any case, it's fixed
    here.
    chazy committed Dec 8, 2010
    Copy the full SHA
    6232718 View commit details
    Browse the repository at this point in the history
  7. KVM: (arm) Support MSR emulation v7

    The ARMv7 processor handles the MSR instruction slightly different than
    the ARMv6 since it is possible to modify a different set of bits in the
    PSRs under certain conditions. Support is hereby introduced.
    chazy committed Dec 8, 2010
    Copy the full SHA
    409b519 View commit details
    Browse the repository at this point in the history
  8. KVM: (arm) Emulate DP instructions on v7 (and v6 improv.)

    The Data processing instruction emulation is done using self-modifying
    code and the move to ARMv7 requires special handling of this, which
    differs from that of ARMv6. However, in the process, the code for ARMv6
    could be written a little nicer, and that change is also a part of this
    commit.
    chazy committed Dec 8, 2010
    Copy the full SHA
    36632f4 View commit details
    Browse the repository at this point in the history
  9. KVM: (arm) Handle cache and TLB emulation and maint. for v7

    Both the actual handling of the TLB and caches on world-switches and the
    emulation code must be adapted to work with ARMv7. This commit handles
    just that.
    chazy committed Dec 8, 2010
    Copy the full SHA
    51b5ba4 View commit details
    Browse the repository at this point in the history
  10. KVM: (arm) Improve tlbflush for KVM

    Change the tlbflush.h functionality so that the host kernel completely
    flushes the TLB when required (otherwise we break functionlity after
    using nG mappings on the host) but KVM only evicts guest TLB entries on
    for instance host vector switch.
    chazy committed Dec 8, 2010
    Copy the full SHA
    1378aba View commit details
    Browse the repository at this point in the history
  11. KVM: (arm) Remove debug functionality

    Some places it spit out when hitting a specific address and so on which
    are no longer relevant in any way. Die.
    chazy committed Dec 8, 2010
    Copy the full SHA
    f7a3766 View commit details
    Browse the repository at this point in the history
  12. KVM: (arm) Use KVM check_processor_compat

    Instead of checking conditions when creating the VCPU we now use the KVM
    general functions that checks if the host processor is compatible - I
    gather this is really meant to check for virtualization extensions, but
    we can use it for the ARM specifics either way.
    chazy committed Dec 8, 2010
    Copy the full SHA
    509714f View commit details
    Browse the repository at this point in the history
  13. KVM: (arm) Better cache cleaning handling

    Factor out some functionality to a header file that considers the
    current implementation of cache behavior and delegates the
    responsibility. Also start using the Linux macros to flush the pmd
    entries when modifying shadow page tables to ensure correctness at that
    end and clean up a few other places regarding cache maintenance, which
    were commented out and so on.
    chazy committed Dec 8, 2010
    Copy the full SHA
    16a8b3c View commit details
    Browse the repository at this point in the history
  14. KVM: (arm) Cleanup kvm_flags and set_host_kernel_ng

    Cleanup the stale code from the attempt to change host kernel mappings
    on the fly. This is essentially a flag on the mm_struct.
    
    Also remove the old code for setting host kernel page tables on the fly
    in arch/arm/kvm/arm.c
    chazy committed Dec 8, 2010
    Copy the full SHA
    8a9d734 View commit details
    Browse the repository at this point in the history
  15. KVM: (arm) Fix nG mapping changes

    Previous commits or'ed the nG bits with coarse 1-st level descriptors
    which is horribly incorrect. This should resolve those issues and run nG
    host mappings on v7.
    chazy committed Dec 8, 2010
    Copy the full SHA
    39629ba View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2010

  1. Copy the full SHA
    509a2fa View commit details
    Browse the repository at this point in the history
  2. KVM: (arm) Use non-global mappings in host

    This will allow us not to flush TLB entries on world switches.
    chazy committed Dec 7, 2010
    Copy the full SHA
    72826b2 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    969868b View commit details
    Browse the repository at this point in the history
  4. KVM: (arm) Use non-global mappings in host

    This will allow us not to flush TLB entries on world switches.
    chazy committed Dec 7, 2010
    Copy the full SHA
    1ed489c View commit details
    Browse the repository at this point in the history
  5. KVM: (arm) Cleanup 2.6.29 v6 implementation

    Some code got back-merged from 2.6.33 in arch/arm/mm/context.c which has
    been cleaned up and the reminicense of the dump_vcpu_... from
    page_alloc.c has also been removed.
    chazy committed Dec 7, 2010
    Copy the full SHA
    3c03aa8 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    ccf6934 View commit details
    Browse the repository at this point in the history
  7. KVM: (arm) Use non-global mappings in host

    This will allow us not to flush TLB entries on world switches.
    chazy committed Dec 7, 2010
    Copy the full SHA
    36bb569 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2010

  1. Copy the full SHA
    21ba63b View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2010

  1. KVM: (arm) Debugging guest user space

    Provides some additional logging functionality and infrastructure to
    place breakpoints in guest code to examine state at specifc points where
    behavior varies.
    chazy committed Dec 3, 2010
    Copy the full SHA
    5469574 View commit details
    Browse the repository at this point in the history
  2. KVM: (arm) Fix vector access bug

    Some times the host would catch an error in which the guest could not
    access its own vector page even in privileged mode. This would typically
    happen after switching the vector location for KVM a couple of times.
    
    Turned out to be very simple, needed to clean caches after unmapping
    addresses in the shadow page tables.
    
    This commit is related to the 'KVM: (arm) Debug vector access and guest
    bug' commit in that it fixes what the previous tries to debug and also
    keeps some of the introduced functionality around although renaming it a
    little bit to be more clear for future use. It will probaby go away
    eventually though.
    chazy committed Dec 3, 2010
    Copy the full SHA
    c0648fe View commit details
    Browse the repository at this point in the history
  3. KVM: (arm) Handle conditionals in emulate priv. dp.

    When emulating privileged data processing instructions, the instructions
    may be configured to execute conditionally, and for this to work
    correctly we need the CPSR cond bits to be that of the guest state when
    emulating the instruction on the host side. This is in fact not used by
    Linux guest versions tested so far, but it was a 'theoretical bug'.
    chazy committed Dec 3, 2010
    Copy the full SHA
    12c11c6 View commit details
    Browse the repository at this point in the history
  4. KVM: (arm) Debug vector access and guest bug

    This commit is a debugging commit, which should probably be reversed
    later on or at least modified.
    
    WARNING: This introduces complete TLB flushing on world-switches after
    first guest jump to user space.
    chazy committed Dec 3, 2010
    Copy the full SHA
    d7b637b View commit details
    Browse the repository at this point in the history
  5. KVM: (arm) Bugfix, propagate errors

    In a single place, when calling kvm_switch_host_vectors I forgot to
    propagate a possible error, which could cause the 'dreaded' message
    "Privileged mode cannot access vector page" since the error deludes a
    TLB flush, which is highly necessary.
    chazy committed Dec 3, 2010
    Copy the full SHA
    2e19431 View commit details
    Browse the repository at this point in the history
  6. KVM: (arm) Update APs instead of flushing shadows

    When the VCPU changes between privileged and user mode, the access
    permission bits must change on the shadow page tables, since they are
    adapted for running always in user mode. Until now, we have simply
    invalidated the entire shadow page table when this happened causing
    quite a performance degredation when the guest started running in user
    space and issuing system calls.
    
    This commit introduces a new routine, which scans the shadow page table
    and for each entry find the corresponding guest entry and re-calculates
    the correct page table entries.
    
    Since this reads guest page tables several times, it's too expensive to
    clean caches on each run. Instead, we move the cache cleaning when
    reading shadow page tables to the callers, which requires only a single
    cleaning operation for the entire AP switch.
    chazy committed Dec 3, 2010
    Copy the full SHA
    60637c2 View commit details
    Browse the repository at this point in the history
  7. KVM: (arm) Fix reference counting

    The use of the page->private field affected the VM system of the host in
    a bad way, and it's much much cleaner to simply use get_page(...) and
    put_page(...) the right number of times.
    
    Additionally, when switching host vectors, the new page was not always
    fetched causing an early release of pages. This could both cause bugs
    and produce some of the bad_page warnings.
    chazy committed Dec 3, 2010
    Copy the full SHA
    142abf2 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2010

  1. KVM: (arm) Use guest cache bits for coherence

    The guest page table uses the guest mappings for all normal memory
    mappings, and uses standard non-cache memory for device memory. But
    still it's required to clean the D-cache when reading guest page table
    entries.
    chazy committed Nov 10, 2010
    Copy the full SHA
    5b5af15 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2010

  1. KVM: (arm) Clean invalidate lines instead of entire cache

    Should be an optimization of the most common clean and invalidation
    functions, but it doesn't have much effect. But maybe it depends on the
    content of the caches.
    chazy committed Nov 9, 2010
    Copy the full SHA
    f765995 View commit details
    Browse the repository at this point in the history
  2. KVM: (arm) Trace and performance counting

    Refactored a lot of the debugging/tracing code from arm.c to separate
    trace.c file in arch/arm/kvm/...
    
    Also introduced a simple array of events which are counted and printed
    in a sorted maner to be able to tell where the time is spent. This could
    be easily expanded to read a cycle counter and give more accurate
    metrics.
    
    Additionally, much of this should actually be done using the kernel perf
    tool and tracepoints. However, the way that the rest of KVM does it
    relies on newer kernel features than 2.6.29, and serial console on the
    development devices does not yet work with anything newer, so we do this
    quick and dirty for now. Before upstream, this should be improved.
    chazy committed Nov 9, 2010
    Copy the full SHA
    a1dd546 View commit details
    Browse the repository at this point in the history
  3. KVM: (arm) Fix bug with cache invalidation

    If you invalidate dirty caches without cleaning them, you loose data,
    which can result in host kernel NULL pointer dereferencing and all sorts
    of fun.
    chazy committed Nov 9, 2010
    Copy the full SHA
    fd70274 View commit details
    Browse the repository at this point in the history
  4. KVM: (arm) Bugfix in emulate_mcrr

    The bitmask for the Rd and Rn fields in the MCRR instruction emulation
    code was xor'ed instead of and'ed.
    chazy committed Nov 9, 2010
    Copy the full SHA
    4c6eb5c View commit details
    Browse the repository at this point in the history
Older