Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mce\amd.c Create Date:2022-07-28 08:03:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:amd_threshold_interrupt

Proto:static void amd_threshold_interrupt(void)

Type:void

Parameter:Nothing

1016  struct threshold_block * first_block = NULL, * block = NULL, * tmp = NULL
1017  cpu = smp_processor_id()
1019  When bank < Operations with implied preemption/interrupt protection. These* operations can be used without worrying about preemption or interrupt.(mce_num_banks) cycle
1020  If Not (per_cpu(bank_map, cpu) & 1 << bank ) Then Continue
1023  first_block = ( * ({
1023  ({
1023  Do
1023  const void * __vpp_verify = NULL
1023  When 0 cycle
1023  &threshold_banks
1023  })
1023  }))[bank]->blocks
1024  If Not first_block Then Continue
1031  log_and_reset_block(first_block)
1032  list_for_each_entry_safe - iterate over list of given type safe against removal of list entry*@pos: the type * to use as a loop cursor.*@n: another type * to use as temporary storage*@head: the head for your list.(block, tmp, & * List of threshold blocks * within a bank., miscj)
1033  log_and_reset_block(block)