forked from torvalds/linux
Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
arm64: vipi: vIPI code adjustments
Some systems, such as the Apple M1 SoC, do not have more than one or two hardware IPIs that can be distinguished and masked independently. For such systems, it is necessary to provide "virtual" IPIs, but since there are at least two IRQ controllers that need this feature, let's move it into common code. The new entrypoint accepts a potentially non-maskable single per-CPU IPI interrupt and provides up to 32 "virtual" per-CPU IPIs that are maskable, can be distinguished, and live in an IPI domain. set_smp_ipi_range is changed to transparently enable the vIPI layer on IPI-challenged systems. TODO: move vipi_init definition to header file TODO: return a value from set_smp_ipi_range so drivers know whether to set irq domain flags. TODO: make conditional on IPI-challenged archs. Signed-off-by: Pip Cet <pipcet@gmail.com>
- Loading branch information
Showing
4 changed files
with
58 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters