| /kernel/linux/linux-5.10/arch/m68k/kernel/ |
| D | vectors.c | 2 * vectors.c 18 * Sets up all exception vectors 39 e_vector vectors[256]; variable 60 __asm__ volatile ("movec %0,%%vbr" : : "r" ((void*)vectors)); in base_trap_init() 66 vectors[VEC_UNIMPII] = unimp_vec; in base_trap_init() 69 vectors[VEC_BUSERR] = buserr; in base_trap_init() 70 vectors[VEC_ILLEGAL] = trap; in base_trap_init() 71 vectors[VEC_SYS] = system_call; in base_trap_init() 79 vectors[i] = bad_inthandler; in trap_init() 82 if (!vectors[i]) in trap_init() [all …]
|
| /kernel/linux/linux-4.19/arch/m68k/kernel/ |
| D | vectors.c | 2 * vectors.c 18 * Sets up all exception vectors 39 e_vector vectors[256]; variable 60 __asm__ volatile ("movec %0,%%vbr" : : "r" ((void*)vectors)); in base_trap_init() 66 vectors[VEC_UNIMPII] = unimp_vec; in base_trap_init() 69 vectors[VEC_BUSERR] = buserr; in base_trap_init() 70 vectors[VEC_ILLEGAL] = trap; in base_trap_init() 71 vectors[VEC_SYS] = system_call; in base_trap_init() 79 vectors[i] = bad_inthandler; in trap_init() 82 if (!vectors[i]) in trap_init() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/include/asm/ |
| D | vmlinux.lds.h | 127 * The vectors and stubs are relocatable code, and the 133 .vectors { \ 134 *(.vectors) \ 136 .vectors.bhb.loop8 { \ 137 *(.vectors.bhb.loop8) \ 139 .vectors.bhb.bpiall { \ 140 *(.vectors.bhb.bpiall) \ 143 ARM_LMA(__vectors, .vectors); \ 144 ARM_LMA(__vectors_bhb_loop8, .vectors.bhb.loop8); \ 145 ARM_LMA(__vectors_bhb_bpiall, .vectors.bhb.bpiall); \ [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/include/asm/ |
| D | vectors.h | 13 extern char vectors[]; 20 * 'full fat' vectors are used directly. 26 * vectors. 32 * canonical vectors. 38 * vectors. 44 * Remap the kernel before branching to the canonical vectors. 55 /* The vectors to use on return from EL0. e.g. to remap the kernel */
|
| /kernel/linux/linux-4.19/kernel/irq/ |
| D | affinity.c | 116 * number of vectors we just spread the vectors across the nodes. in irq_build_affinity_masks() 131 /* Spread the vectors per node */ in irq_build_affinity_masks() 148 /* Account for extra vectors to compensate rounding errors */ in irq_build_affinity_masks() 170 * @nvecs: The total number of vectors 184 * If there aren't any vectors left after applying the pre/post in irq_create_affinity_masks() 185 * vectors don't bother with assigning affinity. in irq_create_affinity_masks() 204 /* Fill out vectors at the beginning that don't need affinity */ in irq_create_affinity_masks() 221 * out vectors. in irq_create_affinity_masks() 233 /* Fill out vectors at the end that don't need affinity */ in irq_create_affinity_masks() 251 * irq_calc_affinity_vectors - Calculate the optimal number of vectors [all …]
|
| /kernel/linux/linux-5.10/tools/arch/x86/include/asm/ |
| D | irq_vectors.h | 18 * Vectors 0 ... 31 : system traps and exceptions - hardcoded events 19 * Vectors 32 ... 127 : device interrupts 21 * Vectors 129 ... LOCAL_TIMER_VECTOR-1 22 * Vectors LOCAL_TIMER_VECTOR ... 255 : special interrupts 33 * IDT vectors usable for external interrupt sources start at 0x20. 48 * Vectors 0x30-0x3f are used for ISA interrupts. 54 * Special IRQ vectors used by the SMP architecture, 0xf0-0xff 56 * some of the following vectors are 'rare', they are merged 58 * TLB, reschedule and local APIC vectors are performance-critical.
|
| /kernel/linux/linux-5.10/arch/x86/include/asm/ |
| D | irq_vectors.h | 18 * Vectors 0 ... 31 : system traps and exceptions - hardcoded events 19 * Vectors 32 ... 127 : device interrupts 21 * Vectors 129 ... LOCAL_TIMER_VECTOR-1 22 * Vectors LOCAL_TIMER_VECTOR ... 255 : special interrupts 33 * IDT vectors usable for external interrupt sources start at 0x20. 48 * Vectors 0x30-0x3f are used for ISA interrupts. 54 * Special IRQ vectors used by the SMP architecture, 0xf0-0xff 56 * some of the following vectors are 'rare', they are merged 58 * TLB, reschedule and local APIC vectors are performance-critical.
|
| /kernel/linux/linux-4.19/arch/x86/include/asm/ |
| D | irq_vectors.h | 18 * Vectors 0 ... 31 : system traps and exceptions - hardcoded events 19 * Vectors 32 ... 127 : device interrupts 21 * Vectors 129 ... INVALIDATE_TLB_VECTOR_START-1 except 204 : device interrupts 22 * Vectors INVALIDATE_TLB_VECTOR_START ... 255 : special interrupts 33 * IDT vectors usable for external interrupt sources start at 0x20. 48 * Vectors 0x30-0x3f are used for ISA interrupts. 54 * Special IRQ vectors used by the SMP architecture, 0xf0-0xff 56 * some of the following vectors are 'rare', they are merged 58 * TLB, reschedule and local APIC vectors are performance-critical.
|
| /kernel/linux/linux-5.10/kernel/irq/ |
| D | affinity.c | 122 * The actual allocated total vectors may be less than @numvecs when 160 * Allocate vectors for each node according to the ratio of this in alloc_nodes_vectors() 171 * One perfect invariant is that number of allocated vectors for in alloc_nodes_vectors() 268 * number of vectors we just spread the vectors across the nodes. in __irq_build_affinity_masks() 308 /* Spread allocated vectors on CPUs of the current node */ in __irq_build_affinity_masks() 312 /* Account for extra vectors to compensate rounding errors */ in __irq_build_affinity_masks() 335 * 1) spread present CPU on these vectors 336 * 2) spread other possible CPUs on these vectors 373 * out vectors. in irq_build_affinity_masks() 410 * @nvecs: The total number of vectors [all …]
|
| /kernel/linux/linux-4.19/arch/x86/include/asm/xen/ |
| D | pci.h | 48 int (*enable_msi)(struct pci_dev *dev, int vectors[]); 50 int (*enable_msix)(struct pci_dev *dev, int vectors[], int nvec); 57 int vectors[]) in xen_pci_frontend_enable_msi() argument 60 return xen_pci_frontend->enable_msi(dev, vectors); in xen_pci_frontend_enable_msi() 69 int vectors[], int nvec) in xen_pci_frontend_enable_msix() argument 72 return xen_pci_frontend->enable_msix(dev, vectors, nvec); in xen_pci_frontend_enable_msix()
|
| /kernel/linux/linux-5.10/arch/x86/include/asm/xen/ |
| D | pci.h | 48 int (*enable_msi)(struct pci_dev *dev, int vectors[]); 50 int (*enable_msix)(struct pci_dev *dev, int vectors[], int nvec); 57 int vectors[]) in xen_pci_frontend_enable_msi() argument 60 return xen_pci_frontend->enable_msi(dev, vectors); in xen_pci_frontend_enable_msi() 69 int vectors[], int nvec) in xen_pci_frontend_enable_msix() argument 72 return xen_pci_frontend->enable_msix(dev, vectors, nvec); in xen_pci_frontend_enable_msix()
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | sh_intc.h | 84 struct intc_vect *vectors; member 102 #define INTC_HW_DESC(vectors, groups, mask_regs, \ argument 105 _INTC_ARRAY(vectors), _INTC_ARRAY(groups), \ 120 #define DECLARE_INTC_DESC(symbol, chipname, vectors, groups, \ argument 124 .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ 128 #define DECLARE_INTC_DESC_ACK(symbol, chipname, vectors, groups, \ argument 132 .hw = INTC_HW_DESC(vectors, groups, mask_regs, \
|
| /kernel/linux/linux-4.19/include/linux/ |
| D | sh_intc.h | 84 struct intc_vect *vectors; member 102 #define INTC_HW_DESC(vectors, groups, mask_regs, \ argument 105 _INTC_ARRAY(vectors), _INTC_ARRAY(groups), \ 120 #define DECLARE_INTC_DESC(symbol, chipname, vectors, groups, \ argument 124 .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ 128 #define DECLARE_INTC_DESC_ACK(symbol, chipname, vectors, groups, \ argument 132 .hw = INTC_HW_DESC(vectors, groups, mask_regs, \
|
| /kernel/linux/linux-5.10/arch/c6x/include/asm/ |
| D | irq.h | 22 * The C64X+ core has 16 IRQ vectors. One each is used by Reset and NMI. Two 23 * are reserved. The remaining 12 vectors are used to route SoC interrupts. 24 * These interrupt vectors are prioritized with IRQ 4 having the highest 29 * feed into one of the 12 general interrupt vectors. The remaining 8 vectors
|
| /kernel/linux/linux-5.10/arch/arm/ |
| D | Kconfig-nommu | 40 bool 'Install vectors to the beginning of RAM' 42 The kernel needs to change the hardware exception vectors. 43 In nommu mode, the hardware exception vectors are normally 50 vectors to be mapped to writable memory, say 'n' here. 53 external support to redirect the hardware exception vectors to
|
| /kernel/linux/linux-4.19/arch/arm/ |
| D | Kconfig-nommu | 38 bool 'Install vectors to the beginning of RAM' 40 The kernel needs to change the hardware exception vectors. 41 In nommu mode, the hardware exception vectors are normally 48 vectors to be mapped to writable memory, say 'n' here. 51 external support to redirect the hardware exception vectors to
|
| /kernel/linux/linux-4.19/arch/c6x/include/asm/ |
| D | irq.h | 25 * The C64X+ core has 16 IRQ vectors. One each is used by Reset and NMI. Two 26 * are reserved. The remaining 12 vectors are used to route SoC interrupts. 27 * These interrupt vectors are prioritized with IRQ 4 having the highest 32 * feed into one of the 12 general interrupt vectors. The remaining 8 vectors
|
| /kernel/linux/linux-4.19/Documentation/PCI/ |
| D | MSI-HOWTO.txt | 85 To automatically use MSI or MSI-X interrupt vectors, use the following 91 which allocates up to max_vecs interrupt vectors for a PCI device. It 92 returns the number of vectors allocated or a negative error. If the device 93 has a requirements for a minimum number of vectors the driver can pass a 95 if it can't meet the minimum number of vectors. 104 vectors, use the following function: 117 MSI interrupt vectors must be allocated consecutively, so the system might 118 not be able to allocate as many vectors for MSI as it could for MSI-X. On 125 The typical usage of MSI or MSI-X interrupts is to allocate as many vectors 129 vectors supported beforehand: [all …]
|
| /kernel/linux/linux-4.19/arch/arm/kernel/ |
| D | vmlinux.lds.h | 99 * The vectors and stubs are relocatable code, and the 104 .vectors 0xffff0000 : AT(__vectors_start) { \ 105 *(.vectors) \ 107 . = __vectors_start + SIZEOF(.vectors); \ 111 .stubs ADDR(.vectors) + 0x1000 : AT(__stubs_start) { \ 117 PROVIDE(vector_fiq_offset = vector_fiq - ADDR(.vectors));
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/pci/ |
| D | altera-pcie-msi.txt | 9 "vector_slave": vectors slave port region 13 - num-vectors: number of vectors, range 1 to 32. 26 num-vectors = <32>;
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pci/ |
| D | altera-pcie-msi.txt | 9 "vector_slave": vectors slave port region 13 - num-vectors: number of vectors, range 1 to 32. 26 num-vectors = <32>;
|
| /kernel/linux/linux-5.10/Documentation/PCI/ |
| D | msi-howto.rst | 93 To automatically use MSI or MSI-X interrupt vectors, use the following 99 which allocates up to max_vecs interrupt vectors for a PCI device. It 100 returns the number of vectors allocated or a negative error. If the device 101 has a requirements for a minimum number of vectors the driver can pass a 103 if it can't meet the minimum number of vectors. 112 vectors, use the following function:: 125 MSI interrupt vectors must be allocated consecutively, so the system might 126 not be able to allocate as many vectors for MSI as it could for MSI-X. On 133 The typical usage of MSI or MSI-X interrupts is to allocate as many vectors 137 vectors supported beforehand:: [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/interrupt-controller/ |
| D | mips-gic.txt | 23 - mti,reserved-cpu-vectors : Specifies the list of CPU interrupt vectors 26 - mti,reserved-ipi-vectors : Specifies the range of GIC interrupts that are 52 mti,reserved-cpu-vectors = <7>; 53 mti,reserved-ipi-vectors = <40 8>;
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/intel/ixgbe/ |
| D | ixgbe_lib.c | 725 * ixgbe_acquire_msix_vectors - acquire MSI-X vectors 729 * return a negative error code if unable to acquire MSI-X vectors for any 735 int i, vectors, vector_threshold; in ixgbe_acquire_msix_vectors() local 740 vectors = max(adapter->num_rx_queues, adapter->num_tx_queues); in ixgbe_acquire_msix_vectors() 741 vectors = max(vectors, adapter->num_xdp_queues); in ixgbe_acquire_msix_vectors() 743 /* It is easy to be greedy for MSI-X vectors. However, it really in ixgbe_acquire_msix_vectors() 744 * doesn't do much good if we have a lot more vectors than CPUs. We'll in ixgbe_acquire_msix_vectors() 746 * of vectors as there are CPUs. in ixgbe_acquire_msix_vectors() 748 vectors = min_t(int, vectors, num_online_cpus()); in ixgbe_acquire_msix_vectors() 750 /* Some vectors are necessary for non-queue interrupts */ in ixgbe_acquire_msix_vectors() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
| D | ixgbe_lib.c | 725 * ixgbe_acquire_msix_vectors - acquire MSI-X vectors 729 * return a negative error code if unable to acquire MSI-X vectors for any 735 int i, vectors, vector_threshold; in ixgbe_acquire_msix_vectors() local 740 vectors = max(adapter->num_rx_queues, adapter->num_tx_queues); in ixgbe_acquire_msix_vectors() 741 vectors = max(vectors, adapter->num_xdp_queues); in ixgbe_acquire_msix_vectors() 743 /* It is easy to be greedy for MSI-X vectors. However, it really in ixgbe_acquire_msix_vectors() 744 * doesn't do much good if we have a lot more vectors than CPUs. We'll in ixgbe_acquire_msix_vectors() 746 * of vectors as there are CPUs. in ixgbe_acquire_msix_vectors() 748 vectors = min_t(int, vectors, num_online_cpus()); in ixgbe_acquire_msix_vectors() 750 /* Some vectors are necessary for non-queue interrupts */ in ixgbe_acquire_msix_vectors() [all …]
|