Re: [qemu] boot failed: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000

2020-07-06 Thread Naresh Kamboju
> Arnd, > I'm looking at the pl001_dma_probe(), I think we could make it more robust if > it > uses IS_ERR_OR_NULL(chan) instead of IS_ERR(). Should I send a patch for it? I > suppose looking at the comment header for dma_request_chan() it does say > return > chan ptr or error ptr. Sorry I

Re: [qemu] boot failed: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000

2020-07-06 Thread Dave Jiang
On 7/6/2020 8:24 AM, Arnd Bergmann wrote: On Mon, Jul 6, 2020 at 5:01 PM Dave Jiang wrote: On 7/6/2020 5:53 AM, Arnd Bergmann wrote: On Mon, Jul 6, 2020 at 1:03 PM Naresh Kamboju wrote: Arnd, I'm looking at the pl001_dma_probe(), I think we could make it more robust if it uses

Re: [qemu] boot failed: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000

2020-07-06 Thread Arnd Bergmann
On Mon, Jul 6, 2020 at 5:01 PM Dave Jiang wrote: > On 7/6/2020 5:53 AM, Arnd Bergmann wrote: > > On Mon, Jul 6, 2020 at 1:03 PM Naresh Kamboju > > wrote: > > Arnd, > I'm looking at the pl001_dma_probe(), I think we could make it more robust if > it > uses IS_ERR_OR_NULL(chan) instead of

Re: [qemu] boot failed: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000

2020-07-06 Thread Vinod Koul
On 06-07-20, 07:33, Dave Jiang wrote: > > I don't see anything suspicious in dmaengine drivers, but there is a > > recent series > > from Dave Jiang that might explain it. Could you try reverting commit > > deb9541f5052 ("dmaengine: check device and channel list for empty")? > > > > I think the

Re: [qemu] boot failed: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000

2020-07-06 Thread Dave Jiang
On 7/6/2020 5:53 AM, Arnd Bergmann wrote: On Mon, Jul 6, 2020 at 1:03 PM Naresh Kamboju wrote: While booting qemu_arm64 and qemu_arm with Linux version 5.8.0-rc3-next-20200706 the kernel panic noticed due to kernel NULL pointer dereference. metadata: git branch: master git repo:

Re: [qemu] boot failed: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000

2020-07-06 Thread Dave Jiang
On 7/6/2020 5:53 AM, Arnd Bergmann wrote: On Mon, Jul 6, 2020 at 1:03 PM Naresh Kamboju wrote: While booting qemu_arm64 and qemu_arm with Linux version 5.8.0-rc3-next-20200706 the kernel panic noticed due to kernel NULL pointer dereference. metadata: git branch: master git repo:

Re: [qemu] boot failed: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000

2020-07-06 Thread Arnd Bergmann
On Mon, Jul 6, 2020 at 1:03 PM Naresh Kamboju wrote: > > While booting qemu_arm64 and qemu_arm with Linux version > 5.8.0-rc3-next-20200706 > the kernel panic noticed due to kernel NULL pointer dereference. > > metadata: > git branch: master > git repo: >

[qemu] boot failed: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000

2020-07-06 Thread Naresh Kamboju
While booting qemu_arm64 and qemu_arm with Linux version 5.8.0-rc3-next-20200706 the kernel panic noticed due to kernel NULL pointer dereference. metadata: git branch: master git repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git commit: