On Sun, 2015-06-12 at 23:50:51 UTC, Daniel Axtens wrote: > HMIs (Hypervisor Management|Maintenance Interrupts) are a class of interrupt > on POWER systems. > > HMI support has traditionally been exceptionally difficult to test, however > Skiboot ships a tool that, with the correct magic numbers, will inject them. > > This, therefore, is a first pass at a script to inject HMIs and monitor > Linux's response. It injects an HMI on each core on every chip in turn > It then watches dmesg to see if it's acknowledged by Linux. > > On a Tuletta, I observed that we see 8 (or sometimes 9 or more) events per > injection, regardless of SMT setting, so we wait for 8 before progressing. > > It sits in a new scripts/ directory in selftests/powerpc, because it's not > designed to be run as part of the regular make selftests process. In > particular, it is quite possibly going to end up garding lots of your CPUs, > so it should only be run if you know how to undo that. > > CC: Mahesh J Salgaonkar <mahesh.salgaon...@in.ibm.com> > Signed-off-by: Daniel Axtens <d...@axtens.net>
Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/a8da474ec18f4c4c39f83202d6 cheers _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev