lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87pls44y0s.ffs@tglx>
Date: Tue, 25 Jun 2024 21:34:27 +0200
From: Thomas Gleixner <tglx@...utronix.de>
To: Huacai Chen <chenhuacai@...nel.org>, Song Gao <gaosong@...ngson.cn>
Cc: linux-kernel@...r.kernel.org, jiaxun.yang@...goat.com, maobibo@...ngson.cn
Subject: Re: [PATCH v3] irqchip/loongson-eiointc: Add extioi virt extension
 support

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ