diff options
author | Chris Metcalf <cmetcalf@ezchip.com> | 2015-03-30 16:33:00 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@ezchip.com> | 2015-04-17 14:01:41 -0400 |
commit | 128f3cb9398b5eeb4ee04b60bd5e314f5c122821 (patch) | |
tree | a9cb1e04a11883d1ad9587779155cdd82d67958f /arch/tile/include | |
parent | 437d3e124d25daaa671bfecfd4015ecd2503a955 (diff) |
tile: nohz: warn if nohz_full uses hypervisor shared cores
The "hypervisor shared" cores are ones that the Tilera hypervisor
uses to receive interrupts to manage hypervisor-owned devices.
It's a bad idea to try to use those cores with nohz_full, since
they will get interrupted unpredictably -- and invisibly to Linux
tracing tools, since the interrupts are delivered at a higher
privilege level to the Tilera hypervisor.
Generate a clear warning at boot up that this doesn't end well
for the nohz_full cores in question.
Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
Diffstat (limited to 'arch/tile/include')
-rw-r--r-- | arch/tile/include/hv/hypervisor.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/tile/include/hv/hypervisor.h b/arch/tile/include/hv/hypervisor.h index dfcdeb61ba34..e0e6af4e783b 100644 --- a/arch/tile/include/hv/hypervisor.h +++ b/arch/tile/include/hv/hypervisor.h | |||
@@ -961,7 +961,11 @@ typedef enum { | |||
961 | HV_INQ_TILES_HFH_CACHE = 2, | 961 | HV_INQ_TILES_HFH_CACHE = 2, |
962 | 962 | ||
963 | /** The set of tiles that can be legally used as a LOTAR for a PTE. */ | 963 | /** The set of tiles that can be legally used as a LOTAR for a PTE. */ |
964 | HV_INQ_TILES_LOTAR = 3 | 964 | HV_INQ_TILES_LOTAR = 3, |
965 | |||
966 | /** The set of "shared" driver tiles that the hypervisor may | ||
967 | * periodically interrupt. */ | ||
968 | HV_INQ_TILES_SHARED = 4 | ||
965 | } HV_InqTileSet; | 969 | } HV_InqTileSet; |
966 | 970 | ||
967 | /** Returns specific information about various sets of tiles within the | 971 | /** Returns specific information about various sets of tiles within the |