Re: [PATCH v1 09/10] powerpc/pseries/iommu: Make use of DDW even if it does not map the partition

2020-08-23 Thread Alexey Kardashevskiy
On 18/08/2020 09:40, Leonardo Bras wrote: > As of today, if the biggest DDW that can be created can't map the whole > partition, it's creation is skipped and the default DMA window > "ibm,dma-window" is used instead. > > DDW is 16x bigger than the default DMA window, 16x only under very

Re: kernel since 5.6 do not boot anymore on Apple PowerBook

2020-08-23 Thread Christophe Leroy
Hello Giuseppe, Le 22/08/2020 à 10:28, Giuseppe Sacco a écrit : Hello Christophe, Il giorno ven, 21/08/2020 alle 16.03 +0200, Christophe Leroy ha scritto: [...] You also said in a previous mail that your original issue also happens when CONFIG_VMAP_STACK is not selected. The above bug being

Re: Oops decoding help request

2020-08-23 Thread Christophe Leroy
Hi, Le 23/08/2020 à 19:26, Giuseppe Sacco a écrit : Hello, I am not a kernel developer and I need much help in order to understand a kernel Oops (the first of a series of three Oops). It is: This is a bug in the kernel. It is fixed in 5.9-rc2. See the following commit:

Re: [PATCH v1 08/10] powerpc/pseries/iommu: Add ddw_property_create() and refactor enable_ddw()

2020-08-23 Thread Alexey Kardashevskiy
On 18/08/2020 09:40, Leonardo Bras wrote: > Code used to create a ddw property that was previously scattered in > enable_ddw() is now gathered in ddw_property_create(), which deals with > allocation and filling the property, letting it ready for > of_property_add(), which now occurs in

Re: [PATCH v1 06/10] powerpc/pseries/iommu: Add ddw_list_add() helper

2020-08-23 Thread Alexey Kardashevskiy
On 18/08/2020 09:40, Leonardo Bras wrote: > There are two functions adding DDW to the direct_window_list in a > similar way, so create a ddw_list_add() to avoid duplicity and > simplify those functions. > > Also, on enable_ddw(), add list_del() on out_free_window to allow > removing the window

Re: [PATCH v1 07/10] powerpc/pseries/iommu: Allow DDW windows starting at 0x00

2020-08-23 Thread Alexey Kardashevskiy
On 18/08/2020 09:40, Leonardo Bras wrote: > enable_ddw() currently returns the address of the DMA window, which is > considered invalid if has the value 0x00. > > Also, it only considers valid an address returned from find_existing_ddw > if it's not 0x00. > > Changing this behavior makes

Re: [PATCH] powerpc/prom_init: Check display props exist before enabling btext

2020-08-23 Thread Michael Ellerman
Alexey Kardashevskiy writes: > On 21/08/2020 20:34, Michael Ellerman wrote: >> It's possible to enable CONFIG_PPC_EARLY_DEBUG_BOOTX for a pseries >> kernel (maybe it shouldn't be), which is then booted with qemu/slof. > > > CONFIG_BOOTX_TEXT=y > CONFIG_PPC_EARLY_DEBUG=y >

[powerpc:merge] BUILD SUCCESS 3829b105d464789815a333dd34ceac63cfe9bd22

2020-08-23 Thread kernel test robot
allyesconfig powerpc allmodconfig powerpc allnoconfig x86_64 randconfig-a002-20200823 x86_64 randconfig-a003-20200823 x86_64 randconfig-a005-20200823 x86_64 randconfig-a001-20200823 x86_64

[powerpc:next-test] BUILD SUCCESS 02a4db8feb0e35a215b6b803bce0ab8a1fd32838

2020-08-23 Thread kernel test robot
allnoconfig x86_64 randconfig-a002-20200823 x86_64 randconfig-a003-20200823 x86_64 randconfig-a005-20200823 x86_64 randconfig-a001-20200823 x86_64 randconfig-a006-20200823 x86_64 randconfig-a004

Re: [PATCH v1 05/10] powerpc/pseries/iommu: Add iommu_pseries_alloc_table() helper

2020-08-23 Thread Alexey Kardashevskiy
On 18/08/2020 09:40, Leonardo Bras wrote: > Creates a helper to allow allocating a new iommu_table without the need > to reallocate the iommu_group. > > This will be helpful for replacing the iommu_table for the new DMA window, > after we remove the old one with iommu_tce_table_put(). > >

[PATCH] Documentation/powerpc: fix malformed table in syscall64-abi

2020-08-23 Thread Randy Dunlap
From: Randy Dunlap Fix malformed table warning in powerpc/syscall64-abi.rst by making two tables and moving the headings. Documentation/powerpc/syscall64-abi.rst:53: WARNING: Malformed table. Text in column margin in table line 2. === =

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.9-3 tag

2020-08-23 Thread pr-tracker-bot
The pull request you sent on Sun, 23 Aug 2020 22:50:13 +1000: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-5.9-3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/cb95712138ec5e480db5160b41172bbc6f6494cc Thank you! --

Oops decoding help request

2020-08-23 Thread Giuseppe Sacco
Hello, I am not a kernel developer and I need much help in order to understand a kernel Oops (the first of a series of three Oops). It is: kernel tried to execute exec-protected page (f102) - exploit attempt? (uid: 0) BUG: Unable to handle kernel instruction fetch Faulting instruction

[GIT PULL] Please pull powerpc/linux.git powerpc-5.9-3 tag

2020-08-23 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Linus, Please pull some more powerpc fixes for 5.9. There's one non-fix, which is the perf extended regs support. That was posted way back but I waited for the tools/perf part to land, which it now has. cheers The following changes since