Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 286f5718 authored by Robert Richter's avatar Robert Richter Committed by Ingo Molnar
Browse files

x86: apic_*.c: add description to AMD's extended LVT functions



Signed-off-by: default avatarRobert Richter <robert.richter@amd.com>
Cc: oprofile-list <oprofile-list@lists.sourceforge.net>
Cc: Barry Kasindorf <barry.kasindorf@amd.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 021f8b75
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -646,6 +646,9 @@ int setup_profiling_timer(unsigned int multiplier)
 *
 * Vector mappings are hard coded. On K8 only offset 0 (APIC500) and
 * MCE interrupts are supported. Thus MCE offset must be set to 0.
 *
 * If mask=1, the LVT entry does not generate interrupts while mask=0
 * enables the vector. See also the BKDGs.
 */

#define APIC_EILVT_LVTOFF_MCE 0
+3 −0
Original line number Diff line number Diff line
@@ -205,6 +205,9 @@ static void __setup_APIC_LVTT(unsigned int clocks, int oneshot, int irqen)
 *
 * Vector mappings are hard coded. On K8 only offset 0 (APIC500) and
 * MCE interrupts are supported. Thus MCE offset must be set to 0.
 *
 * If mask=1, the LVT entry does not generate interrupts while mask=0
 * enables the vector. See also the BKDGs.
 */

#define APIC_EILVT_LVTOFF_MCE 0