Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3158814pxf; Mon, 15 Mar 2021 03:04:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwd+PpQVywJG3hflzIUKUQ3UJC7cGHxoYpjv/2W4N/NpUZE9gpim4MVQgSl46HqztMTSg8r X-Received: by 2002:a17:906:f953:: with SMTP id ld19mr21806085ejb.164.1615802645883; Mon, 15 Mar 2021 03:04:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615802645; cv=none; d=google.com; s=arc-20160816; b=xbiGTm//JzTZZxGvKtr3yWSSBoVfEdFd3uJSm3JEa3c8Aym65/IDAHmnbEbuaI4gHO YeVQV+nDrHh8JHXCBasB4vIynF1tYUVuTaPePoSR1LAbRiMsxJkvDIaOEgT+yyu5Hwil RJoQhkomdA0KEsMSPvYlqBboFjfHgZDYEy5FCAa3Cs/h4LnWcy1jdSkrgTDBMz851z3E DPR6ITmSDv1GXHzCqAZeF6Hb14cWckecpapr6anBM9peqeRDAyyYOcBq6ejtHNmQfNVF fr9re0WbGnsm36PorgtOPv/ZgBnjBj2S7pSHgeHZq2GjobujVvsjA6wAZQ9g1cqhX01J +q4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=h4nyVWQ8u3H2CmvohdpUdT/g1Ns3H/e5opYIRqjRzAk=; b=nRg60FsQcDF452UZ0P0MSZBIIhJRRF17ZDl5cHGPdB3Gv5OfANhsmwxexfpaXwLV6V WIm5T15rAgSmkFTCSV82XXqaHZ3UJUwgrKiAjSF5TvrSm1+9kFsvWJlKprwJKSkO8w0C OWmOsHztErF082HK0ErFYnmnzRzRLdC6TYq8D5Rnb7VdqhiID0BpmnPEieFx423h2OiP hRqVrkm8J9Dukm+19AD1OTP1JCAQPx8Zo0R1KS38B3oEseQzVvaLfi/OM9uP/r1U3oNx Tkr+gsZzBb4nltFTnVfMNVlnKrgp1a+DumGFqEOKMCJ/7wV+3D0BaFnhKBk6WATwr036 ocgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=vVzEB3k8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 38si10938351edr.200.2021.03.15.03.03.42; Mon, 15 Mar 2021 03:04:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=vVzEB3k8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229574AbhCOKCQ (ORCPT + 99 others); Mon, 15 Mar 2021 06:02:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229608AbhCOKB7 (ORCPT ); Mon, 15 Mar 2021 06:01:59 -0400 Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A546C061574 for ; Mon, 15 Mar 2021 03:01:58 -0700 (PDT) Received: by mail-qk1-x72b.google.com with SMTP id g185so30995509qkf.6 for ; Mon, 15 Mar 2021 03:01:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=h4nyVWQ8u3H2CmvohdpUdT/g1Ns3H/e5opYIRqjRzAk=; b=vVzEB3k8ulU6ce5qiAfuHpsDVOsup84jxGxcT9kC+7Gvw0zmPM+40eReDTsFBTGJcz migUxren62j1VMGxCZYGTQUfH7o2rAdckblfANMfpOw/2HReP2mqphTySn1brlxMv6+v 8sdYSTpVaynxa5lixZaNOVHUOW6b5CWjnMqNx0m2FsMiUk1MMYFOq/9XAOvgpCCqiM1c +p1uxFN2VI7kj1Fm0PeOmdtxUjW8muYXSCez6QH6JaD6eWa2bCIYLI/O6/8OaO48eZX2 X4wMwKy9FFibLZhD5GtwAAZQ/yocREPUlgl7cdTcF19W5EAjEaIYN7fyJLOCfyqD5YpF 63Fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=h4nyVWQ8u3H2CmvohdpUdT/g1Ns3H/e5opYIRqjRzAk=; b=VnwKFzWNL13xjyFSIBC11t3vaJ2iAmFcGcBvA6knLWhf2HTnghmfwwYSij8p/Et3OF SLQ5lG81QVAm8qUkbTWN7+nF/EHZWzBVB6Nsj0DwuDik3eGWilMinrD/qAc7tXHzTNRJ 7yRlq+mPD5zgGytU2/6nHNODs/XP8igI3z1ObU6UTt2WwvfUevGCnddbH/3qulUMwG9f GMAZeT8tV7avYmQiPU4TpRruf0kNKySIH3kTpimcIZHuJ6L+XV4ANS/4HLeR4ofVCDr+ qzfnFFWJWeyS4bEYyANRdxbQo7u9TQWg0P+A2cON9UrwlRAzcQM/pyVlV4b37s1Ih6r7 3QNw== X-Gm-Message-State: AOAM5320WDUO2tnVOla9l4WQU2UlIp0gtm3He+Wj/1OGBhbqQ42UDxnq 8zY4bds979dBjLQofp2GORC2wEs2vm/aezFld3ZerA== X-Received: by 2002:a37:96c4:: with SMTP id y187mr25603220qkd.231.1615802517127; Mon, 15 Mar 2021 03:01:57 -0700 (PDT) MIME-Version: 1.0 References: <48347b4d-9194-16f2-95a0-c3eb55ca9a80@huawei.com> In-Reply-To: <48347b4d-9194-16f2-95a0-c3eb55ca9a80@huawei.com> From: Dmitry Vyukov Date: Mon, 15 Mar 2021 11:01:45 +0100 Message-ID: Subject: Re: arm64 syzbot instances To: John Garry Cc: Arnd Bergmann , Mark Rutland , Marc Zyngier , Will Deacon , Ard Biesheuvel , Linux ARM , syzkaller , LKML , Peter Maydell , =?UTF-8?B?QWxleCBCZW5uw6ll?= Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 talking about, I hope I proxied your description properly. > > > > Thanks, looks good. I provided a little more detail in a comment there. > > > > Arnd > > . > > > > From looking at the bug report, my impression is that this is a qemu > issue, as the logical IO space is mapped to the PCI host bridge IO > space, and qemu does not handle accesses to that CPU addressable region > at all. As Arnd said. > > However, we really should not be accessing logical IO ports 0 or 0x2f8 > at all via ttyS3 if not enumerated from PCI device at that logical IO > port. That is what I think anyway, as who knows what device - if any - > really exists at that location. That is why I had this patch to just > stop accesses to legacy IO port regions on arm64: > > https://lore.kernel.org/lkml/1610729929-188490-2-git-send-email-john.garry@huawei.com/ Hi John, Thanks for the info. The patch is from January, but it's not merged yet, right? It will fix the crash we see, right?