#ifndef _SELFTESTS_POWERPC_PMU_EBB_LMR_H #define _SELFTESTS_POWERPC_PMU_EBB_LMR_H #include "reg.h" #ifndef PPC_FEATURE2_ARCH_3_00 #define PPC_FEATURE2_ARCH_3_00 0x00800000 #endif #define lmr_is_supported() have_hwcap2(PPC_FEATURE2_ARCH_3_00)
static inline void ebb_lmr_reset(void) { unsigned long bescr = mfspr(SPRN_BESCR); bescr &= ~(BESCR_LMEO); bescr |= BESCR_LME; mtspr(SPRN_BESCR, bescr); }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
jack miller | jack miller | 36 | 100.00% | 1 | 100.00% |
Total | 36 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
jack miller | jack miller | 22 | 100.00% | 1 | 100.00% |
Total | 22 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
jack miller | jack miller | 95 | 100.00% | 1 | 100.00% |
Total | 95 | 100.00% | 1 | 100.00% |