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] [thread-next>] [day] [month] [year] [list]
Message-ID: <87msluymti.ffs@tglx>
Date: Sat, 03 Aug 2024 11:31:37 +0200
From: Thomas Gleixner <tglx@...utronix.de>
To: Tianyang Zhang <zhangtianyang@...ngson.cn>, Huacai Chen
 <chenhuacai@...nel.org>
Cc: corbet@....net, alexs@...nel.org, siyanteng@...ngson.cn,
 kernel@...0n.name, jiaxun.yang@...goat.com, gaoliang@...ngson.cn,
 wangliupu@...ngson.cn, lvjianmin@...ngson.cn, yijun@...ngson.cn,
 mhocko@...e.com, akpm@...ux-foundation.org, dianders@...omium.org,
 maobibo@...ngson.cn, xry111@...111.site, zhaotianrui@...ngson.cn,
 nathan@...nel.org, yangtiezhu@...ngson.cn, zhoubinbin@...ngson.cn,
 loongarch@...ts.linux.dev, linux-doc@...r.kernel.org,
 linux-kernel@...r.kernel.org, Huacai Chen <chenhuacai@...ngson.cn>
Subject: Re: [PATCH V7] LoongArch: Add AVEC irqchip support

Tianyang!

On Sat, Aug 03 2024 at 14:40, Tianyang Zhang wrote:
>
> We consider that since the original extioi-msi is still using the 
> legacy-MSI interrupt model at irq-loongson-pch-msi.c, if per-device-MSI 
> is directly supported in the AVEC support patch, it will result in the 
> simultaneous use of two MSI-interrupt-mode in irq-loongson-pch-msi.c, 
> which may seem a bit strange. So we decided to split it into two 
> patches, the first one using tlegace-MSI to support AVEC interrupt 
> controllers, and the second one will be uniformly modified to use 
> per-device-MSI

Adding new code with old functionality to convert it five minutes later
to the modern interface is just backwards.

Convert the existing code over first and then add the new one, no?

Thanks,

        tglx



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ