[PATCH v2 5/6] MIPS: math-emu: Add FP emu debugfs clear functionality

2017-08-21 Thread Aleksandar Markovic
From: Aleksandar Markovic Add capability for the user to clear all FP emu debugfs counters. This is achieved by having a special debugfs file "fpuemustats_clear" (under default location "/sys/kernel/debug/mips"). Each access to the file results in setting all

[PATCH v2 5/6] MIPS: math-emu: Add FP emu debugfs clear functionality

2017-08-21 Thread Aleksandar Markovic
From: Aleksandar Markovic Add capability for the user to clear all FP emu debugfs counters. This is achieved by having a special debugfs file "fpuemustats_clear" (under default location "/sys/kernel/debug/mips"). Each access to the file results in setting all counters to zero (it is enough,