Commit 9321666
committed
coresight: syscfg: Update load API for config loadable modules
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2055405
commit eb2ec49
Author: Mike Leach <mike.leach@linaro.org>
Date: Wed Nov 24 20:00:35 2021 +0000
coresight: syscfg: Update load API for config loadable modules
CoreSight configurations and features can be added as kernel loadable
modules. This patch updates the load owner API to ensure that the module
cannot be unloaded either:
1) if the config it supplies is in use
2) if the module is not the last in the load order list.
Signed-off-by: Mike Leach <mike.leach@linaro.org>
Link: https://lore.kernel.org/r/20211124200038.28662-4-mike.leach@linaro.org
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Jeremy Linton <jlinton@redhat.com>1 parent 27bb7fa commit 9321666
File tree
2 files changed
+39
-1
lines changed- drivers/hwtracing/coresight
2 files changed
+39
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
371 | 391 | | |
372 | 392 | | |
373 | 393 | | |
| |||
497 | 517 | | |
498 | 518 | | |
499 | 519 | | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
500 | 528 | | |
501 | 529 | | |
502 | 530 | | |
| |||
547 | 575 | | |
548 | 576 | | |
549 | 577 | | |
550 | | - | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
551 | 583 | | |
552 | 584 | | |
553 | 585 | | |
| |||
739 | 771 | | |
740 | 772 | | |
741 | 773 | | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
742 | 778 | | |
743 | 779 | | |
744 | 780 | | |
| |||
779 | 815 | | |
780 | 816 | | |
781 | 817 | | |
| 818 | + | |
782 | 819 | | |
783 | 820 | | |
784 | 821 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
0 commit comments