Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp569513imu; Tue, 27 Nov 2018 17:30:28 -0800 (PST) X-Google-Smtp-Source: AFSGD/XY9ivOiPAPoJO2aN9cc9R2o7yAXsM6S2Ft5JID2vXEWD6Kk2N1uYfqtUDnMCHbbf0GEHCo X-Received: by 2002:a62:2c81:: with SMTP id s123mr31645770pfs.174.1543368628514; Tue, 27 Nov 2018 17:30:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543368628; cv=none; d=google.com; s=arc-20160816; b=oxjwl9r7k8/rm/7zZQQ6I4NUHzAfPLbeyTzyDJCvvqM2qE0bdGv+nd/D1QDwdZKTDD B+hdEFCtt5j8sEc5fiiUbI+c1POFsxXGg2lcNPx/EAK5YcgDswT8WTKYaMmMKpnf2Xy8 DENZsSieI2ng6SacX5OwO4iQ/IXVDTi9bjWcwDbnqIOsgRc3RkTSjRqnxlVuQA1wpKas XiJR7+ro+DocyDaYTBOivytyMUl/rcESrW4yWmK6hQ9ZFCmu9HIdq0zwZ7HMR4WgaM1n PFSPoRtv7HjSGr/tusXrDEYyG4tfbt1dwuxs3uJpghQT+lnhMaY6/6PPzrdllYpKbEKh MsIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=3JcnDy7jgAld4GixisXnricG8EofDL0nd37oUN/+JHA=; b=U7C+xSRQXIDUndcYUL+mmQI2X/w/lwwDO7FN1r3vsQ+h+OaM4r9eeMjLRsVO77YoR9 EGXMVTX1DVziISk/tIMDQuZpxXiCFmAHcDk19j2QzLPPEWA6nF+/14lzfdMKRMJAOE3j YsSq/7bG0eEjVCBx6E/sATaoNpu2drZSynzM5mYN8nPBCt3bSZa2uARYvXbxjQQf9KvK hLcVvaYhDSoRO6/ggMIBGODkUQnilt6oqEeVOU4c86uBYWymzZG+/YfSeFG6q9jLhX6J qWGggyb4wiaGe40NGxvM/jM1PD6iHBx2XtOSKeOd6kAQPAXoG3SshlWeblSiQRJxX5RU EN/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="ga/g5Az4"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b8si5181343pge.384.2018.11.27.17.30.13; Tue, 27 Nov 2018 17:30:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="ga/g5Az4"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727141AbeK1M2O (ORCPT + 99 others); Wed, 28 Nov 2018 07:28:14 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:50991 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726671AbeK1M2N (ORCPT ); Wed, 28 Nov 2018 07:28:13 -0500 Received: by mail-wm1-f68.google.com with SMTP id 125so896703wmh.0; Tue, 27 Nov 2018 17:28:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3JcnDy7jgAld4GixisXnricG8EofDL0nd37oUN/+JHA=; b=ga/g5Az4G+L5cEjCgHVMqaTNGTDwMAugz5choy5S7oGSmRYIU19z4Ft3/bacj7yNw/ 6Kkv4AkySk5DuNh8nWtziDWaqktBb1WwiOSUbNldQ98qm53dblHQjJy8Z76CIXpB7v/Q ExLXV+RQUBnOtwQnGw+5KWooFJy1DKn7inmnd0LekV1/j5magzwoqYWgcHGo2s1AMNPh USvrNfnephtnNbsQA+Ss/gNBCBG60fYWH+f2EjBAQD8vAldpE1spUeJFpjXh54ZOadqa 4x3SrC6P/hczrU8LMjm4bLpOVrcea+9+E/eNgcMlVsWxRw6XwH0urjJeDN4Rs2VxKRcY GRsQ== 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=3JcnDy7jgAld4GixisXnricG8EofDL0nd37oUN/+JHA=; b=hsrPICfz3+HhAHIE0QQ4I6e0ZH0cFuSnnbdVbWiIC3GoMDE5FJScsDVpz9rUNnQgCc BlijUhli/UEwXogS02qpvOV5ZzyR9usRmZ7dgzptDi7e4EMcsNA3tdpL29B1vBt4a8lt sKddsuM9nB9gPFZCqoshn1gMSobFafQbjQYmhiJLa1Zekj/AlXxPL+g88S9Pee94j744 WX6gIzC6bxKhx4wYXj6VHKs0u7JqJ1LKPPhvFHUtp1KfudmcCZS0xBe4i0PlE4xmB4g5 RmIOoraI0Ix1bATtpRHEN1Rf42oyqHIdWdS7zZOFni939PWjOdu0GOghfQJuAspr0KJf RSjQ== X-Gm-Message-State: AA+aEWYcIUVJQSPd+5egEjWEGtDqfPOuQY2uJLJzyKCK42b7gqc0bYqx KPcFayDGvYHuISIxkdw4dKSUCJI5ko3XtpO+2o0U8t9N X-Received: by 2002:a1c:8a09:: with SMTP id m9mr904393wmd.27.1543368504862; Tue, 27 Nov 2018 17:28:24 -0800 (PST) MIME-Version: 1.0 References: <20181120132705.6917-1-stefan@agner.ch> <20181120132705.6917-3-stefan@agner.ch> In-Reply-To: From: Andrey Smirnov Date: Tue, 27 Nov 2018 17:28:13 -0800 Message-ID: Subject: Re: [PATCH v2 3/3] PCI: imx6: limit DBI register length To: Fabio Estevam Cc: Stefan Agner , Jingoo Han , gustavo.pimentel@synopsys.com, Lucas Stach , Trent Piepho , Bjorn Helgaas , linux-pci@vger.kernel.org, linux-kernel , Leonard Crestez Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 27, 2018 at 5:12 PM Fabio Estevam wrote: > > Hi Andrey, > > On Tue, Nov 27, 2018 at 10:57 PM Andrey Smirnov > wrote: > > > Could this be a regression? Prior to 415b6185c541 ("PCI: imx6: Fix > > config read timeout handling") all of the imprecise aborts were caught > > and handled via no-op handler. I did an experiment on i.MX6Q board > > that I have (ZII RDU2) and adding a simple no-op for imprecise aborts > > via > > > > hook_fault_code(16 + 6, imx6q_pcie_no_op_handler, SIGBUS, 0, > > "imprecise external abort"); > > > > seems to "resolve" this problem: > > Please check https://patchwork.kernel.org/patch/9720313/ > > This commit fixed a kernel crash on mx6q boards with a PCI switch. > > So we can't go back to the simple no-op. It's probably not exactly clear form my message, but I wasn't proposing to go back to a no-op. What I had in mind is having a no-op handler for imprecise aborts _alongside_ the non-linefetch handlers that is already there when running against i.MX6Q type of the IP block. Thanks, Andrey Smirnov