login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
January
»
8
Re: [PATCH 4/4] x86_64 ioapic: Improve the heuristics for when check_timer fails.
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Eric W. Biederman
Subject:
Re: [PATCH 4/4] x86_64 ioapic: Improve the heuristics for when check_timer fails.
Date: Monday, January 8, 2007 - 1:39 pm
"Lu, Yinghai" <yinghai.lu@amd.com> writes:
quoted text
>>+static int check_timer_pin(int apic, int pin) >>+{ >>+ int irq, idx; >>+ /* >>+ * Test the architecture default i8254 timer pin >>+ * of apic 0 pin 2. >>+ */ > > Comments need to be updated.
Probably. Although this is all I have this doing in my patch.
quoted text
>>+ >>+ >>+ /* If the apic pin pair is in use by another irq fail */ >>+ irq = irq_from_pin(apic, pin);
^^^^^^^^^^^^^^^^^^
quoted text
>>+ if ((irq != -1) && (irq != 0)) { >>+ apic_printk(APIC_VERBOSE,KERN_INFO "...apic %d pin % in > use by irq %d\n", >>+ apic, pin, irq); >>+ return 0; >>+ } >>+ >>+ /* Add an entry in mp_irqs for irq 0 */ >>+ idx = update_irq0_entry(apic, pin); >>+ >>+ /* Add an entry in irq_to_pin */ >>+ add_pin_to_irq(0, apic, pin); >>+ >>+ /* Now setup the irq */ >>+ setup_IO_APIC_irq(apic, pin, idx, 0); >>+ >>+ /* And finally check to see if the irq works */ >>+ return do_check_timer_pin(apic, pin); >>+} >>+ > > Did you miss to call irq_from_pin before add_pin_to_irq? You defined > irq_from_pin in PATCH 2/4.
No see above. Eric -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
RE: [PATCH 4/4] x86_64 ioapic: Improve the heuristics for ...
, Lu, Yinghai
, (Mon Jan 8, 10:41 am)
Re: [PATCH 4/4] x86_64 ioapic: Improve the heuristics for ...
, Eric W. Biederman
, (Mon Jan 8, 1:39 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Chris Mason
Re: [Bug #11548] kernel BUG at drivers/pci/intel-iommu.c:1373!
Rafael J. Wysocki
[Bug #11559] 2.6.27-rc6: nohz + s2ram = need to press keys to get progress
Linus Torvalds
Linux 2.6.34-rc4
David Miller
Re: 'global' rq->clock
Uwe
NOHZ: local_softirq_pending 20
git
:
Len Brown
Re: fatal: unable to create '.git/index': File exists
Oliver Hoffmann
git init --bare versus git --bare init
Sam Song
Fwd: [OT] Re: Git via a proxy server?
Neal Kreitzinger
Re: clone --bare vs push
Dan Chokola
Re: how do you "force a pull"?
linux-netdev
:
William Allen Simpson
[net-next-2.6 PATCH v8 0/7] TCPCT part 1: cookie option exchange
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Ramachandra K
Re: [ofa-general] Re: [PATCH 10/13] QLogic VNIC: Driver Statistics collection
Changli Gao
RFC: netfilter: synproxy iptables target
Herbert Xu
Re: Error: an inet prefix is expected rather than "0/0".
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
Gilles Chehade
Re: Longest Uptime?
BESnet
BESnet - Aplicativo de Actualização segura
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
git-commits-head
:
Linux Kernel Mailing List
ASoC: fix registration of the SoC card in the Freescale MPC8610 drivers
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
checkpatch: add check for too short Kconfig descriptions
Linux Kernel Mailing List
V4L/DVB (10826): cx88: Add IR support to pcHDTV HD3000 & HD5500
Linux Kernel Mailing List
[ARM] pxa/cm-x300: enable USB port 2 for PXA300
Colocation donated by:
Syndicate