3.2-rc4-rt6
Dear RT Folks,
I'm pleased to announce the 3.2-rc4-rt6 release.
NOTE: Releases are back to www.kernel.org - the intermediate tglx.de
release URL is history!
Changes vs. 3.2-rc4-rt5:
* more acpi raw spinlock annotations (Clark)
[acpi-make-ec-lock-raw-as-well.patch] -> stable
The incremental patch against 3.2-rc4-rt5 can be found here:
http://www.kernel.org/pub/linux/kernel/projects/rt/3.2/incr/patch-3.2-rc4-rt5-rt6.patch.bz2
and is also appended below.
The RT patch against 3.2-rc4 can be found here:
http://www.kernel.org/pub/linux/kernel/projects/rt/3.2/patch-3.2-rc4-rt6.patch.bz2
The split quilt queue is available at:
http://www.kernel.org/pub/linux/kernel/projects/rt/3.2/patches-3.2-rc4-rt6.tar.bz2
Enjoy,
tglx
---
localversion-rt +1 -1
@@ -1 +1 @@ --rt5 +-rt6
drivers/acpi/ec.c +11 -11
@@ -152,10 +152,10 @@ static int ec_transaction_done(struct ac {unsigned long flags;int ret =0 ; -spin_lock_irqsave (&ec->curr_lock, flags); +raw_spin_lock_irqsave (&ec->curr_lock, flags);if (!ec->curr || ec->curr->done) ret =1 ; -spin_unlock_irqrestore (&ec->curr_lock, flags); +raw_spin_unlock_irqrestore (&ec->curr_lock, flags);return ret; }
@@ -169,7 +169,7 @@ static void start_transaction(struct acpstatic void advance_transaction (struct acpi_ec *ec,u8 status) {unsigned long flags; -spin_lock_irqsave (&ec->curr_lock, flags); +raw_spin_lock_irqsave (&ec->curr_lock, flags);if (!ec->curr) goto unlock;if (ec->curr->wlen > ec->curr->wi) {
@@ -194,7 +194,7 @@ err:if (in_interrupt ()) ++ec->curr->irq_count; unlock: -spin_unlock_irqrestore (&ec->curr_lock, flags); +raw_spin_unlock_irqrestore (&ec->curr_lock, flags); }static int acpi_ec_sync_query (struct acpi_ec *ec);
@@ -232,9 +232,9 @@ static int ec_poll(struct acpi_ec *ec)if (acpi_ec_read_status (ec) &ACPI_EC_FLAG_IBF )break ;pr_debug (PREFIX "controller reset, restart transaction\n" ); -spin_lock_irqsave (&ec->curr_lock, flags); +raw_spin_lock_irqsave (&ec->curr_lock, flags);start_transaction (ec); -spin_unlock_irqrestore (&ec->curr_lock, flags); +raw_spin_unlock_irqrestore (&ec->curr_lock, flags); }return -ETIME ; }
@@ -247,17 +247,17 @@ static int acpi_ec_transaction_unlocked(if (EC_FLAGS_MSI )udelay (ACPI_EC_MSI_UDELAY );/* start transaction */ -spin_lock_irqsave (&ec->curr_lock, tmp); +raw_spin_lock_irqsave (&ec->curr_lock, tmp);/* following two actions should be kept atomic */ ec->curr = t;start_transaction (ec);if (ec->curr->command ==ACPI_EC_COMMAND_QUERY )clear_bit (EC_FLAGS_QUERY_PENDING , &ec->flags); -spin_unlock_irqrestore (&ec->curr_lock, tmp); +raw_spin_unlock_irqrestore (&ec->curr_lock, tmp); ret =ec_poll (ec); -spin_lock_irqsave (&ec->curr_lock, tmp); +raw_spin_lock_irqsave (&ec->curr_lock, tmp); ec->curr =NULL ; -spin_unlock_irqrestore (&ec->curr_lock, tmp); +raw_spin_unlock_irqrestore (&ec->curr_lock, tmp);return ret; }
@@ -678,7 +678,7 @@ static struct acpi_ec *make_acpi_ec(voidmutex_init (&ec->lock);init_waitqueue_head (&ec->wait);INIT_LIST_HEAD (&ec->list); -spin_lock_init (&ec->curr_lock); +raw_spin_lock_init (&ec->curr_lock);return ec; }
drivers/acpi/internal.h +1 -1
@@ -62,7 +62,7 @@ struct acpi_ec {wait_queue_head_t wait;struct list_head list;struct transaction *curr; -spinlock_t curr_lock; +raw_spinlock_t curr_lock; };extern struct acpi_ec *first_ec;
Quoted 3 lines · Thomas Gleixner
Dear RT Folks,
I'm pleased to announce the 3.2-rc4-rt6 release.
Builds and boots on some ARM boards (PandaBoard, Realview) for:
- SMP, PREEMPT_RT_FULL
- SMP, PREEMPT_NONE
- UP, PREEMPT_RT_FULL
- UP, PREEMPT_NONE
I'm still fighting with my out of mainline ARM board to move it to 3.2-rc and boot SMP.
-Frank