From: Ashok Raj <ashok.raj@intel.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [RFC][patch 3/10] Multiple vector domain support - introduce gsv
Date: Thu, 14 Jul 2005 17:50:43 +0000 [thread overview]
Message-ID: <20050714105043.A2630@unix-os.sc.intel.com> (raw)
In-Reply-To: <42D62F3E.2090609@jp.fujitsu.com>
On Thu, Jul 14, 2005 at 06:24:14PM +0900, Kenji Kaneshige wrote:
Hi Kaneshige,
Iam in the process of reviewing in detail, but here are a few that
came by,
> int
> @@ -290,8 +293,22 @@ ia64_send_ipi (int cpu, int vector, int
> void __init
> ia64_vector_domain_init (void)
> {
> + int domain, vec, gsv;
> +
> /* Attach BSP to domain #0 */
> ia64_attach_cpu_to_domain(0);
> +
> + /*
> + * Make special mapping between per CPU IRQs and GSVs
> + */
> + for (gsv = 0; gsv < NR_GSVS; gsv++) {
> + vec = gsv_to_vector(gsv);
> + if (vec < IA64_FIRST_DEVICE_VECTOR ||
> + vec > IA64_LAST_DEVICE_VECTOR) {
> + ia64_gsv_to_irq_map[gsv] = vec;
> + ia64_irq_to_gsv_map[vec] = vec;
Should the above be = gsv instead of vec?
> + ia64_irq_to_gsv_map[vec] = vec;
---------------------------------------------------^^^^
> +
> +/*
> + * Convert global system vector to the corresponding IRQ.
> + */
> +static inline int
> +gsv_to_irq (unsigned int gsv)
> +{
> + if (gsv > NR_GSVS)
Should the above be (gsv >= NR_GSVS)??
> + return -1;
> + return ia64_gsv_to_irq_map[gsv];
> +}
> +
--
Cheers,
Ashok Raj
- Open Source Technology Center
next prev parent reply other threads:[~2005-07-14 17:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-14 9:24 [RFC][patch 3/10] Multiple vector domain support - introduce gsv Kenji Kaneshige
2005-07-14 17:50 ` Ashok Raj [this message]
2005-07-16 1:07 ` [RFC][patch 3/10] Multiple vector domain support - introduce Kenji Kaneshige
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=20050714105043.A2630@unix-os.sc.intel.com \
--to=ashok.raj@intel.com \
--cc=linux-ia64@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.