LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 04-18-2021, 04:47 AM   #1
rafimoor
LQ Newbie
 
Registered: Apr 2021
Posts: 2

Rep: Reputation: Disabled
IRQ handle on v5.8 and up


Since kernel v5.8 the function do_IRQ does not exist for x86 architecture. Is there a documentation on the new IRQ handling?
 
Old 05-16-2021, 09:46 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,810

Rep: Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974
Quote:
Originally Posted by rafimoor View Post
Since kernel v5.8 the function do_IRQ does not exist for x86 architecture. Is there a documentation on the new IRQ handling?
Did you look at the kernel documentation?
https://www.kernel.org/doc/html/late...enericirq.html

You say x86...do you mean 32bit, or x86_64?
 
Old 05-17-2021, 12:20 AM   #3
rafimoor
LQ Newbie
 
Registered: Apr 2021
Posts: 2

Original Poster
Rep: Reputation: Disabled
I meant x86_64. In the kernel tree it is under arch/x86/ .

I did look at this documentation which still mentions do_IRQ.

I've dug a bit in the kernel source and found out that in earlier kernels, common_interrupt is an assembly function that calls do_IRQ. In kernel v5.8 and later, common_interrupt is a macro defined C function that also does the work that was previously done by do_IRQ.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ISR mapping, Kernel IRQ to Real Processor IRQ Rajkamal Linux - Kernel 1 10-24-2012 08:28 AM
UNIQ IRQ and Shared IRQ...I want to make Shared IRQ routin chxooi Linux - Hardware 1 06-12-2010 07:30 AM
Wondering what "do_IRQ: .176 No Irq handler for vector (irq -1)" means 4restg Linux - Newbie 1 10-27-2009 02:41 AM
SCSI Errors when IRQ Shared - How do I not share IRQ MQMan Linux - Hardware 2 01-08-2006 11:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 03:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration