On Mon, 28 Feb 2022 17:09:57 -0800, Haren Myneni wrote: > 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 limited resources should be available > across all LPARs. So the hypervisor assigns the specific credits > to each LPAR based on processor entitlement so that one LPAR does > not overload NX. The hypervisor can reject the window open request > to a partition if exceeds its credit limit (1 credit per window). > > [...]
Applied to powerpc/next. [1/9] powerpc/pseries/vas: Use common names in VAS capability structure https://git.kernel.org/powerpc/c/40562fe4fa3d94c7462ec909ab89b075e26c59ac [2/9] powerpc/pseries/vas: Save PID in pseries_vas_window struct https://git.kernel.org/powerpc/c/976410cd2cb4c6ed53bd12c192fc46bbcc0fbce7 [3/9] powerpc/vas: Add paste address mmap fault handler https://git.kernel.org/powerpc/c/1fe3a33ba0a37e7aa0df0acbe31d5dda7610c16e [4/9] powerpc/vas: Return paste instruction failure if no active window https://git.kernel.org/powerpc/c/b5c63d90cc2de8ac6724fec84d1d72cfebcae41d [5/9] powerpc/vas: Map paste address only if window is active https://git.kernel.org/powerpc/c/6a8d4ca891aa5f9402973eab5d7d9cf3929678b7 [6/9] powerpc/pseries/vas: Close windows with DLPAR core removal https://git.kernel.org/powerpc/c/8ef7b9e1765a52c8023d9133a2438ac9f6da486a [7/9] powerpc/pseries/vas: Reopen windows with DLPAR core add https://git.kernel.org/powerpc/c/c656cfe571a9b8b882e31177f554bd79141fc015 [8/9] powerpc/pseries/vas: sysfs interface to export capabilities https://git.kernel.org/powerpc/c/b903737bc522e0ef3f45a2a60c364ff547572c9b [9/9] powerpc/pseries/vas: Add 'update_total_credits' entry for QoS capabilities https://git.kernel.org/powerpc/c/45f06eac30e5abebecc66e41e7c89d5b4413bac1 cheers