[PATCH] docs: move powerpc under arch

2023-07-25 Thread Costa Shulyupin
and fix all in-tree references. Architecture-specific documentation is being moved into Documentation/arch/ as a way of cleaning up the top-level documentation directory and making the docs hierarchy more closely match the source hierarchy. Signed-off-by: Costa Shulyupin --- Documentation/ABI

[PATCH] docs: move powerpc under arch

2023-08-26 Thread Costa Shulyupin
and fix all in-tree references. Architecture-specific documentation is being moved into Documentation/arch/ as a way of cleaning up the top-level documentation directory and making the docs hierarchy more closely match the source hierarchy. Signed-off-by: Costa Shulyupin --- Changes in v2

[PATCH] powerpc/xive: Use cpumask_intersects()

2024-09-06 Thread Costa Shulyupin
Replace `cpumask_any_and(a, b) >= nr_cpu_ids` with the more readable `!cpumask_intersects(a, b)`. Signed-off-by: Costa Shulyupin --- arch/powerpc/sysdev/xive/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/sysdev/xive/common.c b/arch/powerpc/sys

[RFC PATCH v3 0/3] genirq/cpuhotplug: Adjust managed interrupts according to change of housekeeping cpumask

2024-09-16 Thread Costa Shulyupin
pending on the mask. Changes in v2: - Focusing in this patch series on interrupts only. v1: - https://lore.kernel.org/lkml/20240516190437.3545310-1-costa.s...@redhat.com/ References: - Linux Kernel Dynamic CPU Isolation: https://pretalx.com/devconf-us-2024/talk/AZBQLE/ Costa Shulyupin (3): sche

[RFC PATCH v3 1/3] sched/isolation: Add infrastructure for dynamic CPU isolation

2024-09-16 Thread Costa Shulyupin
housekeeping masks https://lore.kernel.org/lkml/20240821142312.236970-1-long...@redhat.com/ Signed-off-by: Costa Shulyupin --- Changes in v2: - remove unnecessary `err` variable - add for_each_clear_bit... to clear isolated CPUs - Address Gleixner's comments: - use WRITE_ONCE to c

[RFC PATCH v3 2/3] genirq/cpuhotplug: Adjust managed irqs according to change of housekeeping CPU

2024-09-16 Thread Costa Shulyupin
interrupts according change of housekeeping CPUs to support dynamic CPU isolation. Signed-off-by: Costa Shulyupin --- The following code is a proof of concept to validate and review the correctness of the approach to solving the problem. C++ comments denote temporary comments. v2: - refactor

[RFC PATCH v3 3/3] DO NOT MERGE: test for managed irqs adjustment

2024-09-16 Thread Costa Shulyupin
root \ --qemu-opts '\-drive id=d1,if=none,file=image.qcow2 \ \-device nvme,id=i1,drive=d1,serial=1,bootindex=2' Signed-off-by: Costa Shulyupin --- Changes in v2: - use shell script only v1: - https://lore.kernel.org/lkml/20240516190437.3545310-8-costa.s...@redhat.com/

[PATCH v2] powerpc/xive: Use cpumask_intersects()

2024-09-26 Thread Costa Shulyupin
] & bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) return true; Conclusion: cpumask_intersects() is at least as efficient as cpumask_any_and(), if not more so, as it typically performs fewer loops and comparisons. Signed-off-by: Costa Shulyupin Reviewed-by: Ming Lei --- v2: a