summaryrefslogtreecommitdiff
path: root/arch/x86/machine
AgeCommit message (Collapse)Author
2018-05-04pmu: fix driver initialization.Remy Noel
2018-05-03Merge branch 'master' into perfmonRemy Noel
2018-05-03perfmon: Remove useless accessors.Remy Noel
Also rename pmc oveflow handling function.
2018-05-03perfmon: add polling overflow implementation in perfmonRemy Noel
2018-05-03perfmon: register a pmu_driver in place of pmu_ops.Remy Noel
Replace pmu_get_width with a property. Prepare the default overfow handling.
2018-05-03lapic: resets perfmon interrupt after each call.Remy Noel
2018-04-30cpu: add cpu_freq accessor.Remy Noel
2018-04-29Minor changesRichard Braun
2018-04-26kern/atomic: minor reworkRichard Braun
Allow architectures to specifically override any of the overloaded functions. This removes the need from architecture-specific code to implement selection.
2018-04-21pmu_amd: Add AMD overflow handling (untested).Remy Noel
2018-04-21kern/atomic: reworkRichard Braun
This commit restricts atomic operations to 32-bit and 64-bit (when supported). It keeps a similar source interface, but adds restrictions on the supported types. The main drive behind this change is portability, and in particular, upcoming local atomic operations.
2018-04-21Fix atomic operations argument typesRichard Braun
In preparation of the rework of atomic operations, all atomic function calls are fixed to use fully supported, compatible types. This means that atomic operations ar erestricted to 32-bit and 64-bit, and that value types must be strictly compatible with pointer types.
2018-04-21lapic: fix non-perfmon compilation.Remy Noel
2018-04-21perfmon: various cosmetics.Remy Noel
2018-04-21pmu_intel: Add Overflow V2 support.Remy Noel
Also adds cpu_set_msr64 helper.
2018-04-21perfmon: Test overflow in cpu test.Remy Noel
Adds perfmon_event_write as a test-only API.
2018-04-21perfmon: Add overflow handling.Remy Noel
Only architectural version 1 handled so far.
2018-04-21perfmon: add perfmon overflow interrupt.Remy Noel
2018-04-21kern/perfmon: Handle overflow on sync.Remy Noel
Add new perfmon driver method "get_pmc_width".
2018-04-21cpu: Add cpu_get_msr64 helperRemy Noel
2018-04-18Merge branch 'master' into perfmonRemy Noel
2018-04-14Rename variables in function-like macrosRichard Braun
2018-04-14Fix left-over reserved identifiersRichard Braun
For some reason, commit be5b9d6ab9f7e7a81c367e4bb0823ba11f85940f didn't take care of all reserved identifiers.
2018-04-14pmu_intel: fix call to gcc's __builtin_popcount.Remy Noel
We do not use libgcc anymore due to its usage of redzone.
2018-04-14Merge branch 'master' into perfmonRemy Noel
2018-04-13x86/lapic: fix inter-process interrupt generationRichard Braun
Make the lapic_ipi function interrupt-safe.
2018-03-12perfmon: Coding style & cosmetic fixesRemy Noel
2018-02-25Merge branch 'master' into perfmonRemy Noel
2018-02-25Merge branch 'master' into perfmonRemy Noel
2018-02-24New errno.h standard headerRichard Braun
Use standard errno codes. This change also adds strerror to string.h.
2018-02-24Don't use reserved identifiersRichard Braun
2018-02-22perfmon: split pmu into amd and intel architectures.Remy Noel
pmu_driver handling is now perfmon's responsibility.
2018-02-21x86/pmap: add TODO entryRichard Braun
2018-02-12Add TODO entriesRichard Braun
2018-01-29Fix undefined behavior in conditional macro replacementRichard Braun
See C11 6.10.3 ยง11 : If there are sequences of preprocessing tokens within the list of arguments that would otherwise act as preprocessing directives, the behavior is undefined.
2018-01-20x86/lapic: don't pack memory map structuresRichard Braun
This is actually unneeded and dangerous, as it may cause the compiler to access registers in multiple instructions.
2018-01-16kern/percpu: improve initop descriptions and fix dependenciesRichard Braun
2018-01-14Merge branch 'master' into perfmonRemy Noel
2018-01-10x86/cpu: optimize cpu-local accessorsRichard Braun
There is no point for the volatile keyword in those inline assembly statements.
2018-01-10x86/cpu: optimize cpu-local accessorsRichard Braun
There is no point for the volatile keyword in those inline assembly statements.
2018-01-08Merge branch 'master' into perfmonMocramis
2018-01-06x86/tcb: minor context switch optimizationRichard Braun
Interrupts are always disabled on context switch/load. As a result, there is no need to make the processor flags part of the context.
2018-01-06x86/tcb: minor context switch optimizationRichard Braun
Interrupts are always disabled on context switch/load. As a result, there is no need to make the processor flags part of the context.
2017-12-03Revert "Make assert have no side effects"Richard Braun
This reverts commit d18d0e85596f90e0bd597b33d58209d0b3973c95.
2017-12-03Revert "Make assert have no side effects"Richard Braun
This reverts commit 9c7906d8ad6ebec014b22b8757d916e9cad7d6d3.
2017-10-15Merge branch 'master' into perfmonRemy Noel
2017-10-10x86/pmap: remove useless header inclusionRichard Braun
2017-10-10x86/pmap: remove useless header inclusionRichard Braun
2017-10-04Fix some header inclusionsRichard Braun
2017-10-04Fix some header inclusionsRichard Braun