Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# SPDX-License-Identifier: GPL-2.0-only
config CONFIG_SH_INTC
	bool
	select CONFIG_IRQ_DOMAIN

if CONFIG_SH_INTC

comment "Interrupt controller options"

config CONFIG_INTC_USERIMASK
	bool "Userspace interrupt masking support"
	depends on (CONFIG_SUPERH && CONFIG_CPU_SH4A) || CONFIG_COMPILE_TEST
	help
	  This enables support for hardware-assisted userspace hardirq
	  masking.

	  SH-4A and newer interrupt blocks all support a special shadowed
	  page with all non-masking registers obscured when mapped in to
	  userspace. This is primarily for use by userspace device
	  drivers that are using special priority levels.

	  If in doubt, say N.

config CONFIG_INTC_BALANCING
	bool "Hardware IRQ balancing support"
	depends on CONFIG_SMP && CONFIG_SUPERH && CONFIG_CPU_SHX3
	help
	  This enables support for IRQ auto-distribution mode on SH-X3
	  CONFIG_SMP parts. All of the balancing and CPU wakeup decisions are
	  taken care of automatically by hardware for distributed
	  vectors.

	  If in doubt, say N.

config CONFIG_INTC_MAPPING_DEBUG
	bool "Expose IRQ to per-controller id mapping via debugfs"
	depends on CONFIG_DEBUG_FS
	help
	  This will create a debugfs entry for showing the relationship
	  between system IRQs and the per-controller id tables.

	  If in doubt, say N.

endif