freebsd-skq/sys/arm
skra 11cdd44a03 Remove FDT specific parts from INTRNG. Change its interface to make it
universal.

(1) New struct intr_map_data is defined as a container for arbitrary
description of an interrupt used by a device. Typically, an interrupt
number and configuration relevant to an interrupt controller is encoded
in such description. However, any additional information may be encoded
too like a set of cpus on which an interrupt should be enabled or vendor
specific data needed for setup of an interrupt in controller. The struct
intr_map_data itself is meant to be opaque for INTRNG.

(2) An intr_map_irq() function is created which takes an interrupt
controller identification and struct intr_map_data as arguments and
returns global interrupt number which identifies an interrupt.

(3) A set of functions to be used by bus drivers is created as well as
a corresponding set of methods for interrupt controller drivers. These
sets take both struct resource and struct intr_map_data as one of the
arguments. There is a goal to keep struct intr_map_data in struct
resource, however, this way a final solution is not limited to that.

(4) Other small changes are done to reflect new situation.

This is only first step aiming to create stable interface for interrupt
controller drivers. Thus, some temporary solution is taken. Interrupt
descriptions for devices are stored in INTRNG and two specific mapping
function are created to be temporary used by bus drivers. That's why
the struct intr_map_data is not opaque for INTRNG now. This temporary
solution will be replaced by final one in next step.

Differential Revision:	https://reviews.freebsd.org/D5730
2016-04-04 09:15:25 +00:00
..
allwinner Improve HDMI display detection by searching the CEA-861 extension block for 2016-04-02 16:53:12 +00:00
altera/socfpga Almost all copies of platform_mp_init_secondary just called 2016-02-26 16:04:47 +00:00
amlogic/aml8726 Fix fallout from r292180 (Dec 2015)... ensure that every driver which has 2016-03-21 00:52:24 +00:00
annapurna/alpine Build ofw_cpu.c on all ARM configs using FDT. As we mve towards using the 2016-02-28 09:35:37 +00:00
arm Remove FDT specific parts from INTRNG. Change its interface to make it 2016-04-04 09:15:25 +00:00
at91 ARM: Teach LINUX_BOOT_ABI to recognize DT blob. 2016-03-26 06:55:55 +00:00
broadcom/bcm2835 Fix fallout from r292180 (Dec 2015)... ensure that every driver which has 2016-03-21 00:52:24 +00:00
cavium/cns11xx Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
conf Move support for Synopsys Designware APB UART out of ns8250 and into a 2016-04-01 20:26:45 +00:00
freescale Remove FDT specific parts from INTRNG. Change its interface to make it 2016-04-04 09:15:25 +00:00
include Remove FDT specific parts from INTRNG. Change its interface to make it 2016-04-04 09:15:25 +00:00
lpc Fix fallout from r292180 (Dec 2015)... ensure that every driver which has 2016-03-21 00:52:24 +00:00
mv Remove FDT specific parts from INTRNG. Change its interface to make it 2016-04-04 09:15:25 +00:00
nvidia Remove FDT specific parts from INTRNG. Change its interface to make it 2016-04-04 09:15:25 +00:00
qemu Add SMP support to the ARM PLATFORM code. This will allow us to have 2016-02-28 13:43:58 +00:00
rockchip Almost all copies of platform_mp_init_secondary just called 2016-02-26 16:04:47 +00:00
samsung/exynos Almost all copies of platform_mp_init_secondary just called 2016-02-26 16:04:47 +00:00
ti Remove FDT specific parts from INTRNG. Change its interface to make it 2016-04-04 09:15:25 +00:00
versatile Remove pd_prot and pd_cache members from struct arm_devmap_entry. 2016-02-17 12:36:24 +00:00
xilinx Almost all copies of platform_mp_init_secondary just called 2016-02-26 16:04:47 +00:00
xscale Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00