Re: arm64 syzbot instances

2021-03-22 Thread Peter Maydell
On Mon, 22 Mar 2021 at 16:36, John Garry wrote: > > >> > >> There's apparently a bit in the PCI spec that reads: > >> The host bus bridge, in PC compatible systems, must return all > >> 1's on a read transaction and discard data on a write transaction > >> when terminate

Re: arm64 syzbot instances

2021-03-22 Thread John Garry
There's apparently a bit in the PCI spec that reads: The host bus bridge, in PC compatible systems, must return all 1's on a read transaction and discard data on a write transaction when terminated with Master-Abort. which obviously applies only to "PC compatible syste

Re: arm64 syzbot instances

2021-03-22 Thread Arnd Bergmann
On Mon, Mar 22, 2021 at 2:53 PM Peter Maydell wrote: > On Sun, 21 Mar 2021 at 19:00, Arnd Bergmann wrote: > > On Sat, Mar 20, 2021 at 9:43 PM Peter Maydell > > wrote: > > > On Fri, 12 Mar 2021 at 09:16, Arnd Bergmann wrote: > > > > So it's probably qemu that triggers the 'synchronous external

Re: arm64 syzbot instances

2021-03-22 Thread Peter Maydell
On Sun, 21 Mar 2021 at 19:00, Arnd Bergmann wrote: > > On Sat, Mar 20, 2021 at 9:43 PM Peter Maydell > wrote: > > > > On Fri, 12 Mar 2021 at 09:16, Arnd Bergmann wrote: > > > So it's probably qemu that triggers the 'synchronous external > > > abort' when accessing the PCI I/O space, which in tu

Re: arm64 syzbot instances

2021-03-21 Thread Arnd Bergmann
On Sat, Mar 20, 2021 at 9:43 PM Peter Maydell wrote: > > On Fri, 12 Mar 2021 at 09:16, Arnd Bergmann wrote: > > So it's probably qemu that triggers the 'synchronous external > > abort' when accessing the PCI I/O space, which in turn hints > > towards a bug in qemu. Presumably it only returns data

Re: arm64 syzbot instances

2021-03-21 Thread Arnd Bergmann
On Sun, Mar 21, 2021 at 12:52 PM Arnd Bergmann wrote: > On Sat, Mar 20, 2021 at 9:43 PM Peter Maydell > wrote: > https://tldp.org/HOWTO/Plug-and-Play-HOWTO-6.html#ss6.12 > states the behavior of the ISA I/O ports and how Linux drivers rely > on that. Is that enough for you? Actually it only me

Re: arm64 syzbot instances

2021-03-21 Thread Arnd Bergmann
On Sat, Mar 20, 2021 at 9:43 PM Peter Maydell wrote: > > On Fri, 12 Mar 2021 at 09:16, Arnd Bergmann wrote: > > So it's probably qemu that triggers the 'synchronous external > > abort' when accessing the PCI I/O space, which in turn hints > > towards a bug in qemu. Presumably it only returns data

Re: arm64 syzbot instances

2021-03-20 Thread Peter Maydell
On Fri, 12 Mar 2021 at 09:16, Arnd Bergmann wrote: > So it's probably qemu that triggers the 'synchronous external > abort' when accessing the PCI I/O space, which in turn hints > towards a bug in qemu. Presumably it only returns data from > I/O ports that are actually mapped to a device when real

Re: arm64 syzbot instances

2021-03-18 Thread Dmitry Vyukov
On Wed, Mar 17, 2021 at 7:45 PM Mark Rutland wrote: > > On Thu, Mar 11, 2021 at 05:56:46PM +0100, Dmitry Vyukov wrote: > > On Thu, Mar 11, 2021 at 1:33 PM Mark Rutland wrote: > > > FWIW, I keep my fuzzing config fragment in my fuzzing/* branches on > > > git.kernel.org, and for comparison my frag

Re: arm64 syzbot instances

2021-03-17 Thread Mark Rutland
On Thu, Mar 11, 2021 at 05:56:46PM +0100, Dmitry Vyukov wrote: > On Thu, Mar 11, 2021 at 1:33 PM Mark Rutland wrote: > > FWIW, I keep my fuzzing config fragment in my fuzzing/* branches on > > git.kernel.org, and for comparison my fragment for v5.12-rc1 is: > > > > https://git.kernel.org/pub/scm/l

Re: arm64 syzbot instances

2021-03-15 Thread Arnd Bergmann
On Mon, Mar 15, 2021 at 11:29 AM John Garry wrote: > On 15/03/2021 10:01, Dmitry Vyukov wrote: > > On Mon, Mar 15, 2021 at 10:45 AM John Garry wrote: > It does not happen too often on syzbot so far, so let's try to do the > right thing first. > I've filed:https://bugs.launchpad.net

Re: arm64 syzbot instances

2021-03-15 Thread Dmitry Vyukov
On Mon, Mar 15, 2021 at 11:31 AM John Garry wrote: > > On 15/03/2021 10:01, Dmitry Vyukov wrote: > > On Mon, Mar 15, 2021 at 10:45 AM John Garry wrote: > It does not happen too often on syzbot so far, so let's try to do the > right thing first. > I've filed:https://bugs.launchpad.n

Re: arm64 syzbot instances

2021-03-15 Thread John Garry
On 15/03/2021 10:01, Dmitry Vyukov wrote: On Mon, Mar 15, 2021 at 10:45 AM John Garry wrote: It does not happen too often on syzbot so far, so let's try to do the right thing first. I've filed:https://bugs.launchpad.net/qemu/+bug/1918917 with a link to this thread. To be fair, I don't fully und

Re: arm64 syzbot instances

2021-03-15 Thread Dmitry Vyukov
On Mon, Mar 15, 2021 at 10:45 AM John Garry wrote: > >> It does not happen too often on syzbot so far, so let's try to do the > >> right thing first. > >> I've filed: https://bugs.launchpad.net/qemu/+bug/1918917 > >> with a link to this thread. To be fair, I don't fully understand what > >> I am t

Re: arm64 syzbot instances

2021-03-15 Thread John Garry
On 12/03/2021 10:52, Arnd Bergmann wrote: On Fri, Mar 12, 2021 at 11:38 AM Dmitry Vyukov wrote: On Fri, Mar 12, 2021 at 11:11 AM Arnd Bergmann wrote: It does not happen too often on syzbot so far, so let's try to do the right thing first. I've filed: https://bugs.launchpad.net/qemu/+bug/19189

Re: arm64 syzbot instances

2021-03-12 Thread Arnd Bergmann
On Fri, Mar 12, 2021 at 11:38 AM Dmitry Vyukov wrote: > On Fri, Mar 12, 2021 at 11:11 AM Arnd Bergmann wrote: > > It does not happen too often on syzbot so far, so let's try to do the > right thing first. > I've filed: https://bugs.launchpad.net/qemu/+bug/1918917 > with a link to this thread. To

Re: arm64 syzbot instances

2021-03-12 Thread Dmitry Vyukov
On Fri, Mar 12, 2021 at 11:11 AM Arnd Bergmann wrote: > > > On Fri, Mar 12, 2021 at 9:46 AM Dmitry Vyukov wrote: > > > > On Fri, Mar 12, 2021 at 9:40 AM Arnd Bergmann wrote: > > > > > On Thu, Mar 11, 2021 at 6:57 PM Dmitry Vyukov > > > > > wrote: > > > > > a) accessing a legacy ISA/LPC port sh

Re: arm64 syzbot instances

2021-03-12 Thread Arnd Bergmann
On Fri, Mar 12, 2021 at 10:21 AM Dmitry Vyukov wrote: > > On Fri, Mar 12, 2021 at 10:16 AM Arnd Bergmann wrote: > > > > On Fri, Mar 12, 2021 at 9:46 AM Dmitry Vyukov wrote: > > > On Fri, Mar 12, 2021 at 9:40 AM Arnd Bergmann wrote: > > > > On Thu, Mar 11, 2021 at 6:57 PM Dmitry Vyukov > > > >

Re: arm64 syzbot instances

2021-03-12 Thread Dmitry Vyukov
On Fri, Mar 12, 2021 at 10:16 AM Arnd Bergmann wrote: > > On Fri, Mar 12, 2021 at 9:46 AM Dmitry Vyukov wrote: > > On Fri, Mar 12, 2021 at 9:40 AM Arnd Bergmann wrote: > > > On Thu, Mar 11, 2021 at 6:57 PM Dmitry Vyukov wrote: > > > a) accessing a legacy ISA/LPC port should not result in an oop

Re: arm64 syzbot instances

2021-03-12 Thread Arnd Bergmann
On Fri, Mar 12, 2021 at 9:46 AM Dmitry Vyukov wrote: > On Fri, Mar 12, 2021 at 9:40 AM Arnd Bergmann wrote: > > On Thu, Mar 11, 2021 at 6:57 PM Dmitry Vyukov wrote: > > a) accessing a legacy ISA/LPC port should not result in an oops, > > but should instead return values with all bits set. Th

Re: arm64 syzbot instances

2021-03-12 Thread Dmitry Vyukov
On Fri, Mar 12, 2021 at 9:40 AM Arnd Bergmann wrote: > > On Thu, Mar 11, 2021 at 6:57 PM Dmitry Vyukov wrote: > > On Thu, Mar 11, 2021 at 2:30 PM Arnd Bergmann wrote: > > > > > > > > The instances found few arm64-specific issues that we have not > > > > observed on other instances: > > > > > > I

Re: arm64 syzbot instances

2021-03-12 Thread Arnd Bergmann
On Thu, Mar 11, 2021 at 6:57 PM Dmitry Vyukov wrote: > On Thu, Mar 11, 2021 at 2:30 PM Arnd Bergmann wrote: > > > > > > The instances found few arm64-specific issues that we have not > > > observed on other instances: > > > > I've had a brief look at these: > > > > > https://syzkaller.appspot.com

Re: arm64 syzbot instances

2021-03-11 Thread Dmitry Vyukov
On Thu, Mar 11, 2021 at 6:25 PM Dmitry Vyukov wrote: > > On Thu, Mar 11, 2021 at 2:30 PM Arnd Bergmann wrote: > > > > On Thu, Mar 11, 2021 at 12:38 PM Dmitry Vyukov wrote: > > > > > > The instances found few arm64-specific issues that we have not > > > observed on other instances: > > > > I've h

Re: arm64 syzbot instances

2021-03-11 Thread Dmitry Vyukov
On Thu, Mar 11, 2021 at 2:30 PM Arnd Bergmann wrote: > > > > The instances found few arm64-specific issues that we have not > > observed on other instances: > > I've had a brief look at these: > > > https://syzkaller.appspot.com/bug?id=1d22a2cc3521d5cf6b41bd6b825793c2015f861f > > This one doesn't

Re: arm64 syzbot instances

2021-03-11 Thread Dmitry Vyukov
On Thu, Mar 11, 2021 at 2:30 PM Arnd Bergmann wrote: > > On Thu, Mar 11, 2021 at 12:38 PM Dmitry Vyukov wrote: > > > > The instances found few arm64-specific issues that we have not > > observed on other instances: > > I've had a brief look at these: > > > https://syzkaller.appspot.com/bug?id=1d2

Re: arm64 syzbot instances

2021-03-11 Thread Dmitry Vyukov
On Thu, Mar 11, 2021 at 1:33 PM Mark Rutland wrote: > On Thu, Mar 11, 2021 at 12:38:21PM +0100, 'Dmitry Vyukov' via syzkaller wrote: > > Hi arm64 maintainers, > > The instances have KCOV disabled because it slows down execution too > > much (KASAN in qemu emulation is already extremely slow), so n

Re: arm64 syzbot instances

2021-03-11 Thread Dmitry Vyukov
On Thu, Mar 11, 2021 at 1:33 PM Mark Rutland wrote: > > On Thu, Mar 11, 2021 at 12:38:21PM +0100, 'Dmitry Vyukov' via syzkaller wrote: > > Hi arm64 maintainers, > > Hi Dmitry, > > > We now have some syzbot instances testing arm64 (woohoo!) using qemu > > emulation. I wanted to write up the current

Re: arm64 syzbot instances

2021-03-11 Thread Arnd Bergmann
On Thu, Mar 11, 2021 at 12:38 PM Dmitry Vyukov wrote: > > The instances found few arm64-specific issues that we have not > observed on other instances: I've had a brief look at these: > https://syzkaller.appspot.com/bug?id=1d22a2cc3521d5cf6b41bd6b825793c2015f861f This one doesn't seem arm64 sp

Re: arm64 syzbot instances

2021-03-11 Thread Mark Rutland
On Thu, Mar 11, 2021 at 12:38:21PM +0100, 'Dmitry Vyukov' via syzkaller wrote: > Hi arm64 maintainers, Hi Dmitry, > We now have some syzbot instances testing arm64 (woohoo!) using qemu > emulation. I wanted to write up the current status. Nice! > There are 3 instances, first uses KASAN: > https

arm64 syzbot instances

2021-03-11 Thread Dmitry Vyukov
Hi arm64 maintainers, We now have some syzbot instances testing arm64 (woohoo!) using qemu emulation. I wanted to write up the current status. There are 3 instances, first uses KASAN: https://syzkaller.appspot.com/upstream?manager=ci-qemu2-arm64 second KASAN and 32-bit userspace test load (compat