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: <87plhtuw18.ffs@tglx>
Date: Thu, 03 Apr 2025 17:03:47 +0200
From: Thomas Gleixner <tglx@...utronix.de>
To: Frank Scheiner <frank.scheiner@....de>, apatel@...tanamicro.com
Cc: ajones@...tanamicro.com, andrew@...n.ch, anup@...infault.org,
 atishp@...shpatra.org, bp@...en8.de, dave.hansen@...ux.intel.com,
 gregory.clement@...tlin.com, hpa@...or.com, imx@...ts.linux.dev,
 kernel@...gutronix.de, linux-arm-kernel@...ts.infradead.org,
 linux-kernel@...r.kernel.org, linux-riscv@...ts.infradead.org,
 maz@...nel.org, mingo@...hat.com, palmer@...belt.com,
 paul.walmsley@...ive.com, s.hauer@...gutronix.de,
 sebastian.hesselbarth@...il.com, shawnguo@...nel.org,
 sunilvl@...tanamicro.com, x86@...nel.org, linux-ia64@...r.kernel.org
Subject: Re: [PATCH v6 04/10] genirq: Introduce common
 irq_force_complete_move() implementation

On Thu, Apr 03 2025 at 15:13, Frank Scheiner wrote:
> this change, specfically the introduction of irq_force_complete_move()
> to `kernel/irq/migration.c`, strangely breaks our builds for the hp-sim
> platform (i.e. Linux/ia64 for Ski):

arch/itanic has hit the iceberg and sank with the release of v6.7...

> So I guess, either the requirement in `linux/include/linux/irq.h` needs
> to go, or the use of "d->parent_data" or the whole of
> irq_force_complete_move() and its use needs to be guarded as well.

Guessing is not a really good approach to solve a technical problem :)

Thanks,

        tglx
---
--- a/kernel/irq/migration.c
+++ b/kernel/irq/migration.c
@@ -37,7 +37,7 @@ bool irq_fixup_move_pending(struct irq_d
 
 void irq_force_complete_move(struct irq_desc *desc)
 {
-	for (struct irq_data *d = irq_desc_get_irq_data(desc); d; d = d->parent_data) {
+	for (struct irq_data *d = irq_desc_get_irq_data(desc); d; d = irqd_get_parent_data(d)) {
 		if (d->chip && d->chip->irq_force_complete_move) {
 			d->chip->irq_force_complete_move(d);
 			return;





Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ