Re: [powerpc/merge] System crash during cpu offline/online operation

2020-12-12 Thread Sachin Sant
> On 11-Dec-2020, at 3:47 PM, Sachin Sant wrote: > > I am observing system crash during a cpu offline/online operation > with latest merge branch code running in a PowerVM LPAR (P8 onwards) > > # uname -r > 5.10.0-rc7-01792-g244569c777ca > # ppc64_cpu --smt=1 > [ 244.205194] cpu 1 (hwid 1) R

[PATCH] powerpc/mm: Fix hugetlb_free_pmd_range() and hugetlb_free_pud_range()

2020-12-12 Thread Christophe Leroy
Commit 7bfe54b5f165 ("powerpc/mm: Refactor the floor/ceiling check in hugetlb range freeing functions") inadvertely removed the mask applied to start parameter in those two functions, leading to the following crash on power9. [ 7703.114640][T58070] LTP: starting hugemmap05_1 (hugemmap05 -m) [ 7703

[PATCH] powerpc/vas: Fix IRQ name allocation

2020-12-12 Thread Cédric Le Goater
The VAS device allocates a generic interrupt to handle page faults but the IRQ name doesn't show under /proc. This is because it's on stack. Allocate the name. Signed-off-by: Cédric Le Goater --- I didn't understand this part in init_vas_instance() : if (vinst->virq) {

[PATCH 1/2] dmaengine: fsldma: Fix a resource leak in the remove function

2020-12-12 Thread Christophe JAILLET
A 'irq_dispose_mapping()' call is missing in the remove function. Add it. This is needed to undo the 'irq_of_parse_and_map() call from the probe function and already part of the error handling path of the probe function. It was added in the probe function only in commit d3f620b2c4fe ("fsldma: sim

[PATCH 2/2] dmaengine: fsldma: Fix a resource leak in an error handling path of the probe function

2020-12-12 Thread Christophe JAILLET
In case of error, the previous 'fsl_dma_chan_probe()' calls must be undone by some 'fsl_dma_chan_remove()', as already done in the remove function. It was added in the remove function in commit 77cd62e8082b ("fsldma: allow Freescale Elo DMA driver to be compiled as a module") Fixes: d3f620b2c4fe

[PATCH 2/3] kbuild: LD_VERSION redenomination

2020-12-12 Thread Masahiro Yamada
Commit ccbef1674a15 ("Kbuild, lto: add ld-version and ld-ifversion macros") introduced scripts/ld-version.sh for GCC LTO. At that time, this script handled 5 version fields because GCC LTO needed the downstream binutils. (https://lkml.org/lkml/2014/4/8/272) The code snippet from the submitted pat