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: <1234364503-857-5-git-send-email-matsu@igel.co.jp>
Date:	Thu, 12 Feb 2009 00:01:43 +0900
From:	Katsuya Matsubara <matsu@...l.co.jp>
To:	linux-rt-users <linux-rt-users@...r.kernel.org>
Cc:	Steven Rostedt <srostedt@...hat.com>, Ingo Molnar <mingo@...e.hu>,
	Thomas Gleixner <tglx@...utronix.de>,
	Paul Mundt <lethal@...ux-sh.org>,
	LKML <linux-kernel@...r.kernel.org>,
	Katsuya Matsubara <matsu@...l.co.jp>
Subject: [PATCH RT 4/4] convert-locks-list: add sh specific spin locks

The preempt-rt converts all spin locks into sleepable locks. However
some of the locks, for example, used in preempt-disabled code, must
keep the original behavior. The convert-locks script can revert such
locks specified by convert-locks-list. This patch add sh specific spin
locks into the list.

Signed-off-by: Katsuya Matsubara <matsu@...l.co.jp>
---
 scripts/convert-locks-list |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/scripts/convert-locks-list b/scripts/convert-locks-list
index daba5a8..44793fb 100644
--- a/scripts/convert-locks-list
+++ b/scripts/convert-locks-list
@@ -84,6 +84,18 @@ arch/powerpc/include/asm/mpic.h:fixup_lock
 arch/powerpc/include/asm/rtas.h:lock
 arch/powerpc/include/asm/rwsem.h:wait_lock
 
+arch/sh/kernel/irq.c:(.*)lock
+arch/sh/kernel/traps_32.c:die_lock
+arch/sh/kernel/io_trapped.c:trapped_lock
+arch/sh/kernel/cpu/sh4/sq.c:sq_mapping_lock
+arch/sh/kernel/cpu/clock.c:clock_lock
+arch/sh/drivers/pci/ops-sh4.c:sh4_pci_lock
+arch/sh/mm/pmb.c:pmb_list_lock
+
+arch/sh/include/asm/dma.h:dma_spin_lock
+arch/sh/drivers/dma/dma-api.c:dma_spin_lock
+arch/sh/drivers/dma/dma-isa.c:dma_spin_lock
+
 arch/mips/kernel/i8259.c:i8259A_lock
 arch/mips/kernel/module.c:dbe_lock
 arch/mips/kernel/smp.c:smp_call_lock
-- 
1.6.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ