Re: [RFC PATCH 2/6] powerpc/64s: Helpers to switch between linear and vmapped stack pointers

2022-11-05 Thread Christophe Leroy
Le 05/11/2022 à 09:00, Christophe Leroy a écrit : Le 04/11/2022 à 18:27, Andrew Donnellan a écrit : powerpc unfortunately has too many places where we run stuff in real mode. With CONFIG_VMAP_STACK enabled, this means we need to be able to swap the stack pointer to use the linear mapping w

Re: [RFC PATCH 6/6] powerpc/64s: Enable CONFIG_VMAP_STACK

2022-11-05 Thread Christophe Leroy
Le 04/11/2022 à 18:27, Andrew Donnellan a écrit : > Enable CONFIG_VMAP_STACK for book3s64. > > To do this, we need to make some slight adjustments to set the stack SLB > entry up for vmalloc rather than linear. > > For now, only enable if KVM_BOOK3S_64_HV is disabled (there's some real mode > h

[PATCH v4] i2c/pasemi: PASemi I2C controller IRQ enablement

2022-11-05 Thread Arminder Singh
This patch adds IRQ support to the PASemi I2C controller driver to increase the performace of I2C transactions on platforms with PASemi I2C controllers. While primarily intended for Apple silicon platforms, this patch should also help in enabling IRQ support for older PASemi hardware as well should

Re: [RFC PATCH 2/6] powerpc/64s: Helpers to switch between linear and vmapped stack pointers

2022-11-05 Thread Christophe Leroy
Le 04/11/2022 à 18:27, Andrew Donnellan a écrit : > powerpc unfortunately has too many places where we run stuff in real mode. > > With CONFIG_VMAP_STACK enabled, this means we need to be able to swap the > stack pointer to use the linear mapping when we enter a real mode section, > and back aft