Re: [PATCH] powerpc/xive: Add missing null check after calling kmalloc

2022-01-02 Thread Cédric Le Goater
On 12/26/21 14:54, Ammar Faizi wrote: Commit 930914b7d528fc ("powerpc/xive: Add a debugfs file to dump internal XIVE state") forgot to add a null check. Add it. Cc: Cédric Le Goater Cc: Michael Ellerman Fixes: 930914b7d528fc6b0249bffc00564100bcf6ef75 ("powerpc/xive: Add a debugfs file to

Re: [BUG] powerpc: test_progs -t for_each faults kernel

2022-01-02 Thread Naveen N. Rao
Hi Jiri, Jiri Olsa wrote: hi, when running 'test_progs -t for_each' on powerpc we are getting the fault below This looks to be the same issue reported by Yauheni: http://lkml.kernel.org/r/xunylf0o872l@redhat.com Can you please check if the patch I posted there fixes it for you? Thanks,

microwatt booting linux-5.7 under verilator

2022-01-02 Thread Luke Kenneth Casson Leighton
i am pleased to be able to announce the successful booting of microwatt-5.7 linux buildroot... under a veriilator simulation of the microwatt VHDL. from a hardware development and research perspective this is highly significant because unlike the FPGA boot which was previously reported,

[BUG] powerpc: test_progs -t for_each faults kernel

2022-01-02 Thread Jiri Olsa
hi, when running 'test_progs -t for_each' on powerpc we are getting the fault below it seems that for some reason the function callback address passed to bpf_for_each_array_elem is wrong.. I wonder it's the powerpc function pointers magic ;-) it's the latest bpf-next/master, I can send .config

[PATCH] floppy: Remove usage of the deprecated "pci-dma-compat.h" API

2022-01-02 Thread Christophe JAILLET
In [1], Christoph Hellwig has proposed to remove the wrappers in include/linux/pci-dma-compat.h. Some reasons why this API should be removed have been given by Julia Lawall in [2]. A coccinelle script has been used to perform the needed transformation Only relevant parts are given below. @@ @@