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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240530-dt-interrupt-map-fix-v1-0-2331d8732f08@kernel.org>
Date: Thu, 30 May 2024 20:03:26 -0500
From: "Rob Herring (Arm)" <robh@...nel.org>
To: Saravana Kannan <saravanak@...gle.com>
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/3] of: Reimplement of_(bus_)?n_(size|addr)_cells()

This series reworks the of_(bus_)?n_(size|addr)_cells() functions. They 
fail to hold the DT spinlock while accessing 'parent' pointer and don't 
hold a reference to the parent node. Neither is likely a real issue as 
most nodes are static.

With these issues fixed, we can then replace the open coded version in 
of_irq_parse_raw().

This series depends on the fixes from this series[1].

Rob

[1] https://lore.kernel.org/lkml/20240529-dt-interrupt-map-fix-v2-0-ef86dc5bcd2a@kernel.org/

---
Rob Herring (Arm) (3):
      of: Add an iterator to walk up parent nodes
      of: Add missing locking to of_(bus_)?n_(size|addr)_cells()
      of/irq: Use of_bus_n_addr_cells() to retrieve "#address-cells"

 drivers/of/base.c  | 18 ++++++++----------
 drivers/of/irq.c   | 15 +++------------
 include/linux/of.h |  5 +++++
 3 files changed, 16 insertions(+), 22 deletions(-)
---
base-commit: e7985f43609c782132f8f5794ee6cc4cdb66ca75
change-id: 20240530-dt-interrupt-map-fix-6946101b1391

Best regards,
-- 
Rob Herring (Arm) <robh@...nel.org>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ