Questions tagged [irq]

An interrupt request is a hardware signal sent to the processor that temporarily stops a running program and allows to handle a hardware event.

In an IBM PC compatible personal computer, an interrupt request (or IRQ) is a hardware signal sent to the processor that temporarily stops a running program and allows a special program, an interrupt handler, to run instead. Interrupts are used to handle such events as data receipt from a modem or network, or a key press or mouse movement. The interrupt request level (IRQL) is the priority of an interrupt request.

Related tags:

209 questions
0
votes
1 answer

Guest OS in Qemu generates too much interrupts on irq4

I am facing problem with interrupt in guest OS runing in qemu-2.3.0. I am loading windriver (Linux kernel-2.6.34.12-grsec) in -nographic mode in Qemu emulator on Ubuntu 14.04 host. Host details: >$ uname -a >$ Linux my-qemu-host…
HuntM
  • 157
  • 1
  • 7
0
votes
0 answers

How to find irq number for I²C device?

I'm trying to connect an I2C device (MPU6050 accelerometer) with this code: #define MPUIRQ_GPIO ? // the var I would like to know #include #include static struct i2c_board_info sun7i_i2c_platform_device[]…
Guillaume
  • 2,752
  • 5
  • 27
  • 42
0
votes
0 answers

Linux Kernel -- IRQ (proc file system VS system call)

I working on a Linux kernel project. In my project I modified the kernel so that copy_process is called from one of my modules that responds to writes to a proc file entry. In essence, things look liks: int procfile_write(struct file *file, const…
feeling_lonely
  • 6,665
  • 4
  • 27
  • 53
0
votes
1 answer

Strange deadlock in Linux kernel

I normally think that deadlock could be a conflict of acquiring two different locks at two different threads (CPUs) while holding the other lock each other. But, the lockdep in linux kernel tells me otherwise: Here is the first one: [ 340.052197] …
jaeyong
  • 8,951
  • 14
  • 50
  • 63
0
votes
2 answers

smp affinity setting in linux

I want to load balance the interrupt (irq 75) on my virtual machine system. It has 64 bit redhat 5.8, kernel 2.6.18. There are 8 CPUs in the virtual machine. When I run: cat /proc/interrupts 75: 9189 0 0 0 0 0 0 0 …
Arda Demiray
  • 31
  • 1
  • 4
0
votes
1 answer

FwpmEngineOpen fails at dispatch level

I am trying to add a WFP filter while holding an NDIS RW lock, but FwpmEngineOpen or FwpmTransactionBegin functions fail. Is there a limitation that prevents these functions to work at Dispatch level? Thanks!
0
votes
1 answer

how does the linux shell in a multi-processor computer read the keyboard inputs?

After reading this document, I know that the keyboard input will activate irq 1 pointed to some interrupt. Then our processors will decode the input and do something else. My question is how a shell knows the keyboard input if the other processor…
gnosis
  • 107
  • 8
0
votes
1 answer

IRQ 8 isn't working... HW or SW?

First, I program for Vintage computer groups. What I write is specifically for MS-DOS and not windows, because that's what people are running. My current program is for later systems and not the 8086 line, so the plan was to use IRQ 8. This…
user3399848
  • 125
  • 7
0
votes
1 answer

How to register a function in a driver code as its ISR

Following the feedback i got from my previous question on Linux Kernel development, I have written a driver (in Linux-kernel v2.6.32) by comparing it with an existing driver and "borrowing" heavily from its code. The driver is registered fine. The…
TheCodeArtist
  • 21,479
  • 4
  • 69
  • 130
0
votes
1 answer

Interrupt handling on SAMA5D3

Alright folks, I'm attempting to cut my teeth on ARM assembly, but I can't quite grasp the concept of interrupts. Prior to this, I've worked with AVR interrupts, where code was written to explicitly link the interrupt vector to the subroutine or…
ecfedele
  • 306
  • 3
  • 15
0
votes
2 answers

When an ISR is running what happens to the interrupts on that particular IRQ line.would they be lost or stored so it can be processed at later point

When an Interrupt service routine is being handled that particular IRQ line is disabled,then what happens when a device registered on the same IRQ line raises an interrupt.? Is that interrupt lost or stored so it can be processed at later…
Adi
  • 729
  • 2
  • 6
  • 13
0
votes
1 answer

Shared IRQs in Linux

When an IRQ line is shared between multiple registered interrupt service routines, what determines the order of execution of the ISRs when the interrupt line is raised?
AbhinavChoudhury
  • 1,167
  • 1
  • 18
  • 38
0
votes
0 answers

how to set state_use_accessors of Linux irq?

struct irq_data has member of state_use_accessors, and in linux/irq.h there are some static function which use state_use_accessors to get state. I have questions that: 1, when and where is the state_use_accessors value set? I grep the source code,…
Bill Wang
  • 197
  • 1
  • 10
0
votes
0 answers

Is it possible to achieve that the interruption from network adapter arose on different CPU-cores x86_64?

When I am implementing any network server running Linux (Intel Xeon x86_64), it is often the bottleneck becomes a single and always the same CPU-core (interrupt occurs always on the same (CPU0) core) on which arise the interruption (IRQ) of the…
Alex
  • 12,578
  • 15
  • 99
  • 195
0
votes
3 answers

How old is interrupt request (IRQ) technology?

Doing a report on it, and I can't find date data anywhere! How old is IRQ technolgy (rough dates)? What did computer do before interrupt requests existed? Just generate errors?
Bert Macky
  • 41
  • 4
1 2 3
13
14