[PATCH v4 0/9] powerpc/pseries/vas: NXGZIP support with DLPAR

2022-02-19 Thread Haren Myneni
PowerPC provides HW compression with NX coprocessor. This feature is available on both PowerNV and PowerVM and included in Linux. Since each powerpc chip has one NX coprocessor, the VAS introduces the concept of windows / credits to manage access to this hardware resource. On powerVM, these limit

[PATCH v4 0/9] Speedup mremap on ppc64

2021-04-14 Thread Aneesh Kumar K.V
Hi, This patchset enables MOVE_PMD/MOVE_PUD support on power. This requires the platform to support updating higher-level page tables without updating page table entries. This also needs to invalidate the Page Walk Cache on architecture supporting the same. Changes from v3: * Fix build error repo

[PATCH v4 0/9] crypto/nx: Enable GZIP engine and provide userpace API

2020-03-22 Thread Haren Myneni
Power9 processor supports Virtual Accelerator Switchboard (VAS) which allows kernel and userspace to send compression requests to Nest Accelerator (NX) directly. The NX unit comprises of 2 842 compression engines and 1 GZIP engine. Linux kernel already has 842 compression support on kernel. This

[PATCH v4 0/9] Fixup page directory freeing

2020-01-15 Thread Aneesh Kumar K.V
This is a repost of patch series from Peter with the arch specific changes except ppc64 dropped. ppc64 changes are added here because we are redoing the patch series on top of ppc64 changes. This makes it easy to backport these changes. Only the first 2 patches need to be backported to stable.

[PATCH v4 0/9]

2019-08-06 Thread Sam Bobroff
Hi all, Here is v4, with only a fix for a warning when CONFIG_IOV isn't defined. Cover letter: This patch set adds support for EEH recovery of hot plugged devices on pSeries machines. Specifically, devices discovered by PCI rescanning using /sys/bus/pci/rescan, which includes devices hotplugged

Re: [PATCH v4 0/9] powerpc: Switch to CONFIG_THREAD_INFO_IN_TASK

2018-10-06 Thread Michael Ellerman
Christophe Leroy writes: > The purpose of this serie is to activate CONFIG_THREAD_INFO_IN_TASK which > moves the thread_info into task_struct. > > Moving thread_info into task_struct has the following advantages: > - It protects thread_info from corruption in the case of stack > overflows. > - It

[PATCH v4 0/9] powerpc: Switch to CONFIG_THREAD_INFO_IN_TASK

2018-10-04 Thread Christophe Leroy
The purpose of this serie is to activate CONFIG_THREAD_INFO_IN_TASK which moves the thread_info into task_struct. Moving thread_info into task_struct has the following advantages: - It protects thread_info from corruption in the case of stack overflows. - Its address is harder to determine if stac

[PATCH v4 0/9] Devicetree build consolidation

2018-10-01 Thread Rob Herring
This series addresses a couple of issues I have with building dts files. First, the ability to build all the dts files in the tree. This has been supported on most arches for some time with powerpc being the main exception. The reason powerpc wasn't supported was it needed a change in the location

[PATCH v4 0/9] Provide STRICT_KERNEL_RWX for powerpc

2017-06-27 Thread Balbir Singh
Provide STRICT_KERNEL_RWX for PPC64/BOOK3S These patches enable RX mappings of kernel text. rodata is mapped RX as well as a trade-off, there are more details in the patch description As a prerequisite for R/O text, patch_instruction is moved over to using a separate mapping that allows write to

[PATCH v4 0/9] ima: carry the measurement list across kexec

2016-09-15 Thread Mimi Zohar
The TPM PCRs are only reset on a hard reboot. In order to validate a TPM's quote after a soft reboot (eg. kexec -e), the IMA measurement list of the running kernel must be saved and then restored on the subsequent boot, possibly of a different architecture. The existing securityfs binary_runtime_

Re: [PATCH v4 0/9] kexec_file_load implementation for PowerPC

2016-08-01 Thread Thiago Jung Bauermann
Hello, Am Donnerstag, 07 Juli 2016, 13:23:26 schrieb Thiago Jung Bauermann: > Note: We are currently discussing whether we need a new syscall so that > userspace can provide a custom device tree for the new kernel. Even if > that ends up being the way forward, it would affect only patches 7 and 8,

[PATCH v4 0/9] kexec_file_load implementation for PowerPC

2016-07-07 Thread Thiago Jung Bauermann
Hello, Note: We are currently discussing whether we need a new syscall so that userspace can provide a custom device tree for the new kernel. Even if that ends up being the way forward, it would affect only patches 7 and 8, and even in those patches a significant part of the code would stay the sa

[PATCH v4 0/9] FP/VEC/VSX switching optimisations

2016-02-14 Thread Cyril Bur
Cover-letter for V1 of the series is at https://lists.ozlabs.org/pipermail/linuxppc-dev/2015-November/136350.html Cover-letter for V2 of the series is at https://lists.ozlabs.org/pipermail/linuxppc-dev/2016-January/138054.html Changes in V3: Addressed review comments from Michael Neuling - Made

Re: [PATCH v4 0/9] ftrace with regs + live patching for ppc64 LE (ABI v2)

2015-12-03 Thread Petr Mladek
On Wed 2015-11-25 17:53:17, Torsten Duwe wrote: > Torsten Duwe (9): > ppc64 (le): prepare for -mprofile-kernel > ppc64le FTRACE_WITH_REGS implementation > ppc use ftrace_modify_all_code default > ppc64 ftrace_with_regs configuration variables > ppc64 ftrace_with_regs: spare early boot and

[PATCH v4 0/9] ftrace with regs + live patching for ppc64 LE (ABI v2)

2015-11-25 Thread Torsten Duwe
Major changes since v3: * the graph tracer works now. It turned out the stack frame it tried to manipulate does not exist at that point. * changes only needed in order to support -mprofile-kernel are now in a separate patch, prepended. * Kconfig cleanup so this is only selectable

[PATCH v4 0/9] Convert OPAL notifier events to an irqchip

2015-05-14 Thread Alistair Popple
Whenever an interrupt is received for opal the linux kernel gets a bitfield indicating certain events that have occurred and need handling by the various device drivers. Currently this is handled using a notifier interface where we call every device driver that has registered to receive opal events

[PATCH V4 0/9] cpuidle/ppc: Enable deep idle states on PowerNV

2013-11-29 Thread Preeti U Murthy
On PowerPC, when CPUs enter certain deep idle states, the local timers stop and the time base could go out of sync with the rest of the cores in the system. This patchset adds support to wake up CPUs in such idle states by broadcasting IPIs to them at their next timer events. We refer to these IP