Skip to contentSkip to conversation

2.6.24-rc s390 patch queue

PATCH New Martin Schwidefsky 1 participant 3 messages Nov 20, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover 2.6.24-rc s390 patch queue

Two more patches for the 2.6.24-rc patch queue.

Signature · 4 lines
blue skies,
   Martin.

"Reality continues to ruin my life." - Calvin.
#1 lore raw

PATCH 1/2 Add missing die_notifier() call to die().

From: Heiko Carstens <[email protected]>

---

 arch/s390/kernel/traps.c |    1 +
 1 file changed, 1 insertion(+)
arch/s390/kernel/traps.c +1 -0
Index: quilt-2.6/arch/s390/kernel/traps.c
===================================================================
@@ -260,6 +260,7 @@ void die(const char * str, struct pt_reg
 	bust_spinlocks(1);
 	printk("%s: %04lx [#%d]\n", str, err & 0xffff, ++die_counter);
 	print_modules();
+	notify_die(DIE_OOPS, str, regs, err, current->thread.trap_no, SIGSEGV);
 	show_regs(regs);
 	bust_spinlocks(0);
 	add_taint(TAINT_DIE);
Signature · 4 lines
blue skies,
   Martin.

"Reality continues to ruin my life." - Calvin.
#2 lore raw

PATCH 2/2 cio: Register/unregister subchannels only from kslowcrw.

In reply to Martin Schwidefsky

From: Cornelia Huck <[email protected]>

Make sure all subchannel handling is done on the slow path workqueue so that we don't have races between an old subchannel unregistering and a new subchannel with the same name registering.

---

 drivers/s390/cio/css.c        |    2 +-
 drivers/s390/cio/device_fsm.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/s390/cio/css.c +1 -1
Index: quilt-2.6/drivers/s390/cio/css.c
===================================================================
@@ -483,7 +483,7 @@ static DECLARE_WORK(css_reprobe_work, re
 void css_schedule_reprobe(void)
 {
 	need_reprobe = 1;
-	queue_work(ccw_device_work, &css_reprobe_work);
+	queue_work(slow_path_wq, &css_reprobe_work);
 }
 
 EXPORT_SYMBOL_GPL(css_schedule_reprobe);
drivers/s390/cio/device_fsm.c +1 -1
Index: quilt-2.6/drivers/s390/cio/device_fsm.c
===================================================================
@@ -1034,7 +1034,7 @@ device_trigger_reprobe(struct subchannel
 	if (sch->schib.pmcw.dev != cdev->private->dev_id.devno) {
 		PREPARE_WORK(&cdev->private->kick_work,
 			     ccw_device_move_to_orphanage);
-		queue_work(ccw_device_work, &cdev->private->kick_work);
+		queue_work(slow_path_wq, &cdev->private->kick_work);
 	} else
 		ccw_device_start_id(cdev, 0);
 }
Signature · 4 lines
blue skies,
   Martin.

"Reality continues to ruin my life." - Calvin.