[PATCH 0/2] mailbox: pcc: Fix shared-memory teardown race
Christian Loehle <[email protected]>
| Newsgroups | org.kernel.vger.linux-acpi,org.kernel.vger.linux-kernel,org.kernel.vger.stable |
|---|---|
| Message-ID | <[email protected]> |
Breno’s fix frees the PCC channel before unmapping shared memory, ensuring the IRQ is disabled first. The second patch serializes channel release and request so a new mapping cannot be unmapped by the old release. (I'm happy to have my patch folded into Breno's if that's preferred.) Breno Leitao (1): mailbox: pcc: Free the channel before unmapping the shared memory Christian Loehle (1): mailbox: pcc: Serialize channel updates with shared memory teardown drivers/mailbox/pcc.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) -- 2.34.1