All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Huacai Chen <chenhuacai@kernel.org>, Song Gao <gaosong@loongson.cn>
Cc: linux-kernel@vger.kernel.org, jiaxun.yang@flygoat.com,
	maobibo@loongson.cn
Subject: Re: [PATCH v3] irqchip/loongson-eiointc: Add extioi virt extension support
Date: Tue, 25 Jun 2024 21:34:27 +0200	[thread overview]
Message-ID: <87pls44y0s.ffs@tglx> (raw)
In-Reply-To: <CAAhV-H4KcovRtPqXQfn0TJ1gpM6Hs5=D0Q3KmYi_YYC0BATfEA@mail.gmail.com>

On Tue, Jun 25 2024 at 22:19, Huacai Chen wrote:
>>  static int cpu_to_eio_node(int cpu)
>>  {
>> -       return cpu_logical_map(cpu) / CORES_PER_EIO_NODE;
>> +       int cores = cpu_has_hypervisor ? MAX_CORES_PER_EIO_NODE : CORES_PER_EIO_NODE;
> I think the correct condition is not cpu_has_hypervisor, but something
> read from the virtual registers?

I dropped the commit for now until this is sorted out.

Thanks,

        tglx

      reply	other threads:[~2024-06-25 19:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-24  8:44 [PATCH v3] irqchip/loongson-eiointc: Add extioi virt extension support Song Gao
2024-06-25  7:41 ` [tip: irq/core] " tip-bot2 for Song Gao
2024-06-25 14:19 ` [PATCH v3] " Huacai Chen
2024-06-25 19:34   ` Thomas Gleixner [this message]

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=87pls44y0s.ffs@tglx \
    --to=tglx@linutronix.de \
    --cc=chenhuacai@kernel.org \
    --cc=gaosong@loongson.cn \
    --cc=jiaxun.yang@flygoat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maobibo@loongson.cn \
    /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.