login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
August
»
30
Re: [patch 1/3] x86, intr-remap: set redirection hint in the IRTE
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Weidong Han
Subject:
Re: [patch 1/3] x86, intr-remap: set redirection hint in the IRTE
Date: Sunday, August 29, 2010 - 6:47 pm
Siddha, Suresh B wrote:
quoted text
> Currently the redirection hint in the interrupt-remapping table entry > is set to 0, which means the remapped interrupt is directed to the > processors listed in the destination. So in logical flat mode > in the presence of intr-remapping, this results in a single > interrupt multi-casted to multiple cpu's as specified by the destination > bit mask. But what we really want is to send that interrupt to one of the cpus > based on the lowest priority delivery mode. > > Set the redirection hint in the IRTE to '1' to indicate that we want > the remapped interrupt to be directed to only one of the processors > listed in the destination. > > This fixes the issue of same interrupt getting delivered to multiple cpu's > in the logical flat mode in the presence of interrupt-remapping. While > there is no functional issue observed with this behavior, this will > impact performance of such configurations (<=8 cpu's using logical flat > mode in the presence of interrupt-remapping) > > Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> > Cc: Weidong Han <weidong.han@intel.com> > Cc: <stable@kernel.org> # [v2.6.32+] > --- > > diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c > index f1efeba..90f8a75 100644 > --- a/arch/x86/kernel/apic/io_apic.c > +++ b/arch/x86/kernel/apic/io_apic.c > @@ -1392,6 +1392,7 @@ int setup_ioapic_entry(int apic_id, int irq, > irte.dlvry_mode = apic->irq_delivery_mode; > irte.vector = vector; > irte.dest_id = IRTE_DEST(destination); > + irte.redir_hint = 1; > > /* Set source-id of interrupt request */ > set_ioapic_sid(&irte, apic_id); > @@ -3343,6 +3344,7 @@ static int msi_compose_msg(struct pci_dev *pdev, unsigned int irq, > irte.dlvry_mode = apic->irq_delivery_mode; > irte.vector = cfg->vector; > irte.dest_id = IRTE_DEST(dest); > + irte.redir_hint = 1; > > /* Set source-id of interrupt request */ > if (pdev) > > >
hi Suresh, I think it needs to set redir_hint only for lowest priority delivery mode. Why set it for all delivery modes? Regards, Weidong --
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:
[patch 1/3] x86, intr-remap: set redirection hint in the IRTE
, Suresh Siddha
, (Fri Aug 27, 11:09 am)
Re: [patch 1/3] x86, intr-remap: set redirection hint in t ...
, Weidong Han
, (Sun Aug 29, 6:35 pm)
Re: [patch 1/3] x86, intr-remap: set redirection hint in t ...
, Weidong Han
, (Sun Aug 29, 6:47 pm)
Re: [patch 1/3] x86, intr-remap: set redirection hint in t ...
, Suresh Siddha
, (Mon Aug 30, 10:17 am)
Re: [patch 1/3] x86, intr-remap: set redirection hint in t ...
, Weidong Han
, (Mon Aug 30, 8:29 pm)
[tip:x86/x2apic] x86, intr-remap: Set redirection hint in ...
, tip-bot for Suresh S ...
, (Wed Sep 15, 5:52 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Mr. James W. Laferriere
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'
Robin Lee Powell
NFS hang + umount -f: better behaviour requested.
Linus Torvalds
Linux 2.6.34-rc4
Colin Cross
[PATCH 12/21] ARM: tegra: Add suspend and hotplug support
git
:
Fredrik Kuivinen
Re: fatal: unable to create '.git/index': File exists
Wink Saville
How-to combine several separate git repos?
Emily Ren
How to pull remote branch with specified commit id?
Denis Bueno
Git clone error
pradeep singh
git-update-server-info may be required,cannot clone and pull from a remote reposit...
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
frantisek holop
Re: splassert: vwakeup: and friends
linux-netdev
:
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Timo Teräs
ip xfrm policy semantics
Ron Mercer
[net-next PATCH 2/2] qlge: Version change to v1.00.00.27
Maciej W. Rozycki
Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event...
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
git-commits-head
:
Linux Kernel Mailing List
powerpc/fsl_msi: enable msi allocation in all banks
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
bnx2x: Moving includes
Linux Kernel Mailing List
[ARM] mmp: add dma support to mmp2
Colocation donated by:
Syndicate