From: Sam Ravnborg <sam@ravnborg.org>
To: sparclinux <sparclinux@vger.kernel.org>,
David Miller <davem@davemloft.net>,
Thomas Gleixner <tglx@linutronix.de>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: [RFC PATCH 0/5] sparc64: drop deprecated irq features
Date: Fri, 21 Jan 2011 23:24:51 +0100 [thread overview]
Message-ID: <20110121222451.GA29468@merkur.ravnborg.org> (raw)
This set of patches update sparc64 so no deprecated genirq
features are used.
I did this mainly to understand the genirq stuff better.
Originally I looked into sparc64 code and was confused
because it used deprecated stuff. So the logical step
was to update sparc64 to avoid the deprecated stuff.
So I did so and the result follows.
This is an RFC because:
- This is not yet tested
- I expect a (trivial) conflict when we get Thomas'
__DO_irq stuff merged
- I expect to get some feedback that needs to be addressed
I made one conceptual change.
irq_handler_data was previously assinged to irq_data.chip_data.
This is changed so it uses irq_data.handler_data
Looking into kernel/irq/* this looked OK.
I plan to do some testing within the next week.
I looked at integrating struct virt_irq_table[] as
chip_data in irq_data.
But the way the virt_irq_alloc() function is used did not
make this bovious how to do so. So I played safe and did
not try to do so.
Any comments aprreciated.
If there are more features from genirq we could use let me
know and I may look at it.
And if something just looks wrong please say so too.
Sam
Sam Ravnborg (5):
sparc64: fix direct access to irq_desc
sparc: in handler_irq() rename irq parameter to pil
sparc64: all pointers to irq_handler_data renamed to handler_data
sparc64: use {get,set}_irq_data for handler_data
sparc64: use up-to-data genirq functions
arch/sparc/Kconfig | 2 -
arch/sparc/kernel/irq_32.c | 20 ++--
arch/sparc/kernel/irq_64.c | 197 ++++++++++++++++++++---------------------
arch/sparc/kernel/sun4d_irq.c | 18 ++--
4 files changed, 117 insertions(+), 120 deletions(-)
next reply other threads:[~2011-01-21 22:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-21 22:24 Sam Ravnborg [this message]
2011-01-21 22:26 ` [PATCH 1/5] sparc64: fix direct access to irq_desc Sam Ravnborg
2011-01-21 22:26 ` [PATCH 2/5] sparc: in handler_irq() rename irq parameter to pil Sam Ravnborg
2011-01-21 22:26 ` [PATCH 3/5] sparc64: all pointers to irq_handler_data renamed to handler_data Sam Ravnborg
2011-01-21 22:26 ` [PATCH 4/5] sparc64: use {get,set}_irq_data for handler_data Sam Ravnborg
2011-01-21 22:26 ` [PATCH 5/5] sparc64: use up-to-data genirq functions Sam Ravnborg
2011-01-21 22:55 ` [RFC PATCH 0/5] sparc64: drop deprecated irq features David Miller
2011-01-21 23:03 ` Sam Ravnborg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110121222451.GA29468@merkur.ravnborg.org \
--to=sam@ravnborg.org \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=sparclinux@vger.kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®